@mui/material 5.0.0-rc.1 → 5.0.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 (378) hide show
  1. package/Accordion/Accordion.d.ts +4 -4
  2. package/Accordion/Accordion.js +3 -3
  3. package/Accordion/AccordionContext.js +1 -1
  4. package/AccordionActions/AccordionActions.d.ts +2 -2
  5. package/AccordionDetails/AccordionDetails.d.ts +2 -2
  6. package/AccordionSummary/AccordionSummary.d.ts +3 -3
  7. package/Alert/Alert.d.ts +3 -3
  8. package/AlertTitle/AlertTitle.d.ts +2 -2
  9. package/AppBar/AppBar.d.ts +3 -3
  10. package/Autocomplete/Autocomplete.d.ts +2 -2
  11. package/Autocomplete/Autocomplete.js +2 -2
  12. package/Avatar/Avatar.d.ts +2 -2
  13. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  14. package/AvatarGroup/AvatarGroup.js +2 -2
  15. package/Backdrop/Backdrop.d.ts +3 -3
  16. package/Badge/Badge.d.ts +4 -4
  17. package/BottomNavigation/BottomNavigation.d.ts +2 -2
  18. package/BottomNavigation/BottomNavigation.js +1 -1
  19. package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
  20. package/Box/Box.d.ts +4 -4
  21. package/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  22. package/Breadcrumbs/Breadcrumbs.js +2 -2
  23. package/Button/Button.d.ts +4 -4
  24. package/ButtonBase/ButtonBase.d.ts +2 -2
  25. package/ButtonBase/ButtonBase.js +200 -30
  26. package/ButtonGroup/ButtonGroup.d.ts +2 -2
  27. package/ButtonGroup/ButtonGroup.js +1 -1
  28. package/CHANGELOG.md +119 -39
  29. package/Card/Card.d.ts +3 -3
  30. package/Card/Card.js +1 -1
  31. package/CardActionArea/CardActionArea.d.ts +3 -3
  32. package/CardActions/CardActions.d.ts +2 -2
  33. package/CardContent/CardContent.d.ts +2 -2
  34. package/CardHeader/CardHeader.d.ts +2 -2
  35. package/CardMedia/CardMedia.d.ts +2 -2
  36. package/CardMedia/CardMedia.js +1 -1
  37. package/Checkbox/Checkbox.d.ts +4 -4
  38. package/Checkbox/Checkbox.js +1 -1
  39. package/Chip/Chip.d.ts +2 -2
  40. package/Chip/Chip.js +1 -1
  41. package/CircularProgress/CircularProgress.d.ts +2 -2
  42. package/CircularProgress/CircularProgress.js +1 -1
  43. package/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  44. package/ClickAwayListener/ClickAwayListener.js +3 -3
  45. package/Collapse/Collapse.d.ts +5 -5
  46. package/Container/Container.d.ts +2 -2
  47. package/CssBaseline/CssBaseline.d.ts +2 -2
  48. package/Dialog/Dialog.d.ts +4 -4
  49. package/Dialog/Dialog.js +1 -1
  50. package/DialogActions/DialogActions.d.ts +2 -2
  51. package/DialogContent/DialogContent.d.ts +2 -2
  52. package/DialogContentText/DialogContentText.d.ts +3 -3
  53. package/DialogTitle/DialogTitle.d.ts +2 -2
  54. package/Divider/Divider.d.ts +3 -3
  55. package/Drawer/Drawer.d.ts +3 -3
  56. package/Fab/Fab.d.ts +3 -3
  57. package/Fade/Fade.d.ts +3 -3
  58. package/FilledInput/FilledInput.d.ts +3 -3
  59. package/FormControl/FormControl.d.ts +6 -6
  60. package/FormControl/FormControl.js +1 -1
  61. package/FormControlLabel/FormControlLabel.d.ts +4 -4
  62. package/FormGroup/FormGroup.d.ts +3 -3
  63. package/FormHelperText/FormHelperText.d.ts +2 -2
  64. package/FormLabel/FormLabel.d.ts +4 -4
  65. package/GlobalStyles/GlobalStyles.d.ts +2 -2
  66. package/Grid/Grid.d.ts +2 -2
  67. package/Grow/Grow.d.ts +5 -5
  68. package/Hidden/Hidden.d.ts +2 -2
  69. package/Hidden/HiddenCss.js +1 -1
  70. package/Icon/Icon.d.ts +3 -3
  71. package/IconButton/IconButton.d.ts +4 -4
  72. package/IconButton/IconButton.js +1 -1
  73. package/ImageList/ImageList.d.ts +2 -2
  74. package/ImageList/ImageList.js +2 -4
  75. package/ImageListItem/ImageListItem.d.ts +2 -2
  76. package/ImageListItem/ImageListItem.js +1 -1
  77. package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  78. package/Input/Input.d.ts +3 -3
  79. package/InputAdornment/InputAdornment.d.ts +2 -2
  80. package/InputAdornment/InputAdornment.js +1 -1
  81. package/InputBase/InputBase.d.ts +2 -2
  82. package/InputBase/InputBase.js +3 -3
  83. package/InputLabel/InputLabel.d.ts +3 -3
  84. package/LinearProgress/LinearProgress.d.ts +2 -2
  85. package/LinearProgress/LinearProgress.js +2 -2
  86. package/Link/Link.d.ts +4 -4
  87. package/List/List.d.ts +3 -3
  88. package/ListItem/ListItem.d.ts +3 -3
  89. package/ListItem/ListItem.js +2 -2
  90. package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  91. package/ListItemButton/ListItemButton.d.ts +3 -3
  92. package/ListItemButton/ListItemButton.js +1 -1
  93. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  94. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  95. package/ListItemText/ListItemText.d.ts +2 -2
  96. package/ListSubheader/ListSubheader.d.ts +2 -2
  97. package/Menu/Menu.d.ts +5 -5
  98. package/Menu/Menu.js +2 -2
  99. package/MenuItem/MenuItem.d.ts +3 -3
  100. package/MenuItem/MenuItem.js +1 -1
  101. package/MenuList/MenuList.d.ts +4 -4
  102. package/MenuList/MenuList.js +1 -1
  103. package/MobileStepper/MobileStepper.d.ts +3 -3
  104. package/Modal/Modal.d.ts +7 -7
  105. package/NativeSelect/NativeSelect.d.ts +3 -3
  106. package/OutlinedInput/OutlinedInput.d.ts +3 -3
  107. package/Pagination/Pagination.d.ts +2 -2
  108. package/PaginationItem/PaginationItem.d.ts +2 -2
  109. package/Paper/Paper.d.ts +3 -3
  110. package/Paper/Paper.js +2 -2
  111. package/Popover/Popover.d.ts +5 -5
  112. package/Popover/Popover.js +6 -6
  113. package/Popper/Popper.d.ts +4 -4
  114. package/Popper/Popper.js +3 -3
  115. package/README.md +24 -35
  116. package/Radio/Radio.d.ts +3 -3
  117. package/RadioGroup/RadioGroup.d.ts +3 -3
  118. package/Rating/Rating.d.ts +2 -2
  119. package/Rating/Rating.js +1 -1
  120. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +4 -4
  121. package/Select/Select.d.ts +3 -3
  122. package/Select/SelectInput.js +3 -3
  123. package/Skeleton/Skeleton.d.ts +2 -2
  124. package/Slide/Slide.d.ts +4 -4
  125. package/Slide/Slide.js +2 -2
  126. package/Slider/Slider.d.ts +3 -3
  127. package/Slider/Slider.js +2 -2
  128. package/Snackbar/Snackbar.d.ts +3 -3
  129. package/Snackbar/Snackbar.js +1 -1
  130. package/SnackbarContent/SnackbarContent.d.ts +3 -3
  131. package/SpeedDial/SpeedDial.d.ts +3 -3
  132. package/SpeedDial/SpeedDial.js +2 -2
  133. package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
  134. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  135. package/Stack/Stack.d.ts +2 -2
  136. package/Step/Step.d.ts +2 -2
  137. package/StepButton/StepButton.d.ts +3 -3
  138. package/StepConnector/StepConnector.d.ts +2 -2
  139. package/StepContent/StepContent.d.ts +3 -3
  140. package/StepContent/StepContent.js +2 -2
  141. package/StepIcon/StepIcon.d.ts +2 -2
  142. package/StepLabel/StepLabel.d.ts +2 -2
  143. package/Stepper/Stepper.d.ts +2 -2
  144. package/SvgIcon/SvgIcon.d.ts +3 -3
  145. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  146. package/Switch/Switch.d.ts +4 -4
  147. package/Tab/Tab.d.ts +3 -3
  148. package/TabScrollButton/TabScrollButton.d.ts +2 -2
  149. package/Table/Table.d.ts +2 -2
  150. package/TableBody/TableBody.d.ts +2 -2
  151. package/TableCell/TableCell.d.ts +2 -2
  152. package/TableContainer/TableContainer.d.ts +2 -2
  153. package/TableFooter/TableFooter.d.ts +2 -2
  154. package/TableHead/TableHead.d.ts +2 -2
  155. package/TablePagination/TablePagination.d.ts +3 -3
  156. package/TablePagination/TablePagination.js +1 -1
  157. package/TableRow/TableRow.d.ts +2 -2
  158. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  159. package/Tabs/Tabs.d.ts +2 -2
  160. package/Tabs/Tabs.js +4 -4
  161. package/TextField/TextField.d.ts +11 -11
  162. package/TextField/TextField.js +4 -2
  163. package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  164. package/TextareaAutosize/TextareaAutosize.js +1 -1
  165. package/ToggleButton/ToggleButton.d.ts +3 -3
  166. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  167. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  168. package/Toolbar/Toolbar.d.ts +2 -2
  169. package/Tooltip/Tooltip.d.ts +3 -3
  170. package/Tooltip/Tooltip.js +5 -5
  171. package/Typography/Typography.d.ts +3 -3
  172. package/Zoom/Zoom.d.ts +3 -3
  173. package/colors/amber.d.ts +15 -15
  174. package/colors/blue.d.ts +15 -15
  175. package/colors/blueGrey.d.ts +15 -15
  176. package/colors/brown.d.ts +15 -15
  177. package/colors/common.d.ts +3 -3
  178. package/colors/cyan.d.ts +15 -15
  179. package/colors/deepOrange.d.ts +15 -15
  180. package/colors/deepPurple.d.ts +15 -15
  181. package/colors/green.d.ts +15 -15
  182. package/colors/grey.d.ts +15 -15
  183. package/colors/indigo.d.ts +15 -15
  184. package/colors/lightBlue.d.ts +15 -15
  185. package/colors/lightGreen.d.ts +15 -15
  186. package/colors/lime.d.ts +15 -15
  187. package/colors/orange.d.ts +15 -15
  188. package/colors/pink.d.ts +15 -15
  189. package/colors/purple.d.ts +15 -15
  190. package/colors/red.d.ts +15 -15
  191. package/colors/teal.d.ts +15 -15
  192. package/colors/yellow.d.ts +15 -15
  193. package/index.js +1 -1
  194. package/legacy/Accordion/Accordion.js +3 -3
  195. package/legacy/Accordion/AccordionContext.js +1 -1
  196. package/legacy/Autocomplete/Autocomplete.js +2 -2
  197. package/legacy/AvatarGroup/AvatarGroup.js +2 -2
  198. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  199. package/legacy/Breadcrumbs/Breadcrumbs.js +2 -2
  200. package/legacy/ButtonBase/ButtonBase.js +191 -28
  201. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  202. package/legacy/Card/Card.js +1 -1
  203. package/legacy/CardMedia/CardMedia.js +1 -1
  204. package/legacy/Checkbox/Checkbox.js +1 -1
  205. package/legacy/Chip/Chip.js +1 -1
  206. package/legacy/CircularProgress/CircularProgress.js +1 -1
  207. package/legacy/ClickAwayListener/ClickAwayListener.js +3 -3
  208. package/legacy/Dialog/Dialog.js +1 -1
  209. package/legacy/FormControl/FormControl.js +1 -1
  210. package/legacy/Hidden/HiddenCss.js +1 -1
  211. package/legacy/IconButton/IconButton.js +1 -1
  212. package/legacy/ImageList/ImageList.js +2 -4
  213. package/legacy/ImageListItem/ImageListItem.js +1 -1
  214. package/legacy/InputAdornment/InputAdornment.js +1 -1
  215. package/legacy/InputBase/InputBase.js +3 -3
  216. package/legacy/LinearProgress/LinearProgress.js +2 -2
  217. package/legacy/ListItem/ListItem.js +2 -2
  218. package/legacy/ListItemButton/ListItemButton.js +1 -1
  219. package/legacy/Menu/Menu.js +2 -2
  220. package/legacy/MenuItem/MenuItem.js +1 -1
  221. package/legacy/MenuList/MenuList.js +1 -1
  222. package/legacy/Paper/Paper.js +2 -2
  223. package/legacy/Popover/Popover.js +6 -6
  224. package/legacy/Popper/Popper.js +3 -3
  225. package/legacy/Rating/Rating.js +1 -1
  226. package/legacy/Select/SelectInput.js +3 -3
  227. package/legacy/Slide/Slide.js +2 -2
  228. package/legacy/Slider/Slider.js +2 -2
  229. package/legacy/Snackbar/Snackbar.js +1 -1
  230. package/legacy/SpeedDial/SpeedDial.js +2 -2
  231. package/legacy/StepContent/StepContent.js +2 -2
  232. package/legacy/TablePagination/TablePagination.js +1 -1
  233. package/legacy/Tabs/Tabs.js +4 -4
  234. package/legacy/TextField/TextField.js +4 -2
  235. package/legacy/TextareaAutosize/TextareaAutosize.js +1 -1
  236. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  237. package/legacy/Tooltip/Tooltip.js +5 -5
  238. package/legacy/index.js +1 -1
  239. package/legacy/styles/adaptV4Theme.js +1 -1
  240. package/legacy/styles/createPalette.js +4 -4
  241. package/legacy/styles/createStyles.js +1 -1
  242. package/legacy/styles/createTheme.js +3 -3
  243. package/legacy/styles/createTransitions.js +5 -5
  244. package/legacy/styles/createTypography.js +2 -2
  245. package/legacy/styles/makeStyles.js +1 -1
  246. package/legacy/styles/responsiveFontSizes.js +1 -1
  247. package/legacy/styles/withStyles.js +1 -1
  248. package/legacy/styles/withTheme.js +1 -1
  249. package/legacy/useMediaQuery/useMediaQuery.js +2 -2
  250. package/modern/Accordion/Accordion.js +3 -3
  251. package/modern/Accordion/AccordionContext.js +1 -1
  252. package/modern/Autocomplete/Autocomplete.js +2 -2
  253. package/modern/AvatarGroup/AvatarGroup.js +2 -2
  254. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  255. package/modern/Breadcrumbs/Breadcrumbs.js +2 -2
  256. package/modern/ButtonBase/ButtonBase.js +200 -30
  257. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  258. package/modern/Card/Card.js +1 -1
  259. package/modern/CardMedia/CardMedia.js +1 -1
  260. package/modern/Checkbox/Checkbox.js +1 -1
  261. package/modern/Chip/Chip.js +1 -1
  262. package/modern/CircularProgress/CircularProgress.js +1 -1
  263. package/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  264. package/modern/Dialog/Dialog.js +1 -1
  265. package/modern/FormControl/FormControl.js +1 -1
  266. package/modern/Hidden/HiddenCss.js +1 -1
  267. package/modern/IconButton/IconButton.js +1 -1
  268. package/modern/ImageList/ImageList.js +2 -4
  269. package/modern/ImageListItem/ImageListItem.js +1 -1
  270. package/modern/InputAdornment/InputAdornment.js +1 -1
  271. package/modern/InputBase/InputBase.js +3 -3
  272. package/modern/LinearProgress/LinearProgress.js +2 -2
  273. package/modern/ListItem/ListItem.js +2 -2
  274. package/modern/ListItemButton/ListItemButton.js +1 -1
  275. package/modern/Menu/Menu.js +2 -2
  276. package/modern/MenuItem/MenuItem.js +1 -1
  277. package/modern/MenuList/MenuList.js +1 -1
  278. package/modern/Paper/Paper.js +2 -2
  279. package/modern/Popover/Popover.js +6 -6
  280. package/modern/Popper/Popper.js +3 -3
  281. package/modern/Rating/Rating.js +1 -1
  282. package/modern/Select/SelectInput.js +3 -3
  283. package/modern/Slide/Slide.js +2 -2
  284. package/modern/Slider/Slider.js +2 -2
  285. package/modern/Snackbar/Snackbar.js +1 -1
  286. package/modern/SpeedDial/SpeedDial.js +2 -2
  287. package/modern/StepContent/StepContent.js +2 -2
  288. package/modern/TablePagination/TablePagination.js +1 -1
  289. package/modern/Tabs/Tabs.js +4 -4
  290. package/modern/TextField/TextField.js +4 -2
  291. package/modern/TextareaAutosize/TextareaAutosize.js +1 -1
  292. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  293. package/modern/Tooltip/Tooltip.js +5 -5
  294. package/modern/index.js +1 -1
  295. package/modern/styles/adaptV4Theme.js +1 -1
  296. package/modern/styles/createPalette.js +4 -4
  297. package/modern/styles/createStyles.js +1 -1
  298. package/modern/styles/createTheme.js +3 -3
  299. package/modern/styles/createTransitions.js +5 -5
  300. package/modern/styles/createTypography.js +3 -3
  301. package/modern/styles/makeStyles.js +2 -2
  302. package/modern/styles/responsiveFontSizes.js +1 -1
  303. package/modern/styles/withStyles.js +2 -2
  304. package/modern/styles/withTheme.js +2 -2
  305. package/modern/useMediaQuery/useMediaQuery.js +2 -2
  306. package/node/Accordion/Accordion.js +3 -3
  307. package/node/Accordion/AccordionContext.js +1 -1
  308. package/node/Autocomplete/Autocomplete.js +2 -2
  309. package/node/AvatarGroup/AvatarGroup.js +2 -2
  310. package/node/BottomNavigation/BottomNavigation.js +1 -1
  311. package/node/Breadcrumbs/Breadcrumbs.js +2 -2
  312. package/node/ButtonBase/ButtonBase.js +202 -32
  313. package/node/ButtonGroup/ButtonGroup.js +1 -1
  314. package/node/Card/Card.js +1 -1
  315. package/node/CardMedia/CardMedia.js +1 -1
  316. package/node/Checkbox/Checkbox.js +1 -1
  317. package/node/Chip/Chip.js +1 -1
  318. package/node/CircularProgress/CircularProgress.js +1 -1
  319. package/node/ClickAwayListener/ClickAwayListener.js +3 -3
  320. package/node/Dialog/Dialog.js +1 -1
  321. package/node/FormControl/FormControl.js +1 -1
  322. package/node/Hidden/HiddenCss.js +1 -1
  323. package/node/IconButton/IconButton.js +1 -1
  324. package/node/ImageList/ImageList.js +2 -4
  325. package/node/ImageListItem/ImageListItem.js +1 -1
  326. package/node/InputAdornment/InputAdornment.js +1 -1
  327. package/node/InputBase/InputBase.js +3 -3
  328. package/node/LinearProgress/LinearProgress.js +2 -2
  329. package/node/ListItem/ListItem.js +2 -2
  330. package/node/ListItemButton/ListItemButton.js +1 -1
  331. package/node/Menu/Menu.js +2 -2
  332. package/node/MenuItem/MenuItem.js +1 -1
  333. package/node/MenuList/MenuList.js +1 -1
  334. package/node/Paper/Paper.js +2 -2
  335. package/node/Popover/Popover.js +6 -6
  336. package/node/Popper/Popper.js +3 -3
  337. package/node/Rating/Rating.js +1 -1
  338. package/node/Select/SelectInput.js +3 -3
  339. package/node/Slide/Slide.js +2 -2
  340. package/node/Slider/Slider.js +2 -2
  341. package/node/Snackbar/Snackbar.js +1 -1
  342. package/node/SpeedDial/SpeedDial.js +2 -2
  343. package/node/StepContent/StepContent.js +2 -2
  344. package/node/TablePagination/TablePagination.js +1 -1
  345. package/node/Tabs/Tabs.js +4 -4
  346. package/node/TextField/TextField.js +4 -2
  347. package/node/TextareaAutosize/TextareaAutosize.js +1 -1
  348. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  349. package/node/Tooltip/Tooltip.js +5 -5
  350. package/node/index.js +1 -1
  351. package/node/styles/adaptV4Theme.js +1 -1
  352. package/node/styles/createPalette.js +4 -4
  353. package/node/styles/createStyles.js +1 -1
  354. package/node/styles/createTheme.js +3 -3
  355. package/node/styles/createTransitions.js +5 -5
  356. package/node/styles/createTypography.js +3 -3
  357. package/node/styles/makeStyles.js +2 -2
  358. package/node/styles/responsiveFontSizes.js +1 -1
  359. package/node/styles/withStyles.js +2 -2
  360. package/node/styles/withTheme.js +2 -2
  361. package/node/useMediaQuery/useMediaQuery.js +2 -2
  362. package/package.json +10 -10
  363. package/styles/ThemeProvider.d.ts +1 -1
  364. package/styles/adaptV4Theme.d.ts +2 -2
  365. package/styles/adaptV4Theme.js +1 -1
  366. package/styles/createPalette.js +4 -4
  367. package/styles/createStyles.js +1 -1
  368. package/styles/createTheme.d.ts +2 -2
  369. package/styles/createTheme.js +3 -3
  370. package/styles/createTransitions.js +5 -5
  371. package/styles/createTypography.js +3 -3
  372. package/styles/makeStyles.js +2 -2
  373. package/styles/responsiveFontSizes.js +1 -1
  374. package/styles/withStyles.js +2 -2
  375. package/styles/withTheme.js +2 -2
  376. package/umd/material-ui.development.js +787 -364
  377. package/umd/material-ui.production.min.js +21 -21
  378. package/useMediaQuery/useMediaQuery.js +2 -2
@@ -106,7 +106,7 @@ const StepContent = /*#__PURE__*/React.forwardRef(function StepContent(inProps,
106
106
 
107
107
  if (process.env.NODE_ENV !== 'production') {
108
108
  if (orientation !== 'vertical') {
109
- console.error('Material-UI: <StepContent /> is only designed for use with the vertical stepper.');
109
+ console.error('MUI: <StepContent /> is only designed for use with the vertical stepper.');
110
110
  }
111
111
  }
112
112
 
@@ -183,7 +183,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
183
183
 
184
184
  /**
185
185
  * Props applied to the transition element.
186
- * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition) component.
186
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
187
187
  */
188
188
  TransitionProps: _propTypes.default.object
189
189
  } : void 0;
@@ -399,7 +399,7 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes
399
399
  const newLastPage = Math.max(0, Math.ceil(count / rowsPerPage) - 1);
400
400
 
401
401
  if (page < 0 || page > newLastPage) {
402
- return new Error('Material-UI: The page prop of a TablePagination is out of range ' + `(0 to ${newLastPage}, but page is ${page}).`);
402
+ return new Error('MUI: The page prop of a TablePagination is out of range ' + `(0 to ${newLastPage}, but page is ${page}).`);
403
403
  }
404
404
 
405
405
  return null;
package/node/Tabs/Tabs.js CHANGED
@@ -308,7 +308,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
308
308
 
309
309
  if (process.env.NODE_ENV !== 'production') {
310
310
  if (centered && scrollable) {
311
- console.error('Material-UI: You can not use the `centered={true}` and `variant="scrollable"` properties ' + 'at the same time on a `Tabs` component.');
311
+ console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties ' + 'at the same time on a `Tabs` component.');
312
312
  }
313
313
  }
314
314
 
@@ -356,7 +356,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
356
356
 
357
357
  if (process.env.NODE_ENV !== 'production') {
358
358
  if (!tab) {
359
- console.error([`Material-UI: The \`value\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with "${value}".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\n'));
359
+ console.error([`MUI: The \`value\` provided to the Tabs component is invalid.`, `None of the Tabs' children match with "${value}".`, valueToIndex.keys ? `You can provide one of the following values: ${Array.from(valueToIndex.keys()).join(', ')}.` : null].join('\n'));
360
360
  }
361
361
  }
362
362
 
@@ -365,7 +365,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
365
365
  if (process.env.NODE_ENV !== 'production') {
366
366
  if (process.env.NODE_ENV !== 'test' && !warnedOnceTabPresent && tabMeta && tabMeta.width === 0 && tabMeta.height === 0) {
367
367
  tabsMeta = null;
368
- console.error(['Material-UI: The `value` provided to the Tabs component is invalid.', `The Tab with this \`value\` ("${value}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join('\n'));
368
+ console.error(['MUI: The `value` provided to the Tabs component is invalid.', `The Tab with this \`value\` ("${value}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join('\n'));
369
369
  warnedOnceTabPresent = true;
370
370
  }
371
371
  }
@@ -623,7 +623,7 @@ const Tabs = /*#__PURE__*/React.forwardRef(function Tabs(inProps, ref) {
623
623
 
624
624
  if (process.env.NODE_ENV !== 'production') {
625
625
  if ((0, _reactIs.isFragment)(child)) {
626
- console.error(["Material-UI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
626
+ console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
627
627
  }
628
628
  }
629
629
 
@@ -158,7 +158,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
158
158
 
159
159
  if (process.env.NODE_ENV !== 'production') {
160
160
  if (select && !children) {
161
- console.error('Material-UI: `children` must be passed when using the `TextField` component with `select`.');
161
+ console.error('MUI: `children` must be passed when using the `TextField` component with `select`.');
162
162
  }
163
163
  }
164
164
 
@@ -442,7 +442,9 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
442
442
  /**
443
443
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
444
444
  */
445
- type: _propTypes.default.string,
445
+ type: _propTypes.default
446
+ /* @typescript-to-proptypes-ignore */
447
+ .string,
446
448
 
447
449
  /**
448
450
  * The value of the `input` element, required for a controlled component.
@@ -123,7 +123,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
123
123
 
124
124
  if (process.env.NODE_ENV !== 'production') {
125
125
  if (renders.current === 20) {
126
- console.error(['Material-UI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
126
+ console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
127
127
  }
128
128
  }
129
129
 
@@ -174,7 +174,7 @@ const ToggleButtonGroup = /*#__PURE__*/React.forwardRef(function ToggleButtonGro
174
174
 
175
175
  if (process.env.NODE_ENV !== 'production') {
176
176
  if ((0, _reactIs.isFragment)(child)) {
177
- console.error(["Material-UI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
177
+ console.error(["MUI: The ToggleButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
178
178
  }
179
179
  }
180
180
 
@@ -305,7 +305,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
305
305
 
306
306
  React.useEffect(() => {
307
307
  if (childNode && childNode.disabled && !isControlled && title !== '' && childNode.tagName.toLowerCase() === 'button') {
308
- console.error(['Material-UI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', "Tooltip needs to listen to the child element's events to display the title.", '', 'Add a simple wrapper element, such as a `span`.'].join('\n'));
308
+ console.error(['MUI: You are providing a disabled `button` child to the Tooltip component.', 'A disabled element does not fire events.', "Tooltip needs to listen to the child element's events to display the title.", '', 'Add a simple wrapper element, such as a `span`.'].join('\n'));
309
309
  }
310
310
  }, [title, childNode, isControlled]);
311
311
  }
@@ -461,7 +461,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
461
461
  children.props.onTouchEnd(event);
462
462
  }
463
463
 
464
- clearTimeout(touchTimer.current);
464
+ stopTouchInteraction();
465
465
  clearTimeout(leaveTimer.current);
466
466
  leaveTimer.current = setTimeout(() => {
467
467
  handleClose(event);
@@ -544,7 +544,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
544
544
 
545
545
  React.useEffect(() => {
546
546
  if (childNode && !childNode.getAttribute('data-mui-internal-clone-element')) {
547
- console.error(['Material-UI: The `children` component of the Tooltip is not forwarding its props correctly.', 'Please make sure that props are spread on the same element that the ref is applied to.'].join('\n'));
547
+ console.error(['MUI: The `children` component of the Tooltip is not forwarding its props correctly.', 'Please make sure that props are spread on the same element that the ref is applied to.'].join('\n'));
548
548
  }
549
549
  }, [childNode]);
550
550
  }
@@ -578,7 +578,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
578
578
 
579
579
  if (process.env.NODE_ENV !== 'production') {
580
580
  if (children.props.title) {
581
- console.error(['Material-UI: You have provided a `title` prop to the child of <Tooltip />.', `Remove this title prop \`${children.props.title}\` or the Tooltip component.`].join('\n'));
581
+ console.error(['MUI: You have provided a `title` prop to the child of <Tooltip />.', `Remove this title prop \`${children.props.title}\` or the Tooltip component.`].join('\n'));
582
582
  }
583
583
  }
584
584
 
@@ -814,7 +814,7 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
814
814
 
815
815
  /**
816
816
  * Props applied to the transition element.
817
- * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition) component.
817
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
818
818
  */
819
819
  TransitionProps: _propTypes.default.object
820
820
  } : void 0;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Material-UI v5.0.0-rc.1
1
+ /** @license MUI v5.0.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -18,7 +18,7 @@ const _excluded = ["defaultProps", "mixins", "overrides", "palette", "props", "s
18
18
 
19
19
  function adaptV4Theme(inputTheme) {
20
20
  if (process.env.NODE_ENV !== 'production') {
21
- console.warn(['Material-UI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://material-ui.com/r/migration-v4#theme.'].join('\n'));
21
+ console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
22
22
  }
23
23
 
24
24
  const {
@@ -235,7 +235,7 @@ function createPalette(palette) {
235
235
  const contrast = (0, _system.getContrastRatio)(background, contrastText);
236
236
 
237
237
  if (contrast < 3) {
238
- console.error([`Material-UI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
238
+ console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
239
239
  }
240
240
  }
241
241
 
@@ -256,12 +256,12 @@ function createPalette(palette) {
256
256
  }
257
257
 
258
258
  if (!color.hasOwnProperty('main')) {
259
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
259
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
260
260
  The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : (0, _utils.formatMuiErrorMessage)(11, name ? ` (${name})` : '', mainShade));
261
261
  }
262
262
 
263
263
  if (typeof color.main !== 'string') {
264
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
264
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
265
265
  \`color.main\` should be a string, but \`${JSON.stringify(color.main)}\` was provided instead.
266
266
 
267
267
  Did you intend to use one of the following approaches?
@@ -294,7 +294,7 @@ const theme2 = createTheme({ palette: {
294
294
 
295
295
  if (process.env.NODE_ENV !== 'production') {
296
296
  if (!modes[mode]) {
297
- console.error(`Material-UI: The palette mode \`${mode}\` is not supported.`);
297
+ console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
298
298
  }
299
299
  }
300
300
 
@@ -8,7 +8,7 @@ let warnedOnce = false; // To remove in v6
8
8
 
9
9
  function createStyles(styles) {
10
10
  if (!warnedOnce) {
11
- console.warn(['Material-UI: createStyles from @mui/material/styles is deprecated.', 'Please use @mui/styles/createStyles'].join('\n'));
11
+ console.warn(['MUI: createStyles from @mui/material/styles is deprecated.', 'Please use @mui/styles/createStyles'].join('\n'));
12
12
  warnedOnce = true;
13
13
  }
14
14
 
@@ -66,11 +66,11 @@ function createTheme(options = {}, ...args) {
66
66
  if (stateClasses.indexOf(key) !== -1 && Object.keys(child).length > 0) {
67
67
  if (process.env.NODE_ENV !== 'production') {
68
68
  const stateClass = (0, _core.generateUtilityClass)('', key);
69
- console.error([`Material-UI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
69
+ console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
70
70
  root: {
71
71
  [`&.${stateClass}`]: child
72
72
  }
73
- }, null, 2), '', 'https://material-ui.com/r/state-classes-guide'].join('\n'));
73
+ }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
74
74
  } // Remove the style to prevent global conflicts.
75
75
 
76
76
 
@@ -97,7 +97,7 @@ function createMuiTheme(...args) {
97
97
  if (process.env.NODE_ENV !== 'production') {
98
98
  if (!warnedOnce) {
99
99
  warnedOnce = true;
100
- console.error(['Material-UI: the createMuiTheme function was renamed to createTheme.', '', "You should use `import { createTheme } from '@mui/material/styles'`"].join('\n'));
100
+ console.error(['MUI: the createMuiTheme function was renamed to createTheme.', '', "You should use `import { createTheme } from '@mui/material/styles'`"].join('\n'));
101
101
  }
102
102
  }
103
103
 
@@ -78,23 +78,23 @@ function createTransitions(inputTransitions) {
78
78
  const isNumber = value => !isNaN(parseFloat(value));
79
79
 
80
80
  if (!isString(props) && !Array.isArray(props)) {
81
- console.error('Material-UI: Argument "props" must be a string or Array.');
81
+ console.error('MUI: Argument "props" must be a string or Array.');
82
82
  }
83
83
 
84
84
  if (!isNumber(durationOption) && !isString(durationOption)) {
85
- console.error(`Material-UI: Argument "duration" must be a number or a string but found ${durationOption}.`);
85
+ console.error(`MUI: Argument "duration" must be a number or a string but found ${durationOption}.`);
86
86
  }
87
87
 
88
88
  if (!isString(easingOption)) {
89
- console.error('Material-UI: Argument "easing" must be a string.');
89
+ console.error('MUI: Argument "easing" must be a string.');
90
90
  }
91
91
 
92
92
  if (!isNumber(delay) && !isString(delay)) {
93
- console.error('Material-UI: Argument "delay" must be a number or a string.');
93
+ console.error('MUI: Argument "delay" must be a number or a string.');
94
94
  }
95
95
 
96
96
  if (Object.keys(other).length !== 0) {
97
- console.error(`Material-UI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
97
+ console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
98
98
  }
99
99
  }
100
100
 
@@ -39,7 +39,7 @@ function createTypography(palette, typography) {
39
39
  fontWeightRegular = 400,
40
40
  fontWeightMedium = 500,
41
41
  fontWeightBold = 700,
42
- // Tell Material-UI what's the font-size on the html element.
42
+ // Tell MUI what's the font-size on the html element.
43
43
  // 16px is the default font-size used by browsers.
44
44
  htmlFontSize = 16,
45
45
  // Apply the CSS properties to all the variants.
@@ -50,11 +50,11 @@ function createTypography(palette, typography) {
50
50
 
51
51
  if (process.env.NODE_ENV !== 'production') {
52
52
  if (typeof fontSize !== 'number') {
53
- console.error('Material-UI: `fontSize` is required to be a number.');
53
+ console.error('MUI: `fontSize` is required to be a number.');
54
54
  }
55
55
 
56
56
  if (typeof htmlFontSize !== 'number') {
57
- console.error('Material-UI: `htmlFontSize` is required to be a number.');
57
+ console.error('MUI: `htmlFontSize` is required to be a number.');
58
58
  }
59
59
  }
60
60
 
@@ -8,7 +8,7 @@ exports.default = makeStyles;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  function makeStyles() {
11
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: makeStyles is not longer exported from @mui/material/styles.
11
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: makeStyles is not longer exported from @mui/material/styles.
12
12
  You have to import it from @mui/styles.
13
- See https://material-ui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(14));
13
+ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(14));
14
14
  }
@@ -42,7 +42,7 @@ function responsiveFontSizes(themeInput, options = {}) {
42
42
  } = style;
43
43
 
44
44
  if (!(0, _cssUtils.isUnitless)(lineHeight) && !disableAlign) {
45
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: Unsupported non-unitless line height with grid alignment.
45
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: Unsupported non-unitless line height with grid alignment.
46
46
  Use unitless line heights instead.` : (0, _utils.formatMuiErrorMessage)(6));
47
47
  }
48
48
 
@@ -8,7 +8,7 @@ exports.default = withStyles;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  function withStyles() {
11
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: withStyles is not longer exported from @mui/material/styles.
11
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: withStyles is not longer exported from @mui/material/styles.
12
12
  You have to import it from @mui/styles.
13
- See https://material-ui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(15));
13
+ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(15));
14
14
  }
@@ -8,7 +8,7 @@ exports.default = withTheme;
8
8
  var _utils = require("@mui/utils");
9
9
 
10
10
  function withTheme() {
11
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: withTheme is not longer exported from @mui/material/styles.
11
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: withTheme is not longer exported from @mui/material/styles.
12
12
  You have to import it from @mui/styles.
13
- See https://material-ui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(16));
13
+ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` : (0, _utils.formatMuiErrorMessage)(16));
14
14
  }
@@ -29,13 +29,13 @@ function useMediaQuery(queryInput, options = {}) {
29
29
 
30
30
  if (process.env.NODE_ENV !== 'production') {
31
31
  if (typeof queryInput === 'function' && theme === null) {
32
- console.error(['Material-UI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
32
+ console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
33
33
  }
34
34
  }
35
35
 
36
36
  let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
37
37
  query = query.replace(/^@media( ?)/m, ''); // Wait for jsdom to support the match media feature.
38
- // All the browsers Material-UI support have this built-in.
38
+ // All the browsers MUI support have this built-in.
39
39
  // This defensive check is here for simplicity.
40
40
  // Most of the time, the match media logic isn't central to people tests.
41
41
 
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.0.0-rc.1",
3
+ "version": "5.0.0",
4
4
  "private": false,
5
- "author": "Material-UI Team",
6
- "description": "Quickly build beautiful React apps. Material-UI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
5
+ "author": "MUI Team",
6
+ "description": "Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.",
7
7
  "main": "./node/index.js",
8
8
  "keywords": [
9
9
  "react",
@@ -20,7 +20,7 @@
20
20
  "bugs": {
21
21
  "url": "https://github.com/mui-org/material-ui/issues"
22
22
  },
23
- "homepage": "https://material-ui.com/",
23
+ "homepage": "https://mui.com/",
24
24
  "funding": {
25
25
  "type": "opencollective",
26
26
  "url": "https://opencollective.com/material-ui"
@@ -45,18 +45,18 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@babel/runtime": "^7.14.8",
48
- "@mui/core": "5.0.0-alpha.46",
49
- "@mui/system": "5.0.0-rc.1",
50
- "@mui/types": "7.0.0-rc.1",
51
- "@mui/utils": "5.0.0-rc.1",
48
+ "@mui/core": "5.0.0-alpha.47",
49
+ "@mui/system": "^5.0.0",
50
+ "@mui/types": "^7.0.0",
51
+ "@mui/utils": "^5.0.0",
52
52
  "@popperjs/core": "^2.4.4",
53
- "@types/react-transition-group": "^4.2.0",
53
+ "@types/react-transition-group": "^4.4.2",
54
54
  "clsx": "^1.1.1",
55
55
  "csstype": "^3.0.8",
56
56
  "hoist-non-react-statics": "^3.3.2",
57
57
  "prop-types": "^15.7.2",
58
58
  "react-is": "^17.0.2",
59
- "react-transition-group": "^4.4.0"
59
+ "react-transition-group": "^4.4.2"
60
60
  },
61
61
  "sideEffects": false,
62
62
  "publishConfig": {
@@ -10,7 +10,7 @@ export interface ThemeProviderProps<Theme = DefaultTheme> {
10
10
  * It should preferably be used at **the root of your component tree**.
11
11
  * API:
12
12
  *
13
- * - [ThemeProvider API](https://material-ui.com/api/theme-provider/)
13
+ * - [ThemeProvider API](https://mui.com/api/theme-provider/)
14
14
  */
15
15
  export default function ThemeProvider<T = DefaultTheme>(
16
16
  props: ThemeProviderProps<T>,
@@ -31,8 +31,8 @@ export interface DeprecatedThemeOptions {
31
31
 
32
32
  /**
33
33
  * Generate a theme base on the V4 theme options received.
34
- * @deprecated Follow the upgrade guide on https://material-ui.com/r/migration-v4#theme
34
+ * @deprecated Follow the upgrade guide on https://mui.com/r/migration-v4#theme
35
35
  * @param options Takes an incomplete theme object and adds the missing parts.
36
- * @returns A complete, ready to use theme object.
36
+ * @returns A complete, ready-to-use theme object.
37
37
  */
38
38
  export default function adaptV4Theme(options?: DeprecatedThemeOptions): Theme;
@@ -5,7 +5,7 @@ const _excluded = ["defaultProps", "mixins", "overrides", "palette", "props", "s
5
5
  import { createBreakpoints, createSpacing } from '@mui/system';
6
6
  export default function adaptV4Theme(inputTheme) {
7
7
  if (process.env.NODE_ENV !== 'production') {
8
- console.warn(['Material-UI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://material-ui.com/r/migration-v4#theme.'].join('\n'));
8
+ console.warn(['MUI: adaptV4Theme() is deprecated.', 'Follow the upgrade guide on https://mui.com/r/migration-v4#theme.'].join('\n'));
9
9
  }
10
10
 
11
11
  const {
@@ -213,7 +213,7 @@ export default function createPalette(palette) {
213
213
  const contrast = getContrastRatio(background, contrastText);
214
214
 
215
215
  if (contrast < 3) {
216
- console.error([`Material-UI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
216
+ console.error([`MUI: The contrast ratio of ${contrast}:1 for ${contrastText} on ${background}`, 'falls below the WCAG recommended absolute minimum contrast ratio of 3:1.', 'https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast'].join('\n'));
217
217
  }
218
218
  }
219
219
 
@@ -234,12 +234,12 @@ export default function createPalette(palette) {
234
234
  }
235
235
 
236
236
  if (!color.hasOwnProperty('main')) {
237
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
237
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
238
238
  The color object needs to have a \`main\` property or a \`${mainShade}\` property.` : _formatMuiErrorMessage(11, name ? ` (${name})` : '', mainShade));
239
239
  }
240
240
 
241
241
  if (typeof color.main !== 'string') {
242
- throw new Error(process.env.NODE_ENV !== "production" ? `Material-UI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
242
+ throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${name ? ` (${name})` : ''} provided to augmentColor(color) is invalid.
243
243
  \`color.main\` should be a string, but \`${JSON.stringify(color.main)}\` was provided instead.
244
244
 
245
245
  Did you intend to use one of the following approaches?
@@ -272,7 +272,7 @@ const theme2 = createTheme({ palette: {
272
272
 
273
273
  if (process.env.NODE_ENV !== 'production') {
274
274
  if (!modes[mode]) {
275
- console.error(`Material-UI: The palette mode \`${mode}\` is not supported.`);
275
+ console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
276
276
  }
277
277
  }
278
278