@mui/material 5.2.2 → 5.2.3

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 (601) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/Accordion/accordionClasses.d.ts +18 -18
  4. package/AccordionActions/AccordionActions.js +1 -1
  5. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  6. package/AccordionDetails/AccordionDetails.js +1 -1
  7. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  8. package/AccordionSummary/AccordionSummary.js +2 -2
  9. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  10. package/Alert/Alert.js +1 -3
  11. package/Alert/alertClasses.d.ts +44 -44
  12. package/AlertTitle/AlertTitle.js +1 -1
  13. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  14. package/AppBar/AppBar.js +1 -1
  15. package/AppBar/appBarClasses.d.ts +28 -28
  16. package/Autocomplete/Autocomplete.js +1 -1
  17. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  18. package/Avatar/Avatar.js +1 -1
  19. package/Avatar/avatarClasses.d.ts +20 -20
  20. package/AvatarGroup/AvatarGroup.d.ts +5 -0
  21. package/AvatarGroup/AvatarGroup.js +20 -5
  22. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  23. package/Backdrop/Backdrop.js +1 -1
  24. package/Badge/Badge.js +1 -1
  25. package/BottomNavigation/BottomNavigation.js +1 -1
  26. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  27. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  28. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  29. package/Breadcrumbs/Breadcrumbs.js +1 -1
  30. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  31. package/Button/Button.js +16 -35
  32. package/Button/buttonClasses.d.ts +76 -76
  33. package/ButtonBase/ButtonBase.d.ts +1 -1
  34. package/ButtonBase/ButtonBase.js +2 -2
  35. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  36. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  37. package/ButtonGroup/ButtonGroup.js +1 -1
  38. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  39. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  40. package/CHANGELOG.md +84 -0
  41. package/Card/Card.js +1 -1
  42. package/Card/cardClasses.d.ts +8 -8
  43. package/CardActionArea/CardActionArea.js +1 -1
  44. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  45. package/CardActions/CardActions.js +1 -1
  46. package/CardActions/cardActionsClasses.d.ts +10 -10
  47. package/CardContent/CardContent.js +1 -1
  48. package/CardContent/cardContentClasses.d.ts +8 -8
  49. package/CardHeader/CardHeader.js +1 -1
  50. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  51. package/CardMedia/CardMedia.js +1 -1
  52. package/CardMedia/cardMediaClasses.d.ts +12 -12
  53. package/Checkbox/Checkbox.js +1 -1
  54. package/Checkbox/checkboxClasses.d.ts +18 -18
  55. package/Chip/Chip.js +1 -1
  56. package/Chip/chipClasses.d.ts +80 -80
  57. package/CircularProgress/CircularProgress.js +1 -1
  58. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  59. package/ClickAwayListener/index.d.ts +2 -2
  60. package/Collapse/Collapse.d.ts +1 -1
  61. package/Collapse/Collapse.js +1 -1
  62. package/Collapse/collapseClasses.d.ts +18 -18
  63. package/Container/Container.js +1 -1
  64. package/Container/containerClasses.d.ts +22 -22
  65. package/Dialog/Dialog.d.ts +1 -1
  66. package/Dialog/Dialog.js +2 -2
  67. package/Dialog/DialogContext.d.ts +6 -6
  68. package/Dialog/dialogClasses.d.ts +36 -36
  69. package/DialogActions/DialogActions.js +1 -1
  70. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  71. package/DialogContent/DialogContent.js +1 -1
  72. package/DialogContent/dialogContentClasses.d.ts +10 -10
  73. package/DialogContentText/DialogContentText.js +1 -1
  74. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  75. package/DialogTitle/DialogTitle.js +1 -1
  76. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  77. package/Divider/Divider.js +1 -1
  78. package/Divider/dividerClasses.d.ts +34 -34
  79. package/Drawer/Drawer.js +1 -1
  80. package/Drawer/drawerClasses.d.ts +30 -30
  81. package/Fab/Fab.js +1 -1
  82. package/Fab/fabClasses.d.ts +26 -26
  83. package/Fade/Fade.d.ts +1 -1
  84. package/FilledInput/FilledInput.js +1 -1
  85. package/FilledInput/filledInputClasses.d.ts +40 -40
  86. package/FormControl/FormControl.js +1 -1
  87. package/FormControl/formControlClasses.d.ts +14 -14
  88. package/FormControlLabel/FormControlLabel.js +1 -1
  89. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  90. package/FormGroup/FormGroup.js +1 -1
  91. package/FormGroup/formGroupClasses.d.ts +10 -10
  92. package/FormHelperText/FormHelperText.js +1 -1
  93. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  94. package/FormLabel/FormLabel.js +1 -1
  95. package/FormLabel/formLabelClasses.d.ts +22 -22
  96. package/Grid/Grid.js +24 -3
  97. package/Grid/gridClasses.d.ts +48 -48
  98. package/Grow/Grow.d.ts +1 -1
  99. package/Icon/Icon.js +1 -1
  100. package/Icon/iconClasses.d.ts +24 -24
  101. package/IconButton/IconButton.js +1 -1
  102. package/IconButton/iconButtonClasses.d.ts +26 -26
  103. package/ImageList/ImageList.js +1 -1
  104. package/ImageList/imageListClasses.d.ts +16 -16
  105. package/ImageListItem/ImageListItem.js +1 -1
  106. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  107. package/ImageListItemBar/ImageListItemBar.js +1 -1
  108. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  109. package/Input/Input.js +1 -1
  110. package/Input/inputClasses.d.ts +34 -34
  111. package/InputAdornment/InputAdornment.js +1 -1
  112. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  113. package/InputBase/InputBase.js +1 -1
  114. package/InputBase/inputBaseClasses.d.ts +44 -44
  115. package/InputLabel/InputLabel.js +1 -1
  116. package/InputLabel/inputLabelClasses.d.ts +32 -32
  117. package/LinearProgress/LinearProgress.js +1 -1
  118. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  119. package/Link/Link.js +1 -1
  120. package/Link/linkClasses.d.ts +18 -18
  121. package/List/List.js +1 -1
  122. package/List/listClasses.d.ts +14 -14
  123. package/ListItem/ListItem.js +1 -1
  124. package/ListItem/listItemClasses.d.ts +30 -30
  125. package/ListItemAvatar/ListItemAvatar.js +1 -1
  126. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  127. package/ListItemButton/ListItemButton.js +2 -2
  128. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  129. package/ListItemIcon/ListItemIcon.js +1 -1
  130. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  131. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  132. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  133. package/ListItemText/ListItemText.js +1 -1
  134. package/ListItemText/listItemTextClasses.d.ts +18 -18
  135. package/ListSubheader/ListSubheader.js +1 -1
  136. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  137. package/Menu/Menu.d.ts +1 -1
  138. package/Menu/Menu.js +2 -2
  139. package/Menu/menuClasses.d.ts +12 -12
  140. package/MenuItem/MenuItem.js +2 -2
  141. package/MenuItem/menuItemClasses.d.ts +20 -20
  142. package/MobileStepper/MobileStepper.js +1 -1
  143. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  144. package/Modal/Modal.js +1 -1
  145. package/NativeSelect/NativeSelect.js +1 -1
  146. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  147. package/OutlinedInput/OutlinedInput.js +1 -1
  148. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  149. package/Pagination/Pagination.js +1 -1
  150. package/Pagination/paginationClasses.d.ts +14 -14
  151. package/PaginationItem/PaginationItem.js +1 -1
  152. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  153. package/Paper/Paper.js +1 -1
  154. package/Paper/paperClasses.d.ts +39 -39
  155. package/Popover/Popover.d.ts +1 -1
  156. package/Popover/Popover.js +2 -2
  157. package/Popover/popoverClasses.d.ts +10 -10
  158. package/Popper/Popper.d.ts +17 -17
  159. package/README.md +7 -7
  160. package/Radio/Radio.js +1 -1
  161. package/Radio/radioClasses.d.ts +16 -16
  162. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  163. package/RadioGroup/useRadioGroup.d.ts +4 -4
  164. package/Rating/Rating.js +1 -1
  165. package/Rating/ratingClasses.d.ts +40 -40
  166. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  167. package/Select/Select.js +1 -1
  168. package/Select/SelectInput.js +5 -1
  169. package/Select/selectClasses.d.ts +30 -30
  170. package/Skeleton/Skeleton.js +1 -1
  171. package/Skeleton/skeletonClasses.d.ts +24 -24
  172. package/Slide/Slide.d.ts +1 -1
  173. package/Slider/Slider.js +1 -1
  174. package/Snackbar/Snackbar.d.ts +1 -1
  175. package/Snackbar/Snackbar.js +2 -2
  176. package/Snackbar/snackbarClasses.d.ts +20 -20
  177. package/SnackbarContent/SnackbarContent.js +1 -1
  178. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  179. package/SpeedDial/SpeedDial.d.ts +1 -1
  180. package/SpeedDial/SpeedDial.js +2 -2
  181. package/SpeedDial/speedDialClasses.d.ts +22 -22
  182. package/SpeedDialAction/SpeedDialAction.js +1 -1
  183. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  184. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  185. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  186. package/Stack/Stack.js +1 -1
  187. package/Step/Step.js +1 -1
  188. package/Step/stepClasses.d.ts +16 -16
  189. package/StepButton/StepButton.js +1 -1
  190. package/StepButton/stepButtonClasses.d.ts +14 -14
  191. package/StepConnector/StepConnector.js +1 -1
  192. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  193. package/StepContent/StepContent.d.ts +1 -1
  194. package/StepContent/StepContent.js +2 -2
  195. package/StepContent/stepContentClasses.d.ts +12 -12
  196. package/StepIcon/StepIcon.js +1 -1
  197. package/StepIcon/stepIconClasses.d.ts +16 -16
  198. package/StepLabel/StepLabel.js +1 -1
  199. package/StepLabel/stepLabelClasses.d.ts +28 -28
  200. package/Stepper/Stepper.js +1 -1
  201. package/Stepper/stepperClasses.d.ts +14 -14
  202. package/SvgIcon/SvgIcon.js +1 -1
  203. package/SvgIcon/svgIconClasses.d.ts +24 -24
  204. package/Switch/Switch.js +1 -1
  205. package/Switch/switchClasses.d.ts +32 -32
  206. package/Tab/Tab.js +1 -1
  207. package/Tab/tabClasses.d.ts +26 -26
  208. package/TabScrollButton/TabScrollButton.js +1 -1
  209. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  210. package/Table/Table.js +1 -1
  211. package/Table/tableClasses.d.ts +10 -10
  212. package/TableBody/TableBody.js +1 -1
  213. package/TableBody/tableBodyClasses.d.ts +8 -8
  214. package/TableCell/TableCell.js +1 -1
  215. package/TableCell/tableCellClasses.d.ts +32 -32
  216. package/TableContainer/TableContainer.js +1 -1
  217. package/TableContainer/tableContainerClasses.d.ts +8 -8
  218. package/TableFooter/TableFooter.js +1 -1
  219. package/TableFooter/tableFooterClasses.d.ts +8 -8
  220. package/TableHead/TableHead.js +1 -1
  221. package/TableHead/tableHeadClasses.d.ts +8 -8
  222. package/TablePagination/TablePagination.js +1 -1
  223. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  224. package/TableRow/TableRow.js +1 -1
  225. package/TableRow/tableRowClasses.d.ts +16 -16
  226. package/TableSortLabel/TableSortLabel.js +1 -1
  227. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  228. package/Tabs/Tabs.js +1 -1
  229. package/Tabs/tabsClasses.d.ts +32 -32
  230. package/TextField/TextField.js +1 -1
  231. package/TextField/textFieldClasses.d.ts +8 -8
  232. package/ToggleButton/ToggleButton.js +1 -1
  233. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  234. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  235. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  236. package/Toolbar/Toolbar.js +1 -1
  237. package/Toolbar/toolbarClasses.d.ts +14 -14
  238. package/Tooltip/Tooltip.d.ts +1 -1
  239. package/Tooltip/Tooltip.js +2 -2
  240. package/Tooltip/tooltipClasses.d.ts +30 -30
  241. package/Typography/Typography.js +1 -1
  242. package/Typography/typographyClasses.d.ts +50 -50
  243. package/Zoom/Zoom.d.ts +1 -1
  244. package/darkScrollbar/index.d.ts +28 -28
  245. package/index.js +1 -1
  246. package/internal/switchBaseClasses.d.ts +12 -12
  247. package/legacy/Accordion/Accordion.js +2 -2
  248. package/legacy/AccordionActions/AccordionActions.js +1 -1
  249. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  250. package/legacy/AccordionSummary/AccordionSummary.js +2 -2
  251. package/legacy/Alert/Alert.js +1 -3
  252. package/legacy/AlertTitle/AlertTitle.js +1 -1
  253. package/legacy/AppBar/AppBar.js +1 -1
  254. package/legacy/Autocomplete/Autocomplete.js +1 -1
  255. package/legacy/Avatar/Avatar.js +1 -1
  256. package/legacy/AvatarGroup/AvatarGroup.js +19 -4
  257. package/legacy/Backdrop/Backdrop.js +1 -1
  258. package/legacy/Badge/Badge.js +1 -1
  259. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  260. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  261. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  262. package/legacy/Button/Button.js +23 -35
  263. package/legacy/ButtonBase/ButtonBase.js +2 -2
  264. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  265. package/legacy/Card/Card.js +1 -1
  266. package/legacy/CardActionArea/CardActionArea.js +1 -1
  267. package/legacy/CardActions/CardActions.js +1 -1
  268. package/legacy/CardContent/CardContent.js +1 -1
  269. package/legacy/CardHeader/CardHeader.js +1 -1
  270. package/legacy/CardMedia/CardMedia.js +1 -1
  271. package/legacy/Checkbox/Checkbox.js +1 -1
  272. package/legacy/Chip/Chip.js +1 -1
  273. package/legacy/CircularProgress/CircularProgress.js +1 -1
  274. package/legacy/Collapse/Collapse.js +1 -1
  275. package/legacy/Container/Container.js +1 -1
  276. package/legacy/Dialog/Dialog.js +2 -2
  277. package/legacy/DialogActions/DialogActions.js +1 -1
  278. package/legacy/DialogContent/DialogContent.js +1 -1
  279. package/legacy/DialogContentText/DialogContentText.js +1 -1
  280. package/legacy/DialogTitle/DialogTitle.js +1 -1
  281. package/legacy/Divider/Divider.js +1 -1
  282. package/legacy/Drawer/Drawer.js +1 -1
  283. package/legacy/Fab/Fab.js +1 -1
  284. package/legacy/FilledInput/FilledInput.js +1 -1
  285. package/legacy/FormControl/FormControl.js +1 -1
  286. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  287. package/legacy/FormGroup/FormGroup.js +1 -1
  288. package/legacy/FormHelperText/FormHelperText.js +1 -1
  289. package/legacy/FormLabel/FormLabel.js +1 -1
  290. package/legacy/Grid/Grid.js +25 -3
  291. package/legacy/Icon/Icon.js +1 -1
  292. package/legacy/IconButton/IconButton.js +1 -1
  293. package/legacy/ImageList/ImageList.js +1 -1
  294. package/legacy/ImageListItem/ImageListItem.js +1 -1
  295. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  296. package/legacy/Input/Input.js +1 -1
  297. package/legacy/InputAdornment/InputAdornment.js +1 -1
  298. package/legacy/InputBase/InputBase.js +1 -1
  299. package/legacy/InputLabel/InputLabel.js +1 -1
  300. package/legacy/LinearProgress/LinearProgress.js +1 -1
  301. package/legacy/Link/Link.js +1 -1
  302. package/legacy/List/List.js +1 -1
  303. package/legacy/ListItem/ListItem.js +1 -1
  304. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  305. package/legacy/ListItemButton/ListItemButton.js +2 -2
  306. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  307. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  308. package/legacy/ListItemText/ListItemText.js +1 -1
  309. package/legacy/ListSubheader/ListSubheader.js +1 -1
  310. package/legacy/Menu/Menu.js +2 -2
  311. package/legacy/MenuItem/MenuItem.js +2 -2
  312. package/legacy/MobileStepper/MobileStepper.js +1 -1
  313. package/legacy/Modal/Modal.js +1 -1
  314. package/legacy/NativeSelect/NativeSelect.js +1 -1
  315. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  316. package/legacy/Pagination/Pagination.js +1 -1
  317. package/legacy/PaginationItem/PaginationItem.js +1 -1
  318. package/legacy/Paper/Paper.js +1 -1
  319. package/legacy/Popover/Popover.js +2 -2
  320. package/legacy/Radio/Radio.js +1 -1
  321. package/legacy/Rating/Rating.js +1 -1
  322. package/legacy/Select/Select.js +1 -1
  323. package/legacy/Select/SelectInput.js +7 -3
  324. package/legacy/Skeleton/Skeleton.js +1 -1
  325. package/legacy/Slider/Slider.js +1 -1
  326. package/legacy/Snackbar/Snackbar.js +2 -2
  327. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  328. package/legacy/SpeedDial/SpeedDial.js +2 -2
  329. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  330. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  331. package/legacy/Stack/Stack.js +1 -1
  332. package/legacy/Step/Step.js +1 -1
  333. package/legacy/StepButton/StepButton.js +1 -1
  334. package/legacy/StepConnector/StepConnector.js +1 -1
  335. package/legacy/StepContent/StepContent.js +2 -2
  336. package/legacy/StepIcon/StepIcon.js +1 -1
  337. package/legacy/StepLabel/StepLabel.js +1 -1
  338. package/legacy/Stepper/Stepper.js +1 -1
  339. package/legacy/SvgIcon/SvgIcon.js +1 -1
  340. package/legacy/Switch/Switch.js +1 -1
  341. package/legacy/Tab/Tab.js +1 -1
  342. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  343. package/legacy/Table/Table.js +1 -1
  344. package/legacy/TableBody/TableBody.js +1 -1
  345. package/legacy/TableCell/TableCell.js +1 -1
  346. package/legacy/TableContainer/TableContainer.js +1 -1
  347. package/legacy/TableFooter/TableFooter.js +1 -1
  348. package/legacy/TableHead/TableHead.js +1 -1
  349. package/legacy/TablePagination/TablePagination.js +1 -1
  350. package/legacy/TableRow/TableRow.js +1 -1
  351. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  352. package/legacy/Tabs/Tabs.js +1 -1
  353. package/legacy/TextField/TextField.js +1 -1
  354. package/legacy/ToggleButton/ToggleButton.js +1 -1
  355. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  356. package/legacy/Toolbar/Toolbar.js +1 -1
  357. package/legacy/Tooltip/Tooltip.js +2 -2
  358. package/legacy/Typography/Typography.js +1 -1
  359. package/legacy/index.js +1 -1
  360. package/locale/index.d.ts +66 -66
  361. package/modern/Accordion/Accordion.js +2 -2
  362. package/modern/AccordionActions/AccordionActions.js +1 -1
  363. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  364. package/modern/AccordionSummary/AccordionSummary.js +2 -2
  365. package/modern/Alert/Alert.js +1 -3
  366. package/modern/AlertTitle/AlertTitle.js +1 -1
  367. package/modern/AppBar/AppBar.js +1 -1
  368. package/modern/Autocomplete/Autocomplete.js +1 -1
  369. package/modern/Avatar/Avatar.js +1 -1
  370. package/modern/AvatarGroup/AvatarGroup.js +20 -5
  371. package/modern/Backdrop/Backdrop.js +1 -1
  372. package/modern/Badge/Badge.js +1 -1
  373. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  374. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  375. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  376. package/modern/Button/Button.js +16 -35
  377. package/modern/ButtonBase/ButtonBase.js +2 -2
  378. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  379. package/modern/Card/Card.js +1 -1
  380. package/modern/CardActionArea/CardActionArea.js +1 -1
  381. package/modern/CardActions/CardActions.js +1 -1
  382. package/modern/CardContent/CardContent.js +1 -1
  383. package/modern/CardHeader/CardHeader.js +1 -1
  384. package/modern/CardMedia/CardMedia.js +1 -1
  385. package/modern/Checkbox/Checkbox.js +1 -1
  386. package/modern/Chip/Chip.js +1 -1
  387. package/modern/CircularProgress/CircularProgress.js +1 -1
  388. package/modern/Collapse/Collapse.js +1 -1
  389. package/modern/Container/Container.js +1 -1
  390. package/modern/Dialog/Dialog.js +2 -2
  391. package/modern/DialogActions/DialogActions.js +1 -1
  392. package/modern/DialogContent/DialogContent.js +1 -1
  393. package/modern/DialogContentText/DialogContentText.js +1 -1
  394. package/modern/DialogTitle/DialogTitle.js +1 -1
  395. package/modern/Divider/Divider.js +1 -1
  396. package/modern/Drawer/Drawer.js +1 -1
  397. package/modern/Fab/Fab.js +1 -1
  398. package/modern/FilledInput/FilledInput.js +1 -1
  399. package/modern/FormControl/FormControl.js +1 -1
  400. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  401. package/modern/FormGroup/FormGroup.js +1 -1
  402. package/modern/FormHelperText/FormHelperText.js +1 -1
  403. package/modern/FormLabel/FormLabel.js +1 -1
  404. package/modern/Grid/Grid.js +24 -3
  405. package/modern/Icon/Icon.js +1 -1
  406. package/modern/IconButton/IconButton.js +1 -1
  407. package/modern/ImageList/ImageList.js +1 -1
  408. package/modern/ImageListItem/ImageListItem.js +1 -1
  409. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  410. package/modern/Input/Input.js +1 -1
  411. package/modern/InputAdornment/InputAdornment.js +1 -1
  412. package/modern/InputBase/InputBase.js +1 -1
  413. package/modern/InputLabel/InputLabel.js +1 -1
  414. package/modern/LinearProgress/LinearProgress.js +1 -1
  415. package/modern/Link/Link.js +1 -1
  416. package/modern/List/List.js +1 -1
  417. package/modern/ListItem/ListItem.js +1 -1
  418. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  419. package/modern/ListItemButton/ListItemButton.js +2 -2
  420. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  421. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  422. package/modern/ListItemText/ListItemText.js +1 -1
  423. package/modern/ListSubheader/ListSubheader.js +1 -1
  424. package/modern/Menu/Menu.js +2 -2
  425. package/modern/MenuItem/MenuItem.js +2 -2
  426. package/modern/MobileStepper/MobileStepper.js +1 -1
  427. package/modern/Modal/Modal.js +1 -1
  428. package/modern/NativeSelect/NativeSelect.js +1 -1
  429. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  430. package/modern/Pagination/Pagination.js +1 -1
  431. package/modern/PaginationItem/PaginationItem.js +1 -1
  432. package/modern/Paper/Paper.js +1 -1
  433. package/modern/Popover/Popover.js +2 -2
  434. package/modern/Radio/Radio.js +1 -1
  435. package/modern/Rating/Rating.js +1 -1
  436. package/modern/Select/Select.js +1 -1
  437. package/modern/Select/SelectInput.js +5 -1
  438. package/modern/Skeleton/Skeleton.js +1 -1
  439. package/modern/Slider/Slider.js +1 -1
  440. package/modern/Snackbar/Snackbar.js +2 -2
  441. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  442. package/modern/SpeedDial/SpeedDial.js +2 -2
  443. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  444. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  445. package/modern/Stack/Stack.js +1 -1
  446. package/modern/Step/Step.js +1 -1
  447. package/modern/StepButton/StepButton.js +1 -1
  448. package/modern/StepConnector/StepConnector.js +1 -1
  449. package/modern/StepContent/StepContent.js +2 -2
  450. package/modern/StepIcon/StepIcon.js +1 -1
  451. package/modern/StepLabel/StepLabel.js +1 -1
  452. package/modern/Stepper/Stepper.js +1 -1
  453. package/modern/SvgIcon/SvgIcon.js +1 -1
  454. package/modern/Switch/Switch.js +1 -1
  455. package/modern/Tab/Tab.js +1 -1
  456. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  457. package/modern/Table/Table.js +1 -1
  458. package/modern/TableBody/TableBody.js +1 -1
  459. package/modern/TableCell/TableCell.js +1 -1
  460. package/modern/TableContainer/TableContainer.js +1 -1
  461. package/modern/TableFooter/TableFooter.js +1 -1
  462. package/modern/TableHead/TableHead.js +1 -1
  463. package/modern/TablePagination/TablePagination.js +1 -1
  464. package/modern/TableRow/TableRow.js +1 -1
  465. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  466. package/modern/Tabs/Tabs.js +1 -1
  467. package/modern/TextField/TextField.js +1 -1
  468. package/modern/ToggleButton/ToggleButton.js +1 -1
  469. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  470. package/modern/Toolbar/Toolbar.js +1 -1
  471. package/modern/Tooltip/Tooltip.js +2 -2
  472. package/modern/Typography/Typography.js +1 -1
  473. package/modern/index.js +1 -1
  474. package/node/Accordion/Accordion.js +2 -2
  475. package/node/AccordionActions/AccordionActions.js +1 -1
  476. package/node/AccordionDetails/AccordionDetails.js +1 -1
  477. package/node/AccordionSummary/AccordionSummary.js +2 -2
  478. package/node/Alert/Alert.js +1 -3
  479. package/node/AlertTitle/AlertTitle.js +1 -1
  480. package/node/AppBar/AppBar.js +1 -1
  481. package/node/Autocomplete/Autocomplete.js +1 -1
  482. package/node/Avatar/Avatar.js +1 -1
  483. package/node/AvatarGroup/AvatarGroup.js +20 -5
  484. package/node/Backdrop/Backdrop.js +1 -1
  485. package/node/Badge/Badge.js +1 -1
  486. package/node/BottomNavigation/BottomNavigation.js +1 -1
  487. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  488. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  489. package/node/Button/Button.js +17 -34
  490. package/node/ButtonBase/ButtonBase.js +2 -2
  491. package/node/ButtonGroup/ButtonGroup.js +1 -1
  492. package/node/Card/Card.js +1 -1
  493. package/node/CardActionArea/CardActionArea.js +1 -1
  494. package/node/CardActions/CardActions.js +1 -1
  495. package/node/CardContent/CardContent.js +1 -1
  496. package/node/CardHeader/CardHeader.js +1 -1
  497. package/node/CardMedia/CardMedia.js +1 -1
  498. package/node/Checkbox/Checkbox.js +1 -1
  499. package/node/Chip/Chip.js +1 -1
  500. package/node/CircularProgress/CircularProgress.js +1 -1
  501. package/node/Collapse/Collapse.js +1 -1
  502. package/node/Container/Container.js +1 -1
  503. package/node/Dialog/Dialog.js +2 -2
  504. package/node/DialogActions/DialogActions.js +1 -1
  505. package/node/DialogContent/DialogContent.js +1 -1
  506. package/node/DialogContentText/DialogContentText.js +1 -1
  507. package/node/DialogTitle/DialogTitle.js +1 -1
  508. package/node/Divider/Divider.js +1 -1
  509. package/node/Drawer/Drawer.js +1 -1
  510. package/node/Fab/Fab.js +1 -1
  511. package/node/FilledInput/FilledInput.js +1 -1
  512. package/node/FormControl/FormControl.js +1 -1
  513. package/node/FormControlLabel/FormControlLabel.js +1 -1
  514. package/node/FormGroup/FormGroup.js +1 -1
  515. package/node/FormHelperText/FormHelperText.js +1 -1
  516. package/node/FormLabel/FormLabel.js +1 -1
  517. package/node/Grid/Grid.js +26 -3
  518. package/node/Icon/Icon.js +1 -1
  519. package/node/IconButton/IconButton.js +1 -1
  520. package/node/ImageList/ImageList.js +1 -1
  521. package/node/ImageListItem/ImageListItem.js +1 -1
  522. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  523. package/node/Input/Input.js +1 -1
  524. package/node/InputAdornment/InputAdornment.js +1 -1
  525. package/node/InputBase/InputBase.js +1 -1
  526. package/node/InputLabel/InputLabel.js +1 -1
  527. package/node/LinearProgress/LinearProgress.js +1 -1
  528. package/node/Link/Link.js +1 -1
  529. package/node/List/List.js +1 -1
  530. package/node/ListItem/ListItem.js +1 -1
  531. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  532. package/node/ListItemButton/ListItemButton.js +2 -2
  533. package/node/ListItemIcon/ListItemIcon.js +1 -1
  534. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  535. package/node/ListItemText/ListItemText.js +1 -1
  536. package/node/ListSubheader/ListSubheader.js +1 -1
  537. package/node/Menu/Menu.js +2 -2
  538. package/node/MenuItem/MenuItem.js +2 -2
  539. package/node/MobileStepper/MobileStepper.js +1 -1
  540. package/node/Modal/Modal.js +1 -1
  541. package/node/NativeSelect/NativeSelect.js +1 -1
  542. package/node/OutlinedInput/OutlinedInput.js +1 -1
  543. package/node/Pagination/Pagination.js +1 -1
  544. package/node/PaginationItem/PaginationItem.js +1 -1
  545. package/node/Paper/Paper.js +1 -1
  546. package/node/Popover/Popover.js +2 -2
  547. package/node/Radio/Radio.js +1 -1
  548. package/node/Rating/Rating.js +1 -1
  549. package/node/Select/Select.js +1 -1
  550. package/node/Select/SelectInput.js +5 -1
  551. package/node/Skeleton/Skeleton.js +1 -1
  552. package/node/Slider/Slider.js +1 -1
  553. package/node/Snackbar/Snackbar.js +2 -2
  554. package/node/SnackbarContent/SnackbarContent.js +1 -1
  555. package/node/SpeedDial/SpeedDial.js +2 -2
  556. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  557. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  558. package/node/Stack/Stack.js +1 -1
  559. package/node/Step/Step.js +1 -1
  560. package/node/StepButton/StepButton.js +1 -1
  561. package/node/StepConnector/StepConnector.js +1 -1
  562. package/node/StepContent/StepContent.js +2 -2
  563. package/node/StepIcon/StepIcon.js +1 -1
  564. package/node/StepLabel/StepLabel.js +1 -1
  565. package/node/Stepper/Stepper.js +1 -1
  566. package/node/SvgIcon/SvgIcon.js +1 -1
  567. package/node/Switch/Switch.js +1 -1
  568. package/node/Tab/Tab.js +1 -1
  569. package/node/TabScrollButton/TabScrollButton.js +1 -1
  570. package/node/Table/Table.js +1 -1
  571. package/node/TableBody/TableBody.js +1 -1
  572. package/node/TableCell/TableCell.js +1 -1
  573. package/node/TableContainer/TableContainer.js +1 -1
  574. package/node/TableFooter/TableFooter.js +1 -1
  575. package/node/TableHead/TableHead.js +1 -1
  576. package/node/TablePagination/TablePagination.js +1 -1
  577. package/node/TableRow/TableRow.js +1 -1
  578. package/node/TableSortLabel/TableSortLabel.js +1 -1
  579. package/node/Tabs/Tabs.js +1 -1
  580. package/node/TextField/TextField.js +1 -1
  581. package/node/ToggleButton/ToggleButton.js +1 -1
  582. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  583. package/node/Toolbar/Toolbar.js +1 -1
  584. package/node/Tooltip/Tooltip.js +2 -2
  585. package/node/Typography/Typography.js +1 -1
  586. package/node/index.js +1 -1
  587. package/package.json +5 -5
  588. package/styles/cssUtils.d.ts +32 -0
  589. package/styles/index.d.ts +1 -0
  590. package/transitions/index.d.ts +1 -1
  591. package/transitions/transition.d.ts +14 -14
  592. package/transitions/utils.d.ts +23 -23
  593. package/umd/material-ui.development.js +836 -815
  594. package/umd/material-ui.production.min.js +20 -20
  595. package/useMediaQuery/useMediaQuery.d.ts +27 -27
  596. package/useTouchRipple/index.d.ts +1 -1
  597. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  598. package/utils/getScrollbarSize.d.ts +2 -2
  599. package/utils/ownerDocument.d.ts +2 -2
  600. package/utils/ownerWindow.d.ts +2 -2
  601. package/utils/setRef.d.ts +2 -2
@@ -97,6 +97,6 @@ process.env.NODE_ENV !== "production" ? AccordionActions.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
100
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
101
101
  } : void 0;
102
102
  export default AccordionActions;
@@ -74,6 +74,6 @@ process.env.NODE_ENV !== "production" ? AccordionDetails.propTypes
74
74
  /**
75
75
  * The system prop that allows defining system overrides as well as additional CSS styles.
76
76
  */
77
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
77
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
78
78
  } : void 0;
79
79
  export default AccordionDetails;
@@ -190,7 +190,7 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
190
190
  * This prop can help identify which element has keyboard focus.
191
191
  * The class name will be applied when the element gains the focus through keyboard interaction.
192
192
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
193
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
193
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
194
194
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
195
195
  * if needed.
196
196
  */
@@ -204,6 +204,6 @@ process.env.NODE_ENV !== "production" ? AccordionSummary.propTypes
204
204
  /**
205
205
  * The system prop that allows defining system overrides as well as additional CSS styles.
206
206
  */
207
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
207
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
208
208
  } : void 0;
209
209
  export default AccordionSummary;
@@ -56,7 +56,6 @@ const AlertRoot = styled(Paper, {
56
56
  const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
57
57
  const color = ownerState.color || ownerState.severity;
58
58
  return _extends({}, theme.typography.body2, {
59
- borderRadius: theme.shape.borderRadius,
60
59
  backgroundColor: 'transparent',
61
60
  display: 'flex',
62
61
  padding: '6px 16px'
@@ -151,7 +150,6 @@ const Alert = /*#__PURE__*/React.forwardRef(function Alert(inProps, ref) {
151
150
  const classes = useUtilityClasses(ownerState);
152
151
  return /*#__PURE__*/_jsxs(AlertRoot, _extends({
153
152
  role: role,
154
- square: true,
155
153
  elevation: 0,
156
154
  ownerState: ownerState,
157
155
  className: clsx(classes.root, className),
@@ -269,7 +267,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes
269
267
  /**
270
268
  * The system prop that allows defining system overrides as well as additional CSS styles.
271
269
  */
272
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
270
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
273
271
 
274
272
  /**
275
273
  * The variant to use.
@@ -80,6 +80,6 @@ process.env.NODE_ENV !== "production" ? AlertTitle.propTypes
80
80
  /**
81
81
  * The system prop that allows defining system overrides as well as additional CSS styles.
82
82
  */
83
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
83
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
84
84
  } : void 0;
85
85
  export default AlertTitle;
@@ -168,6 +168,6 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes
168
168
  /**
169
169
  * The system prop that allows defining system overrides as well as additional CSS styles.
170
170
  */
171
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
171
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
172
172
  } : void 0;
173
173
  export default AppBar;
@@ -1040,7 +1040,7 @@ process.env.NODE_ENV !== "production" ? Autocomplete.propTypes
1040
1040
  /**
1041
1041
  * The system prop that allows defining system overrides as well as additional CSS styles.
1042
1042
  */
1043
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
1043
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
1044
1044
 
1045
1045
  /**
1046
1046
  * The value of the autocomplete.
@@ -255,7 +255,7 @@ process.env.NODE_ENV !== "production" ? Avatar.propTypes
255
255
  /**
256
256
  * The system prop that allows defining system overrides as well as additional CSS styles.
257
257
  */
258
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
258
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
259
259
 
260
260
  /**
261
261
  * The shape of the avatar.
@@ -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 = ["children", "className", "max", "spacing", "variant"];
3
+ const _excluded = ["children", "className", "max", "spacing", "total", "variant"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import { isFragment } from 'react-is';
@@ -73,11 +73,12 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
73
73
  className,
74
74
  max = 5,
75
75
  spacing = 'medium',
76
+ total,
76
77
  variant = 'circular'
77
78
  } = props,
78
79
  other = _objectWithoutPropertiesLoose(props, _excluded);
79
80
 
80
- const clampedMax = max < 2 ? 2 : max;
81
+ let clampedMax = max < 2 ? 2 : max;
81
82
 
82
83
  const ownerState = _extends({}, props, {
83
84
  max,
@@ -95,7 +96,15 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
95
96
 
96
97
  return /*#__PURE__*/React.isValidElement(child);
97
98
  });
98
- const extraAvatars = children.length > clampedMax ? children.length - clampedMax + 1 : 0;
99
+ const totalAvatars = total || children.length;
100
+
101
+ if (totalAvatars === clampedMax) {
102
+ clampedMax += 1;
103
+ }
104
+
105
+ clampedMax = Math.min(totalAvatars + 1, clampedMax);
106
+ const maxAvatars = Math.min(children.length, clampedMax - 1);
107
+ const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
99
108
  const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
100
109
  return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
101
110
  ownerState: ownerState,
@@ -110,7 +119,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
110
119
  },
111
120
  variant: variant,
112
121
  children: ["+", extraAvatars]
113
- }) : null, children.slice(0, children.length - extraAvatars).reverse().map(child => {
122
+ }) : null, children.slice(0, maxAvatars).reverse().map(child => {
114
123
  return /*#__PURE__*/React.cloneElement(child, {
115
124
  className: clsx(child.props.className, classes.avatar),
116
125
  style: _extends({
@@ -165,7 +174,13 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
165
174
  /**
166
175
  * The system prop that allows defining system overrides as well as additional CSS styles.
167
176
  */
168
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
177
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
178
+
179
+ /**
180
+ * The total number of avatars. Used for calculating the number of extra avatars.
181
+ * @default children.length
182
+ */
183
+ total: PropTypes.number,
169
184
 
170
185
  /**
171
186
  * The variant to use.
@@ -141,7 +141,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
144
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
145
145
 
146
146
  /**
147
147
  * The duration for the transition, in milliseconds.
@@ -296,7 +296,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
296
296
  /**
297
297
  * The system prop that allows defining system overrides as well as additional CSS styles.
298
298
  */
299
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
299
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
300
300
 
301
301
  /**
302
302
  * The variant to use.
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigation.propTypes
129
129
  /**
130
130
  * The system prop that allows defining system overrides as well as additional CSS styles.
131
131
  */
132
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
132
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
133
133
 
134
134
  /**
135
135
  * The value of the currently selected `BottomNavigationAction`.
@@ -176,7 +176,7 @@ process.env.NODE_ENV !== "production" ? BottomNavigationAction.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
179
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
180
180
 
181
181
  /**
182
182
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -232,6 +232,6 @@ process.env.NODE_ENV !== "production" ? Breadcrumbs.propTypes
232
232
  /**
233
233
  * The system prop that allows defining system overrides as well as additional CSS styles.
234
234
  */
235
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
235
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
236
236
  } : void 0;
237
237
  export default Breadcrumbs;
@@ -1,9 +1,10 @@
1
1
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
- const _excluded = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
3
+ const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
4
4
  import * as React from 'react';
5
5
  import PropTypes from 'prop-types';
6
6
  import clsx from 'clsx';
7
+ import { internal_resolveProps as resolveProps } from '@mui/utils';
7
8
  import { unstable_composeClasses as composeClasses } from '@mui/base';
8
9
  import { alpha } from '@mui/system';
9
10
  import styled, { rootShouldForwardProp } from '../styles/styled';
@@ -214,51 +215,32 @@ const ButtonEndIcon = styled('span', {
214
215
  marginRight: -2
215
216
  }, commonIconStyles(ownerState)));
216
217
  const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
218
+ // props priority: `inProps` > `contextProps` > `themeDefaultProps`
219
+ const contextProps = React.useContext(ButtonGroupContext);
220
+ const resolvedProps = resolveProps(contextProps, inProps);
217
221
  const props = useThemeProps({
218
- props: inProps,
222
+ props: resolvedProps,
219
223
  name: 'MuiButton'
220
224
  });
221
- const {
222
- className: classNameContext,
223
- color: colorContext,
224
- disabled: disabledContext,
225
- disableElevation: disableElevationContext,
226
- disableFocusRipple: disableFocusRippleContext,
227
- disableRipple: disableRippleContext,
228
- fullWidth: fullWidthContext,
229
- size: sizeContext,
230
- variant: variantContext
231
- } = React.useContext(ButtonGroupContext);
232
225
 
233
226
  const {
234
227
  children,
235
- className,
236
- color: colorProp,
228
+ color = 'primary',
237
229
  component = 'button',
238
- disabled: disabledProp,
239
- disableElevation: disableElevationProp,
240
- disableFocusRipple: disableFocusRippleProp,
241
- disableRipple: disableRippleProp,
230
+ className,
231
+ disabled = false,
232
+ disableElevation = false,
233
+ disableFocusRipple = false,
242
234
  endIcon: endIconProp,
243
235
  focusVisibleClassName,
244
- fullWidth: fullWidthProp,
245
- size: sizeProp,
236
+ fullWidth = false,
237
+ size = 'medium',
246
238
  startIcon: startIconProp,
247
239
  type,
248
- variant: variantProp
240
+ variant = 'text'
249
241
  } = props,
250
242
  other = _objectWithoutPropertiesLoose(props, _excluded);
251
243
 
252
- const color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
253
-
254
- const disabled = disabledProp || disabledContext || false;
255
- const disableElevation = disableElevationProp || disableElevationContext || false;
256
- const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
257
- const fullWidth = fullWidthProp || fullWidthContext || false;
258
- const size = sizeProp || sizeContext || 'medium';
259
- const variant = variantProp || variantContext || 'text';
260
- const disableRipple = disableRippleProp || disableRippleContext || false;
261
-
262
244
  const ownerState = _extends({}, props, {
263
245
  color,
264
246
  component,
@@ -287,10 +269,9 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
287
269
 
288
270
  return /*#__PURE__*/_jsxs(ButtonRoot, _extends({
289
271
  ownerState: ownerState,
290
- className: clsx(className, classNameContext),
272
+ className: clsx(className, contextProps.className),
291
273
  component: component,
292
274
  disabled: disabled,
293
- disableRipple: disableRipple,
294
275
  focusRipple: !disableFocusRipple,
295
276
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
296
277
  ref: ref,
@@ -403,7 +384,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes
403
384
  /**
404
385
  * The system prop that allows defining system overrides as well as additional CSS styles.
405
386
  */
406
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
387
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
407
388
 
408
389
  /**
409
390
  * @ignore
@@ -421,7 +421,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
421
421
  * This prop can help identify which element has keyboard focus.
422
422
  * The class name will be applied when the element gains the focus through keyboard interaction.
423
423
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
424
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
424
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
425
425
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
426
426
  * if needed.
427
427
  */
@@ -514,7 +514,7 @@ process.env.NODE_ENV !== "production" ? ButtonBase.propTypes
514
514
  /**
515
515
  * The system prop that allows defining system overrides as well as additional CSS styles.
516
516
  */
517
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
517
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
518
518
 
519
519
  /**
520
520
  * @default 0
@@ -266,7 +266,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
269
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
270
270
 
271
271
  /**
272
272
  * The variant to use.
@@ -93,6 +93,6 @@ process.env.NODE_ENV !== "production" ? Card.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
96
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
97
97
  } : void 0;
98
98
  export default Card;
@@ -122,6 +122,6 @@ process.env.NODE_ENV !== "production" ? CardActionArea.propTypes
122
122
  /**
123
123
  * The system prop that allows defining system overrides as well as additional CSS styles.
124
124
  */
125
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
125
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
126
126
  } : void 0;
127
127
  export default CardActionArea;
@@ -96,6 +96,6 @@ process.env.NODE_ENV !== "production" ? CardActions.propTypes
96
96
  /**
97
97
  * The system prop that allows defining system overrides as well as additional CSS styles.
98
98
  */
99
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
99
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
100
100
  } : void 0;
101
101
  export default CardActions;
@@ -88,6 +88,6 @@ process.env.NODE_ENV !== "production" ? CardContent.propTypes
88
88
  /**
89
89
  * The system prop that allows defining system overrides as well as additional CSS styles.
90
90
  */
91
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
91
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
92
92
  } : void 0;
93
93
  export default CardContent;
@@ -203,7 +203,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
203
203
  /**
204
204
  * The system prop that allows defining system overrides as well as additional CSS styles.
205
205
  */
206
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
206
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
207
207
 
208
208
  /**
209
209
  * The content of the component.
@@ -148,6 +148,6 @@ process.env.NODE_ENV !== "production" ? CardMedia.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
151
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
152
152
  } : void 0;
153
153
  export default CardMedia;
@@ -219,7 +219,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
219
219
  /**
220
220
  * The system prop that allows defining system overrides as well as additional CSS styles.
221
221
  */
222
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
222
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
223
223
 
224
224
  /**
225
225
  * The value of the component. The DOM API casts this to a string.
@@ -515,7 +515,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes
515
515
  /**
516
516
  * The system prop that allows defining system overrides as well as additional CSS styles.
517
517
  */
518
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
518
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
519
519
 
520
520
  /**
521
521
  * The variant to use.
@@ -241,7 +241,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes
241
241
  /**
242
242
  * The system prop that allows defining system overrides as well as additional CSS styles.
243
243
  */
244
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
244
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
245
245
 
246
246
  /**
247
247
  * The thickness of the circle.
@@ -400,7 +400,7 @@ process.env.NODE_ENV !== "production" ? Collapse.propTypes
400
400
  /**
401
401
  * The system prop that allows defining system overrides as well as additional CSS styles.
402
402
  */
403
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
403
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
404
404
 
405
405
  /**
406
406
  * The duration for the transition, in milliseconds.
@@ -161,6 +161,6 @@ process.env.NODE_ENV !== "production" ? Container.propTypes
161
161
  /**
162
162
  * The system prop that allows defining system overrides as well as additional CSS styles.
163
163
  */
164
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
164
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
165
165
  } : void 0;
166
166
  export default Container;
@@ -387,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
387
387
  /**
388
388
  * The system prop that allows defining system overrides as well as additional CSS styles.
389
389
  */
390
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
390
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
391
391
 
392
392
  /**
393
393
  * The component used for the transition.
@@ -409,7 +409,7 @@ process.env.NODE_ENV !== "production" ? Dialog.propTypes
409
409
 
410
410
  /**
411
411
  * Props applied to the transition element.
412
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
412
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
413
413
  */
414
414
  TransitionProps: PropTypes.object
415
415
  } : void 0;
@@ -98,6 +98,6 @@ process.env.NODE_ENV !== "production" ? DialogActions.propTypes
98
98
  /**
99
99
  * The system prop that allows defining system overrides as well as additional CSS styles.
100
100
  */
101
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
101
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
102
102
  } : void 0;
103
103
  export default DialogActions;
@@ -104,6 +104,6 @@ process.env.NODE_ENV !== "production" ? DialogContent.propTypes
104
104
  /**
105
105
  * The system prop that allows defining system overrides as well as additional CSS styles.
106
106
  */
107
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
107
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
108
108
  } : void 0;
109
109
  export default DialogContent;
@@ -67,6 +67,6 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
67
67
  /**
68
68
  * The system prop that allows defining system overrides as well as additional CSS styles.
69
69
  */
70
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
70
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
71
71
  } : void 0;
72
72
  export default DialogContentText;
@@ -87,6 +87,6 @@ process.env.NODE_ENV !== "production" ? DialogTitle.propTypes
87
87
  /**
88
88
  * The system prop that allows defining system overrides as well as additional CSS styles.
89
89
  */
90
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
90
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
91
91
  } : void 0;
92
92
  export default DialogTitle;
@@ -247,7 +247,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes
247
247
  /**
248
248
  * The system prop that allows defining system overrides as well as additional CSS styles.
249
249
  */
250
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
250
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
251
251
 
252
252
  /**
253
253
  * The text alignment.
@@ -313,7 +313,7 @@ process.env.NODE_ENV !== "production" ? Drawer.propTypes
313
313
  /**
314
314
  * The system prop that allows defining system overrides as well as additional CSS styles.
315
315
  */
316
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
316
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
317
317
 
318
318
  /**
319
319
  * The duration for the transition, in milliseconds.
package/modern/Fab/Fab.js CHANGED
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes
238
238
  /**
239
239
  * The system prop that allows defining system overrides as well as additional CSS styles.
240
240
  */
241
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
241
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
242
242
 
243
243
  /**
244
244
  * The variant to use.
@@ -389,7 +389,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
389
389
  /**
390
390
  * The system prop that allows defining system overrides as well as additional CSS styles.
391
391
  */
392
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
392
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
393
393
 
394
394
  /**
395
395
  * 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).
@@ -314,7 +314,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes
314
314
  /**
315
315
  * The system prop that allows defining system overrides as well as additional CSS styles.
316
316
  */
317
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
317
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
318
318
 
319
319
  /**
320
320
  * The variant to use.
@@ -211,7 +211,7 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.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.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
214
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
215
215
 
216
216
  /**
217
217
  * The value of the component.
@@ -100,6 +100,6 @@ process.env.NODE_ENV !== "production" ? FormGroup.propTypes
100
100
  /**
101
101
  * The system prop that allows defining system overrides as well as additional CSS styles.
102
102
  */
103
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
103
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
104
104
  } : void 0;
105
105
  export default FormGroup;
@@ -178,7 +178,7 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes
178
178
  /**
179
179
  * The system prop that allows defining system overrides as well as additional CSS styles.
180
180
  */
181
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object]),
181
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
182
182
 
183
183
  /**
184
184
  * The variant to use.
@@ -177,6 +177,6 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes
177
177
  /**
178
178
  * The system prop that allows defining system overrides as well as additional CSS styles.
179
179
  */
180
- sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object])), PropTypes.func, PropTypes.object])
180
+ sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
181
181
  } : void 0;
182
182
  export default FormLabel;