@cgi-learning-hub/ui 1.5.1-dev.1744637282 → 1.5.1-dev.1744643558

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 (327) hide show
  1. package/dist/Alert-5zQ9TB22.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-D5C84Q-b.js} +27 -28
  3. package/dist/ArrowDropDown-Dt89EMyB.cjs +1 -0
  4. package/dist/ArrowDropDown-DvAbGzWJ.js +37 -0
  5. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BjXP0c_4.js} +704 -665
  6. package/dist/Autocomplete-C6uWQlAq.cjs +6 -0
  7. package/dist/Backdrop-9ZMM04UV.cjs +1 -0
  8. package/dist/{Backdrop-B200pms1.js → Backdrop-CFkYB15z.js} +21 -20
  9. package/dist/Box-Bl24J58B.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-CXvmZ2dD.js} +12 -12
  11. package/dist/Button-CZTPCtLu.cjs +1 -0
  12. package/dist/{Button-D1aKdjIh.js → Button-Dhxe4eYH.js} +114 -148
  13. package/dist/{ButtonBase-CBFRgTBs.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
  14. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-uylSwkXQ.js} +24 -24
  15. package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
  16. package/dist/{CardContent-DyggcxBG.js → CardContent-uV5Z3O4p.js} +5 -5
  17. package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-hXnta6hd.js} +95 -68
  19. package/dist/Chip-BJSNxQBQ.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-klg9LPzp.js} +53 -54
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DcEnE5le.js} +28 -29
  22. package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-Czm0dlR9.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-KuFfPteA.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-D9nattPL.js} +1 -1
  27. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-BITNDbQ_.js} +209 -216
  28. package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-D1YD4uGk.js} +995 -1002
  30. package/dist/DatePicker-PBy3aYBw.cjs +13 -0
  31. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-CojEWOKR.js} +55 -55
  32. package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-B4Xhz7O1.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-C0hR-twe.cjs} +1 -1
  35. package/dist/Dialog-BC20prgn.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-Dk2BQsgk.js} +162 -169
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-C0BzN5yk.js} +3 -3
  38. package/dist/DialogContent-DqdeAbSs.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-7MyBxAkp.js} +7 -7
  40. package/dist/DialogTitle-DwOXEToV.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-BC2Fp1JG.js} +8 -8
  42. package/dist/Divider-I7KOokm8.cjs +1 -0
  43. package/dist/{Folder-Bnoqtzc6.js → Folder-DYF788Ow.js} +1 -1
  44. package/dist/{Folder-DEtB13yM.cjs → Folder-ExV_xCn6.cjs} +1 -1
  45. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-Dx6hkLPd.js} +24 -25
  46. package/dist/FormLabel-xZr5oZgx.cjs +2 -0
  47. package/dist/{Grow-B_clfUP9.js → Grow-C654F4zC.js} +6 -5
  48. package/dist/Grow-DPejKxV0.cjs +1 -0
  49. package/dist/{IconButton-D1mhTuaI.js → IconButton-BmspylGQ.js} +26 -27
  50. package/dist/IconButton-C1I_233O.cjs +2 -0
  51. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-BrH8kQg8.js} +10 -11
  52. package/dist/InputAdornment-_UPzajRP.cjs +1 -0
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-B3APXSc_.js} +278 -277
  54. package/dist/InputBase-CELFJljc.cjs +3 -0
  55. package/dist/Link-BQrFDQ-K.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-D3HS1nTr.js} +15 -16
  57. package/dist/List-Bii833np.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-vQ97f0T4.js} +2 -2
  59. package/dist/ListItem-BtjE87R1.cjs +1 -0
  60. package/dist/{ListItem-BspNcHM_.js → ListItem-kT8cZ-t_.js} +17 -17
  61. package/dist/ListItemText-DaUQA10v.js +845 -0
  62. package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
  63. package/dist/Menu-BGO4rdUL.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-bXn70x2T.js} +405 -335
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-88KizCxg.js} +14 -14
  66. package/dist/MenuItem-De2MJkYT.cjs +1 -0
  67. package/dist/{Modal-dmMiGSAp.js → Modal-BGSxrh8O.js} +240 -245
  68. package/dist/Modal-CPt1nneG.cjs +2 -0
  69. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-BLY3HCz9.js} +1 -1
  70. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
  71. package/dist/Paper-CKG165jt.cjs +2 -0
  72. package/dist/{Paper-CEDxpHWv.js → Paper-D1MPGEsw.js} +9 -9
  73. package/dist/Popper-C6iJjm-m.cjs +4 -0
  74. package/dist/{Popper-D5_YIJX6.js → Popper-DbqO1kUk.js} +10 -10
  75. package/dist/Portal-C2eqRUQp.js +85 -0
  76. package/dist/Portal-Dm9aDz8_.cjs +1 -0
  77. package/dist/Radio-BEfQuau1.cjs +1 -0
  78. package/dist/{Radio-B4sx0387.js → Radio-BlcCOkYY.js} +226 -183
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-C1L3hzrF.js} +20 -20
  80. package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
  81. package/dist/Select-BTL6ppWW.cjs +3 -0
  82. package/dist/{Select-CxnCi-3l.js → Select-CWv7tdJU.js} +321 -349
  83. package/dist/{Stack-CzKIgmIE.js → Stack-Bkppffhe.js} +60 -104
  84. package/dist/Stack-DpH56CPw.cjs +1 -0
  85. package/dist/Switch-BIGFww3p.cjs +1 -0
  86. package/dist/{Switch-D3KweZGQ.js → Switch-CbNrfyJP.js} +167 -108
  87. package/dist/SwitchBase-BkcX4xzb.js +314 -0
  88. package/dist/SwitchBase-DA079uiU.cjs +1 -0
  89. package/dist/Tab-BsIC620i.cjs +4 -0
  90. package/dist/{Tab-C1r8JXwz.js → Tab-CeMAH2vi.js} +597 -537
  91. package/dist/{TextField-D-_WjPAW.js → TextField-ChDtIm6f.js} +133 -124
  92. package/dist/TextField-SGIs7v2v.cjs +1 -0
  93. package/dist/{ToggleButtonGroup-gxIqbo6a.js → ToggleButtonGroup-B8hGStTV.js} +1956 -1784
  94. package/dist/ToggleButtonGroup-C64DhY80.cjs +138 -0
  95. package/dist/{Tooltip-D0bof-68.js → Tooltip-DDiPhklW.js} +37 -37
  96. package/dist/Tooltip-DcBB_9cg.cjs +4 -0
  97. package/dist/{Typography-DBJqhIhB.js → Typography-BceX4HUn.js} +13 -14
  98. package/dist/Typography-DOpE-TJz.cjs +1 -0
  99. package/dist/components/Alert/Alert.cjs.js +1 -1
  100. package/dist/components/Alert/Alert.es.js +3 -3
  101. package/dist/components/Alert/index.cjs.js +1 -1
  102. package/dist/components/Alert/index.es.js +1 -1
  103. package/dist/components/Autocomplete/Autocomplete.cjs.js +1 -0
  104. package/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
  105. package/dist/components/Autocomplete/Autocomplete.es.js +52 -0
  106. package/dist/components/Autocomplete/index.cjs.js +1 -0
  107. package/dist/components/Autocomplete/index.d.ts +2 -0
  108. package/dist/components/Autocomplete/index.es.js +4 -0
  109. package/dist/components/Button/Button.cjs.js +1 -1
  110. package/dist/components/Button/Button.es.js +2 -2
  111. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  112. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  113. package/dist/components/DatePicker/index.cjs.js +1 -1
  114. package/dist/components/DatePicker/index.es.js +1 -1
  115. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  116. package/dist/components/Dialog/Dialog.es.js +2 -2
  117. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  118. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  119. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  120. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  121. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  122. package/dist/components/FileList/FileIcon.es.js +1 -1
  123. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  124. package/dist/components/FileList/FileListItem.es.js +4 -4
  125. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  126. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  127. package/dist/components/Heading/Heading.cjs.js +1 -1
  128. package/dist/components/Heading/Heading.es.js +2 -2
  129. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  130. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  131. package/dist/components/Loader/Loader.cjs.js +1 -1
  132. package/dist/components/Loader/Loader.es.js +1 -1
  133. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  134. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  135. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  136. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  137. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  138. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  139. package/dist/components/ResourceCard/style.cjs.js +1 -1
  140. package/dist/components/ResourceCard/style.es.js +25 -25
  141. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  142. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  143. package/dist/components/TreeView/TreeView.cjs.js +4 -4
  144. package/dist/components/TreeView/TreeView.es.js +14 -13
  145. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  146. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -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 +310 -311
  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.es.js +29 -29
  195. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  196. package/dist/components/stories/Typography.stories.es.js +1 -1
  197. package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
  198. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-Q_5wEReh.js} +54 -55
  199. package/dist/dividerClasses-B_bu1fey.cjs +1 -0
  200. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-CG6GpKdW.js} +1 -1
  201. package/dist/elementAcceptingRef-BzA19fXF.cjs +1 -0
  202. package/dist/elementAcceptingRef-De-6sh1C.js +25 -0
  203. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DAXsN6bV.js} +1 -1
  204. package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
  205. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BNvofXln.js} +1 -1
  206. package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
  207. package/dist/getReactElementRef-B4Mdq17D.js +8 -0
  208. package/dist/getReactElementRef-BPy0WStw.cjs +1 -0
  209. package/dist/{generateUtilityClasses-BpRGbQmY.js → identifier-UGP6vjyr.js} +811 -845
  210. package/dist/identifier-gJdGmHeC.cjs +74 -0
  211. package/dist/{index-CDLJvERp.js → index-BEwCnUM5.js} +2 -2
  212. package/dist/index-Cfd-LNZn.cjs +1 -0
  213. package/dist/index-D14TzUgK.cjs +1 -0
  214. package/dist/{index-CoYVLWJY.js → index-DF_6gEtu.js} +4 -4
  215. package/dist/index-Dmu1HrwE.cjs +5 -0
  216. package/dist/{index-JOgYmUF8.js → index-Q0xeFkEM.js} +1 -1
  217. package/dist/index.cjs.js +1 -1
  218. package/dist/index.es.js +310 -311
  219. package/dist/inputBaseClasses-BMcreG7U.cjs +1 -0
  220. package/dist/inputBaseClasses-BPb0JVKx.js +9 -0
  221. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-Ceqh8Tnn.js} +1 -1
  222. package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
  223. package/dist/{memoTheme-44McxcVZ.js → memoTheme-D0vyNKLd.js} +1 -1
  224. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
  225. package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
  226. package/dist/mergeSlotProps-D_CzNhXE.js +62 -0
  227. package/dist/refType-53jD7LEO.cjs +1 -0
  228. package/dist/{refType-DsRJ5_Sj.js → refType-BjXePEDa.js} +1 -1
  229. package/dist/styled-C7OKoThH.cjs +1 -0
  230. package/dist/styled-blmInu6U.js +5 -0
  231. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  232. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  233. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  234. package/dist/useForkRef-u29GSuCu.js +27 -0
  235. package/dist/useSlot-CxlUbTmA.js +125 -0
  236. package/dist/useSlot-zJFQDOgm.cjs +1 -0
  237. package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
  238. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-DspaNRnE.js} +2 -2
  239. package/dist/useTheme-9UmqLsq5.js +11 -0
  240. package/dist/useTheme-BJZcQSBU.cjs +1 -0
  241. package/dist/{useTheme-C2OE_AnH.js → useTheme-CXUszJGf.js} +1 -1
  242. package/dist/useTheme-NQRIebh0.cjs +1 -0
  243. package/dist/useThemeProps-B4kO75RK.js +17 -0
  244. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-DGawbBM3.js} +4 -4
  245. package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
  246. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
  247. package/dist/utils-B2EQZFZP.cjs +1 -0
  248. package/dist/{utils-DFLaK7Ad.js → utils-CByxilR5.js} +1 -1
  249. package/dist/warning-C8W811fV.js +11 -0
  250. package/dist/warning-DMUNDgRg.cjs +2 -0
  251. package/package.json +10 -10
  252. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  253. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  254. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  255. package/dist/Box-CFuWIdLg.cjs +0 -1
  256. package/dist/Button-C7tsSPXV.cjs +0 -1
  257. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  258. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  259. package/dist/Chip-DUeBMcO4.cjs +0 -1
  260. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  261. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  262. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  263. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  264. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  265. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  266. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  267. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  268. package/dist/FormLabel-D4O160ND.cjs +0 -2
  269. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  270. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  271. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  272. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  273. package/dist/Link-CS0qbKjo.cjs +0 -1
  274. package/dist/List-T5dKKWkc.cjs +0 -1
  275. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  276. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  277. package/dist/ListItemText-afV0BrJL.js +0 -928
  278. package/dist/Menu-D6dHPVP_.cjs +0 -7
  279. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  280. package/dist/Modal-B8xPmNJd.cjs +0 -2
  281. package/dist/Paper-owda8LtM.cjs +0 -2
  282. package/dist/Popper-DMGJYlm7.cjs +0 -4
  283. package/dist/Portal-BKVc0iys.js +0 -81
  284. package/dist/Portal-CgaP8O8B.cjs +0 -1
  285. package/dist/Radio-OUfsD89D.cjs +0 -1
  286. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  287. package/dist/Select-CUlunaOr.cjs +0 -3
  288. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  289. package/dist/Switch-DpdnFebj.cjs +0 -1
  290. package/dist/SwitchBase-BsP35Aas.js +0 -262
  291. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  292. package/dist/Tab-DZvAf79O.cjs +0 -4
  293. package/dist/TextField-C0KpyS6X.cjs +0 -1
  294. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  295. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  296. package/dist/Typography-yvyJLNFu.cjs +0 -1
  297. package/dist/capitalize-CToVceBw.cjs +0 -1
  298. package/dist/capitalize-DSG2FA7x.js +0 -9
  299. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  300. package/dist/dividerClasses-BtzbOVqV.cjs +0 -1
  301. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  302. package/dist/extendSxProp-BKP1AeGz.cjs +0 -1
  303. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  304. package/dist/getReactElementRef-CD3_Stk5.js +0 -31
  305. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  306. package/dist/index-Bt7ukCXi.cjs +0 -5
  307. package/dist/index-DCpyECL4.cjs +0 -1
  308. package/dist/index-baZm35zL.cjs +0 -1
  309. package/dist/listItemTextClasses-DePeZNtZ.cjs +0 -1
  310. package/dist/refType-DDdajp2p.cjs +0 -1
  311. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  312. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  313. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  314. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  315. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  316. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  317. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  318. package/dist/useForkRef-C_4o__cU.js +0 -15
  319. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  320. package/dist/useSlot-CYOxsM2I.js +0 -48
  321. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  322. package/dist/useTheme-BDL2rp7a.js +0 -11
  323. package/dist/useTheme-CCi6a5Vl.cjs +0 -1
  324. package/dist/useTheme-DpMakc_Y.cjs +0 -1
  325. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  326. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  327. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -1,22 +1,22 @@
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-BpRGbQmY.js";
3
- import { i as pe } from "./isHostComponent-kiaBvYVo.js";
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-CoYVLWJY.js";
7
- import { m as be } from "./memoTheme-44McxcVZ.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-Ik4eAJdt.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";
1
+ import * as l from "react";
2
+ import { P as e, H as pe, K as X, U as Ae } from "./identifier-UGP6vjyr.js";
3
+ import { i as fe } from "./isHostComponent-kiaBvYVo.js";
4
+ import { f as Be } from "./formControlState-vgaj2ksH.js";
5
+ import { u as He, F as Me } from "./useFormControl-CatNKXAi.js";
6
+ import { g as Pe } from "./index-DF_6gEtu.js";
7
+ import { m as ge } from "./memoTheme-D0vyNKLd.js";
8
+ import { i as We } from "./utils-DWqc1kRF.js";
9
+ import { g as De, i as ee } from "./inputBaseClasses-BPb0JVKx.js";
10
+ import { jsxs as oe, jsx as A } from "react/jsx-runtime";
11
+ import { u as je, s as ve, c as Le } from "./DefaultPropsProvider-CojEWOKR.js";
12
+ import { u as we } from "./useForkRef-u29GSuCu.js";
13
+ import { u as Ve, a as te } from "./useEventCallback-Yoj9nCug.js";
14
+ import { o as me } from "./ownerWindow-niciwP7I.js";
14
15
  import { d as Ue } from "./debounce-46wSf_lW.js";
15
- import { c as ee } from "./capitalize-DSG2FA7x.js";
16
- import { r as Ve } from "./refType-DsRJ5_Sj.js";
17
- import { e as _e } from "./elementTypeAcceptingRef-CW5o2Qxo.js";
18
- function j(n) {
19
- return parseInt(n, 10) || 0;
16
+ import { r as _e } from "./refType-BjXePEDa.js";
17
+ import { e as Ke } from "./elementTypeAcceptingRef-DAXsN6bV.js";
18
+ function j(t) {
19
+ return parseInt(t, 10) || 0;
20
20
  }
21
21
  const $e = {
22
22
  shadow: {
@@ -33,86 +33,92 @@ const $e = {
33
33
  transform: "translateZ(0)"
34
34
  }
35
35
  };
36
- function Ge(n) {
37
- for (const o in n)
36
+ function qe(t) {
37
+ for (const o in t)
38
38
  return !1;
39
39
  return !0;
40
40
  }
41
- function Ke(n) {
42
- return Ge(n) || n.outerHeightStyle === 0 && !n.overflowing;
41
+ function he(t) {
42
+ return qe(t) || t.outerHeightStyle === 0 && !t.overflowing;
43
43
  }
44
- const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
44
+ const xe = /* @__PURE__ */ l.forwardRef(function(o, n) {
45
45
  const {
46
- onChange: d,
47
- maxRows: f,
48
- minRows: c = 1,
46
+ onChange: c,
47
+ maxRows: m,
48
+ minRows: d = 1,
49
49
  style: R,
50
50
  value: T,
51
- ...F
51
+ ...B
52
52
  } = 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)
53
+ current: x
54
+ } = l.useRef(T != null), p = l.useRef(null), O = we(n, p), f = l.useRef(null), C = l.useRef(null), g = l.useCallback(() => {
55
+ const r = p.current, i = C.current;
56
+ if (!r || !i)
57
57
  return;
58
- const u = fe(l).getComputedStyle(l);
58
+ const u = me(r).getComputedStyle(r);
59
59
  if (u.width === "0px")
60
60
  return {
61
61
  outerHeightStyle: 0,
62
62
  overflowing: !1
63
63
  };
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;
64
+ i.style.width = u.width, i.value = r.value || o.placeholder || "x", i.value.slice(-1) === `
65
+ ` && (i.value += " ");
66
+ const H = u.boxSizing, M = j(u.paddingBottom) + j(u.paddingTop), V = j(u.borderBottomWidth) + j(u.borderTopWidth), w = i.scrollHeight;
67
+ i.value = "x";
68
+ const E = i.scrollHeight;
69
+ let h = w;
70
+ d && (h = Math.max(Number(d) * E, h)), m && (h = Math.min(Number(m) * E, h)), h = Math.max(h, E);
71
+ const P = h + (H === "border-box" ? M + V : 0), U = Math.abs(h - w) <= 1;
72
72
  return {
73
73
  outerHeightStyle: P,
74
- overflowing: W
74
+ overflowing: U
75
75
  };
76
- }, [f, c, o.placeholder]), x = s.useCallback(() => {
77
- const l = p.current, t = w();
78
- if (!l || !t || Ke(t))
76
+ }, [m, d, o.placeholder]), z = Ve(() => {
77
+ const r = p.current, i = g();
78
+ if (!r || !i || he(i))
79
+ return !1;
80
+ const y = i.outerHeightStyle;
81
+ return f.current != null && f.current !== y;
82
+ }), S = l.useCallback(() => {
83
+ const r = p.current, i = g();
84
+ if (!r || !i || he(i))
79
85
  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)
86
+ const y = i.outerHeightStyle;
87
+ f.current !== y && (f.current = y, r.style.height = `${y}px`), r.style.overflow = i.overflowing ? "hidden" : "";
88
+ }, [g]), N = l.useRef(-1);
89
+ te(() => {
90
+ const r = Ue(S), i = p == null ? void 0 : p.current;
91
+ if (!i)
86
92
  return;
87
- const y = fe(t);
88
- y.addEventListener("resize", l);
93
+ const y = me(i);
94
+ y.addEventListener("resize", r);
89
95
  let u;
90
96
  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();
97
+ z() && (u.unobserve(i), cancelAnimationFrame(N.current), S(), N.current = requestAnimationFrame(() => {
98
+ u.observe(i);
99
+ }));
100
+ }), u.observe(i)), () => {
101
+ r.clear(), cancelAnimationFrame(N.current), y.removeEventListener("resize", r), u && u.disconnect();
96
102
  };
97
- }, [w, x]), X(() => {
98
- x();
103
+ }, [g, S, z]), te(() => {
104
+ S();
99
105
  });
100
- const U = (l) => {
101
- C || x(), d && d(l);
106
+ const L = (r) => {
107
+ x || S(), c && c(r);
102
108
  };
103
- return /* @__PURE__ */ Q(s.Fragment, {
109
+ return /* @__PURE__ */ oe(l.Fragment, {
104
110
  children: [/* @__PURE__ */ A("textarea", {
105
111
  value: T,
106
- onChange: U,
112
+ onChange: L,
107
113
  ref: O,
108
- rows: c,
114
+ rows: d,
109
115
  style: R,
110
- ...F
116
+ ...B
111
117
  }), /* @__PURE__ */ A("textarea", {
112
118
  "aria-hidden": !0,
113
119
  className: o.className,
114
120
  readOnly: !0,
115
- ref: S,
121
+ ref: C,
116
122
  tabIndex: -1,
117
123
  style: {
118
124
  ...$e.shadow,
@@ -123,7 +129,7 @@ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
123
129
  })]
124
130
  });
125
131
  });
126
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
132
+ process.env.NODE_ENV !== "production" && (xe.propTypes = {
127
133
  // ┌────────────────────────────── Warning ──────────────────────────────┐
128
134
  // │ These PropTypes are generated from the TypeScript type definitions. │
129
135
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -158,51 +164,47 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
158
164
  */
159
165
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
160
166
  });
161
- function qe(n) {
162
- return ke("MuiInputBase", n);
163
- }
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) => {
167
+ var be;
168
+ const Ge = (t, o) => {
167
169
  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) => {
170
+ ownerState: n
171
+ } = t;
172
+ 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];
173
+ }, Ye = (t, o) => {
172
174
  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) => {
175
+ ownerState: n
176
+ } = t;
177
+ 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];
178
+ }, Ze = (t) => {
177
179
  const {
178
180
  classes: o,
179
- color: r,
180
- disabled: d,
181
- error: f,
182
- endAdornment: c,
181
+ color: n,
182
+ disabled: c,
183
+ error: m,
184
+ endAdornment: d,
183
185
  focused: R,
184
186
  formControl: T,
185
- fullWidth: F,
186
- hiddenLabel: C,
187
+ fullWidth: B,
188
+ hiddenLabel: x,
187
189
  multiline: p,
188
190
  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"]
191
+ size: f,
192
+ startAdornment: C,
193
+ type: g
194
+ } = t, z = {
195
+ root: ["root", `color${X(n)}`, c && "disabled", m && "error", B && "fullWidth", R && "focused", T && "formControl", f && f !== "medium" && `size${X(f)}`, p && "multiline", C && "adornedStart", d && "adornedEnd", x && "hiddenLabel", O && "readOnly"],
196
+ input: ["input", c && "disabled", g === "search" && "inputTypeSearch", p && "inputMultiline", f === "small" && "inputSizeSmall", x && "inputHiddenLabel", C && "inputAdornedStart", d && "inputAdornedEnd", O && "readOnly"]
195
197
  };
196
- return je(x, qe, o);
197
- }, Qe = ye("div", {
198
+ return Le(z, De, o);
199
+ }, Je = ve("div", {
198
200
  name: "MuiInputBase",
199
201
  slot: "Root",
200
- overridesResolver: Ye
201
- })(be(({
202
- theme: n
202
+ overridesResolver: Ge
203
+ })(ge(({
204
+ theme: t
203
205
  }) => ({
204
- ...n.typography.body1,
205
- color: (n.vars || n).palette.text.primary,
206
+ ...t.typography.body1,
207
+ color: (t.vars || t).palette.text.primary,
206
208
  lineHeight: "1.4375em",
207
209
  // 23px
208
210
  boxSizing: "border-box",
@@ -211,8 +213,8 @@ const Ye = (n, o) => {
211
213
  cursor: "text",
212
214
  display: "inline-flex",
213
215
  alignItems: "center",
214
- [`&.${oe.disabled}`]: {
215
- color: (n.vars || n).palette.text.disabled,
216
+ [`&.${ee.disabled}`]: {
217
+ color: (t.vars || t).palette.text.disabled,
216
218
  cursor: "default"
217
219
  },
218
220
  variants: [{
@@ -225,8 +227,8 @@ const Ye = (n, o) => {
225
227
  }, {
226
228
  props: ({
227
229
  ownerState: o,
228
- size: r
229
- }) => o.multiline && r === "small",
230
+ size: n
231
+ }) => o.multiline && n === "small",
230
232
  style: {
231
233
  paddingTop: 1
232
234
  }
@@ -238,27 +240,27 @@ const Ye = (n, o) => {
238
240
  width: "100%"
239
241
  }
240
242
  }]
241
- }))), Xe = ye("input", {
243
+ }))), Qe = ve("input", {
242
244
  name: "MuiInputBase",
243
245
  slot: "Input",
244
- overridesResolver: Je
245
- })(be(({
246
- theme: n
246
+ overridesResolver: Ye
247
+ })(ge(({
248
+ theme: t
247
249
  }) => {
248
- const o = n.palette.mode === "light", r = {
250
+ const o = t.palette.mode === "light", n = {
249
251
  color: "currentColor",
250
- ...n.vars ? {
251
- opacity: n.vars.opacity.inputPlaceholder
252
+ ...t.vars ? {
253
+ opacity: t.vars.opacity.inputPlaceholder
252
254
  } : {
253
255
  opacity: o ? 0.42 : 0.5
254
256
  },
255
- transition: n.transitions.create("opacity", {
256
- duration: n.transitions.duration.shorter
257
+ transition: t.transitions.create("opacity", {
258
+ duration: t.transitions.duration.shorter
257
259
  })
258
- }, d = {
260
+ }, c = {
259
261
  opacity: "0 !important"
260
- }, f = n.vars ? {
261
- opacity: n.vars.opacity.inputPlaceholder
262
+ }, m = t.vars ? {
263
+ opacity: t.vars.opacity.inputPlaceholder
262
264
  } : {
263
265
  opacity: o ? 0.42 : 0.5
264
266
  };
@@ -279,10 +281,10 @@ const Ye = (n, o) => {
279
281
  // Make the flex item shrink with Firefox
280
282
  minWidth: 0,
281
283
  width: "100%",
282
- "&::-webkit-input-placeholder": r,
283
- "&::-moz-placeholder": r,
284
+ "&::-webkit-input-placeholder": n,
285
+ "&::-moz-placeholder": n,
284
286
  // Firefox 19+
285
- "&::-ms-input-placeholder": r,
287
+ "&::-ms-input-placeholder": n,
286
288
  // Edge
287
289
  "&:focus": {
288
290
  outline: 0
@@ -296,28 +298,28 @@ const Ye = (n, o) => {
296
298
  WebkitAppearance: "none"
297
299
  },
298
300
  // Show and hide the placeholder logic
299
- [`label[data-shrink=false] + .${oe.formControl} &`]: {
300
- "&::-webkit-input-placeholder": d,
301
- "&::-moz-placeholder": d,
301
+ [`label[data-shrink=false] + .${ee.formControl} &`]: {
302
+ "&::-webkit-input-placeholder": c,
303
+ "&::-moz-placeholder": c,
302
304
  // Firefox 19+
303
- "&::-ms-input-placeholder": d,
305
+ "&::-ms-input-placeholder": c,
304
306
  // Edge
305
- "&:focus::-webkit-input-placeholder": f,
306
- "&:focus::-moz-placeholder": f,
307
+ "&:focus::-webkit-input-placeholder": m,
308
+ "&:focus::-moz-placeholder": m,
307
309
  // Firefox 19+
308
- "&:focus::-ms-input-placeholder": f
310
+ "&:focus::-ms-input-placeholder": m
309
311
  // Edge
310
312
  },
311
- [`&.${oe.disabled}`]: {
313
+ [`&.${ee.disabled}`]: {
312
314
  opacity: 1,
313
315
  // Reset iOS opacity
314
- WebkitTextFillColor: (n.vars || n).palette.text.disabled
316
+ WebkitTextFillColor: (t.vars || t).palette.text.disabled
315
317
  // Fix opacity Safari bug
316
318
  },
317
319
  variants: [{
318
320
  props: ({
319
- ownerState: c
320
- }) => !c.disableInjectingGlobalStyles,
321
+ ownerState: d
322
+ }) => !d.disableInjectingGlobalStyles,
321
323
  style: {
322
324
  animationName: "mui-auto-fill-cancel",
323
325
  animationDuration: "10ms",
@@ -335,8 +337,8 @@ const Ye = (n, o) => {
335
337
  }
336
338
  }, {
337
339
  props: ({
338
- ownerState: c
339
- }) => c.multiline,
340
+ ownerState: d
341
+ }) => d.multiline,
340
342
  style: {
341
343
  height: "auto",
342
344
  resize: "none",
@@ -353,7 +355,7 @@ const Ye = (n, o) => {
353
355
  }
354
356
  }]
355
357
  };
356
- })), he = We({
358
+ })), ye = Pe({
357
359
  "@keyframes mui-auto-fill": {
358
360
  from: {
359
361
  display: "block"
@@ -364,192 +366,192 @@ const Ye = (n, o) => {
364
366
  display: "block"
365
367
  }
366
368
  }
367
- }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
368
- const d = Le({
369
+ }), Xe = /* @__PURE__ */ l.forwardRef(function(o, n) {
370
+ const c = je({
369
371
  props: o,
370
372
  name: "MuiInputBase"
371
373
  }), {
372
- "aria-describedby": f,
373
- autoComplete: c,
374
+ "aria-describedby": m,
375
+ autoComplete: d,
374
376
  autoFocus: R,
375
377
  className: T,
376
- color: F,
377
- components: C = {},
378
+ color: B,
379
+ components: x = {},
378
380
  componentsProps: p = {},
379
381
  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,
382
+ disabled: f,
383
+ disableInjectingGlobalStyles: C,
384
+ endAdornment: g,
385
+ error: z,
386
+ fullWidth: S = !1,
387
+ id: N,
388
+ inputComponent: L = "input",
389
+ inputProps: r = {},
390
+ inputRef: i,
391
+ margin: y,
392
+ maxRows: u,
393
+ minRows: H,
392
394
  multiline: M = !1,
393
- name: H,
394
- onBlur: g,
395
- onChange: m,
396
- onClick: P,
397
- onFocus: W,
398
- onKeyDown: we,
399
- onKeyUp: xe,
400
- placeholder: Ce,
401
- readOnly: V,
395
+ name: V,
396
+ onBlur: w,
397
+ onChange: E,
398
+ onClick: h,
399
+ onFocus: P,
400
+ onKeyDown: U,
401
+ onKeyUp: Ce,
402
+ placeholder: Se,
403
+ readOnly: _,
402
404
  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(`
405
+ rows: W,
406
+ size: eo,
407
+ slotProps: re = {},
408
+ slots: ie = {},
409
+ startAdornment: k,
410
+ type: ae = "text",
411
+ value: Re,
412
+ ...Te
413
+ } = c, D = r.value != null ? r.value : Re, {
414
+ current: K
415
+ } = l.useRef(D != null), I = l.useRef(), Oe = l.useCallback((a) => {
416
+ 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
417
  `));
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({
422
- props: d,
423
- muiFormControl: a,
418
+ }, []), Ee = we(I, i, r.ref, Oe), [$, q] = l.useState(!1), s = He();
419
+ process.env.NODE_ENV !== "production" && l.useEffect(() => {
420
+ if (s)
421
+ return s.registerEffect();
422
+ }, [s]);
423
+ const b = Be({
424
+ props: c,
425
+ muiFormControl: s,
424
426
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
425
427
  });
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
428
+ b.focused = s ? s.focused : $, l.useEffect(() => {
429
+ !s && f && $ && (q(!1), w && w());
430
+ }, [s, f, $, w]);
431
+ const G = s && s.onFilled, Y = s && s.onEmpty, F = l.useCallback((a) => {
432
+ We(a) ? G && G() : Y && Y();
433
+ }, [G, Y]);
434
+ te(() => {
435
+ K && F({
436
+ value: D
435
437
  });
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;
438
+ }, [D, F, K]);
439
+ const Ie = (a) => {
440
+ P && P(a), r.onFocus && r.onFocus(a), s && s.onFocus ? s.onFocus(a) : q(!0);
441
+ }, ze = (a) => {
442
+ w && w(a), r.onBlur && r.onBlur(a), s && s.onBlur ? s.onBlur(a) : q(!1);
443
+ }, Ne = (a, ...ce) => {
444
+ if (!K) {
445
+ const de = a.target || I.current;
444
446
  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
+ 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." : Ae(1));
448
+ F({
447
449
  value: de.value
448
450
  });
449
451
  }
450
- t.onChange && t.onChange(i, ...ue), m && m(i, ...ue);
452
+ r.onChange && r.onChange(a, ...ce), E && E(a, ...ce);
451
453
  };
452
- s.useEffect(() => {
453
- N(I.current);
454
+ l.useEffect(() => {
455
+ F(I.current);
454
456
  }, []);
455
- const Ne = (i) => {
456
- I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
457
+ const ke = (a) => {
458
+ I.current && a.currentTarget === a.target && I.current.focus(), h && h(a);
457
459
  };
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 = {
460
+ let Z = L, v = r;
461
+ 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
462
  type: void 0,
461
- minRows: D,
462
- maxRows: D,
463
+ minRows: W,
464
+ maxRows: W,
463
465
  ...v
464
466
  }) : v = {
465
467
  type: void 0,
466
- maxRows: k,
467
- minRows: B,
468
+ maxRows: u,
469
+ minRows: H,
468
470
  ...v
469
- }, Y = ve);
470
- const Ae = (i) => {
471
- N(i.animationName === "mui-auto-fill-cancel" ? I.current : {
471
+ }, Z = xe);
472
+ const Fe = (a) => {
473
+ F(a.animationName === "mui-auto-fill-cancel" ? I.current : {
472
474
  value: "x"
473
475
  });
474
476
  };
475
- s.useEffect(() => {
476
- a && a.setAdornedStart(!!z);
477
- }, [a, z]);
477
+ l.useEffect(() => {
478
+ s && s.setAdornedStart(!!k);
479
+ }, [s, k]);
478
480
  const J = {
479
- ...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,
481
+ ...c,
482
+ color: b.color || "primary",
483
+ disabled: b.disabled,
484
+ endAdornment: g,
485
+ error: b.error,
486
+ focused: b.focused,
487
+ formControl: s,
488
+ fullWidth: S,
489
+ hiddenLabel: b.hiddenLabel,
488
490
  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;
491
+ size: b.size,
492
+ startAdornment: k,
493
+ type: ae
494
+ }, se = Ze(J), le = ie.root || x.Root || Je, Q = re.root || p.root || {}, ue = ie.input || x.Input || Qe;
493
495
  return v = {
494
496
  ...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
497
+ ...re.input ?? p.input
498
+ }, /* @__PURE__ */ oe(l.Fragment, {
499
+ children: [!C && typeof ye == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
498
500
  // 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,
502
- onClick: Ne,
503
- ...Re,
504
- ...!pe(se) && {
501
+ (be || (be = /* @__PURE__ */ A(ye, {}))), /* @__PURE__ */ oe(le, {
502
+ ...Q,
503
+ ref: n,
504
+ onClick: ke,
505
+ ...Te,
506
+ ...!fe(le) && {
505
507
  ownerState: {
506
508
  ...J,
507
- ...Z.ownerState
509
+ ...Q.ownerState
508
510
  }
509
511
  },
510
- className: ce(ae.root, Z.className, T, V && "MuiInputBase-readOnly"),
511
- children: [z, /* @__PURE__ */ A(Pe.Provider, {
512
+ className: pe(se.root, Q.className, T, _ && "MuiInputBase-readOnly"),
513
+ children: [k, /* @__PURE__ */ A(Me.Provider, {
512
514
  value: null,
513
- children: /* @__PURE__ */ A(le, {
514
- "aria-invalid": h.error,
515
- "aria-describedby": f,
516
- autoComplete: c,
515
+ children: /* @__PURE__ */ A(ue, {
516
+ "aria-invalid": b.error,
517
+ "aria-describedby": m,
518
+ autoComplete: d,
517
519
  autoFocus: R,
518
520
  defaultValue: O,
519
- disabled: h.disabled,
520
- id: U,
521
- onAnimationStart: Ae,
522
- name: H,
523
- placeholder: Ce,
524
- readOnly: V,
525
- required: h.required,
526
- rows: D,
527
- value: L,
528
- onKeyDown: we,
529
- onKeyUp: xe,
530
- type: ie,
521
+ disabled: b.disabled,
522
+ id: N,
523
+ onAnimationStart: Fe,
524
+ name: V,
525
+ placeholder: Se,
526
+ readOnly: _,
527
+ required: b.required,
528
+ rows: W,
529
+ value: D,
530
+ onKeyDown: U,
531
+ onKeyUp: Ce,
532
+ type: ae,
531
533
  ...v,
532
- ...!pe(le) && {
533
- as: Y,
534
+ ...!fe(ue) && {
535
+ as: Z,
534
536
  ownerState: {
535
537
  ...J,
536
538
  ...v.ownerState
537
539
  }
538
540
  },
539
- ref: Oe,
540
- className: ce(ae.input, v.className, V && "MuiInputBase-readOnly"),
541
- onBlur: Ee,
542
- onChange: ze,
541
+ ref: Ee,
542
+ className: pe(se.input, v.className, _ && "MuiInputBase-readOnly"),
543
+ onBlur: ze,
544
+ onChange: Ne,
543
545
  onFocus: Ie
544
546
  })
545
- }), w, ne ? ne({
546
- ...h,
547
- startAdornment: z
547
+ }), g, ne ? ne({
548
+ ...b,
549
+ startAdornment: k
548
550
  }) : null]
549
551
  })]
550
552
  });
551
553
  });
552
- process.env.NODE_ENV !== "production" && (eo.propTypes = {
554
+ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
553
555
  // ┌────────────────────────────── Warning ──────────────────────────────┐
554
556
  // │ These PropTypes are generated from the TypeScript type definitions. │
555
557
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -586,7 +588,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
586
588
  /**
587
589
  * The components used for each slot inside.
588
590
  *
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.
591
+ * @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
592
  *
591
593
  * @default {}
592
594
  */
@@ -598,7 +600,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
598
600
  * The extra props for the slot components.
599
601
  * You can override the existing props or add new ones.
600
602
  *
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.
603
+ * @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
604
  *
603
605
  * @default {}
604
606
  */
@@ -644,7 +646,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
644
646
  * Either a string to use a HTML element or a component.
645
647
  * @default 'input'
646
648
  */
647
- inputComponent: _e,
649
+ inputComponent: Ke,
648
650
  /**
649
651
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
650
652
  * @default {}
@@ -653,7 +655,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
653
655
  /**
654
656
  * Pass a ref to the `input` element.
655
657
  */
656
- inputRef: Ve,
658
+ inputRef: _e,
657
659
  /**
658
660
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
659
661
  * FormControl.
@@ -778,10 +780,9 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
778
780
  value: e.any
779
781
  });
780
782
  export {
781
- eo as I,
782
- Qe as a,
783
- Xe as b,
784
- Je as c,
785
- oe as i,
786
- Ye as r
783
+ Xe as I,
784
+ Je as a,
785
+ Qe as b,
786
+ Ye as i,
787
+ Ge as r
787
788
  };