@mui/material 7.0.0 → 7.0.2

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 (794) hide show
  1. package/Accordion/Accordion.d.ts +2 -2
  2. package/Accordion/Accordion.js +2 -2
  3. package/Alert/Alert.d.ts +2 -2
  4. package/Alert/Alert.js +2 -2
  5. package/Autocomplete/Autocomplete.d.ts +40 -10
  6. package/Autocomplete/Autocomplete.js +45 -33
  7. package/Avatar/Avatar.d.ts +1 -1
  8. package/Avatar/Avatar.js +1 -1
  9. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  10. package/AvatarGroup/AvatarGroup.js +11 -3
  11. package/Backdrop/Backdrop.d.ts +3 -3
  12. package/Backdrop/Backdrop.js +3 -3
  13. package/Badge/Badge.d.ts +2 -2
  14. package/Badge/Badge.js +2 -2
  15. package/Button/Button.js +1 -1
  16. package/CHANGELOG.md +100 -0
  17. package/CardHeader/CardHeader.d.ts +2 -2
  18. package/CardHeader/CardHeader.js +2 -2
  19. package/Checkbox/Checkbox.js +1 -1
  20. package/Dialog/Dialog.d.ts +3 -3
  21. package/Dialog/Dialog.js +3 -3
  22. package/Dialog/dialogClasses.d.ts +6 -2
  23. package/Drawer/Drawer.d.ts +2 -2
  24. package/Drawer/Drawer.js +2 -2
  25. package/Fab/Fab.js +1 -1
  26. package/FilledInput/FilledInput.js +2 -2
  27. package/FormControlLabel/FormControlLabel.d.ts +1 -1
  28. package/FormControlLabel/FormControlLabel.js +1 -1
  29. package/IconButton/IconButton.js +1 -1
  30. package/Input/Input.js +2 -2
  31. package/InputBase/InputBase.d.ts +2 -2
  32. package/InputBase/InputBase.js +2 -2
  33. package/ListItem/ListItem.d.ts +4 -4
  34. package/ListItem/ListItem.js +6 -6
  35. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  36. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  37. package/ListItemText/ListItemText.d.ts +2 -2
  38. package/ListItemText/ListItemText.js +2 -2
  39. package/Menu/Menu.d.ts +2 -2
  40. package/Menu/Menu.js +2 -2
  41. package/MobileStepper/MobileStepper.d.ts +1 -1
  42. package/MobileStepper/MobileStepper.js +1 -1
  43. package/Modal/Modal.d.ts +2 -2
  44. package/Modal/Modal.js +2 -2
  45. package/OutlinedInput/OutlinedInput.js +1 -1
  46. package/PaginationItem/PaginationItem.d.ts +1 -1
  47. package/PaginationItem/PaginationItem.js +1 -1
  48. package/Popover/Popover.d.ts +5 -5
  49. package/Popover/Popover.js +5 -5
  50. package/Popper/Popper.d.ts +2 -2
  51. package/Popper/Popper.js +2 -2
  52. package/Radio/Radio.js +2 -2
  53. package/Rating/Rating.d.ts +1 -1
  54. package/Rating/Rating.js +1 -1
  55. package/Slider/Slider.d.ts +2 -2
  56. package/Slider/Slider.js +2 -2
  57. package/Snackbar/Snackbar.d.ts +4 -4
  58. package/Snackbar/Snackbar.js +4 -4
  59. package/SpeedDial/SpeedDial.d.ts +2 -2
  60. package/SpeedDial/SpeedDial.js +2 -2
  61. package/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  62. package/SpeedDialAction/SpeedDialAction.js +5 -5
  63. package/StepContent/StepContent.d.ts +2 -2
  64. package/StepContent/StepContent.js +2 -2
  65. package/StepLabel/StepLabel.d.ts +3 -3
  66. package/StepLabel/StepLabel.js +3 -3
  67. package/SvgIcon/SvgIcon.d.ts +1 -1
  68. package/SvgIcon/SvgIcon.js +1 -1
  69. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  70. package/SwipeableDrawer/SwipeableDrawer.js +1 -1
  71. package/Switch/Switch.js +2 -2
  72. package/Tabs/Tabs.d.ts +3 -3
  73. package/Tabs/Tabs.js +3 -3
  74. package/TextField/TextField.d.ts +7 -7
  75. package/TextField/TextField.js +5 -5
  76. package/Tooltip/Tooltip.d.ts +7 -7
  77. package/Tooltip/Tooltip.js +6 -6
  78. package/Typography/Typography.d.ts +1 -1
  79. package/Typography/Typography.js +1 -1
  80. package/esm/Accordion/Accordion.d.ts +2 -2
  81. package/esm/Accordion/Accordion.js +2 -2
  82. package/esm/Alert/Alert.d.ts +2 -2
  83. package/esm/Alert/Alert.js +2 -2
  84. package/esm/Autocomplete/Autocomplete.d.ts +40 -10
  85. package/esm/Autocomplete/Autocomplete.js +45 -33
  86. package/esm/Avatar/Avatar.d.ts +1 -1
  87. package/esm/Avatar/Avatar.js +1 -1
  88. package/esm/AvatarGroup/AvatarGroup.d.ts +2 -2
  89. package/esm/AvatarGroup/AvatarGroup.js +11 -3
  90. package/esm/Backdrop/Backdrop.d.ts +3 -3
  91. package/esm/Backdrop/Backdrop.js +3 -3
  92. package/esm/Badge/Badge.d.ts +2 -2
  93. package/esm/Badge/Badge.js +2 -2
  94. package/esm/Button/Button.js +1 -1
  95. package/esm/CardHeader/CardHeader.d.ts +2 -2
  96. package/esm/CardHeader/CardHeader.js +2 -2
  97. package/esm/Checkbox/Checkbox.js +1 -1
  98. package/esm/Dialog/Dialog.d.ts +3 -3
  99. package/esm/Dialog/Dialog.js +3 -3
  100. package/esm/Dialog/dialogClasses.d.ts +6 -2
  101. package/esm/Drawer/Drawer.d.ts +2 -2
  102. package/esm/Drawer/Drawer.js +2 -2
  103. package/esm/Fab/Fab.js +1 -1
  104. package/esm/FilledInput/FilledInput.js +2 -2
  105. package/esm/FormControlLabel/FormControlLabel.d.ts +1 -1
  106. package/esm/FormControlLabel/FormControlLabel.js +1 -1
  107. package/esm/IconButton/IconButton.js +1 -1
  108. package/esm/Input/Input.js +2 -2
  109. package/esm/InputBase/InputBase.d.ts +2 -2
  110. package/esm/InputBase/InputBase.js +2 -2
  111. package/esm/ListItem/ListItem.d.ts +4 -4
  112. package/esm/ListItem/ListItem.js +6 -6
  113. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  114. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  115. package/esm/ListItemText/ListItemText.d.ts +2 -2
  116. package/esm/ListItemText/ListItemText.js +2 -2
  117. package/esm/Menu/Menu.d.ts +2 -2
  118. package/esm/Menu/Menu.js +2 -2
  119. package/esm/MobileStepper/MobileStepper.d.ts +1 -1
  120. package/esm/MobileStepper/MobileStepper.js +1 -1
  121. package/esm/Modal/Modal.d.ts +2 -2
  122. package/esm/Modal/Modal.js +2 -2
  123. package/esm/OutlinedInput/OutlinedInput.js +1 -1
  124. package/esm/PaginationItem/PaginationItem.d.ts +1 -1
  125. package/esm/PaginationItem/PaginationItem.js +1 -1
  126. package/esm/Popover/Popover.d.ts +5 -5
  127. package/esm/Popover/Popover.js +5 -5
  128. package/esm/Popper/Popper.d.ts +2 -2
  129. package/esm/Popper/Popper.js +2 -2
  130. package/esm/Radio/Radio.js +2 -2
  131. package/esm/Rating/Rating.d.ts +1 -1
  132. package/esm/Rating/Rating.js +1 -1
  133. package/esm/Slider/Slider.d.ts +2 -2
  134. package/esm/Slider/Slider.js +2 -2
  135. package/esm/Snackbar/Snackbar.d.ts +4 -4
  136. package/esm/Snackbar/Snackbar.js +4 -4
  137. package/esm/SpeedDial/SpeedDial.d.ts +2 -2
  138. package/esm/SpeedDial/SpeedDial.js +2 -2
  139. package/esm/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  140. package/esm/SpeedDialAction/SpeedDialAction.js +5 -5
  141. package/esm/StepContent/StepContent.d.ts +2 -2
  142. package/esm/StepContent/StepContent.js +2 -2
  143. package/esm/StepLabel/StepLabel.d.ts +3 -3
  144. package/esm/StepLabel/StepLabel.js +3 -3
  145. package/esm/SvgIcon/SvgIcon.d.ts +1 -1
  146. package/esm/SvgIcon/SvgIcon.js +1 -1
  147. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  148. package/esm/SwipeableDrawer/SwipeableDrawer.js +1 -1
  149. package/esm/Switch/Switch.js +2 -2
  150. package/esm/Tabs/Tabs.d.ts +3 -3
  151. package/esm/Tabs/Tabs.js +3 -3
  152. package/esm/TextField/TextField.d.ts +7 -7
  153. package/esm/TextField/TextField.js +5 -5
  154. package/esm/Tooltip/Tooltip.d.ts +7 -7
  155. package/esm/Tooltip/Tooltip.js +6 -6
  156. package/esm/Typography/Typography.d.ts +1 -1
  157. package/esm/Typography/Typography.js +1 -1
  158. package/esm/index.d.ts +0 -1
  159. package/esm/index.js +1 -1
  160. package/esm/internal/SwitchBase.d.ts +2 -2
  161. package/esm/styles/createTypography.d.ts +1 -23
  162. package/esm/styles/cssUtils.d.ts +1 -1
  163. package/esm/styles/index.d.ts +2 -2
  164. package/esm/useAutocomplete/useAutocomplete.d.ts +26 -0
  165. package/esm/useAutocomplete/useAutocomplete.js +88 -42
  166. package/esm/utils/memoTheme.d.ts +1 -1
  167. package/esm/version/index.js +2 -2
  168. package/index.d.ts +0 -1
  169. package/index.js +1 -1
  170. package/internal/SwitchBase.d.ts +2 -2
  171. package/modern/Accordion/Accordion.d.ts +2 -2
  172. package/modern/Alert/Alert.d.ts +2 -2
  173. package/modern/Autocomplete/Autocomplete.d.ts +40 -10
  174. package/modern/Avatar/Avatar.d.ts +1 -1
  175. package/modern/AvatarGroup/AvatarGroup.d.ts +2 -2
  176. package/modern/Backdrop/Backdrop.d.ts +3 -3
  177. package/modern/Badge/Badge.d.ts +2 -2
  178. package/modern/CardHeader/CardHeader.d.ts +2 -2
  179. package/modern/Dialog/Dialog.d.ts +3 -3
  180. package/modern/Dialog/dialogClasses.d.ts +6 -2
  181. package/modern/Drawer/Drawer.d.ts +2 -2
  182. package/modern/FormControlLabel/FormControlLabel.d.ts +1 -1
  183. package/modern/InputBase/InputBase.d.ts +2 -2
  184. package/modern/ListItem/ListItem.d.ts +4 -4
  185. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +1 -1
  186. package/modern/ListItemText/ListItemText.d.ts +2 -2
  187. package/modern/Menu/Menu.d.ts +2 -2
  188. package/modern/MobileStepper/MobileStepper.d.ts +1 -1
  189. package/modern/Modal/Modal.d.ts +2 -2
  190. package/modern/PaginationItem/PaginationItem.d.ts +1 -1
  191. package/modern/Popover/Popover.d.ts +5 -5
  192. package/modern/Popper/Popper.d.ts +2 -2
  193. package/modern/Rating/Rating.d.ts +1 -1
  194. package/modern/Slider/Slider.d.ts +2 -2
  195. package/modern/Snackbar/Snackbar.d.ts +4 -4
  196. package/modern/SpeedDial/SpeedDial.d.ts +2 -2
  197. package/modern/SpeedDialAction/SpeedDialAction.d.ts +5 -5
  198. package/modern/StepContent/StepContent.d.ts +2 -2
  199. package/modern/StepLabel/StepLabel.d.ts +3 -3
  200. package/modern/SvgIcon/SvgIcon.d.ts +1 -1
  201. package/modern/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  202. package/modern/Tabs/Tabs.d.ts +3 -3
  203. package/modern/TextField/TextField.d.ts +7 -7
  204. package/modern/Tooltip/Tooltip.d.ts +7 -7
  205. package/modern/Typography/Typography.d.ts +1 -1
  206. package/modern/index.d.ts +0 -1
  207. package/modern/internal/SwitchBase.d.ts +2 -2
  208. package/modern/styles/createTypography.d.ts +1 -23
  209. package/modern/styles/cssUtils.d.ts +1 -1
  210. package/modern/styles/index.d.ts +2 -2
  211. package/modern/useAutocomplete/useAutocomplete.d.ts +26 -0
  212. package/modern/utils/memoTheme.d.ts +1 -1
  213. package/package.json +8 -20
  214. package/styles/createTypography.d.ts +1 -23
  215. package/styles/cssUtils.d.ts +1 -1
  216. package/styles/index.d.ts +2 -2
  217. package/useAutocomplete/useAutocomplete.d.ts +26 -0
  218. package/useAutocomplete/useAutocomplete.js +88 -42
  219. package/utils/memoTheme.d.ts +1 -1
  220. package/version/index.js +2 -2
  221. package/modern/Accordion/Accordion.js +0 -328
  222. package/modern/Accordion/AccordionContext.js +0 -13
  223. package/modern/Accordion/accordionClasses.js +0 -7
  224. package/modern/Accordion/index.js +0 -3
  225. package/modern/AccordionActions/AccordionActions.js +0 -93
  226. package/modern/AccordionActions/accordionActionsClasses.js +0 -7
  227. package/modern/AccordionActions/index.js +0 -3
  228. package/modern/AccordionDetails/AccordionDetails.js +0 -70
  229. package/modern/AccordionDetails/accordionDetailsClasses.js +0 -7
  230. package/modern/AccordionDetails/index.js +0 -3
  231. package/modern/AccordionSummary/AccordionSummary.js +0 -250
  232. package/modern/AccordionSummary/accordionSummaryClasses.js +0 -7
  233. package/modern/AccordionSummary/index.js +0 -3
  234. package/modern/Alert/Alert.js +0 -386
  235. package/modern/Alert/alertClasses.js +0 -7
  236. package/modern/Alert/index.js +0 -3
  237. package/modern/AlertTitle/AlertTitle.js +0 -76
  238. package/modern/AlertTitle/alertTitleClasses.js +0 -7
  239. package/modern/AlertTitle/index.js +0 -3
  240. package/modern/AppBar/AppBar.js +0 -227
  241. package/modern/AppBar/appBarClasses.js +0 -7
  242. package/modern/AppBar/index.js +0 -3
  243. package/modern/Autocomplete/Autocomplete.js +0 -1186
  244. package/modern/Autocomplete/autocompleteClasses.js +0 -7
  245. package/modern/Autocomplete/index.js +0 -3
  246. package/modern/Avatar/Avatar.js +0 -299
  247. package/modern/Avatar/avatarClasses.js +0 -7
  248. package/modern/Avatar/index.js +0 -3
  249. package/modern/AvatarGroup/AvatarGroup.js +0 -223
  250. package/modern/AvatarGroup/avatarGroupClasses.js +0 -7
  251. package/modern/AvatarGroup/index.js +0 -3
  252. package/modern/Backdrop/Backdrop.js +0 -205
  253. package/modern/Backdrop/backdropClasses.js +0 -7
  254. package/modern/Backdrop/index.js +0 -3
  255. package/modern/Badge/Badge.js +0 -428
  256. package/modern/Badge/badgeClasses.js +0 -9
  257. package/modern/Badge/index.js +0 -3
  258. package/modern/Badge/useBadge.js +0 -41
  259. package/modern/Badge/useBadge.types.js +0 -1
  260. package/modern/BottomNavigation/BottomNavigation.js +0 -123
  261. package/modern/BottomNavigation/bottomNavigationClasses.js +0 -7
  262. package/modern/BottomNavigation/index.js +0 -3
  263. package/modern/BottomNavigationAction/BottomNavigationAction.js +0 -187
  264. package/modern/BottomNavigationAction/bottomNavigationActionClasses.js +0 -7
  265. package/modern/BottomNavigationAction/index.js +0 -3
  266. package/modern/Box/Box.js +0 -35
  267. package/modern/Box/boxClasses.js +0 -3
  268. package/modern/Box/index.js +0 -3
  269. package/modern/Breadcrumbs/BreadcrumbCollapsed.js +0 -90
  270. package/modern/Breadcrumbs/Breadcrumbs.js +0 -240
  271. package/modern/Breadcrumbs/breadcrumbsClasses.js +0 -7
  272. package/modern/Breadcrumbs/index.js +0 -3
  273. package/modern/Button/Button.js +0 -688
  274. package/modern/Button/buttonClasses.js +0 -7
  275. package/modern/Button/index.js +0 -3
  276. package/modern/ButtonBase/ButtonBase.js +0 -447
  277. package/modern/ButtonBase/Ripple.js +0 -88
  278. package/modern/ButtonBase/TouchRipple.js +0 -324
  279. package/modern/ButtonBase/buttonBaseClasses.js +0 -7
  280. package/modern/ButtonBase/index.js +0 -5
  281. package/modern/ButtonBase/touchRippleClasses.js +0 -7
  282. package/modern/ButtonGroup/ButtonGroup.js +0 -390
  283. package/modern/ButtonGroup/ButtonGroupButtonContext.js +0 -11
  284. package/modern/ButtonGroup/ButtonGroupContext.js +0 -11
  285. package/modern/ButtonGroup/buttonGroupClasses.js +0 -7
  286. package/modern/ButtonGroup/index.js +0 -5
  287. package/modern/Card/Card.js +0 -84
  288. package/modern/Card/cardClasses.js +0 -7
  289. package/modern/Card/index.js +0 -3
  290. package/modern/CardActionArea/CardActionArea.js +0 -117
  291. package/modern/CardActionArea/cardActionAreaClasses.js +0 -7
  292. package/modern/CardActionArea/index.js +0 -3
  293. package/modern/CardActions/CardActions.js +0 -94
  294. package/modern/CardActions/cardActionsClasses.js +0 -7
  295. package/modern/CardActions/index.js +0 -3
  296. package/modern/CardContent/CardContent.js +0 -80
  297. package/modern/CardContent/cardContentClasses.js +0 -7
  298. package/modern/CardContent/index.js +0 -3
  299. package/modern/CardHeader/CardHeader.js +0 -267
  300. package/modern/CardHeader/cardHeaderClasses.js +0 -7
  301. package/modern/CardHeader/index.js +0 -3
  302. package/modern/CardMedia/CardMedia.js +0 -145
  303. package/modern/CardMedia/cardMediaClasses.js +0 -7
  304. package/modern/CardMedia/index.js +0 -3
  305. package/modern/Checkbox/Checkbox.js +0 -280
  306. package/modern/Checkbox/checkboxClasses.js +0 -7
  307. package/modern/Checkbox/index.js +0 -3
  308. package/modern/Chip/Chip.js +0 -576
  309. package/modern/Chip/chipClasses.js +0 -7
  310. package/modern/Chip/index.js +0 -3
  311. package/modern/CircularProgress/CircularProgress.js +0 -285
  312. package/modern/CircularProgress/circularProgressClasses.js +0 -7
  313. package/modern/CircularProgress/index.js +0 -3
  314. package/modern/ClickAwayListener/ClickAwayListener.js +0 -174
  315. package/modern/ClickAwayListener/index.js +0 -1
  316. package/modern/Collapse/Collapse.js +0 -411
  317. package/modern/Collapse/collapseClasses.js +0 -7
  318. package/modern/Collapse/index.js +0 -3
  319. package/modern/Container/Container.js +0 -67
  320. package/modern/Container/containerClasses.js +0 -7
  321. package/modern/Container/index.js +0 -3
  322. package/modern/CssBaseline/CssBaseline.js +0 -161
  323. package/modern/CssBaseline/index.js +0 -1
  324. package/modern/DefaultPropsProvider/DefaultPropsProvider.js +0 -29
  325. package/modern/DefaultPropsProvider/index.js +0 -1
  326. package/modern/Dialog/Dialog.js +0 -513
  327. package/modern/Dialog/DialogContext.js +0 -8
  328. package/modern/Dialog/dialogClasses.js +0 -7
  329. package/modern/Dialog/index.js +0 -3
  330. package/modern/DialogActions/DialogActions.js +0 -96
  331. package/modern/DialogActions/dialogActionsClasses.js +0 -7
  332. package/modern/DialogActions/index.js +0 -3
  333. package/modern/DialogContent/DialogContent.js +0 -109
  334. package/modern/DialogContent/dialogContentClasses.js +0 -7
  335. package/modern/DialogContent/index.js +0 -3
  336. package/modern/DialogContentText/DialogContentText.js +0 -77
  337. package/modern/DialogContentText/dialogContentTextClasses.js +0 -7
  338. package/modern/DialogContentText/index.js +0 -3
  339. package/modern/DialogTitle/DialogTitle.js +0 -81
  340. package/modern/DialogTitle/dialogTitleClasses.js +0 -7
  341. package/modern/DialogTitle/index.js +0 -3
  342. package/modern/Divider/Divider.js +0 -314
  343. package/modern/Divider/dividerClasses.js +0 -7
  344. package/modern/Divider/index.js +0 -3
  345. package/modern/Drawer/Drawer.js +0 -434
  346. package/modern/Drawer/drawerClasses.js +0 -7
  347. package/modern/Drawer/index.js +0 -3
  348. package/modern/Fab/Fab.js +0 -271
  349. package/modern/Fab/fabClasses.js +0 -7
  350. package/modern/Fab/index.js +0 -3
  351. package/modern/Fade/Fade.js +0 -210
  352. package/modern/Fade/index.js +0 -1
  353. package/modern/FilledInput/FilledInput.js +0 -516
  354. package/modern/FilledInput/filledInputClasses.js +0 -11
  355. package/modern/FilledInput/index.js +0 -3
  356. package/modern/FormControl/FormControl.js +0 -305
  357. package/modern/FormControl/FormControlContext.js +0 -11
  358. package/modern/FormControl/formControlClasses.js +0 -7
  359. package/modern/FormControl/formControlState.js +0 -15
  360. package/modern/FormControl/index.js +0 -4
  361. package/modern/FormControl/useFormControl.js +0 -7
  362. package/modern/FormControlLabel/FormControlLabel.js +0 -283
  363. package/modern/FormControlLabel/formControlLabelClasses.js +0 -7
  364. package/modern/FormControlLabel/index.js +0 -3
  365. package/modern/FormGroup/FormGroup.js +0 -108
  366. package/modern/FormGroup/formGroupClasses.js +0 -7
  367. package/modern/FormGroup/index.js +0 -3
  368. package/modern/FormHelperText/FormHelperText.js +0 -186
  369. package/modern/FormHelperText/formHelperTextClasses.js +0 -7
  370. package/modern/FormHelperText/index.js +0 -3
  371. package/modern/FormLabel/FormLabel.js +0 -182
  372. package/modern/FormLabel/formLabelClasses.js +0 -7
  373. package/modern/FormLabel/index.js +0 -4
  374. package/modern/GlobalStyles/GlobalStyles.js +0 -26
  375. package/modern/GlobalStyles/index.js +0 -1
  376. package/modern/Grid/Grid.js +0 -138
  377. package/modern/Grid/gridClasses.js +0 -19
  378. package/modern/Grid/index.js +0 -4
  379. package/modern/GridLegacy/GridLegacy.js +0 -588
  380. package/modern/GridLegacy/GridLegacyContext.js +0 -12
  381. package/modern/GridLegacy/gridLegacyClasses.js +0 -19
  382. package/modern/GridLegacy/index.js +0 -3
  383. package/modern/Grow/Grow.js +0 -262
  384. package/modern/Grow/index.js +0 -1
  385. package/modern/Icon/Icon.js +0 -185
  386. package/modern/Icon/iconClasses.js +0 -7
  387. package/modern/Icon/index.js +0 -3
  388. package/modern/IconButton/IconButton.js +0 -322
  389. package/modern/IconButton/iconButtonClasses.js +0 -7
  390. package/modern/IconButton/index.js +0 -3
  391. package/modern/ImageList/ImageList.js +0 -150
  392. package/modern/ImageList/ImageListContext.js +0 -13
  393. package/modern/ImageList/imageListClasses.js +0 -7
  394. package/modern/ImageList/index.js +0 -3
  395. package/modern/ImageListItem/ImageListItem.js +0 -188
  396. package/modern/ImageListItem/imageListItemClasses.js +0 -7
  397. package/modern/ImageListItem/index.js +0 -3
  398. package/modern/ImageListItemBar/ImageListItemBar.js +0 -253
  399. package/modern/ImageListItemBar/imageListItemBarClasses.js +0 -7
  400. package/modern/ImageListItemBar/index.js +0 -3
  401. package/modern/InitColorSchemeScript/InitColorSchemeScript.js +0 -16
  402. package/modern/InitColorSchemeScript/index.js +0 -1
  403. package/modern/Input/Input.js +0 -361
  404. package/modern/Input/index.js +0 -3
  405. package/modern/Input/inputClasses.js +0 -11
  406. package/modern/InputAdornment/InputAdornment.js +0 -186
  407. package/modern/InputAdornment/index.js +0 -3
  408. package/modern/InputAdornment/inputAdornmentClasses.js +0 -7
  409. package/modern/InputBase/InputBase.js +0 -749
  410. package/modern/InputBase/index.js +0 -3
  411. package/modern/InputBase/inputBaseClasses.js +0 -7
  412. package/modern/InputBase/utils.js +0 -30
  413. package/modern/InputLabel/InputLabel.js +0 -283
  414. package/modern/InputLabel/index.js +0 -3
  415. package/modern/InputLabel/inputLabelClasses.js +0 -7
  416. package/modern/LinearProgress/LinearProgress.js +0 -455
  417. package/modern/LinearProgress/index.js +0 -3
  418. package/modern/LinearProgress/linearProgressClasses.js +0 -7
  419. package/modern/Link/Link.js +0 -283
  420. package/modern/Link/getTextDecoration.js +0 -16
  421. package/modern/Link/index.js +0 -3
  422. package/modern/Link/linkClasses.js +0 -7
  423. package/modern/List/List.js +0 -134
  424. package/modern/List/ListContext.js +0 -12
  425. package/modern/List/index.js +0 -3
  426. package/modern/List/listClasses.js +0 -7
  427. package/modern/ListItem/ListItem.js +0 -388
  428. package/modern/ListItem/index.js +0 -3
  429. package/modern/ListItem/listItemClasses.js +0 -7
  430. package/modern/ListItemAvatar/ListItemAvatar.js +0 -91
  431. package/modern/ListItemAvatar/index.js +0 -3
  432. package/modern/ListItemAvatar/listItemAvatarClasses.js +0 -7
  433. package/modern/ListItemButton/ListItemButton.js +0 -264
  434. package/modern/ListItemButton/index.js +0 -3
  435. package/modern/ListItemButton/listItemButtonClasses.js +0 -7
  436. package/modern/ListItemIcon/ListItemIcon.js +0 -97
  437. package/modern/ListItemIcon/index.js +0 -3
  438. package/modern/ListItemIcon/listItemIconClasses.js +0 -7
  439. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -96
  440. package/modern/ListItemSecondaryAction/index.js +0 -3
  441. package/modern/ListItemSecondaryAction/listItemSecondaryActionClasses.js +0 -7
  442. package/modern/ListItemText/ListItemText.js +0 -227
  443. package/modern/ListItemText/index.js +0 -3
  444. package/modern/ListItemText/listItemTextClasses.js +0 -7
  445. package/modern/ListSubheader/ListSubheader.js +0 -167
  446. package/modern/ListSubheader/index.js +0 -3
  447. package/modern/ListSubheader/listSubheaderClasses.js +0 -7
  448. package/modern/Menu/Menu.js +0 -341
  449. package/modern/Menu/index.js +0 -3
  450. package/modern/Menu/menuClasses.js +0 -7
  451. package/modern/MenuItem/MenuItem.js +0 -283
  452. package/modern/MenuItem/index.js +0 -3
  453. package/modern/MenuItem/menuItemClasses.js +0 -7
  454. package/modern/MenuList/MenuList.js +0 -290
  455. package/modern/MenuList/index.js +0 -1
  456. package/modern/MobileStepper/MobileStepper.js +0 -306
  457. package/modern/MobileStepper/index.js +0 -3
  458. package/modern/MobileStepper/mobileStepperClasses.js +0 -7
  459. package/modern/Modal/Modal.js +0 -396
  460. package/modern/Modal/ModalManager.js +0 -211
  461. package/modern/Modal/index.js +0 -4
  462. package/modern/Modal/modalClasses.js +0 -7
  463. package/modern/Modal/useModal.js +0 -200
  464. package/modern/Modal/useModal.types.js +0 -1
  465. package/modern/NativeSelect/NativeSelect.js +0 -133
  466. package/modern/NativeSelect/NativeSelectInput.js +0 -240
  467. package/modern/NativeSelect/index.js +0 -3
  468. package/modern/NativeSelect/nativeSelectClasses.js +0 -7
  469. package/modern/NoSsr/NoSsr.js +0 -70
  470. package/modern/NoSsr/NoSsr.types.js +0 -1
  471. package/modern/NoSsr/index.js +0 -1
  472. package/modern/OutlinedInput/NotchedOutline.js +0 -154
  473. package/modern/OutlinedInput/OutlinedInput.js +0 -410
  474. package/modern/OutlinedInput/index.js +0 -3
  475. package/modern/OutlinedInput/outlinedInputClasses.js +0 -11
  476. package/modern/OverridableComponent/index.js +0 -1
  477. package/modern/Pagination/Pagination.js +0 -245
  478. package/modern/Pagination/index.js +0 -3
  479. package/modern/Pagination/paginationClasses.js +0 -7
  480. package/modern/PaginationItem/PaginationItem.js +0 -472
  481. package/modern/PaginationItem/index.js +0 -3
  482. package/modern/PaginationItem/paginationItemClasses.js +0 -7
  483. package/modern/Paper/Paper.js +0 -170
  484. package/modern/Paper/index.js +0 -3
  485. package/modern/Paper/paperClasses.js +0 -7
  486. package/modern/PigmentContainer/PigmentContainer.js +0 -98
  487. package/modern/PigmentContainer/index.js +0 -3
  488. package/modern/PigmentGrid/PigmentGrid.js +0 -126
  489. package/modern/PigmentGrid/index.js +0 -3
  490. package/modern/PigmentStack/PigmentStack.js +0 -81
  491. package/modern/PigmentStack/index.js +0 -3
  492. package/modern/Popover/Popover.js +0 -583
  493. package/modern/Popover/index.js +0 -4
  494. package/modern/Popover/popoverClasses.js +0 -7
  495. package/modern/Popper/BasePopper.js +0 -370
  496. package/modern/Popper/BasePopper.types.js +0 -1
  497. package/modern/Popper/Popper.js +0 -210
  498. package/modern/Popper/index.js +0 -2
  499. package/modern/Popper/popperClasses.js +0 -7
  500. package/modern/Portal/Portal.js +0 -86
  501. package/modern/Portal/Portal.types.js +0 -1
  502. package/modern/Portal/index.js +0 -1
  503. package/modern/Radio/Radio.js +0 -309
  504. package/modern/Radio/RadioButtonIcon.js +0 -87
  505. package/modern/Radio/index.js +0 -3
  506. package/modern/Radio/radioClasses.js +0 -7
  507. package/modern/RadioGroup/RadioGroup.js +0 -114
  508. package/modern/RadioGroup/RadioGroupContext.js +0 -11
  509. package/modern/RadioGroup/index.js +0 -4
  510. package/modern/RadioGroup/radioGroupClasses.js +0 -7
  511. package/modern/RadioGroup/useRadioGroup.js +0 -7
  512. package/modern/Rating/Rating.js +0 -777
  513. package/modern/Rating/index.js +0 -3
  514. package/modern/Rating/ratingClasses.js +0 -7
  515. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +0 -120
  516. package/modern/ScopedCssBaseline/index.js +0 -3
  517. package/modern/ScopedCssBaseline/scopedCssBaselineClasses.js +0 -7
  518. package/modern/Select/Select.js +0 -300
  519. package/modern/Select/SelectInput.js +0 -673
  520. package/modern/Select/index.js +0 -3
  521. package/modern/Select/selectClasses.js +0 -7
  522. package/modern/Skeleton/Skeleton.js +0 -269
  523. package/modern/Skeleton/index.js +0 -3
  524. package/modern/Skeleton/skeletonClasses.js +0 -7
  525. package/modern/Slide/Slide.js +0 -338
  526. package/modern/Slide/index.js +0 -1
  527. package/modern/Slider/Slider.js +0 -1095
  528. package/modern/Slider/SliderValueLabel.js +0 -53
  529. package/modern/Slider/SliderValueLabel.types.js +0 -1
  530. package/modern/Slider/index.js +0 -4
  531. package/modern/Slider/sliderClasses.js +0 -7
  532. package/modern/Slider/useSlider.js +0 -704
  533. package/modern/Slider/useSlider.types.js +0 -1
  534. package/modern/Snackbar/Snackbar.js +0 -426
  535. package/modern/Snackbar/index.js +0 -3
  536. package/modern/Snackbar/snackbarClasses.js +0 -7
  537. package/modern/Snackbar/useSnackbar.js +0 -133
  538. package/modern/Snackbar/useSnackbar.types.js +0 -1
  539. package/modern/SnackbarContent/SnackbarContent.js +0 -132
  540. package/modern/SnackbarContent/index.js +0 -3
  541. package/modern/SnackbarContent/snackbarContentClasses.js +0 -7
  542. package/modern/SpeedDial/SpeedDial.js +0 -579
  543. package/modern/SpeedDial/index.js +0 -3
  544. package/modern/SpeedDial/speedDialClasses.js +0 -7
  545. package/modern/SpeedDialAction/SpeedDialAction.js +0 -351
  546. package/modern/SpeedDialAction/index.js +0 -3
  547. package/modern/SpeedDialAction/speedDialActionClasses.js +0 -7
  548. package/modern/SpeedDialIcon/SpeedDialIcon.js +0 -156
  549. package/modern/SpeedDialIcon/index.js +0 -3
  550. package/modern/SpeedDialIcon/speedDialIconClasses.js +0 -7
  551. package/modern/Stack/Stack.js +0 -62
  552. package/modern/Stack/index.js +0 -2
  553. package/modern/Stack/stackClasses.js +0 -7
  554. package/modern/Step/Step.js +0 -176
  555. package/modern/Step/StepContext.js +0 -19
  556. package/modern/Step/index.js +0 -5
  557. package/modern/Step/stepClasses.js +0 -7
  558. package/modern/StepButton/StepButton.js +0 -133
  559. package/modern/StepButton/index.js +0 -3
  560. package/modern/StepButton/stepButtonClasses.js +0 -7
  561. package/modern/StepConnector/StepConnector.js +0 -152
  562. package/modern/StepConnector/index.js +0 -3
  563. package/modern/StepConnector/stepConnectorClasses.js +0 -7
  564. package/modern/StepContent/StepContent.js +0 -187
  565. package/modern/StepContent/index.js +0 -3
  566. package/modern/StepContent/stepContentClasses.js +0 -7
  567. package/modern/StepIcon/StepIcon.js +0 -161
  568. package/modern/StepIcon/index.js +0 -3
  569. package/modern/StepIcon/stepIconClasses.js +0 -7
  570. package/modern/StepLabel/StepLabel.js +0 -280
  571. package/modern/StepLabel/index.js +0 -3
  572. package/modern/StepLabel/stepLabelClasses.js +0 -7
  573. package/modern/Stepper/Stepper.js +0 -167
  574. package/modern/Stepper/StepperContext.js +0 -19
  575. package/modern/Stepper/index.js +0 -5
  576. package/modern/Stepper/stepperClasses.js +0 -7
  577. package/modern/SvgIcon/SvgIcon.js +0 -234
  578. package/modern/SvgIcon/index.js +0 -3
  579. package/modern/SvgIcon/svgIconClasses.js +0 -7
  580. package/modern/SwipeableDrawer/SwipeArea.js +0 -104
  581. package/modern/SwipeableDrawer/SwipeableDrawer.js +0 -661
  582. package/modern/SwipeableDrawer/index.js +0 -1
  583. package/modern/Switch/Switch.js +0 -407
  584. package/modern/Switch/index.js +0 -3
  585. package/modern/Switch/switchClasses.js +0 -7
  586. package/modern/Tab/Tab.js +0 -338
  587. package/modern/Tab/index.js +0 -3
  588. package/modern/Tab/tabClasses.js +0 -7
  589. package/modern/TabScrollButton/TabScrollButton.js +0 -172
  590. package/modern/TabScrollButton/index.js +0 -3
  591. package/modern/TabScrollButton/tabScrollButtonClasses.js +0 -7
  592. package/modern/Table/Table.js +0 -136
  593. package/modern/Table/TableContext.js +0 -12
  594. package/modern/Table/Tablelvl2Context.js +0 -12
  595. package/modern/Table/index.js +0 -3
  596. package/modern/Table/tableClasses.js +0 -7
  597. package/modern/TableBody/TableBody.js +0 -86
  598. package/modern/TableBody/index.js +0 -3
  599. package/modern/TableBody/tableBodyClasses.js +0 -7
  600. package/modern/TableCell/TableCell.js +0 -270
  601. package/modern/TableCell/index.js +0 -3
  602. package/modern/TableCell/tableCellClasses.js +0 -7
  603. package/modern/TableContainer/TableContainer.js +0 -78
  604. package/modern/TableContainer/index.js +0 -3
  605. package/modern/TableContainer/tableContainerClasses.js +0 -7
  606. package/modern/TableFooter/TableFooter.js +0 -86
  607. package/modern/TableFooter/index.js +0 -3
  608. package/modern/TableFooter/tableFooterClasses.js +0 -7
  609. package/modern/TableHead/TableHead.js +0 -86
  610. package/modern/TableHead/index.js +0 -3
  611. package/modern/TableHead/tableHeadClasses.js +0 -7
  612. package/modern/TablePagination/TablePagination.js +0 -505
  613. package/modern/TablePagination/TablePaginationActions.js +0 -194
  614. package/modern/TablePagination/index.js +0 -3
  615. package/modern/TablePagination/tablePaginationClasses.js +0 -7
  616. package/modern/TableRow/TableRow.js +0 -127
  617. package/modern/TableRow/index.js +0 -3
  618. package/modern/TableRow/tableRowClasses.js +0 -7
  619. package/modern/TableSortLabel/TableSortLabel.js +0 -212
  620. package/modern/TableSortLabel/index.js +0 -3
  621. package/modern/TableSortLabel/tableSortLabelClasses.js +0 -7
  622. package/modern/Tabs/ScrollbarSize.js +0 -58
  623. package/modern/Tabs/Tabs.js +0 -956
  624. package/modern/Tabs/index.js +0 -3
  625. package/modern/Tabs/tabsClasses.js +0 -7
  626. package/modern/TextField/TextField.js +0 -457
  627. package/modern/TextField/index.js +0 -3
  628. package/modern/TextField/textFieldClasses.js +0 -7
  629. package/modern/TextareaAutosize/TextareaAutosize.js +0 -243
  630. package/modern/TextareaAutosize/TextareaAutosize.types.js +0 -1
  631. package/modern/TextareaAutosize/index.js +0 -1
  632. package/modern/ToggleButton/ToggleButton.js +0 -268
  633. package/modern/ToggleButton/index.js +0 -3
  634. package/modern/ToggleButton/toggleButtonClasses.js +0 -7
  635. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +0 -281
  636. package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -11
  637. package/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -11
  638. package/modern/ToggleButtonGroup/index.js +0 -3
  639. package/modern/ToggleButtonGroup/isValueSelected.js +0 -11
  640. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -7
  641. package/modern/Toolbar/Toolbar.js +0 -129
  642. package/modern/Toolbar/index.js +0 -3
  643. package/modern/Toolbar/toolbarClasses.js +0 -7
  644. package/modern/Tooltip/Tooltip.js +0 -898
  645. package/modern/Tooltip/index.js +0 -3
  646. package/modern/Tooltip/tooltipClasses.js +0 -7
  647. package/modern/Typography/Typography.js +0 -268
  648. package/modern/Typography/index.js +0 -3
  649. package/modern/Typography/typographyClasses.js +0 -7
  650. package/modern/Unstable_TrapFocus/FocusTrap.js +0 -329
  651. package/modern/Unstable_TrapFocus/FocusTrap.types.js +0 -1
  652. package/modern/Unstable_TrapFocus/index.js +0 -1
  653. package/modern/Zoom/Zoom.js +0 -210
  654. package/modern/Zoom/index.js +0 -1
  655. package/modern/className/index.js +0 -2
  656. package/modern/colors/amber.js +0 -17
  657. package/modern/colors/blue.js +0 -17
  658. package/modern/colors/blueGrey.js +0 -17
  659. package/modern/colors/brown.js +0 -17
  660. package/modern/colors/common.js +0 -5
  661. package/modern/colors/cyan.js +0 -17
  662. package/modern/colors/deepOrange.js +0 -17
  663. package/modern/colors/deepPurple.js +0 -17
  664. package/modern/colors/green.js +0 -17
  665. package/modern/colors/grey.js +0 -17
  666. package/modern/colors/index.js +0 -20
  667. package/modern/colors/indigo.js +0 -17
  668. package/modern/colors/lightBlue.js +0 -17
  669. package/modern/colors/lightGreen.js +0 -17
  670. package/modern/colors/lime.js +0 -17
  671. package/modern/colors/orange.js +0 -17
  672. package/modern/colors/pink.js +0 -17
  673. package/modern/colors/purple.js +0 -17
  674. package/modern/colors/red.js +0 -17
  675. package/modern/colors/teal.js +0 -17
  676. package/modern/colors/yellow.js +0 -17
  677. package/modern/darkScrollbar/index.js +0 -32
  678. package/modern/generateUtilityClass/index.js +0 -1
  679. package/modern/generateUtilityClasses/index.js +0 -1
  680. package/modern/index.js +0 -286
  681. package/modern/internal/SwitchBase.js +0 -355
  682. package/modern/internal/animate.js +0 -39
  683. package/modern/internal/svg-icons/Add.js +0 -12
  684. package/modern/internal/svg-icons/ArrowDownward.js +0 -12
  685. package/modern/internal/svg-icons/ArrowDropDown.js +0 -12
  686. package/modern/internal/svg-icons/Cancel.js +0 -12
  687. package/modern/internal/svg-icons/CheckBox.js +0 -12
  688. package/modern/internal/svg-icons/CheckBoxOutlineBlank.js +0 -12
  689. package/modern/internal/svg-icons/CheckCircle.js +0 -12
  690. package/modern/internal/svg-icons/Close.js +0 -14
  691. package/modern/internal/svg-icons/ErrorOutline.js +0 -12
  692. package/modern/internal/svg-icons/FirstPage.js +0 -12
  693. package/modern/internal/svg-icons/IndeterminateCheckBox.js +0 -12
  694. package/modern/internal/svg-icons/InfoOutlined.js +0 -12
  695. package/modern/internal/svg-icons/KeyboardArrowLeft.js +0 -12
  696. package/modern/internal/svg-icons/KeyboardArrowRight.js +0 -12
  697. package/modern/internal/svg-icons/LastPage.js +0 -12
  698. package/modern/internal/svg-icons/MoreHoriz.js +0 -12
  699. package/modern/internal/svg-icons/NavigateBefore.js +0 -12
  700. package/modern/internal/svg-icons/NavigateNext.js +0 -12
  701. package/modern/internal/svg-icons/Person.js +0 -12
  702. package/modern/internal/svg-icons/RadioButtonChecked.js +0 -12
  703. package/modern/internal/svg-icons/RadioButtonUnchecked.js +0 -12
  704. package/modern/internal/svg-icons/ReportProblemOutlined.js +0 -12
  705. package/modern/internal/svg-icons/Star.js +0 -12
  706. package/modern/internal/svg-icons/StarBorder.js +0 -12
  707. package/modern/internal/svg-icons/SuccessOutlined.js +0 -12
  708. package/modern/internal/svg-icons/Warning.js +0 -12
  709. package/modern/internal/switchBaseClasses.js +0 -7
  710. package/modern/locale/index.js +0 -4324
  711. package/modern/package.json +0 -1
  712. package/modern/styles/ThemeProvider.js +0 -40
  713. package/modern/styles/ThemeProviderNoVars.js +0 -17
  714. package/modern/styles/ThemeProviderWithVars.js +0 -91
  715. package/modern/styles/adaptV4Theme.js +0 -83
  716. package/modern/styles/components.js +0 -1
  717. package/modern/styles/createColorScheme.js +0 -41
  718. package/modern/styles/createGetSelector.js +0 -60
  719. package/modern/styles/createMixins.js +0 -16
  720. package/modern/styles/createMuiStrictModeTheme.js +0 -7
  721. package/modern/styles/createPalette.js +0 -302
  722. package/modern/styles/createStyles.js +0 -10
  723. package/modern/styles/createTheme.js +0 -98
  724. package/modern/styles/createThemeNoVars.js +0 -91
  725. package/modern/styles/createThemeWithVars.js +0 -386
  726. package/modern/styles/createTransitions.js +0 -89
  727. package/modern/styles/createTypography.js +0 -92
  728. package/modern/styles/cssUtils.js +0 -125
  729. package/modern/styles/defaultTheme.js +0 -5
  730. package/modern/styles/excludeVariablesFromRoot.js +0 -5
  731. package/modern/styles/experimental_extendTheme.js +0 -9
  732. package/modern/styles/getOverlayAlpha.js +0 -10
  733. package/modern/styles/identifier.js +0 -1
  734. package/modern/styles/index.js +0 -37
  735. package/modern/styles/makeStyles.js +0 -4
  736. package/modern/styles/overrides.js +0 -1
  737. package/modern/styles/props.js +0 -1
  738. package/modern/styles/responsiveFontSizes.js +0 -67
  739. package/modern/styles/rootShouldForwardProp.js +0 -3
  740. package/modern/styles/shadows.js +0 -10
  741. package/modern/styles/shouldSkipGeneratingVar.js +0 -5
  742. package/modern/styles/slotShouldForwardProp.js +0 -5
  743. package/modern/styles/stringifyTheme.js +0 -54
  744. package/modern/styles/styled.js +0 -14
  745. package/modern/styles/useTheme.js +0 -15
  746. package/modern/styles/useThemeProps.js +0 -16
  747. package/modern/styles/variants.js +0 -1
  748. package/modern/styles/withStyles.js +0 -4
  749. package/modern/styles/withTheme.js +0 -4
  750. package/modern/styles/zIndex.js +0 -13
  751. package/modern/transitions/index.js +0 -1
  752. package/modern/transitions/transition.js +0 -1
  753. package/modern/transitions/utils.js +0 -13
  754. package/modern/types/OverridableComponentAugmentation.js +0 -1
  755. package/modern/useAutocomplete/index.js +0 -1
  756. package/modern/useAutocomplete/useAutocomplete.js +0 -973
  757. package/modern/useLazyRipple/index.js +0 -3
  758. package/modern/useLazyRipple/useLazyRipple.js +0 -85
  759. package/modern/useMediaQuery/index.js +0 -6
  760. package/modern/usePagination/index.js +0 -1
  761. package/modern/usePagination/usePagination.js +0 -113
  762. package/modern/useScrollTrigger/index.js +0 -1
  763. package/modern/useScrollTrigger/useScrollTrigger.js +0 -55
  764. package/modern/utils/PolymorphicComponent.js +0 -1
  765. package/modern/utils/areArraysEqual.js +0 -4
  766. package/modern/utils/capitalize.js +0 -2
  767. package/modern/utils/createChainedFunction.js +0 -2
  768. package/modern/utils/createSimplePaletteValueFilter.js +0 -41
  769. package/modern/utils/createSvgIcon.js +0 -26
  770. package/modern/utils/debounce.js +0 -2
  771. package/modern/utils/deprecatedPropType.js +0 -2
  772. package/modern/utils/getScrollbarSize.js +0 -2
  773. package/modern/utils/index.js +0 -31
  774. package/modern/utils/isHostComponent.js +0 -7
  775. package/modern/utils/isMuiElement.js +0 -2
  776. package/modern/utils/memoTheme.js +0 -3
  777. package/modern/utils/mergeSlotProps.js +0 -75
  778. package/modern/utils/omitEventHandlers.js +0 -18
  779. package/modern/utils/ownerDocument.js +0 -2
  780. package/modern/utils/ownerWindow.js +0 -2
  781. package/modern/utils/requirePropFactory.js +0 -2
  782. package/modern/utils/setRef.js +0 -2
  783. package/modern/utils/shouldSpreadAdditionalProps.js +0 -5
  784. package/modern/utils/types.js +0 -1
  785. package/modern/utils/unsupportedProp.js +0 -2
  786. package/modern/utils/useControlled.js +0 -4
  787. package/modern/utils/useEnhancedEffect.js +0 -4
  788. package/modern/utils/useEventCallback.js +0 -4
  789. package/modern/utils/useForkRef.js +0 -4
  790. package/modern/utils/useId.js +0 -4
  791. package/modern/utils/useSlot.js +0 -80
  792. package/modern/version/index.js +0 -6
  793. package/modern/zero-styled/index.js +0 -27
  794. package/tsconfig.build.tsbuildinfo +0 -1
@@ -47,8 +47,8 @@ const defaultFilterOptions = createFilterOptions();
47
47
  const pageSize = 5;
48
48
  const defaultIsActiveElementInListbox = listboxRef => listboxRef.current !== null && listboxRef.current.parentElement?.contains(document.activeElement);
49
49
  const MULTIPLE_DEFAULT_VALUE = [];
50
- function getInputValue(value, multiple, getOptionLabel) {
51
- if (multiple || value == null) {
50
+ function getInputValue(value, multiple, getOptionLabel, renderValue) {
51
+ if (multiple || value == null || renderValue) {
52
52
  return '';
53
53
  }
54
54
  const optionLabel = getOptionLabel(value);
@@ -95,6 +95,7 @@ function useAutocomplete(props) {
95
95
  openOnFocus = false,
96
96
  options,
97
97
  readOnly = false,
98
+ renderValue,
98
99
  selectOnFocus = !props.freeSolo,
99
100
  value: valueProp
100
101
  } = props;
@@ -116,13 +117,13 @@ function useAutocomplete(props) {
116
117
  const inputRef = React.useRef(null);
117
118
  const listboxRef = React.useRef(null);
118
119
  const [anchorEl, setAnchorEl] = React.useState(null);
119
- const [focusedTag, setFocusedTag] = React.useState(-1);
120
+ const [focusedItem, setFocusedItem] = React.useState(-1);
120
121
  const defaultHighlighted = autoHighlight ? 0 : -1;
121
122
  const highlightedIndexRef = React.useRef(defaultHighlighted);
122
123
 
123
124
  // Calculate the initial inputValue on mount only.
124
- // Using useRef since defaultValue doesn't need to update inputValue dynamically.
125
- const initialInputValue = React.useRef(getInputValue(defaultValue, multiple, getOptionLabel)).current;
125
+ // useRef ensures it doesn't update dynamically with defaultValue or value props.
126
+ const initialInputValue = React.useRef(getInputValue(defaultValue ?? valueProp, multiple, getOptionLabel)).current;
126
127
  const [value, setValueState] = useControlled({
127
128
  controlled: valueProp,
128
129
  default: defaultValue,
@@ -142,7 +143,7 @@ function useAutocomplete(props) {
142
143
  if (!isOptionSelected && !clearOnBlur) {
143
144
  return;
144
145
  }
145
- const newInputValue = getInputValue(newValue, multiple, getOptionLabel);
146
+ const newInputValue = getInputValue(newValue, multiple, getOptionLabel, renderValue);
146
147
  if (inputValue === newInputValue) {
147
148
  return;
148
149
  }
@@ -150,7 +151,7 @@ function useAutocomplete(props) {
150
151
  if (onInputChange) {
151
152
  onInputChange(event, newInputValue, reason);
152
153
  }
153
- }, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState, clearOnBlur, value]);
154
+ }, [getOptionLabel, inputValue, multiple, onInputChange, setInputValueState, clearOnBlur, value, renderValue]);
154
155
  const [open, setOpenState] = useControlled({
155
156
  controlled: openProp,
156
157
  default: false,
@@ -190,21 +191,23 @@ function useAutocomplete(props) {
190
191
  resetInputValue(null, value, 'reset');
191
192
  }, [value, resetInputValue, focused, previousProps.value, freeSolo]);
192
193
  const listboxAvailable = open && filteredOptions.length > 0 && !readOnly;
193
- const focusTag = useEventCallback(tagToFocus => {
194
- if (tagToFocus === -1) {
194
+ const focusItem = useEventCallback(itemToFocus => {
195
+ if (itemToFocus === -1) {
195
196
  inputRef.current.focus();
196
197
  } else {
197
- anchorEl.querySelector(`[data-tag-index="${tagToFocus}"]`).focus();
198
+ // Using `data-tag-index` for deprecated `renderTags`. Remove when `renderTags` is gone.
199
+ const indexType = renderValue ? 'data-item-index' : 'data-tag-index';
200
+ anchorEl.querySelector(`[${indexType}="${itemToFocus}"]`).focus();
198
201
  }
199
202
  });
200
203
 
201
- // Ensure the focusedTag is never inconsistent
204
+ // Ensure the focusedItem is never inconsistent
202
205
  React.useEffect(() => {
203
- if (multiple && focusedTag > value.length - 1) {
204
- setFocusedTag(-1);
205
- focusTag(-1);
206
+ if (multiple && focusedItem > value.length - 1) {
207
+ setFocusedItem(-1);
208
+ focusItem(-1);
206
209
  }
207
- }, [value, multiple, focusedTag, focusTag]);
210
+ }, [value, multiple, focusedItem, focusItem]);
208
211
  function validOptionIndex(index, direction) {
209
212
  if (!listboxRef.current || index < 0 || index >= filteredOptions.length) {
210
213
  return -1;
@@ -529,7 +532,7 @@ function useAutocomplete(props) {
529
532
  inputRef.current.blur();
530
533
  }
531
534
  };
532
- function validTagIndex(index, direction) {
535
+ function validItemIndex(index, direction) {
533
536
  if (index === -1) {
534
537
  return -1;
535
538
  }
@@ -539,7 +542,10 @@ function useAutocomplete(props) {
539
542
  if (direction === 'next' && nextFocus === value.length || direction === 'previous' && nextFocus === -1) {
540
543
  return -1;
541
544
  }
542
- const option = anchorEl.querySelector(`[data-tag-index="${nextFocus}"]`);
545
+
546
+ // Using `data-tag-index` for deprecated `renderTags`. Remove when `renderTags` is removed.
547
+ const indexType = renderValue ? 'data-item-index' : 'data-tag-index';
548
+ const option = anchorEl.querySelector(`[${indexType}="${nextFocus}"]`);
543
549
 
544
550
  // Same logic as MenuList.js
545
551
  if (!option || !option.hasAttribute('tabindex') || option.disabled || option.getAttribute('aria-disabled') === 'true') {
@@ -549,30 +555,30 @@ function useAutocomplete(props) {
549
555
  }
550
556
  }
551
557
  }
552
- const handleFocusTag = (event, direction) => {
558
+ const handleFocusItem = (event, direction) => {
553
559
  if (!multiple) {
554
560
  return;
555
561
  }
556
562
  if (inputValue === '') {
557
563
  handleClose(event, 'toggleInput');
558
564
  }
559
- let nextTag = focusedTag;
560
- if (focusedTag === -1) {
565
+ let nextItem = focusedItem;
566
+ if (focusedItem === -1) {
561
567
  if (inputValue === '' && direction === 'previous') {
562
- nextTag = value.length - 1;
568
+ nextItem = value.length - 1;
563
569
  }
564
570
  } else {
565
- nextTag += direction === 'next' ? 1 : -1;
566
- if (nextTag < 0) {
567
- nextTag = 0;
571
+ nextItem += direction === 'next' ? 1 : -1;
572
+ if (nextItem < 0) {
573
+ nextItem = 0;
568
574
  }
569
- if (nextTag === value.length) {
570
- nextTag = -1;
575
+ if (nextItem === value.length) {
576
+ nextItem = -1;
571
577
  }
572
578
  }
573
- nextTag = validTagIndex(nextTag, direction);
574
- setFocusedTag(nextTag);
575
- focusTag(nextTag);
579
+ nextItem = validItemIndex(nextItem, direction);
580
+ setFocusedItem(nextItem);
581
+ focusItem(nextItem);
576
582
  };
577
583
  const handleClear = event => {
578
584
  ignoreFocus.current = true;
@@ -589,9 +595,9 @@ function useAutocomplete(props) {
589
595
  if (event.defaultMuiPrevented) {
590
596
  return;
591
597
  }
592
- if (focusedTag !== -1 && !['ArrowLeft', 'ArrowRight'].includes(event.key)) {
593
- setFocusedTag(-1);
594
- focusTag(-1);
598
+ if (focusedItem !== -1 && !['ArrowLeft', 'ArrowRight'].includes(event.key)) {
599
+ setFocusedItem(-1);
600
+ focusItem(-1);
595
601
  }
596
602
 
597
603
  // Wait until IME is settled.
@@ -666,10 +672,18 @@ function useAutocomplete(props) {
666
672
  handleOpen(event);
667
673
  break;
668
674
  case 'ArrowLeft':
669
- handleFocusTag(event, 'previous');
675
+ if (!multiple && renderValue) {
676
+ focusItem(0);
677
+ } else {
678
+ handleFocusItem(event, 'previous');
679
+ }
670
680
  break;
671
681
  case 'ArrowRight':
672
- handleFocusTag(event, 'next');
682
+ if (!multiple && renderValue) {
683
+ focusItem(-1);
684
+ } else {
685
+ handleFocusItem(event, 'next');
686
+ }
673
687
  break;
674
688
  case 'Enter':
675
689
  if (highlightedIndexRef.current !== -1 && popupOpen) {
@@ -702,7 +716,7 @@ function useAutocomplete(props) {
702
716
  // Avoid the Modal to handle the event.
703
717
  event.stopPropagation();
704
718
  handleClose(event, 'escape');
705
- } else if (clearOnEscape && (inputValue !== '' || multiple && value.length > 0)) {
719
+ } else if (clearOnEscape && (inputValue !== '' || multiple && value.length > 0 || renderValue)) {
706
720
  // Avoid Opera to exit fullscreen mode.
707
721
  event.preventDefault();
708
722
  // Avoid the Modal to handle the event.
@@ -713,24 +727,32 @@ function useAutocomplete(props) {
713
727
  case 'Backspace':
714
728
  // Remove the value on the left of the "cursor"
715
729
  if (multiple && !readOnly && inputValue === '' && value.length > 0) {
716
- const index = focusedTag === -1 ? value.length - 1 : focusedTag;
730
+ const index = focusedItem === -1 ? value.length - 1 : focusedItem;
717
731
  const newValue = value.slice();
718
732
  newValue.splice(index, 1);
719
733
  handleValue(event, newValue, 'removeOption', {
720
734
  option: value[index]
721
735
  });
722
736
  }
737
+ if (!multiple && renderValue && !readOnly) {
738
+ setValueState(null);
739
+ focusItem(-1);
740
+ }
723
741
  break;
724
742
  case 'Delete':
725
743
  // Remove the value on the right of the "cursor"
726
- if (multiple && !readOnly && inputValue === '' && value.length > 0 && focusedTag !== -1) {
727
- const index = focusedTag;
744
+ if (multiple && !readOnly && inputValue === '' && value.length > 0 && focusedItem !== -1) {
745
+ const index = focusedItem;
728
746
  const newValue = value.slice();
729
747
  newValue.splice(index, 1);
730
748
  handleValue(event, newValue, 'removeOption', {
731
749
  option: value[index]
732
750
  });
733
751
  }
752
+ if (!multiple && renderValue && !readOnly) {
753
+ setValueState(null);
754
+ focusItem(-1);
755
+ }
734
756
  break;
735
757
  default:
736
758
  }
@@ -800,13 +822,18 @@ function useAutocomplete(props) {
800
822
  selectNewValue(event, filteredOptions[index], 'selectOption');
801
823
  isTouch.current = false;
802
824
  };
803
- const handleTagDelete = index => event => {
825
+ const handleItemDelete = index => event => {
804
826
  const newValue = value.slice();
805
827
  newValue.splice(index, 1);
806
828
  handleValue(event, newValue, 'removeOption', {
807
829
  option: value[index]
808
830
  });
809
831
  };
832
+ const handleSingleItemDelete = event => {
833
+ handleValue(event, null, 'removeOption', {
834
+ option: value
835
+ });
836
+ };
810
837
  const handlePopupIndicator = event => {
811
838
  if (open) {
812
839
  handleClose(event, 'toggleInput');
@@ -913,11 +940,28 @@ function useAutocomplete(props) {
913
940
  type: 'button',
914
941
  onClick: handleClear
915
942
  }),
943
+ getItemProps: ({
944
+ index = 0
945
+ } = {}) => ({
946
+ ...(multiple && {
947
+ key: index
948
+ }),
949
+ ...(renderValue ? {
950
+ 'data-item-index': index
951
+ } : {
952
+ 'data-tag-index': index
953
+ }),
954
+ tabIndex: -1,
955
+ ...(!readOnly && {
956
+ onDelete: multiple ? handleItemDelete(index) : handleSingleItemDelete
957
+ })
958
+ }),
916
959
  getPopupIndicatorProps: () => ({
917
960
  tabIndex: -1,
918
961
  type: 'button',
919
962
  onClick: handlePopupIndicator
920
963
  }),
964
+ // deprecated
921
965
  getTagProps: ({
922
966
  index
923
967
  }) => ({
@@ -925,7 +969,7 @@ function useAutocomplete(props) {
925
969
  'data-tag-index': index,
926
970
  tabIndex: -1,
927
971
  ...(!readOnly && {
928
- onDelete: handleTagDelete(index)
972
+ onDelete: handleItemDelete(index)
929
973
  })
930
974
  }),
931
975
  getListboxProps: () => ({
@@ -963,10 +1007,12 @@ function useAutocomplete(props) {
963
1007
  dirty,
964
1008
  expanded: popupOpen && anchorEl,
965
1009
  popupOpen,
966
- focused: focused || focusedTag !== -1,
1010
+ focused: focused || focusedItem !== -1,
967
1011
  anchorEl,
968
1012
  setAnchorEl,
969
- focusedTag,
1013
+ focusedItem,
1014
+ // deprecated
1015
+ focusedTag: focusedItem,
970
1016
  groupedOptions
971
1017
  };
972
1018
  }
@@ -3,5 +3,5 @@ declare const memoTheme: (styleFn: (props: {
3
3
  theme: Theme;
4
4
  }) => import("@mui/styled-engine").CSSInterpolation) => (props: {
5
5
  theme: Theme;
6
- }) => string | number | boolean | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").ArrayCSSInterpolation | null;
6
+ }) => string | number | boolean | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ArrayCSSInterpolation | null;
7
7
  export default memoTheme;
@@ -1,6 +1,6 @@
1
- export const version = "7.0.0";
1
+ export const version = "7.0.2";
2
2
  export const major = Number("7");
3
3
  export const minor = Number("0");
4
- export const patch = Number("0");
4
+ export const patch = Number("2");
5
5
  export const prerelease = undefined;
6
6
  export default version;
package/index.d.ts CHANGED
@@ -37,7 +37,6 @@ StyledComponentProps<never> & {
37
37
  };
38
38
  export namespace PropTypes {
39
39
  // keeping the type structure for backwards compat
40
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
41
40
  type Color = 'inherit' | 'primary' | 'secondary' | 'default';
42
41
  }
43
42
 
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v7.0.0
2
+ * @mui/material v7.0.2
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -70,12 +70,12 @@ export interface SwitchBaseProps extends StandardProps<ButtonBaseProps, 'childre
70
70
  id?: string;
71
71
  /**
72
72
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
73
- * @deprecated Use `slotProps.input` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
73
+ * @deprecated Use `slotProps.input` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
74
74
  */
75
75
  inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
76
76
  /**
77
77
  * Pass a ref to the `input` element.
78
- * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
78
+ * @deprecated Use `slotProps.input.ref` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
79
79
  */
80
80
  inputRef?: React.Ref<any>;
81
81
  /**
@@ -88,7 +88,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
88
88
  /**
89
89
  * The component used for the transition.
90
90
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
91
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
91
+ * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
92
92
  */
93
93
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
94
94
  children?: React.ReactElement<unknown, any>;
@@ -96,7 +96,7 @@ export type AccordionTypeMap<AdditionalProps = {}, RootComponent extends React.E
96
96
  /**
97
97
  * Props applied to the transition element.
98
98
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
99
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
99
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
100
100
  */
101
101
  TransitionProps?: TransitionProps;
102
102
  } & AccordionSlotsAndSlotProps;
@@ -103,7 +103,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
103
103
  /**
104
104
  * The components used for each slot inside.
105
105
  *
106
- * @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.
106
+ * @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.
107
107
  *
108
108
  * @default {}
109
109
  */
@@ -115,7 +115,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'>, AlertS
115
115
  * The extra props for the slot components.
116
116
  * You can override the existing props or add new ones.
117
117
  *
118
- * @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.
118
+ * @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.
119
119
  *
120
120
  * @default {}
121
121
  */
@@ -2,9 +2,9 @@ import * as React from 'react';
2
2
  import { SxProps } from '@mui/system';
3
3
  import { OverridableStringUnion } from '@mui/types';
4
4
  import { IconButtonProps, InternalStandardProps as StandardProps, Theme } from '@mui/material';
5
- import { ChipProps, ChipTypeMap } from '@mui/material/Chip';
6
- import { PaperProps } from '@mui/material/Paper';
7
- import { PopperProps } from '@mui/material/Popper';
5
+ import { ChipProps, ChipTypeMap } from "../Chip/index.js";
6
+ import { PaperProps } from "../Paper/index.js";
7
+ import { PopperProps } from "../Popper/index.js";
8
8
  import useAutocomplete, { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteCloseReason, AutocompleteInputChangeReason, AutocompleteValue, createFilterOptions, UseAutocompleteProps, AutocompleteFreeSoloValueMapping } from "../useAutocomplete/index.js";
9
9
  import { AutocompleteClasses } from "./autocompleteClasses.js";
10
10
  import { CreateSlotsAndSlotProps, SlotProps } from "../utils/types.js";
@@ -35,6 +35,25 @@ export type AutocompleteRenderGetTagProps = ({
35
35
  tabIndex: -1;
36
36
  onDelete: (event: any) => void;
37
37
  };
38
+ export type AutocompleteRenderValueGetItemProps<Multiple extends boolean | undefined> = Multiple extends true ? (args: {
39
+ index: number;
40
+ }) => {
41
+ key: number;
42
+ className: string;
43
+ disabled: boolean;
44
+ 'data-item-index': number;
45
+ tabIndex: -1;
46
+ onDelete: (event: any) => void;
47
+ } : (args?: {
48
+ index?: number;
49
+ }) => {
50
+ className: string;
51
+ disabled: boolean;
52
+ 'data-item-index': number;
53
+ tabIndex: -1;
54
+ onDelete: (event: any) => void;
55
+ };
56
+ export type AutocompleteRenderValue<Value, Multiple, FreeSolo> = Multiple extends true ? Array<Value | AutocompleteFreeSoloValueMapping<FreeSolo>> : NonNullable<Value | AutocompleteFreeSoloValueMapping<FreeSolo>>;
38
57
  export interface AutocompleteRenderOptionState {
39
58
  inputValue: string;
40
59
  index: number;
@@ -95,7 +114,7 @@ export type AutocompleteSlotsAndSlotProps<Value, Multiple extends boolean | unde
95
114
  export interface AutocompleteProps<Value, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined, ChipComponent extends React.ElementType = ChipTypeMap['defaultComponent']> extends UseAutocompleteProps<Value, Multiple, DisableClearable, FreeSolo>, StandardProps<React.HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange' | 'children'>, AutocompleteSlotsAndSlotProps<Value, Multiple, DisableClearable, FreeSolo, ChipComponent> {
96
115
  /**
97
116
  * Props applied to the [`Chip`](https://mui.com/material-ui/api/chip/) element.
98
- * @deprecated Use `slotProps.chip` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
117
+ * @deprecated Use `slotProps.chip` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
99
118
  */
100
119
  ChipProps?: ChipProps<ChipComponent>;
101
120
  /**
@@ -123,7 +142,7 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
123
142
  closeText?: string;
124
143
  /**
125
144
  * The props used for each slot inside.
126
- * @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.
145
+ * @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.
127
146
  */
128
147
  componentsProps?: {
129
148
  clearIndicator?: Partial<IconButtonProps>;
@@ -162,12 +181,12 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
162
181
  /**
163
182
  * The component used to render the listbox.
164
183
  * @default 'ul'
165
- * @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
184
+ * @deprecated Use `slotProps.listbox.component` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
185
  */
167
186
  ListboxComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
168
187
  /**
169
188
  * Props applied to the Listbox element.
170
- * @deprecated Use `slotProps.listbox` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
189
+ * @deprecated Use `slotProps.listbox` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
171
190
  */
172
191
  ListboxProps?: ReturnType<ReturnType<typeof useAutocomplete>['getListboxProps']> & {
173
192
  sx?: SxProps<Theme>;
@@ -212,13 +231,13 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
212
231
  /**
213
232
  * The component used to render the body of the popup.
214
233
  * @default Paper
215
- * @deprecated Use `slots.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
234
+ * @deprecated Use `slots.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
216
235
  */
217
236
  PaperComponent?: React.JSXElementConstructor<React.HTMLAttributes<HTMLElement>>;
218
237
  /**
219
238
  * The component used to position the popup.
220
239
  * @default Popper
221
- * @deprecated Use `slots.popper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
240
+ * @deprecated Use `slots.popper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
222
241
  */
223
242
  PopperComponent?: React.JSXElementConstructor<PopperProps>;
224
243
  /**
@@ -258,7 +277,9 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
258
277
  key: any;
259
278
  }, option: Value, state: AutocompleteRenderOptionState, ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>) => React.ReactNode;
260
279
  /**
261
- * Render the selected value.
280
+ * Render the selected value when doing multiple selections.
281
+ *
282
+ * @deprecated Use `renderValue` prop instead
262
283
  *
263
284
  * @param {Value[]} value The `value` provided to the component.
264
285
  * @param {function} getTagProps A tag props getter.
@@ -266,6 +287,15 @@ export interface AutocompleteProps<Value, Multiple extends boolean | undefined,
266
287
  * @returns {ReactNode}
267
288
  */
268
289
  renderTags?: (value: Value[], getTagProps: AutocompleteRenderGetTagProps, ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>) => React.ReactNode;
290
+ /**
291
+ * Renders the selected value(s) as rich content in the input for both single and multiple selections.
292
+ *
293
+ * @param {AutocompleteRenderValue<Value, Multiple, FreeSolo>} value The `value` provided to the component.
294
+ * @param {function} getItemProps The value item props.
295
+ * @param {object} ownerState The state of the Autocomplete component.
296
+ * @returns {ReactNode}
297
+ */
298
+ renderValue?: (value: AutocompleteRenderValue<Value, Multiple, FreeSolo>, getItemProps: AutocompleteRenderValueGetItemProps<Multiple>, ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>) => React.ReactNode;
269
299
  /**
270
300
  * The size of the component.
271
301
  * @default 'medium'
@@ -35,7 +35,7 @@ export interface AvatarOwnProps {
35
35
  /**
36
36
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.
37
37
  * It can be used to listen for the loading error event.
38
- * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
38
+ * @deprecated Use `slotProps.img` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
39
39
  */
40
40
  imgProps?: React.ImgHTMLAttributes<HTMLImageElement> & {
41
41
  sx?: SxProps<Theme>;
@@ -12,7 +12,7 @@ export interface AvatarGroupSlots {
12
12
  }
13
13
  export type AvatarGroupSlotsAndSlotProps = CreateSlotsAndSlotProps<AvatarGroupSlots, {
14
14
  /**
15
- * @deprecated use `slotProps.surplus` 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.
15
+ * @deprecated use `slotProps.surplus` 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.
16
16
  * */
17
17
  additionalAvatar: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
18
18
  surplus: SlotProps<React.ElementType<React.ComponentPropsWithRef<typeof Avatar>>, AvatarGroupComponentsPropsOverrides, AvatarGroupOwnerState>;
@@ -37,7 +37,7 @@ export interface AvatarGroupOwnProps extends AvatarGroupSlotsAndSlotProps {
37
37
  *
38
38
  * This prop is an alias for the `slotProps` prop.
39
39
  *
40
- * @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.
40
+ * @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.
41
41
  */
42
42
  componentsProps?: {
43
43
  additionalAvatar?: React.ComponentPropsWithRef<typeof Avatar> & AvatarGroupComponentsPropsOverrides;
@@ -41,7 +41,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
41
41
  /**
42
42
  * The components used for each slot inside.
43
43
  *
44
- * @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.
44
+ * @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.
45
45
  *
46
46
  * @default {}
47
47
  */
@@ -52,7 +52,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
52
52
  * The extra props for the slot components.
53
53
  * You can override the existing props or add new ones.
54
54
  *
55
- * @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.
55
+ * @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.
56
56
  *
57
57
  * @default {}
58
58
  */
@@ -86,7 +86,7 @@ export interface BackdropOwnProps extends Partial<Omit<FadeProps, 'children'>>,
86
86
  * The component used for the transition.
87
87
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
88
88
  * @default Fade
89
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
89
+ * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
90
90
  */
91
91
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
92
92
  children: React.ReactElement<unknown, any>;
@@ -60,7 +60,7 @@ export interface BadgeOwnProps {
60
60
  * The extra props for the slot components.
61
61
  * You can override the existing props or add new ones.
62
62
  *
63
- * @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.
63
+ * @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.
64
64
  *
65
65
  * @default {}
66
66
  */
@@ -68,7 +68,7 @@ export interface BadgeOwnProps {
68
68
  /**
69
69
  * The components used for each slot inside.
70
70
  *
71
- * @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.
71
+ * @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.
72
72
  *
73
73
  * @default {}
74
74
  */
@@ -105,7 +105,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
105
105
  /**
106
106
  * These props will be forwarded to the subheader
107
107
  * (as long as disableTypography is not `true`).
108
- * @deprecated Use `slotProps.subheader` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
108
+ * @deprecated Use `slotProps.subheader` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
109
109
  */
110
110
  subheaderTypographyProps?: TypographyProps<SubheaderTypographyComponent, {
111
111
  component?: SubheaderTypographyComponent;
@@ -121,7 +121,7 @@ export interface CardHeaderOwnProps<TitleTypographyComponent extends React.Eleme
121
121
  /**
122
122
  * These props will be forwarded to the title
123
123
  * (as long as disableTypography is not `true`).
124
- * @deprecated Use `slotProps.title` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
124
+ * @deprecated Use `slotProps.title` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
125
125
  */
126
126
  titleTypographyProps?: TypographyProps<TitleTypographyComponent, {
127
127
  component?: TitleTypographyComponent;
@@ -130,7 +130,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
130
130
  /**
131
131
  * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
132
132
  * @default {}
133
- * @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
133
+ * @deprecated Use `slotProps.paper` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
134
134
  */
135
135
  PaperProps?: Partial<PaperProps<React.ElementType>>;
136
136
  /**
@@ -146,7 +146,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
146
146
  * The component used for the transition.
147
147
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
148
148
  * @default Fade
149
- * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
149
+ * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
150
150
  */
151
151
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
152
152
  children: React.ReactElement<unknown, any>;
@@ -163,7 +163,7 @@ export interface DialogProps extends Omit<StandardProps<ModalProps, 'children'>,
163
163
  /**
164
164
  * Props applied to the transition element.
165
165
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
166
- * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
166
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
167
167
  */
168
168
  TransitionProps?: TransitionProps;
169
169
  }
@@ -9,9 +9,13 @@ export interface DialogClasses {
9
9
  container: string;
10
10
  /** Styles applied to the Paper component. */
11
11
  paper: string;
12
- /** Styles applied to the Paper component if `scroll="paper"`. */
12
+ /** Styles applied to the Paper component if `scroll="paper"`.
13
+ * @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#dialog-classes-paper) and [.MuiDialog-scrollPaper](/material-ui/api/dialog/#dialog-classes-scrollPaper) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
14
+ */
13
15
  paperScrollPaper: string;
14
- /** Styles applied to the Paper component if `scroll="body"`. */
16
+ /** Styles applied to the Paper component if `scroll="body"`.
17
+ * @deprecated Combine the [.MuiDialog-paper](/material-ui/api/dialog/#dialog-classes-paper) and [.MuiDialog-scrollBody](/material-ui/api/dialog/#dialog-classes-scrollBody) classes instead. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
18
+ */
15
19
  paperScrollBody: string;
16
20
  /** Styles applied to the Paper component if `maxWidth=false`. */
17
21
  paperWidthFalse: string;