@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 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Typography-3CpuuLtj.cjs"),e={title:"Components/Typography",component:t.Typography,argTypes:{align:{control:"select",options:["center","inherit","justify","left","right"]},children:{control:"text"},color:{control:"select",options:["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]},gutterBottom:{control:"boolean"},noWrap:{control:"boolean"},variant:{control:"select",options:["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]}}},o={args:{align:"inherit",children:"CGI Learning Hub",gutterBottom:!1,noWrap:!1,variant:"body1"}};exports.Default=o;exports.default=e;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("../../Typography-DOpE-TJz.cjs"),e={title:"Components/Typography",component:t.Typography,argTypes:{align:{control:"select",options:["center","inherit","justify","left","right"]},children:{control:"text"},color:{control:"select",options:["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]},gutterBottom:{control:"boolean"},noWrap:{control:"boolean"},variant:{control:"select",options:["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]}}},o={args:{align:"inherit",children:"CGI Learning Hub",gutterBottom:!1,noWrap:!1,variant:"body1"}};exports.Default=o;exports.default=e;
@@ -1,4 +1,4 @@
1
- import { T as t } from "../../Typography-DZ11k9cZ.js";
1
+ import { T as t } from "../../Typography-BNt9mZKm.js";
2
2
  const e = {
3
3
  title: "Components/Typography",
4
4
  component: t,
@@ -1,42 +1,41 @@
1
1
  import * as h from "react";
2
- import { jsxs as b, jsx as x } from "react/jsx-runtime";
3
- import { H as w, G as C, I as T, P as e } from "./generateUtilityClasses-CqzQXpT_.js";
4
- import { m as N } from "./memoTheme-B0xVysYu.js";
5
- import { u as O, s as R, c as j } from "./DefaultPropsProvider-CXfMJdg8.js";
6
- import { c as z } from "./capitalize-Bs7Xs33U.js";
7
- function E(o) {
2
+ import { jsxs as b, jsx as I } from "react/jsx-runtime";
3
+ import { G as w, F as C, H as N, K as z, P as e } from "./identifier-BJqC6EXa.js";
4
+ import { m as O } from "./memoTheme-D_Qap2ZW.js";
5
+ import { u as T, s as R, c as E } from "./DefaultPropsProvider-Bg-6nX-u.js";
6
+ function j(o) {
8
7
  return w("MuiSvgIcon", o);
9
8
  }
10
- const P = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]), $ = (o) => {
9
+ const U = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]), V = (o) => {
11
10
  const {
12
11
  color: r,
13
- fontSize: t,
12
+ fontSize: n,
14
13
  classes: i
15
- } = o, n = {
16
- root: ["root", r !== "inherit" && `color${z(r)}`, `fontSize${z(t)}`]
14
+ } = o, t = {
15
+ root: ["root", r !== "inherit" && `color${z(r)}`, `fontSize${z(n)}`]
17
16
  };
18
- return j(n, E, i);
19
- }, A = R("svg", {
17
+ return E(t, j, i);
18
+ }, $ = R("svg", {
20
19
  name: "MuiSvgIcon",
21
20
  slot: "Root",
22
21
  overridesResolver: (o, r) => {
23
22
  const {
24
- ownerState: t
23
+ ownerState: n
25
24
  } = o;
26
- return [r.root, t.color !== "inherit" && r[`color${z(t.color)}`], r[`fontSize${z(t.fontSize)}`]];
25
+ return [r.root, n.color !== "inherit" && r[`color${z(n.color)}`], r[`fontSize${z(n.fontSize)}`]];
27
26
  }
28
- })(N(({
27
+ })(O(({
29
28
  theme: o
30
29
  }) => {
31
- var r, t, i, n, l, u, a, g, p, m, c, d, y, f;
30
+ var r, n, i, t, l, S, a, g, p, d, c, m, y, f;
32
31
  return {
33
32
  userSelect: "none",
34
33
  width: "1em",
35
34
  height: "1em",
36
35
  display: "inline-block",
37
36
  flexShrink: 0,
38
- transition: (n = (r = o.transitions) == null ? void 0 : r.create) == null ? void 0 : n.call(r, "fill", {
39
- duration: (i = (t = (o.vars ?? o).transitions) == null ? void 0 : t.duration) == null ? void 0 : i.shorter
37
+ transition: (t = (r = o.transitions) == null ? void 0 : r.create) == null ? void 0 : t.call(r, "fill", {
38
+ duration: (i = (n = (o.vars ?? o).transitions) == null ? void 0 : n.duration) == null ? void 0 : i.shorter
40
39
  }),
41
40
  variants: [
42
41
  {
@@ -60,7 +59,7 @@ const P = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorActio
60
59
  fontSize: "small"
61
60
  },
62
61
  style: {
63
- fontSize: ((u = (l = o.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : u.call(l, 20)) || "1.25rem"
62
+ fontSize: ((S = (l = o.typography) == null ? void 0 : l.pxToRem) == null ? void 0 : S.call(l, 20)) || "1.25rem"
64
63
  }
65
64
  },
66
65
  {
@@ -76,18 +75,18 @@ const P = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorActio
76
75
  fontSize: "large"
77
76
  },
78
77
  style: {
79
- fontSize: ((m = (p = o.typography) == null ? void 0 : p.pxToRem) == null ? void 0 : m.call(p, 35)) || "2.1875rem"
78
+ fontSize: ((d = (p = o.typography) == null ? void 0 : p.pxToRem) == null ? void 0 : d.call(p, 35)) || "2.1875rem"
80
79
  }
81
80
  },
82
81
  // TODO v5 deprecate color prop, v6 remove for sx
83
82
  ...Object.entries((o.vars ?? o).palette).filter(([, s]) => s && s.main).map(([s]) => {
84
- var S, v;
83
+ var u, v;
85
84
  return {
86
85
  props: {
87
86
  color: s
88
87
  },
89
88
  style: {
90
- color: (v = (S = (o.vars ?? o).palette) == null ? void 0 : S[s]) == null ? void 0 : v.main
89
+ color: (v = (u = (o.vars ?? o).palette) == null ? void 0 : u[s]) == null ? void 0 : v.main
91
90
  }
92
91
  };
93
92
  }),
@@ -96,7 +95,7 @@ const P = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorActio
96
95
  color: "action"
97
96
  },
98
97
  style: {
99
- color: (d = (c = (o.vars ?? o).palette) == null ? void 0 : c.action) == null ? void 0 : d.active
98
+ color: (m = (c = (o.vars ?? o).palette) == null ? void 0 : c.action) == null ? void 0 : m.active
100
99
  }
101
100
  },
102
101
  {
@@ -117,51 +116,51 @@ const P = C("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorActio
117
116
  }
118
117
  ]
119
118
  };
120
- })), I = /* @__PURE__ */ h.forwardRef(function(r, t) {
121
- const i = O({
119
+ })), x = /* @__PURE__ */ h.forwardRef(function(r, n) {
120
+ const i = T({
122
121
  props: r,
123
122
  name: "MuiSvgIcon"
124
123
  }), {
125
- children: n,
124
+ children: t,
126
125
  className: l,
127
- color: u = "inherit",
126
+ color: S = "inherit",
128
127
  component: a = "svg",
129
128
  fontSize: g = "medium",
130
129
  htmlColor: p,
131
- inheritViewBox: m = !1,
130
+ inheritViewBox: d = !1,
132
131
  titleAccess: c,
133
- viewBox: d = "0 0 24 24",
132
+ viewBox: m = "0 0 24 24",
134
133
  ...y
135
- } = i, f = /* @__PURE__ */ h.isValidElement(n) && n.type === "svg", s = {
134
+ } = i, f = /* @__PURE__ */ h.isValidElement(t) && t.type === "svg", s = {
136
135
  ...i,
137
- color: u,
136
+ color: S,
138
137
  component: a,
139
138
  fontSize: g,
140
139
  instanceFontSize: r.fontSize,
141
- inheritViewBox: m,
142
- viewBox: d,
140
+ inheritViewBox: d,
141
+ viewBox: m,
143
142
  hasSvgAsChild: f
144
- }, S = {};
145
- m || (S.viewBox = d);
146
- const v = $(s);
147
- return /* @__PURE__ */ b(A, {
143
+ }, u = {};
144
+ d || (u.viewBox = m);
145
+ const v = V(s);
146
+ return /* @__PURE__ */ b($, {
148
147
  as: a,
149
- className: T(v.root, l),
148
+ className: N(v.root, l),
150
149
  focusable: "false",
151
150
  color: p,
152
151
  "aria-hidden": c ? void 0 : !0,
153
152
  role: c ? "img" : void 0,
154
- ref: t,
155
- ...S,
153
+ ref: n,
154
+ ...u,
156
155
  ...y,
157
- ...f && n.props,
156
+ ...f && t.props,
158
157
  ownerState: s,
159
- children: [f ? n.props.children : n, c ? /* @__PURE__ */ x("title", {
158
+ children: [f ? t.props.children : t, c ? /* @__PURE__ */ I("title", {
160
159
  children: c
161
160
  }) : null]
162
161
  });
163
162
  });
164
- process.env.NODE_ENV !== "production" && (I.propTypes = {
163
+ process.env.NODE_ENV !== "production" && (x.propTypes = {
165
164
  // ┌────────────────────────────── Warning ──────────────────────────────┐
166
165
  // │ These PropTypes are generated from the TypeScript type definitions. │
167
166
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -210,7 +209,7 @@ process.env.NODE_ENV !== "production" && (I.propTypes = {
210
209
  inheritViewBox: e.bool,
211
210
  /**
212
211
  * The shape-rendering attribute. The behavior of the different options is described on the
213
- * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
212
+ * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
214
213
  * If you are having issues with blurry icons you should investigate this prop.
215
214
  */
216
215
  shapeRendering: e.string,
@@ -233,21 +232,21 @@ process.env.NODE_ENV !== "production" && (I.propTypes = {
233
232
  */
234
233
  viewBox: e.string
235
234
  });
236
- I.muiName = "SvgIcon";
237
- function k(o, r) {
238
- function t(i, n) {
239
- return /* @__PURE__ */ x(I, {
240
- "data-testid": `${r}Icon`,
241
- ref: n,
235
+ x.muiName = "SvgIcon";
236
+ function P(o, r) {
237
+ function n(i, t) {
238
+ return /* @__PURE__ */ I(x, {
239
+ "data-testid": process.env.NODE_ENV !== "production" ? `${r}Icon` : void 0,
240
+ ref: t,
242
241
  ...i,
243
242
  children: o
244
243
  });
245
244
  }
246
- return process.env.NODE_ENV !== "production" && (t.displayName = `${r}Icon`), t.muiName = I.muiName, /* @__PURE__ */ h.memo(/* @__PURE__ */ h.forwardRef(t));
245
+ return process.env.NODE_ENV !== "production" && (n.displayName = `${r}Icon`), n.muiName = x.muiName, /* @__PURE__ */ h.memo(/* @__PURE__ */ h.forwardRef(n));
247
246
  }
248
247
  export {
249
- I as S,
250
- k as c,
251
- E as g,
252
- P as s
248
+ x as S,
249
+ P as c,
250
+ j as g,
251
+ U as s
253
252
  };
@@ -0,0 +1 @@
1
+ "use strict";const I=require("react"),z=require("react/jsx-runtime"),e=require("./identifier-gJdGmHeC.cjs"),O=require("./memoTheme-GOMOSdXJ.cjs"),h=require("./DefaultPropsProvider-DLSItMqn.cjs");function x(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>o[t]})}}return r.default=o,Object.freeze(r)}const P=x(I);function b(o){return e.generateUtilityClass("MuiSvgIcon",o)}const C=e.generateUtilityClasses("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]),w=o=>{const{color:r,fontSize:t,classes:n}=o,s={root:["root",r!=="inherit"&&`color${e.capitalize(r)}`,`fontSize${e.capitalize(t)}`]};return h.composeClasses(s,b,n)},N=h.styled("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[r.root,t.color!=="inherit"&&r[`color${e.capitalize(t.color)}`],r[`fontSize${e.capitalize(t.fontSize)}`]]}})(O.memoTheme(({theme:o})=>{var r,t,n,s,l,m,c,S,a,u,p,y,v,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:(s=(r=o.transitions)==null?void 0:r.create)==null?void 0:s.call(r,"fill",{duration:(n=(t=(o.vars??o).transitions)==null?void 0:t.duration)==null?void 0:n.shorter}),variants:[{props:i=>!i.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:((m=(l=o.typography)==null?void 0:l.pxToRem)==null?void 0:m.call(l,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:((S=(c=o.typography)==null?void 0:c.pxToRem)==null?void 0:S.call(c,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:((u=(a=o.typography)==null?void 0:a.pxToRem)==null?void 0:u.call(a,35))||"2.1875rem"}},...Object.entries((o.vars??o).palette).filter(([,i])=>i&&i.main).map(([i])=>{var d,T;return{props:{color:i},style:{color:(T=(d=(o.vars??o).palette)==null?void 0:d[i])==null?void 0:T.main}}}),{props:{color:"action"},style:{color:(y=(p=(o.vars??o).palette)==null?void 0:p.action)==null?void 0:y.active}},{props:{color:"disabled"},style:{color:(f=(v=(o.vars??o).palette)==null?void 0:v.action)==null?void 0:f.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),g=P.forwardRef(function(r,t){const n=h.useDefaultProps({props:r,name:"MuiSvgIcon"}),{children:s,className:l,color:m="inherit",component:c="svg",fontSize:S="medium",htmlColor:a,inheritViewBox:u=!1,titleAccess:p,viewBox:y="0 0 24 24",...v}=n,f=P.isValidElement(s)&&s.type==="svg",i={...n,color:m,component:c,fontSize:S,instanceFontSize:r.fontSize,inheritViewBox:u,viewBox:y,hasSvgAsChild:f},d={};u||(d.viewBox=y);const T=w(i);return z.jsxs(N,{as:c,className:e.clsx(T.root,l),focusable:"false",color:a,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:t,...d,...v,...f&&s.props,ownerState:i,children:[f?s.props.children:s,p?z.jsx("title",{children:p}):null]})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,fontSize:e.PropTypes.oneOfType([e.PropTypes.oneOf(["inherit","large","medium","small"]),e.PropTypes.string]),htmlColor:e.PropTypes.string,inheritViewBox:e.PropTypes.bool,shapeRendering:e.PropTypes.string,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),titleAccess:e.PropTypes.string,viewBox:e.PropTypes.string});g.muiName="SvgIcon";function j(o,r){function t(n,s){return z.jsx(g,{"data-testid":process.env.NODE_ENV!=="production"?`${r}Icon`:void 0,ref:s,...n,children:o})}return process.env.NODE_ENV!=="production"&&(t.displayName=`${r}Icon`),t.muiName=g.muiName,P.memo(P.forwardRef(t))}exports.SvgIcon=g;exports.createSvgIcon=j;exports.getSvgIconUtilityClass=b;exports.svgIconClasses=C;
@@ -0,0 +1 @@
1
+ "use strict";const i=require("./identifier-gJdGmHeC.cjs");function t(e){return i.generateUtilityClass("MuiDivider",e)}const r=i.generateUtilityClasses("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);exports.dividerClasses=r;exports.getDividerUtilityClass=t;
@@ -1,4 +1,4 @@
1
- import { G as t, H as e } from "./generateUtilityClasses-CqzQXpT_.js";
1
+ import { F as t, G as e } from "./identifier-BJqC6EXa.js";
2
2
  function l(i) {
3
3
  return e("MuiDivider", i);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { P as c } from "./generateUtilityClasses-CqzQXpT_.js";
1
+ import { P as c } from "./identifier-BJqC6EXa.js";
2
2
  import { c as l } from "./chainPropTypes-D9lkm76m.js";
3
3
  function f(n) {
4
4
  const {
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./identifier-gJdGmHeC.cjs"),l=require("./chainPropTypes-CEUi6Jb4.cjs");function s(n){const{prototype:e={}}=n;return!!e.isReactComponent}function u(n,e,o,r,p){const t=n[e],c=p||e;if(t==null||typeof window>"u")return null;let i;return typeof t=="function"&&!s(t)&&(i="Did you accidentally provide a plain function component instead?"),i!==void 0?new Error(`Invalid ${r} \`${c}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${i} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const f=l.chainPropTypes(a.PropTypes.elementType,u);exports.elementTypeAcceptingRef=f;
@@ -1,4 +1,4 @@
1
- import { K as c, L as l } from "./generateUtilityClasses-CqzQXpT_.js";
1
+ import { I as c, J as l } from "./identifier-BJqC6EXa.js";
2
2
  const a = (t) => {
3
3
  var s;
4
4
  const e = {
@@ -0,0 +1 @@
1
+ "use strict";const c=require("./identifier-gJdGmHeC.cjs"),u=t=>{var s;const e={systemProps:{},otherProps:{}},i=((s=t==null?void 0:t.theme)==null?void 0:s.unstable_sxConfig)??c.defaultSxConfig;return Object.keys(t).forEach(n=>{i[n]?e.systemProps[n]=t[n]:e.otherProps[n]=t[n]}),e};function l(t){const{sx:e,...i}=t,{systemProps:s,otherProps:n}=u(i);let r;return Array.isArray(e)?r=[s,...e]:typeof e=="function"?r=(...f)=>{const o=e(...f);return c.isPlainObject(o)?{...s,...o}:s}:r={...s,...e},{...n,sx:r}}exports.extendSxProp=l;
@@ -1,4 +1,4 @@
1
- import { P as i } from "./generateUtilityClasses-CqzQXpT_.js";
1
+ import { P as i } from "./identifier-BJqC6EXa.js";
2
2
  import { c as a } from "./chainPropTypes-D9lkm76m.js";
3
3
  import * as l from "react";
4
4
  function d(n) {
@@ -0,0 +1 @@
1
+ "use strict";const a=require("./identifier-gJdGmHeC.cjs"),u=require("./chainPropTypes-CEUi6Jb4.cjs"),d=require("react");function y(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const g=y(d);function m(e){const{prototype:n={}}=e;return!!n.isReactComponent}function s(e,n,t,r,p){const i=e[n],l=p||n;if(i==null||typeof window>"u")return null;let o;const c=i.type;return typeof c=="function"&&!m(c)&&(o="Did you accidentally use a plain function component for an element instead?"),o!==void 0?new Error(`Invalid ${r} \`${l}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const f=u.chainPropTypes(a.PropTypes.element,s);f.isRequired=u.chainPropTypes(a.PropTypes.element.isRequired,s);function R(e){var n;return parseInt(g.version,10)>=19?((n=e==null?void 0:e.props)==null?void 0:n.ref)||null:(e==null?void 0:e.ref)||null}exports.elementAcceptingRef=f;exports.getReactElementRef=R;