@mui/material 5.14.11 → 5.14.13

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 (476) hide show
  1. package/Alert/Alert.d.ts +1 -1
  2. package/Alert/Alert.js +1 -1
  3. package/AppBar/AppBar.d.ts +1 -1
  4. package/AppBar/AppBar.js +1 -1
  5. package/Badge/Badge.d.ts +1 -1
  6. package/Badge/Badge.js +1 -1
  7. package/BottomNavigation/BottomNavigation.js +0 -0
  8. package/Button/Button.d.ts +1 -1
  9. package/Button/Button.js +1 -1
  10. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  11. package/ButtonGroup/ButtonGroup.js +9 -9
  12. package/CHANGELOG.md +147 -0
  13. package/Checkbox/Checkbox.d.ts +1 -1
  14. package/Checkbox/Checkbox.js +2 -2
  15. package/Chip/Chip.d.ts +1 -1
  16. package/Chip/Chip.js +7 -1
  17. package/CircularProgress/CircularProgress.d.ts +1 -1
  18. package/CircularProgress/CircularProgress.js +1 -1
  19. package/DialogActions/DialogActions.js +1 -1
  20. package/Fab/Fab.d.ts +1 -1
  21. package/Fab/Fab.js +1 -1
  22. package/FilledInput/FilledInput.js +1 -1
  23. package/FormControl/FormControl.d.ts +1 -1
  24. package/FormControl/FormControl.js +1 -1
  25. package/FormLabel/FormLabel.d.ts +1 -1
  26. package/FormLabel/FormLabel.js +1 -1
  27. package/Icon/Icon.d.ts +1 -1
  28. package/Icon/Icon.js +1 -1
  29. package/IconButton/IconButton.d.ts +1 -1
  30. package/IconButton/IconButton.js +1 -1
  31. package/Input/Input.js +1 -1
  32. package/InputBase/InputBase.d.ts +1 -1
  33. package/InputBase/InputBase.js +1 -1
  34. package/InputLabel/InputLabel.js +1 -1
  35. package/LinearProgress/LinearProgress.d.ts +1 -1
  36. package/LinearProgress/LinearProgress.js +1 -1
  37. package/Menu/Menu.d.ts +2 -23
  38. package/OutlinedInput/OutlinedInput.js +1 -1
  39. package/Pagination/Pagination.d.ts +1 -1
  40. package/Pagination/Pagination.js +1 -1
  41. package/PaginationItem/PaginationItem.d.ts +1 -1
  42. package/PaginationItem/PaginationItem.js +3 -3
  43. package/Radio/Radio.d.ts +1 -1
  44. package/Radio/Radio.js +1 -1
  45. package/Select/SelectInput.js +8 -5
  46. package/Slider/Slider.d.ts +5 -2
  47. package/Slider/Slider.js +2 -2
  48. package/Slider/sliderClasses.d.ts +16 -0
  49. package/Slider/sliderClasses.js +1 -1
  50. package/SvgIcon/SvgIcon.d.ts +1 -1
  51. package/SvgIcon/SvgIcon.js +1 -1
  52. package/Switch/Switch.d.ts +1 -1
  53. package/Switch/Switch.js +1 -1
  54. package/TextField/TextField.d.ts +1 -1
  55. package/TextField/TextField.js +1 -1
  56. package/ToggleButton/ToggleButton.d.ts +1 -1
  57. package/ToggleButton/ToggleButton.js +1 -1
  58. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  59. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  60. package/index.js +1 -1
  61. package/legacy/Alert/Alert.js +1 -1
  62. package/legacy/AppBar/AppBar.js +1 -1
  63. package/legacy/Badge/Badge.js +1 -1
  64. package/legacy/BottomNavigation/BottomNavigation.js +0 -0
  65. package/legacy/Button/Button.js +1 -1
  66. package/legacy/ButtonGroup/ButtonGroup.js +9 -9
  67. package/legacy/Checkbox/Checkbox.js +2 -2
  68. package/legacy/Chip/Chip.js +7 -1
  69. package/legacy/CircularProgress/CircularProgress.js +1 -1
  70. package/legacy/DialogActions/DialogActions.js +1 -1
  71. package/legacy/Fab/Fab.js +1 -1
  72. package/legacy/FilledInput/FilledInput.js +1 -1
  73. package/legacy/FormControl/FormControl.js +1 -1
  74. package/legacy/FormLabel/FormLabel.js +1 -1
  75. package/legacy/Icon/Icon.js +1 -1
  76. package/legacy/IconButton/IconButton.js +1 -1
  77. package/legacy/Input/Input.js +1 -1
  78. package/legacy/InputBase/InputBase.js +1 -1
  79. package/legacy/InputLabel/InputLabel.js +1 -1
  80. package/legacy/LinearProgress/LinearProgress.js +1 -1
  81. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  82. package/legacy/Pagination/Pagination.js +1 -1
  83. package/legacy/PaginationItem/PaginationItem.js +3 -3
  84. package/legacy/Radio/Radio.js +1 -1
  85. package/legacy/Select/SelectInput.js +8 -5
  86. package/legacy/Slider/Slider.js +2 -2
  87. package/legacy/Slider/sliderClasses.js +1 -1
  88. package/legacy/SvgIcon/SvgIcon.js +1 -1
  89. package/legacy/Switch/Switch.js +1 -1
  90. package/legacy/TextField/TextField.js +1 -1
  91. package/legacy/ToggleButton/ToggleButton.js +1 -1
  92. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  93. package/legacy/index.js +1 -1
  94. package/modern/Alert/Alert.js +1 -1
  95. package/modern/AppBar/AppBar.js +1 -1
  96. package/modern/Badge/Badge.js +1 -1
  97. package/modern/BottomNavigation/BottomNavigation.js +0 -0
  98. package/modern/Button/Button.js +1 -1
  99. package/modern/ButtonGroup/ButtonGroup.js +9 -9
  100. package/modern/Checkbox/Checkbox.js +2 -2
  101. package/modern/Chip/Chip.js +7 -1
  102. package/modern/CircularProgress/CircularProgress.js +1 -1
  103. package/modern/DialogActions/DialogActions.js +1 -1
  104. package/modern/Fab/Fab.js +1 -1
  105. package/modern/FilledInput/FilledInput.js +1 -1
  106. package/modern/FormControl/FormControl.js +1 -1
  107. package/modern/FormLabel/FormLabel.js +1 -1
  108. package/modern/Icon/Icon.js +1 -1
  109. package/modern/IconButton/IconButton.js +1 -1
  110. package/modern/Input/Input.js +1 -1
  111. package/modern/InputBase/InputBase.js +1 -1
  112. package/modern/InputLabel/InputLabel.js +1 -1
  113. package/modern/LinearProgress/LinearProgress.js +1 -1
  114. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  115. package/modern/Pagination/Pagination.js +1 -1
  116. package/modern/PaginationItem/PaginationItem.js +3 -3
  117. package/modern/Radio/Radio.js +1 -1
  118. package/modern/Select/SelectInput.js +8 -5
  119. package/modern/Slider/Slider.js +2 -2
  120. package/modern/Slider/sliderClasses.js +1 -1
  121. package/modern/SvgIcon/SvgIcon.js +1 -1
  122. package/modern/Switch/Switch.js +1 -1
  123. package/modern/TextField/TextField.js +1 -1
  124. package/modern/ToggleButton/ToggleButton.js +1 -1
  125. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  126. package/modern/index.js +1 -1
  127. package/node/Accordion/Accordion.js +1 -2
  128. package/node/Accordion/AccordionContext.js +1 -2
  129. package/node/Accordion/accordionClasses.js +1 -2
  130. package/node/AccordionActions/AccordionActions.js +1 -2
  131. package/node/AccordionActions/accordionActionsClasses.js +1 -2
  132. package/node/AccordionDetails/AccordionDetails.js +1 -2
  133. package/node/AccordionDetails/accordionDetailsClasses.js +1 -2
  134. package/node/AccordionSummary/AccordionSummary.js +1 -2
  135. package/node/AccordionSummary/accordionSummaryClasses.js +1 -2
  136. package/node/Alert/Alert.js +2 -3
  137. package/node/Alert/alertClasses.js +1 -2
  138. package/node/AlertTitle/AlertTitle.js +1 -2
  139. package/node/AlertTitle/alertTitleClasses.js +1 -2
  140. package/node/AppBar/AppBar.js +2 -3
  141. package/node/AppBar/appBarClasses.js +1 -2
  142. package/node/Autocomplete/Autocomplete.js +1 -2
  143. package/node/Autocomplete/autocompleteClasses.js +1 -2
  144. package/node/Avatar/Avatar.js +1 -2
  145. package/node/Avatar/avatarClasses.js +1 -2
  146. package/node/AvatarGroup/AvatarGroup.js +1 -2
  147. package/node/AvatarGroup/avatarGroupClasses.js +1 -2
  148. package/node/Backdrop/Backdrop.js +1 -2
  149. package/node/Backdrop/backdropClasses.js +1 -2
  150. package/node/Badge/Badge.js +2 -3
  151. package/node/Badge/badgeClasses.js +1 -2
  152. package/node/BottomNavigation/BottomNavigation.js +1 -2
  153. package/node/BottomNavigation/bottomNavigationClasses.js +1 -2
  154. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -2
  155. package/node/BottomNavigationAction/bottomNavigationActionClasses.js +1 -2
  156. package/node/Box/Box.js +1 -2
  157. package/node/Breadcrumbs/BreadcrumbCollapsed.js +1 -2
  158. package/node/Breadcrumbs/Breadcrumbs.js +1 -2
  159. package/node/Breadcrumbs/breadcrumbsClasses.js +1 -2
  160. package/node/Button/Button.js +2 -3
  161. package/node/Button/buttonClasses.js +1 -2
  162. package/node/ButtonBase/ButtonBase.js +2 -4
  163. package/node/ButtonBase/Ripple.js +1 -2
  164. package/node/ButtonBase/TouchRipple.js +4 -8
  165. package/node/ButtonBase/buttonBaseClasses.js +1 -2
  166. package/node/ButtonBase/touchRippleClasses.js +1 -2
  167. package/node/ButtonGroup/ButtonGroup.js +10 -11
  168. package/node/ButtonGroup/ButtonGroupButtonContext.js +1 -2
  169. package/node/ButtonGroup/ButtonGroupContext.js +1 -2
  170. package/node/ButtonGroup/buttonGroupClasses.js +1 -2
  171. package/node/Card/Card.js +1 -2
  172. package/node/Card/cardClasses.js +1 -2
  173. package/node/CardActionArea/CardActionArea.js +1 -2
  174. package/node/CardActionArea/cardActionAreaClasses.js +1 -2
  175. package/node/CardActions/CardActions.js +1 -2
  176. package/node/CardActions/cardActionsClasses.js +1 -2
  177. package/node/CardContent/CardContent.js +1 -2
  178. package/node/CardContent/cardContentClasses.js +1 -2
  179. package/node/CardHeader/CardHeader.js +1 -2
  180. package/node/CardHeader/cardHeaderClasses.js +1 -2
  181. package/node/CardMedia/CardMedia.js +1 -2
  182. package/node/CardMedia/cardMediaClasses.js +1 -2
  183. package/node/Checkbox/Checkbox.js +3 -4
  184. package/node/Checkbox/checkboxClasses.js +1 -2
  185. package/node/Chip/Chip.js +8 -3
  186. package/node/Chip/chipClasses.js +1 -2
  187. package/node/CircularProgress/CircularProgress.js +2 -3
  188. package/node/CircularProgress/circularProgressClasses.js +1 -2
  189. package/node/Collapse/Collapse.js +1 -2
  190. package/node/Collapse/collapseClasses.js +1 -2
  191. package/node/Container/Container.js +1 -2
  192. package/node/Container/containerClasses.js +1 -2
  193. package/node/CssBaseline/CssBaseline.js +1 -2
  194. package/node/Dialog/Dialog.js +1 -2
  195. package/node/Dialog/DialogContext.js +1 -2
  196. package/node/Dialog/dialogClasses.js +1 -2
  197. package/node/DialogActions/DialogActions.js +2 -3
  198. package/node/DialogActions/dialogActionsClasses.js +1 -2
  199. package/node/DialogContent/DialogContent.js +1 -2
  200. package/node/DialogContent/dialogContentClasses.js +1 -2
  201. package/node/DialogContentText/DialogContentText.js +1 -2
  202. package/node/DialogContentText/dialogContentTextClasses.js +1 -2
  203. package/node/DialogTitle/DialogTitle.js +1 -2
  204. package/node/DialogTitle/dialogTitleClasses.js +1 -2
  205. package/node/Divider/Divider.js +1 -2
  206. package/node/Divider/dividerClasses.js +1 -2
  207. package/node/Drawer/Drawer.js +1 -2
  208. package/node/Drawer/drawerClasses.js +1 -2
  209. package/node/Fab/Fab.js +2 -3
  210. package/node/Fab/fabClasses.js +1 -2
  211. package/node/Fade/Fade.js +1 -2
  212. package/node/FilledInput/FilledInput.js +2 -3
  213. package/node/FilledInput/filledInputClasses.js +1 -2
  214. package/node/FormControl/FormControl.js +2 -3
  215. package/node/FormControl/FormControlContext.js +1 -2
  216. package/node/FormControl/formControlClasses.js +1 -2
  217. package/node/FormControlLabel/FormControlLabel.js +2 -4
  218. package/node/FormControlLabel/formControlLabelClasses.js +1 -2
  219. package/node/FormGroup/FormGroup.js +1 -2
  220. package/node/FormGroup/formGroupClasses.js +1 -2
  221. package/node/FormHelperText/FormHelperText.js +1 -2
  222. package/node/FormHelperText/formHelperTextClasses.js +1 -2
  223. package/node/FormLabel/FormLabel.js +3 -5
  224. package/node/FormLabel/formLabelClasses.js +1 -2
  225. package/node/GlobalStyles/GlobalStyles.js +1 -2
  226. package/node/Grid/Grid.js +1 -2
  227. package/node/Grid/GridContext.js +1 -2
  228. package/node/Grid/gridClasses.js +1 -2
  229. package/node/Grow/Grow.js +1 -2
  230. package/node/Hidden/Hidden.js +1 -2
  231. package/node/Hidden/HiddenCss.js +1 -2
  232. package/node/Hidden/HiddenJs.js +1 -2
  233. package/node/Hidden/hiddenCssClasses.js +1 -2
  234. package/node/Hidden/withWidth.js +1 -2
  235. package/node/Icon/Icon.js +2 -3
  236. package/node/Icon/iconClasses.js +1 -2
  237. package/node/IconButton/IconButton.js +2 -3
  238. package/node/IconButton/iconButtonClasses.js +1 -2
  239. package/node/ImageList/ImageList.js +1 -2
  240. package/node/ImageList/ImageListContext.js +1 -2
  241. package/node/ImageList/imageListClasses.js +1 -2
  242. package/node/ImageListItem/ImageListItem.js +1 -2
  243. package/node/ImageListItem/imageListItemClasses.js +1 -2
  244. package/node/ImageListItemBar/ImageListItemBar.js +1 -2
  245. package/node/ImageListItemBar/imageListItemBarClasses.js +1 -2
  246. package/node/Input/Input.js +2 -3
  247. package/node/Input/inputClasses.js +1 -2
  248. package/node/InputAdornment/InputAdornment.js +1 -2
  249. package/node/InputAdornment/inputAdornmentClasses.js +1 -2
  250. package/node/InputBase/InputBase.js +4 -7
  251. package/node/InputBase/inputBaseClasses.js +1 -2
  252. package/node/InputLabel/InputLabel.js +2 -3
  253. package/node/InputLabel/inputLabelClasses.js +1 -2
  254. package/node/LinearProgress/LinearProgress.js +2 -3
  255. package/node/LinearProgress/linearProgressClasses.js +1 -2
  256. package/node/Link/Link.js +1 -2
  257. package/node/Link/getTextDecoration.js +2 -4
  258. package/node/Link/linkClasses.js +1 -2
  259. package/node/List/List.js +1 -2
  260. package/node/List/ListContext.js +1 -2
  261. package/node/List/listClasses.js +1 -2
  262. package/node/ListItem/ListItem.js +2 -4
  263. package/node/ListItem/listItemClasses.js +1 -2
  264. package/node/ListItemAvatar/ListItemAvatar.js +1 -2
  265. package/node/ListItemAvatar/listItemAvatarClasses.js +1 -2
  266. package/node/ListItemButton/ListItemButton.js +1 -2
  267. package/node/ListItemButton/listItemButtonClasses.js +1 -2
  268. package/node/ListItemIcon/ListItemIcon.js +1 -2
  269. package/node/ListItemIcon/listItemIconClasses.js +1 -2
  270. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -2
  271. package/node/ListItemSecondaryAction/listItemSecondaryActionClasses.js +1 -2
  272. package/node/ListItemText/ListItemText.js +1 -2
  273. package/node/ListItemText/listItemTextClasses.js +1 -2
  274. package/node/ListSubheader/ListSubheader.js +1 -2
  275. package/node/ListSubheader/listSubheaderClasses.js +1 -2
  276. package/node/Menu/Menu.js +2 -4
  277. package/node/Menu/menuClasses.js +1 -2
  278. package/node/MenuItem/MenuItem.js +1 -2
  279. package/node/MenuItem/menuItemClasses.js +1 -2
  280. package/node/MenuList/MenuList.js +1 -2
  281. package/node/MobileStepper/MobileStepper.js +1 -2
  282. package/node/MobileStepper/mobileStepperClasses.js +1 -2
  283. package/node/Modal/Modal.js +1 -2
  284. package/node/Modal/modalClasses.js +1 -2
  285. package/node/NativeSelect/NativeSelect.js +1 -2
  286. package/node/NativeSelect/NativeSelectInput.js +1 -2
  287. package/node/NativeSelect/nativeSelectClasses.js +1 -2
  288. package/node/OutlinedInput/OutlinedInput.js +2 -3
  289. package/node/OutlinedInput/outlinedInputClasses.js +1 -2
  290. package/node/Pagination/Pagination.js +2 -3
  291. package/node/Pagination/paginationClasses.js +1 -2
  292. package/node/PaginationItem/PaginationItem.js +4 -5
  293. package/node/PaginationItem/paginationItemClasses.js +1 -2
  294. package/node/Paper/Paper.js +1 -2
  295. package/node/Paper/paperClasses.js +1 -2
  296. package/node/Popover/Popover.js +3 -6
  297. package/node/Popover/popoverClasses.js +1 -2
  298. package/node/Popper/Popper.js +1 -2
  299. package/node/Radio/Radio.js +2 -3
  300. package/node/Radio/RadioButtonIcon.js +1 -2
  301. package/node/Radio/radioClasses.js +1 -2
  302. package/node/RadioGroup/RadioGroup.js +1 -2
  303. package/node/RadioGroup/RadioGroupContext.js +1 -2
  304. package/node/Rating/Rating.js +1 -2
  305. package/node/Rating/ratingClasses.js +1 -2
  306. package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -2
  307. package/node/ScopedCssBaseline/scopedCssBaselineClasses.js +1 -2
  308. package/node/Select/Select.js +1 -2
  309. package/node/Select/SelectInput.js +8 -6
  310. package/node/Select/selectClasses.js +1 -2
  311. package/node/Skeleton/Skeleton.js +1 -2
  312. package/node/Skeleton/skeletonClasses.js +1 -2
  313. package/node/Slide/Slide.js +1 -2
  314. package/node/Slider/Slider.js +10 -18
  315. package/node/Slider/sliderClasses.js +2 -3
  316. package/node/Snackbar/Snackbar.js +1 -2
  317. package/node/Snackbar/snackbarClasses.js +1 -2
  318. package/node/SnackbarContent/SnackbarContent.js +1 -2
  319. package/node/SnackbarContent/snackbarContentClasses.js +1 -2
  320. package/node/SpeedDial/SpeedDial.js +1 -2
  321. package/node/SpeedDial/speedDialClasses.js +1 -2
  322. package/node/SpeedDialAction/SpeedDialAction.js +1 -2
  323. package/node/SpeedDialAction/speedDialActionClasses.js +1 -2
  324. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -2
  325. package/node/SpeedDialIcon/speedDialIconClasses.js +1 -2
  326. package/node/Stack/Stack.js +1 -2
  327. package/node/Stack/stackClasses.js +1 -2
  328. package/node/Step/Step.js +1 -2
  329. package/node/Step/StepContext.js +1 -2
  330. package/node/Step/stepClasses.js +1 -2
  331. package/node/StepButton/StepButton.js +1 -2
  332. package/node/StepButton/stepButtonClasses.js +1 -2
  333. package/node/StepConnector/StepConnector.js +1 -2
  334. package/node/StepConnector/stepConnectorClasses.js +1 -2
  335. package/node/StepContent/StepContent.js +1 -2
  336. package/node/StepContent/stepContentClasses.js +1 -2
  337. package/node/StepIcon/StepIcon.js +1 -2
  338. package/node/StepIcon/stepIconClasses.js +1 -2
  339. package/node/StepLabel/StepLabel.js +1 -2
  340. package/node/StepLabel/stepLabelClasses.js +1 -2
  341. package/node/Stepper/Stepper.js +1 -2
  342. package/node/Stepper/StepperContext.js +1 -2
  343. package/node/Stepper/stepperClasses.js +1 -2
  344. package/node/SvgIcon/SvgIcon.js +2 -3
  345. package/node/SvgIcon/svgIconClasses.js +1 -2
  346. package/node/SwipeableDrawer/SwipeArea.js +1 -2
  347. package/node/SwipeableDrawer/SwipeableDrawer.js +1 -2
  348. package/node/Switch/Switch.js +2 -3
  349. package/node/Switch/switchClasses.js +1 -2
  350. package/node/Tab/Tab.js +1 -2
  351. package/node/Tab/tabClasses.js +1 -2
  352. package/node/TabScrollButton/TabScrollButton.js +1 -2
  353. package/node/TabScrollButton/tabScrollButtonClasses.js +1 -2
  354. package/node/Table/Table.js +1 -2
  355. package/node/Table/TableContext.js +1 -2
  356. package/node/Table/Tablelvl2Context.js +1 -2
  357. package/node/Table/tableClasses.js +1 -2
  358. package/node/TableBody/TableBody.js +1 -2
  359. package/node/TableBody/tableBodyClasses.js +1 -2
  360. package/node/TableCell/TableCell.js +1 -2
  361. package/node/TableCell/tableCellClasses.js +1 -2
  362. package/node/TableContainer/TableContainer.js +1 -2
  363. package/node/TableContainer/tableContainerClasses.js +1 -2
  364. package/node/TableFooter/TableFooter.js +1 -2
  365. package/node/TableFooter/tableFooterClasses.js +1 -2
  366. package/node/TableHead/TableHead.js +1 -2
  367. package/node/TableHead/tableHeadClasses.js +1 -2
  368. package/node/TablePagination/TablePagination.js +1 -2
  369. package/node/TablePagination/TablePaginationActions.js +1 -2
  370. package/node/TablePagination/tablePaginationClasses.js +1 -2
  371. package/node/TableRow/TableRow.js +1 -2
  372. package/node/TableRow/tableRowClasses.js +1 -2
  373. package/node/TableSortLabel/TableSortLabel.js +1 -2
  374. package/node/TableSortLabel/tableSortLabelClasses.js +1 -2
  375. package/node/Tabs/Tabs.js +1 -2
  376. package/node/Tabs/tabsClasses.js +1 -2
  377. package/node/TextField/TextField.js +2 -3
  378. package/node/TextField/textFieldClasses.js +1 -2
  379. package/node/ToggleButton/ToggleButton.js +2 -3
  380. package/node/ToggleButton/toggleButtonClasses.js +1 -2
  381. package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -3
  382. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -2
  383. package/node/Toolbar/Toolbar.js +1 -2
  384. package/node/Toolbar/toolbarClasses.js +1 -2
  385. package/node/Tooltip/Tooltip.js +1 -2
  386. package/node/Tooltip/tooltipClasses.js +1 -2
  387. package/node/Typography/Typography.js +2 -4
  388. package/node/Typography/typographyClasses.js +1 -2
  389. package/node/Unstable_Grid2/Grid2.js +1 -2
  390. package/node/Unstable_Grid2/grid2Classes.js +1 -2
  391. package/node/Zoom/Zoom.js +1 -2
  392. package/node/colors/amber.js +1 -2
  393. package/node/colors/blue.js +1 -2
  394. package/node/colors/blueGrey.js +1 -2
  395. package/node/colors/brown.js +1 -2
  396. package/node/colors/common.js +1 -2
  397. package/node/colors/cyan.js +1 -2
  398. package/node/colors/deepOrange.js +1 -2
  399. package/node/colors/deepPurple.js +1 -2
  400. package/node/colors/green.js +1 -2
  401. package/node/colors/grey.js +1 -2
  402. package/node/colors/indigo.js +1 -2
  403. package/node/colors/lightBlue.js +1 -2
  404. package/node/colors/lightGreen.js +1 -2
  405. package/node/colors/lime.js +1 -2
  406. package/node/colors/orange.js +1 -2
  407. package/node/colors/pink.js +1 -2
  408. package/node/colors/purple.js +1 -2
  409. package/node/colors/red.js +1 -2
  410. package/node/colors/teal.js +1 -2
  411. package/node/colors/yellow.js +1 -2
  412. package/node/index.js +1 -1
  413. package/node/internal/SwitchBase.js +1 -2
  414. package/node/internal/svg-icons/Add.js +2 -3
  415. package/node/internal/svg-icons/ArrowDownward.js +2 -3
  416. package/node/internal/svg-icons/ArrowDropDown.js +2 -3
  417. package/node/internal/svg-icons/Cancel.js +2 -3
  418. package/node/internal/svg-icons/CheckBox.js +2 -3
  419. package/node/internal/svg-icons/CheckBoxOutlineBlank.js +2 -3
  420. package/node/internal/svg-icons/CheckCircle.js +2 -3
  421. package/node/internal/svg-icons/Close.js +2 -3
  422. package/node/internal/svg-icons/ErrorOutline.js +2 -3
  423. package/node/internal/svg-icons/FirstPage.js +2 -3
  424. package/node/internal/svg-icons/IndeterminateCheckBox.js +2 -3
  425. package/node/internal/svg-icons/InfoOutlined.js +2 -3
  426. package/node/internal/svg-icons/KeyboardArrowLeft.js +2 -3
  427. package/node/internal/svg-icons/KeyboardArrowRight.js +2 -3
  428. package/node/internal/svg-icons/LastPage.js +2 -3
  429. package/node/internal/svg-icons/MoreHoriz.js +2 -3
  430. package/node/internal/svg-icons/NavigateBefore.js +2 -3
  431. package/node/internal/svg-icons/NavigateNext.js +2 -3
  432. package/node/internal/svg-icons/Person.js +2 -3
  433. package/node/internal/svg-icons/RadioButtonChecked.js +2 -3
  434. package/node/internal/svg-icons/RadioButtonUnchecked.js +2 -3
  435. package/node/internal/svg-icons/ReportProblemOutlined.js +2 -3
  436. package/node/internal/svg-icons/Star.js +2 -3
  437. package/node/internal/svg-icons/StarBorder.js +2 -3
  438. package/node/internal/svg-icons/SuccessOutlined.js +2 -3
  439. package/node/internal/svg-icons/Warning.js +2 -3
  440. package/node/internal/switchBaseClasses.js +1 -2
  441. package/node/locale/index.js +62 -115
  442. package/node/styles/createPalette.js +2 -4
  443. package/node/styles/createTheme.js +1 -2
  444. package/node/styles/createTransitions.js +2 -4
  445. package/node/styles/defaultTheme.js +1 -2
  446. package/node/styles/excludeVariablesFromRoot.js +1 -2
  447. package/node/styles/getOverlayAlpha.js +1 -2
  448. package/node/styles/identifier.js +1 -2
  449. package/node/styles/shadows.js +1 -2
  450. package/node/styles/styled.js +2 -4
  451. package/node/styles/zIndex.js +1 -2
  452. package/node/useTouchRipple/useTouchRipple.js +1 -2
  453. package/node/utils/capitalize.js +1 -2
  454. package/node/utils/createChainedFunction.js +1 -2
  455. package/node/utils/debounce.js +1 -2
  456. package/node/utils/deprecatedPropType.js +1 -2
  457. package/node/utils/getScrollbarSize.js +1 -2
  458. package/node/utils/index.js +2 -3
  459. package/node/utils/isMuiElement.js +1 -2
  460. package/node/utils/ownerDocument.js +1 -2
  461. package/node/utils/ownerWindow.js +1 -2
  462. package/node/utils/requirePropFactory.js +1 -2
  463. package/node/utils/setRef.js +1 -2
  464. package/node/utils/shouldSpreadAdditionalProps.js +1 -2
  465. package/node/utils/unsupportedProp.js +1 -2
  466. package/node/utils/useControlled.js +1 -2
  467. package/node/utils/useEnhancedEffect.js +1 -2
  468. package/node/utils/useEventCallback.js +1 -2
  469. package/node/utils/useForkRef.js +1 -2
  470. package/node/utils/useId.js +1 -2
  471. package/node/utils/useIsFocusVisible.js +1 -2
  472. package/package.json +8 -8
  473. package/styles/components.d.ts +1 -0
  474. package/styles/overrides.d.ts +2 -0
  475. package/umd/material-ui.development.js +188 -96
  476. package/umd/material-ui.production.min.js +21 -21
@@ -202,7 +202,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
202
202
  /**
203
203
  * The color of the component.
204
204
  * It supports both default and custom theme colors, which can be added as shown in the
205
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
205
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
206
206
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
207
207
  */
208
208
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -29,7 +29,7 @@ export interface PaginationProps
29
29
  /**
30
30
  * The active color.
31
31
  * It supports both default and custom theme colors, which can be added as shown in the
32
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
32
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
33
33
  * @default 'standard'
34
34
  */
35
35
  color?: OverridableStringUnion<
@@ -145,7 +145,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
145
145
  /**
146
146
  * The active color.
147
147
  * It supports both default and custom theme colors, which can be added as shown in the
148
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
148
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
149
149
  * @default 'standard'
150
150
  */
151
151
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
@@ -20,7 +20,7 @@ export interface PaginationItemOwnProps {
20
20
  /**
21
21
  * The active color.
22
22
  * It supports both default and custom theme colors, which can be added as shown in the
23
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
23
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
24
24
  * @default 'standard'
25
25
  */
26
26
  color?: OverridableStringUnion<
@@ -116,14 +116,14 @@ const PaginationItemPage = styled(ButtonBase, {
116
116
  [`&.${paginationItemClasses.selected}`]: {
117
117
  backgroundColor: (theme.vars || theme).palette.action.selected,
118
118
  '&:hover': {
119
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
119
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
120
120
  // Reset on touch devices, it doesn't add specificity
121
121
  '@media (hover: none)': {
122
122
  backgroundColor: (theme.vars || theme).palette.action.selected
123
123
  }
124
124
  },
125
125
  [`&.${paginationItemClasses.focusVisible}`]: {
126
- backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
126
+ backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
127
127
  },
128
128
  [`&.${paginationItemClasses.disabled}`]: {
129
129
  opacity: 1,
@@ -287,7 +287,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
287
287
  /**
288
288
  * The active color.
289
289
  * It supports both default and custom theme colors, which can be added as shown in the
290
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
290
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
291
291
  * @default 'standard'
292
292
  */
293
293
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
package/Radio/Radio.d.ts CHANGED
@@ -23,7 +23,7 @@ export interface RadioProps
23
23
  /**
24
24
  * The color of the component.
25
25
  * It supports both default and custom theme colors, which can be added as shown in the
26
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
26
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
27
27
  * @default 'primary'
28
28
  */
29
29
  color?: OverridableStringUnion<
package/Radio/Radio.js CHANGED
@@ -149,7 +149,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
149
149
  /**
150
150
  * The color of the component.
151
151
  * It supports both default and custom theme colors, which can be added as shown in the
152
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
152
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
153
153
  * @default 'primary'
154
154
  */
155
155
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -10,7 +10,7 @@ import { isFragment } from 'react-is';
10
10
  import PropTypes from 'prop-types';
11
11
  import clsx from 'clsx';
12
12
  import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
13
- import { refType } from '@mui/utils';
13
+ import { refType, unstable_useId as useId } from '@mui/utils';
14
14
  import ownerDocument from '../utils/ownerDocument';
15
15
  import capitalize from '../utils/capitalize';
16
16
  import Menu from '../Menu/Menu';
@@ -434,11 +434,13 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
434
434
  });
435
435
  const classes = useUtilityClasses(ownerState);
436
436
  const paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
437
+ const listboxId = useId();
437
438
  return /*#__PURE__*/_jsxs(React.Fragment, {
438
439
  children: [/*#__PURE__*/_jsx(SelectSelect, _extends({
439
440
  ref: handleDisplayRef,
440
441
  tabIndex: tabIndex,
441
- role: "button",
442
+ role: "combobox",
443
+ "aria-controls": listboxId,
442
444
  "aria-disabled": disabled ? 'true' : undefined,
443
445
  "aria-expanded": open ? 'true' : 'false',
444
446
  "aria-haspopup": "listbox",
@@ -494,15 +496,16 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
494
496
  'aria-labelledby': labelId,
495
497
  role: 'listbox',
496
498
  'aria-multiselectable': multiple ? 'true' : undefined,
497
- disableListWrap: true
499
+ disableListWrap: true,
500
+ id: listboxId
498
501
  }, MenuProps.MenuListProps),
499
- slotProps: {
502
+ slotProps: _extends({}, MenuProps.slotProps, {
500
503
  paper: _extends({}, paperProps, {
501
504
  style: _extends({
502
505
  minWidth: menuMinWidth
503
506
  }, paperProps != null ? paperProps.style : null)
504
507
  })
505
- },
508
+ }),
506
509
  children: items
507
510
  }))]
508
511
  });
@@ -36,10 +36,13 @@ export interface SliderOwnProps {
36
36
  /**
37
37
  * The color of the component.
38
38
  * It supports both default and custom theme colors, which can be added as shown in the
39
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
39
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
40
40
  * @default 'primary'
41
41
  */
42
- color?: OverridableStringUnion<'primary' | 'secondary', SliderPropsColorOverrides>;
42
+ color?: OverridableStringUnion<
43
+ 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning',
44
+ SliderPropsColorOverrides
45
+ >;
43
46
  /**
44
47
  * The components used for each slot inside.
45
48
  *
package/Slider/Slider.js CHANGED
@@ -623,10 +623,10 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
623
623
  /**
624
624
  * The color of the component.
625
625
  * It supports both default and custom theme colors, which can be added as shown in the
626
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
626
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
627
627
  * @default 'primary'
628
628
  */
629
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
629
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
630
630
  /**
631
631
  * The components used for each slot inside.
632
632
  *
@@ -5,6 +5,14 @@ export interface SliderClasses {
5
5
  colorPrimary: string;
6
6
  /** Styles applied to the root element if `color="secondary"`. */
7
7
  colorSecondary: string;
8
+ /** Styles applied to the root element if `color="error"`. */
9
+ colorError: string;
10
+ /** Styles applied to the root element if `color="info"`. */
11
+ colorInfo: string;
12
+ /** Styles applied to the root element if `color="success"`. */
13
+ colorSuccess: string;
14
+ /** Styles applied to the root element if `color="warning"`. */
15
+ colorWarning: string;
8
16
  /** Styles applied to the root element if `marks` is provided with at least one label. */
9
17
  marked: string;
10
18
  /** Styles applied to the root element if `orientation="vertical"`. */
@@ -41,6 +49,14 @@ export interface SliderClasses {
41
49
  thumbColorPrimary: string;
42
50
  /** Styles applied to the thumb element if `color="secondary"`. */
43
51
  thumbColorSecondary: string;
52
+ /** Styles applied to the thumb element if `color="error"`. */
53
+ thumbColorError: string;
54
+ /** Styles applied to the thumb element if `color="info"`. */
55
+ thumbColorInfo: string;
56
+ /** Styles applied to the thumb element if `color="success"`. */
57
+ thumbColorSuccess: string;
58
+ /** Styles applied to the thumb element if `color="warning"`. */
59
+ thumbColorWarning: string;
44
60
  /** Styles applied to the thumb element if `size="small"`. */
45
61
  thumbSizeSmall: string;
46
62
  /** Styles applied to the thumb label element. */
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getSliderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiSlider', slot);
5
5
  }
6
- const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
6
+ const sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
7
7
  export default sliderClasses;
@@ -21,7 +21,7 @@ export interface SvgIconOwnProps {
21
21
  /**
22
22
  * The color of the component.
23
23
  * It supports both default and custom theme colors, which can be added as shown in the
24
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
24
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
25
25
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
26
26
  * @default 'inherit'
27
27
  */
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */
131
131
  /**
132
132
  * The color of the component.
133
133
  * It supports both default and custom theme colors, which can be added as shown in the
134
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
134
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
135
135
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
136
136
  * @default 'inherit'
137
137
  */
@@ -22,7 +22,7 @@ export interface SwitchProps
22
22
  /**
23
23
  * The color of the component.
24
24
  * It supports both default and custom theme colors, which can be added as shown in the
25
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
26
26
  * @default 'primary'
27
27
  */
28
28
  color?: OverridableStringUnion<
package/Switch/Switch.js CHANGED
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
246
246
  /**
247
247
  * The color of the component.
248
248
  * It supports both default and custom theme colors, which can be added as shown in the
249
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
249
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
250
250
  * @default 'primary'
251
251
  */
252
252
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -44,7 +44,7 @@ export interface BaseTextFieldProps
44
44
  /**
45
45
  * The color of the component.
46
46
  * It supports both default and custom theme colors, which can be added as shown in the
47
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
47
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
48
48
  * @default 'primary'
49
49
  */
50
50
  color?: OverridableStringUnion<
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
230
230
  /**
231
231
  * The color of the component.
232
232
  * It supports both default and custom theme colors, which can be added as shown in the
233
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
233
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
234
234
  * @default 'primary'
235
235
  */
236
236
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22,7 +22,7 @@ export interface ToggleButtonOwnProps {
22
22
  /**
23
23
  * The color of the button when it is in an active state.
24
24
  * It supports both default and custom theme colors, which can be added as shown in the
25
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
26
26
  * @default 'standard'
27
27
  */
28
28
  color?: OverridableStringUnion<
@@ -159,7 +159,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes /* remove-proptyp
159
159
  /**
160
160
  * The color of the button when it is in an active state.
161
161
  * It supports both default and custom theme colors, which can be added as shown in the
162
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
162
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
163
163
  * @default 'standard'
164
164
  */
165
165
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22,7 +22,7 @@ export interface ToggleButtonGroupProps
22
22
  /**
23
23
  * The color of the button when it is selected.
24
24
  * It supports both default and custom theme colors, which can be added as shown in the
25
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
26
26
  * @default 'standard'
27
27
  */
28
28
  color?: OverridableStringUnion<
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes /* remove-pr
175
175
  /**
176
176
  * The color of the button when it is selected.
177
177
  * It supports both default and custom theme colors, which can be added as shown in the
178
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
178
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
179
179
  * @default 'standard'
180
180
  */
181
181
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.11
2
+ * @mui/material v5.14.13
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -234,7 +234,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
234
234
  /**
235
235
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
236
236
  * It supports both default and custom theme colors, which can be added as shown in the
237
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
237
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
238
238
  */
239
239
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
240
240
  /**
@@ -151,7 +151,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
151
151
  /**
152
152
  * The color of the component.
153
153
  * It supports both default and custom theme colors, which can be added as shown in the
154
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
154
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
155
155
  * @default 'primary'
156
156
  */
157
157
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
@@ -288,7 +288,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
288
288
  /**
289
289
  * The color of the component.
290
290
  * It supports both default and custom theme colors, which can be added as shown in the
291
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
291
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
292
292
  * @default 'default'
293
293
  */
294
294
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
File without changes
@@ -302,7 +302,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
302
302
  /**
303
303
  * The color of the component.
304
304
  * It supports both default and custom theme colors, which can be added as shown in the
305
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
305
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
306
306
  * @default 'primary'
307
307
  */
308
308
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
@@ -8,6 +8,7 @@ import PropTypes from 'prop-types';
8
8
  import clsx from 'clsx';
9
9
  import { unstable_composeClasses as composeClasses } from '@mui/base/composeClasses';
10
10
  import { alpha } from '@mui/system';
11
+ import { getValidReactChildren } from '@mui/utils';
11
12
  import capitalize from '../utils/capitalize';
12
13
  import styled from '../styles/styled';
13
14
  import useThemeProps from '../styles/useThemeProps';
@@ -164,9 +165,11 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, re
164
165
  variant: variant
165
166
  };
166
167
  }, [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
167
- var getButtonPositionClassName = function getButtonPositionClassName(index, childrenParam) {
168
+ var validChildren = getValidReactChildren(children);
169
+ var childrenCount = validChildren.length;
170
+ var getButtonPositionClassName = function getButtonPositionClassName(index) {
168
171
  var isFirstButton = index === 0;
169
- var isLastButton = index === React.Children.count(childrenParam) - 1;
172
+ var isLastButton = index === childrenCount - 1;
170
173
  if (isFirstButton && isLastButton) {
171
174
  return '';
172
175
  }
@@ -187,14 +190,11 @@ var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, re
187
190
  }, other, {
188
191
  children: /*#__PURE__*/_jsx(ButtonGroupContext.Provider, {
189
192
  value: context,
190
- children: React.Children.map(children, function (child, index) {
191
- if (! /*#__PURE__*/React.isValidElement(child)) {
192
- return child;
193
- }
193
+ children: validChildren.map(function (child, index) {
194
194
  return /*#__PURE__*/_jsx(ButtonGroupButtonContext.Provider, {
195
- value: getButtonPositionClassName(index, children),
195
+ value: getButtonPositionClassName(index),
196
196
  children: child
197
- });
197
+ }, index);
198
198
  })
199
199
  })
200
200
  }));
@@ -219,7 +219,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptype
219
219
  /**
220
220
  * The color of the component.
221
221
  * It supports both default and custom theme colors, which can be added as shown in the
222
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
222
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
223
223
  * @default 'primary'
224
224
  */
225
225
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -47,7 +47,7 @@ var CheckboxRoot = styled(SwitchBase, {
47
47
  color: (theme.vars || theme).palette.text.secondary
48
48
  }, !ownerState.disableRipple && {
49
49
  '&:hover': {
50
- backgroundColor: theme.vars ? "rgba(".concat(ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
50
+ backgroundColor: theme.vars ? "rgba(".concat(ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
51
51
  // Reset on touch devices, it doesn't add specificity
52
52
  '@media (hover: none)': {
53
53
  backgroundColor: 'transparent'
@@ -134,7 +134,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
134
134
  /**
135
135
  * The color of the component.
136
136
  * It supports both default and custom theme colors, which can be added as shown in the
137
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
137
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
138
138
  * @default 'primary'
139
139
  */
140
140
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -210,9 +210,15 @@ var ChipLabel = styled('span', {
210
210
  paddingLeft: 12,
211
211
  paddingRight: 12,
212
212
  whiteSpace: 'nowrap'
213
+ }, ownerState.variant === 'outlined' && {
214
+ paddingLeft: 11,
215
+ paddingRight: 11
213
216
  }, ownerState.size === 'small' && {
214
217
  paddingLeft: 8,
215
218
  paddingRight: 8
219
+ }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
220
+ paddingLeft: 7,
221
+ paddingRight: 7
216
222
  });
217
223
  });
218
224
  function isDeleteKeyboardEvent(keyboardEvent) {
@@ -381,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ =
381
387
  /**
382
388
  * The color of the component.
383
389
  * It supports both default and custom theme colors, which can be added as shown in the
384
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
390
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
385
391
  * @default 'default'
386
392
  */
387
393
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -174,7 +174,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
174
174
  /**
175
175
  * The color of the component.
176
176
  * It supports both default and custom theme colors, which can be added as shown in the
177
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
177
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
178
178
  * @default 'primary'
179
179
  */
180
180
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -34,7 +34,7 @@ var DialogActionsRoot = styled('div', {
34
34
  justifyContent: 'flex-end',
35
35
  flex: '0 0 auto'
36
36
  }, !ownerState.disableSpacing && {
37
- '& > :not(:first-of-type)': {
37
+ '& > :not(style) ~ :not(style)': {
38
38
  marginLeft: 8
39
39
  }
40
40
  });
package/legacy/Fab/Fab.js CHANGED
@@ -178,7 +178,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes /* remove-proptypes */ = {
178
178
  /**
179
179
  * The color of the component.
180
180
  * It supports both default and custom theme colors, which can be added as shown in the
181
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
181
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
182
182
  * @default 'default'
183
183
  */
184
184
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
246
246
  /**
247
247
  * The color of the component.
248
248
  * It supports both default and custom theme colors, which can be added as shown in the
249
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
249
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
250
250
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
251
251
  */
252
252
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes /* remove-proptype
238
238
  /**
239
239
  * The color of the component.
240
240
  * It supports both default and custom theme colors, which can be added as shown in the
241
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
241
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
242
242
  * @default 'primary'
243
243
  */
244
244
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes /* remove-proptypes
131
131
  /**
132
132
  * The color of the component.
133
133
  * It supports both default and custom theme colors, which can be added as shown in the
134
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
134
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
135
135
  */
136
136
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
137
137
  /**
@@ -121,7 +121,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes /* remove-proptypes */ =
121
121
  /**
122
122
  * The color of the component.
123
123
  * It supports both default and custom theme colors, which can be added as shown in the
124
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
124
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
125
125
  * @default 'inherit'
126
126
  */
127
127
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes
160
160
  /**
161
161
  * The color of the component.
162
162
  * It supports both default and custom theme colors, which can be added as shown in the
163
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
163
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
164
164
  * @default 'default'
165
165
  */
166
166
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -171,7 +171,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
171
171
  /**
172
172
  * The color of the component.
173
173
  * It supports both default and custom theme colors, which can be added as shown in the
174
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
174
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
175
175
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
176
176
  */
177
177
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -509,7 +509,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
509
509
  /**
510
510
  * The color of the component.
511
511
  * It supports both default and custom theme colors, which can be added as shown in the
512
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
512
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
513
513
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
514
514
  */
515
515
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -163,7 +163,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes /* remove-proptypes
163
163
  /**
164
164
  * The color of the component.
165
165
  * It supports both default and custom theme colors, which can be added as shown in the
166
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
166
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
167
167
  */
168
168
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
169
169
  /**
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes /* remove-propt
257
257
  /**
258
258
  * The color of the component.
259
259
  * It supports both default and custom theme colors, which can be added as shown in the
260
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
260
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
261
261
  * @default 'primary'
262
262
  */
263
263
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary']), PropTypes.string]),
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
201
201
  /**
202
202
  * The color of the component.
203
203
  * It supports both default and custom theme colors, which can be added as shown in the
204
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
204
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
205
205
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
206
206
  */
207
207
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
160
160
  /**
161
161
  * The active color.
162
162
  * It supports both default and custom theme colors, which can be added as shown in the
163
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
163
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
164
164
  * @default 'standard'
165
165
  */
166
166
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),