@cgi-learning-hub/ui 1.5.1 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/Alert-DW8yCR-B.cjs +1 -0
  2. package/dist/{Alert-BfMYnyZX.js → Alert-PmI169Dq.js} +144 -142
  3. package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BIBR54X2.js} +709 -667
  4. package/dist/Autocomplete-D9hZ2wrR.cjs +6 -0
  5. package/dist/Backdrop-3TL73mAe.cjs +1 -0
  6. package/dist/{Backdrop-B200pms1.js → Backdrop-BxgGvlLM.js} +21 -20
  7. package/dist/Badge-DhyDno9j.cjs +138 -0
  8. package/dist/{ToggleButtonGroup-gxIqbo6a.js → Badge-rX7YUmBc.js} +6487 -4178
  9. package/dist/Box-DYD6q-6M.cjs +1 -0
  10. package/dist/{Box-D3Pi13ta.js → Box-o7Tjjyko.js} +21 -20
  11. package/dist/{Button-D1aKdjIh.js → Button-D974vesA.js} +19 -18
  12. package/dist/Button-y1LmxqGA.cjs +1 -0
  13. package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-Chb99sDQ.js} +25 -24
  14. package/dist/ButtonBase-Cteo-mSC.cjs +74 -0
  15. package/dist/{CardContent-DyggcxBG.js → CardContent-DaZl2i3G.js} +10 -9
  16. package/dist/CardContent-ji0_AneN.cjs +1 -0
  17. package/dist/Checkbox-XXqW_dbW.cjs +1 -0
  18. package/dist/{Checkbox-DkrWUPYT.js → Checkbox-p-PKpEw_.js} +91 -62
  19. package/dist/Chip-Bpcd3tnL.cjs +1 -0
  20. package/dist/{Chip-Y39z3DS6.js → Chip-CPR3r42q.js} +13 -12
  21. package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DVKNRMKq.js} +15 -14
  22. package/dist/CircularProgress-Wqx0-T36.cjs +28 -0
  23. package/dist/{Close-DJDhRwj2.cjs → Close-DyRqry3p.cjs} +1 -1
  24. package/dist/{Close-hx7dlgmZ.js → Close-m-MX3rFn.js} +1 -1
  25. package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-Bpxbxvyb.cjs} +1 -1
  26. package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-CjjQdrNy.js} +1 -1
  27. package/dist/CustomTreeItem-DPyfIueW.cjs +3 -0
  28. package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-hIRSCwAW.js} +251 -256
  29. package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-BMzW4v1g.js} +1079 -1081
  30. package/dist/DatePicker-CNhBoaI3.cjs +14 -0
  31. package/dist/DefaultPropsProvider-B1crdkTC.cjs +1 -0
  32. package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-hFv1J_xl.js} +68 -67
  33. package/dist/{Delete-Cfk3fOW-.js → Delete-9fJbdRit.js} +1 -1
  34. package/dist/{Delete-DDxv1h6V.cjs → Delete-CEX2hq0f.cjs} +1 -1
  35. package/dist/Dialog-B2LKe7ZM.cjs +1 -0
  36. package/dist/{Dialog-Ccvug1yq.js → Dialog-BzsWl6Vl.js} +106 -111
  37. package/dist/{DialogContent-CIMpKm-U.js → DialogContent-B41jvlMn.js} +14 -13
  38. package/dist/DialogContent-BbCu_OEw.cjs +1 -0
  39. package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-CVvztEM0.js} +22 -21
  40. package/dist/DialogTitle-SwUSpeBT.cjs +1 -0
  41. package/dist/{Divider-C2cBikSL.js → Divider-CJwnMdVg.js} +9 -8
  42. package/dist/Divider-Cshcr5kR.cjs +1 -0
  43. package/dist/{Folder-DEtB13yM.cjs → Folder-7plrMkOp.cjs} +1 -1
  44. package/dist/{Folder-Bnoqtzc6.js → Folder-CutUz0bW.js} +1 -1
  45. package/dist/FormLabel-0LbNeQQU.cjs +2 -0
  46. package/dist/{FormLabel-EkpI8MQr.js → FormLabel-DSi2pGSZ.js} +16 -15
  47. package/dist/{Grow-B_clfUP9.js → Grow-FFFqe81C.js} +5 -5
  48. package/dist/Grow-aEgTOewU.cjs +1 -0
  49. package/dist/IconButton-BKwDNYJl.cjs +2 -0
  50. package/dist/{IconButton-D1mhTuaI.js → IconButton-CgwURB2g.js} +7 -6
  51. package/dist/InputAdornment-C7e-kyf7.cjs +1 -0
  52. package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-DgWvMLgR.js} +22 -21
  53. package/dist/{InputBase-BQnEIwl1.js → InputBase-DxLqRpcl.js} +263 -256
  54. package/dist/InputBase-pYQWRFK2.cjs +3 -0
  55. package/dist/Link-DUtuCYMx.cjs +1 -0
  56. package/dist/{Link-8ltXgZj7.js → Link-rb-SwfiY.js} +18 -17
  57. package/dist/List-BH_S4Hqm.cjs +1 -0
  58. package/dist/{List-DJsqHOqv.js → List-BjfdkeEI.js} +5 -4
  59. package/dist/{ListItem-BspNcHM_.js → ListItem-B0EiObKw.js} +40 -39
  60. package/dist/ListItem-D33t-hkx.cjs +1 -0
  61. package/dist/ListItemText-B8jlTz59.cjs +2 -0
  62. package/dist/ListItemText-BeyHu1da.js +853 -0
  63. package/dist/Menu-BjrN8rMF.cjs +7 -0
  64. package/dist/{Menu-DPhreDcS.js → Menu-By6cOqEO.js} +407 -336
  65. package/dist/{MenuItem-Fb7iU47J.js → MenuItem-B1FTx8Uo.js} +17 -16
  66. package/dist/MenuItem-Cz_x60jl.cjs +1 -0
  67. package/dist/Modal-DxwlW5NV.cjs +2 -0
  68. package/dist/{Modal-dmMiGSAp.js → Modal-vrLLqk9Y.js} +240 -245
  69. package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-DC6HBf1h.cjs} +1 -1
  70. package/dist/{MoreVert-BCGFGn8f.js → MoreVert-DJ8sAY3o.js} +1 -1
  71. package/dist/{Paper-CEDxpHWv.js → Paper-984iTz4H.js} +32 -31
  72. package/dist/Paper-Bh9CKUCb.cjs +2 -0
  73. package/dist/{Popper-D5_YIJX6.js → Popper-DfwuvxaQ.js} +11 -10
  74. package/dist/Popper-yO_RaCbM.cjs +4 -0
  75. package/dist/Portal-B5KqLEa0.cjs +1 -0
  76. package/dist/Portal-ChC9wmMZ.js +85 -0
  77. package/dist/{Radio-B4sx0387.js → Radio-BqY-su_F.js} +228 -183
  78. package/dist/Radio-C7zzpRFc.cjs +1 -0
  79. package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-BQvlYFpE.js} +24 -23
  80. package/dist/RadioGroup-BlUWRmLG.cjs +1 -0
  81. package/dist/{Select-CxnCi-3l.js → Select-DZMwqCYA.js} +96 -95
  82. package/dist/Select-Doay7ukI.cjs +3 -0
  83. package/dist/Stack-BVWbOqY_.cjs +1 -0
  84. package/dist/{Stack-CzKIgmIE.js → Stack-CMUWQxQn.js} +63 -107
  85. package/dist/{Switch-D3KweZGQ.js → Switch-Bg4QB4PJ.js} +169 -108
  86. package/dist/Switch-CEfqaD33.cjs +1 -0
  87. package/dist/SwitchBase-DvCITKv8.cjs +1 -0
  88. package/dist/SwitchBase-EDFBMPd7.js +316 -0
  89. package/dist/{Tab-C1r8JXwz.js → Tab-52AkFc9v.js} +599 -537
  90. package/dist/Tab-C6H241Pf.cjs +4 -0
  91. package/dist/{TextField-D-_WjPAW.js → TextField-DG9mRp_m.js} +127 -116
  92. package/dist/TextField-bE2NUKKK.cjs +1 -0
  93. package/dist/{Tooltip-D0bof-68.js → Tooltip-DCgaU2em.js} +20 -19
  94. package/dist/Tooltip-D_w-IJoD.cjs +4 -0
  95. package/dist/Typography-De-21leI.cjs +1 -0
  96. package/dist/{Typography-DBJqhIhB.js → Typography-DwMlN0K5.js} +9 -8
  97. package/dist/{capitalize-DSG2FA7x.js → capitalize-BHFotl9B.js} +1 -1
  98. package/dist/{capitalize-CToVceBw.cjs → capitalize-CKLkSyDO.cjs} +1 -1
  99. package/dist/client-error-CHkavqXs.cjs +1 -0
  100. package/dist/{client-error-B_-qjgAB.js → client-error-D0Ng5oOn.js} +1 -3
  101. package/dist/components/Alert/Alert.cjs.js +1 -1
  102. package/dist/components/Alert/Alert.es.js +3 -3
  103. package/dist/components/Alert/index.cjs.js +1 -1
  104. package/dist/components/Alert/index.es.js +1 -1
  105. package/dist/components/Button/Button.cjs.js +1 -1
  106. package/dist/components/Button/Button.es.js +2 -2
  107. package/dist/components/ColorPicker/ColorPicker.cjs.js +27 -0
  108. package/dist/components/ColorPicker/ColorPicker.d.ts +4 -0
  109. package/dist/components/ColorPicker/ColorPicker.es.js +7960 -0
  110. package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +1 -0
  111. package/dist/components/ColorPicker/ColorPickerIcon.d.ts +5 -0
  112. package/dist/components/ColorPicker/ColorPickerIcon.es.js +58 -0
  113. package/dist/components/ColorPicker/index.cjs.js +1 -0
  114. package/dist/components/ColorPicker/index.d.ts +3 -0
  115. package/dist/components/ColorPicker/index.es.js +4 -0
  116. package/dist/components/ColorPicker/styles.cjs.js +1 -0
  117. package/dist/components/ColorPicker/styles.es.js +26 -0
  118. package/dist/components/ColorPicker/types.cjs.js +1 -0
  119. package/dist/components/ColorPicker/types.d.ts +19 -0
  120. package/dist/components/ColorPicker/types.es.js +1 -0
  121. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  122. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  123. package/dist/components/DatePicker/index.cjs.js +1 -1
  124. package/dist/components/DatePicker/index.es.js +1 -1
  125. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  126. package/dist/components/Dialog/Dialog.es.js +2 -2
  127. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  128. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  129. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  130. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  131. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  132. package/dist/components/FileList/FileIcon.es.js +1 -1
  133. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  134. package/dist/components/FileList/FileListItem.es.js +4 -4
  135. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  136. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  137. package/dist/components/Heading/Heading.cjs.js +1 -1
  138. package/dist/components/Heading/Heading.es.js +2 -2
  139. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  140. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  141. package/dist/components/Loader/Loader.cjs.js +1 -1
  142. package/dist/components/Loader/Loader.es.js +1 -1
  143. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  144. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  145. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  146. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  147. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  148. package/dist/components/QueryError/QueryError.es.js +2 -2
  149. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  150. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  151. package/dist/components/ResourceCard/style.cjs.js +1 -1
  152. package/dist/components/ResourceCard/style.es.js +22 -22
  153. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  154. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  155. package/dist/components/TreeView/TreeView.cjs.js +5 -5
  156. package/dist/components/TreeView/TreeView.es.js +15 -13
  157. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  158. package/dist/components/TreeView/components/CustomTreeItem.es.js +4 -3
  159. package/dist/components/TreeView/utils.cjs.js +1 -1
  160. package/dist/components/TreeView/utils.es.js +3 -3
  161. package/dist/components/index.cjs.js +1 -1
  162. package/dist/components/index.d.ts +19 -0
  163. package/dist/components/index.es.js +404 -373
  164. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  165. package/dist/components/stories/Alert.stories.es.js +1 -1
  166. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  167. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  168. package/dist/components/stories/Button.stories.cjs.js +1 -1
  169. package/dist/components/stories/Button.stories.es.js +1 -1
  170. package/dist/components/stories/Card.stories.cjs.js +1 -1
  171. package/dist/components/stories/Card.stories.es.js +2 -2
  172. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  173. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  174. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  175. package/dist/components/stories/Chip.stories.es.js +1 -1
  176. package/dist/components/stories/ColoPicker.stories.cjs.js +1 -0
  177. package/dist/components/stories/ColoPicker.stories.d.ts +6 -0
  178. package/dist/components/stories/ColoPicker.stories.es.js +23 -0
  179. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  180. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  181. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  182. package/dist/components/stories/Dialog.stories.es.js +2 -2
  183. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  184. package/dist/components/stories/Divider.stories.es.js +1 -1
  185. package/dist/components/stories/EmptyState.stories.cjs.js +1 -1
  186. package/dist/components/stories/EmptyState.stories.es.js +1 -1
  187. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  188. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  189. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  190. package/dist/components/stories/Heading.stories.es.js +2 -2
  191. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  192. package/dist/components/stories/IconButton.stories.es.js +2 -2
  193. package/dist/components/stories/Link.stories.cjs.js +1 -1
  194. package/dist/components/stories/Link.stories.es.js +1 -1
  195. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  196. package/dist/components/stories/Menu.stories.es.js +2 -2
  197. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  198. package/dist/components/stories/Paper.stories.es.js +1 -1
  199. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  200. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  201. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  202. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  203. package/dist/components/stories/Select.stories.cjs.js +1 -1
  204. package/dist/components/stories/Select.stories.es.js +3 -3
  205. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  206. package/dist/components/stories/TabList.stories.es.js +1 -1
  207. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  208. package/dist/components/stories/TextField.stories.es.js +1 -1
  209. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  210. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  211. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  212. package/dist/components/stories/TreeView.stories.es.js +29 -29
  213. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  214. package/dist/components/stories/Typography.stories.es.js +1 -1
  215. package/dist/composeClasses-CJKlIaRn.js +51 -0
  216. package/dist/composeClasses-CWgX5SFD.cjs +1 -0
  217. package/dist/createSvgIcon-BgBODH2F.cjs +1 -0
  218. package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-BlKmtOkV.js} +48 -47
  219. package/dist/{dividerClasses-BtzbOVqV.cjs → dividerClasses-D3gnW6kZ.cjs} +1 -1
  220. package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-Glz8RJdF.js} +1 -1
  221. package/dist/elementTypeAcceptingRef-BwZv9xBI.cjs +1 -0
  222. package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DOeckaXy.js} +1 -1
  223. package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BouzOuB6.js} +1 -1
  224. package/dist/{extendSxProp-BKP1AeGz.cjs → extendSxProp-Cm-DtZe3.cjs} +1 -1
  225. package/dist/generateUtilityClasses-CMlilM6r.cjs +55 -0
  226. package/dist/generateUtilityClasses-DngCqveO.js +2628 -0
  227. package/dist/getReactElementRef-EVJnBPlV.cjs +1 -0
  228. package/dist/{getReactElementRef-CD3_Stk5.js → getReactElementRef-H8kwrWP1.js} +1 -1
  229. package/dist/hooks/lazySvgImport.cjs.js +1 -1
  230. package/dist/hooks/lazySvgImport.es.js +1 -1
  231. package/dist/index-BzsuDIEl.cjs +1 -0
  232. package/dist/{index-CDLJvERp.js → index-CX0sAlmK.js} +2 -2
  233. package/dist/index-CrINMjCH.cjs +1 -0
  234. package/dist/index-DIyAQH20.cjs +5 -0
  235. package/dist/index-DLnSn8GT.cjs +20 -0
  236. package/dist/{index-JOgYmUF8.js → index-DX2Sl0Ig.js} +1 -1
  237. package/dist/index-Sy88PpwE.js +672 -0
  238. package/dist/{index-CoYVLWJY.js → index-l8yqod25.js} +14 -13
  239. package/dist/index.cjs.js +1 -1
  240. package/dist/index.es.js +404 -373
  241. package/dist/{listItemTextClasses-DePeZNtZ.cjs → listItemTextClasses-BJFgw1ah.cjs} +1 -1
  242. package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-BRj19IXv.js} +1 -1
  243. package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-BAbn60Cb.cjs} +1 -1
  244. package/dist/{memoTheme-44McxcVZ.js → memoTheme-nmt7i1dS.js} +1 -1
  245. package/dist/mergeSlotProps-BBciKnr4.js +62 -0
  246. package/dist/mergeSlotProps-Z5-o9vSe.cjs +1 -0
  247. package/dist/refType-B_IEJm4x.cjs +1 -0
  248. package/dist/{refType-DsRJ5_Sj.js → refType-Dp7CJc86.js} +1 -1
  249. package/dist/server-error-CqyYyPLN.cjs +1 -0
  250. package/dist/{server-error-DMyaPFs8.js → server-error-CvgIy7ap.js} +1 -3
  251. package/dist/useEventCallback-BxpcFap0.cjs +1 -0
  252. package/dist/useEventCallback-Yoj9nCug.js +15 -0
  253. package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
  254. package/dist/useForkRef-u29GSuCu.js +27 -0
  255. package/dist/useSlot-BDb1lvxu.js +125 -0
  256. package/dist/useSlot-W0PiuVaZ.cjs +1 -0
  257. package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-B_D8u0j-.js} +2 -2
  258. package/dist/useSlotProps-OhEflPiz.cjs +1 -0
  259. package/dist/useTheme-C59wIJ3-.js +11 -0
  260. package/dist/{useTheme-DpMakc_Y.cjs → useTheme-ClhInrO2.cjs} +1 -1
  261. package/dist/{useTheme-CCi6a5Vl.cjs → useTheme-CqYtLDbs.cjs} +1 -1
  262. package/dist/{useTheme-C2OE_AnH.js → useTheme-D9cVynB-.js} +1 -1
  263. package/dist/useThemeProps-BFQ8ndnj.js +17 -0
  264. package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-DQOn-ezC.cjs} +1 -1
  265. package/dist/useThemeProps-DYpozGhe.cjs +1 -0
  266. package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-ggw56DH-.js} +2 -2
  267. package/dist/{utils-DFLaK7Ad.js → utils-BQenyzDz.js} +1 -1
  268. package/dist/utils-ByXw_ZY1.cjs +1 -0
  269. package/dist/warning-C8W811fV.js +11 -0
  270. package/dist/warning-DMUNDgRg.cjs +2 -0
  271. package/package.json +12 -10
  272. package/dist/Alert-Dg5u5Z7d.cjs +0 -1
  273. package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
  274. package/dist/Backdrop-BrTs3LxC.cjs +0 -1
  275. package/dist/Box-CFuWIdLg.cjs +0 -1
  276. package/dist/Button-C7tsSPXV.cjs +0 -1
  277. package/dist/ButtonBase-CBFRgTBs.cjs +0 -74
  278. package/dist/CardContent-BRUkl8hU.cjs +0 -1
  279. package/dist/Checkbox-C_wSNEHD.cjs +0 -1
  280. package/dist/Chip-DUeBMcO4.cjs +0 -1
  281. package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
  282. package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
  283. package/dist/DatePicker-BYPJypQT.cjs +0 -14
  284. package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
  285. package/dist/Dialog-DOXpPT7S.cjs +0 -1
  286. package/dist/DialogContent-BoIE95Tg.cjs +0 -1
  287. package/dist/DialogTitle-B_am69Lr.cjs +0 -1
  288. package/dist/Divider-Nyl7rx-c.cjs +0 -1
  289. package/dist/FormLabel-D4O160ND.cjs +0 -2
  290. package/dist/Grow-DKA2Mfhu.cjs +0 -1
  291. package/dist/IconButton-CGfKAsNI.cjs +0 -2
  292. package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
  293. package/dist/InputBase-BIf-xtMJ.cjs +0 -3
  294. package/dist/Link-CS0qbKjo.cjs +0 -1
  295. package/dist/List-T5dKKWkc.cjs +0 -1
  296. package/dist/ListItem-BN7OXyEP.cjs +0 -1
  297. package/dist/ListItemText-6gXRtF3r.cjs +0 -1
  298. package/dist/ListItemText-afV0BrJL.js +0 -928
  299. package/dist/Menu-D6dHPVP_.cjs +0 -7
  300. package/dist/MenuItem-DOVsV_vI.cjs +0 -1
  301. package/dist/Modal-B8xPmNJd.cjs +0 -2
  302. package/dist/Paper-owda8LtM.cjs +0 -2
  303. package/dist/Popper-DMGJYlm7.cjs +0 -4
  304. package/dist/Portal-BKVc0iys.js +0 -81
  305. package/dist/Portal-CgaP8O8B.cjs +0 -1
  306. package/dist/Radio-OUfsD89D.cjs +0 -1
  307. package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
  308. package/dist/Select-CUlunaOr.cjs +0 -3
  309. package/dist/Stack-D5_1ZBcn.cjs +0 -1
  310. package/dist/Switch-DpdnFebj.cjs +0 -1
  311. package/dist/SwitchBase-BsP35Aas.js +0 -262
  312. package/dist/SwitchBase-DMGf52a3.cjs +0 -1
  313. package/dist/Tab-DZvAf79O.cjs +0 -4
  314. package/dist/TextField-C0KpyS6X.cjs +0 -1
  315. package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
  316. package/dist/Tooltip-BljbhP1z.cjs +0 -4
  317. package/dist/Typography-yvyJLNFu.cjs +0 -1
  318. package/dist/client-error-BUtdld5f.cjs +0 -1
  319. package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
  320. package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
  321. package/dist/generateUtilityClasses-BpRGbQmY.js +0 -3299
  322. package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
  323. package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
  324. package/dist/index-Bt7ukCXi.cjs +0 -5
  325. package/dist/index-DCpyECL4.cjs +0 -1
  326. package/dist/index-baZm35zL.cjs +0 -1
  327. package/dist/refType-DDdajp2p.cjs +0 -1
  328. package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
  329. package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
  330. package/dist/server-error-CeAtUo4S.cjs +0 -1
  331. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
  332. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  333. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  334. package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
  335. package/dist/useForkRef-CTI33h-3.cjs +0 -1
  336. package/dist/useForkRef-C_4o__cU.js +0 -15
  337. package/dist/useSlot-CSTfsYPJ.cjs +0 -1
  338. package/dist/useSlot-CYOxsM2I.js +0 -48
  339. package/dist/useSlotProps-DTgWZk99.cjs +0 -1
  340. package/dist/useTheme-BDL2rp7a.js +0 -11
  341. package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
  342. package/dist/useThemeProps-DjkGUV8r.js +0 -17
  343. package/dist/utils-Cn6wZNus.cjs +0 -1
@@ -1,24 +1,25 @@
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";
1
+ import * as l from "react";
2
+ import { P as e } from "./index-Sy88PpwE.js";
3
+ import { F as Ae, G as Be, H as pe, I as He } from "./generateUtilityClasses-DngCqveO.js";
4
+ import { i as fe } from "./isHostComponent-kiaBvYVo.js";
4
5
  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";
14
- 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;
6
+ import { u as Pe, F as We } from "./useFormControl-CatNKXAi.js";
7
+ import { g as De } from "./index-l8yqod25.js";
8
+ import { m as ge } from "./memoTheme-nmt7i1dS.js";
9
+ import { i as Le } from "./utils-DWqc1kRF.js";
10
+ import { jsxs as X, jsx as A } from "react/jsx-runtime";
11
+ import { u as je, s as ve, c as Ue } from "./DefaultPropsProvider-hFv1J_xl.js";
12
+ import { u as we } from "./useForkRef-u29GSuCu.js";
13
+ import { u as Ve, a as ee } from "./useEventCallback-Yoj9nCug.js";
14
+ import { o as me } from "./ownerWindow-niciwP7I.js";
15
+ import { d as _e } from "./debounce-46wSf_lW.js";
16
+ import { c as oe } from "./capitalize-BHFotl9B.js";
17
+ import { r as $e } from "./refType-Dp7CJc86.js";
18
+ import { e as Ge } from "./elementTypeAcceptingRef-DOeckaXy.js";
19
+ function L(t) {
20
+ return parseInt(t, 10) || 0;
20
21
  }
21
- const $e = {
22
+ const Ke = {
22
23
  shadow: {
23
24
  // Visibility needed to hide the extra text area on iPads
24
25
  visibility: "hidden",
@@ -33,89 +34,95 @@ const $e = {
33
34
  transform: "translateZ(0)"
34
35
  }
35
36
  };
36
- function Ge(n) {
37
- for (const o in n)
37
+ function qe(t) {
38
+ for (const o in t)
38
39
  return !1;
39
40
  return !0;
40
41
  }
41
- function Ke(n) {
42
- return Ge(n) || n.outerHeightStyle === 0 && !n.overflowing;
42
+ function he(t) {
43
+ return qe(t) || t.outerHeightStyle === 0 && !t.overflowing;
43
44
  }
44
- const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
45
+ const Se = /* @__PURE__ */ l.forwardRef(function(o, n) {
45
46
  const {
46
47
  onChange: d,
47
- maxRows: f,
48
+ maxRows: m,
48
49
  minRows: c = 1,
49
50
  style: R,
50
51
  value: T,
51
- ...F
52
+ ...B
52
53
  } = 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)
54
+ current: S
55
+ } = l.useRef(T != null), p = l.useRef(null), O = we(n, p), f = l.useRef(null), x = l.useRef(null), g = l.useCallback(() => {
56
+ const r = p.current, i = x.current;
57
+ if (!r || !i)
57
58
  return;
58
- const u = fe(l).getComputedStyle(l);
59
+ const u = me(r).getComputedStyle(r);
59
60
  if (u.width === "0px")
60
61
  return {
61
62
  outerHeightStyle: 0,
62
63
  overflowing: !1
63
64
  };
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;
65
+ i.style.width = u.width, i.value = r.value || o.placeholder || "x", i.value.slice(-1) === `
66
+ ` && (i.value += " ");
67
+ const H = u.boxSizing, M = L(u.paddingBottom) + L(u.paddingTop), U = L(u.borderBottomWidth) + L(u.borderTopWidth), w = i.scrollHeight;
68
+ i.value = "x";
69
+ const E = i.scrollHeight;
70
+ let h = w;
71
+ c && (h = Math.max(Number(c) * E, h)), m && (h = Math.min(Number(m) * E, h)), h = Math.max(h, E);
72
+ const P = h + (H === "border-box" ? M + U : 0), V = Math.abs(h - w) <= 1;
72
73
  return {
73
74
  outerHeightStyle: P,
74
- overflowing: W
75
+ overflowing: V
75
76
  };
76
- }, [f, c, o.placeholder]), x = s.useCallback(() => {
77
- const l = p.current, t = w();
78
- if (!l || !t || Ke(t))
77
+ }, [m, c, o.placeholder]), z = Ve(() => {
78
+ const r = p.current, i = g();
79
+ if (!r || !i || he(i))
80
+ return !1;
81
+ const y = i.outerHeightStyle;
82
+ return f.current != null && f.current !== y;
83
+ }), C = l.useCallback(() => {
84
+ const r = p.current, i = g();
85
+ if (!r || !i || he(i))
79
86
  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)
87
+ const y = i.outerHeightStyle;
88
+ f.current !== y && (f.current = y, r.style.height = `${y}px`), r.style.overflow = i.overflowing ? "hidden" : "";
89
+ }, [g]), F = l.useRef(-1);
90
+ ee(() => {
91
+ const r = _e(C), i = p == null ? void 0 : p.current;
92
+ if (!i)
86
93
  return;
87
- const y = fe(t);
88
- y.addEventListener("resize", l);
94
+ const y = me(i);
95
+ y.addEventListener("resize", r);
89
96
  let u;
90
97
  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();
98
+ z() && (u.unobserve(i), cancelAnimationFrame(F.current), C(), F.current = requestAnimationFrame(() => {
99
+ u.observe(i);
100
+ }));
101
+ }), u.observe(i)), () => {
102
+ r.clear(), cancelAnimationFrame(F.current), y.removeEventListener("resize", r), u && u.disconnect();
96
103
  };
97
- }, [w, x]), X(() => {
98
- x();
104
+ }, [g, C, z]), ee(() => {
105
+ C();
99
106
  });
100
- const U = (l) => {
101
- C || x(), d && d(l);
107
+ const j = (r) => {
108
+ S || C(), d && d(r);
102
109
  };
103
- return /* @__PURE__ */ Q(s.Fragment, {
110
+ return /* @__PURE__ */ X(l.Fragment, {
104
111
  children: [/* @__PURE__ */ A("textarea", {
105
112
  value: T,
106
- onChange: U,
113
+ onChange: j,
107
114
  ref: O,
108
115
  rows: c,
109
116
  style: R,
110
- ...F
117
+ ...B
111
118
  }), /* @__PURE__ */ A("textarea", {
112
119
  "aria-hidden": !0,
113
120
  className: o.className,
114
121
  readOnly: !0,
115
- ref: S,
122
+ ref: x,
116
123
  tabIndex: -1,
117
124
  style: {
118
- ...$e.shadow,
125
+ ...Ke.shadow,
119
126
  ...R,
120
127
  paddingTop: 0,
121
128
  paddingBottom: 0
@@ -123,7 +130,7 @@ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
123
130
  })]
124
131
  });
125
132
  });
126
- process.env.NODE_ENV !== "production" && (ve.propTypes = {
133
+ process.env.NODE_ENV !== "production" && (Se.propTypes = {
127
134
  // ┌────────────────────────────── Warning ──────────────────────────────┐
128
135
  // │ These PropTypes are generated from the TypeScript type definitions. │
129
136
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -158,51 +165,51 @@ process.env.NODE_ENV !== "production" && (ve.propTypes = {
158
165
  */
159
166
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
160
167
  });
161
- function qe(n) {
162
- return ke("MuiInputBase", n);
168
+ function Ye(t) {
169
+ return Be("MuiInputBase", t);
163
170
  }
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) => {
171
+ const te = Ae("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
172
+ var be;
173
+ const Ze = (t, o) => {
167
174
  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) => {
175
+ ownerState: n
176
+ } = t;
177
+ 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${oe(n.color)}`], n.fullWidth && o.fullWidth, n.hiddenLabel && o.hiddenLabel];
178
+ }, Je = (t, o) => {
172
179
  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) => {
180
+ ownerState: n
181
+ } = t;
182
+ 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];
183
+ }, Qe = (t) => {
177
184
  const {
178
185
  classes: o,
179
- color: r,
186
+ color: n,
180
187
  disabled: d,
181
- error: f,
188
+ error: m,
182
189
  endAdornment: c,
183
190
  focused: R,
184
191
  formControl: T,
185
- fullWidth: F,
186
- hiddenLabel: C,
192
+ fullWidth: B,
193
+ hiddenLabel: S,
187
194
  multiline: p,
188
195
  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"]
196
+ size: f,
197
+ startAdornment: x,
198
+ type: g
199
+ } = t, z = {
200
+ root: ["root", `color${oe(n)}`, d && "disabled", m && "error", B && "fullWidth", R && "focused", T && "formControl", f && f !== "medium" && `size${oe(f)}`, p && "multiline", x && "adornedStart", c && "adornedEnd", S && "hiddenLabel", O && "readOnly"],
201
+ input: ["input", d && "disabled", g === "search" && "inputTypeSearch", p && "inputMultiline", f === "small" && "inputSizeSmall", S && "inputHiddenLabel", x && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
195
202
  };
196
- return je(x, qe, o);
197
- }, Qe = ye("div", {
203
+ return Ue(z, Ye, o);
204
+ }, Xe = ve("div", {
198
205
  name: "MuiInputBase",
199
206
  slot: "Root",
200
- overridesResolver: Ye
201
- })(be(({
202
- theme: n
207
+ overridesResolver: Ze
208
+ })(ge(({
209
+ theme: t
203
210
  }) => ({
204
- ...n.typography.body1,
205
- color: (n.vars || n).palette.text.primary,
211
+ ...t.typography.body1,
212
+ color: (t.vars || t).palette.text.primary,
206
213
  lineHeight: "1.4375em",
207
214
  // 23px
208
215
  boxSizing: "border-box",
@@ -211,8 +218,8 @@ const Ye = (n, o) => {
211
218
  cursor: "text",
212
219
  display: "inline-flex",
213
220
  alignItems: "center",
214
- [`&.${oe.disabled}`]: {
215
- color: (n.vars || n).palette.text.disabled,
221
+ [`&.${te.disabled}`]: {
222
+ color: (t.vars || t).palette.text.disabled,
216
223
  cursor: "default"
217
224
  },
218
225
  variants: [{
@@ -225,8 +232,8 @@ const Ye = (n, o) => {
225
232
  }, {
226
233
  props: ({
227
234
  ownerState: o,
228
- size: r
229
- }) => o.multiline && r === "small",
235
+ size: n
236
+ }) => o.multiline && n === "small",
230
237
  style: {
231
238
  paddingTop: 1
232
239
  }
@@ -238,27 +245,27 @@ const Ye = (n, o) => {
238
245
  width: "100%"
239
246
  }
240
247
  }]
241
- }))), Xe = ye("input", {
248
+ }))), eo = ve("input", {
242
249
  name: "MuiInputBase",
243
250
  slot: "Input",
244
251
  overridesResolver: Je
245
- })(be(({
246
- theme: n
252
+ })(ge(({
253
+ theme: t
247
254
  }) => {
248
- const o = n.palette.mode === "light", r = {
255
+ const o = t.palette.mode === "light", n = {
249
256
  color: "currentColor",
250
- ...n.vars ? {
251
- opacity: n.vars.opacity.inputPlaceholder
257
+ ...t.vars ? {
258
+ opacity: t.vars.opacity.inputPlaceholder
252
259
  } : {
253
260
  opacity: o ? 0.42 : 0.5
254
261
  },
255
- transition: n.transitions.create("opacity", {
256
- duration: n.transitions.duration.shorter
262
+ transition: t.transitions.create("opacity", {
263
+ duration: t.transitions.duration.shorter
257
264
  })
258
265
  }, d = {
259
266
  opacity: "0 !important"
260
- }, f = n.vars ? {
261
- opacity: n.vars.opacity.inputPlaceholder
267
+ }, m = t.vars ? {
268
+ opacity: t.vars.opacity.inputPlaceholder
262
269
  } : {
263
270
  opacity: o ? 0.42 : 0.5
264
271
  };
@@ -279,10 +286,10 @@ const Ye = (n, o) => {
279
286
  // Make the flex item shrink with Firefox
280
287
  minWidth: 0,
281
288
  width: "100%",
282
- "&::-webkit-input-placeholder": r,
283
- "&::-moz-placeholder": r,
289
+ "&::-webkit-input-placeholder": n,
290
+ "&::-moz-placeholder": n,
284
291
  // Firefox 19+
285
- "&::-ms-input-placeholder": r,
292
+ "&::-ms-input-placeholder": n,
286
293
  // Edge
287
294
  "&:focus": {
288
295
  outline: 0
@@ -296,22 +303,22 @@ const Ye = (n, o) => {
296
303
  WebkitAppearance: "none"
297
304
  },
298
305
  // Show and hide the placeholder logic
299
- [`label[data-shrink=false] + .${oe.formControl} &`]: {
306
+ [`label[data-shrink=false] + .${te.formControl} &`]: {
300
307
  "&::-webkit-input-placeholder": d,
301
308
  "&::-moz-placeholder": d,
302
309
  // Firefox 19+
303
310
  "&::-ms-input-placeholder": d,
304
311
  // Edge
305
- "&:focus::-webkit-input-placeholder": f,
306
- "&:focus::-moz-placeholder": f,
312
+ "&:focus::-webkit-input-placeholder": m,
313
+ "&:focus::-moz-placeholder": m,
307
314
  // Firefox 19+
308
- "&:focus::-ms-input-placeholder": f
315
+ "&:focus::-ms-input-placeholder": m
309
316
  // Edge
310
317
  },
311
- [`&.${oe.disabled}`]: {
318
+ [`&.${te.disabled}`]: {
312
319
  opacity: 1,
313
320
  // Reset iOS opacity
314
- WebkitTextFillColor: (n.vars || n).palette.text.disabled
321
+ WebkitTextFillColor: (t.vars || t).palette.text.disabled
315
322
  // Fix opacity Safari bug
316
323
  },
317
324
  variants: [{
@@ -353,7 +360,7 @@ const Ye = (n, o) => {
353
360
  }
354
361
  }]
355
362
  };
356
- })), he = We({
363
+ })), ye = De({
357
364
  "@keyframes mui-auto-fill": {
358
365
  from: {
359
366
  display: "block"
@@ -364,192 +371,192 @@ const Ye = (n, o) => {
364
371
  display: "block"
365
372
  }
366
373
  }
367
- }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
368
- const d = Le({
374
+ }), oo = /* @__PURE__ */ l.forwardRef(function(o, n) {
375
+ const d = je({
369
376
  props: o,
370
377
  name: "MuiInputBase"
371
378
  }), {
372
- "aria-describedby": f,
379
+ "aria-describedby": m,
373
380
  autoComplete: c,
374
381
  autoFocus: R,
375
382
  className: T,
376
- color: F,
377
- components: C = {},
383
+ color: B,
384
+ components: S = {},
378
385
  componentsProps: p = {},
379
386
  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,
387
+ disabled: f,
388
+ disableInjectingGlobalStyles: x,
389
+ endAdornment: g,
390
+ error: z,
391
+ fullWidth: C = !1,
392
+ id: F,
393
+ inputComponent: j = "input",
394
+ inputProps: r = {},
395
+ inputRef: i,
396
+ margin: y,
397
+ maxRows: u,
398
+ minRows: H,
392
399
  multiline: M = !1,
393
- name: H,
394
- onBlur: g,
395
- onChange: m,
396
- onClick: P,
397
- onFocus: W,
398
- onKeyDown: we,
400
+ name: U,
401
+ onBlur: w,
402
+ onChange: E,
403
+ onClick: h,
404
+ onFocus: P,
405
+ onKeyDown: V,
399
406
  onKeyUp: xe,
400
407
  placeholder: Ce,
401
- readOnly: V,
408
+ readOnly: _,
402
409
  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(`
410
+ rows: W,
411
+ size: to,
412
+ slotProps: re = {},
413
+ slots: ie = {},
414
+ startAdornment: N,
415
+ type: ae = "text",
416
+ value: Re,
417
+ ...Te
418
+ } = d, D = r.value != null ? r.value : Re, {
419
+ current: $
420
+ } = l.useRef(D != null), I = l.useRef(), Oe = l.useCallback((a) => {
421
+ 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
422
  `));
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({
423
+ }, []), Ee = we(I, i, r.ref, Oe), [G, K] = l.useState(!1), s = Pe();
424
+ process.env.NODE_ENV !== "production" && l.useEffect(() => {
425
+ if (s)
426
+ return s.registerEffect();
427
+ }, [s]);
428
+ const b = Me({
422
429
  props: d,
423
- muiFormControl: a,
430
+ muiFormControl: s,
424
431
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
425
432
  });
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
433
+ b.focused = s ? s.focused : G, l.useEffect(() => {
434
+ !s && f && G && (K(!1), w && w());
435
+ }, [s, f, G, w]);
436
+ const q = s && s.onFilled, Y = s && s.onEmpty, k = l.useCallback((a) => {
437
+ Le(a) ? q && q() : Y && Y();
438
+ }, [q, Y]);
439
+ ee(() => {
440
+ $ && k({
441
+ value: D
435
442
  });
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
443
+ }, [D, k, $]);
444
+ const Ie = (a) => {
445
+ P && P(a), r.onFocus && r.onFocus(a), s && s.onFocus ? s.onFocus(a) : K(!0);
446
+ }, ze = (a) => {
447
+ w && w(a), r.onBlur && r.onBlur(a), s && s.onBlur ? s.onBlur(a) : K(!1);
448
+ }, Fe = (a, ...de) => {
449
+ if (!$) {
450
+ const ce = a.target || I.current;
451
+ if (ce == null)
452
+ 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));
453
+ k({
454
+ value: ce.value
448
455
  });
449
456
  }
450
- t.onChange && t.onChange(i, ...ue), m && m(i, ...ue);
457
+ r.onChange && r.onChange(a, ...de), E && E(a, ...de);
451
458
  };
452
- s.useEffect(() => {
453
- N(I.current);
459
+ l.useEffect(() => {
460
+ k(I.current);
454
461
  }, []);
455
- const Ne = (i) => {
456
- I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
462
+ const Ne = (a) => {
463
+ I.current && a.currentTarget === a.target && I.current.focus(), h && h(a);
457
464
  };
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 = {
465
+ let Z = j, v = r;
466
+ 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
467
  type: void 0,
461
- minRows: D,
462
- maxRows: D,
468
+ minRows: W,
469
+ maxRows: W,
463
470
  ...v
464
471
  }) : v = {
465
472
  type: void 0,
466
- maxRows: k,
467
- minRows: B,
473
+ maxRows: u,
474
+ minRows: H,
468
475
  ...v
469
- }, Y = ve);
470
- const Ae = (i) => {
471
- N(i.animationName === "mui-auto-fill-cancel" ? I.current : {
476
+ }, Z = Se);
477
+ const ke = (a) => {
478
+ k(a.animationName === "mui-auto-fill-cancel" ? I.current : {
472
479
  value: "x"
473
480
  });
474
481
  };
475
- s.useEffect(() => {
476
- a && a.setAdornedStart(!!z);
477
- }, [a, z]);
482
+ l.useEffect(() => {
483
+ s && s.setAdornedStart(!!N);
484
+ }, [s, N]);
478
485
  const J = {
479
486
  ...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,
487
+ color: b.color || "primary",
488
+ disabled: b.disabled,
489
+ endAdornment: g,
490
+ error: b.error,
491
+ focused: b.focused,
492
+ formControl: s,
493
+ fullWidth: C,
494
+ hiddenLabel: b.hiddenLabel,
488
495
  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;
496
+ size: b.size,
497
+ startAdornment: N,
498
+ type: ae
499
+ }, se = Qe(J), le = ie.root || S.Root || Xe, Q = re.root || p.root || {}, ue = ie.input || S.Input || eo;
493
500
  return v = {
494
501
  ...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
502
+ ...re.input ?? p.input
503
+ }, /* @__PURE__ */ X(l.Fragment, {
504
+ children: [!x && typeof ye == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
498
505
  // 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,
506
+ (be || (be = /* @__PURE__ */ A(ye, {}))), /* @__PURE__ */ X(le, {
507
+ ...Q,
508
+ ref: n,
502
509
  onClick: Ne,
503
- ...Re,
504
- ...!pe(se) && {
510
+ ...Te,
511
+ ...!fe(le) && {
505
512
  ownerState: {
506
513
  ...J,
507
- ...Z.ownerState
514
+ ...Q.ownerState
508
515
  }
509
516
  },
510
- className: ce(ae.root, Z.className, T, V && "MuiInputBase-readOnly"),
511
- children: [z, /* @__PURE__ */ A(Pe.Provider, {
517
+ className: pe(se.root, Q.className, T, _ && "MuiInputBase-readOnly"),
518
+ children: [N, /* @__PURE__ */ A(We.Provider, {
512
519
  value: null,
513
- children: /* @__PURE__ */ A(le, {
514
- "aria-invalid": h.error,
515
- "aria-describedby": f,
520
+ children: /* @__PURE__ */ A(ue, {
521
+ "aria-invalid": b.error,
522
+ "aria-describedby": m,
516
523
  autoComplete: c,
517
524
  autoFocus: R,
518
525
  defaultValue: O,
519
- disabled: h.disabled,
520
- id: U,
521
- onAnimationStart: Ae,
522
- name: H,
526
+ disabled: b.disabled,
527
+ id: F,
528
+ onAnimationStart: ke,
529
+ name: U,
523
530
  placeholder: Ce,
524
- readOnly: V,
525
- required: h.required,
526
- rows: D,
527
- value: L,
528
- onKeyDown: we,
531
+ readOnly: _,
532
+ required: b.required,
533
+ rows: W,
534
+ value: D,
535
+ onKeyDown: V,
529
536
  onKeyUp: xe,
530
- type: ie,
537
+ type: ae,
531
538
  ...v,
532
- ...!pe(le) && {
533
- as: Y,
539
+ ...!fe(ue) && {
540
+ as: Z,
534
541
  ownerState: {
535
542
  ...J,
536
543
  ...v.ownerState
537
544
  }
538
545
  },
539
- ref: Oe,
540
- className: ce(ae.input, v.className, V && "MuiInputBase-readOnly"),
541
- onBlur: Ee,
542
- onChange: ze,
546
+ ref: Ee,
547
+ className: pe(se.input, v.className, _ && "MuiInputBase-readOnly"),
548
+ onBlur: ze,
549
+ onChange: Fe,
543
550
  onFocus: Ie
544
551
  })
545
- }), w, ne ? ne({
546
- ...h,
547
- startAdornment: z
552
+ }), g, ne ? ne({
553
+ ...b,
554
+ startAdornment: N
548
555
  }) : null]
549
556
  })]
550
557
  });
551
558
  });
552
- process.env.NODE_ENV !== "production" && (eo.propTypes = {
559
+ process.env.NODE_ENV !== "production" && (oo.propTypes = {
553
560
  // ┌────────────────────────────── Warning ──────────────────────────────┐
554
561
  // │ These PropTypes are generated from the TypeScript type definitions. │
555
562
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -586,7 +593,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
586
593
  /**
587
594
  * The components used for each slot inside.
588
595
  *
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.
596
+ * @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
597
  *
591
598
  * @default {}
592
599
  */
@@ -598,7 +605,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
598
605
  * The extra props for the slot components.
599
606
  * You can override the existing props or add new ones.
600
607
  *
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.
608
+ * @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
609
  *
603
610
  * @default {}
604
611
  */
@@ -644,7 +651,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
644
651
  * Either a string to use a HTML element or a component.
645
652
  * @default 'input'
646
653
  */
647
- inputComponent: _e,
654
+ inputComponent: Ge,
648
655
  /**
649
656
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
650
657
  * @default {}
@@ -653,7 +660,7 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
653
660
  /**
654
661
  * Pass a ref to the `input` element.
655
662
  */
656
- inputRef: Ve,
663
+ inputRef: $e,
657
664
  /**
658
665
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
659
666
  * FormControl.
@@ -778,10 +785,10 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
778
785
  value: e.any
779
786
  });
780
787
  export {
781
- eo as I,
782
- Qe as a,
783
- Xe as b,
788
+ oo as I,
789
+ Xe as a,
790
+ eo as b,
784
791
  Je as c,
785
- oe as i,
786
- Ye as r
792
+ te as i,
793
+ Ze as r
787
794
  };