@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
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.0.6
1
+ /** @license MUI v5.1.0
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -5423,12 +5423,12 @@
5423
5423
  xs: 0,
5424
5424
  // phone
5425
5425
  sm: 600,
5426
- // tablets
5426
+ // tablet
5427
5427
  md: 900,
5428
5428
  // small laptop
5429
5429
  lg: 1200,
5430
5430
  // desktop
5431
- xl: 1536 // large screens
5431
+ xl: 1536 // large screen
5432
5432
 
5433
5433
  };
5434
5434
  const defaultBreakpoints = {
@@ -5490,10 +5490,40 @@
5490
5490
  return acc;
5491
5491
  }, style);
5492
5492
  }
5493
+ // [1,2,3] => {xs: true, sm: true, md: true}
5494
+ // {xs: 1, sm: 2, md: 3} => {xs: true, sm: true, md: true}
5495
+
5496
+ function computeBreakpointsBase(breakpointValues, themeBreakpoints) {
5497
+ // fixed value
5498
+ if (typeof breakpointValues !== 'object') {
5499
+ return {};
5500
+ }
5501
+
5502
+ const base = {};
5503
+ const breakpointsKeys = Object.keys(themeBreakpoints);
5504
+
5505
+ if (Array.isArray(breakpointValues)) {
5506
+ breakpointsKeys.forEach((breakpoint, i) => {
5507
+ if (i < breakpointValues.length) {
5508
+ base[breakpoint] = true;
5509
+ }
5510
+ });
5511
+ } else {
5512
+ breakpointsKeys.forEach(breakpoint => {
5513
+ if (breakpointValues[breakpoint] != null) {
5514
+ base[breakpoint] = true;
5515
+ }
5516
+ });
5517
+ }
5518
+
5519
+ return base;
5520
+ }
5493
5521
  function resolveBreakpointValues({
5494
5522
  values: breakpointValues,
5495
- base
5523
+ breakpoints: themeBreakpoints,
5524
+ base: customBase
5496
5525
  }) {
5526
+ const base = customBase || computeBreakpointsBase(breakpointValues, themeBreakpoints);
5497
5527
  const keys = Object.keys(base);
5498
5528
 
5499
5529
  if (keys.length === 0) {
@@ -5501,14 +5531,15 @@
5501
5531
  }
5502
5532
 
5503
5533
  let previous;
5504
- return keys.reduce((acc, breakpoint) => {
5505
- if (typeof breakpointValues === 'object') {
5506
- acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous];
5534
+ return keys.reduce((acc, breakpoint, i) => {
5535
+ if (Array.isArray(breakpointValues)) {
5536
+ acc[breakpoint] = breakpointValues[i] != null ? breakpointValues[i] : breakpointValues[previous];
5537
+ previous = i;
5507
5538
  } else {
5508
- acc[breakpoint] = breakpointValues;
5539
+ acc[breakpoint] = breakpointValues[breakpoint] != null ? breakpointValues[breakpoint] : breakpointValues[previous] || breakpointValues;
5540
+ previous = breakpoint;
5509
5541
  }
5510
5542
 
5511
- previous = breakpoint;
5512
5543
  return acc;
5513
5544
  }, {});
5514
5545
  }
@@ -6176,53 +6207,63 @@
6176
6207
 
6177
6208
  function styleFunctionSx(props) {
6178
6209
  const {
6179
- sx: styles,
6210
+ sx,
6180
6211
  theme = {}
6181
6212
  } = props || {};
6182
6213
 
6183
- if (!styles) {
6184
- return null;
6214
+ if (!sx) {
6215
+ return null; // emotion & styled-components will neglect null
6185
6216
  }
6217
+ /*
6218
+ * Receive `sxInput` as object or callback
6219
+ * and then recursively check keys & values to create media query object styles.
6220
+ * (the result will be used in `styled`)
6221
+ */
6186
6222
 
6187
- let stylesObject = styles;
6188
6223
 
6189
- if (typeof styles === 'function') {
6190
- stylesObject = styles(theme);
6191
- } else if (typeof styles !== 'object') {
6192
- // value
6193
- return styles;
6194
- }
6224
+ function traverse(sxInput) {
6225
+ let sxObject = sxInput;
6195
6226
 
6196
- const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
6197
- const breakpointsKeys = Object.keys(emptyBreakpoints);
6198
- let css = emptyBreakpoints;
6199
- Object.keys(stylesObject).forEach(styleKey => {
6200
- const value = callIfFn(stylesObject[styleKey], theme);
6227
+ if (typeof sxInput === 'function') {
6228
+ sxObject = sxInput(theme);
6229
+ } else if (typeof sxInput !== 'object') {
6230
+ // value
6231
+ return sxInput;
6232
+ }
6201
6233
 
6202
- if (typeof value === 'object') {
6203
- if (propToStyleFunction[styleKey]) {
6204
- css = merge(css, getThemeValue(styleKey, value, theme));
6205
- } else {
6206
- const breakpointsValues = handleBreakpoints({
6207
- theme
6208
- }, value, x => ({
6209
- [styleKey]: x
6210
- }));
6234
+ const emptyBreakpoints = createEmptyBreakpointObject(theme.breakpoints);
6235
+ const breakpointsKeys = Object.keys(emptyBreakpoints);
6236
+ let css = emptyBreakpoints;
6237
+ Object.keys(sxObject).forEach(styleKey => {
6238
+ const value = callIfFn(sxObject[styleKey], theme);
6211
6239
 
6212
- if (objectsHaveSameKeys(breakpointsValues, value)) {
6213
- css[styleKey] = styleFunctionSx({
6214
- sx: value,
6215
- theme
6216
- });
6240
+ if (typeof value === 'object') {
6241
+ if (propToStyleFunction[styleKey]) {
6242
+ css = merge(css, getThemeValue(styleKey, value, theme));
6217
6243
  } else {
6218
- css = merge(css, breakpointsValues);
6244
+ const breakpointsValues = handleBreakpoints({
6245
+ theme
6246
+ }, value, x => ({
6247
+ [styleKey]: x
6248
+ }));
6249
+
6250
+ if (objectsHaveSameKeys(breakpointsValues, value)) {
6251
+ css[styleKey] = styleFunctionSx({
6252
+ sx: value,
6253
+ theme
6254
+ });
6255
+ } else {
6256
+ css = merge(css, breakpointsValues);
6257
+ }
6219
6258
  }
6259
+ } else {
6260
+ css = merge(css, getThemeValue(styleKey, value, theme));
6220
6261
  }
6221
- } else {
6222
- css = merge(css, getThemeValue(styleKey, value, theme));
6223
- }
6224
- });
6225
- return removeUnusedBreakpoints(breakpointsKeys, css);
6262
+ });
6263
+ return removeUnusedBreakpoints(breakpointsKeys, css);
6264
+ }
6265
+
6266
+ return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
6226
6267
  }
6227
6268
 
6228
6269
  styleFunctionSx.filterProps = ['sx'];
@@ -6254,8 +6295,26 @@
6254
6295
  systemProps,
6255
6296
  otherProps
6256
6297
  } = splitProps(other);
6298
+ let finalSx;
6299
+
6300
+ if (Array.isArray(inSx)) {
6301
+ finalSx = [systemProps, ...inSx];
6302
+ } else if (typeof inSx === 'function') {
6303
+ finalSx = (...args) => {
6304
+ const result = inSx(...args);
6305
+
6306
+ if (!isPlainObject(result)) {
6307
+ return systemProps;
6308
+ }
6309
+
6310
+ return _extends({}, systemProps, result);
6311
+ };
6312
+ } else {
6313
+ finalSx = _extends({}, systemProps, inSx);
6314
+ }
6315
+
6257
6316
  return _extends({}, otherProps, {
6258
- sx: _extends({}, systemProps, inSx)
6317
+ sx: finalSx
6259
6318
  });
6260
6319
  }
6261
6320
 
@@ -6310,12 +6369,12 @@
6310
6369
  xs: 0,
6311
6370
  // phone
6312
6371
  sm: 600,
6313
- // tablets
6372
+ // tablet
6314
6373
  md: 900,
6315
6374
  // small laptop
6316
6375
  lg: 1200,
6317
6376
  // desktop
6318
- xl: 1536 // large screens
6377
+ xl: 1536 // large screen
6319
6378
 
6320
6379
  },
6321
6380
  unit = 'px',
@@ -6530,7 +6589,9 @@
6530
6589
  const _excluded$2l = ["className", "component"];
6531
6590
  function createBox(options = {}) {
6532
6591
  const {
6533
- defaultTheme
6592
+ defaultTheme,
6593
+ defaultClassName = 'MuiBox-root',
6594
+ generateClassName
6534
6595
  } = options;
6535
6596
  const BoxRoot = styled$2('div')(styleFunctionSx);
6536
6597
  const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
@@ -6546,7 +6607,7 @@
6546
6607
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
6547
6608
  as: component,
6548
6609
  ref: ref,
6549
- className: clsx(className, 'MuiBox-root'),
6610
+ className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
6550
6611
  theme: theme
6551
6612
  }, other));
6552
6613
  });
@@ -6572,7 +6633,7 @@
6572
6633
  /**
6573
6634
  * @ignore
6574
6635
  */
6575
- sx: propTypes.object
6636
+ sx: propTypes.oneOfType([propTypes.object, propTypes.array])
6576
6637
  } ;
6577
6638
  return Box;
6578
6639
  }
@@ -14850,7 +14911,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14850
14911
  }
14851
14912
 
14852
14913
  return {
14853
- main: '#ED6C02',
14914
+ main: '#ed6c02',
14854
14915
  // closest to orange[800] that pass 3:1.
14855
14916
  light: orange$1[500],
14856
14917
  dark: orange$1[900]
@@ -15705,7 +15766,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
15705
15766
  /**
15706
15767
  * The system prop that allows defining system overrides as well as additional CSS styles.
15707
15768
  */
15708
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
15769
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
15709
15770
 
15710
15771
  /**
15711
15772
  * Provides a human-readable title for the element that contains it.
@@ -17129,7 +17190,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17129
17190
  /**
17130
17191
  * The system prop that allows defining system overrides as well as additional CSS styles.
17131
17192
  */
17132
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
17193
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
17133
17194
 
17134
17195
  /**
17135
17196
  * The duration for the transition, in milliseconds.
@@ -17301,7 +17362,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17301
17362
  /**
17302
17363
  * The system prop that allows defining system overrides as well as additional CSS styles.
17303
17364
  */
17304
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
17365
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
17305
17366
 
17306
17367
  /**
17307
17368
  * The variant to use.
@@ -17578,7 +17639,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17578
17639
  /**
17579
17640
  * The system prop that allows defining system overrides as well as additional CSS styles.
17580
17641
  */
17581
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
17642
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
17582
17643
 
17583
17644
  /**
17584
17645
  * The component used for the transition.
@@ -17690,7 +17751,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17690
17751
  /**
17691
17752
  * The system prop that allows defining system overrides as well as additional CSS styles.
17692
17753
  */
17693
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
17754
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
17694
17755
  } ;
17695
17756
  var AccordionActions$1 = AccordionActions;
17696
17757
 
@@ -17766,7 +17827,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17766
17827
  /**
17767
17828
  * The system prop that allows defining system overrides as well as additional CSS styles.
17768
17829
  */
17769
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
17830
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
17770
17831
  } ;
17771
17832
  var AccordionDetails$1 = AccordionDetails;
17772
17833
 
@@ -18705,7 +18766,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18705
18766
  /**
18706
18767
  * The system prop that allows defining system overrides as well as additional CSS styles.
18707
18768
  */
18708
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
18769
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18709
18770
 
18710
18771
  /**
18711
18772
  * @default 0
@@ -18923,7 +18984,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18923
18984
  /**
18924
18985
  * The system prop that allows defining system overrides as well as additional CSS styles.
18925
18986
  */
18926
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
18987
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18927
18988
  } ;
18928
18989
  var AccordionSummary$1 = AccordionSummary;
18929
18990
 
@@ -19139,7 +19200,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19139
19200
  /**
19140
19201
  * The system prop that allows defining system overrides as well as additional CSS styles.
19141
19202
  */
19142
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
19203
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
19143
19204
  } ;
19144
19205
  var IconButton$1 = IconButton;
19145
19206
 
@@ -19413,7 +19474,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19413
19474
  /**
19414
19475
  * The system prop that allows defining system overrides as well as additional CSS styles.
19415
19476
  */
19416
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
19477
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
19417
19478
 
19418
19479
  /**
19419
19480
  * The variant to use.
@@ -19601,7 +19662,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19601
19662
  /**
19602
19663
  * The system prop that allows defining system overrides as well as additional CSS styles.
19603
19664
  */
19604
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
19665
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
19605
19666
 
19606
19667
  /**
19607
19668
  * Applies the theme typography styles.
@@ -19713,7 +19774,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19713
19774
  /**
19714
19775
  * The system prop that allows defining system overrides as well as additional CSS styles.
19715
19776
  */
19716
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
19777
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
19717
19778
  } ;
19718
19779
  var AlertTitle$1 = AlertTitle;
19719
19780
 
@@ -19881,7 +19942,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19881
19942
  /**
19882
19943
  * The system prop that allows defining system overrides as well as additional CSS styles.
19883
19944
  */
19884
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
19945
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
19885
19946
  } ;
19886
19947
  var AppBar$1 = AppBar;
19887
19948
 
@@ -20030,7 +20091,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20030
20091
  /**
20031
20092
  * The system prop that allows defining system overrides as well as additional CSS styles.
20032
20093
  */
20033
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
20094
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20034
20095
  } ;
20035
20096
  var ListSubheader$1 = ListSubheader;
20036
20097
 
@@ -20544,7 +20605,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20544
20605
  /**
20545
20606
  * The system prop that allows defining system overrides as well as additional CSS styles.
20546
20607
  */
20547
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
20608
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20548
20609
 
20549
20610
  /**
20550
20611
  * The variant to use.
@@ -20742,6 +20803,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20742
20803
  padding: '2.5px 4px'
20743
20804
  }
20744
20805
  },
20806
+ [`& .${inputBaseClasses$1.hiddenLabel}`]: {
20807
+ paddingTop: 8
20808
+ },
20745
20809
  [`& .${autocompleteClasses$1.input}`]: _extends({
20746
20810
  flexGrow: 1,
20747
20811
  textOverflow: 'ellipsis',
@@ -21608,7 +21672,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21608
21672
  /**
21609
21673
  * The system prop that allows defining system overrides as well as additional CSS styles.
21610
21674
  */
21611
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
21675
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
21612
21676
 
21613
21677
  /**
21614
21678
  * The value of the autocomplete.
@@ -21882,7 +21946,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21882
21946
  /**
21883
21947
  * The system prop that allows defining system overrides as well as additional CSS styles.
21884
21948
  */
21885
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
21949
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
21886
21950
 
21887
21951
  /**
21888
21952
  * The shape of the avatar.
@@ -22054,7 +22118,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22054
22118
  /**
22055
22119
  * The system prop that allows defining system overrides as well as additional CSS styles.
22056
22120
  */
22057
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
22121
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22058
22122
 
22059
22123
  /**
22060
22124
  * The variant to use.
@@ -22416,7 +22480,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22416
22480
  /**
22417
22481
  * The system prop that allows defining system overrides as well as additional CSS styles.
22418
22482
  */
22419
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
22483
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22420
22484
 
22421
22485
  /**
22422
22486
  * The duration for the transition, in milliseconds.
@@ -22718,7 +22782,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22718
22782
  /**
22719
22783
  * The system prop that allows defining system overrides as well as additional CSS styles.
22720
22784
  */
22721
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
22785
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22722
22786
 
22723
22787
  /**
22724
22788
  * The variant to use.
@@ -22856,7 +22920,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22856
22920
  /**
22857
22921
  * The system prop that allows defining system overrides as well as additional CSS styles.
22858
22922
  */
22859
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
22923
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22860
22924
 
22861
22925
  /**
22862
22926
  * The value of the currently selected `BottomNavigationAction`.
@@ -23036,7 +23100,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23036
23100
  /**
23037
23101
  * The system prop that allows defining system overrides as well as additional CSS styles.
23038
23102
  */
23039
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
23103
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23040
23104
 
23041
23105
  /**
23042
23106
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -23051,7 +23115,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23051
23115
  */
23052
23116
 
23053
23117
  const Box = createBox({
23054
- defaultTheme
23118
+ defaultTheme,
23119
+ defaultClassName: 'MuiBox-root',
23120
+ generateClassName: ClassNameGenerator$1.generate
23055
23121
  });
23056
23122
  var Box$1 = Box;
23057
23123
 
@@ -23343,7 +23409,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23343
23409
  /**
23344
23410
  * The system prop that allows defining system overrides as well as additional CSS styles.
23345
23411
  */
23346
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
23412
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
23347
23413
  } ;
23348
23414
  var Breadcrumbs$1 = Breadcrumbs;
23349
23415
 
@@ -23353,7 +23419,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23353
23419
  const buttonClasses = generateUtilityClasses('MuiButton', ['root', 'text', 'textInherit', 'textPrimary', 'textSecondary', 'outlined', 'outlinedInherit', 'outlinedPrimary', 'outlinedSecondary', 'contained', 'containedInherit', 'containedPrimary', 'containedSecondary', 'disableElevation', 'focusVisible', 'disabled', 'colorInherit', 'textSizeSmall', 'textSizeMedium', 'textSizeLarge', 'outlinedSizeSmall', 'outlinedSizeMedium', 'outlinedSizeLarge', 'containedSizeSmall', 'containedSizeMedium', 'containedSizeLarge', 'sizeMedium', 'sizeSmall', 'sizeLarge', 'fullWidth', 'startIcon', 'endIcon', 'iconSizeSmall', 'iconSizeMedium', 'iconSizeLarge']);
23354
23420
  var buttonClasses$1 = buttonClasses;
23355
23421
 
23356
- const _excluded$1G = ["children", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
23422
+ /**
23423
+ * @ignore - internal component.
23424
+ */
23425
+ const ButtonGroupContext = /*#__PURE__*/React__namespace.createContext({});
23426
+
23427
+ {
23428
+ ButtonGroupContext.displayName = 'ButtonGroupContext';
23429
+ }
23430
+
23431
+ var ButtonGroupContext$1 = ButtonGroupContext;
23432
+
23433
+ const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
23357
23434
 
23358
23435
  const useUtilityClasses$1p = ownerState => {
23359
23436
  const {
@@ -23558,24 +23635,47 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23558
23635
  props: inProps,
23559
23636
  name: 'MuiButton'
23560
23637
  });
23638
+ const {
23639
+ className: classNameContext,
23640
+ color: colorContext,
23641
+ disabled: disabledContext,
23642
+ disableElevation: disableElevationContext,
23643
+ disableFocusRipple: disableFocusRippleContext,
23644
+ disableRipple: disableRippleContext,
23645
+ fullWidth: fullWidthContext,
23646
+ size: sizeContext,
23647
+ variant: variantContext
23648
+ } = React__namespace.useContext(ButtonGroupContext$1);
23561
23649
 
23562
23650
  const {
23563
23651
  children,
23564
- color = 'primary',
23652
+ className,
23653
+ color: colorProp,
23565
23654
  component = 'button',
23566
- disabled = false,
23567
- disableElevation = false,
23568
- disableFocusRipple = false,
23655
+ disabled: disabledProp,
23656
+ disableElevation: disableElevationProp,
23657
+ disableFocusRipple: disableFocusRippleProp,
23658
+ disableRipple: disableRippleProp,
23569
23659
  endIcon: endIconProp,
23570
23660
  focusVisibleClassName,
23571
- fullWidth = false,
23572
- size = 'medium',
23661
+ fullWidth: fullWidthProp,
23662
+ size: sizeProp,
23573
23663
  startIcon: startIconProp,
23574
23664
  type,
23575
- variant = 'text'
23665
+ variant: variantProp
23576
23666
  } = props,
23577
23667
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
23578
23668
 
23669
+ 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.
23670
+
23671
+ const disabled = disabledProp || disabledContext || false;
23672
+ const disableElevation = disableElevationProp || disableElevationContext || false;
23673
+ const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
23674
+ const fullWidth = fullWidthProp || fullWidthContext || false;
23675
+ const size = sizeProp || sizeContext || 'medium';
23676
+ const variant = variantProp || variantContext || 'text';
23677
+ const disableRipple = disableRippleProp || disableRippleContext || false;
23678
+
23579
23679
  const ownerState = _extends({}, props, {
23580
23680
  color,
23581
23681
  component,
@@ -23604,8 +23704,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23604
23704
 
23605
23705
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
23606
23706
  ownerState: ownerState,
23707
+ className: clsx(className, classNameContext),
23607
23708
  component: component,
23608
23709
  disabled: disabled,
23710
+ disableRipple: disableRipple,
23609
23711
  focusRipple: !disableFocusRipple,
23610
23712
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
23611
23713
  ref: ref,
@@ -23633,6 +23735,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23633
23735
  */
23634
23736
  classes: propTypes.object,
23635
23737
 
23738
+ /**
23739
+ * @ignore
23740
+ */
23741
+ className: propTypes.string,
23742
+
23636
23743
  /**
23637
23744
  * The color of the component. It supports those theme colors that make sense for this component.
23638
23745
  * @default 'primary'
@@ -23713,7 +23820,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23713
23820
  /**
23714
23821
  * The system prop that allows defining system overrides as well as additional CSS styles.
23715
23822
  */
23716
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
23823
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23717
23824
 
23718
23825
  /**
23719
23826
  * @ignore
@@ -23832,10 +23939,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23832
23939
  }
23833
23940
  }, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
23834
23941
  borderColor: theme.palette[ownerState.color].dark
23942
+ }, {
23943
+ '&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
23944
+ borderRightColor: 'currentColor'
23945
+ }, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
23946
+ borderBottomColor: 'currentColor'
23947
+ })
23835
23948
  }),
23836
- '&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.color !== 'inherit' && {
23837
- borderColor: theme.palette[ownerState.color].main
23838
- }, ownerState.variant === 'contained' && {
23949
+ '&:hover': _extends({}, ownerState.variant === 'contained' && {
23839
23950
  boxShadow: 'none'
23840
23951
  })
23841
23952
  }, ownerState.variant === 'contained' && {
@@ -23878,6 +23989,17 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23878
23989
  });
23879
23990
 
23880
23991
  const classes = useUtilityClasses$1o(ownerState);
23992
+ const context = React__namespace.useMemo(() => ({
23993
+ className: classes.grouped,
23994
+ color,
23995
+ disabled,
23996
+ disableElevation,
23997
+ disableFocusRipple,
23998
+ disableRipple,
23999
+ fullWidth,
24000
+ size,
24001
+ variant
24002
+ }), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
23881
24003
  return /*#__PURE__*/jsxRuntime_1(ButtonGroupRoot, _extends({
23882
24004
  as: component,
23883
24005
  role: "group",
@@ -23885,28 +24007,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23885
24007
  ref: ref,
23886
24008
  ownerState: ownerState
23887
24009
  }, other, {
23888
- children: React__namespace.Children.map(children, child => {
23889
- if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
23890
- return null;
23891
- }
23892
-
23893
- {
23894
- if (reactIs_2(child)) {
23895
- console.error(["MUI: The ButtonGroup component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
23896
- }
23897
- }
23898
-
23899
- return /*#__PURE__*/React__namespace.cloneElement(child, {
23900
- className: clsx(classes.grouped, child.props.className),
23901
- color: child.props.color || color,
23902
- disabled: child.props.disabled || disabled,
23903
- disableElevation: child.props.disableElevation || disableElevation,
23904
- disableFocusRipple,
23905
- disableRipple,
23906
- fullWidth,
23907
- size: child.props.size || size,
23908
- variant: child.props.variant || variant
23909
- });
24010
+ children: /*#__PURE__*/jsxRuntime_1(ButtonGroupContext$1.Provider, {
24011
+ value: context,
24012
+ children: children
23910
24013
  })
23911
24014
  }));
23912
24015
  });
@@ -23995,7 +24098,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23995
24098
  /**
23996
24099
  * The system prop that allows defining system overrides as well as additional CSS styles.
23997
24100
  */
23998
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
24101
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23999
24102
 
24000
24103
  /**
24001
24104
  * The variant to use.
@@ -24096,7 +24199,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24096
24199
  /**
24097
24200
  * The system prop that allows defining system overrides as well as additional CSS styles.
24098
24201
  */
24099
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
24202
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24100
24203
  } ;
24101
24204
  var Card$1 = Card;
24102
24205
 
@@ -24218,7 +24321,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24218
24321
  /**
24219
24322
  * The system prop that allows defining system overrides as well as additional CSS styles.
24220
24323
  */
24221
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
24324
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24222
24325
  } ;
24223
24326
  var CardActionArea$1 = CardActionArea;
24224
24327
 
@@ -24316,7 +24419,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24316
24419
  /**
24317
24420
  * The system prop that allows defining system overrides as well as additional CSS styles.
24318
24421
  */
24319
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
24422
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24320
24423
  } ;
24321
24424
  var CardActions$1 = CardActions;
24322
24425
 
@@ -24406,7 +24509,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24406
24509
  /**
24407
24510
  * The system prop that allows defining system overrides as well as additional CSS styles.
24408
24511
  */
24409
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
24512
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24410
24513
  } ;
24411
24514
  var CardContent$1 = CardContent;
24412
24515
 
@@ -24609,7 +24712,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24609
24712
  /**
24610
24713
  * The system prop that allows defining system overrides as well as additional CSS styles.
24611
24714
  */
24612
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
24715
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24613
24716
 
24614
24717
  /**
24615
24718
  * The content of the component.
@@ -24769,7 +24872,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24769
24872
  /**
24770
24873
  * The system prop that allows defining system overrides as well as additional CSS styles.
24771
24874
  */
24772
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
24875
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24773
24876
  } ;
24774
24877
  var CardMedia$1 = CardMedia;
24775
24878
 
@@ -25315,7 +25418,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25315
25418
  /**
25316
25419
  * The system prop that allows defining system overrides as well as additional CSS styles.
25317
25420
  */
25318
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
25421
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25319
25422
 
25320
25423
  /**
25321
25424
  * The value of the component. The DOM API casts this to a string.
@@ -25567,7 +25670,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25567
25670
  /**
25568
25671
  * The system prop that allows defining system overrides as well as additional CSS styles.
25569
25672
  */
25570
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
25673
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25571
25674
 
25572
25675
  /**
25573
25676
  * The thickness of the circle.
@@ -25935,7 +26038,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25935
26038
  /**
25936
26039
  * The system prop that allows defining system overrides as well as additional CSS styles.
25937
26040
  */
25938
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
26041
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25939
26042
  } ;
25940
26043
  var Container$1 = Container;
25941
26044
 
@@ -25961,8 +26064,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25961
26064
  }), propTypes.string, propTypes.bool])
25962
26065
  } ;
25963
26066
 
25964
- var _GlobalStyles;
25965
- const html = {
26067
+ const html = (theme, enableColorScheme) => _extends({
25966
26068
  WebkitFontSmoothing: 'antialiased',
25967
26069
  // Antialiasing.
25968
26070
  MozOsxFontSmoothing: 'grayscale',
@@ -25972,7 +26074,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25972
26074
  boxSizing: 'border-box',
25973
26075
  // Fix font resize problem in iOS
25974
26076
  WebkitTextSizeAdjust: '100%'
25975
- };
26077
+ }, enableColorScheme && {
26078
+ colorScheme: theme.palette.mode
26079
+ });
25976
26080
  const body = theme => _extends({
25977
26081
  color: theme.palette.text.primary
25978
26082
  }, theme.typography.body1, {
@@ -25982,11 +26086,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25982
26086
  backgroundColor: theme.palette.common.white
25983
26087
  }
25984
26088
  });
25985
- const styles$3 = theme => {
26089
+ const styles$3 = (theme, enableColorScheme = false) => {
25986
26090
  var _theme$components, _theme$components$Mui;
25987
26091
 
25988
26092
  let defaultStyles = {
25989
- html,
26093
+ html: html(theme, enableColorScheme),
25990
26094
  '*, *::before, *::after': {
25991
26095
  boxSizing: 'inherit'
25992
26096
  },
@@ -26021,12 +26125,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26021
26125
  name: 'MuiCssBaseline'
26022
26126
  });
26023
26127
  const {
26024
- children
26128
+ children,
26129
+ enableColorScheme = false
26025
26130
  } = props;
26026
26131
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
26027
- children: [_GlobalStyles || (_GlobalStyles = /*#__PURE__*/jsxRuntime_1(GlobalStyles, {
26028
- styles: styles$3
26029
- })), children]
26132
+ children: [/*#__PURE__*/jsxRuntime_1(GlobalStyles, {
26133
+ styles: theme => styles$3(theme, enableColorScheme)
26134
+ }), children]
26030
26135
  });
26031
26136
  }
26032
26137
 
@@ -26041,7 +26146,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26041
26146
  /**
26042
26147
  * You can wrap a node.
26043
26148
  */
26044
- children: propTypes.node
26149
+ children: propTypes.node,
26150
+
26151
+ /**
26152
+ * Enable `color-scheme` css property to use `theme.palette.mode`.
26153
+ * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
26154
+ * For browser support, check out https://caniuse.com/?search=color-scheme
26155
+ * @default false
26156
+ */
26157
+ enableColorScheme: propTypes.bool
26045
26158
  } ;
26046
26159
 
26047
26160
  // track, thumb and active are derieved from macOS 10.15.7
@@ -26341,7 +26454,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26341
26454
  /**
26342
26455
  * The system prop that allows defining system overrides as well as additional CSS styles.
26343
26456
  */
26344
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
26457
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26345
26458
  } ;
26346
26459
  var Modal$1 = Modal;
26347
26460
 
@@ -26730,7 +26843,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26730
26843
  /**
26731
26844
  * The system prop that allows defining system overrides as well as additional CSS styles.
26732
26845
  */
26733
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
26846
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26734
26847
 
26735
26848
  /**
26736
26849
  * The component used for the transition.
@@ -26854,7 +26967,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26854
26967
  /**
26855
26968
  * The system prop that allows defining system overrides as well as additional CSS styles.
26856
26969
  */
26857
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
26970
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26858
26971
  } ;
26859
26972
  var DialogActions$1 = DialogActions;
26860
26973
 
@@ -26965,7 +27078,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26965
27078
  /**
26966
27079
  * The system prop that allows defining system overrides as well as additional CSS styles.
26967
27080
  */
26968
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
27081
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26969
27082
  } ;
26970
27083
  var DialogContent$1 = DialogContent;
26971
27084
 
@@ -27034,7 +27147,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27034
27147
  /**
27035
27148
  * The system prop that allows defining system overrides as well as additional CSS styles.
27036
27149
  */
27037
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
27150
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27038
27151
  } ;
27039
27152
  var DialogContentText$1 = DialogContentText;
27040
27153
 
@@ -27115,7 +27228,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27115
27228
  /**
27116
27229
  * The system prop that allows defining system overrides as well as additional CSS styles.
27117
27230
  */
27118
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
27231
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27119
27232
  } ;
27120
27233
  var DialogTitle$1 = DialogTitle;
27121
27234
 
@@ -27363,7 +27476,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27363
27476
  /**
27364
27477
  * The system prop that allows defining system overrides as well as additional CSS styles.
27365
27478
  */
27366
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
27479
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
27367
27480
 
27368
27481
  /**
27369
27482
  * The text alignment.
@@ -28042,7 +28155,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28042
28155
  /**
28043
28156
  * The system prop that allows defining system overrides as well as additional CSS styles.
28044
28157
  */
28045
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
28158
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
28046
28159
 
28047
28160
  /**
28048
28161
  * The duration for the transition, in milliseconds.
@@ -28297,7 +28410,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28297
28410
  /**
28298
28411
  * The system prop that allows defining system overrides as well as additional CSS styles.
28299
28412
  */
28300
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
28413
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
28301
28414
 
28302
28415
  /**
28303
28416
  * The variant to use.
@@ -28517,8 +28630,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28517
28630
  paddingTop: 0
28518
28631
  }, ownerState.type === 'search' && {
28519
28632
  // Improve type search style.
28520
- MozAppearance: 'textfield',
28521
- WebkitAppearance: 'textfield'
28633
+ MozAppearance: 'textfield'
28522
28634
  });
28523
28635
  });
28524
28636
 
@@ -28821,7 +28933,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28821
28933
  ownerState: _extends({}, ownerState, inputProps.ownerState)
28822
28934
  }, {
28823
28935
  ref: handleInputRef,
28824
- className: clsx(classes.input, inputProps.className, inputPropsProp.className),
28936
+ className: clsx(classes.input, inputProps.className),
28825
28937
  onBlur: handleBlur,
28826
28938
  onChange: handleChange,
28827
28939
  onFocus: handleFocus
@@ -29047,7 +29159,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29047
29159
  /**
29048
29160
  * The system prop that allows defining system overrides as well as additional CSS styles.
29049
29161
  */
29050
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
29162
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29051
29163
 
29052
29164
  /**
29053
29165
  * 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).
@@ -29441,7 +29553,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29441
29553
  /**
29442
29554
  * The system prop that allows defining system overrides as well as additional CSS styles.
29443
29555
  */
29444
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
29556
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29445
29557
 
29446
29558
  /**
29447
29559
  * 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).
@@ -29765,7 +29877,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29765
29877
  /**
29766
29878
  * The system prop that allows defining system overrides as well as additional CSS styles.
29767
29879
  */
29768
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
29880
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29769
29881
 
29770
29882
  /**
29771
29883
  * The variant to use.
@@ -29953,9 +30065,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29953
30065
  inputRef: refType$1,
29954
30066
 
29955
30067
  /**
29956
- * The text to be used in an enclosing label element.
30068
+ * A text or an element to be used in an enclosing label element.
29957
30069
  */
29958
- label: propTypes.node,
30070
+ label: propTypes.oneOfType([propTypes.element, propTypes.number, propTypes.string]).isRequired,
29959
30071
 
29960
30072
  /**
29961
30073
  * The position of the label.
@@ -29979,7 +30091,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29979
30091
  /**
29980
30092
  * The system prop that allows defining system overrides as well as additional CSS styles.
29981
30093
  */
29982
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
30094
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29983
30095
 
29984
30096
  /**
29985
30097
  * The value of the component.
@@ -30086,7 +30198,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30086
30198
  /**
30087
30199
  * The system prop that allows defining system overrides as well as additional CSS styles.
30088
30200
  */
30089
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
30201
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
30090
30202
  } ;
30091
30203
  var FormGroup$1 = FormGroup;
30092
30204
 
@@ -30263,7 +30375,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30263
30375
  /**
30264
30376
  * The system prop that allows defining system overrides as well as additional CSS styles.
30265
30377
  */
30266
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
30378
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30267
30379
 
30268
30380
  /**
30269
30381
  * The variant to use.
@@ -30444,7 +30556,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30444
30556
  /**
30445
30557
  * The system prop that allows defining system overrides as well as additional CSS styles.
30446
30558
  */
30447
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
30559
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
30448
30560
  } ;
30449
30561
  var FormLabel$1 = FormLabel;
30450
30562
 
@@ -30508,10 +30620,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30508
30620
  } else {
30509
30621
  const columnsBreakpointValues = resolveBreakpointValues({
30510
30622
  values: ownerState.columns,
30511
- base: theme.breakpoints.values
30512
- }); // Keep 7 significant numbers.
30623
+ breakpoints: theme.breakpoints.values
30624
+ });
30625
+ const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
30513
30626
 
30514
- const width = `${Math.round(size / columnsBreakpointValues[breakpoint] * 10e7) / 10e5}%`;
30627
+ const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
30515
30628
  let more = {};
30516
30629
 
30517
30630
  if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
@@ -30547,9 +30660,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30547
30660
  theme,
30548
30661
  ownerState
30549
30662
  }) {
30663
+ const directionValues = resolveBreakpointValues({
30664
+ values: ownerState.direction,
30665
+ breakpoints: theme.breakpoints.values
30666
+ });
30550
30667
  return handleBreakpoints({
30551
30668
  theme
30552
- }, ownerState.direction, propValue => {
30669
+ }, directionValues, propValue => {
30553
30670
  const output = {
30554
30671
  flexDirection: propValue
30555
30672
  };
@@ -30563,7 +30680,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30563
30680
  return output;
30564
30681
  });
30565
30682
  }
30566
-
30567
30683
  function generateRowGap({
30568
30684
  theme,
30569
30685
  ownerState
@@ -30575,9 +30691,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30575
30691
  let styles = {};
30576
30692
 
30577
30693
  if (container && rowSpacing !== 0) {
30694
+ const rowSpacingValues = resolveBreakpointValues({
30695
+ values: rowSpacing,
30696
+ breakpoints: theme.breakpoints.values
30697
+ });
30578
30698
  styles = handleBreakpoints({
30579
30699
  theme
30580
- }, rowSpacing, propValue => {
30700
+ }, rowSpacingValues, propValue => {
30581
30701
  const themeSpacing = theme.spacing(propValue);
30582
30702
 
30583
30703
  if (themeSpacing !== '0px') {
@@ -30606,9 +30726,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30606
30726
  let styles = {};
30607
30727
 
30608
30728
  if (container && columnSpacing !== 0) {
30729
+ const columnSpacingValues = resolveBreakpointValues({
30730
+ values: columnSpacing,
30731
+ breakpoints: theme.breakpoints.values
30732
+ });
30609
30733
  styles = handleBreakpoints({
30610
30734
  theme
30611
- }, columnSpacing, propValue => {
30735
+ }, columnSpacingValues, propValue => {
30612
30736
  const themeSpacing = theme.spacing(propValue);
30613
30737
 
30614
30738
  if (themeSpacing !== '0px') {
@@ -30826,18 +30950,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30826
30950
  item: propTypes.bool,
30827
30951
 
30828
30952
  /**
30829
- * Defines the number of grids the component is going to use.
30830
- * It's applied for the `lg` breakpoint and wider screens if not overridden.
30953
+ * If a number, it sets the number of columns the grid item uses.
30954
+ * It can't be greater than the total number of columns of the container (12 by default).
30955
+ * If 'auto', the grid item's width matches its content.
30956
+ * If false, the prop is ignored.
30957
+ * If true, the grid item's width grows to use the space available in the grid container.
30958
+ * The value is applied for the `lg` breakpoint and wider screens if not overridden.
30831
30959
  * @default false
30832
30960
  */
30833
- lg: propTypes.oneOfType([propTypes.oneOf(['auto', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), propTypes.bool]),
30961
+ lg: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
30834
30962
 
30835
30963
  /**
30836
- * Defines the number of grids the component is going to use.
30837
- * It's applied for the `md` breakpoint and wider screens if not overridden.
30964
+ * If a number, it sets the number of columns the grid item uses.
30965
+ * It can't be greater than the total number of columns of the container (12 by default).
30966
+ * If 'auto', the grid item's width matches its content.
30967
+ * If false, the prop is ignored.
30968
+ * If true, the grid item's width grows to use the space available in the grid container.
30969
+ * The value is applied for the `md` breakpoint and wider screens if not overridden.
30838
30970
  * @default false
30839
30971
  */
30840
- md: propTypes.oneOfType([propTypes.oneOf(['auto', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), propTypes.bool]),
30972
+ md: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
30841
30973
 
30842
30974
  /**
30843
30975
  * Defines the vertical space between the type `item` components.
@@ -30846,11 +30978,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30846
30978
  rowSpacing: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.number, propTypes.string])), propTypes.number, propTypes.object, propTypes.string]),
30847
30979
 
30848
30980
  /**
30849
- * Defines the number of grids the component is going to use.
30850
- * It's applied for the `sm` breakpoint and wider screens if not overridden.
30981
+ * If a number, it sets the number of columns the grid item uses.
30982
+ * It can't be greater than the total number of columns of the container (12 by default).
30983
+ * If 'auto', the grid item's width matches its content.
30984
+ * If false, the prop is ignored.
30985
+ * If true, the grid item's width grows to use the space available in the grid container.
30986
+ * The value is applied for the `sm` breakpoint and wider screens if not overridden.
30851
30987
  * @default false
30852
30988
  */
30853
- sm: propTypes.oneOfType([propTypes.oneOf(['auto', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), propTypes.bool]),
30989
+ sm: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
30854
30990
 
30855
30991
  /**
30856
30992
  * Defines the space between the type `item` components.
@@ -30862,7 +30998,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30862
30998
  /**
30863
30999
  * The system prop that allows defining system overrides as well as additional CSS styles.
30864
31000
  */
30865
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
31001
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30866
31002
 
30867
31003
  /**
30868
31004
  * Defines the `flex-wrap` style property.
@@ -30872,18 +31008,26 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30872
31008
  wrap: propTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap']),
30873
31009
 
30874
31010
  /**
30875
- * Defines the number of grids the component is going to use.
30876
- * It's applied for the `xl` breakpoint and wider screens.
31011
+ * If a number, it sets the number of columns the grid item uses.
31012
+ * It can't be greater than the total number of columns of the container (12 by default).
31013
+ * If 'auto', the grid item's width matches its content.
31014
+ * If false, the prop is ignored.
31015
+ * If true, the grid item's width grows to use the space available in the grid container.
31016
+ * The value is applied for the `xl` breakpoint and wider screens if not overridden.
30877
31017
  * @default false
30878
31018
  */
30879
- xl: propTypes.oneOfType([propTypes.oneOf(['auto', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), propTypes.bool]),
31019
+ xl: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
30880
31020
 
30881
31021
  /**
30882
- * Defines the number of grids the component is going to use.
30883
- * It's applied for all the screen sizes with the lowest priority.
31022
+ * If a number, it sets the number of columns the grid item uses.
31023
+ * It can't be greater than the total number of columns of the container (12 by default).
31024
+ * If 'auto', the grid item's width matches its content.
31025
+ * If false, the prop is ignored.
31026
+ * If true, the grid item's width grows to use the space available in the grid container.
31027
+ * The value is applied for all the screen sizes with the lowest priority.
30884
31028
  * @default false
30885
31029
  */
30886
- xs: propTypes.oneOfType([propTypes.oneOf(['auto', 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]), propTypes.bool]),
31030
+ xs: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.number, propTypes.bool]),
30887
31031
 
30888
31032
  /**
30889
31033
  * If `true`, it sets `min-width: 0` on the item.
@@ -32015,7 +32159,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32015
32159
  /**
32016
32160
  * The system prop that allows defining system overrides as well as additional CSS styles.
32017
32161
  */
32018
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
32162
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
32019
32163
  } ;
32020
32164
  Icon.muiName = 'Icon';
32021
32165
  var Icon$1 = Icon;
@@ -32192,7 +32336,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32192
32336
  /**
32193
32337
  * The system prop that allows defining system overrides as well as additional CSS styles.
32194
32338
  */
32195
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
32339
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32196
32340
 
32197
32341
  /**
32198
32342
  * The variant to use.
@@ -32380,7 +32524,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32380
32524
  /**
32381
32525
  * The system prop that allows defining system overrides as well as additional CSS styles.
32382
32526
  */
32383
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
32527
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
32384
32528
  } ;
32385
32529
  var ImageListItem$1 = ImageListItem;
32386
32530
 
@@ -32606,7 +32750,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32606
32750
  /**
32607
32751
  * The system prop that allows defining system overrides as well as additional CSS styles.
32608
32752
  */
32609
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
32753
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32610
32754
 
32611
32755
  /**
32612
32756
  * Title to be displayed.
@@ -32921,7 +33065,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32921
33065
  /**
32922
33066
  * The system prop that allows defining system overrides as well as additional CSS styles.
32923
33067
  */
32924
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
33068
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32925
33069
 
32926
33070
  /**
32927
33071
  * 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).
@@ -33116,7 +33260,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33116
33260
  /**
33117
33261
  * The system prop that allows defining system overrides as well as additional CSS styles.
33118
33262
  */
33119
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
33263
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33120
33264
 
33121
33265
  /**
33122
33266
  * The variant to use.
@@ -33329,7 +33473,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33329
33473
  /**
33330
33474
  * The system prop that allows defining system overrides as well as additional CSS styles.
33331
33475
  */
33332
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
33476
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33333
33477
 
33334
33478
  /**
33335
33479
  * The variant to use.
@@ -33678,7 +33822,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33678
33822
  /**
33679
33823
  * The system prop that allows defining system overrides as well as additional CSS styles.
33680
33824
  */
33681
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
33825
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33682
33826
 
33683
33827
  /**
33684
33828
  * The value of the progress indicator for the determinate and buffer variants.
@@ -33911,7 +34055,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33911
34055
  /**
33912
34056
  * The system prop that allows defining system overrides as well as additional CSS styles.
33913
34057
  */
33914
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
34058
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33915
34059
 
33916
34060
  /**
33917
34061
  * `classes` prop applied to the [`Typography`](/api/typography/) element.
@@ -34079,7 +34223,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34079
34223
  /**
34080
34224
  * The system prop that allows defining system overrides as well as additional CSS styles.
34081
34225
  */
34082
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
34226
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
34083
34227
  } ;
34084
34228
  var List$1 = List;
34085
34229
 
@@ -34322,7 +34466,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34322
34466
  /**
34323
34467
  * The system prop that allows defining system overrides as well as additional CSS styles.
34324
34468
  */
34325
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
34469
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
34326
34470
  } ;
34327
34471
  var ListItemButton$1 = ListItemButton;
34328
34472
 
@@ -34418,7 +34562,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34418
34562
  /**
34419
34563
  * The system prop that allows defining system overrides as well as additional CSS styles.
34420
34564
  */
34421
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
34565
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
34422
34566
  } ;
34423
34567
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
34424
34568
  var ListItemSecondaryAction$1 = ListItemSecondaryAction;
@@ -34819,7 +34963,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34819
34963
  /**
34820
34964
  * The system prop that allows defining system overrides as well as additional CSS styles.
34821
34965
  */
34822
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
34966
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
34823
34967
  } ;
34824
34968
  var ListItem$1 = ListItem;
34825
34969
 
@@ -34913,7 +35057,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34913
35057
  /**
34914
35058
  * The system prop that allows defining system overrides as well as additional CSS styles.
34915
35059
  */
34916
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
35060
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
34917
35061
  } ;
34918
35062
  var ListItemAvatar$1 = ListItemAvatar;
34919
35063
 
@@ -35011,7 +35155,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35011
35155
  /**
35012
35156
  * The system prop that allows defining system overrides as well as additional CSS styles.
35013
35157
  */
35014
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
35158
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35015
35159
  } ;
35016
35160
  var ListItemIcon$1 = ListItemIcon;
35017
35161
 
@@ -35193,7 +35337,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35193
35337
  /**
35194
35338
  * The system prop that allows defining system overrides as well as additional CSS styles.
35195
35339
  */
35196
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
35340
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35197
35341
  } ;
35198
35342
  var ListItemText$1 = ListItemText;
35199
35343
 
@@ -35947,7 +36091,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35947
36091
  /**
35948
36092
  * The system prop that allows defining system overrides as well as additional CSS styles.
35949
36093
  */
35950
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
36094
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
35951
36095
 
35952
36096
  /**
35953
36097
  * This is the point on the popover which
@@ -36250,7 +36394,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36250
36394
  /**
36251
36395
  * The system prop that allows defining system overrides as well as additional CSS styles.
36252
36396
  */
36253
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
36397
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
36254
36398
 
36255
36399
  /**
36256
36400
  * The length of the transition in `ms`, or 'auto'
@@ -36533,7 +36677,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36533
36677
  /**
36534
36678
  * The system prop that allows defining system overrides as well as additional CSS styles.
36535
36679
  */
36536
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
36680
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
36537
36681
 
36538
36682
  /**
36539
36683
  * @default 0
@@ -36746,7 +36890,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36746
36890
  /**
36747
36891
  * The system prop that allows defining system overrides as well as additional CSS styles.
36748
36892
  */
36749
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
36893
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
36750
36894
 
36751
36895
  /**
36752
36896
  * The variant to use.
@@ -37091,7 +37235,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37091
37235
  /**
37092
37236
  * The system prop that allows defining system overrides as well as additional CSS styles.
37093
37237
  */
37094
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
37238
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37095
37239
 
37096
37240
  /**
37097
37241
  * The `input` value. The DOM API casts this to a string.
@@ -37128,7 +37272,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37128
37272
  })(({
37129
37273
  ownerState,
37130
37274
  theme
37131
- }) => _extends({}, ownerState.label === undefined && {
37275
+ }) => _extends({
37276
+ float: 'unset'
37277
+ }, ownerState.label === undefined && {
37132
37278
  padding: 0,
37133
37279
  lineHeight: '11px',
37134
37280
  // sync with `height` in `legend` styles
@@ -37138,7 +37284,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37138
37284
  })
37139
37285
  }, ownerState.label !== undefined && _extends({
37140
37286
  display: 'block',
37287
+ // Fix conflict with normalize.css and sanitize.css
37141
37288
  width: 'auto',
37289
+ // Fix conflict with bootstrap
37142
37290
  padding: 0,
37143
37291
  height: 11,
37144
37292
  // sync with `lineHeight` in `legend` styles
@@ -37149,6 +37297,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37149
37297
  duration: 50,
37150
37298
  easing: theme.transitions.easing.easeOut
37151
37299
  }),
37300
+ whiteSpace: 'nowrap',
37152
37301
  '& > span': {
37153
37302
  paddingLeft: 5,
37154
37303
  paddingRight: 5,
@@ -37534,7 +37683,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37534
37683
  /**
37535
37684
  * The system prop that allows defining system overrides as well as additional CSS styles.
37536
37685
  */
37537
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
37686
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37538
37687
 
37539
37688
  /**
37540
37689
  * 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).
@@ -37686,7 +37835,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37686
37835
  d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
37687
37836
  }), 'NavigateNext');
37688
37837
 
37689
- const _excluded$K = ["className", "color", "component", "disabled", "page", "selected", "shape", "size", "type", "variant"];
37838
+ const _excluded$K = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
37690
37839
 
37691
37840
  const overridesResolver = (props, styles) => {
37692
37841
  const {
@@ -37885,6 +38034,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37885
38034
  className,
37886
38035
  color = 'standard',
37887
38036
  component,
38037
+ components = {
38038
+ first: FirstPageIcon,
38039
+ last: LastPageIcon,
38040
+ next: NavigateNextIcon,
38041
+ previous: NavigateBeforeIcon
38042
+ },
37888
38043
  disabled = false,
37889
38044
  page,
37890
38045
  selected = false,
@@ -37908,15 +38063,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37908
38063
  const theme = useTheme();
37909
38064
  const classes = useUtilityClasses$B(ownerState);
37910
38065
  const normalizedIcons = theme.direction === 'rtl' ? {
37911
- previous: NavigateNextIcon,
37912
- next: NavigateBeforeIcon,
37913
- last: FirstPageIcon,
37914
- first: LastPageIcon
38066
+ previous: components.next || NavigateNextIcon,
38067
+ next: components.previous || NavigateBeforeIcon,
38068
+ last: components.first || FirstPageIcon,
38069
+ first: components.last || LastPageIcon
37915
38070
  } : {
37916
- previous: NavigateBeforeIcon,
37917
- next: NavigateNextIcon,
37918
- first: FirstPageIcon,
37919
- last: LastPageIcon
38071
+ previous: components.previous || NavigateBeforeIcon,
38072
+ next: components.next || NavigateNextIcon,
38073
+ first: components.first || FirstPageIcon,
38074
+ last: components.last || LastPageIcon
37920
38075
  };
37921
38076
  const Icon = normalizedIcons[type];
37922
38077
  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/jsxRuntime_1(PaginationItemEllipsis, {
@@ -37975,6 +38130,22 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37975
38130
  */
37976
38131
  component: propTypes.elementType,
37977
38132
 
38133
+ /**
38134
+ * The components used for first, last, next & previous item type
38135
+ * @default {
38136
+ * first: FirstPageIcon,
38137
+ * last: LastPageIcon,
38138
+ * next: NavigateNextIcon,
38139
+ * previous: NavigateBeforeIcon,
38140
+ * }
38141
+ */
38142
+ components: propTypes.shape({
38143
+ first: propTypes.elementType,
38144
+ last: propTypes.elementType,
38145
+ next: propTypes.elementType,
38146
+ previous: propTypes.elementType
38147
+ }),
38148
+
37978
38149
  /**
37979
38150
  * If `true`, the component is disabled.
37980
38151
  * @default false
@@ -38009,7 +38180,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38009
38180
  /**
38010
38181
  * The system prop that allows defining system overrides as well as additional CSS styles.
38011
38182
  */
38012
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
38183
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38013
38184
 
38014
38185
  /**
38015
38186
  * The type of pagination item.
@@ -38275,7 +38446,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38275
38446
  /**
38276
38447
  * The system prop that allows defining system overrides as well as additional CSS styles.
38277
38448
  */
38278
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
38449
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38279
38450
 
38280
38451
  /**
38281
38452
  * The variant to use.
@@ -38377,8 +38548,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38377
38548
  /**
38378
38549
  * @ignore - internal component.
38379
38550
  */
38380
-
38381
- const RadioGroupContext = /*#__PURE__*/React__namespace.createContext();
38551
+ const RadioGroupContext = /*#__PURE__*/React__namespace.createContext(undefined);
38382
38552
 
38383
38553
  {
38384
38554
  RadioGroupContext.displayName = 'RadioGroupContext';
@@ -38606,7 +38776,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38606
38776
  /**
38607
38777
  * The system prop that allows defining system overrides as well as additional CSS styles.
38608
38778
  */
38609
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
38779
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38610
38780
 
38611
38781
  /**
38612
38782
  * The value of the component. The DOM API casts this to a string.
@@ -39423,7 +39593,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39423
39593
  /**
39424
39594
  * The system prop that allows defining system overrides as well as additional CSS styles.
39425
39595
  */
39426
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
39596
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39427
39597
 
39428
39598
  /**
39429
39599
  * The rating value.
@@ -39438,7 +39608,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39438
39608
  const scopedCssBaselineClasses = generateUtilityClasses('MuiScopedCssBaseline', ['root']);
39439
39609
  var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
39440
39610
 
39441
- const _excluded$F = ["className", "component"];
39611
+ const _excluded$F = ["className", "component", "enableColorScheme"];
39442
39612
 
39443
39613
  const useUtilityClasses$x = ownerState => {
39444
39614
  const {
@@ -39455,15 +39625,18 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39455
39625
  slot: 'Root',
39456
39626
  overridesResolver: (props, styles) => styles.root
39457
39627
  })(({
39458
- theme
39459
- }) => _extends({}, html, body(theme), {
39460
- '& *, & *::before, & *::after': {
39461
- boxSizing: 'inherit'
39462
- },
39463
- '& strong, & b': {
39464
- fontWeight: theme.typography.fontWeightBold
39465
- }
39466
- }));
39628
+ theme,
39629
+ ownerState
39630
+ }) => {
39631
+ return _extends({}, html(theme, ownerState.enableColorScheme), body(theme), {
39632
+ '& *, & *::before, & *::after': {
39633
+ boxSizing: 'inherit'
39634
+ },
39635
+ '& strong, & b': {
39636
+ fontWeight: theme.typography.fontWeightBold
39637
+ }
39638
+ });
39639
+ });
39467
39640
  const ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
39468
39641
  const props = useThemeProps({
39469
39642
  props: inProps,
@@ -39515,7 +39688,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39515
39688
  * The component used for the root node.
39516
39689
  * Either a string to use a HTML element or a component.
39517
39690
  */
39518
- component: propTypes.elementType
39691
+ component: propTypes.elementType,
39692
+
39693
+ /**
39694
+ * Enable `color-scheme` css property to use `theme.palette.mode`.
39695
+ * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
39696
+ * For browser support, check out https://caniuse.com/?search=color-scheme
39697
+ */
39698
+ enableColorScheme: propTypes.bool
39519
39699
  } ;
39520
39700
  var ScopedCssBaseline$1 = ScopedCssBaseline;
39521
39701
 
@@ -40429,7 +40609,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40429
40609
  /**
40430
40610
  * The system prop that allows defining system overrides as well as additional CSS styles.
40431
40611
  */
40432
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
40612
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
40433
40613
 
40434
40614
  /**
40435
40615
  * The `input` value. Providing an empty string will select no options.
@@ -40659,7 +40839,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40659
40839
  /**
40660
40840
  * The system prop that allows defining system overrides as well as additional CSS styles.
40661
40841
  */
40662
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
40842
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
40663
40843
 
40664
40844
  /**
40665
40845
  * The type of content that will be rendered.
@@ -41298,7 +41478,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41298
41478
  /**
41299
41479
  * The system prop that allows defining system overrides as well as additional CSS styles.
41300
41480
  */
41301
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
41481
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41302
41482
 
41303
41483
  /**
41304
41484
  * Tab index attribute of the hidden `input` element.
@@ -41480,7 +41660,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41480
41660
  /**
41481
41661
  * The system prop that allows defining system overrides as well as additional CSS styles.
41482
41662
  */
41483
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
41663
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
41484
41664
  } ;
41485
41665
  var SnackbarContent$1 = SnackbarContent;
41486
41666
 
@@ -41852,7 +42032,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41852
42032
  /**
41853
42033
  * The system prop that allows defining system overrides as well as additional CSS styles.
41854
42034
  */
41855
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
42035
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41856
42036
 
41857
42037
  /**
41858
42038
  * The component used for the transition.
@@ -42618,7 +42798,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42618
42798
  /**
42619
42799
  * The system prop that allows defining system overrides as well as additional CSS styles.
42620
42800
  */
42621
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
42801
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
42622
42802
 
42623
42803
  /**
42624
42804
  * The component used for the transition.
@@ -43243,7 +43423,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43243
43423
  id: id,
43244
43424
  transition: true
43245
43425
  }, interactiveWrapperListeners, popperProps, {
43246
- className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
43426
+ className: clsx(classes.popper, PopperProps == null ? void 0 : PopperProps.className, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
43247
43427
  popperOptions: popperOptions,
43248
43428
  children: ({
43249
43429
  TransitionProps: TransitionPropsInner
@@ -43308,6 +43488,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43308
43488
 
43309
43489
  /**
43310
43490
  * The props used for each slot inside the Tooltip.
43491
+ * Note that `componentsProps.popper` prop values win over `PopperProps`
43492
+ * and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
43311
43493
  * @default {}
43312
43494
  */
43313
43495
  componentsProps: propTypes.object,
@@ -43428,7 +43610,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43428
43610
  /**
43429
43611
  * The system prop that allows defining system overrides as well as additional CSS styles.
43430
43612
  */
43431
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
43613
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43432
43614
 
43433
43615
  /**
43434
43616
  * Tooltip title. Zero-length titles string are never displayed.
@@ -43687,7 +43869,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43687
43869
  /**
43688
43870
  * The system prop that allows defining system overrides as well as additional CSS styles.
43689
43871
  */
43690
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
43872
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43691
43873
 
43692
43874
  /**
43693
43875
  * `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
@@ -43857,7 +44039,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43857
44039
  /**
43858
44040
  * The system prop that allows defining system overrides as well as additional CSS styles.
43859
44041
  */
43860
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44042
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
43861
44043
  } ;
43862
44044
  SpeedDialIcon.muiName = 'SpeedDialIcon';
43863
44045
  var SpeedDialIcon$1 = SpeedDialIcon;
@@ -43896,7 +44078,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43896
44078
  display: 'flex'
43897
44079
  }, handleBreakpoints({
43898
44080
  theme
43899
- }, ownerState.direction, propValue => ({
44081
+ }, resolveBreakpointValues({
44082
+ values: ownerState.direction,
44083
+ breakpoints: theme.breakpoints.values
44084
+ }), propValue => ({
43900
44085
  flexDirection: propValue
43901
44086
  })));
43902
44087
 
@@ -44009,7 +44194,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44009
44194
  /**
44010
44195
  * The system prop, which allows defining system overrides as well as additional CSS styles.
44011
44196
  */
44012
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44197
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44013
44198
  } ;
44014
44199
  var Stack$1 = Stack;
44015
44200
 
@@ -44207,7 +44392,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44207
44392
  /**
44208
44393
  * The system prop that allows defining system overrides as well as additional CSS styles.
44209
44394
  */
44210
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44395
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44211
44396
  } ;
44212
44397
  var Step$1 = Step;
44213
44398
 
@@ -44386,7 +44571,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44386
44571
  /**
44387
44572
  * The system prop that allows defining system overrides as well as additional CSS styles.
44388
44573
  */
44389
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44574
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44390
44575
  } ;
44391
44576
  var StepIcon$1 = StepIcon;
44392
44577
 
@@ -44620,7 +44805,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44620
44805
  /**
44621
44806
  * The system prop that allows defining system overrides as well as additional CSS styles.
44622
44807
  */
44623
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44808
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44624
44809
  } ;
44625
44810
  StepLabel.muiName = 'StepLabel';
44626
44811
  var StepLabel$1 = StepLabel;
@@ -44754,7 +44939,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44754
44939
  /**
44755
44940
  * The system prop that allows defining system overrides as well as additional CSS styles.
44756
44941
  */
44757
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
44942
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44758
44943
  } ;
44759
44944
  var StepButton$1 = StepButton;
44760
44945
 
@@ -44889,7 +45074,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44889
45074
  /**
44890
45075
  * The system prop that allows defining system overrides as well as additional CSS styles.
44891
45076
  */
44892
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
45077
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
44893
45078
  } ;
44894
45079
  var StepConnector$1 = StepConnector;
44895
45080
 
@@ -45025,7 +45210,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45025
45210
  /**
45026
45211
  * The system prop that allows defining system overrides as well as additional CSS styles.
45027
45212
  */
45028
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
45213
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
45029
45214
 
45030
45215
  /**
45031
45216
  * The component used for the transition.
@@ -45205,7 +45390,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45205
45390
  /**
45206
45391
  * The system prop that allows defining system overrides as well as additional CSS styles.
45207
45392
  */
45208
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
45393
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45209
45394
  } ;
45210
45395
  var Stepper$1 = Stepper;
45211
45396
 
@@ -46216,7 +46401,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46216
46401
  /**
46217
46402
  * The system prop that allows defining system overrides as well as additional CSS styles.
46218
46403
  */
46219
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
46404
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46220
46405
 
46221
46406
  /**
46222
46407
  * The value of the component. The DOM API casts this to a string.
@@ -46491,7 +46676,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46491
46676
  /**
46492
46677
  * The system prop that allows defining system overrides as well as additional CSS styles.
46493
46678
  */
46494
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
46679
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46495
46680
 
46496
46681
  /**
46497
46682
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -46658,7 +46843,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46658
46843
  /**
46659
46844
  * The system prop that allows defining system overrides as well as additional CSS styles.
46660
46845
  */
46661
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
46846
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46662
46847
  } ;
46663
46848
  var Table$1 = Table;
46664
46849
 
@@ -46763,7 +46948,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46763
46948
  /**
46764
46949
  * The system prop that allows defining system overrides as well as additional CSS styles.
46765
46950
  */
46766
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
46951
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46767
46952
  } ;
46768
46953
  var TableBody$1 = TableBody;
46769
46954
 
@@ -46983,7 +47168,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46983
47168
  /**
46984
47169
  * The system prop that allows defining system overrides as well as additional CSS styles.
46985
47170
  */
46986
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
47171
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46987
47172
 
46988
47173
  /**
46989
47174
  * Specify the cell type.
@@ -47075,7 +47260,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47075
47260
  /**
47076
47261
  * The system prop that allows defining system overrides as well as additional CSS styles.
47077
47262
  */
47078
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
47263
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
47079
47264
  } ;
47080
47265
  var TableContainer$1 = TableContainer;
47081
47266
 
@@ -47168,7 +47353,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47168
47353
  /**
47169
47354
  * The system prop that allows defining system overrides as well as additional CSS styles.
47170
47355
  */
47171
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
47356
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
47172
47357
  } ;
47173
47358
  var TableFooter$1 = TableFooter;
47174
47359
 
@@ -47261,7 +47446,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47261
47446
  /**
47262
47447
  * The system prop that allows defining system overrides as well as additional CSS styles.
47263
47448
  */
47264
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
47449
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
47265
47450
  } ;
47266
47451
  var TableHead$1 = TableHead;
47267
47452
 
@@ -47381,7 +47566,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47381
47566
  /**
47382
47567
  * The system prop that allows defining system overrides as well as additional CSS styles.
47383
47568
  */
47384
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
47569
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47385
47570
 
47386
47571
  /**
47387
47572
  * The variant to use.
@@ -47931,7 +48116,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47931
48116
  /**
47932
48117
  * The system prop that allows defining system overrides as well as additional CSS styles.
47933
48118
  */
47934
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
48119
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
47935
48120
  } ;
47936
48121
  var TablePagination$1 = TablePagination;
47937
48122
 
@@ -48067,7 +48252,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48067
48252
  /**
48068
48253
  * The system prop that allows defining system overrides as well as additional CSS styles.
48069
48254
  */
48070
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
48255
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48071
48256
  } ;
48072
48257
  var TableRow$1 = TableRow;
48073
48258
 
@@ -48248,7 +48433,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48248
48433
  /**
48249
48434
  * The system prop that allows defining system overrides as well as additional CSS styles.
48250
48435
  */
48251
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
48436
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48252
48437
  } ;
48253
48438
  var TableSortLabel$1 = TableSortLabel;
48254
48439
 
@@ -48481,7 +48666,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48481
48666
  /**
48482
48667
  * The system prop that allows defining system overrides as well as additional CSS styles.
48483
48668
  */
48484
- sx: propTypes.oneOfType([propTypes.func, propTypes.object])
48669
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48485
48670
  } ;
48486
48671
  var TabScrollButton$1 = TabScrollButton;
48487
48672
 
@@ -49275,7 +49460,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49275
49460
  /**
49276
49461
  * The system prop that allows defining system overrides as well as additional CSS styles.
49277
49462
  */
49278
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
49463
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
49279
49464
 
49280
49465
  /**
49281
49466
  * Props applied to the tab indicator element.
@@ -49722,7 +49907,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49722
49907
  /**
49723
49908
  * The system prop that allows defining system overrides as well as additional CSS styles.
49724
49909
  */
49725
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
49910
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
49726
49911
 
49727
49912
  /**
49728
49913
  * 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).
@@ -49964,7 +50149,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49964
50149
  /**
49965
50150
  * The system prop that allows defining system overrides as well as additional CSS styles.
49966
50151
  */
49967
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
50152
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
49968
50153
 
49969
50154
  /**
49970
50155
  * The value to associate with the button when selected in a
@@ -50226,7 +50411,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50226
50411
  /**
50227
50412
  * The system prop that allows defining system overrides as well as additional CSS styles.
50228
50413
  */
50229
- sx: propTypes.oneOfType([propTypes.func, propTypes.object]),
50414
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
50230
50415
 
50231
50416
  /**
50232
50417
  * The currently selected value within the group or an array of selected