@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,24 +1,23 @@
1
- import * as s from "react";
2
- import { P as e, G as Fe, H as ke, I as ce, J as Be } from "./generateUtilityClasses-CqzQXpT_.js";
3
- import { i as pe } from "./isHostComponent-kiaBvYVo.js";
1
+ import * as l from "react";
2
+ import { P as e, F as Ae, G as Be, H as pe, K as X, Y as He } from "./identifier-BJqC6EXa.js";
3
+ import { i as fe } from "./isHostComponent-kiaBvYVo.js";
4
4
  import { f as Me } from "./formControlState-vgaj2ksH.js";
5
- import { u as He, F as Pe } from "./useFormControl-CatNKXAi.js";
6
- import { g as We } from "./index-CFIk4hVM.js";
7
- import { m as be } from "./memoTheme-B0xVysYu.js";
8
- import { i as De } from "./utils-DWqc1kRF.js";
9
- import { jsxs as Q, jsx as A } from "react/jsx-runtime";
10
- import { u as Le, s as ye, c as je } from "./DefaultPropsProvider-CXfMJdg8.js";
11
- import { u as ge } from "./useForkRef-C_4o__cU.js";
12
- import { u as X } from "./useEnhancedEffect-CJGo-L3B.js";
13
- import { o as fe } from "./ownerWindow-niciwP7I.js";
14
- import { d as Ue } from "./debounce-46wSf_lW.js";
15
- import { c as ee } from "./capitalize-Bs7Xs33U.js";
16
- import { r as Ve } from "./refType-BvSJNaoq.js";
17
- import { e as _e } from "./elementTypeAcceptingRef-1usJq_B8.js";
18
- function j(n) {
19
- return parseInt(n, 10) || 0;
5
+ import { u as Pe, F as We } from "./useFormControl-CatNKXAi.js";
6
+ import { g as De } from "./index-BOAF-ZZq.js";
7
+ import { m as ge } from "./memoTheme-D_Qap2ZW.js";
8
+ import { i as Le } from "./utils-DWqc1kRF.js";
9
+ import { jsxs as ee, jsx as A } from "react/jsx-runtime";
10
+ import { u as je, s as ve, c as Ue } from "./DefaultPropsProvider-Bg-6nX-u.js";
11
+ import { u as we } from "./useForkRef-u29GSuCu.js";
12
+ import { u as Ve, a as oe } from "./useEventCallback-Yoj9nCug.js";
13
+ import { o as me } from "./ownerWindow-niciwP7I.js";
14
+ import { d as _e } from "./debounce-46wSf_lW.js";
15
+ import { r as Ke } from "./refType-DRBJ18fO.js";
16
+ import { e as $e } from "./elementTypeAcceptingRef-COpcDx5q.js";
17
+ function L(t) {
18
+ return parseInt(t, 10) || 0;
20
19
  }
21
- const $e = {
20
+ const Ge = {
22
21
  shadow: {
23
22
  // Visibility needed to hide the extra text area on iPads
24
23
  visibility: "hidden",
@@ -33,89 +32,95 @@ const $e = {
33
32
  transform: "translateZ(0)"
34
33
  }
35
34
  };
36
- function Ge(n) {
37
- for (const o in n)
35
+ function qe(t) {
36
+ for (const o in t)
38
37
  return !1;
39
38
  return !0;
40
39
  }
41
- function Ke(n) {
42
- return Ge(n) || n.outerHeightStyle === 0 && !n.overflowing;
40
+ function he(t) {
41
+ return qe(t) || t.outerHeightStyle === 0 && !t.overflowing;
43
42
  }
44
- const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
43
+ const Se = /* @__PURE__ */ l.forwardRef(function(o, n) {
45
44
  const {
46
45
  onChange: d,
47
- maxRows: f,
46
+ maxRows: m,
48
47
  minRows: c = 1,
49
48
  style: R,
50
49
  value: T,
51
- ...F
50
+ ...B
52
51
  } = o, {
53
- current: C
54
- } = s.useRef(T != null), p = s.useRef(null), O = ge(r, p), b = s.useRef(null), S = s.useRef(null), w = s.useCallback(() => {
55
- const l = p.current, t = S.current;
56
- if (!l || !t)
52
+ current: S
53
+ } = l.useRef(T != null), p = l.useRef(null), O = we(n, p), f = l.useRef(null), x = l.useRef(null), g = l.useCallback(() => {
54
+ const r = p.current, i = x.current;
55
+ if (!r || !i)
57
56
  return;
58
- const u = fe(l).getComputedStyle(l);
57
+ const u = me(r).getComputedStyle(r);
59
58
  if (u.width === "0px")
60
59
  return {
61
60
  outerHeightStyle: 0,
62
61
  overflowing: !1
63
62
  };
64
- t.style.width = u.width, t.value = l.value || o.placeholder || "x", t.value.slice(-1) === `
65
- ` && (t.value += " ");
66
- const k = u.boxSizing, B = j(u.paddingBottom) + j(u.paddingTop), M = j(u.borderBottomWidth) + j(u.borderTopWidth), H = t.scrollHeight;
67
- t.value = "x";
68
- const g = t.scrollHeight;
69
- let m = H;
70
- c && (m = Math.max(Number(c) * g, m)), f && (m = Math.min(Number(f) * g, m)), m = Math.max(m, g);
71
- const P = m + (k === "border-box" ? B + M : 0), W = Math.abs(m - H) <= 1;
63
+ i.style.width = u.width, i.value = r.value || o.placeholder || "x", i.value.slice(-1) === `
64
+ ` && (i.value += " ");
65
+ const H = u.boxSizing, M = L(u.paddingBottom) + L(u.paddingTop), U = L(u.borderBottomWidth) + L(u.borderTopWidth), w = i.scrollHeight;
66
+ i.value = "x";
67
+ const E = i.scrollHeight;
68
+ let h = w;
69
+ c && (h = Math.max(Number(c) * E, h)), m && (h = Math.min(Number(m) * E, h)), h = Math.max(h, E);
70
+ const P = h + (H === "border-box" ? M + U : 0), V = Math.abs(h - w) <= 1;
72
71
  return {
73
72
  outerHeightStyle: P,
74
- overflowing: W
73
+ overflowing: V
75
74
  };
76
- }, [f, c, o.placeholder]), x = s.useCallback(() => {
77
- const l = p.current, t = w();
78
- if (!l || !t || Ke(t))
75
+ }, [m, c, o.placeholder]), z = Ve(() => {
76
+ const r = p.current, i = g();
77
+ if (!r || !i || he(i))
78
+ return !1;
79
+ const y = i.outerHeightStyle;
80
+ return f.current != null && f.current !== y;
81
+ }), C = l.useCallback(() => {
82
+ const r = p.current, i = g();
83
+ if (!r || !i || he(i))
79
84
  return;
80
- const y = t.outerHeightStyle;
81
- b.current !== y && (b.current = y, l.style.height = `${y}px`), l.style.overflow = t.overflowing ? "hidden" : "";
82
- }, [w]), E = s.useRef(-1);
83
- X(() => {
84
- const l = Ue(() => x()), t = p == null ? void 0 : p.current;
85
- if (!t)
85
+ const y = i.outerHeightStyle;
86
+ f.current !== y && (f.current = y, r.style.height = `${y}px`), r.style.overflow = i.overflowing ? "hidden" : "";
87
+ }, [g]), F = l.useRef(-1);
88
+ oe(() => {
89
+ const r = _e(C), i = p == null ? void 0 : p.current;
90
+ if (!i)
86
91
  return;
87
- const y = fe(t);
88
- y.addEventListener("resize", l);
92
+ const y = me(i);
93
+ y.addEventListener("resize", r);
89
94
  let u;
90
95
  return typeof ResizeObserver < "u" && (u = new ResizeObserver(() => {
91
- u.unobserve(t), cancelAnimationFrame(E.current), x(), E.current = requestAnimationFrame(() => {
92
- u.observe(t);
93
- });
94
- }), u.observe(t)), () => {
95
- l.clear(), cancelAnimationFrame(E.current), y.removeEventListener("resize", l), u && u.disconnect();
96
+ z() && (u.unobserve(i), cancelAnimationFrame(F.current), C(), F.current = requestAnimationFrame(() => {
97
+ u.observe(i);
98
+ }));
99
+ }), u.observe(i)), () => {
100
+ r.clear(), cancelAnimationFrame(F.current), y.removeEventListener("resize", r), u && u.disconnect();
96
101
  };
97
- }, [w, x]), X(() => {
98
- x();
102
+ }, [g, C, z]), oe(() => {
103
+ C();
99
104
  });
100
- const U = (l) => {
101
- C || x(), d && d(l);
105
+ const j = (r) => {
106
+ S || C(), d && d(r);
102
107
  };
103
- return /* @__PURE__ */ Q(s.Fragment, {
108
+ return /* @__PURE__ */ ee(l.Fragment, {
104
109
  children: [/* @__PURE__ */ A("textarea", {
105
110
  value: T,
106
- onChange: U,
111
+ onChange: j,
107
112
  ref: O,
108
113
  rows: c,
109
114
  style: R,
110
- ...F
115
+ ...B
111
116
  }), /* @__PURE__ */ A("textarea", {
112
117
  "aria-hidden": !0,
113
118
  className: o.className,
114
119
  readOnly: !0,
115
- ref: S,
120
+ ref: x,
116
121
  tabIndex: -1,
117
122
  style: {
118
- ...$e.shadow,
123
+ ...Ge.shadow,
119
124
  ...R,
120
125
  paddingTop: 0,
121
126
  paddingBottom: 0
@@ -123,7 +128,7 @@ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
123
128
  })]
124
129
  });
125
130
  });
126
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
131
+ process.env.NODE_ENV !== "production" && (Se.propTypes = {
127
132
  // ┌────────────────────────────── Warning ──────────────────────────────┐
128
133
  // │ These PropTypes are generated from the TypeScript type definitions. │
129
134
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -158,51 +163,51 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
158
163
  */
159
164
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
160
165
  });
161
- function qe(n) {
162
- return ke("MuiInputBase", n);
166
+ function Ye(t) {
167
+ return Be("MuiInputBase", t);
163
168
  }
164
- const oe = Fe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
165
- var me;
166
- const Ye = (n, o) => {
169
+ const te = Ae("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
170
+ var be;
171
+ const Ze = (t, o) => {
167
172
  const {
168
- ownerState: r
169
- } = n;
170
- return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${ee(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
171
- }, Je = (n, o) => {
173
+ ownerState: n
174
+ } = t;
175
+ return [o.root, n.formControl && o.formControl, n.startAdornment && o.adornedStart, n.endAdornment && o.adornedEnd, n.error && o.error, n.size === "small" && o.sizeSmall, n.multiline && o.multiline, n.color && o[`color${X(n.color)}`], n.fullWidth && o.fullWidth, n.hiddenLabel && o.hiddenLabel];
176
+ }, Je = (t, o) => {
172
177
  const {
173
- ownerState: r
174
- } = n;
175
- return [o.input, r.size === "small" && o.inputSizeSmall, r.multiline && o.inputMultiline, r.type === "search" && o.inputTypeSearch, r.startAdornment && o.inputAdornedStart, r.endAdornment && o.inputAdornedEnd, r.hiddenLabel && o.inputHiddenLabel];
176
- }, Ze = (n) => {
178
+ ownerState: n
179
+ } = t;
180
+ return [o.input, n.size === "small" && o.inputSizeSmall, n.multiline && o.inputMultiline, n.type === "search" && o.inputTypeSearch, n.startAdornment && o.inputAdornedStart, n.endAdornment && o.inputAdornedEnd, n.hiddenLabel && o.inputHiddenLabel];
181
+ }, Qe = (t) => {
177
182
  const {
178
183
  classes: o,
179
- color: r,
184
+ color: n,
180
185
  disabled: d,
181
- error: f,
186
+ error: m,
182
187
  endAdornment: c,
183
188
  focused: R,
184
189
  formControl: T,
185
- fullWidth: F,
186
- hiddenLabel: C,
190
+ fullWidth: B,
191
+ hiddenLabel: S,
187
192
  multiline: p,
188
193
  readOnly: O,
189
- size: b,
190
- startAdornment: S,
191
- type: w
192
- } = n, x = {
193
- root: ["root", `color${ee(r)}`, d && "disabled", f && "error", F && "fullWidth", R && "focused", T && "formControl", b && b !== "medium" && `size${ee(b)}`, p && "multiline", S && "adornedStart", c && "adornedEnd", C && "hiddenLabel", O && "readOnly"],
194
- input: ["input", d && "disabled", w === "search" && "inputTypeSearch", p && "inputMultiline", b === "small" && "inputSizeSmall", C && "inputHiddenLabel", S && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
194
+ size: f,
195
+ startAdornment: x,
196
+ type: g
197
+ } = t, z = {
198
+ root: ["root", `color${X(n)}`, d && "disabled", m && "error", B && "fullWidth", R && "focused", T && "formControl", f && f !== "medium" && `size${X(f)}`, p && "multiline", x && "adornedStart", c && "adornedEnd", S && "hiddenLabel", O && "readOnly"],
199
+ input: ["input", d && "disabled", g === "search" && "inputTypeSearch", p && "inputMultiline", f === "small" && "inputSizeSmall", S && "inputHiddenLabel", x && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
195
200
  };
196
- return je(x, qe, o);
197
- }, Qe = ye("div", {
201
+ return Ue(z, Ye, o);
202
+ }, Xe = ve("div", {
198
203
  name: "MuiInputBase",
199
204
  slot: "Root",
200
- overridesResolver: Ye
201
- })(be(({
202
- theme: n
205
+ overridesResolver: Ze
206
+ })(ge(({
207
+ theme: t
203
208
  }) => ({
204
- ...n.typography.body1,
205
- color: (n.vars || n).palette.text.primary,
209
+ ...t.typography.body1,
210
+ color: (t.vars || t).palette.text.primary,
206
211
  lineHeight: "1.4375em",
207
212
  // 23px
208
213
  boxSizing: "border-box",
@@ -211,8 +216,8 @@ const Ye = (n, o) => {
211
216
  cursor: "text",
212
217
  display: "inline-flex",
213
218
  alignItems: "center",
214
- [`&.${oe.disabled}`]: {
215
- color: (n.vars || n).palette.text.disabled,
219
+ [`&.${te.disabled}`]: {
220
+ color: (t.vars || t).palette.text.disabled,
216
221
  cursor: "default"
217
222
  },
218
223
  variants: [{
@@ -225,8 +230,8 @@ const Ye = (n, o) => {
225
230
  }, {
226
231
  props: ({
227
232
  ownerState: o,
228
- size: r
229
- }) => o.multiline && r === "small",
233
+ size: n
234
+ }) => o.multiline && n === "small",
230
235
  style: {
231
236
  paddingTop: 1
232
237
  }
@@ -238,27 +243,27 @@ const Ye = (n, o) => {
238
243
  width: "100%"
239
244
  }
240
245
  }]
241
- }))), Xe = ye("input", {
246
+ }))), eo = ve("input", {
242
247
  name: "MuiInputBase",
243
248
  slot: "Input",
244
249
  overridesResolver: Je
245
- })(be(({
246
- theme: n
250
+ })(ge(({
251
+ theme: t
247
252
  }) => {
248
- const o = n.palette.mode === "light", r = {
253
+ const o = t.palette.mode === "light", n = {
249
254
  color: "currentColor",
250
- ...n.vars ? {
251
- opacity: n.vars.opacity.inputPlaceholder
255
+ ...t.vars ? {
256
+ opacity: t.vars.opacity.inputPlaceholder
252
257
  } : {
253
258
  opacity: o ? 0.42 : 0.5
254
259
  },
255
- transition: n.transitions.create("opacity", {
256
- duration: n.transitions.duration.shorter
260
+ transition: t.transitions.create("opacity", {
261
+ duration: t.transitions.duration.shorter
257
262
  })
258
263
  }, d = {
259
264
  opacity: "0 !important"
260
- }, f = n.vars ? {
261
- opacity: n.vars.opacity.inputPlaceholder
265
+ }, m = t.vars ? {
266
+ opacity: t.vars.opacity.inputPlaceholder
262
267
  } : {
263
268
  opacity: o ? 0.42 : 0.5
264
269
  };
@@ -279,10 +284,10 @@ const Ye = (n, o) => {
279
284
  // Make the flex item shrink with Firefox
280
285
  minWidth: 0,
281
286
  width: "100%",
282
- "&::-webkit-input-placeholder": r,
283
- "&::-moz-placeholder": r,
287
+ "&::-webkit-input-placeholder": n,
288
+ "&::-moz-placeholder": n,
284
289
  // Firefox 19+
285
- "&::-ms-input-placeholder": r,
290
+ "&::-ms-input-placeholder": n,
286
291
  // Edge
287
292
  "&:focus": {
288
293
  outline: 0
@@ -296,22 +301,22 @@ const Ye = (n, o) => {
296
301
  WebkitAppearance: "none"
297
302
  },
298
303
  // Show and hide the placeholder logic
299
- [`label[data-shrink=false] + .${oe.formControl} &`]: {
304
+ [`label[data-shrink=false] + .${te.formControl} &`]: {
300
305
  "&::-webkit-input-placeholder": d,
301
306
  "&::-moz-placeholder": d,
302
307
  // Firefox 19+
303
308
  "&::-ms-input-placeholder": d,
304
309
  // Edge
305
- "&:focus::-webkit-input-placeholder": f,
306
- "&:focus::-moz-placeholder": f,
310
+ "&:focus::-webkit-input-placeholder": m,
311
+ "&:focus::-moz-placeholder": m,
307
312
  // Firefox 19+
308
- "&:focus::-ms-input-placeholder": f
313
+ "&:focus::-ms-input-placeholder": m
309
314
  // Edge
310
315
  },
311
- [`&.${oe.disabled}`]: {
316
+ [`&.${te.disabled}`]: {
312
317
  opacity: 1,
313
318
  // Reset iOS opacity
314
- WebkitTextFillColor: (n.vars || n).palette.text.disabled
319
+ WebkitTextFillColor: (t.vars || t).palette.text.disabled
315
320
  // Fix opacity Safari bug
316
321
  },
317
322
  variants: [{
@@ -353,7 +358,7 @@ const Ye = (n, o) => {
353
358
  }
354
359
  }]
355
360
  };
356
- })), he = We({
361
+ })), ye = De({
357
362
  "@keyframes mui-auto-fill": {
358
363
  from: {
359
364
  display: "block"
@@ -364,192 +369,192 @@ const Ye = (n, o) => {
364
369
  display: "block"
365
370
  }
366
371
  }
367
- }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
368
- const d = Le({
372
+ }), oo = /* @__PURE__ */ l.forwardRef(function(o, n) {
373
+ const d = je({
369
374
  props: o,
370
375
  name: "MuiInputBase"
371
376
  }), {
372
- "aria-describedby": f,
377
+ "aria-describedby": m,
373
378
  autoComplete: c,
374
379
  autoFocus: R,
375
380
  className: T,
376
- color: F,
377
- components: C = {},
381
+ color: B,
382
+ components: S = {},
378
383
  componentsProps: p = {},
379
384
  defaultValue: O,
380
- disabled: b,
381
- disableInjectingGlobalStyles: S,
382
- endAdornment: w,
383
- error: x,
384
- fullWidth: E = !1,
385
- id: U,
386
- inputComponent: l = "input",
387
- inputProps: t = {},
388
- inputRef: y,
389
- margin: u,
390
- maxRows: k,
391
- minRows: B,
385
+ disabled: f,
386
+ disableInjectingGlobalStyles: x,
387
+ endAdornment: g,
388
+ error: z,
389
+ fullWidth: C = !1,
390
+ id: F,
391
+ inputComponent: j = "input",
392
+ inputProps: r = {},
393
+ inputRef: i,
394
+ margin: y,
395
+ maxRows: u,
396
+ minRows: H,
392
397
  multiline: M = !1,
393
- name: H,
394
- onBlur: g,
395
- onChange: m,
396
- onClick: P,
397
- onFocus: W,
398
- onKeyDown: we,
398
+ name: U,
399
+ onBlur: w,
400
+ onChange: E,
401
+ onClick: h,
402
+ onFocus: P,
403
+ onKeyDown: V,
399
404
  onKeyUp: xe,
400
405
  placeholder: Ce,
401
- readOnly: V,
406
+ readOnly: _,
402
407
  renderSuffix: ne,
403
- rows: D,
404
- size: oo,
405
- slotProps: te = {},
406
- slots: re = {},
407
- startAdornment: z,
408
- type: ie = "text",
409
- value: Se,
410
- ...Re
411
- } = d, L = t.value != null ? t.value : Se, {
412
- current: _
413
- } = s.useRef(L != null), I = s.useRef(), Te = s.useCallback((i) => {
414
- process.env.NODE_ENV !== "production" && i && i.nodeName !== "INPUT" && !i.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
408
+ rows: W,
409
+ size: to,
410
+ slotProps: re = {},
411
+ slots: ie = {},
412
+ startAdornment: N,
413
+ type: ae = "text",
414
+ value: Re,
415
+ ...Te
416
+ } = d, D = r.value != null ? r.value : Re, {
417
+ current: K
418
+ } = l.useRef(D != null), I = l.useRef(), Oe = l.useCallback((a) => {
419
+ process.env.NODE_ENV !== "production" && a && a.nodeName !== "INPUT" && !a.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
415
420
  `));
416
- }, []), Oe = ge(I, y, t.ref, Te), [$, G] = s.useState(!1), a = He();
417
- process.env.NODE_ENV !== "production" && s.useEffect(() => {
418
- if (a)
419
- return a.registerEffect();
420
- }, [a]);
421
- const h = Me({
421
+ }, []), Ee = we(I, i, r.ref, Oe), [$, G] = l.useState(!1), s = Pe();
422
+ process.env.NODE_ENV !== "production" && l.useEffect(() => {
423
+ if (s)
424
+ return s.registerEffect();
425
+ }, [s]);
426
+ const b = Me({
422
427
  props: d,
423
- muiFormControl: a,
428
+ muiFormControl: s,
424
429
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
425
430
  });
426
- h.focused = a ? a.focused : $, s.useEffect(() => {
427
- !a && b && $ && (G(!1), g && g());
428
- }, [a, b, $, g]);
429
- const K = a && a.onFilled, q = a && a.onEmpty, N = s.useCallback((i) => {
430
- De(i) ? K && K() : q && q();
431
- }, [K, q]);
432
- X(() => {
433
- _ && N({
434
- value: L
431
+ b.focused = s ? s.focused : $, l.useEffect(() => {
432
+ !s && f && $ && (G(!1), w && w());
433
+ }, [s, f, $, w]);
434
+ const q = s && s.onFilled, Y = s && s.onEmpty, k = l.useCallback((a) => {
435
+ Le(a) ? q && q() : Y && Y();
436
+ }, [q, Y]);
437
+ oe(() => {
438
+ K && k({
439
+ value: D
435
440
  });
436
- }, [L, N, _]);
437
- const Ie = (i) => {
438
- W && W(i), t.onFocus && t.onFocus(i), a && a.onFocus ? a.onFocus(i) : G(!0);
439
- }, Ee = (i) => {
440
- g && g(i), t.onBlur && t.onBlur(i), a && a.onBlur ? a.onBlur(i) : G(!1);
441
- }, ze = (i, ...ue) => {
442
- if (!_) {
443
- const de = i.target || I.current;
444
- if (de == null)
445
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Be(1));
446
- N({
447
- value: de.value
441
+ }, [D, k, K]);
442
+ const Ie = (a) => {
443
+ P && P(a), r.onFocus && r.onFocus(a), s && s.onFocus ? s.onFocus(a) : G(!0);
444
+ }, ze = (a) => {
445
+ w && w(a), r.onBlur && r.onBlur(a), s && s.onBlur ? s.onBlur(a) : G(!1);
446
+ }, Fe = (a, ...de) => {
447
+ if (!K) {
448
+ const ce = a.target || I.current;
449
+ if (ce == null)
450
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : He(1));
451
+ k({
452
+ value: ce.value
448
453
  });
449
454
  }
450
- t.onChange && t.onChange(i, ...ue), m && m(i, ...ue);
455
+ r.onChange && r.onChange(a, ...de), E && E(a, ...de);
451
456
  };
452
- s.useEffect(() => {
453
- N(I.current);
457
+ l.useEffect(() => {
458
+ k(I.current);
454
459
  }, []);
455
- const Ne = (i) => {
456
- I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
460
+ const Ne = (a) => {
461
+ I.current && a.currentTarget === a.target && I.current.focus(), h && h(a);
457
462
  };
458
- let Y = l, v = t;
459
- M && Y === "input" && (D ? (process.env.NODE_ENV !== "production" && (B || k) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
463
+ let Z = j, v = r;
464
+ M && Z === "input" && (W ? (process.env.NODE_ENV !== "production" && (H || u) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
460
465
  type: void 0,
461
- minRows: D,
462
- maxRows: D,
466
+ minRows: W,
467
+ maxRows: W,
463
468
  ...v
464
469
  }) : v = {
465
470
  type: void 0,
466
- maxRows: k,
467
- minRows: B,
471
+ maxRows: u,
472
+ minRows: H,
468
473
  ...v
469
- }, Y = ve);
470
- const Ae = (i) => {
471
- N(i.animationName === "mui-auto-fill-cancel" ? I.current : {
474
+ }, Z = Se);
475
+ const ke = (a) => {
476
+ k(a.animationName === "mui-auto-fill-cancel" ? I.current : {
472
477
  value: "x"
473
478
  });
474
479
  };
475
- s.useEffect(() => {
476
- a && a.setAdornedStart(!!z);
477
- }, [a, z]);
480
+ l.useEffect(() => {
481
+ s && s.setAdornedStart(!!N);
482
+ }, [s, N]);
478
483
  const J = {
479
484
  ...d,
480
- color: h.color || "primary",
481
- disabled: h.disabled,
482
- endAdornment: w,
483
- error: h.error,
484
- focused: h.focused,
485
- formControl: a,
486
- fullWidth: E,
487
- hiddenLabel: h.hiddenLabel,
485
+ color: b.color || "primary",
486
+ disabled: b.disabled,
487
+ endAdornment: g,
488
+ error: b.error,
489
+ focused: b.focused,
490
+ formControl: s,
491
+ fullWidth: C,
492
+ hiddenLabel: b.hiddenLabel,
488
493
  multiline: M,
489
- size: h.size,
490
- startAdornment: z,
491
- type: ie
492
- }, ae = Ze(J), se = re.root || C.Root || Qe, Z = te.root || p.root || {}, le = re.input || C.Input || Xe;
494
+ size: b.size,
495
+ startAdornment: N,
496
+ type: ae
497
+ }, se = Qe(J), le = ie.root || S.Root || Xe, Q = re.root || p.root || {}, ue = ie.input || S.Input || eo;
493
498
  return v = {
494
499
  ...v,
495
- ...te.input ?? p.input
496
- }, /* @__PURE__ */ Q(s.Fragment, {
497
- children: [!S && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
500
+ ...re.input ?? p.input
501
+ }, /* @__PURE__ */ ee(l.Fragment, {
502
+ children: [!x && typeof ye == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
498
503
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
499
- (me || (me = /* @__PURE__ */ A(he, {}))), /* @__PURE__ */ Q(se, {
500
- ...Z,
501
- ref: r,
504
+ (be || (be = /* @__PURE__ */ A(ye, {}))), /* @__PURE__ */ ee(le, {
505
+ ...Q,
506
+ ref: n,
502
507
  onClick: Ne,
503
- ...Re,
504
- ...!pe(se) && {
508
+ ...Te,
509
+ ...!fe(le) && {
505
510
  ownerState: {
506
511
  ...J,
507
- ...Z.ownerState
512
+ ...Q.ownerState
508
513
  }
509
514
  },
510
- className: ce(ae.root, Z.className, T, V && "MuiInputBase-readOnly"),
511
- children: [z, /* @__PURE__ */ A(Pe.Provider, {
515
+ className: pe(se.root, Q.className, T, _ && "MuiInputBase-readOnly"),
516
+ children: [N, /* @__PURE__ */ A(We.Provider, {
512
517
  value: null,
513
- children: /* @__PURE__ */ A(le, {
514
- "aria-invalid": h.error,
515
- "aria-describedby": f,
518
+ children: /* @__PURE__ */ A(ue, {
519
+ "aria-invalid": b.error,
520
+ "aria-describedby": m,
516
521
  autoComplete: c,
517
522
  autoFocus: R,
518
523
  defaultValue: O,
519
- disabled: h.disabled,
520
- id: U,
521
- onAnimationStart: Ae,
522
- name: H,
524
+ disabled: b.disabled,
525
+ id: F,
526
+ onAnimationStart: ke,
527
+ name: U,
523
528
  placeholder: Ce,
524
- readOnly: V,
525
- required: h.required,
526
- rows: D,
527
- value: L,
528
- onKeyDown: we,
529
+ readOnly: _,
530
+ required: b.required,
531
+ rows: W,
532
+ value: D,
533
+ onKeyDown: V,
529
534
  onKeyUp: xe,
530
- type: ie,
535
+ type: ae,
531
536
  ...v,
532
- ...!pe(le) && {
533
- as: Y,
537
+ ...!fe(ue) && {
538
+ as: Z,
534
539
  ownerState: {
535
540
  ...J,
536
541
  ...v.ownerState
537
542
  }
538
543
  },
539
- ref: Oe,
540
- className: ce(ae.input, v.className, V && "MuiInputBase-readOnly"),
541
- onBlur: Ee,
542
- onChange: ze,
544
+ ref: Ee,
545
+ className: pe(se.input, v.className, _ && "MuiInputBase-readOnly"),
546
+ onBlur: ze,
547
+ onChange: Fe,
543
548
  onFocus: Ie
544
549
  })
545
- }), w, ne ? ne({
546
- ...h,
547
- startAdornment: z
550
+ }), g, ne ? ne({
551
+ ...b,
552
+ startAdornment: N
548
553
  }) : null]
549
554
  })]
550
555
  });
551
556
  });
552
- process.env.NODE_ENV !== "production" && (eo.propTypes = {
557
+ process.env.NODE_ENV !== "production" && (oo.propTypes = {
553
558
  // ┌────────────────────────────── Warning ──────────────────────────────┐
554
559
  // │ These PropTypes are generated from the TypeScript type definitions. │
555
560
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -586,7 +591,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
586
591
  /**
587
592
  * The components used for each slot inside.
588
593
  *
589
- * @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.
594
+ * @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.
590
595
  *
591
596
  * @default {}
592
597
  */
@@ -598,7 +603,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
598
603
  * The extra props for the slot components.
599
604
  * You can override the existing props or add new ones.
600
605
  *
601
- * @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.
606
+ * @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.
602
607
  *
603
608
  * @default {}
604
609
  */
@@ -644,7 +649,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
644
649
  * Either a string to use a HTML element or a component.
645
650
  * @default 'input'
646
651
  */
647
- inputComponent: _e,
652
+ inputComponent: $e,
648
653
  /**
649
654
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
650
655
  * @default {}
@@ -653,7 +658,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
653
658
  /**
654
659
  * Pass a ref to the `input` element.
655
660
  */
656
- inputRef: Ve,
661
+ inputRef: Ke,
657
662
  /**
658
663
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
659
664
  * FormControl.
@@ -778,10 +783,10 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
778
783
  value: e.any
779
784
  });
780
785
  export {
781
- eo as I,
782
- Qe as a,
783
- Xe as b,
786
+ oo as I,
787
+ Xe as a,
788
+ eo as b,
784
789
  Je as c,
785
- oe as i,
786
- Ye as r
790
+ te as i,
791
+ Ze as r
787
792
  };