@cgi-learning-hub/ui 1.5.0 → 1.5.1-dev.1744639457

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 (323) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-D7eKsj1P.js → Alert-CDbAJ9jP.js} +27 -28
  3. package/dist/Autocomplete-2DWwLqO5.cjs +6 -0
  4. package/dist/{Autocomplete-Cfz4sLy8.js → Autocomplete-DO8kdiDn.js} +704 -665
  5. package/dist/Backdrop-Be5Hv5U8.cjs +1 -0
  6. package/dist/{Backdrop-COiz4sPF.js → Backdrop-CRrNkGxU.js} +18 -18
  7. package/dist/{Box-C-j-U8SH.js → Box-2IEW8Uij.js} +12 -12
  8. package/dist/Box-Bl24J58B.cjs +1 -0
  9. package/dist/Button-CZTPCtLu.cjs +1 -0
  10. package/dist/{Button-CQQdMCSm.js → Button-DYWfAsGe.js} +114 -148
  11. package/dist/{ButtonBase-CZFKUUHD.js → ButtonBase-BZXGvriS.js} +24 -24
  12. package/dist/{ButtonBase-NqQjeQ4X.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  13. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  14. package/dist/{CardContent-sX9Bw4Ke.js → CardContent-oRdx06Ln.js} +5 -5
  15. package/dist/{Checkbox-1Zr36vDa.js → Checkbox-DMnS1qrF.js} +95 -68
  16. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  17. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  18. package/dist/{Chip-BsErraqe.js → Chip-CacnC2L1.js} +53 -54
  19. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  20. package/dist/{CircularProgress-BBHGA0JX.js → CircularProgress-_VZwmayK.js} +28 -29
  21. package/dist/{Close-r-ZUhk0-.js → Close-CSvE0tu1.js} +1 -1
  22. package/dist/{Close-ZXg7X3Tz.cjs → Close-Czm0dlR9.cjs} +1 -1
  23. package/dist/{CloseRounded-CWmxueMc.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  24. package/dist/{CloseRounded-B-eaQsyM.js → CloseRounded-CEX-NsA7.js} +1 -1
  25. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  26. package/dist/{CustomTreeItem-BpAK85gf.js → CustomTreeItem-DTV3xokL.js} +287 -289
  27. package/dist/{DatePicker-CWMXTgRG.js → DatePicker-C-toYUpc.js} +995 -1002
  28. package/dist/DatePicker-DbH5IN_w.cjs +13 -0
  29. package/dist/{DefaultPropsProvider-CXfMJdg8.js → DefaultPropsProvider-Bg-6nX-u.js} +53 -53
  30. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  31. package/dist/{Delete-CpTtpM4U.cjs → Delete-C0hR-twe.cjs} +1 -1
  32. package/dist/{Delete-DKn2lIDB.js → Delete-Pl5O0eBK.js} +1 -1
  33. package/dist/{Dialog-pU1ZAttp.js → Dialog-BGrQDZXr.js} +162 -169
  34. package/dist/Dialog-D1VJ5jXx.cjs +1 -0
  35. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  36. package/dist/{DialogContent-BEgapieO.js → DialogContent-ZiO3fkfO.js} +3 -3
  37. package/dist/DialogTitle-B3MlGamo.cjs +1 -0
  38. package/dist/{DialogTitle-Dcls3mcZ.js → DialogTitle-BiZ7zHp-.js} +7 -7
  39. package/dist/{Divider-CT4XaEn6.js → Divider-BDN4OyrO.js} +8 -8
  40. package/dist/Divider-I7KOokm8.cjs +1 -0
  41. package/dist/{Folder-DoEl37QZ.js → Folder-CF7SX2AD.js} +1 -1
  42. package/dist/{Folder-DWD_1Fux.cjs → Folder-ExV_xCn6.cjs} +1 -1
  43. package/dist/{FormLabel-BF6m-_uI.js → FormLabel-DNsUciXe.js} +24 -25
  44. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  45. package/dist/{Grow-Bk7XkPFP.js → Grow-CLBgYoz_.js} +5 -5
  46. package/dist/Grow-DrEdqZgX.cjs +1 -0
  47. package/dist/IconButton-C1I_233O.cjs +2 -0
  48. package/dist/{IconButton-BQW0xjdH.js → IconButton-CT0Plyy5.js} +26 -27
  49. package/dist/{InputAdornment-C6UfLaud.js → InputAdornment-Ci0BnJ_e.js} +10 -11
  50. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  51. package/dist/InputBase-C-ES3FPH.cjs +3 -0
  52. package/dist/{InputBase-YOnatBxw.js → InputBase-CJvM-WXJ.js} +261 -256
  53. package/dist/{Link-C3rf4gqc.js → Link-B6LNMjac.js} +15 -16
  54. package/dist/Link-BQrFDQ-K.cjs +1 -0
  55. package/dist/{List-CFInjv2S.js → List-22h7byk_.js} +2 -2
  56. package/dist/List-Bii833np.cjs +1 -0
  57. package/dist/{ListItem-BAAZxsu5.js → ListItem-B0syBgS7.js} +17 -17
  58. package/dist/ListItem-BtjE87R1.cjs +1 -0
  59. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  60. package/dist/ListItemText-zFoA_mgx.js +845 -0
  61. package/dist/Menu-4e60iiMU.cjs +7 -0
  62. package/dist/{Menu-BgO92SV3.js → Menu-B6t_52q7.js} +405 -335
  63. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  64. package/dist/{MenuItem-B8eWAj8E.js → MenuItem-KNXRjnwO.js} +14 -14
  65. package/dist/{Modal-CFv4UMTP.js → Modal-BpJ9BCOo.js} +239 -245
  66. package/dist/Modal-JAWJUstF.cjs +2 -0
  67. package/dist/{MoreVert-Dq8BqKg4.js → MoreVert-BtC5XWOR.js} +1 -1
  68. package/dist/{MoreVert-B_Gz5Gfx.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  69. package/dist/{Paper-DeL_n4k9.js → Paper-BTFv1nzl.js} +9 -9
  70. package/dist/Paper-CKG165jt.cjs +2 -0
  71. package/dist/Popper-CyH7Z-lN.cjs +4 -0
  72. package/dist/{Popper-BKxRTMsO.js → Popper-YJsxmJsm.js} +10 -10
  73. package/dist/Portal-CtsVKOQ9.js +85 -0
  74. package/dist/Portal-LP7SUKpU.cjs +1 -0
  75. package/dist/Radio-BEfQuau1.cjs +1 -0
  76. package/dist/{Radio-BVfoGshx.js → Radio-Dg73Pnqf.js} +226 -183
  77. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  78. package/dist/{RadioGroup-DcqRUtV8.js → RadioGroup-jev5E2xJ.js} +20 -20
  79. package/dist/{Select-Vnsr3NSv.js → Select-21Pm-BzJ.js} +164 -165
  80. package/dist/Select-CxofSqZJ.cjs +3 -0
  81. package/dist/{Stack-PQFKjbdN.js → Stack-D2Plrf1_.js} +60 -104
  82. package/dist/Stack-DpH56CPw.cjs +1 -0
  83. package/dist/Switch-BIGFww3p.cjs +1 -0
  84. package/dist/{Switch-Bn8zlIOf.js → Switch-CNfK1N1c.js} +167 -108
  85. package/dist/SwitchBase-BHC3uchj.js +314 -0
  86. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  87. package/dist/{Tab-A0R3g6rB.js → Tab-BbWlzMyp.js} +597 -537
  88. package/dist/Tab-BsIC620i.cjs +4 -0
  89. package/dist/{TextField-Di6Nfe3O.js → TextField-BjzDdsW_.js} +133 -124
  90. package/dist/TextField-DFr8lsXU.cjs +1 -0
  91. package/dist/ToggleButtonGroup-BEvrUL8a.cjs +138 -0
  92. package/dist/{ToggleButtonGroup-B-zfmsAO.js → ToggleButtonGroup-C_O-zqof.js} +1995 -1818
  93. package/dist/{Tooltip-KTkLBRQj.js → Tooltip-Bf5VDDeG.js} +34 -35
  94. package/dist/Tooltip-DJC7nrsk.cjs +4 -0
  95. package/dist/{Typography-DZ11k9cZ.js → Typography-BNt9mZKm.js} +13 -14
  96. package/dist/Typography-DOpE-TJz.cjs +1 -0
  97. package/dist/components/Alert/Alert.cjs.js +1 -1
  98. package/dist/components/Alert/Alert.es.js +3 -3
  99. package/dist/components/Alert/index.cjs.js +1 -1
  100. package/dist/components/Alert/index.es.js +1 -1
  101. package/dist/components/Button/Button.cjs.js +1 -1
  102. package/dist/components/Button/Button.es.js +2 -2
  103. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  104. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  105. package/dist/components/DatePicker/index.cjs.js +1 -1
  106. package/dist/components/DatePicker/index.es.js +1 -1
  107. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  108. package/dist/components/Dialog/Dialog.es.js +15 -15
  109. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  110. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  111. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  112. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  113. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  114. package/dist/components/FileList/FileIcon.es.js +1 -1
  115. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  116. package/dist/components/FileList/FileListItem.es.js +4 -4
  117. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  118. package/dist/components/FolderCard/FolderCard.d.ts +1 -0
  119. package/dist/components/FolderCard/FolderCard.es.js +26 -17
  120. package/dist/components/FolderCard/styles.cjs.js +1 -1
  121. package/dist/components/FolderCard/styles.d.ts +4 -0
  122. package/dist/components/FolderCard/styles.es.js +9 -5
  123. package/dist/components/Heading/Heading.cjs.js +1 -1
  124. package/dist/components/Heading/Heading.es.js +2 -2
  125. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  126. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  127. package/dist/components/Loader/Loader.cjs.js +1 -1
  128. package/dist/components/Loader/Loader.es.js +1 -1
  129. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  130. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  131. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  132. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  133. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  134. package/dist/components/ResourceCard/ResourceCard.d.ts +1 -0
  135. package/dist/components/ResourceCard/ResourceCard.es.js +21 -19
  136. package/dist/components/ResourceCard/style.cjs.js +1 -1
  137. package/dist/components/ResourceCard/style.es.js +49 -44
  138. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  139. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  140. package/dist/components/TreeView/TreeView.cjs.js +7 -7
  141. package/dist/components/TreeView/TreeView.es.js +323 -319
  142. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  143. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  144. package/dist/components/TreeView/style.cjs.js +1 -1
  145. package/dist/components/TreeView/style.es.js +24 -18
  146. package/dist/components/TreeView/types.d.ts +5 -2
  147. package/dist/components/TreeView/utils.cjs.js +1 -1
  148. package/dist/components/TreeView/utils.es.js +3 -3
  149. package/dist/components/index.cjs.js +1 -1
  150. package/dist/components/index.es.js +264 -266
  151. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  152. package/dist/components/stories/Alert.stories.es.js +1 -1
  153. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  154. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  155. package/dist/components/stories/Button.stories.cjs.js +1 -1
  156. package/dist/components/stories/Button.stories.es.js +1 -1
  157. package/dist/components/stories/Card.stories.cjs.js +1 -1
  158. package/dist/components/stories/Card.stories.es.js +2 -2
  159. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  160. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  161. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Chip.stories.es.js +1 -1
  163. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  164. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  165. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  166. package/dist/components/stories/Dialog.stories.es.js +2 -2
  167. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  168. package/dist/components/stories/Divider.stories.es.js +1 -1
  169. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  170. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  171. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  172. package/dist/components/stories/Heading.stories.es.js +2 -2
  173. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  174. package/dist/components/stories/IconButton.stories.es.js +2 -2
  175. package/dist/components/stories/Link.stories.cjs.js +1 -1
  176. package/dist/components/stories/Link.stories.es.js +1 -1
  177. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  178. package/dist/components/stories/Menu.stories.es.js +2 -2
  179. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  180. package/dist/components/stories/Paper.stories.es.js +1 -1
  181. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  182. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  183. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  184. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  185. package/dist/components/stories/Select.stories.cjs.js +1 -1
  186. package/dist/components/stories/Select.stories.es.js +3 -3
  187. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  188. package/dist/components/stories/TabList.stories.es.js +1 -1
  189. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  190. package/dist/components/stories/TextField.stories.es.js +1 -1
  191. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  192. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  193. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  194. package/dist/components/stories/TreeView.stories.d.ts +2 -0
  195. package/dist/components/stories/TreeView.stories.es.js +517 -268
  196. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  197. package/dist/components/stories/Typography.stories.es.js +1 -1
  198. package/dist/{createSvgIcon-BFqOnlgU.js → createSvgIcon-CCutbgLb.js} +54 -55
  199. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  200. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  201. package/dist/{dividerClasses-BYkvalOn.js → dividerClasses-hlXEfEZK.js} +1 -1
  202. package/dist/{elementTypeAcceptingRef-1usJq_B8.js → elementTypeAcceptingRef-COpcDx5q.js} +1 -1
  203. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  204. package/dist/{extendSxProp-D_IkoDXB.js → extendSxProp-0G38SSpC.js} +1 -1
  205. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  206. package/dist/{getReactElementRef-DtLerx40.js → getReactElementRef-C6oFed6n.js} +1 -1
  207. package/dist/getReactElementRef-EDbO4rJt.cjs +1 -0
  208. package/dist/{generateUtilityClasses-CqzQXpT_.js → identifier-BJqC6EXa.js} +833 -865
  209. package/dist/identifier-gJdGmHeC.cjs +74 -0
  210. package/dist/{index-CFIk4hVM.js → index-BOAF-ZZq.js} +4 -4
  211. package/dist/index-Cfd-LNZn.cjs +1 -0
  212. package/dist/index-D14TzUgK.cjs +1 -0
  213. package/dist/{index-sDFEVHTg.js → index-DP697UN9.js} +1 -1
  214. package/dist/index-Dmu1HrwE.cjs +5 -0
  215. package/dist/{index-C7WfZsMe.js → index-gxOBDuBW.js} +2 -2
  216. package/dist/index.cjs.js +1 -1
  217. package/dist/index.es.js +264 -266
  218. package/dist/{listItemTextClasses-C0D3xQur.js → listItemTextClasses-DBxyCmso.js} +1 -1
  219. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  220. package/dist/{memoTheme-B0xVysYu.js → memoTheme-D_Qap2ZW.js} +1 -1
  221. package/dist/{memoTheme-WwIyYqBX.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  222. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  223. package/dist/mergeSlotProps-BSFlgsYC.js +62 -0
  224. package/dist/refType-53jD7LEO.cjs +1 -0
  225. package/dist/{refType-BvSJNaoq.js → refType-DRBJ18fO.js} +1 -1
  226. package/dist/styled-C7OKoThH.cjs +1 -0
  227. package/dist/styled-DpPa0vDp.js +5 -0
  228. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  229. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  230. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  231. package/dist/useForkRef-u29GSuCu.js +27 -0
  232. package/dist/useSlot-DhC6EPU2.js +125 -0
  233. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  234. package/dist/{useSlotProps-Ceyorp-u.js → useSlotProps-Bos9nSja.js} +2 -2
  235. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  236. package/dist/{useTheme-2JCMQS-E.js → useTheme-B1xvds8x.js} +1 -1
  237. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  238. package/dist/useTheme-Dt-VOIyT.js +11 -0
  239. package/dist/useTheme-NQRIebh0.cjs +1 -0
  240. package/dist/useThemeProps-CxMYNgfp.js +17 -0
  241. package/dist/{useThemeProps-Cuazh32X.js → useThemeProps-DSVFwH3A.js} +4 -4
  242. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  243. package/dist/{useThemeProps-RdxbcMsR.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  244. package/dist/utils-B2EQZFZP.cjs +1 -0
  245. package/dist/{utils-BVg32WSe.js → utils-qwVZGgXz.js} +1 -1
  246. package/dist/warning-C8W811fV.js +11 -0
  247. package/dist/warning-DMUNDgRg.cjs +2 -0
  248. package/package.json +10 -10
  249. package/dist/Alert-CvizDCvx.cjs +0 -1
  250. package/dist/Autocomplete-DjU6i3zL.cjs +0 -6
  251. package/dist/Backdrop-BM-OE2Q_.cjs +0 -1
  252. package/dist/Box-BmfpLwYG.cjs +0 -1
  253. package/dist/Button-BGWvL_UD.cjs +0 -1
  254. package/dist/CardContent-GHLuvxgm.cjs +0 -1
  255. package/dist/Checkbox-BZYoJieY.cjs +0 -1
  256. package/dist/Chip-Cu_SZxrx.cjs +0 -1
  257. package/dist/CircularProgress-CdS7-HOv.cjs +0 -28
  258. package/dist/CustomTreeItem-BIl2yiro.cjs +0 -4
  259. package/dist/DatePicker-tyDzcyzu.cjs +0 -14
  260. package/dist/DefaultPropsProvider-BTnRBr0O.cjs +0 -1
  261. package/dist/Dialog-DIHzs0ro.cjs +0 -1
  262. package/dist/DialogContent-B-9ga3Wv.cjs +0 -1
  263. package/dist/DialogTitle-B_UN_oL2.cjs +0 -1
  264. package/dist/Divider-iYLSpFUc.cjs +0 -1
  265. package/dist/FormLabel-Cp2OFw8d.cjs +0 -2
  266. package/dist/Grow-DXY5DOqR.cjs +0 -1
  267. package/dist/IconButton-BLZJne06.cjs +0 -2
  268. package/dist/InputAdornment-C0WI_oQg.cjs +0 -1
  269. package/dist/InputBase-B3KOyouT.cjs +0 -3
  270. package/dist/Link-lvpmE2yz.cjs +0 -1
  271. package/dist/List-PQXGlDbt.cjs +0 -1
  272. package/dist/ListItem-CWEvdMjN.cjs +0 -1
  273. package/dist/ListItemText-BhxrnTkb.cjs +0 -1
  274. package/dist/ListItemText-CADHegDF.js +0 -928
  275. package/dist/Menu-DBacrp-P.cjs +0 -7
  276. package/dist/MenuItem-DkcVAo3U.cjs +0 -1
  277. package/dist/Modal-kUvS-N46.cjs +0 -2
  278. package/dist/Paper-ByOgFIEE.cjs +0 -2
  279. package/dist/Popper-CsQqc5DE.cjs +0 -4
  280. package/dist/Portal-7MKUQzjh.js +0 -81
  281. package/dist/Portal-DhGy1jKe.cjs +0 -1
  282. package/dist/Radio-DG-k6cXx.cjs +0 -1
  283. package/dist/RadioGroup-Dd0mX-H2.cjs +0 -1
  284. package/dist/Select-b6liJFDI.cjs +0 -3
  285. package/dist/Stack-gtxG2YLo.cjs +0 -1
  286. package/dist/Switch-BlwDxL6O.cjs +0 -1
  287. package/dist/SwitchBase-DtKlxrES.cjs +0 -1
  288. package/dist/SwitchBase-QwOXoy8f.js +0 -262
  289. package/dist/Tab-Dx7V4E6B.cjs +0 -4
  290. package/dist/TextField-CB2n4aV8.cjs +0 -1
  291. package/dist/ToggleButtonGroup-D3bdznCl.cjs +0 -137
  292. package/dist/Tooltip-D0jvnXYu.cjs +0 -4
  293. package/dist/Typography-3CpuuLtj.cjs +0 -1
  294. package/dist/capitalize-B3tmp8MO.cjs +0 -1
  295. package/dist/capitalize-Bs7Xs33U.js +0 -9
  296. package/dist/createSvgIcon-2wwaxLPT.cjs +0 -1
  297. package/dist/dividerClasses-izm7KFVg.cjs +0 -1
  298. package/dist/elementTypeAcceptingRef-GoqLuvj1.cjs +0 -1
  299. package/dist/extendSxProp-Bv3E507G.cjs +0 -1
  300. package/dist/generateUtilityClasses-KugHyZhN.cjs +0 -75
  301. package/dist/getReactElementRef-D7IvykPI.cjs +0 -1
  302. package/dist/index-9hEUqvaJ.cjs +0 -1
  303. package/dist/index-BomeQRLD.cjs +0 -5
  304. package/dist/index-DS8G_wjP.cjs +0 -1
  305. package/dist/listItemTextClasses-CQXcckDA.cjs +0 -1
  306. package/dist/refType-D-n-tVSl.cjs +0 -1
  307. package/dist/resolveComponentProps-Byi_59AN.cjs +0 -1
  308. package/dist/resolveComponentProps-Ctw0-dUN.js +0 -80
  309. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  310. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  311. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  312. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  313. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  314. package/dist/useForkRef-C_4o__cU.js +0 -15
  315. package/dist/useSlot-CGbU9jGm.cjs +0 -1
  316. package/dist/useSlot-CqjfyGd9.js +0 -48
  317. package/dist/useSlotProps-DfO7r_4Y.cjs +0 -1
  318. package/dist/useTheme-B6wow4M9.cjs +0 -1
  319. package/dist/useTheme-DepbBZga.js +0 -11
  320. package/dist/useTheme-MahNaB8C.cjs +0 -1
  321. package/dist/useThemeProps-BqypsO1h.cjs +0 -1
  322. package/dist/useThemeProps-Drd5oJEF.js +0 -17
  323. package/dist/utils-CUU5fjzL.cjs +0 -1
@@ -1,72 +1,71 @@
1
1
  import * as u from "react";
2
- import { P as n, G as he, H as ge, I as Z } from "./generateUtilityClasses-CqzQXpT_.js";
3
- import { m as Ee } from "./memoTheme-B0xVysYu.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-Ctw0-dUN.js";
10
- import { u as oe } from "./useSlot-CqjfyGd9.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-CXfMJdg8.js";
13
- import { e as xe, P as ke, H as ve } from "./Portal-7MKUQzjh.js";
14
- import { g as Pe, e as ae } from "./getReactElementRef-DtLerx40.js";
15
- import { B as Ie } from "./Backdrop-COiz4sPF.js";
16
- function Ne(e = window) {
2
+ import { P as n, F as me, G as be, H as J } from "./identifier-BJqC6EXa.js";
3
+ import { m as he } from "./memoTheme-D_Qap2ZW.js";
4
+ import { o as H } from "./ownerWindow-niciwP7I.js";
5
+ import { o as O } from "./ownerDocument-CUrv0DIK.js";
6
+ import { u as re } from "./useForkRef-u29GSuCu.js";
7
+ import { u as Q } from "./useEventCallback-Yoj9nCug.js";
8
+ import { c as Z } from "./createChainedFunction-C0nujS3O.js";
9
+ import { e as ge, u as ee } from "./useSlot-DhC6EPU2.js";
10
+ import { jsxs as se, jsx as j } from "react/jsx-runtime";
11
+ import { u as Ee, s as ie, c as Te } from "./DefaultPropsProvider-Bg-6nX-u.js";
12
+ import { e as ye, P as Re, H as xe } from "./Portal-CtsVKOQ9.js";
13
+ import { g as ve, e as ae } from "./getReactElementRef-C6oFed6n.js";
14
+ import { B as Pe } from "./Backdrop-CRrNkGxU.js";
15
+ function ke(e = window) {
17
16
  const t = e.document.documentElement.clientWidth;
18
17
  return e.innerWidth - t;
19
18
  }
20
- function Ce(e) {
21
- const t = A(e);
22
- return t.body === e ? z(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
19
+ function Ie(e) {
20
+ const t = O(e);
21
+ return t.body === e ? H(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
23
22
  }
24
23
  function K(e, t) {
25
24
  t ? e.setAttribute("aria-hidden", "true") : e.removeAttribute("aria-hidden");
26
25
  }
27
- function ne(e) {
28
- return parseInt(z(e).getComputedStyle(e).paddingRight, 10) || 0;
26
+ function te(e) {
27
+ return parseInt(H(e).getComputedStyle(e).paddingRight, 10) || 0;
29
28
  }
30
- function Se(e) {
29
+ function Ne(e) {
31
30
  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
31
  return s || o;
33
32
  }
34
- function re(e, t, s, o, i) {
33
+ function oe(e, t, s, o, i) {
35
34
  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);
35
+ [].forEach.call(e.children, (a) => {
36
+ const c = !r.includes(a), m = !Ne(a);
37
+ c && m && K(a, i);
39
38
  });
40
39
  }
41
- function $(e, t) {
40
+ function Y(e, t) {
42
41
  let s = -1;
43
42
  return e.some((o, i) => t(o) ? (s = i, !0) : !1), s;
44
43
  }
45
44
  function Fe(e, t) {
46
45
  const s = [], o = e.container;
47
46
  if (!t.disableScrollLock) {
48
- if (Ce(o)) {
49
- const c = Ne(z(o));
47
+ if (Ie(o)) {
48
+ const a = ke(H(o));
50
49
  s.push({
51
50
  value: o.style.paddingRight,
52
51
  property: "padding-right",
53
52
  el: o
54
- }), o.style.paddingRight = `${ne(o) + c}px`;
55
- const a = A(o).querySelectorAll(".mui-fixed");
56
- [].forEach.call(a, (m) => {
53
+ }), o.style.paddingRight = `${te(o) + a}px`;
54
+ const c = O(o).querySelectorAll(".mui-fixed");
55
+ [].forEach.call(c, (m) => {
57
56
  s.push({
58
57
  value: m.style.paddingRight,
59
58
  property: "padding-right",
60
59
  el: m
61
- }), m.style.paddingRight = `${ne(m) + c}px`;
60
+ }), m.style.paddingRight = `${te(m) + a}px`;
62
61
  });
63
62
  }
64
63
  let r;
65
64
  if (o.parentNode instanceof DocumentFragment)
66
- r = A(o).body;
65
+ r = O(o).body;
67
66
  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;
67
+ const a = o.parentElement, c = H(o);
68
+ r = (a == null ? void 0 : a.nodeName) === "HTML" && c.getComputedStyle(a).overflowY === "scroll" ? a : o;
70
69
  }
71
70
  s.push({
72
71
  value: r.style.overflow,
@@ -85,20 +84,20 @@ function Fe(e, t) {
85
84
  return () => {
86
85
  s.forEach(({
87
86
  value: r,
88
- el: c,
89
- property: a
87
+ el: a,
88
+ property: c
90
89
  }) => {
91
- r ? c.style.setProperty(a, r) : c.style.removeProperty(a);
90
+ r ? a.style.setProperty(c, r) : a.style.removeProperty(c);
92
91
  });
93
92
  };
94
93
  }
95
- function Me(e) {
94
+ function Se(e) {
96
95
  const t = [];
97
96
  return [].forEach.call(e.children, (s) => {
98
97
  s.getAttribute("aria-hidden") === "true" && t.push(s);
99
98
  }), t;
100
99
  }
101
- class Oe {
100
+ class Ce {
102
101
  constructor() {
103
102
  this.modals = [], this.containers = [];
104
103
  }
@@ -107,9 +106,9 @@ class Oe {
107
106
  if (o !== -1)
108
107
  return o;
109
108
  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);
109
+ const i = Se(s);
110
+ oe(s, t.mount, t.modalRef, i, !0);
111
+ const r = Y(this.containers, (a) => a.container === s);
113
112
  return r !== -1 ? (this.containers[r].modals.push(t), o) : (this.containers.push({
114
113
  modals: [t],
115
114
  container: s,
@@ -118,19 +117,19 @@ class Oe {
118
117
  }), o);
119
118
  }
120
119
  mount(t, s) {
121
- const o = $(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
120
+ const o = Y(this.containers, (r) => r.modals.includes(t)), i = this.containers[o];
122
121
  i.restore || (i.restore = Fe(i, s));
123
122
  }
124
123
  remove(t, s = !0) {
125
124
  const o = this.modals.indexOf(t);
126
125
  if (o === -1)
127
126
  return o;
128
- const i = $(this.containers, (c) => c.modals.includes(t)), r = this.containers[i];
127
+ const i = Y(this.containers, (a) => a.modals.includes(t)), r = this.containers[i];
129
128
  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);
129
+ 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
130
  else {
132
- const c = r.modals[r.modals.length - 1];
133
- c.modalRef && K(c.modalRef, !1);
131
+ const a = r.modals[r.modals.length - 1];
132
+ a.modalRef && K(a.modalRef, !1);
134
133
  }
135
134
  return o;
136
135
  }
@@ -138,70 +137,70 @@ class Oe {
138
137
  return this.modals.length > 0 && this.modals[this.modals.length - 1] === t;
139
138
  }
140
139
  }
141
- const we = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
142
- function Ae(e) {
140
+ const Me = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
141
+ function we(e) {
143
142
  const t = parseInt(e.getAttribute("tabindex") || "", 10);
144
143
  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
144
  }
146
- function De(e) {
145
+ function Oe(e) {
147
146
  if (e.tagName !== "INPUT" || e.type !== "radio" || !e.name)
148
147
  return !1;
149
148
  const t = (o) => e.ownerDocument.querySelector(`input[type="radio"]${o}`);
150
149
  let s = t(`[name="${e.name}"]:checked`);
151
150
  return s || (s = t(`[name="${e.name}"]`)), s !== e;
152
151
  }
153
- function Be(e) {
154
- return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || De(e));
152
+ function Ae(e) {
153
+ return !(e.disabled || e.tagName === "INPUT" && e.type === "hidden" || Oe(e));
155
154
  }
156
- function Le(e) {
155
+ function De(e) {
157
156
  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({
157
+ return Array.from(e.querySelectorAll(Me)).forEach((o, i) => {
158
+ const r = we(o);
159
+ r === -1 || !Ae(o) || (r === 0 ? t.push(o) : s.push({
161
160
  documentOrder: i,
162
161
  tabIndex: r,
163
162
  node: o
164
163
  }));
165
164
  }), s.sort((o, i) => o.tabIndex === i.tabIndex ? o.documentOrder - i.documentOrder : o.tabIndex - i.tabIndex).map((o) => o.node).concat(t);
166
165
  }
167
- function je() {
166
+ function Le() {
168
167
  return !0;
169
168
  }
170
- function V(e) {
169
+ function z(e) {
171
170
  const {
172
171
  children: t,
173
172
  disableAutoFocus: s = !1,
174
173
  disableEnforceFocus: o = !1,
175
174
  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);
175
+ getTabbable: r = De,
176
+ isEnabled: a = Le,
177
+ open: c
178
+ } = 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
179
  u.useEffect(() => {
181
- !a || !p.current || (b.current = !s);
182
- }, [s, a]), u.useEffect(() => {
183
- if (!a || !p.current)
180
+ !c || !p.current || (b.current = !s);
181
+ }, [s, c]), u.useEffect(() => {
182
+ if (!c || !p.current)
184
183
  return;
185
- const l = A(p.current);
184
+ const l = O(p.current);
186
185
  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
186
  `)), p.current.setAttribute("tabIndex", "-1")), b.current && p.current.focus()), () => {
188
187
  i || (h.current && h.current.focus && (m.current = !0, h.current.focus()), h.current = null);
189
188
  };
190
- }, [a]), u.useEffect(() => {
191
- if (!a || !p.current)
189
+ }, [c]), u.useEffect(() => {
190
+ if (!c || !p.current)
192
191
  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;
192
+ const l = O(p.current), g = (T) => {
193
+ N.current = T, !(o || !a() || T.key !== "Tab") && l.activeElement === p.current && T.shiftKey && (m.current = !0, P.current && P.current.focus());
194
+ }, k = () => {
195
+ var R, w;
197
196
  const T = p.current;
198
197
  if (T === null)
199
198
  return;
200
- if (!l.hasFocus() || !c() || m.current) {
199
+ if (!l.hasFocus() || !a() || m.current) {
201
200
  m.current = !1;
202
201
  return;
203
202
  }
204
- if (T.contains(l.activeElement) || o && l.activeElement !== E.current && l.activeElement !== k.current)
203
+ if (T.contains(l.activeElement) || o && l.activeElement !== E.current && l.activeElement !== P.current)
205
204
  return;
206
205
  if (l.activeElement !== y.current)
207
206
  y.current = null;
@@ -210,45 +209,45 @@ function V(e) {
210
209
  if (!b.current)
211
210
  return;
212
211
  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());
212
+ if ((l.activeElement === E.current || l.activeElement === P.current) && (S = r(p.current)), S.length > 0) {
213
+ 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];
214
+ typeof U != "string" && typeof L != "string" && (D ? L.focus() : U.focus());
216
215
  } else
217
216
  T.focus();
218
217
  };
219
- l.addEventListener("focusin", v), l.addEventListener("keydown", g, !0);
220
- const F = setInterval(() => {
221
- l.activeElement && l.activeElement.tagName === "BODY" && v();
218
+ l.addEventListener("focusin", k), l.addEventListener("keydown", g, !0);
219
+ const A = setInterval(() => {
220
+ l.activeElement && l.activeElement.tagName === "BODY" && k();
222
221
  }, 50);
223
222
  return () => {
224
- clearInterval(F), l.removeEventListener("focusin", v), l.removeEventListener("keydown", g, !0);
223
+ clearInterval(A), l.removeEventListener("focusin", k), l.removeEventListener("keydown", g, !0);
225
224
  };
226
- }, [s, o, i, c, a, r]);
227
- const C = (l) => {
225
+ }, [s, o, i, a, c, r]);
226
+ const F = (l) => {
228
227
  h.current === null && (h.current = l.relatedTarget), b.current = !0, y.current = l.target;
229
228
  const g = t.props.onFocus;
230
229
  g && g(l);
231
- }, R = (l) => {
230
+ }, x = (l) => {
232
231
  h.current === null && (h.current = l.relatedTarget), b.current = !0;
233
232
  };
234
- return /* @__PURE__ */ ie(u.Fragment, {
233
+ return /* @__PURE__ */ se(u.Fragment, {
235
234
  children: [/* @__PURE__ */ j("div", {
236
- tabIndex: a ? 0 : -1,
237
- onFocus: R,
235
+ tabIndex: c ? 0 : -1,
236
+ onFocus: x,
238
237
  ref: E,
239
238
  "data-testid": "sentinelStart"
240
239
  }), /* @__PURE__ */ u.cloneElement(t, {
241
- ref: w,
242
- onFocus: C
240
+ ref: M,
241
+ onFocus: F
243
242
  }), /* @__PURE__ */ j("div", {
244
- tabIndex: a ? 0 : -1,
245
- onFocus: R,
246
- ref: k,
243
+ tabIndex: c ? 0 : -1,
244
+ onFocus: x,
245
+ ref: P,
247
246
  "data-testid": "sentinelEnd"
248
247
  })]
249
248
  });
250
249
  }
251
- process.env.NODE_ENV !== "production" && (V.propTypes = {
250
+ process.env.NODE_ENV !== "production" && (z.propTypes = {
252
251
  // ┌────────────────────────────── Warning ──────────────────────────────┐
253
252
  // │ These PropTypes are generated from the TypeScript type definitions. │
254
253
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -302,62 +301,62 @@ process.env.NODE_ENV !== "production" && (V.propTypes = {
302
301
  */
303
302
  open: n.bool.isRequired
304
303
  });
305
- process.env.NODE_ENV !== "production" && (V.propTypes = xe(V.propTypes));
306
- function Ke(e) {
304
+ process.env.NODE_ENV !== "production" && (z.propTypes = ye(z.propTypes));
305
+ function Be(e) {
307
306
  return typeof e == "function" ? e() : e;
308
307
  }
309
- function Ue(e) {
308
+ function je(e) {
310
309
  return e ? e.props.hasOwnProperty("in") : !1;
311
310
  }
312
- const se = () => {
313
- }, H = new Oe();
314
- function We(e) {
311
+ const ne = () => {
312
+ }, q = new Ce();
313
+ function Ke(e) {
315
314
  const {
316
315
  container: t,
317
316
  disableEscapeKeyDown: s = !1,
318
317
  disableScrollLock: o = !1,
319
318
  closeAfterTransition: i = !1,
320
319
  onTransitionEnter: r,
321
- onTransitionExited: c,
322
- children: a,
320
+ onTransitionExited: a,
321
+ children: c,
323
322
  onClose: m,
324
323
  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(), {
324
+ rootRef: P
325
+ } = e, h = u.useRef({}), y = u.useRef(null), b = u.useRef(null), p = re(b, P), [M, N] = u.useState(!E), F = je(c);
326
+ let x = !0;
327
+ (e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (x = !1);
328
+ const l = () => O(y.current), g = () => (h.current.modalRef = b.current, h.current.mount = y.current, h.current), k = () => {
329
+ q.mount(g(), {
331
330
  disableScrollLock: o
332
331
  }), 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]);
332
+ }, A = Q(() => {
333
+ const f = Be(t) || l().body;
334
+ q.add(g(), f), b.current && k();
335
+ }), T = () => q.isTopModal(g()), S = Q((f) => {
336
+ y.current = f, f && (E && T() ? k() : b.current && K(b.current, x));
337
+ }), R = u.useCallback(() => {
338
+ q.remove(g(), x);
339
+ }, [x]);
341
340
  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");
341
+ R();
342
+ }, [R]), u.useEffect(() => {
343
+ E ? A() : (!F || !i) && R();
344
+ }, [E, R, F, i, A]);
345
+ const w = (f) => (d) => {
346
+ var v;
347
+ (v = f.onKeyDown) == null || v.call(f, d), !(d.key !== "Escape" || d.which === 229 || // Wait until IME is settled.
348
+ !T()) && (s || (d.stopPropagation(), m && m(d, "escapeKeyDown")));
349
+ }, D = (f) => (d) => {
350
+ var v;
351
+ (v = f.onClick) == null || v.call(f, d), d.target === d.currentTarget && m && m(d, "backdropClick");
353
352
  };
354
353
  return {
355
- getRootProps: (d = {}) => {
356
- const f = Te(e);
357
- delete f.onTransitionEnter, delete f.onTransitionExited;
358
- const x = {
359
- ...f,
360
- ...d
354
+ getRootProps: (f = {}) => {
355
+ const d = ge(e);
356
+ delete d.onTransitionEnter, delete d.onTransitionExited;
357
+ const v = {
358
+ ...d,
359
+ ...f
361
360
  };
362
361
  return {
363
362
  /*
@@ -367,52 +366,52 @@ function We(e) {
367
366
  * https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/no-static-element-interactions.md
368
367
  */
369
368
  role: "presentation",
370
- ...x,
371
- onKeyDown: M(x),
369
+ ...v,
370
+ onKeyDown: w(v),
372
371
  ref: p
373
372
  };
374
373
  },
375
- getBackdropProps: (d = {}) => {
376
- const f = d;
374
+ getBackdropProps: (f = {}) => {
375
+ const d = f;
377
376
  return {
378
377
  "aria-hidden": !0,
379
- ...f,
380
- onClick: D(f),
378
+ ...d,
379
+ onClick: D(d),
381
380
  open: E
382
381
  };
383
382
  },
384
383
  getTransitionProps: () => {
385
- const d = () => {
384
+ const f = () => {
386
385
  N(!1), r && r();
387
- }, f = () => {
388
- N(!0), c && c(), i && P();
386
+ }, d = () => {
387
+ N(!0), a && a(), i && R();
389
388
  };
390
389
  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)
390
+ onEnter: Z(f, (c == null ? void 0 : c.props.onEnter) ?? ne),
391
+ onExited: Z(d, (c == null ? void 0 : c.props.onExited) ?? ne)
393
392
  };
394
393
  },
395
394
  rootRef: p,
396
395
  portalRef: S,
397
396
  isTopModal: T,
398
- exited: w,
399
- hasTransition: C
397
+ exited: M,
398
+ hasTransition: F
400
399
  };
401
400
  }
402
- function qe(e) {
403
- return ge("MuiModal", e);
401
+ function Ue(e) {
402
+ return be("MuiModal", e);
404
403
  }
405
- const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
404
+ const rt = me("MuiModal", ["root", "hidden", "backdrop"]), We = (e) => {
406
405
  const {
407
406
  open: t,
408
407
  exited: s,
409
408
  classes: o
410
409
  } = e;
411
- return Re({
410
+ return Te({
412
411
  root: ["root", !t && s && "hidden"],
413
412
  backdrop: ["backdrop"]
414
- }, qe, o);
415
- }, ze = ce("div", {
413
+ }, Ue, o);
414
+ }, qe = ie("div", {
416
415
  name: "MuiModal",
417
416
  slot: "Root",
418
417
  overridesResolver: (e, t) => {
@@ -421,7 +420,7 @@ const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
421
420
  } = e;
422
421
  return [t.root, !s.open && s.exited && t.hidden];
423
422
  }
424
- })(Ee(({
423
+ })(he(({
425
424
  theme: e
426
425
  }) => ({
427
426
  position: "fixed",
@@ -438,133 +437,133 @@ const ct = he("MuiModal", ["root", "hidden", "backdrop"]), He = (e) => {
438
437
  visibility: "hidden"
439
438
  }
440
439
  }]
441
- }))), Ve = ce(Ie, {
440
+ }))), He = ie(Pe, {
442
441
  name: "MuiModal",
443
442
  slot: "Backdrop",
444
443
  overridesResolver: (e, t) => t.backdrop
445
444
  })({
446
445
  zIndex: -1
447
- }), $e = /* @__PURE__ */ u.forwardRef(function(t, s) {
448
- const o = ye({
446
+ }), ze = /* @__PURE__ */ u.forwardRef(function(t, s) {
447
+ const o = Ee({
449
448
  name: "MuiModal",
450
449
  props: t
451
450
  }), {
452
- BackdropComponent: i = Ve,
451
+ BackdropComponent: i = He,
453
452
  BackdropProps: r,
454
- classes: c,
455
- className: a,
453
+ classes: a,
454
+ className: c,
456
455
  closeAfterTransition: m = !1,
457
456
  children: E,
458
- container: k,
457
+ container: P,
459
458
  component: h,
460
459
  components: y = {},
461
460
  componentsProps: b = {},
462
461
  disableAutoFocus: p = !1,
463
- disableEnforceFocus: w = !1,
462
+ disableEnforceFocus: M = !1,
464
463
  disableEscapeKeyDown: N = !1,
465
- disablePortal: C = !1,
466
- disableRestoreFocus: R = !1,
464
+ disablePortal: F = !1,
465
+ disableRestoreFocus: x = !1,
467
466
  disableScrollLock: l = !1,
468
467
  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 = {},
468
+ keepMounted: k = !1,
469
+ onClose: A,
470
+ onTransitionEnter: T,
471
+ onTransitionExited: S,
472
+ open: R,
473
+ slotProps: w = {},
474
+ slots: D = {},
477
475
  // eslint-disable-next-line react/prop-types
478
476
  theme: U,
479
- ..._
480
- } = o, d = {
477
+ ...L
478
+ } = o, V = {
481
479
  ...o,
482
480
  closeAfterTransition: m,
483
481
  disableAutoFocus: p,
484
- disableEnforceFocus: w,
482
+ disableEnforceFocus: M,
485
483
  disableEscapeKeyDown: N,
486
- disablePortal: C,
487
- disableRestoreFocus: R,
484
+ disablePortal: F,
485
+ disableRestoreFocus: x,
488
486
  disableScrollLock: l,
489
487
  hideBackdrop: g,
490
- keepMounted: v
488
+ keepMounted: k
491
489
  }, {
492
490
  getRootProps: f,
493
- getBackdropProps: x,
494
- getTransitionProps: le,
495
- portalRef: ue,
496
- isTopModal: de,
497
- exited: G,
498
- hasTransition: X
499
- } = We({
500
- ...d,
491
+ getBackdropProps: d,
492
+ getTransitionProps: v,
493
+ portalRef: ce,
494
+ isTopModal: le,
495
+ exited: _,
496
+ hasTransition: G
497
+ } = Ke({
498
+ ...V,
501
499
  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) {
500
+ }), B = {
501
+ ...V,
502
+ exited: _
503
+ }, I = We(B), W = {};
504
+ if (E.props.tabIndex === void 0 && (W.tabIndex = "-1"), G) {
507
505
  const {
508
- onEnter: O,
509
- onExited: q
510
- } = le();
511
- W.onEnter = O, W.onExited = q;
506
+ onEnter: C,
507
+ onExited: $
508
+ } = v();
509
+ W.onEnter = C, W.onExited = $;
512
510
  }
513
- const J = {
514
- ..._,
511
+ const X = {
515
512
  slots: {
516
513
  root: y.Root,
517
514
  backdrop: y.Backdrop,
518
- ...B
515
+ ...D
519
516
  },
520
517
  slotProps: {
521
518
  ...b,
522
- ...D
519
+ ...w
523
520
  }
524
- }, [fe, pe] = oe("root", {
525
- elementType: ze,
526
- externalForwardedProps: J,
527
- getSlotProps: f,
528
- additionalProps: {
529
- ref: s,
530
- as: h
521
+ }, [ue, de] = ee("root", {
522
+ ref: s,
523
+ elementType: qe,
524
+ externalForwardedProps: {
525
+ ...X,
526
+ ...L,
527
+ component: h
531
528
  },
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", {
529
+ getSlotProps: f,
530
+ ownerState: B,
531
+ className: J(c, I == null ? void 0 : I.root, !B.open && B.exited && (I == null ? void 0 : I.hidden))
532
+ }), [fe, pe] = ee("backdrop", {
533
+ ref: r == null ? void 0 : r.ref,
535
534
  elementType: i,
536
- externalForwardedProps: J,
535
+ externalForwardedProps: X,
536
+ shouldForwardComponentProp: !0,
537
537
  additionalProps: r,
538
- getSlotProps: (O) => x({
539
- ...O,
540
- onClick: (q) => {
541
- F && F(q), O != null && O.onClick && O.onClick(q);
538
+ getSlotProps: (C) => d({
539
+ ...C,
540
+ onClick: ($) => {
541
+ C != null && C.onClick && C.onClick($);
542
542
  }
543
543
  }),
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,
544
+ className: J(r == null ? void 0 : r.className, I == null ? void 0 : I.backdrop),
545
+ ownerState: B
546
+ });
547
+ return !k && !R && (!G || _) ? null : /* @__PURE__ */ j(Re, {
548
+ ref: ce,
549
+ container: P,
550
+ disablePortal: F,
551
+ children: /* @__PURE__ */ se(ue, {
552
+ ...de,
553
+ children: [!g && i ? /* @__PURE__ */ j(fe, {
554
+ ...pe
555
+ }) : null, /* @__PURE__ */ j(z, {
556
+ disableEnforceFocus: M,
558
557
  disableAutoFocus: p,
559
- disableRestoreFocus: R,
560
- isEnabled: de,
561
- open: M,
558
+ disableRestoreFocus: x,
559
+ isEnabled: le,
560
+ open: R,
562
561
  children: /* @__PURE__ */ u.cloneElement(E, W)
563
562
  })]
564
563
  })
565
564
  });
566
565
  });
567
- process.env.NODE_ENV !== "production" && ($e.propTypes = {
566
+ process.env.NODE_ENV !== "production" && (ze.propTypes = {
568
567
  // ┌────────────────────────────── Warning ──────────────────────────────┐
569
568
  // │ These PropTypes are generated from the TypeScript type definitions. │
570
569
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -614,7 +613,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
614
613
  /**
615
614
  * The components used for each slot inside.
616
615
  *
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.
616
+ * @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
617
  *
619
618
  * @default {}
620
619
  */
@@ -626,7 +625,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
626
625
  * The extra props for the slot components.
627
626
  * You can override the existing props or add new ones.
628
627
  *
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.
628
+ * @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
629
  *
631
630
  * @default {}
632
631
  */
@@ -644,7 +643,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
644
643
  * By default, it uses the body of the top-level document object,
645
644
  * so it's simply `document.body` most of the time.
646
645
  */
647
- container: n.oneOfType([ve, n.func]),
646
+ container: n.oneOfType([xe, n.func]),
648
647
  /**
649
648
  * If `true`, the modal will not automatically shift focus to itself when it opens, and
650
649
  * replace it to the last focused element when it closes.
@@ -696,11 +695,6 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
696
695
  * @default false
697
696
  */
698
697
  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
698
  /**
705
699
  * Callback fired when the component requests to be closed.
706
700
  * The `reason` parameter can optionally be used to control the response to `onClose`.
@@ -744,10 +738,10 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
744
738
  sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
745
739
  });
746
740
  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
741
+ z as F,
742
+ ze as M,
743
+ Ce as a,
744
+ ke as b,
745
+ Ue as g,
746
+ rt as m
753
747
  };