@mui/material 5.0.6 → 5.1.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 (494) hide show
  1. package/Accordion/Accordion.js +1 -1
  2. package/AccordionActions/AccordionActions.js +1 -1
  3. package/AccordionDetails/AccordionDetails.js +1 -1
  4. package/AccordionSummary/AccordionSummary.js +1 -1
  5. package/Alert/Alert.js +1 -1
  6. package/AlertTitle/AlertTitle.js +1 -1
  7. package/AppBar/AppBar.js +1 -1
  8. package/Autocomplete/Autocomplete.js +4 -1
  9. package/Avatar/Avatar.js +1 -1
  10. package/AvatarGroup/AvatarGroup.js +1 -1
  11. package/Backdrop/Backdrop.js +1 -1
  12. package/Badge/Badge.js +1 -1
  13. package/BottomNavigation/BottomNavigation.js +1 -1
  14. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  15. package/Box/Box.d.ts +18 -2
  16. package/Box/Box.js +4 -1
  17. package/Breadcrumbs/Breadcrumbs.js +1 -1
  18. package/Button/Button.js +40 -9
  19. package/ButtonBase/ButtonBase.js +1 -1
  20. package/ButtonGroup/ButtonGroup.js +23 -27
  21. package/ButtonGroup/ButtonGroupContext.d.ts +18 -0
  22. package/ButtonGroup/ButtonGroupContext.js +12 -0
  23. package/CHANGELOG.md +107 -0
  24. package/Card/Card.js +1 -1
  25. package/CardActionArea/CardActionArea.js +1 -1
  26. package/CardActions/CardActions.js +1 -1
  27. package/CardContent/CardContent.js +1 -1
  28. package/CardHeader/CardHeader.js +1 -1
  29. package/CardMedia/CardMedia.js +1 -1
  30. package/Checkbox/Checkbox.js +1 -1
  31. package/Chip/Chip.js +1 -1
  32. package/CircularProgress/CircularProgress.js +1 -1
  33. package/Collapse/Collapse.js +1 -1
  34. package/Container/Container.js +1 -1
  35. package/CssBaseline/CssBaseline.d.ts +7 -0
  36. package/CssBaseline/CssBaseline.js +20 -12
  37. package/Dialog/Dialog.js +1 -1
  38. package/DialogActions/DialogActions.js +1 -1
  39. package/DialogContent/DialogContent.js +1 -1
  40. package/DialogContentText/DialogContentText.js +1 -1
  41. package/DialogTitle/DialogTitle.js +1 -1
  42. package/Divider/Divider.js +1 -1
  43. package/Drawer/Drawer.js +1 -1
  44. package/Fab/Fab.js +1 -1
  45. package/FilledInput/FilledInput.js +1 -1
  46. package/FormControl/FormControl.js +1 -1
  47. package/FormControlLabel/FormControlLabel.d.ts +2 -2
  48. package/FormControlLabel/FormControlLabel.js +3 -3
  49. package/FormGroup/FormGroup.js +1 -1
  50. package/FormHelperText/FormHelperText.js +1 -1
  51. package/FormLabel/FormLabel.js +1 -1
  52. package/Grid/Grid.d.ts +31 -11
  53. package/Grid/Grid.js +56 -24
  54. package/Icon/Icon.js +1 -1
  55. package/IconButton/IconButton.js +1 -1
  56. package/ImageList/ImageList.js +1 -1
  57. package/ImageListItem/ImageListItem.js +1 -1
  58. package/ImageListItemBar/ImageListItemBar.js +1 -1
  59. package/Input/Input.js +1 -1
  60. package/InputAdornment/InputAdornment.js +1 -1
  61. package/InputBase/InputBase.js +3 -4
  62. package/InputLabel/InputLabel.js +1 -1
  63. package/LICENSE +21 -21
  64. package/LinearProgress/LinearProgress.js +1 -1
  65. package/Link/Link.js +1 -1
  66. package/List/List.js +1 -1
  67. package/ListItem/ListItem.d.ts +1 -1
  68. package/ListItem/ListItem.js +1 -1
  69. package/ListItemAvatar/ListItemAvatar.js +1 -1
  70. package/ListItemButton/ListItemButton.d.ts +1 -1
  71. package/ListItemButton/ListItemButton.js +1 -1
  72. package/ListItemIcon/ListItemIcon.js +1 -1
  73. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  74. package/ListItemText/ListItemText.js +1 -1
  75. package/ListSubheader/ListSubheader.js +1 -1
  76. package/Menu/Menu.js +1 -1
  77. package/MenuItem/MenuItem.js +1 -1
  78. package/MobileStepper/MobileStepper.js +1 -1
  79. package/Modal/Modal.js +1 -1
  80. package/NativeSelect/NativeSelect.js +1 -1
  81. package/OutlinedInput/NotchedOutline.js +6 -1
  82. package/OutlinedInput/OutlinedInput.js +1 -1
  83. package/Pagination/Pagination.js +1 -1
  84. package/PaginationItem/PaginationItem.d.ts +15 -0
  85. package/PaginationItem/PaginationItem.js +32 -10
  86. package/Paper/Paper.js +1 -1
  87. package/Popover/Popover.js +1 -1
  88. package/Radio/Radio.js +1 -1
  89. package/RadioGroup/RadioGroupContext.d.ts +11 -0
  90. package/RadioGroup/RadioGroupContext.js +2 -2
  91. package/RadioGroup/useRadioGroup.d.ts +4 -5
  92. package/Rating/Rating.js +1 -1
  93. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -0
  94. package/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
  95. package/Select/Select.js +1 -1
  96. package/Skeleton/Skeleton.js +1 -1
  97. package/Slider/Slider.js +1 -1
  98. package/Snackbar/Snackbar.js +1 -1
  99. package/SnackbarContent/SnackbarContent.js +1 -1
  100. package/SpeedDial/SpeedDial.js +1 -1
  101. package/SpeedDialAction/SpeedDialAction.js +1 -1
  102. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  103. package/Stack/Stack.js +5 -2
  104. package/Step/Step.js +1 -1
  105. package/StepButton/StepButton.js +1 -1
  106. package/StepConnector/StepConnector.js +1 -1
  107. package/StepContent/StepContent.js +1 -1
  108. package/StepIcon/StepIcon.js +1 -1
  109. package/StepLabel/StepLabel.js +1 -1
  110. package/Stepper/Stepper.js +1 -1
  111. package/SvgIcon/SvgIcon.js +1 -1
  112. package/Switch/Switch.js +1 -1
  113. package/Tab/Tab.js +1 -1
  114. package/TabScrollButton/TabScrollButton.js +1 -1
  115. package/Table/Table.js +1 -1
  116. package/TableBody/TableBody.js +1 -1
  117. package/TableCell/TableCell.js +1 -1
  118. package/TableContainer/TableContainer.js +1 -1
  119. package/TableFooter/TableFooter.js +1 -1
  120. package/TableHead/TableHead.js +1 -1
  121. package/TablePagination/TablePagination.js +1 -1
  122. package/TableRow/TableRow.js +1 -1
  123. package/TableSortLabel/TableSortLabel.js +1 -1
  124. package/Tabs/Tabs.js +1 -1
  125. package/TextField/TextField.js +1 -1
  126. package/ToggleButton/ToggleButton.js +1 -1
  127. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  128. package/Toolbar/Toolbar.js +1 -1
  129. package/Tooltip/Tooltip.d.ts +3 -1
  130. package/Tooltip/Tooltip.js +4 -2
  131. package/Typography/Typography.js +1 -1
  132. package/index.d.ts +3 -0
  133. package/index.js +1 -1
  134. package/legacy/Accordion/Accordion.js +1 -1
  135. package/legacy/AccordionActions/AccordionActions.js +1 -1
  136. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  137. package/legacy/AccordionSummary/AccordionSummary.js +1 -1
  138. package/legacy/Alert/Alert.js +1 -1
  139. package/legacy/AlertTitle/AlertTitle.js +1 -1
  140. package/legacy/AppBar/AppBar.js +1 -1
  141. package/legacy/Autocomplete/Autocomplete.js +4 -2
  142. package/legacy/Avatar/Avatar.js +1 -1
  143. package/legacy/AvatarGroup/AvatarGroup.js +1 -1
  144. package/legacy/Backdrop/Backdrop.js +1 -1
  145. package/legacy/Badge/Badge.js +1 -1
  146. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  147. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  148. package/legacy/Box/Box.js +4 -1
  149. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  150. package/legacy/Button/Button.js +40 -16
  151. package/legacy/ButtonBase/ButtonBase.js +1 -1
  152. package/legacy/ButtonGroup/ButtonGroup.js +25 -27
  153. package/legacy/ButtonGroup/ButtonGroupContext.js +12 -0
  154. package/legacy/Card/Card.js +1 -1
  155. package/legacy/CardActionArea/CardActionArea.js +1 -1
  156. package/legacy/CardActions/CardActions.js +1 -1
  157. package/legacy/CardContent/CardContent.js +1 -1
  158. package/legacy/CardHeader/CardHeader.js +1 -1
  159. package/legacy/CardMedia/CardMedia.js +1 -1
  160. package/legacy/Checkbox/Checkbox.js +1 -1
  161. package/legacy/Chip/Chip.js +1 -1
  162. package/legacy/CircularProgress/CircularProgress.js +1 -1
  163. package/legacy/Collapse/Collapse.js +1 -1
  164. package/legacy/Container/Container.js +1 -1
  165. package/legacy/CssBaseline/CssBaseline.js +38 -20
  166. package/legacy/Dialog/Dialog.js +1 -1
  167. package/legacy/DialogActions/DialogActions.js +1 -1
  168. package/legacy/DialogContent/DialogContent.js +1 -1
  169. package/legacy/DialogContentText/DialogContentText.js +1 -1
  170. package/legacy/DialogTitle/DialogTitle.js +1 -1
  171. package/legacy/Divider/Divider.js +1 -1
  172. package/legacy/Drawer/Drawer.js +1 -1
  173. package/legacy/Fab/Fab.js +1 -1
  174. package/legacy/FilledInput/FilledInput.js +1 -1
  175. package/legacy/FormControl/FormControl.js +1 -1
  176. package/legacy/FormControlLabel/FormControlLabel.js +3 -3
  177. package/legacy/FormGroup/FormGroup.js +1 -1
  178. package/legacy/FormHelperText/FormHelperText.js +1 -1
  179. package/legacy/FormLabel/FormLabel.js +1 -1
  180. package/legacy/Grid/Grid.js +57 -24
  181. package/legacy/Icon/Icon.js +1 -1
  182. package/legacy/IconButton/IconButton.js +1 -1
  183. package/legacy/ImageList/ImageList.js +1 -1
  184. package/legacy/ImageListItem/ImageListItem.js +1 -1
  185. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  186. package/legacy/Input/Input.js +1 -1
  187. package/legacy/InputAdornment/InputAdornment.js +1 -1
  188. package/legacy/InputBase/InputBase.js +3 -4
  189. package/legacy/InputLabel/InputLabel.js +1 -1
  190. package/legacy/LinearProgress/LinearProgress.js +1 -1
  191. package/legacy/Link/Link.js +1 -1
  192. package/legacy/List/List.js +1 -1
  193. package/legacy/ListItem/ListItem.js +1 -1
  194. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  195. package/legacy/ListItemButton/ListItemButton.js +1 -1
  196. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  197. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  198. package/legacy/ListItemText/ListItemText.js +1 -1
  199. package/legacy/ListSubheader/ListSubheader.js +1 -1
  200. package/legacy/Menu/Menu.js +1 -1
  201. package/legacy/MenuItem/MenuItem.js +1 -1
  202. package/legacy/MobileStepper/MobileStepper.js +1 -1
  203. package/legacy/Modal/Modal.js +1 -1
  204. package/legacy/NativeSelect/NativeSelect.js +1 -1
  205. package/legacy/OutlinedInput/NotchedOutline.js +6 -1
  206. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  207. package/legacy/Pagination/Pagination.js +1 -1
  208. package/legacy/PaginationItem/PaginationItem.js +33 -10
  209. package/legacy/Paper/Paper.js +1 -1
  210. package/legacy/Popover/Popover.js +1 -1
  211. package/legacy/Radio/Radio.js +1 -1
  212. package/legacy/RadioGroup/RadioGroupContext.js +2 -2
  213. package/legacy/Rating/Rating.js +1 -1
  214. package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +13 -4
  215. package/legacy/Select/Select.js +1 -1
  216. package/legacy/Skeleton/Skeleton.js +1 -1
  217. package/legacy/Slider/Slider.js +1 -1
  218. package/legacy/Snackbar/Snackbar.js +1 -1
  219. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  220. package/legacy/SpeedDial/SpeedDial.js +1 -1
  221. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  222. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  223. package/legacy/Stack/Stack.js +5 -2
  224. package/legacy/Step/Step.js +1 -1
  225. package/legacy/StepButton/StepButton.js +1 -1
  226. package/legacy/StepConnector/StepConnector.js +1 -1
  227. package/legacy/StepContent/StepContent.js +1 -1
  228. package/legacy/StepIcon/StepIcon.js +1 -1
  229. package/legacy/StepLabel/StepLabel.js +1 -1
  230. package/legacy/Stepper/Stepper.js +1 -1
  231. package/legacy/SvgIcon/SvgIcon.js +1 -1
  232. package/legacy/Switch/Switch.js +1 -1
  233. package/legacy/Tab/Tab.js +1 -1
  234. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  235. package/legacy/Table/Table.js +1 -1
  236. package/legacy/TableBody/TableBody.js +1 -1
  237. package/legacy/TableCell/TableCell.js +1 -1
  238. package/legacy/TableContainer/TableContainer.js +1 -1
  239. package/legacy/TableFooter/TableFooter.js +1 -1
  240. package/legacy/TableHead/TableHead.js +1 -1
  241. package/legacy/TablePagination/TablePagination.js +1 -1
  242. package/legacy/TableRow/TableRow.js +1 -1
  243. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  244. package/legacy/Tabs/Tabs.js +1 -1
  245. package/legacy/TextField/TextField.js +1 -1
  246. package/legacy/ToggleButton/ToggleButton.js +1 -1
  247. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  248. package/legacy/Toolbar/Toolbar.js +1 -1
  249. package/legacy/Tooltip/Tooltip.js +4 -2
  250. package/legacy/Typography/Typography.js +1 -1
  251. package/legacy/index.js +1 -1
  252. package/legacy/styles/createPalette.js +1 -1
  253. package/modern/Accordion/Accordion.js +1 -1
  254. package/modern/AccordionActions/AccordionActions.js +1 -1
  255. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  256. package/modern/AccordionSummary/AccordionSummary.js +1 -1
  257. package/modern/Alert/Alert.js +1 -1
  258. package/modern/AlertTitle/AlertTitle.js +1 -1
  259. package/modern/AppBar/AppBar.js +1 -1
  260. package/modern/Autocomplete/Autocomplete.js +4 -1
  261. package/modern/Avatar/Avatar.js +1 -1
  262. package/modern/AvatarGroup/AvatarGroup.js +1 -1
  263. package/modern/Backdrop/Backdrop.js +1 -1
  264. package/modern/Badge/Badge.js +1 -1
  265. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  266. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  267. package/modern/Box/Box.js +4 -1
  268. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  269. package/modern/Button/Button.js +40 -9
  270. package/modern/ButtonBase/ButtonBase.js +1 -1
  271. package/modern/ButtonGroup/ButtonGroup.js +23 -27
  272. package/modern/ButtonGroup/ButtonGroupContext.js +12 -0
  273. package/modern/Card/Card.js +1 -1
  274. package/modern/CardActionArea/CardActionArea.js +1 -1
  275. package/modern/CardActions/CardActions.js +1 -1
  276. package/modern/CardContent/CardContent.js +1 -1
  277. package/modern/CardHeader/CardHeader.js +1 -1
  278. package/modern/CardMedia/CardMedia.js +1 -1
  279. package/modern/Checkbox/Checkbox.js +1 -1
  280. package/modern/Chip/Chip.js +1 -1
  281. package/modern/CircularProgress/CircularProgress.js +1 -1
  282. package/modern/Collapse/Collapse.js +1 -1
  283. package/modern/Container/Container.js +1 -1
  284. package/modern/CssBaseline/CssBaseline.js +20 -12
  285. package/modern/Dialog/Dialog.js +1 -1
  286. package/modern/DialogActions/DialogActions.js +1 -1
  287. package/modern/DialogContent/DialogContent.js +1 -1
  288. package/modern/DialogContentText/DialogContentText.js +1 -1
  289. package/modern/DialogTitle/DialogTitle.js +1 -1
  290. package/modern/Divider/Divider.js +1 -1
  291. package/modern/Drawer/Drawer.js +1 -1
  292. package/modern/Fab/Fab.js +1 -1
  293. package/modern/FilledInput/FilledInput.js +1 -1
  294. package/modern/FormControl/FormControl.js +1 -1
  295. package/modern/FormControlLabel/FormControlLabel.js +3 -3
  296. package/modern/FormGroup/FormGroup.js +1 -1
  297. package/modern/FormHelperText/FormHelperText.js +1 -1
  298. package/modern/FormLabel/FormLabel.js +1 -1
  299. package/modern/Grid/Grid.js +56 -24
  300. package/modern/Icon/Icon.js +1 -1
  301. package/modern/IconButton/IconButton.js +1 -1
  302. package/modern/ImageList/ImageList.js +1 -1
  303. package/modern/ImageListItem/ImageListItem.js +1 -1
  304. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  305. package/modern/Input/Input.js +1 -1
  306. package/modern/InputAdornment/InputAdornment.js +1 -1
  307. package/modern/InputBase/InputBase.js +3 -4
  308. package/modern/InputLabel/InputLabel.js +1 -1
  309. package/modern/LinearProgress/LinearProgress.js +1 -1
  310. package/modern/Link/Link.js +1 -1
  311. package/modern/List/List.js +1 -1
  312. package/modern/ListItem/ListItem.js +1 -1
  313. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  314. package/modern/ListItemButton/ListItemButton.js +1 -1
  315. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  316. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  317. package/modern/ListItemText/ListItemText.js +1 -1
  318. package/modern/ListSubheader/ListSubheader.js +1 -1
  319. package/modern/Menu/Menu.js +1 -1
  320. package/modern/MenuItem/MenuItem.js +1 -1
  321. package/modern/MobileStepper/MobileStepper.js +1 -1
  322. package/modern/Modal/Modal.js +1 -1
  323. package/modern/NativeSelect/NativeSelect.js +1 -1
  324. package/modern/OutlinedInput/NotchedOutline.js +6 -1
  325. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  326. package/modern/Pagination/Pagination.js +1 -1
  327. package/modern/PaginationItem/PaginationItem.js +32 -10
  328. package/modern/Paper/Paper.js +1 -1
  329. package/modern/Popover/Popover.js +1 -1
  330. package/modern/Radio/Radio.js +1 -1
  331. package/modern/RadioGroup/RadioGroupContext.js +2 -2
  332. package/modern/Rating/Rating.js +1 -1
  333. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
  334. package/modern/Select/Select.js +1 -1
  335. package/modern/Skeleton/Skeleton.js +1 -1
  336. package/modern/Slider/Slider.js +1 -1
  337. package/modern/Snackbar/Snackbar.js +1 -1
  338. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  339. package/modern/SpeedDial/SpeedDial.js +1 -1
  340. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  341. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  342. package/modern/Stack/Stack.js +5 -2
  343. package/modern/Step/Step.js +1 -1
  344. package/modern/StepButton/StepButton.js +1 -1
  345. package/modern/StepConnector/StepConnector.js +1 -1
  346. package/modern/StepContent/StepContent.js +1 -1
  347. package/modern/StepIcon/StepIcon.js +1 -1
  348. package/modern/StepLabel/StepLabel.js +1 -1
  349. package/modern/Stepper/Stepper.js +1 -1
  350. package/modern/SvgIcon/SvgIcon.js +1 -1
  351. package/modern/Switch/Switch.js +1 -1
  352. package/modern/Tab/Tab.js +1 -1
  353. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  354. package/modern/Table/Table.js +1 -1
  355. package/modern/TableBody/TableBody.js +1 -1
  356. package/modern/TableCell/TableCell.js +1 -1
  357. package/modern/TableContainer/TableContainer.js +1 -1
  358. package/modern/TableFooter/TableFooter.js +1 -1
  359. package/modern/TableHead/TableHead.js +1 -1
  360. package/modern/TablePagination/TablePagination.js +1 -1
  361. package/modern/TableRow/TableRow.js +1 -1
  362. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  363. package/modern/Tabs/Tabs.js +1 -1
  364. package/modern/TextField/TextField.js +1 -1
  365. package/modern/ToggleButton/ToggleButton.js +1 -1
  366. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  367. package/modern/Toolbar/Toolbar.js +1 -1
  368. package/modern/Tooltip/Tooltip.js +4 -2
  369. package/modern/Typography/Typography.js +1 -1
  370. package/modern/index.js +1 -1
  371. package/modern/styles/createPalette.js +1 -1
  372. package/node/Accordion/Accordion.js +1 -1
  373. package/node/AccordionActions/AccordionActions.js +1 -1
  374. package/node/AccordionDetails/AccordionDetails.js +1 -1
  375. package/node/AccordionSummary/AccordionSummary.js +1 -1
  376. package/node/Alert/Alert.js +1 -1
  377. package/node/AlertTitle/AlertTitle.js +1 -1
  378. package/node/AppBar/AppBar.js +1 -1
  379. package/node/Autocomplete/Autocomplete.js +4 -1
  380. package/node/Avatar/Avatar.js +1 -1
  381. package/node/AvatarGroup/AvatarGroup.js +1 -1
  382. package/node/Backdrop/Backdrop.js +1 -1
  383. package/node/Badge/Badge.js +1 -1
  384. package/node/BottomNavigation/BottomNavigation.js +1 -1
  385. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  386. package/node/Box/Box.js +5 -1
  387. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  388. package/node/Button/Button.js +40 -9
  389. package/node/ButtonBase/ButtonBase.js +1 -1
  390. package/node/ButtonGroup/ButtonGroup.js +24 -28
  391. package/node/ButtonGroup/ButtonGroupContext.js +24 -0
  392. package/node/Card/Card.js +1 -1
  393. package/node/CardActionArea/CardActionArea.js +1 -1
  394. package/node/CardActions/CardActions.js +1 -1
  395. package/node/CardContent/CardContent.js +1 -1
  396. package/node/CardHeader/CardHeader.js +1 -1
  397. package/node/CardMedia/CardMedia.js +1 -1
  398. package/node/Checkbox/Checkbox.js +1 -1
  399. package/node/Chip/Chip.js +1 -1
  400. package/node/CircularProgress/CircularProgress.js +1 -1
  401. package/node/Collapse/Collapse.js +1 -1
  402. package/node/Container/Container.js +1 -1
  403. package/node/CssBaseline/CssBaseline.js +22 -12
  404. package/node/Dialog/Dialog.js +1 -1
  405. package/node/DialogActions/DialogActions.js +1 -1
  406. package/node/DialogContent/DialogContent.js +1 -1
  407. package/node/DialogContentText/DialogContentText.js +1 -1
  408. package/node/DialogTitle/DialogTitle.js +1 -1
  409. package/node/Divider/Divider.js +1 -1
  410. package/node/Drawer/Drawer.js +1 -1
  411. package/node/Fab/Fab.js +1 -1
  412. package/node/FilledInput/FilledInput.js +1 -1
  413. package/node/FormControl/FormControl.js +1 -1
  414. package/node/FormControlLabel/FormControlLabel.js +3 -3
  415. package/node/FormGroup/FormGroup.js +1 -1
  416. package/node/FormHelperText/FormHelperText.js +1 -1
  417. package/node/FormLabel/FormLabel.js +1 -1
  418. package/node/Grid/Grid.js +56 -22
  419. package/node/Icon/Icon.js +1 -1
  420. package/node/IconButton/IconButton.js +1 -1
  421. package/node/ImageList/ImageList.js +1 -1
  422. package/node/ImageListItem/ImageListItem.js +1 -1
  423. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  424. package/node/Input/Input.js +1 -1
  425. package/node/InputAdornment/InputAdornment.js +1 -1
  426. package/node/InputBase/InputBase.js +3 -4
  427. package/node/InputLabel/InputLabel.js +1 -1
  428. package/node/LinearProgress/LinearProgress.js +1 -1
  429. package/node/Link/Link.js +1 -1
  430. package/node/List/List.js +1 -1
  431. package/node/ListItem/ListItem.js +1 -1
  432. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  433. package/node/ListItemButton/ListItemButton.js +1 -1
  434. package/node/ListItemIcon/ListItemIcon.js +1 -1
  435. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  436. package/node/ListItemText/ListItemText.js +1 -1
  437. package/node/ListSubheader/ListSubheader.js +1 -1
  438. package/node/Menu/Menu.js +1 -1
  439. package/node/MenuItem/MenuItem.js +1 -1
  440. package/node/MobileStepper/MobileStepper.js +1 -1
  441. package/node/Modal/Modal.js +1 -1
  442. package/node/NativeSelect/NativeSelect.js +1 -1
  443. package/node/OutlinedInput/NotchedOutline.js +6 -1
  444. package/node/OutlinedInput/OutlinedInput.js +1 -1
  445. package/node/Pagination/Pagination.js +1 -1
  446. package/node/PaginationItem/PaginationItem.js +32 -10
  447. package/node/Paper/Paper.js +1 -1
  448. package/node/Popover/Popover.js +1 -1
  449. package/node/Radio/Radio.js +1 -1
  450. package/node/RadioGroup/RadioGroupContext.js +1 -1
  451. package/node/Rating/Rating.js +1 -1
  452. package/node/ScopedCssBaseline/ScopedCssBaseline.js +21 -11
  453. package/node/Select/Select.js +1 -1
  454. package/node/Skeleton/Skeleton.js +1 -1
  455. package/node/Slider/Slider.js +1 -1
  456. package/node/Snackbar/Snackbar.js +1 -1
  457. package/node/SnackbarContent/SnackbarContent.js +1 -1
  458. package/node/SpeedDial/SpeedDial.js +1 -1
  459. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  460. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  461. package/node/Stack/Stack.js +5 -2
  462. package/node/Step/Step.js +1 -1
  463. package/node/StepButton/StepButton.js +1 -1
  464. package/node/StepConnector/StepConnector.js +1 -1
  465. package/node/StepContent/StepContent.js +1 -1
  466. package/node/StepIcon/StepIcon.js +1 -1
  467. package/node/StepLabel/StepLabel.js +1 -1
  468. package/node/Stepper/Stepper.js +1 -1
  469. package/node/SvgIcon/SvgIcon.js +1 -1
  470. package/node/Switch/Switch.js +1 -1
  471. package/node/Tab/Tab.js +1 -1
  472. package/node/TabScrollButton/TabScrollButton.js +1 -1
  473. package/node/Table/Table.js +1 -1
  474. package/node/TableBody/TableBody.js +1 -1
  475. package/node/TableCell/TableCell.js +1 -1
  476. package/node/TableContainer/TableContainer.js +1 -1
  477. package/node/TableFooter/TableFooter.js +1 -1
  478. package/node/TableHead/TableHead.js +1 -1
  479. package/node/TablePagination/TablePagination.js +1 -1
  480. package/node/TableRow/TableRow.js +1 -1
  481. package/node/TableSortLabel/TableSortLabel.js +1 -1
  482. package/node/Tabs/Tabs.js +1 -1
  483. package/node/TextField/TextField.js +1 -1
  484. package/node/ToggleButton/ToggleButton.js +1 -1
  485. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  486. package/node/Toolbar/Toolbar.js +1 -1
  487. package/node/Tooltip/Tooltip.js +4 -2
  488. package/node/Typography/Typography.js +1 -1
  489. package/node/index.js +1 -1
  490. package/node/styles/createPalette.js +1 -1
  491. package/package.json +7 -6
  492. package/styles/createPalette.js +1 -1
  493. package/umd/material-ui.development.js +443 -258
  494. package/umd/material-ui.production.min.js +18 -18
@@ -414,6 +414,6 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
414
414
  /**
415
415
  * The system prop that allows defining system overrides as well as additional CSS styles.
416
416
  */
417
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
417
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
418
418
  } : void 0;
419
419
  export default ListItem;
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? ListItemAvatar.propTypes
93
93
  /**
94
94
  * The system prop that allows defining system overrides as well as additional CSS styles.
95
95
  */
96
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
96
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
97
97
  } : void 0;
98
98
  export default ListItemAvatar;
@@ -240,6 +240,6 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
240
240
  /**
241
241
  * The system prop that allows defining system overrides as well as additional CSS styles.
242
242
  */
243
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
243
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
244
244
  } : void 0;
245
245
  export default ListItemButton;
@@ -97,6 +97,6 @@ process.env.NODE_ENV !== "production" ? ListItemIcon.propTypes
97
97
  /**
98
98
  * The system prop that allows defining system overrides as well as additional CSS styles.
99
99
  */
100
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
100
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
101
101
  } : void 0;
102
102
  export default ListItemIcon;
@@ -95,7 +95,7 @@ process.env.NODE_ENV !== "production" ? ListItemSecondaryAction.propTypes
95
95
  /**
96
96
  * The system prop that allows defining system overrides as well as additional CSS styles.
97
97
  */
98
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
98
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
99
99
  } : void 0;
100
100
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
101
101
  export default ListItemSecondaryAction;
@@ -183,6 +183,6 @@ process.env.NODE_ENV !== "production" ? ListItemText.propTypes
183
183
  /**
184
184
  * The system prop that allows defining system overrides as well as additional CSS styles.
185
185
  */
186
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
186
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
187
187
  } : void 0;
188
188
  export default ListItemText;
@@ -148,6 +148,6 @@ process.env.NODE_ENV !== "production" ? ListSubheader.propTypes
148
148
  /**
149
149
  * The system prop that allows defining system overrides as well as additional CSS styles.
150
150
  */
151
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
151
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
152
152
  } : void 0;
153
153
  export default ListSubheader;
@@ -266,7 +266,7 @@ process.env.NODE_ENV !== "production" ? Menu.propTypes
266
266
  /**
267
267
  * The system prop that allows defining system overrides as well as additional CSS styles.
268
268
  */
269
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
269
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
270
270
 
271
271
  /**
272
272
  * The length of the transition in `ms`, or 'auto'
@@ -266,7 +266,7 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
266
266
  /**
267
267
  * The system prop that allows defining system overrides as well as additional CSS styles.
268
268
  */
269
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
269
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
270
270
 
271
271
  /**
272
272
  * @default 0
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? MobileStepper.propTypes
211
211
  /**
212
212
  * The system prop that allows defining system overrides as well as additional CSS styles.
213
213
  */
214
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
214
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
215
215
 
216
216
  /**
217
217
  * The variant to use.
@@ -271,6 +271,6 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
271
271
  /**
272
272
  * The system prop that allows defining system overrides as well as additional CSS styles.
273
273
  */
274
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
274
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
275
275
  } : void 0;
276
276
  export default Modal;
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
131
131
  /**
132
132
  * The system prop that allows defining system overrides as well as additional CSS styles.
133
133
  */
134
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
134
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
135
135
 
136
136
  /**
137
137
  * The `input` value. The DOM API casts this to a string.
@@ -26,7 +26,9 @@ const NotchedOutlineLegend = styled('legend', {
26
26
  })(({
27
27
  ownerState,
28
28
  theme
29
- }) => _extends({}, ownerState.label === undefined && {
29
+ }) => _extends({
30
+ float: 'unset'
31
+ }, ownerState.label === undefined && {
30
32
  padding: 0,
31
33
  lineHeight: '11px',
32
34
  // sync with `height` in `legend` styles
@@ -36,7 +38,9 @@ const NotchedOutlineLegend = styled('legend', {
36
38
  })
37
39
  }, ownerState.label !== undefined && _extends({
38
40
  display: 'block',
41
+ // Fix conflict with normalize.css and sanitize.css
39
42
  width: 'auto',
43
+ // Fix conflict with bootstrap
40
44
  padding: 0,
41
45
  height: 11,
42
46
  // sync with `lineHeight` in `legend` styles
@@ -47,6 +51,7 @@ const NotchedOutlineLegend = styled('legend', {
47
51
  duration: 50,
48
52
  easing: theme.transitions.easing.easeOut
49
53
  }),
54
+ whiteSpace: 'nowrap',
50
55
  '& > span': {
51
56
  paddingLeft: 5,
52
57
  paddingRight: 5,
@@ -310,7 +310,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
310
310
  /**
311
311
  * The system prop that allows defining system overrides as well as additional CSS styles.
312
312
  */
313
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
313
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
314
314
 
315
315
  /**
316
316
  * 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).
@@ -259,7 +259,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes
259
259
  /**
260
260
  * The system prop that allows defining system overrides as well as additional CSS styles.
261
261
  */
262
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
262
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
263
263
 
264
264
  /**
265
265
  * The variant to use.
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["className", "color", "component", "disabled", "page", "selected", "shape", "size", "type", "variant"];
3
+ const _excluded = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
@@ -216,6 +216,12 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
216
216
  className,
217
217
  color = 'standard',
218
218
  component,
219
+ components = {
220
+ first: FirstPageIcon,
221
+ last: LastPageIcon,
222
+ next: NavigateNextIcon,
223
+ previous: NavigateBeforeIcon
224
+ },
219
225
  disabled = false,
220
226
  page,
221
227
  selected = false,
@@ -239,15 +245,15 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
239
245
  const theme = useTheme();
240
246
  const classes = useUtilityClasses(ownerState);
241
247
  const normalizedIcons = theme.direction === 'rtl' ? {
242
- previous: NavigateNextIcon,
243
- next: NavigateBeforeIcon,
244
- last: FirstPageIcon,
245
- first: LastPageIcon
248
+ previous: components.next || NavigateNextIcon,
249
+ next: components.previous || NavigateBeforeIcon,
250
+ last: components.first || FirstPageIcon,
251
+ first: components.last || LastPageIcon
246
252
  } : {
247
- previous: NavigateBeforeIcon,
248
- next: NavigateNextIcon,
249
- first: FirstPageIcon,
250
- last: LastPageIcon
253
+ previous: components.previous || NavigateBeforeIcon,
254
+ next: components.next || NavigateNextIcon,
255
+ first: components.first || FirstPageIcon,
256
+ last: components.last || LastPageIcon
251
257
  };
252
258
  const Icon = normalizedIcons[type];
253
259
  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/_jsx(PaginationItemEllipsis, {
@@ -306,6 +312,22 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
306
312
  */
307
313
  component: PropTypes.elementType,
308
314
 
315
+ /**
316
+ * The components used for first, last, next & previous item type
317
+ * @default {
318
+ * first: FirstPageIcon,
319
+ * last: LastPageIcon,
320
+ * next: NavigateNextIcon,
321
+ * previous: NavigateBeforeIcon,
322
+ * }
323
+ */
324
+ components: PropTypes.shape({
325
+ first: PropTypes.elementType,
326
+ last: PropTypes.elementType,
327
+ next: PropTypes.elementType,
328
+ previous: PropTypes.elementType
329
+ }),
330
+
309
331
  /**
310
332
  * If `true`, the component is disabled.
311
333
  * @default false
@@ -340,7 +362,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
340
362
  /**
341
363
  * The system prop that allows defining system overrides as well as additional CSS styles.
342
364
  */
343
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
365
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
344
366
 
345
367
  /**
346
368
  * The type of pagination item.
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? Paper.propTypes
160
160
  /**
161
161
  * The system prop that allows defining system overrides as well as additional CSS styles.
162
162
  */
163
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
163
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
164
164
 
165
165
  /**
166
166
  * The variant to use.
@@ -458,7 +458,7 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes
458
458
  /**
459
459
  * The system prop that allows defining system overrides as well as additional CSS styles.
460
460
  */
461
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
461
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
462
462
 
463
463
  /**
464
464
  * This is the point on the popover which
@@ -222,7 +222,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes
222
222
  /**
223
223
  * The system prop that allows defining system overrides as well as additional CSS styles.
224
224
  */
225
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
225
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
226
226
 
227
227
  /**
228
228
  * The value of the component. The DOM API casts this to a string.
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
+
2
3
  /**
3
4
  * @ignore - internal component.
4
5
  */
5
-
6
- const RadioGroupContext = /*#__PURE__*/React.createContext();
6
+ const RadioGroupContext = /*#__PURE__*/React.createContext(undefined);
7
7
 
8
8
  if (process.env.NODE_ENV !== 'production') {
9
9
  RadioGroupContext.displayName = 'RadioGroupContext';
@@ -710,7 +710,7 @@ process.env.NODE_ENV !== "production" ? Rating.propTypes
710
710
  /**
711
711
  * The system prop that allows defining system overrides as well as additional CSS styles.
712
712
  */
713
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
713
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
714
714
 
715
715
  /**
716
716
  * The rating value.
@@ -1,6 +1,6 @@
1
1
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["className", "component"];
3
+ const _excluded = ["className", "component", "enableColorScheme"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
@@ -26,15 +26,18 @@ const ScopedCssBaselineRoot = styled('div', {
26
26
  slot: 'Root',
27
27
  overridesResolver: (props, styles) => styles.root
28
28
  })(({
29
- theme
30
- }) => _extends({}, html, body(theme), {
31
- '& *, & *::before, & *::after': {
32
- boxSizing: 'inherit'
33
- },
34
- '& strong, & b': {
35
- fontWeight: theme.typography.fontWeightBold
36
- }
37
- }));
29
+ theme,
30
+ ownerState
31
+ }) => {
32
+ return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
33
+ '& *, & *::before, & *::after': {
34
+ boxSizing: 'inherit'
35
+ },
36
+ '& strong, & b': {
37
+ fontWeight: theme.typography.fontWeightBold
38
+ }
39
+ });
40
+ });
38
41
  const ScopedCssBaseline = /*#__PURE__*/React.forwardRef(function ScopedCssBaseline(inProps, ref) {
39
42
  const props = useThemeProps({
40
43
  props: inProps,
@@ -86,6 +89,13 @@ process.env.NODE_ENV !== "production" ? ScopedCssBaseline.propTypes
86
89
  * The component used for the root node.
87
90
  * Either a string to use a HTML element or a component.
88
91
  */
89
- component: PropTypes.elementType
92
+ component: PropTypes.elementType,
93
+
94
+ /**
95
+ * Enable `color-scheme` css property to use `theme.palette.mode`.
96
+ * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
97
+ * For browser support, check out https://caniuse.com/?search=color-scheme
98
+ */
99
+ enableColorScheme: PropTypes.bool
90
100
  } : void 0;
91
101
  export default ScopedCssBaseline;
@@ -273,7 +273,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
273
273
  /**
274
274
  * The system prop that allows defining system overrides as well as additional CSS styles.
275
275
  */
276
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
276
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
277
277
 
278
278
  /**
279
279
  * The `input` value. Providing an empty string will select no options.
@@ -208,7 +208,7 @@ process.env.NODE_ENV !== "production" ? Skeleton.propTypes
208
208
  /**
209
209
  * The system prop that allows defining system overrides as well as additional CSS styles.
210
210
  */
211
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
211
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
212
212
 
213
213
  /**
214
214
  * The type of content that will be rendered.
@@ -631,7 +631,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
631
631
  /**
632
632
  * The system prop that allows defining system overrides as well as additional CSS styles.
633
633
  */
634
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
634
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
635
635
 
636
636
  /**
637
637
  * Tab index attribute of the hidden `input` element.
@@ -377,7 +377,7 @@ process.env.NODE_ENV !== "production" ? Snackbar.propTypes
377
377
  /**
378
378
  * The system prop that allows defining system overrides as well as additional CSS styles.
379
379
  */
380
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
380
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
381
381
 
382
382
  /**
383
383
  * The component used for the transition.
@@ -141,6 +141,6 @@ process.env.NODE_ENV !== "production" ? SnackbarContent.propTypes
141
141
  /**
142
142
  * The system prop that allows defining system overrides as well as additional CSS styles.
143
143
  */
144
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
144
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
145
145
  } : void 0;
146
146
  export default SnackbarContent;
@@ -529,7 +529,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes
529
529
  /**
530
530
  * The system prop that allows defining system overrides as well as additional CSS styles.
531
531
  */
532
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
532
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
533
533
 
534
534
  /**
535
535
  * The component used for the transition.
@@ -243,7 +243,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialAction.propTypes
243
243
  /**
244
244
  * The system prop that allows defining system overrides as well as additional CSS styles.
245
245
  */
246
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
246
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
247
247
 
248
248
  /**
249
249
  * `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
@@ -144,7 +144,7 @@ process.env.NODE_ENV !== "production" ? SpeedDialIcon.propTypes
144
144
  /**
145
145
  * The system prop that allows defining system overrides as well as additional CSS styles.
146
146
  */
147
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
147
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
148
148
  } : void 0;
149
149
  SpeedDialIcon.muiName = 'SpeedDialIcon';
150
150
  export default SpeedDialIcon;
@@ -49,7 +49,10 @@ export const style = ({
49
49
  display: 'flex'
50
50
  }, handleBreakpoints({
51
51
  theme
52
- }, ownerState.direction, propValue => ({
52
+ }, resolveBreakpointValues({
53
+ values: ownerState.direction,
54
+ breakpoints: theme.breakpoints.values
55
+ }), propValue => ({
53
56
  flexDirection: propValue
54
57
  })));
55
58
 
@@ -162,6 +165,6 @@ process.env.NODE_ENV !== "production" ? Stack.propTypes
162
165
  /**
163
166
  * The system prop, which allows defining system overrides as well as additional CSS styles.
164
167
  */
165
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
168
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
166
169
  } : void 0;
167
170
  export default Stack;
@@ -176,6 +176,6 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
176
176
  /**
177
177
  * The system prop that allows defining system overrides as well as additional CSS styles.
178
178
  */
179
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
179
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
180
180
  } : void 0;
181
181
  export default Step;
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepButton.propTypes
136
136
  /**
137
137
  * The system prop that allows defining system overrides as well as additional CSS styles.
138
138
  */
139
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
139
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
140
140
  } : void 0;
141
141
  export default StepButton;
@@ -136,6 +136,6 @@ process.env.NODE_ENV !== "production" ? StepConnector.propTypes
136
136
  /**
137
137
  * The system prop that allows defining system overrides as well as additional CSS styles.
138
138
  */
139
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
139
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
140
140
  } : void 0;
141
141
  export default StepConnector;
@@ -137,7 +137,7 @@ process.env.NODE_ENV !== "production" ? StepContent.propTypes
137
137
  /**
138
138
  * The system prop that allows defining system overrides as well as additional CSS styles.
139
139
  */
140
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
140
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
141
141
 
142
142
  /**
143
143
  * The component used for the transition.
@@ -174,6 +174,6 @@ process.env.NODE_ENV !== "production" ? StepIcon.propTypes
174
174
  /**
175
175
  * The system prop that allows defining system overrides as well as additional CSS styles.
176
176
  */
177
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
177
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
178
178
  } : void 0;
179
179
  export default StepIcon;
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
236
236
  /**
237
237
  * The system prop that allows defining system overrides as well as additional CSS styles.
238
238
  */
239
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
239
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
240
240
  } : void 0;
241
241
  StepLabel.muiName = 'StepLabel';
242
242
  export default StepLabel;
@@ -155,6 +155,6 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
155
155
  /**
156
156
  * The system prop that allows defining system overrides as well as additional CSS styles.
157
157
  */
158
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
158
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
159
159
  } : void 0;
160
160
  export default Stepper;
@@ -162,7 +162,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
162
162
  /**
163
163
  * The system prop that allows defining system overrides as well as additional CSS styles.
164
164
  */
165
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
165
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
166
166
 
167
167
  /**
168
168
  * Provides a human-readable title for the element that contains it.
@@ -333,7 +333,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes
333
333
  /**
334
334
  * The system prop that allows defining system overrides as well as additional CSS styles.
335
335
  */
336
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
336
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
337
337
 
338
338
  /**
339
339
  * The value of the component. The DOM API casts this to a string.
package/modern/Tab/Tab.js CHANGED
@@ -270,7 +270,7 @@ process.env.NODE_ENV !== "production" ? Tab.propTypes
270
270
  /**
271
271
  * The system prop that allows defining system overrides as well as additional CSS styles.
272
272
  */
273
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
273
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
274
274
 
275
275
  /**
276
276
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -132,6 +132,6 @@ process.env.NODE_ENV !== "production" ? TabScrollButton.propTypes
132
132
  /**
133
133
  * The system prop that allows defining system overrides as well as additional CSS styles.
134
134
  */
135
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
135
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
136
136
  } : void 0;
137
137
  export default TabScrollButton;
@@ -142,6 +142,6 @@ process.env.NODE_ENV !== "production" ? Table.propTypes
142
142
  /**
143
143
  * The system prop that allows defining system overrides as well as additional CSS styles.
144
144
  */
145
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
145
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
146
146
  } : void 0;
147
147
  export default Table;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableBody.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableBody;
@@ -222,7 +222,7 @@ process.env.NODE_ENV !== "production" ? TableCell.propTypes
222
222
  /**
223
223
  * The system prop that allows defining system overrides as well as additional CSS styles.
224
224
  */
225
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
225
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
226
226
 
227
227
  /**
228
228
  * Specify the cell type.
@@ -84,6 +84,6 @@ process.env.NODE_ENV !== "production" ? TableContainer.propTypes
84
84
  /**
85
85
  * The system prop that allows defining system overrides as well as additional CSS styles.
86
86
  */
87
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
87
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
88
88
  } : void 0;
89
89
  export default TableContainer;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableFooter.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableFooter;
@@ -92,6 +92,6 @@ process.env.NODE_ENV !== "production" ? TableHead.propTypes
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
95
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
96
96
  } : void 0;
97
97
  export default TableHead;
@@ -417,6 +417,6 @@ process.env.NODE_ENV !== "production" ? TablePagination.propTypes
417
417
  /**
418
418
  * The system prop that allows defining system overrides as well as additional CSS styles.
419
419
  */
420
- sx: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
420
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
421
421
  } : void 0;
422
422
  export default TablePagination;