@cgi-learning-hub/ui 1.5.1 → 1.6.0-dev.1747215952

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,136 +1,138 @@
1
- import * as a from "react";
2
- import { S as me, P as e, H as he, G as ge, I as X } from "./generateUtilityClasses-BpRGbQmY.js";
3
- import { u as De } from "./index-JOgYmUF8.js";
4
- import { s as W, u as ye, c as be, r as Ie } from "./DefaultPropsProvider-Ik4eAJdt.js";
5
- import { jsx as U } from "react/jsx-runtime";
6
- import { u as le } from "./useSlotProps-CDJdiQpV.js";
7
- import { i as je } from "./isHostComponent-kiaBvYVo.js";
8
- import { u as ce } from "./useSlot-CYOxsM2I.js";
9
- import { P as ke, i as Fe } from "./Paper-CEDxpHWv.js";
10
- import { G as Le } from "./Grow-B_clfUP9.js";
11
- import { o as J } from "./ownerDocument-CUrv0DIK.js";
12
- import { o as Q } from "./ownerWindow-niciwP7I.js";
13
- import { d as ze } from "./debounce-46wSf_lW.js";
14
- import { u as ve } from "./useForkRef-C_4o__cU.js";
15
- import { b as Ke, M as He } from "./Modal-dmMiGSAp.js";
1
+ import * as u from "react";
2
+ import { X as fe, G as de, F as me, H as he } from "./generateUtilityClasses-DngCqveO.js";
3
+ import { P as e } from "./index-Sy88PpwE.js";
4
+ import { u as ke } from "./index-DX2Sl0Ig.js";
5
+ import { s as G, u as be, c as ye, r as xe } from "./DefaultPropsProvider-hFv1J_xl.js";
6
+ import { u as B } from "./useSlot-BDb1lvxu.js";
7
+ import { jsx as A } from "react/jsx-runtime";
8
+ import { u as De } from "./useSlotProps-B_D8u0j-.js";
9
+ import { i as Ne } from "./isHostComponent-kiaBvYVo.js";
10
+ import { P as Fe, i as Ie } from "./Paper-984iTz4H.js";
11
+ import { o as ee } from "./ownerDocument-CUrv0DIK.js";
12
+ import { o as oe } from "./ownerWindow-niciwP7I.js";
13
+ import { d as je } from "./debounce-46wSf_lW.js";
14
+ import { G as Le } from "./Grow-FFFqe81C.js";
15
+ import { m as ze } from "./mergeSlotProps-BBciKnr4.js";
16
+ import { b as Ke, M as He } from "./Modal-vrLLqk9Y.js";
16
17
  import { c as Ue } from "./chainPropTypes-D9lkm76m.js";
17
- import { r as Ve } from "./refType-DsRJ5_Sj.js";
18
- import { e as Ae } from "./elementTypeAcceptingRef-CW5o2Qxo.js";
19
- import { H as Z } from "./Portal-BKVc0iys.js";
20
- import { u as _e } from "./useEnhancedEffect-CJGo-L3B.js";
21
- import { L as We } from "./List-DJsqHOqv.js";
22
- function Y(t, o, n) {
18
+ import { r as Ve } from "./refType-Dp7CJc86.js";
19
+ import { e as Ae } from "./elementTypeAcceptingRef-DOeckaXy.js";
20
+ import { H as te } from "./Portal-ChC9wmMZ.js";
21
+ import { a as _e } from "./useEventCallback-Yoj9nCug.js";
22
+ import { u as We } from "./useForkRef-u29GSuCu.js";
23
+ import { L as qe } from "./List-BjfdkeEI.js";
24
+ function Z(t, o, n) {
23
25
  return t === o ? t.firstChild : o && o.nextElementSibling ? o.nextElementSibling : n ? null : t.firstChild;
24
26
  }
25
- function pe(t, o, n) {
27
+ function le(t, o, n) {
26
28
  return t === o ? n ? t.firstChild : t.lastChild : o && o.previousElementSibling ? o.previousElementSibling : n ? null : t.lastChild;
27
29
  }
28
- function Pe(t, o) {
30
+ function ge(t, o) {
29
31
  if (o === void 0)
30
32
  return !0;
31
33
  let n = t.innerText;
32
34
  return n === void 0 && (n = t.textContent), n = n.trim().toLowerCase(), n.length === 0 ? !1 : o.repeating ? n[0] === o.keys[0] : n.startsWith(o.keys.join(""));
33
35
  }
34
- function _(t, o, n, x, P, h) {
35
- let g = !1, d = P(t, o, o ? n : !1);
36
- for (; d; ) {
37
- if (d === t.firstChild) {
36
+ function q(t, o, n, k, E, y) {
37
+ let g = !1, m = E(t, o, o ? n : !1);
38
+ for (; m; ) {
39
+ if (m === t.firstChild) {
38
40
  if (g)
39
41
  return !1;
40
42
  g = !0;
41
43
  }
42
- const m = x ? !1 : d.disabled || d.getAttribute("aria-disabled") === "true";
43
- if (!d.hasAttribute("tabindex") || !Pe(d, h) || m)
44
- d = P(t, d, n);
44
+ const b = k ? !1 : m.disabled || m.getAttribute("aria-disabled") === "true";
45
+ if (!m.hasAttribute("tabindex") || !ge(m, y) || b)
46
+ m = E(t, m, n);
45
47
  else
46
- return d.focus(), !0;
48
+ return m.focus(), !0;
47
49
  }
48
50
  return !1;
49
51
  }
50
- const Te = /* @__PURE__ */ a.forwardRef(function(o, n) {
52
+ const Pe = /* @__PURE__ */ u.forwardRef(function(o, n) {
51
53
  const {
52
54
  // private
53
55
  // eslint-disable-next-line react/prop-types
54
- actions: x,
55
- autoFocus: P = !1,
56
- autoFocusItem: h = !1,
56
+ actions: k,
57
+ autoFocus: E = !1,
58
+ autoFocusItem: y = !1,
57
59
  children: g,
58
- className: d,
59
- disabledItemsFocusable: m = !1,
60
- disableListWrap: O = !1,
61
- onKeyDown: N,
62
- variant: I = "selectedMenu",
63
- ...L
64
- } = o, s = a.useRef(null), y = a.useRef({
60
+ className: m,
61
+ disabledItemsFocusable: b = !1,
62
+ disableListWrap: R = !1,
63
+ onKeyDown: x,
64
+ variant: L = "selectedMenu",
65
+ ...K
66
+ } = o, a = u.useRef(null), P = u.useRef({
65
67
  keys: [],
66
68
  repeating: !0,
67
69
  previousKeyMatched: !0,
68
70
  lastTime: null
69
71
  });
70
72
  _e(() => {
71
- P && s.current.focus();
72
- }, [P]), a.useImperativeHandle(x, () => ({
73
+ E && a.current.focus();
74
+ }, [E]), u.useImperativeHandle(k, () => ({
73
75
  adjustStyleForScrollbar: (r, {
74
- direction: i
76
+ direction: l
75
77
  }) => {
76
- const u = !s.current.style.width;
77
- if (r.clientHeight < s.current.clientHeight && u) {
78
- const w = `${Ke(Q(r))}px`;
79
- s.current.style[i === "rtl" ? "paddingLeft" : "paddingRight"] = w, s.current.style.width = `calc(100% + ${w})`;
78
+ const p = !a.current.style.width;
79
+ if (r.clientHeight < a.current.clientHeight && p) {
80
+ const O = `${Ke(oe(r))}px`;
81
+ a.current.style[l === "rtl" ? "paddingLeft" : "paddingRight"] = O, a.current.style.width = `calc(100% + ${O})`;
80
82
  }
81
- return s.current;
83
+ return a.current;
82
84
  }
83
85
  }), []);
84
- const z = (r) => {
85
- const i = s.current, u = r.key;
86
+ const H = (r) => {
87
+ const l = a.current, p = r.key;
86
88
  if (r.ctrlKey || r.metaKey || r.altKey) {
87
- N && N(r);
89
+ x && x(r);
88
90
  return;
89
91
  }
90
- const E = J(i).activeElement;
91
- if (u === "ArrowDown")
92
- r.preventDefault(), _(i, E, O, m, Y);
93
- else if (u === "ArrowUp")
94
- r.preventDefault(), _(i, E, O, m, pe);
95
- else if (u === "Home")
96
- r.preventDefault(), _(i, null, O, m, Y);
97
- else if (u === "End")
98
- r.preventDefault(), _(i, null, O, m, pe);
99
- else if (u.length === 1) {
100
- const c = y.current, T = u.toLowerCase(), D = performance.now();
101
- c.keys.length > 0 && (D - c.lastTime > 500 ? (c.keys = [], c.repeating = !0, c.previousKeyMatched = !0) : c.repeating && T !== c.keys[0] && (c.repeating = !1)), c.lastTime = D, c.keys.push(T);
102
- const C = E && !c.repeating && Pe(E, c);
103
- c.previousKeyMatched && (C || _(i, E, !1, m, Y, c)) ? r.preventDefault() : c.previousKeyMatched = !1;
92
+ const D = ee(l).activeElement;
93
+ if (p === "ArrowDown")
94
+ r.preventDefault(), q(l, D, R, b, Z);
95
+ else if (p === "ArrowUp")
96
+ r.preventDefault(), q(l, D, R, b, le);
97
+ else if (p === "Home")
98
+ r.preventDefault(), q(l, null, R, b, Z);
99
+ else if (p === "End")
100
+ r.preventDefault(), q(l, null, R, b, le);
101
+ else if (p.length === 1) {
102
+ const c = P.current, C = p.toLowerCase(), z = performance.now();
103
+ c.keys.length > 0 && (z - c.lastTime > 500 ? (c.keys = [], c.repeating = !0, c.previousKeyMatched = !0) : c.repeating && C !== c.keys[0] && (c.repeating = !1)), c.lastTime = z, c.keys.push(C);
104
+ const N = D && !c.repeating && ge(D, c);
105
+ c.previousKeyMatched && (N || q(l, D, !1, b, Z, c)) ? r.preventDefault() : c.previousKeyMatched = !1;
104
106
  }
105
- N && N(r);
106
- }, j = ve(s, n);
107
- let l = -1;
108
- a.Children.forEach(g, (r, i) => {
109
- if (!/* @__PURE__ */ a.isValidElement(r)) {
110
- l === i && (l += 1, l >= g.length && (l = -1));
107
+ x && x(r);
108
+ }, F = We(a, n);
109
+ let i = -1;
110
+ u.Children.forEach(g, (r, l) => {
111
+ if (!/* @__PURE__ */ u.isValidElement(r)) {
112
+ i === l && (i += 1, i >= g.length && (i = -1));
111
113
  return;
112
114
  }
113
- process.env.NODE_ENV !== "production" && me.isFragment(r) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
114
- `)), r.props.disabled || (I === "selectedMenu" && r.props.selected || l === -1) && (l = i), l === i && (r.props.disabled || r.props.muiSkipListHighlight || r.type.muiSkipListHighlight) && (l += 1, l >= g.length && (l = -1));
115
+ process.env.NODE_ENV !== "production" && fe.isFragment(r) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
116
+ `)), r.props.disabled || (L === "selectedMenu" && r.props.selected || i === -1) && (i = l), i === l && (r.props.disabled || r.props.muiSkipListHighlight || r.type.muiSkipListHighlight) && (i += 1, i >= g.length && (i = -1));
115
117
  });
116
- const R = a.Children.map(g, (r, i) => {
117
- if (i === l) {
118
- const u = {};
119
- return h && (u.autoFocus = !0), r.props.tabIndex === void 0 && I === "selectedMenu" && (u.tabIndex = 0), /* @__PURE__ */ a.cloneElement(r, u);
118
+ const T = u.Children.map(g, (r, l) => {
119
+ if (l === i) {
120
+ const p = {};
121
+ return y && (p.autoFocus = !0), r.props.tabIndex === void 0 && L === "selectedMenu" && (p.tabIndex = 0), /* @__PURE__ */ u.cloneElement(r, p);
120
122
  }
121
123
  return r;
122
124
  });
123
- return /* @__PURE__ */ U(We, {
125
+ return /* @__PURE__ */ A(qe, {
124
126
  role: "menu",
125
- ref: j,
126
- className: d,
127
- onKeyDown: z,
128
- tabIndex: P ? 0 : -1,
129
- ...L,
130
- children: R
127
+ ref: F,
128
+ className: m,
129
+ onKeyDown: H,
130
+ tabIndex: E ? 0 : -1,
131
+ ...K,
132
+ children: T
131
133
  });
132
134
  });
133
- process.env.NODE_ENV !== "production" && (Te.propTypes = {
135
+ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
134
136
  // ┌────────────────────────────── Warning ──────────────────────────────┐
135
137
  // │ These PropTypes are generated from the TypeScript type definitions. │
136
138
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -175,37 +177,37 @@ process.env.NODE_ENV !== "production" && (Te.propTypes = {
175
177
  */
176
178
  variant: e.oneOf(["menu", "selectedMenu"])
177
179
  });
178
- function qe(t) {
179
- return he("MuiPopover", t);
180
+ function $e(t) {
181
+ return de("MuiPopover", t);
180
182
  }
181
- ge("MuiPopover", ["root", "paper"]);
182
- function ue(t, o) {
183
+ me("MuiPopover", ["root", "paper"]);
184
+ function pe(t, o) {
183
185
  let n = 0;
184
186
  return typeof o == "number" ? n = o : o === "center" ? n = t.height / 2 : o === "bottom" && (n = t.height), n;
185
187
  }
186
- function fe(t, o) {
188
+ function ce(t, o) {
187
189
  let n = 0;
188
190
  return typeof o == "number" ? n = o : o === "center" ? n = t.width / 2 : o === "right" && (n = t.width), n;
189
191
  }
190
- function de(t) {
192
+ function ue(t) {
191
193
  return [t.horizontal, t.vertical].map((o) => typeof o == "number" ? `${o}px` : o).join(" ");
192
194
  }
193
- function G(t) {
195
+ function $(t) {
194
196
  return typeof t == "function" ? t() : t;
195
197
  }
196
- const $e = (t) => {
198
+ const Be = (t) => {
197
199
  const {
198
200
  classes: o
199
201
  } = t;
200
- return be({
202
+ return ye({
201
203
  root: ["root"],
202
204
  paper: ["paper"]
203
- }, qe, o);
204
- }, Be = W(He, {
205
+ }, $e, o);
206
+ }, Ge = G(He, {
205
207
  name: "MuiPopover",
206
208
  slot: "Root",
207
209
  overridesResolver: (t, o) => o.root
208
- })({}), Ee = W(ke, {
210
+ })({}), ve = G(Fe, {
209
211
  name: "MuiPopover",
210
212
  slot: "Paper",
211
213
  overridesResolver: (t, o) => o.paper
@@ -221,192 +223,219 @@ const $e = (t) => {
221
223
  maxHeight: "calc(100% - 32px)",
222
224
  // We disable the focus ring for mouse, touch and keyboard users.
223
225
  outline: 0
224
- }), Me = /* @__PURE__ */ a.forwardRef(function(o, n) {
225
- const x = ye({
226
+ }), Te = /* @__PURE__ */ u.forwardRef(function(o, n) {
227
+ const k = be({
226
228
  props: o,
227
229
  name: "MuiPopover"
228
230
  }), {
229
- action: P,
230
- anchorEl: h,
231
+ action: E,
232
+ anchorEl: y,
231
233
  anchorOrigin: g = {
232
234
  vertical: "top",
233
235
  horizontal: "left"
234
236
  },
235
- anchorPosition: d,
236
- anchorReference: m = "anchorEl",
237
- children: O,
238
- className: N,
239
- container: I,
240
- elevation: L = 8,
241
- marginThreshold: s = 16,
242
- open: y,
243
- PaperProps: z = {},
244
- slots: j = {},
245
- slotProps: l = {},
246
- transformOrigin: R = {
237
+ anchorPosition: m,
238
+ anchorReference: b = "anchorEl",
239
+ children: R,
240
+ className: x,
241
+ container: L,
242
+ elevation: K = 8,
243
+ marginThreshold: a = 16,
244
+ open: P,
245
+ PaperProps: H = {},
246
+ // TODO: remove in v7
247
+ slots: F = {},
248
+ slotProps: i = {},
249
+ transformOrigin: T = {
247
250
  vertical: "top",
248
251
  horizontal: "left"
249
252
  },
250
- TransitionComponent: r = Le,
251
- transitionDuration: i = "auto",
252
- TransitionProps: {
253
- onEntering: u,
254
- ...w
255
- } = {},
256
- disableScrollLock: E = !1,
257
- ...c
258
- } = x, T = (l == null ? void 0 : l.paper) ?? z, D = a.useRef(), C = {
259
- ...x,
253
+ TransitionComponent: r,
254
+ // TODO: remove in v7
255
+ transitionDuration: l = "auto",
256
+ TransitionProps: p = {},
257
+ // TODO: remove in v7
258
+ disableScrollLock: O = !1,
259
+ ...D
260
+ } = k, c = u.useRef(), C = {
261
+ ...k,
260
262
  anchorOrigin: g,
261
- anchorReference: m,
262
- elevation: L,
263
- marginThreshold: s,
264
- externalPaperSlotProps: T,
265
- transformOrigin: R,
263
+ anchorReference: b,
264
+ elevation: K,
265
+ marginThreshold: a,
266
+ transformOrigin: T,
266
267
  TransitionComponent: r,
267
- transitionDuration: i,
268
- TransitionProps: w
269
- }, V = $e(C), q = a.useCallback(() => {
270
- if (m === "anchorPosition")
271
- return process.env.NODE_ENV !== "production" && (d || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), d;
272
- const p = G(h), f = p && p.nodeType === 1 ? p : J(D.current).body, v = f.getBoundingClientRect();
268
+ transitionDuration: l,
269
+ TransitionProps: p
270
+ }, z = Be(C), N = u.useCallback(() => {
271
+ if (b === "anchorPosition")
272
+ return process.env.NODE_ENV !== "production" && (m || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), m;
273
+ const s = $(y), d = s && s.nodeType === 1 ? s : ee(c.current).body, h = d.getBoundingClientRect();
273
274
  if (process.env.NODE_ENV !== "production") {
274
- const F = f.getBoundingClientRect();
275
- process.env.NODE_ENV !== "test" && F.top === 0 && F.left === 0 && F.right === 0 && F.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
275
+ const S = d.getBoundingClientRect();
276
+ process.env.NODE_ENV !== "test" && S.top === 0 && S.left === 0 && S.right === 0 && S.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
276
277
  `));
277
278
  }
278
279
  return {
279
- top: v.top + ue(v, g.vertical),
280
- left: v.left + fe(v, g.horizontal)
280
+ top: h.top + pe(h, g.vertical),
281
+ left: h.left + ce(h, g.horizontal)
281
282
  };
282
- }, [h, g.horizontal, g.vertical, d, m]), $ = a.useCallback((p) => ({
283
- vertical: ue(p, R.vertical),
284
- horizontal: fe(p, R.horizontal)
285
- }), [R.horizontal, R.vertical]), B = a.useCallback((p) => {
286
- const f = {
287
- width: p.offsetWidth,
288
- height: p.offsetHeight
289
- }, v = $(f);
290
- if (m === "none")
283
+ }, [y, g.horizontal, g.vertical, m, b]), I = u.useCallback((s) => ({
284
+ vertical: pe(s, T.vertical),
285
+ horizontal: ce(s, T.horizontal)
286
+ }), [T.horizontal, T.vertical]), X = u.useCallback((s) => {
287
+ const d = {
288
+ width: s.offsetWidth,
289
+ height: s.offsetHeight
290
+ }, h = I(d);
291
+ if (b === "none")
291
292
  return {
292
293
  top: null,
293
294
  left: null,
294
- transformOrigin: de(v)
295
+ transformOrigin: ue(h)
295
296
  };
296
- const F = q();
297
- let K = F.top - v.vertical, H = F.left - v.horizontal;
298
- const re = K + f.height, se = H + f.width, ie = Q(G(h)), A = ie.innerHeight - s, ae = ie.innerWidth - s;
299
- if (s !== null && K < s) {
300
- const M = K - s;
301
- K -= M, v.vertical += M;
302
- } else if (s !== null && re > A) {
303
- const M = re - A;
304
- K -= M, v.vertical += M;
297
+ const S = N();
298
+ let U = S.top - h.vertical, V = S.left - h.horizontal;
299
+ const re = U + d.height, se = V + d.width, ie = oe($(y)), W = ie.innerHeight - a, ae = ie.innerWidth - a;
300
+ if (a !== null && U < a) {
301
+ const w = U - a;
302
+ U -= w, h.vertical += w;
303
+ } else if (a !== null && re > W) {
304
+ const w = re - W;
305
+ U -= w, h.vertical += w;
305
306
  }
306
- if (process.env.NODE_ENV !== "production" && f.height > A && f.height && A && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${f.height - A}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
307
- `)), s !== null && H < s) {
308
- const M = H - s;
309
- H -= M, v.horizontal += M;
307
+ if (process.env.NODE_ENV !== "production" && d.height > W && d.height && W && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${d.height - W}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
308
+ `)), a !== null && V < a) {
309
+ const w = V - a;
310
+ V -= w, h.horizontal += w;
310
311
  } else if (se > ae) {
311
- const M = se - ae;
312
- H -= M, v.horizontal += M;
312
+ const w = se - ae;
313
+ V -= w, h.horizontal += w;
313
314
  }
314
315
  return {
315
- top: `${Math.round(K)}px`,
316
- left: `${Math.round(H)}px`,
317
- transformOrigin: de(v)
316
+ top: `${Math.round(U)}px`,
317
+ left: `${Math.round(V)}px`,
318
+ transformOrigin: ue(h)
318
319
  };
319
- }, [h, m, q, $, s]), [b, k] = a.useState(y), S = a.useCallback(() => {
320
- const p = D.current;
321
- if (!p)
320
+ }, [y, b, N, I, a]), [J, Y] = u.useState(P), M = u.useCallback(() => {
321
+ const s = c.current;
322
+ if (!s)
322
323
  return;
323
- const f = B(p);
324
- f.top !== null && p.style.setProperty("top", f.top), f.left !== null && (p.style.left = f.left), p.style.transformOrigin = f.transformOrigin, k(!0);
325
- }, [B]);
326
- a.useEffect(() => (E && window.addEventListener("scroll", S), () => window.removeEventListener("scroll", S)), [h, E, S]);
327
- const Oe = (p, f) => {
328
- u && u(p, f), S();
329
- }, Re = () => {
330
- k(!1);
324
+ const d = X(s);
325
+ d.top !== null && s.style.setProperty("top", d.top), d.left !== null && (s.style.left = d.left), s.style.transformOrigin = d.transformOrigin, Y(!0);
326
+ }, [X]);
327
+ u.useEffect(() => (O && window.addEventListener("scroll", M), () => window.removeEventListener("scroll", M)), [y, O, M]);
328
+ const Q = () => {
329
+ M();
330
+ }, j = () => {
331
+ Y(!1);
331
332
  };
332
- a.useEffect(() => {
333
- y && S();
334
- }), a.useImperativeHandle(P, () => y ? {
333
+ u.useEffect(() => {
334
+ P && M();
335
+ }), u.useImperativeHandle(E, () => P ? {
335
336
  updatePosition: () => {
336
- S();
337
+ M();
337
338
  }
338
- } : null, [y, S]), a.useEffect(() => {
339
- if (!y)
339
+ } : null, [P, M]), u.useEffect(() => {
340
+ if (!P)
340
341
  return;
341
- const p = ze(() => {
342
- S();
343
- }), f = Q(h);
344
- return f.addEventListener("resize", p), () => {
345
- p.clear(), f.removeEventListener("resize", p);
342
+ const s = je(() => {
343
+ M();
344
+ }), d = oe($(y));
345
+ return d.addEventListener("resize", s), () => {
346
+ s.clear(), d.removeEventListener("resize", s);
346
347
  };
347
- }, [h, y, S]);
348
- let ee = i;
349
- i === "auto" && !r.muiSupportAuto && (ee = void 0);
350
- const we = I || (h ? J(G(h)).body : void 0), oe = {
351
- slots: j,
348
+ }, [y, P, M]);
349
+ let f = l;
350
+ const v = {
351
+ slots: {
352
+ transition: r,
353
+ ...F
354
+ },
352
355
  slotProps: {
353
- ...l,
354
- paper: T
356
+ transition: p,
357
+ paper: H,
358
+ ...i
355
359
  }
356
- }, [Ce, te] = ce("paper", {
357
- elementType: Ee,
358
- externalForwardedProps: oe,
359
- additionalProps: {
360
- elevation: L,
361
- className: X(V.paper, T == null ? void 0 : T.className),
362
- style: b ? T.style : {
363
- ...T.style,
364
- opacity: 0
360
+ }, [_, Ee] = B("transition", {
361
+ elementType: Le,
362
+ externalForwardedProps: v,
363
+ ownerState: C,
364
+ getSlotProps: (s) => ({
365
+ ...s,
366
+ onEntering: (d, h) => {
367
+ var S;
368
+ (S = s.onEntering) == null || S.call(s, d, h), Q();
369
+ },
370
+ onExited: (d) => {
371
+ var h;
372
+ (h = s.onExited) == null || h.call(s, d), j();
365
373
  }
374
+ }),
375
+ additionalProps: {
376
+ appear: !0,
377
+ in: P
378
+ }
379
+ });
380
+ l === "auto" && !_.muiSupportAuto && (f = void 0);
381
+ const Oe = L || (y ? ee($(y)).body : void 0), [ne, {
382
+ slots: Me,
383
+ slotProps: we,
384
+ ...Re
385
+ }] = B("root", {
386
+ ref: n,
387
+ elementType: Ge,
388
+ externalForwardedProps: {
389
+ ...v,
390
+ ...D
366
391
  },
367
- ownerState: C
368
- }), [ne, {
369
- slotProps: xe,
370
- ...Ne
371
- }] = ce("root", {
372
- elementType: Be,
373
- externalForwardedProps: oe,
392
+ shouldForwardComponentProp: !0,
374
393
  additionalProps: {
394
+ slots: {
395
+ backdrop: F.backdrop
396
+ },
375
397
  slotProps: {
376
- backdrop: {
398
+ backdrop: ze(typeof i.backdrop == "function" ? i.backdrop(C) : i.backdrop, {
377
399
  invisible: !0
378
- }
400
+ })
379
401
  },
380
- container: we,
381
- open: y
402
+ container: Oe,
403
+ open: P
382
404
  },
383
405
  ownerState: C,
384
- className: X(V.root, N)
385
- }), Se = ve(D, te.ref);
386
- return /* @__PURE__ */ U(ne, {
387
- ...Ne,
388
- ...!je(ne) && {
389
- slotProps: xe,
390
- disableScrollLock: E
406
+ className: he(z.root, x)
407
+ }), [Ce, Se] = B("paper", {
408
+ ref: c,
409
+ className: z.paper,
410
+ elementType: ve,
411
+ externalForwardedProps: v,
412
+ shouldForwardComponentProp: !0,
413
+ additionalProps: {
414
+ elevation: K,
415
+ style: J ? void 0 : {
416
+ opacity: 0
417
+ }
391
418
  },
392
- ...c,
393
- ref: n,
394
- children: /* @__PURE__ */ U(r, {
395
- appear: !0,
396
- in: y,
397
- onEntering: Oe,
398
- onExited: Re,
399
- timeout: ee,
400
- ...w,
401
- children: /* @__PURE__ */ U(Ce, {
402
- ...te,
403
- ref: Se,
404
- children: O
419
+ ownerState: C
420
+ });
421
+ return /* @__PURE__ */ A(ne, {
422
+ ...Re,
423
+ ...!Ne(ne) && {
424
+ slots: Me,
425
+ slotProps: we,
426
+ disableScrollLock: O
427
+ },
428
+ children: /* @__PURE__ */ A(_, {
429
+ ...Ee,
430
+ timeout: f,
431
+ children: /* @__PURE__ */ A(Ce, {
432
+ ...Se,
433
+ children: R
405
434
  })
406
435
  })
407
436
  });
408
437
  });
409
- process.env.NODE_ENV !== "production" && (Me.propTypes = {
438
+ process.env.NODE_ENV !== "production" && (Te.propTypes = {
410
439
  // ┌────────────────────────────── Warning ──────────────────────────────┐
411
440
  // │ These PropTypes are generated from the TypeScript type definitions. │
412
441
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -421,9 +450,9 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
421
450
  * or a function that returns either.
422
451
  * It's used to set the position of the popover.
423
452
  */
424
- anchorEl: Ue(e.oneOfType([Z, e.func]), (t) => {
453
+ anchorEl: Ue(e.oneOfType([te, e.func]), (t) => {
425
454
  if (t.open && (!t.anchorReference || t.anchorReference === "anchorEl")) {
426
- const o = G(t.anchorEl);
455
+ const o = $(t.anchorEl);
427
456
  if (o && o.nodeType === 1) {
428
457
  const n = o.getBoundingClientRect();
429
458
  if (process.env.NODE_ENV !== "test" && n.top === 0 && n.left === 0 && n.right === 0 && n.bottom === 0)
@@ -468,8 +497,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
468
497
  anchorReference: e.oneOf(["anchorEl", "anchorPosition", "none"]),
469
498
  /**
470
499
  * A backdrop component. This prop enables custom backdrop rendering.
471
- * @deprecated Use `slotProps.root.slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
472
- * Use the `slotProps.root.slots.backdrop` prop to make your application ready for the next version of Material UI.
500
+ * @deprecated Use `slots.backdrop` 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.
473
501
  * @default styled(Backdrop, {
474
502
  * name: 'MuiModal',
475
503
  * slot: 'Backdrop',
@@ -483,7 +511,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
483
511
  BackdropComponent: e.elementType,
484
512
  /**
485
513
  * Props applied to the [`Backdrop`](/material-ui/api/backdrop/) element.
486
- * @deprecated Use `slotProps.root.slotProps.backdrop` instead.
514
+ * @deprecated Use `slotProps.backdrop` 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.
487
515
  */
488
516
  BackdropProps: e.object,
489
517
  /**
@@ -505,7 +533,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
505
533
  * By default, it uses the body of the anchorEl's top-level document object,
506
534
  * so it's simply `document.body` most of the time.
507
535
  */
508
- container: e.oneOfType([Z, e.func]),
536
+ container: e.oneOfType([te, e.func]),
509
537
  /**
510
538
  * Disable the scroll lock behavior.
511
539
  * @default false
@@ -515,7 +543,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
515
543
  * The elevation of the popover.
516
544
  * @default 8
517
545
  */
518
- elevation: Fe,
546
+ elevation: Ie,
519
547
  /**
520
548
  * Specifies how close to the edge of the window the popover can appear.
521
549
  * If null, the popover will not be constrained by the window.
@@ -547,16 +575,20 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
547
575
  * @default {}
548
576
  */
549
577
  slotProps: e.shape({
578
+ backdrop: e.oneOfType([e.func, e.object]),
550
579
  paper: e.oneOfType([e.func, e.object]),
551
- root: e.oneOfType([e.func, e.object])
580
+ root: e.oneOfType([e.func, e.object]),
581
+ transition: e.oneOfType([e.func, e.object])
552
582
  }),
553
583
  /**
554
584
  * The components used for each slot inside.
555
585
  * @default {}
556
586
  */
557
587
  slots: e.shape({
588
+ backdrop: e.elementType,
558
589
  paper: e.elementType,
559
- root: e.elementType
590
+ root: e.elementType,
591
+ transition: e.elementType
560
592
  }),
561
593
  /**
562
594
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -581,6 +613,7 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
581
613
  /**
582
614
  * The component used for the transition.
583
615
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
616
+ * @deprecated use the `slots.transition` 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.
584
617
  * @default Grow
585
618
  */
586
619
  TransitionComponent: e.elementType,
@@ -596,34 +629,35 @@ process.env.NODE_ENV !== "production" && (Me.propTypes = {
596
629
  /**
597
630
  * Props applied to the transition element.
598
631
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
632
+ * @deprecated use the `slotProps.transition` 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.
599
633
  * @default {}
600
634
  */
601
635
  TransitionProps: e.object
602
636
  });
603
- function Ge(t) {
604
- return he("MuiMenu", t);
637
+ function Xe(t) {
638
+ return de("MuiMenu", t);
605
639
  }
606
- const Mo = ge("MuiMenu", ["root", "paper", "list"]), Ye = {
640
+ const Ro = me("MuiMenu", ["root", "paper", "list"]), Ye = {
607
641
  vertical: "top",
608
642
  horizontal: "right"
609
- }, Xe = {
643
+ }, Je = {
610
644
  vertical: "top",
611
645
  horizontal: "left"
612
- }, Je = (t) => {
646
+ }, Qe = (t) => {
613
647
  const {
614
648
  classes: o
615
649
  } = t;
616
- return be({
650
+ return ye({
617
651
  root: ["root"],
618
652
  paper: ["paper"],
619
653
  list: ["list"]
620
- }, Ge, o);
621
- }, Qe = W(Me, {
622
- shouldForwardProp: (t) => Ie(t) || t === "classes",
654
+ }, Xe, o);
655
+ }, Ze = G(Te, {
656
+ shouldForwardProp: (t) => xe(t) || t === "classes",
623
657
  name: "MuiMenu",
624
658
  slot: "Root",
625
659
  overridesResolver: (t, o) => o.root
626
- })({}), Ze = W(Ee, {
660
+ })({}), eo = G(ve, {
627
661
  name: "MuiMenu",
628
662
  slot: "Paper",
629
663
  overridesResolver: (t, o) => o.paper
@@ -634,107 +668,136 @@ const Mo = ge("MuiMenu", ["root", "paper", "list"]), Ye = {
634
668
  maxHeight: "calc(100% - 96px)",
635
669
  // Add iOS momentum scrolling for iOS < 13.0
636
670
  WebkitOverflowScrolling: "touch"
637
- }), eo = W(Te, {
671
+ }), oo = G(Pe, {
638
672
  name: "MuiMenu",
639
673
  slot: "List",
640
674
  overridesResolver: (t, o) => o.list
641
675
  })({
642
676
  // We disable the focus ring for mouse, touch and keyboard users.
643
677
  outline: 0
644
- }), oo = /* @__PURE__ */ a.forwardRef(function(o, n) {
645
- const x = ye({
678
+ }), to = /* @__PURE__ */ u.forwardRef(function(o, n) {
679
+ const k = be({
646
680
  props: o,
647
681
  name: "MuiMenu"
648
682
  }), {
649
- autoFocus: P = !0,
650
- children: h,
683
+ autoFocus: E = !0,
684
+ children: y,
651
685
  className: g,
652
- disableAutoFocusItem: d = !1,
653
- MenuListProps: m = {},
654
- onClose: O,
655
- open: N,
656
- PaperProps: I = {},
657
- PopoverClasses: L,
658
- transitionDuration: s = "auto",
686
+ disableAutoFocusItem: m = !1,
687
+ MenuListProps: b = {},
688
+ onClose: R,
689
+ open: x,
690
+ PaperProps: L = {},
691
+ PopoverClasses: K,
692
+ transitionDuration: a = "auto",
659
693
  TransitionProps: {
660
- onEntering: y,
661
- ...z
694
+ onEntering: P,
695
+ ...H
662
696
  } = {},
663
- variant: j = "selectedMenu",
664
- slots: l = {},
665
- slotProps: R = {},
697
+ variant: F = "selectedMenu",
698
+ slots: i = {},
699
+ slotProps: T = {},
666
700
  ...r
667
- } = x, i = De(), u = {
668
- ...x,
669
- autoFocus: P,
670
- disableAutoFocusItem: d,
671
- MenuListProps: m,
672
- onEntering: y,
673
- PaperProps: I,
674
- transitionDuration: s,
675
- TransitionProps: z,
676
- variant: j
677
- }, w = Je(u), E = P && !d && N, c = a.useRef(null), T = (b, k) => {
678
- c.current && c.current.adjustStyleForScrollbar(b, {
679
- direction: i ? "rtl" : "ltr"
680
- }), y && y(b, k);
681
- }, D = (b) => {
682
- b.key === "Tab" && (b.preventDefault(), O && O(b, "tabKeyDown"));
701
+ } = k, l = ke(), p = {
702
+ ...k,
703
+ autoFocus: E,
704
+ disableAutoFocusItem: m,
705
+ MenuListProps: b,
706
+ onEntering: P,
707
+ PaperProps: L,
708
+ transitionDuration: a,
709
+ TransitionProps: H,
710
+ variant: F
711
+ }, O = Qe(p), D = E && !m && x, c = u.useRef(null), C = (f, v) => {
712
+ c.current && c.current.adjustStyleForScrollbar(f, {
713
+ direction: l ? "rtl" : "ltr"
714
+ }), P && P(f, v);
715
+ }, z = (f) => {
716
+ f.key === "Tab" && (f.preventDefault(), R && R(f, "tabKeyDown"));
683
717
  };
684
- let C = -1;
685
- a.Children.map(h, (b, k) => {
686
- /* @__PURE__ */ a.isValidElement(b) && (process.env.NODE_ENV !== "production" && me.isFragment(b) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
687
- `)), b.props.disabled || (j === "selectedMenu" && b.props.selected || C === -1) && (C = k));
718
+ let N = -1;
719
+ u.Children.map(y, (f, v) => {
720
+ /* @__PURE__ */ u.isValidElement(f) && (process.env.NODE_ENV !== "production" && fe.isFragment(f) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
721
+ `)), f.props.disabled || (F === "selectedMenu" && f.props.selected || N === -1) && (N = v));
688
722
  });
689
- const V = l.paper ?? Ze, q = R.paper ?? I, $ = le({
690
- elementType: l.root,
691
- externalSlotProps: R.root,
692
- ownerState: u,
693
- className: [w.root, g]
694
- }), B = le({
695
- elementType: V,
696
- externalSlotProps: q,
697
- ownerState: u,
698
- className: w.paper
699
- });
700
- return /* @__PURE__ */ U(Qe, {
701
- onClose: O,
723
+ const I = {
724
+ slots: i,
725
+ slotProps: {
726
+ list: b,
727
+ transition: H,
728
+ paper: L,
729
+ ...T
730
+ }
731
+ }, X = De({
732
+ elementType: i.root,
733
+ externalSlotProps: T.root,
734
+ ownerState: p,
735
+ className: [O.root, g]
736
+ }), [J, Y] = B("paper", {
737
+ className: O.paper,
738
+ elementType: eo,
739
+ externalForwardedProps: I,
740
+ shouldForwardComponentProp: !0,
741
+ ownerState: p
742
+ }), [M, Q] = B("list", {
743
+ className: he(O.list, b.className),
744
+ elementType: oo,
745
+ shouldForwardComponentProp: !0,
746
+ externalForwardedProps: I,
747
+ getSlotProps: (f) => ({
748
+ ...f,
749
+ onKeyDown: (v) => {
750
+ var _;
751
+ z(v), (_ = f.onKeyDown) == null || _.call(f, v);
752
+ }
753
+ }),
754
+ ownerState: p
755
+ }), j = typeof I.slotProps.transition == "function" ? I.slotProps.transition(p) : I.slotProps.transition;
756
+ return /* @__PURE__ */ A(Ze, {
757
+ onClose: R,
702
758
  anchorOrigin: {
703
759
  vertical: "bottom",
704
- horizontal: i ? "right" : "left"
760
+ horizontal: l ? "right" : "left"
705
761
  },
706
- transformOrigin: i ? Ye : Xe,
762
+ transformOrigin: l ? Ye : Je,
707
763
  slots: {
708
- paper: V,
709
- root: l.root
764
+ root: i.root,
765
+ paper: J,
766
+ backdrop: i.backdrop,
767
+ ...i.transition && {
768
+ // TODO: pass `slots.transition` directly once `TransitionComponent` is removed from Popover
769
+ transition: i.transition
770
+ }
710
771
  },
711
772
  slotProps: {
712
- root: $,
713
- paper: B
773
+ root: X,
774
+ paper: Y,
775
+ backdrop: typeof T.backdrop == "function" ? T.backdrop(p) : T.backdrop,
776
+ transition: {
777
+ ...j,
778
+ onEntering: (...f) => {
779
+ var v;
780
+ C(...f), (v = j == null ? void 0 : j.onEntering) == null || v.call(j, ...f);
781
+ }
782
+ }
714
783
  },
715
- open: N,
784
+ open: x,
716
785
  ref: n,
717
- transitionDuration: s,
718
- TransitionProps: {
719
- onEntering: T,
720
- ...z
721
- },
722
- ownerState: u,
786
+ transitionDuration: a,
787
+ ownerState: p,
723
788
  ...r,
724
- classes: L,
725
- children: /* @__PURE__ */ U(eo, {
726
- onKeyDown: D,
789
+ classes: K,
790
+ children: /* @__PURE__ */ A(M, {
727
791
  actions: c,
728
- autoFocus: P && (C === -1 || d),
729
- autoFocusItem: E,
730
- variant: j,
731
- ...m,
732
- className: X(w.list, m.className),
733
- children: h
792
+ autoFocus: E && (N === -1 || m),
793
+ autoFocusItem: D,
794
+ variant: F,
795
+ ...Q,
796
+ children: y
734
797
  })
735
798
  });
736
799
  });
737
- process.env.NODE_ENV !== "production" && (oo.propTypes = {
800
+ process.env.NODE_ENV !== "production" && (to.propTypes = {
738
801
  // ┌────────────────────────────── Warning ──────────────────────────────┐
739
802
  // │ These PropTypes are generated from the TypeScript type definitions. │
740
803
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -743,7 +806,7 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
743
806
  * An HTML element, or a function that returns one.
744
807
  * It's used to set the position of the menu.
745
808
  */
746
- anchorEl: e.oneOfType([Z, e.func]),
809
+ anchorEl: e.oneOfType([te, e.func]),
747
810
  /**
748
811
  * If `true` (Default) will focus the `[role="menu"]` if no focusable child is found. Disabled
749
812
  * children are not focusable. If you set this prop to `false` focus will be placed
@@ -774,6 +837,7 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
774
837
  disableAutoFocusItem: e.bool,
775
838
  /**
776
839
  * Props applied to the [`MenuList`](https://mui.com/material-ui/api/menu-list/) element.
840
+ * @deprecated use the `slotProps.list` 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.
777
841
  * @default {}
778
842
  */
779
843
  MenuListProps: e.object,
@@ -801,16 +865,22 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
801
865
  * @default {}
802
866
  */
803
867
  slotProps: e.shape({
868
+ backdrop: e.oneOfType([e.func, e.object]),
869
+ list: e.oneOfType([e.func, e.object]),
804
870
  paper: e.oneOfType([e.func, e.object]),
805
- root: e.oneOfType([e.func, e.object])
871
+ root: e.oneOfType([e.func, e.object]),
872
+ transition: e.oneOfType([e.func, e.object])
806
873
  }),
807
874
  /**
808
875
  * The components used for each slot inside.
809
876
  * @default {}
810
877
  */
811
878
  slots: e.shape({
879
+ backdrop: e.elementType,
880
+ list: e.elementType,
812
881
  paper: e.elementType,
813
- root: e.elementType
882
+ root: e.elementType,
883
+ transition: e.elementType
814
884
  }),
815
885
  /**
816
886
  * The system prop that allows defining system overrides as well as additional CSS styles.
@@ -828,6 +898,7 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
828
898
  /**
829
899
  * Props applied to the transition element.
830
900
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
901
+ * @deprecated use the `slotProps.transition` 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.
831
902
  * @default {}
832
903
  */
833
904
  TransitionProps: e.object,
@@ -838,7 +909,7 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
838
909
  variant: e.oneOf(["menu", "selectedMenu"])
839
910
  });
840
911
  export {
841
- oo as M,
842
- Ge as g,
843
- Mo as m
912
+ to as M,
913
+ Xe as g,
914
+ Ro as m
844
915
  };