@cgi-learning-hub/ui 1.5.1 → 1.6.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 (343) hide show
  1. package/dist/Alert-DW8yCR-B.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-PmI169Dq.js} +144 -142
  3. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BIBR54X2.js} +709 -667
  4. package/dist/Autocomplete-D9hZ2wrR.cjs +6 -0
  5. package/dist/Backdrop-3TL73mAe.cjs +1 -0
  6. package/dist/{Backdrop-B200pms1.js → Backdrop-BxgGvlLM.js} +21 -20
  7. package/dist/Badge-DhyDno9j.cjs +138 -0
  8. package/dist/{ToggleButtonGroup-gxIqbo6a.js → Badge-rX7YUmBc.js} +6487 -4178
  9. package/dist/Box-DYD6q-6M.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-o7Tjjyko.js} +21 -20
  11. package/dist/{Button-D1aKdjIh.js → Button-D974vesA.js} +19 -18
  12. package/dist/Button-y1LmxqGA.cjs +1 -0
  13. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-Chb99sDQ.js} +25 -24
  14. package/dist/ButtonBase-Cteo-mSC.cjs +74 -0
  15. package/dist/{CardContent-DyggcxBG.js → CardContent-DaZl2i3G.js} +10 -9
  16. package/dist/CardContent-ji0_AneN.cjs +1 -0
  17. package/dist/Checkbox-XXqW_dbW.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-p-PKpEw_.js} +91 -62
  19. package/dist/Chip-Bpcd3tnL.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-CPR3r42q.js} +13 -12
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DVKNRMKq.js} +15 -14
  22. package/dist/CircularProgress-Wqx0-T36.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-DyRqry3p.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-m-MX3rFn.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-Bpxbxvyb.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-CjjQdrNy.js} +1 -1
  27. package/dist/CustomTreeItem-DPyfIueW.cjs +3 -0
  28. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-hIRSCwAW.js} +251 -256
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-BMzW4v1g.js} +1079 -1081
  30. package/dist/DatePicker-CNhBoaI3.cjs +14 -0
  31. package/dist/DefaultPropsProvider-B1crdkTC.cjs +1 -0
  32. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-hFv1J_xl.js} +68 -67
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-9fJbdRit.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-CEX2hq0f.cjs} +1 -1
  35. package/dist/Dialog-B2LKe7ZM.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-BzsWl6Vl.js} +106 -111
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-B41jvlMn.js} +14 -13
  38. package/dist/DialogContent-BbCu_OEw.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-CVvztEM0.js} +22 -21
  40. package/dist/DialogTitle-SwUSpeBT.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-CJwnMdVg.js} +9 -8
  42. package/dist/Divider-Cshcr5kR.cjs +1 -0
  43. package/dist/{Folder-DEtB13yM.cjs → Folder-7plrMkOp.cjs} +1 -1
  44. package/dist/{Folder-Bnoqtzc6.js → Folder-CutUz0bW.js} +1 -1
  45. package/dist/FormLabel-0LbNeQQU.cjs +2 -0
  46. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-DSi2pGSZ.js} +16 -15
  47. package/dist/{Grow-B_clfUP9.js → Grow-FFFqe81C.js} +5 -5
  48. package/dist/Grow-aEgTOewU.cjs +1 -0
  49. package/dist/IconButton-BKwDNYJl.cjs +2 -0
  50. package/dist/{IconButton-D1mhTuaI.js → IconButton-CgwURB2g.js} +7 -6
  51. package/dist/InputAdornment-C7e-kyf7.cjs +1 -0
  52. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-DgWvMLgR.js} +22 -21
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-DxLqRpcl.js} +263 -256
  54. package/dist/InputBase-pYQWRFK2.cjs +3 -0
  55. package/dist/Link-DUtuCYMx.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-rb-SwfiY.js} +18 -17
  57. package/dist/List-BH_S4Hqm.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-BjfdkeEI.js} +5 -4
  59. package/dist/{ListItem-BspNcHM_.js → ListItem-B0EiObKw.js} +40 -39
  60. package/dist/ListItem-D33t-hkx.cjs +1 -0
  61. package/dist/ListItemText-B8jlTz59.cjs +2 -0
  62. package/dist/ListItemText-BeyHu1da.js +853 -0
  63. package/dist/Menu-BjrN8rMF.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-By6cOqEO.js} +407 -336
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-B1FTx8Uo.js} +17 -16
  66. package/dist/MenuItem-Cz_x60jl.cjs +1 -0
  67. package/dist/Modal-DxwlW5NV.cjs +2 -0
  68. package/dist/{Modal-dmMiGSAp.js → Modal-vrLLqk9Y.js} +240 -245
  69. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-DC6HBf1h.cjs} +1 -1
  70. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-DJ8sAY3o.js} +1 -1
  71. package/dist/{Paper-CEDxpHWv.js → Paper-984iTz4H.js} +32 -31
  72. package/dist/Paper-Bh9CKUCb.cjs +2 -0
  73. package/dist/{Popper-D5_YIJX6.js → Popper-DfwuvxaQ.js} +11 -10
  74. package/dist/Popper-yO_RaCbM.cjs +4 -0
  75. package/dist/Portal-B5KqLEa0.cjs +1 -0
  76. package/dist/Portal-ChC9wmMZ.js +85 -0
  77. package/dist/{Radio-B4sx0387.js → Radio-BqY-su_F.js} +228 -183
  78. package/dist/Radio-C7zzpRFc.cjs +1 -0
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-BQvlYFpE.js} +24 -23
  80. package/dist/RadioGroup-BlUWRmLG.cjs +1 -0
  81. package/dist/{Select-CxnCi-3l.js → Select-DZMwqCYA.js} +96 -95
  82. package/dist/Select-Doay7ukI.cjs +3 -0
  83. package/dist/Stack-BVWbOqY_.cjs +1 -0
  84. package/dist/{Stack-CzKIgmIE.js → Stack-CMUWQxQn.js} +63 -107
  85. package/dist/{Switch-D3KweZGQ.js → Switch-Bg4QB4PJ.js} +169 -108
  86. package/dist/Switch-CEfqaD33.cjs +1 -0
  87. package/dist/SwitchBase-DvCITKv8.cjs +1 -0
  88. package/dist/SwitchBase-EDFBMPd7.js +316 -0
  89. package/dist/{Tab-C1r8JXwz.js → Tab-52AkFc9v.js} +599 -537
  90. package/dist/Tab-C6H241Pf.cjs +4 -0
  91. package/dist/{TextField-D-_WjPAW.js → TextField-DG9mRp_m.js} +127 -116
  92. package/dist/TextField-bE2NUKKK.cjs +1 -0
  93. package/dist/{Tooltip-D0bof-68.js → Tooltip-DCgaU2em.js} +20 -19
  94. package/dist/Tooltip-D_w-IJoD.cjs +4 -0
  95. package/dist/Typography-De-21leI.cjs +1 -0
  96. package/dist/{Typography-DBJqhIhB.js → Typography-DwMlN0K5.js} +9 -8
  97. package/dist/{capitalize-DSG2FA7x.js → capitalize-BHFotl9B.js} +1 -1
  98. package/dist/{capitalize-CToVceBw.cjs → capitalize-CKLkSyDO.cjs} +1 -1
  99. package/dist/client-error-CHkavqXs.cjs +1 -0
  100. package/dist/{client-error-B_-qjgAB.js → client-error-D0Ng5oOn.js} +1 -3
  101. package/dist/components/Alert/Alert.cjs.js +1 -1
  102. package/dist/components/Alert/Alert.es.js +3 -3
  103. package/dist/components/Alert/index.cjs.js +1 -1
  104. package/dist/components/Alert/index.es.js +1 -1
  105. package/dist/components/Button/Button.cjs.js +1 -1
  106. package/dist/components/Button/Button.es.js +2 -2
  107. package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
  108. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  109. package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
  110. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
  111. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
  112. package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
  113. package/dist/components/ColorPicker/index.cjs.js +1 -0
  114. package/dist/components/ColorPicker/index.d.ts +3 -0
  115. package/dist/components/ColorPicker/index.es.js +4 -0
  116. package/dist/components/ColorPicker/styles.cjs.js +1 -0
  117. package/dist/components/ColorPicker/styles.es.js +26 -0
  118. package/dist/components/ColorPicker/types.cjs.js +1 -0
  119. package/dist/components/ColorPicker/types.d.ts +19 -0
  120. package/dist/components/ColorPicker/types.es.js +1 -0
  121. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  122. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  123. package/dist/components/DatePicker/index.cjs.js +1 -1
  124. package/dist/components/DatePicker/index.es.js +1 -1
  125. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  126. package/dist/components/Dialog/Dialog.es.js +2 -2
  127. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  128. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  129. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  130. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  131. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  132. package/dist/components/FileList/FileIcon.es.js +1 -1
  133. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  134. package/dist/components/FileList/FileListItem.es.js +4 -4
  135. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  136. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  137. package/dist/components/Heading/Heading.cjs.js +1 -1
  138. package/dist/components/Heading/Heading.es.js +2 -2
  139. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  140. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  141. package/dist/components/Loader/Loader.cjs.js +1 -1
  142. package/dist/components/Loader/Loader.es.js +1 -1
  143. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  144. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  145. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  146. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  147. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  148. package/dist/components/QueryError/QueryError.es.js +2 -2
  149. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  150. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  151. package/dist/components/ResourceCard/style.cjs.js +1 -1
  152. package/dist/components/ResourceCard/style.es.js +22 -22
  153. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  154. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  155. package/dist/components/TreeView/TreeView.cjs.js +5 -5
  156. package/dist/components/TreeView/TreeView.es.js +15 -13
  157. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  158. package/dist/components/TreeView/components/CustomTreeItem.es.js +4 -3
  159. package/dist/components/TreeView/utils.cjs.js +1 -1
  160. package/dist/components/TreeView/utils.es.js +3 -3
  161. package/dist/components/index.cjs.js +1 -1
  162. package/dist/components/index.d.ts +19 -0
  163. package/dist/components/index.es.js +404 -373
  164. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  165. package/dist/components/stories/Alert.stories.es.js +1 -1
  166. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  167. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  168. package/dist/components/stories/Button.stories.cjs.js +1 -1
  169. package/dist/components/stories/Button.stories.es.js +1 -1
  170. package/dist/components/stories/Card.stories.cjs.js +1 -1
  171. package/dist/components/stories/Card.stories.es.js +2 -2
  172. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  173. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  174. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  175. package/dist/components/stories/Chip.stories.es.js +1 -1
  176. package/dist/components/stories/ColoPicker.stories.cjs.js +1 -0
  177. package/dist/components/stories/ColoPicker.stories.d.ts +6 -0
  178. package/dist/components/stories/ColoPicker.stories.es.js +23 -0
  179. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  180. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  181. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  182. package/dist/components/stories/Dialog.stories.es.js +2 -2
  183. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  184. package/dist/components/stories/Divider.stories.es.js +1 -1
  185. package/dist/components/stories/EmptyState.stories.cjs.js +1 -1
  186. package/dist/components/stories/EmptyState.stories.es.js +1 -1
  187. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  188. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  189. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  190. package/dist/components/stories/Heading.stories.es.js +2 -2
  191. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  192. package/dist/components/stories/IconButton.stories.es.js +2 -2
  193. package/dist/components/stories/Link.stories.cjs.js +1 -1
  194. package/dist/components/stories/Link.stories.es.js +1 -1
  195. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  196. package/dist/components/stories/Menu.stories.es.js +2 -2
  197. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  198. package/dist/components/stories/Paper.stories.es.js +1 -1
  199. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  200. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  201. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  202. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  203. package/dist/components/stories/Select.stories.cjs.js +1 -1
  204. package/dist/components/stories/Select.stories.es.js +3 -3
  205. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  206. package/dist/components/stories/TabList.stories.es.js +1 -1
  207. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  208. package/dist/components/stories/TextField.stories.es.js +1 -1
  209. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  210. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  211. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  212. package/dist/components/stories/TreeView.stories.es.js +29 -29
  213. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  214. package/dist/components/stories/Typography.stories.es.js +1 -1
  215. package/dist/composeClasses-CJKlIaRn.js +51 -0
  216. package/dist/composeClasses-CWgX5SFD.cjs +1 -0
  217. package/dist/createSvgIcon-BgBODH2F.cjs +1 -0
  218. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-BlKmtOkV.js} +48 -47
  219. package/dist/{dividerClasses-BtzbOVqV.cjs → dividerClasses-D3gnW6kZ.cjs} +1 -1
  220. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-Glz8RJdF.js} +1 -1
  221. package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
  222. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
  223. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BouzOuB6.js} +1 -1
  224. package/dist/{extendSxProp-BKP1AeGz.cjs → extendSxProp-Cm-DtZe3.cjs} +1 -1
  225. package/dist/generateUtilityClasses-CMlilM6r.cjs +55 -0
  226. package/dist/generateUtilityClasses-DngCqveO.js +2628 -0
  227. package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
  228. package/dist/{getReactElementRef-CD3_Stk5.js → getReactElementRef-H8kwrWP1.js} +1 -1
  229. package/dist/hooks/lazySvgImport.cjs.js +1 -1
  230. package/dist/hooks/lazySvgImport.es.js +1 -1
  231. package/dist/index-BzsuDIEl.cjs +1 -0
  232. package/dist/{index-CDLJvERp.js → index-CX0sAlmK.js} +2 -2
  233. package/dist/index-CrINMjCH.cjs +1 -0
  234. package/dist/index-DIyAQH20.cjs +5 -0
  235. package/dist/index-DLnSn8GT.cjs +20 -0
  236. package/dist/{index-JOgYmUF8.js → index-DX2Sl0Ig.js} +1 -1
  237. package/dist/index-Sy88PpwE.js +672 -0
  238. package/dist/{index-CoYVLWJY.js → index-l8yqod25.js} +14 -13
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +404 -373
  241. package/dist/{listItemTextClasses-DePeZNtZ.cjs → listItemTextClasses-BJFgw1ah.cjs} +1 -1
  242. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-BRj19IXv.js} +1 -1
  243. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-BAbn60Cb.cjs} +1 -1
  244. package/dist/{memoTheme-44McxcVZ.js → memoTheme-nmt7i1dS.js} +1 -1
  245. package/dist/mergeSlotProps-BBciKnr4.js +62 -0
  246. package/dist/mergeSlotProps-Z5-o9vSe.cjs +1 -0
  247. package/dist/refType-B_IEJm4x.cjs +1 -0
  248. package/dist/{refType-DsRJ5_Sj.js → refType-Dp7CJc86.js} +1 -1
  249. package/dist/server-error-CqyYyPLN.cjs +1 -0
  250. package/dist/{server-error-DMyaPFs8.js → server-error-CvgIy7ap.js} +1 -3
  251. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  252. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  253. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  254. package/dist/useForkRef-u29GSuCu.js +27 -0
  255. package/dist/useSlot-BDb1lvxu.js +125 -0
  256. package/dist/useSlot-W0PiuVaZ.cjs +1 -0
  257. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-B_D8u0j-.js} +2 -2
  258. package/dist/useSlotProps-OhEflPiz.cjs +1 -0
  259. package/dist/useTheme-C59wIJ3-.js +11 -0
  260. package/dist/{useTheme-DpMakc_Y.cjs → useTheme-ClhInrO2.cjs} +1 -1
  261. package/dist/{useTheme-CCi6a5Vl.cjs → useTheme-CqYtLDbs.cjs} +1 -1
  262. package/dist/{useTheme-C2OE_AnH.js → useTheme-D9cVynB-.js} +1 -1
  263. package/dist/useThemeProps-BFQ8ndnj.js +17 -0
  264. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-DQOn-ezC.cjs} +1 -1
  265. package/dist/useThemeProps-DYpozGhe.cjs +1 -0
  266. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-ggw56DH-.js} +2 -2
  267. package/dist/{utils-DFLaK7Ad.js → utils-BQenyzDz.js} +1 -1
  268. package/dist/utils-ByXw_ZY1.cjs +1 -0
  269. package/dist/warning-C8W811fV.js +11 -0
  270. package/dist/warning-DMUNDgRg.cjs +2 -0
  271. package/package.json +12 -10
  272. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  273. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  274. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  275. package/dist/Box-CFuWIdLg.cjs +0 -1
  276. package/dist/Button-C7tsSPXV.cjs +0 -1
  277. package/dist/ButtonBase-CBFRgTBs.cjs +0 -74
  278. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  279. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  280. package/dist/Chip-DUeBMcO4.cjs +0 -1
  281. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  282. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  283. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  284. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  285. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  286. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  287. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  288. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  289. package/dist/FormLabel-D4O160ND.cjs +0 -2
  290. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  291. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  292. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  293. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  294. package/dist/Link-CS0qbKjo.cjs +0 -1
  295. package/dist/List-T5dKKWkc.cjs +0 -1
  296. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  297. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  298. package/dist/ListItemText-afV0BrJL.js +0 -928
  299. package/dist/Menu-D6dHPVP_.cjs +0 -7
  300. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  301. package/dist/Modal-B8xPmNJd.cjs +0 -2
  302. package/dist/Paper-owda8LtM.cjs +0 -2
  303. package/dist/Popper-DMGJYlm7.cjs +0 -4
  304. package/dist/Portal-BKVc0iys.js +0 -81
  305. package/dist/Portal-CgaP8O8B.cjs +0 -1
  306. package/dist/Radio-OUfsD89D.cjs +0 -1
  307. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  308. package/dist/Select-CUlunaOr.cjs +0 -3
  309. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  310. package/dist/Switch-DpdnFebj.cjs +0 -1
  311. package/dist/SwitchBase-BsP35Aas.js +0 -262
  312. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  313. package/dist/Tab-DZvAf79O.cjs +0 -4
  314. package/dist/TextField-C0KpyS6X.cjs +0 -1
  315. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  316. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  317. package/dist/Typography-yvyJLNFu.cjs +0 -1
  318. package/dist/client-error-BUtdld5f.cjs +0 -1
  319. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  320. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  321. package/dist/generateUtilityClasses-BpRGbQmY.js +0 -3299
  322. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  323. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  324. package/dist/index-Bt7ukCXi.cjs +0 -5
  325. package/dist/index-DCpyECL4.cjs +0 -1
  326. package/dist/index-baZm35zL.cjs +0 -1
  327. package/dist/refType-DDdajp2p.cjs +0 -1
  328. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  329. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  330. package/dist/server-error-CeAtUo4S.cjs +0 -1
  331. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  332. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  333. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  334. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  335. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  336. package/dist/useForkRef-C_4o__cU.js +0 -15
  337. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  338. package/dist/useSlot-CYOxsM2I.js +0 -48
  339. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  340. package/dist/useTheme-BDL2rp7a.js +0 -11
  341. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  342. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  343. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -1,72 +1,72 @@
1
1
  import * as u from "react";
2
- import { P as n, G as he, H as ge, I as Z } from "./generateUtilityClasses-BpRGbQmY.js";
3
- import { m as Ee } from "./memoTheme-44McxcVZ.js";
4
- import { o as z } from "./ownerWindow-niciwP7I.js";
5
- import { o as A } from "./ownerDocument-CUrv0DIK.js";
6
- import { u as Y } from "./useForkRef-C_4o__cU.js";
7
- import { u as ee } from "./useEventCallback-BAQJJ3ye.js";
8
- import { c as te } from "./createChainedFunction-C0nujS3O.js";
9
- import { e as Te } from "./resolveComponentProps-BZQ1jKzF.js";
10
- import { u as oe } from "./useSlot-CYOxsM2I.js";
11
- import { jsxs as ie, jsx as j } from "react/jsx-runtime";
12
- import { u as ye, s as ce, c as Re } from "./DefaultPropsProvider-Ik4eAJdt.js";
13
- import { e as xe, P as ke, H as ve } from "./Portal-BKVc0iys.js";
14
- import { g as Pe, e as ae } from "./getReactElementRef-CD3_Stk5.js";
15
- import { B as Ie } from "./Backdrop-B200pms1.js";
16
- function Ne(e = window) {
2
+ import { P as n } from "./index-Sy88PpwE.js";
3
+ import { F as me, G as be, H as J } from "./generateUtilityClasses-DngCqveO.js";
4
+ import { m as he } from "./memoTheme-nmt7i1dS.js";
5
+ import { o as H } from "./ownerWindow-niciwP7I.js";
6
+ import { o as O } from "./ownerDocument-CUrv0DIK.js";
7
+ import { u as re } from "./useForkRef-u29GSuCu.js";
8
+ import { u as Q } from "./useEventCallback-Yoj9nCug.js";
9
+ import { c as Z } from "./createChainedFunction-C0nujS3O.js";
10
+ import { e as ge, u as ee } from "./useSlot-BDb1lvxu.js";
11
+ import { jsxs as se, jsx as j } from "react/jsx-runtime";
12
+ import { u as Ee, s as ie, c as Te } from "./DefaultPropsProvider-hFv1J_xl.js";
13
+ import { e as ye, P as Re, H as xe } from "./Portal-ChC9wmMZ.js";
14
+ import { g as ve, e as ae } from "./getReactElementRef-H8kwrWP1.js";
15
+ import { B as Pe } from "./Backdrop-BxgGvlLM.js";
16
+ function ke(e = window) {
17
17
  const t = e.document.documentElement.clientWidth;
18
18
  return e.innerWidth - t;
19
19
  }
20
- function Ce(e) {
21
- const t = A(e);
22
- return t.body === e ? z(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
20
+ function Ie(e) {
21
+ const t = O(e);
22
+ return t.body === e ? H(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
23
23
  }
24
24
  function K(e, t) {
25
25
  t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
26
26
  }
27
- function ne(e) {
28
- return parseInt(z(e).getComputedStyle(e).paddingRight, 10) || 0;
27
+ function te(e) {
28
+ return parseInt(H(e).getComputedStyle(e).paddingRight, 10) || 0;
29
29
  }
30
- function Se(e) {
30
+ function Ne(e) {
31
31
  const s = ["TEMPLATE", "SCRIPT", "STYLE", "LINK", "MAP", "META", "NOSCRIPT", "PICTURE", "COL", "COLGROUP", "PARAM", "SLOT", "SOURCE", "TRACK"].includes(e.tagName), o = e.tagName === "INPUT" && e.getAttribute("type") === "hidden";
32
32
  return s || o;
33
33
  }
34
- function re(e, t, s, o, i) {
34
+ function oe(e, t, s, o, i) {
35
35
  const r = [t, s, ...o];
36
- [].forEach.call(e.children, (c) => {
37
- const a = !r.includes(c), m = !Se(c);
38
- a && m && K(c, i);
36
+ [].forEach.call(e.children, (a) => {
37
+ const c = !r.includes(a), m = !Ne(a);
38
+ c && m && K(a, i);
39
39
  });
40
40
  }
41
- function $(e, t) {
41
+ function Y(e, t) {
42
42
  let s = -1;
43
43
  return e.some((o, i) => t(o) ? (s = i, !0) : !1), s;
44
44
  }
45
45
  function Fe(e, t) {
46
46
  const s = [], o = e.container;
47
47
  if (!t.disableScrollLock) {
48
- if (Ce(o)) {
49
- const c = Ne(z(o));
48
+ if (Ie(o)) {
49
+ const a = ke(H(o));
50
50
  s.push({
51
51
  value: o.style.paddingRight,
52
52
  property: "padding-right",
53
53
  el: o
54
- }), o.style.paddingRight = `${ne(o) + c}px`;
55
- const a = A(o).querySelectorAll(".mui-fixed");
56
- [].forEach.call(a, (m) => {
54
+ }), o.style.paddingRight = `${te(o) + a}px`;
55
+ const c = O(o).querySelectorAll(".mui-fixed");
56
+ [].forEach.call(c, (m) => {
57
57
  s.push({
58
58
  value: m.style.paddingRight,
59
59
  property: "padding-right",
60
60
  el: m
61
- }), m.style.paddingRight = `${ne(m) + c}px`;
61
+ }), m.style.paddingRight = `${te(m) + a}px`;
62
62
  });
63
63
  }
64
64
  let r;
65
65
  if (o.parentNode instanceof DocumentFragment)
66
- r = A(o).body;
66
+ r = O(o).body;
67
67
  else {
68
- const c = o.parentElement, a = z(o);
69
- r = (c == null ? void 0 : c.nodeName) === "HTML" && a.getComputedStyle(c).overflowY === "scroll" ? c : o;
68
+ const a = o.parentElement, c = H(o);
69
+ r = (a == null ? void 0 : a.nodeName) === "HTML" && c.getComputedStyle(a).overflowY === "scroll" ? a : o;
70
70
  }
71
71
  s.push({
72
72
  value: r.style.overflow,
@@ -85,20 +85,20 @@ function Fe(e, t) {
85
85
  return () => {
86
86
  s.forEach(({
87
87
  value: r,
88
- el: c,
89
- property: a
88
+ el: a,
89
+ property: c
90
90
  }) => {
91
- r ? c.style.setProperty(a, r) : c.style.removeProperty(a);
91
+ r ? a.style.setProperty(c, r) : a.style.removeProperty(c);
92
92
  });
93
93
  };
94
94
  }
95
- function Me(e) {
95
+ function Se(e) {
96
96
  const t = [];
97
97
  return [].forEach.call(e.children, (s) => {
98
98
  s.getAttribute("aria-hidden") === "true" && t.push(s);
99
99
  }), t;
100
100
  }
101
- class Oe {
101
+ class Ce {
102
102
  constructor() {
103
103
  this.modals = [], this.containers = [];
104
104
  }
@@ -107,9 +107,9 @@ class Oe {
107
107
  if (o !== -1)
108
108
  return o;
109
109
  o = this.modals.length, this.modals.push(t), t.modalRef && K(t.modalRef, !1);
110
- const i = Me(s);
111
- re(s, t.mount, t.modalRef, i, !0);
112
- const r = $(this.containers, (c) => c.container === s);
110
+ const i = Se(s);
111
+ oe(s, t.mount, t.modalRef, i, !0);
112
+ const r = Y(this.containers, (a) => a.container === s);
113
113
  return r !== -1 ? (this.containers[r].modals.push(t), o) : (this.containers.push({
114
114
  modals: [t],
115
115
  container: s,
@@ -118,19 +118,19 @@ class Oe {
118
118
  }), o);
119
119
  }
120
120
  mount(t, s) {
121
- const o = $(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
121
+ const o = Y(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
122
122
  i.restore || (i.restore = Fe(i, s));
123
123
  }
124
124
  remove(t, s = !0) {
125
125
  const o = this.modals.indexOf(t);
126
126
  if (o === -1)
127
127
  return o;
128
- const i = $(this.containers, (c) => c.modals.includes(t)), r = this.containers[i];
128
+ const i = Y(this.containers, (a) => a.modals.includes(t)), r = this.containers[i];
129
129
  if (r.modals.splice(r.modals.indexOf(t), 1), this.modals.splice(o, 1), r.modals.length === 0)
130
- r.restore && r.restore(), t.modalRef && K(t.modalRef, s), re(r.container, t.mount, t.modalRef, r.hiddenSiblings, !1), this.containers.splice(i, 1);
130
+ r.restore && r.restore(), t.modalRef && K(t.modalRef, s), oe(r.container, t.mount, t.modalRef, r.hiddenSiblings, !1), this.containers.splice(i, 1);
131
131
  else {
132
- const c = r.modals[r.modals.length - 1];
133
- c.modalRef && K(c.modalRef, !1);
132
+ const a = r.modals[r.modals.length - 1];
133
+ a.modalRef && K(a.modalRef, !1);
134
134
  }
135
135
  return o;
136
136
  }
@@ -138,70 +138,70 @@ class Oe {
138
138
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
139
139
  }
140
140
  }
141
- const we = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
142
- function Ae(e) {
141
+ const Me = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
142
+ function we(e) {
143
143
  const t = parseInt(e.getAttribute("tabindex") || "", 10);
144
144
  return Number.isNaN(t) ? e.contentEditable === "true" || (e.nodeName === "AUDIO" || e.nodeName === "VIDEO" || e.nodeName === "DETAILS") && e.getAttribute("tabindex") === null ? 0 : e.tabIndex : t;
145
145
  }
146
- function De(e) {
146
+ function Oe(e) {
147
147
  if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
148
148
  return !1;
149
149
  const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
150
150
  let s = t(`[name="${e.name}"]:checked`);
151
151
  return s || (s = t(`[name="${e.name}"]`)), s !== e;
152
152
  }
153
- function Be(e) {
154
- return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || De(e));
153
+ function Ae(e) {
154
+ return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Oe(e));
155
155
  }
156
- function Le(e) {
156
+ function De(e) {
157
157
  const t = [], s = [];
158
- return Array.from(e.querySelectorAll(we)).forEach((o, i) => {
159
- const r = Ae(o);
160
- r === -1 || !Be(o) || (r === 0 ? t.push(o) : s.push({
158
+ return Array.from(e.querySelectorAll(Me)).forEach((o, i) => {
159
+ const r = we(o);
160
+ r === -1 || !Ae(o) || (r === 0 ? t.push(o) : s.push({
161
161
  documentOrder: i,
162
162
  tabIndex: r,
163
163
  node: o
164
164
  }));
165
165
  }), s.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
166
166
  }
167
- function je() {
167
+ function Le() {
168
168
  return !0;
169
169
  }
170
- function V(e) {
170
+ function z(e) {
171
171
  const {
172
172
  children: t,
173
173
  disableAutoFocus: s = !1,
174
174
  disableEnforceFocus: o = !1,
175
175
  disableRestoreFocus: i = !1,
176
- getTabbable: r = Le,
177
- isEnabled: c = je,
178
- open: a
179
- } = e, m = u.useRef(!1), E = u.useRef(null), k = u.useRef(null), h = u.useRef(null), y = u.useRef(null), b = u.useRef(!1), p = u.useRef(null), w = Y(Pe(t), p), N = u.useRef(null);
176
+ getTabbable: r = De,
177
+ isEnabled: a = Le,
178
+ open: c
179
+ } = e, m = u.useRef(!1), E = u.useRef(null), P = u.useRef(null), h = u.useRef(null), y = u.useRef(null), b = u.useRef(!1), p = u.useRef(null), M = re(ve(t), p), N = u.useRef(null);
180
180
  u.useEffect(() => {
181
- !a || !p.current || (b.current = !s);
182
- }, [s, a]), u.useEffect(() => {
183
- if (!a || !p.current)
181
+ !c || !p.current || (b.current = !s);
182
+ }, [s, c]), u.useEffect(() => {
183
+ if (!c || !p.current)
184
184
  return;
185
- const l = A(p.current);
185
+ const l = O(p.current);
186
186
  return p.current.contains(l.activeElement) || (p.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
187
187
  `)), p.current.setAttribute("tabIndex", "-1")), b.current && p.current.focus()), () => {
188
188
  i || (h.current && h.current.focus && (m.current = !0, h.current.focus()), h.current = null);
189
189
  };
190
- }, [a]), u.useEffect(() => {
191
- if (!a || !p.current)
190
+ }, [c]), u.useEffect(() => {
191
+ if (!c || !p.current)
192
192
  return;
193
- const l = A(p.current), g = (T) => {
194
- N.current = T, !(o || !c() || T.key !== "Tab") && l.activeElement === p.current && T.shiftKey && (m.current = !0, k.current && k.current.focus());
195
- }, v = () => {
196
- var P, M;
193
+ const l = O(p.current), g = (T) => {
194
+ N.current = T, !(o || !a() || T.key !== "Tab") && l.activeElement === p.current && T.shiftKey && (m.current = !0, P.current && P.current.focus());
195
+ }, k = () => {
196
+ var R, w;
197
197
  const T = p.current;
198
198
  if (T === null)
199
199
  return;
200
- if (!l.hasFocus() || !c() || m.current) {
200
+ if (!l.hasFocus() || !a() || m.current) {
201
201
  m.current = !1;
202
202
  return;
203
203
  }
204
- if (T.contains(l.activeElement) || o && l.activeElement !== E.current && l.activeElement !== k.current)
204
+ if (T.contains(l.activeElement) || o && l.activeElement !== E.current && l.activeElement !== P.current)
205
205
  return;
206
206
  if (l.activeElement !== y.current)
207
207
  y.current = null;
@@ -210,45 +210,45 @@ function V(e) {
210
210
  if (!b.current)
211
211
  return;
212
212
  let S = [];
213
- if ((l.activeElement === E.current || l.activeElement === k.current) && (S = r(p.current)), S.length > 0) {
214
- const D = !!((P = N.current) != null && P.shiftKey && ((M = N.current) == null ? void 0 : M.key) === "Tab"), B = S[0], U = S[S.length - 1];
215
- typeof B != "string" && typeof U != "string" && (D ? U.focus() : B.focus());
213
+ if ((l.activeElement === E.current || l.activeElement === P.current) && (S = r(p.current)), S.length > 0) {
214
+ const D = !!((R = N.current) != null && R.shiftKey && ((w = N.current) == null ? void 0 : w.key) === "Tab"), U = S[0], L = S[S.length - 1];
215
+ typeof U != "string" && typeof L != "string" && (D ? L.focus() : U.focus());
216
216
  } else
217
217
  T.focus();
218
218
  };
219
- l.addEventListener("focusin", v), l.addEventListener("keydown", g, !0);
220
- const F = setInterval(() => {
221
- l.activeElement && l.activeElement.tagName === "BODY" && v();
219
+ l.addEventListener("focusin", k), l.addEventListener("keydown", g, !0);
220
+ const A = setInterval(() => {
221
+ l.activeElement && l.activeElement.tagName === "BODY" && k();
222
222
  }, 50);
223
223
  return () => {
224
- clearInterval(F), l.removeEventListener("focusin", v), l.removeEventListener("keydown", g, !0);
224
+ clearInterval(A), l.removeEventListener("focusin", k), l.removeEventListener("keydown", g, !0);
225
225
  };
226
- }, [s, o, i, c, a, r]);
227
- const C = (l) => {
226
+ }, [s, o, i, a, c, r]);
227
+ const F = (l) => {
228
228
  h.current === null && (h.current = l.relatedTarget), b.current = !0, y.current = l.target;
229
229
  const g = t.props.onFocus;
230
230
  g && g(l);
231
- }, R = (l) => {
231
+ }, x = (l) => {
232
232
  h.current === null && (h.current = l.relatedTarget), b.current = !0;
233
233
  };
234
- return /* @__PURE__ */ ie(u.Fragment, {
234
+ return /* @__PURE__ */ se(u.Fragment, {
235
235
  children: [/* @__PURE__ */ j("div", {
236
- tabIndex: a ? 0 : -1,
237
- onFocus: R,
236
+ tabIndex: c ? 0 : -1,
237
+ onFocus: x,
238
238
  ref: E,
239
239
  "data-testid": "sentinelStart"
240
240
  }), /* @__PURE__ */ u.cloneElement(t, {
241
- ref: w,
242
- onFocus: C
241
+ ref: M,
242
+ onFocus: F
243
243
  }), /* @__PURE__ */ j("div", {
244
- tabIndex: a ? 0 : -1,
245
- onFocus: R,
246
- ref: k,
244
+ tabIndex: c ? 0 : -1,
245
+ onFocus: x,
246
+ ref: P,
247
247
  "data-testid": "sentinelEnd"
248
248
  })]
249
249
  });
250
250
  }
251
- process.env.NODE_ENV !== "production" && (V.propTypes = {
251
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
252
252
  // ┌────────────────────────────── Warning ──────────────────────────────┐
253
253
  // │ These PropTypes are generated from the TypeScript type definitions. │
254
254
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -302,62 +302,62 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
302
302
  */
303
303
  open: n.bool.isRequired
304
304
  });
305
- process.env.NODE_ENV !== "production" && (V.propTypes = xe(V.propTypes));
306
- function Ke(e) {
305
+ process.env.NODE_ENV !== "production" && (z.propTypes = ye(z.propTypes));
306
+ function Be(e) {
307
307
  return typeof e == "function" ? e() : e;
308
308
  }
309
- function Ue(e) {
309
+ function je(e) {
310
310
  return e ? e.props.hasOwnProperty("in") : !1;
311
311
  }
312
- const se = () => {
313
- }, H = new Oe();
314
- function We(e) {
312
+ const ne = () => {
313
+ }, q = new Ce();
314
+ function Ke(e) {
315
315
  const {
316
316
  container: t,
317
317
  disableEscapeKeyDown: s = !1,
318
318
  disableScrollLock: o = !1,
319
319
  closeAfterTransition: i = !1,
320
320
  onTransitionEnter: r,
321
- onTransitionExited: c,
322
- children: a,
321
+ onTransitionExited: a,
322
+ children: c,
323
323
  onClose: m,
324
324
  open: E,
325
- rootRef: k
326
- } = e, h = u.useRef({}), y = u.useRef(null), b = u.useRef(null), p = Y(b, k), [w, N] = u.useState(!E), C = Ue(a);
327
- let R = !0;
328
- (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (R = !1);
329
- const l = () => A(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), v = () => {
330
- H.mount(g(), {
325
+ rootRef: P
326
+ } = e, h = u.useRef({}), y = u.useRef(null), b = u.useRef(null), p = re(b, P), [M, N] = u.useState(!E), F = je(c);
327
+ let x = !0;
328
+ (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (x = !1);
329
+ const l = () => O(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), k = () => {
330
+ q.mount(g(), {
331
331
  disableScrollLock: o
332
332
  }), b.current && (b.current.scrollTop = 0);
333
- }, F = ee(() => {
334
- const d = Ke(t) || l().body;
335
- H.add(g(), d), b.current && v();
336
- }), T = () => H.isTopModal(g()), S = ee((d) => {
337
- y.current = d, d && (E && T() ? v() : b.current && K(b.current, R));
338
- }), P = u.useCallback(() => {
339
- H.remove(g(), R);
340
- }, [R]);
333
+ }, A = Q(() => {
334
+ const f = Be(t) || l().body;
335
+ q.add(g(), f), b.current && k();
336
+ }), T = () => q.isTopModal(g()), S = Q((f) => {
337
+ y.current = f, f && (E && T() ? k() : b.current && K(b.current, x));
338
+ }), R = u.useCallback(() => {
339
+ q.remove(g(), x);
340
+ }, [x]);
341
341
  u.useEffect(() => () => {
342
- P();
343
- }, [P]), u.useEffect(() => {
344
- E ? F() : (!C || !i) && P();
345
- }, [E, P, C, i, F]);
346
- const M = (d) => (f) => {
347
- var x;
348
- (x = d.onKeyDown) == null || x.call(d, f), !(f.key !== "Escape" || f.which === 229 || // Wait until IME is settled.
349
- !T()) && (s || (f.stopPropagation(), m && m(f, "escapeKeyDown")));
350
- }, D = (d) => (f) => {
351
- var x;
352
- (x = d.onClick) == null || x.call(d, f), f.target === f.currentTarget && m && m(f, "backdropClick");
342
+ R();
343
+ }, [R]), u.useEffect(() => {
344
+ E ? A() : (!F || !i) && R();
345
+ }, [E, R, F, i, A]);
346
+ const w = (f) => (d) => {
347
+ var v;
348
+ (v = f.onKeyDown) == null || v.call(f, d), !(d.key !== "Escape" || d.which === 229 || // Wait until IME is settled.
349
+ !T()) && (s || (d.stopPropagation(), m && m(d, "escapeKeyDown")));
350
+ }, D = (f) => (d) => {
351
+ var v;
352
+ (v = f.onClick) == null || v.call(f, d), d.target === d.currentTarget && m && m(d, "backdropClick");
353
353
  };
354
354
  return {
355
- getRootProps: (d = {}) => {
356
- const f = Te(e);
357
- delete f.onTransitionEnter, delete f.onTransitionExited;
358
- const x = {
359
- ...f,
360
- ...d
355
+ getRootProps: (f = {}) => {
356
+ const d = ge(e);
357
+ delete d.onTransitionEnter, delete d.onTransitionExited;
358
+ const v = {
359
+ ...d,
360
+ ...f
361
361
  };
362
362
  return {
363
363
  /*
@@ -367,52 +367,52 @@ function We(e) {
367
367
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
368
368
  */
369
369
  role: "presentation",
370
- ...x,
371
- onKeyDown: M(x),
370
+ ...v,
371
+ onKeyDown: w(v),
372
372
  ref: p
373
373
  };
374
374
  },
375
- getBackdropProps: (d = {}) => {
376
- const f = d;
375
+ getBackdropProps: (f = {}) => {
376
+ const d = f;
377
377
  return {
378
378
  "aria-hidden": !0,
379
- ...f,
380
- onClick: D(f),
379
+ ...d,
380
+ onClick: D(d),
381
381
  open: E
382
382
  };
383
383
  },
384
384
  getTransitionProps: () => {
385
- const d = () => {
385
+ const f = () => {
386
386
  N(!1), r && r();
387
- }, f = () => {
388
- N(!0), c && c(), i && P();
387
+ }, d = () => {
388
+ N(!0), a && a(), i && R();
389
389
  };
390
390
  return {
391
- onEnter: te(d, (a == null ? void 0 : a.props.onEnter) ?? se),
392
- onExited: te(f, (a == null ? void 0 : a.props.onExited) ?? se)
391
+ onEnter: Z(f, (c == null ? void 0 : c.props.onEnter) ?? ne),
392
+ onExited: Z(d, (c == null ? void 0 : c.props.onExited) ?? ne)
393
393
  };
394
394
  },
395
395
  rootRef: p,
396
396
  portalRef: S,
397
397
  isTopModal: T,
398
- exited: w,
399
- hasTransition: C
398
+ exited: M,
399
+ hasTransition: F
400
400
  };
401
401
  }
402
- function qe(e) {
403
- return ge("MuiModal", e);
402
+ function Ue(e) {
403
+ return be("MuiModal", e);
404
404
  }
405
- const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
405
+ const st = me("MuiModal", ["root", "hidden", "backdrop"]), We = (e) => {
406
406
  const {
407
407
  open: t,
408
408
  exited: s,
409
409
  classes: o
410
410
  } = e;
411
- return Re({
411
+ return Te({
412
412
  root: ["root", !t && s && "hidden"],
413
413
  backdrop: ["backdrop"]
414
- }, qe, o);
415
- }, ze = ce("div", {
414
+ }, Ue, o);
415
+ }, qe = ie("div", {
416
416
  name: "MuiModal",
417
417
  slot: "Root",
418
418
  overridesResolver: (e, t) => {
@@ -421,7 +421,7 @@ const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
421
421
  } = e;
422
422
  return [t.root, !s.open && s.exited && t.hidden];
423
423
  }
424
- })(Ee(({
424
+ })(he(({
425
425
  theme: e
426
426
  }) => ({
427
427
  position: "fixed",
@@ -438,133 +438,133 @@ const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
438
438
  visibility: "hidden"
439
439
  }
440
440
  }]
441
- }))), Ve = ce(Ie, {
441
+ }))), He = ie(Pe, {
442
442
  name: "MuiModal",
443
443
  slot: "Backdrop",
444
444
  overridesResolver: (e, t) => t.backdrop
445
445
  })({
446
446
  zIndex: -1
447
- }), $e = /* @__PURE__ */ u.forwardRef(function(t, s) {
448
- const o = ye({
447
+ }), ze = /* @__PURE__ */ u.forwardRef(function(t, s) {
448
+ const o = Ee({
449
449
  name: "MuiModal",
450
450
  props: t
451
451
  }), {
452
- BackdropComponent: i = Ve,
452
+ BackdropComponent: i = He,
453
453
  BackdropProps: r,
454
- classes: c,
455
- className: a,
454
+ classes: a,
455
+ className: c,
456
456
  closeAfterTransition: m = !1,
457
457
  children: E,
458
- container: k,
458
+ container: P,
459
459
  component: h,
460
460
  components: y = {},
461
461
  componentsProps: b = {},
462
462
  disableAutoFocus: p = !1,
463
- disableEnforceFocus: w = !1,
463
+ disableEnforceFocus: M = !1,
464
464
  disableEscapeKeyDown: N = !1,
465
- disablePortal: C = !1,
466
- disableRestoreFocus: R = !1,
465
+ disablePortal: F = !1,
466
+ disableRestoreFocus: x = !1,
467
467
  disableScrollLock: l = !1,
468
468
  hideBackdrop: g = !1,
469
- keepMounted: v = !1,
470
- onBackdropClick: F,
471
- onClose: T,
472
- onTransitionEnter: S,
473
- onTransitionExited: P,
474
- open: M,
475
- slotProps: D = {},
476
- slots: B = {},
469
+ keepMounted: k = !1,
470
+ onClose: A,
471
+ onTransitionEnter: T,
472
+ onTransitionExited: S,
473
+ open: R,
474
+ slotProps: w = {},
475
+ slots: D = {},
477
476
  // eslint-disable-next-line react/prop-types
478
477
  theme: U,
479
- ..._
480
- } = o, d = {
478
+ ...L
479
+ } = o, V = {
481
480
  ...o,
482
481
  closeAfterTransition: m,
483
482
  disableAutoFocus: p,
484
- disableEnforceFocus: w,
483
+ disableEnforceFocus: M,
485
484
  disableEscapeKeyDown: N,
486
- disablePortal: C,
487
- disableRestoreFocus: R,
485
+ disablePortal: F,
486
+ disableRestoreFocus: x,
488
487
  disableScrollLock: l,
489
488
  hideBackdrop: g,
490
- keepMounted: v
489
+ keepMounted: k
491
490
  }, {
492
491
  getRootProps: f,
493
- getBackdropProps: x,
494
- getTransitionProps: le,
495
- portalRef: ue,
496
- isTopModal: de,
497
- exited: G,
498
- hasTransition: X
499
- } = We({
500
- ...d,
492
+ getBackdropProps: d,
493
+ getTransitionProps: v,
494
+ portalRef: ce,
495
+ isTopModal: le,
496
+ exited: _,
497
+ hasTransition: G
498
+ } = Ke({
499
+ ...V,
501
500
  rootRef: s
502
- }), L = {
503
- ...d,
504
- exited: G
505
- }, I = He(L), W = {};
506
- if (E.props.tabIndex === void 0 && (W.tabIndex = "-1"), X) {
501
+ }), B = {
502
+ ...V,
503
+ exited: _
504
+ }, I = We(B), W = {};
505
+ if (E.props.tabIndex === void 0 && (W.tabIndex = "-1"), G) {
507
506
  const {
508
- onEnter: O,
509
- onExited: q
510
- } = le();
511
- W.onEnter = O, W.onExited = q;
507
+ onEnter: C,
508
+ onExited: $
509
+ } = v();
510
+ W.onEnter = C, W.onExited = $;
512
511
  }
513
- const J = {
514
- ..._,
512
+ const X = {
515
513
  slots: {
516
514
  root: y.Root,
517
515
  backdrop: y.Backdrop,
518
- ...B
516
+ ...D
519
517
  },
520
518
  slotProps: {
521
519
  ...b,
522
- ...D
520
+ ...w
523
521
  }
524
- }, [fe, pe] = oe("root", {
525
- elementType: ze,
526
- externalForwardedProps: J,
527
- getSlotProps: f,
528
- additionalProps: {
529
- ref: s,
530
- as: h
522
+ }, [ue, de] = ee("root", {
523
+ ref: s,
524
+ elementType: qe,
525
+ externalForwardedProps: {
526
+ ...X,
527
+ ...L,
528
+ component: h
531
529
  },
532
- ownerState: L,
533
- className: Z(a, I == null ? void 0 : I.root, !L.open && L.exited && (I == null ? void 0 : I.hidden))
534
- }), [me, Q] = oe("backdrop", {
530
+ getSlotProps: f,
531
+ ownerState: B,
532
+ className: J(c, I == null ? void 0 : I.root, !B.open && B.exited && (I == null ? void 0 : I.hidden))
533
+ }), [fe, pe] = ee("backdrop", {
534
+ ref: r == null ? void 0 : r.ref,
535
535
  elementType: i,
536
- externalForwardedProps: J,
536
+ externalForwardedProps: X,
537
+ shouldForwardComponentProp: !0,
537
538
  additionalProps: r,
538
- getSlotProps: (O) => x({
539
- ...O,
540
- onClick: (q) => {
541
- F && F(q), O != null && O.onClick && O.onClick(q);
539
+ getSlotProps: (C) => d({
540
+ ...C,
541
+ onClick: ($) => {
542
+ C != null && C.onClick && C.onClick($);
542
543
  }
543
544
  }),
544
- className: Z(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
545
- ownerState: L
546
- }), be = Y(r == null ? void 0 : r.ref, Q.ref);
547
- return !v && !M && (!X || G) ? null : /* @__PURE__ */ j(ke, {
548
- ref: ue,
549
- container: k,
550
- disablePortal: C,
551
- children: /* @__PURE__ */ ie(fe, {
552
- ...pe,
553
- children: [!g && i ? /* @__PURE__ */ j(me, {
554
- ...Q,
555
- ref: be
556
- }) : null, /* @__PURE__ */ j(V, {
557
- disableEnforceFocus: w,
545
+ className: J(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
546
+ ownerState: B
547
+ });
548
+ return !k && !R && (!G || _) ? null : /* @__PURE__ */ j(Re, {
549
+ ref: ce,
550
+ container: P,
551
+ disablePortal: F,
552
+ children: /* @__PURE__ */ se(ue, {
553
+ ...de,
554
+ children: [!g && i ? /* @__PURE__ */ j(fe, {
555
+ ...pe
556
+ }) : null, /* @__PURE__ */ j(z, {
557
+ disableEnforceFocus: M,
558
558
  disableAutoFocus: p,
559
- disableRestoreFocus: R,
560
- isEnabled: de,
561
- open: M,
559
+ disableRestoreFocus: x,
560
+ isEnabled: le,
561
+ open: R,
562
562
  children: /* @__PURE__ */ u.cloneElement(E, W)
563
563
  })]
564
564
  })
565
565
  });
566
566
  });
567
- process.env.NODE_ENV !== "production" && ($e.propTypes = {
567
+ process.env.NODE_ENV !== "production" && (ze.propTypes = {
568
568
  // ┌────────────────────────────── Warning ──────────────────────────────┐
569
569
  // │ These PropTypes are generated from the TypeScript type definitions. │
570
570
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -614,7 +614,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
614
614
  /**
615
615
  * The components used for each slot inside.
616
616
  *
617
- * @deprecated Use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
617
+ * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
618
618
  *
619
619
  * @default {}
620
620
  */
@@ -626,7 +626,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
626
626
  * The extra props for the slot components.
627
627
  * You can override the existing props or add new ones.
628
628
  *
629
- * @deprecated Use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
629
+ * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
630
630
  *
631
631
  * @default {}
632
632
  */
@@ -644,7 +644,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
644
644
  * By default, it uses the body of the top-level document object,
645
645
  * so it's simply `document.body` most of the time.
646
646
  */
647
- container: n.oneOfType([ve, n.func]),
647
+ container: n.oneOfType([xe, n.func]),
648
648
  /**
649
649
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
650
650
  * replace it to the last focused element when it closes.
@@ -696,11 +696,6 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
696
696
  * @default false
697
697
  */
698
698
  keepMounted: n.bool,
699
- /**
700
- * Callback fired when the backdrop is clicked.
701
- * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
702
- */
703
- onBackdropClick: n.func,
704
699
  /**
705
700
  * Callback fired when the component requests to be closed.
706
701
  * The `reason` parameter can optionally be used to control the response to `onClose`.
@@ -744,10 +739,10 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
744
739
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
745
740
  });
746
741
  export {
747
- V as F,
748
- $e as M,
749
- Oe as a,
750
- Ne as b,
751
- qe as g,
752
- ct as m
742
+ z as F,
743
+ ze as M,
744
+ Ce as a,
745
+ ke as b,
746
+ Ue as g,
747
+ st as m
753
748
  };