@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
@@ -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
@@ -2404,6 +2404,16 @@
2404
2404
  };
2405
2405
  var usePreviousProps$1 = usePreviousProps;
2406
2406
 
2407
+ /**
2408
+ * Gets only the valid children of a component,
2409
+ * and ignores any nullish or falsy child.
2410
+ *
2411
+ * @param children the children
2412
+ */
2413
+ function getValidReactChildren(children) {
2414
+ return React__namespace.Children.toArray(children).filter(child => /*#__PURE__*/React__namespace.isValidElement(child));
2415
+ }
2416
+
2407
2417
  const visuallyHidden = {
2408
2418
  border: 0,
2409
2419
  clip: 'rect(0 0 0 0)',
@@ -6532,6 +6542,11 @@
6532
6542
  } else {
6533
6543
  value = getPath(themeMapping, propValueFinal) || userValue;
6534
6544
  }
6545
+ if (typeof value === 'object') {
6546
+ {
6547
+ console.warn(`MUI: The value found in theme for prop: "${propValueFinal}" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, "background.paper" instead of "background".`);
6548
+ }
6549
+ }
6535
6550
  if (transform) {
6536
6551
  value = transform(value, userValue, themeMapping);
6537
6552
  }
@@ -7615,40 +7630,48 @@
7615
7630
  }
7616
7631
  return null;
7617
7632
  };
7633
+ const transformVariants = variants => {
7634
+ const variantsStyles = {};
7635
+ if (variants) {
7636
+ variants.forEach(definition => {
7637
+ const key = propsToClassKey(definition.props);
7638
+ variantsStyles[key] = definition.style;
7639
+ });
7640
+ }
7641
+ return variantsStyles;
7642
+ };
7618
7643
  const getVariantStyles = (name, theme) => {
7619
7644
  let variants = [];
7620
7645
  if (theme && theme.components && theme.components[name] && theme.components[name].variants) {
7621
7646
  variants = theme.components[name].variants;
7622
7647
  }
7623
- const variantsStyles = {};
7624
- variants.forEach(definition => {
7625
- const key = propsToClassKey(definition.props);
7626
- variantsStyles[key] = definition.style;
7627
- });
7628
- return variantsStyles;
7648
+ return transformVariants(variants);
7629
7649
  };
7630
- const variantsResolver = (props, styles, theme, name) => {
7631
- var _theme$components;
7650
+ const variantsResolver = (props, styles, variants) => {
7632
7651
  const {
7633
7652
  ownerState = {}
7634
7653
  } = props;
7635
7654
  const variantsStyles = [];
7636
- const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants;
7637
- if (themeVariants) {
7638
- themeVariants.forEach(themeVariant => {
7655
+ if (variants) {
7656
+ variants.forEach(variant => {
7639
7657
  let isMatch = true;
7640
- Object.keys(themeVariant.props).forEach(key => {
7641
- if (ownerState[key] !== themeVariant.props[key] && props[key] !== themeVariant.props[key]) {
7658
+ Object.keys(variant.props).forEach(key => {
7659
+ if (ownerState[key] !== variant.props[key] && props[key] !== variant.props[key]) {
7642
7660
  isMatch = false;
7643
7661
  }
7644
7662
  });
7645
7663
  if (isMatch) {
7646
- variantsStyles.push(styles[propsToClassKey(themeVariant.props)]);
7664
+ variantsStyles.push(styles[propsToClassKey(variant.props)]);
7647
7665
  }
7648
7666
  });
7649
7667
  }
7650
7668
  return variantsStyles;
7651
7669
  };
7670
+ const themeVariantsResolver = (props, styles, theme, name) => {
7671
+ var _theme$components;
7672
+ const themeVariants = theme == null || (_theme$components = theme.components) == null || (_theme$components = _theme$components[name]) == null ? void 0 : _theme$components.variants;
7673
+ return variantsResolver(props, styles, themeVariants);
7674
+ };
7652
7675
 
7653
7676
  // Update /system/styled/#api in case if this changes
7654
7677
  function shouldForwardProp(prop) {
@@ -7674,6 +7697,29 @@
7674
7697
  }
7675
7698
  return (props, styles) => styles[slot];
7676
7699
  }
7700
+ const muiStyledFunctionResolver = ({
7701
+ styledArg,
7702
+ props,
7703
+ defaultTheme,
7704
+ themeId
7705
+ }) => {
7706
+ const resolvedStyles = styledArg(_extends({}, props, {
7707
+ theme: resolveTheme(_extends({}, props, {
7708
+ defaultTheme,
7709
+ themeId
7710
+ }))
7711
+ }));
7712
+ let optionalVariants;
7713
+ if (resolvedStyles && resolvedStyles.variants) {
7714
+ optionalVariants = resolvedStyles.variants;
7715
+ delete resolvedStyles.variants;
7716
+ }
7717
+ if (optionalVariants) {
7718
+ const variantsStyles = variantsResolver(props, transformVariants(optionalVariants), optionalVariants);
7719
+ return [resolvedStyles, ...variantsStyles];
7720
+ }
7721
+ return resolvedStyles;
7722
+ };
7677
7723
  function createStyled(input = {}) {
7678
7724
  const {
7679
7725
  themeId,
@@ -7740,16 +7786,61 @@
7740
7786
  // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7741
7787
  // component stays as a function. This condition makes sure that we do not interpolate functions
7742
7788
  // which are basically components used as a selectors.
7743
- return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? props => {
7744
- return stylesArg(_extends({}, props, {
7745
- theme: resolveTheme(_extends({}, props, {
7746
- defaultTheme,
7747
- themeId
7748
- }))
7749
- }));
7750
- } : stylesArg;
7789
+ if (typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg) {
7790
+ return props => muiStyledFunctionResolver({
7791
+ styledArg: stylesArg,
7792
+ props,
7793
+ defaultTheme,
7794
+ themeId
7795
+ });
7796
+ }
7797
+ if (isPlainObject(stylesArg)) {
7798
+ let transformedStylesArg = stylesArg;
7799
+ let styledArgVariants;
7800
+ if (stylesArg && stylesArg.variants) {
7801
+ styledArgVariants = stylesArg.variants;
7802
+ delete transformedStylesArg.variants;
7803
+ transformedStylesArg = props => {
7804
+ let result = stylesArg;
7805
+ const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
7806
+ variantStyles.forEach(variantStyle => {
7807
+ result = deepmerge(result, variantStyle);
7808
+ });
7809
+ return result;
7810
+ };
7811
+ }
7812
+ return transformedStylesArg;
7813
+ }
7814
+ return stylesArg;
7751
7815
  }) : [];
7752
7816
  let transformedStyleArg = styleArg;
7817
+ if (isPlainObject(styleArg)) {
7818
+ let styledArgVariants;
7819
+ if (styleArg && styleArg.variants) {
7820
+ styledArgVariants = styleArg.variants;
7821
+ delete transformedStyleArg.variants;
7822
+ transformedStyleArg = props => {
7823
+ let result = styleArg;
7824
+ const variantStyles = variantsResolver(props, transformVariants(styledArgVariants), styledArgVariants);
7825
+ variantStyles.forEach(variantStyle => {
7826
+ result = deepmerge(result, variantStyle);
7827
+ });
7828
+ return result;
7829
+ };
7830
+ }
7831
+ } else if (typeof styleArg === 'function' &&
7832
+ // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7833
+ // component stays as a function. This condition makes sure that we do not interpolate functions
7834
+ // which are basically components used as a selectors.
7835
+ styleArg.__emotion_real !== styleArg) {
7836
+ // If the type is function, we need to define the default theme.
7837
+ transformedStyleArg = props => muiStyledFunctionResolver({
7838
+ styledArg: styleArg,
7839
+ props,
7840
+ defaultTheme,
7841
+ themeId
7842
+ });
7843
+ }
7753
7844
  if (componentName && overridesResolver) {
7754
7845
  expressionsWithDefaultTheme.push(props => {
7755
7846
  const theme = resolveTheme(_extends({}, props, {
@@ -7775,7 +7866,7 @@
7775
7866
  defaultTheme,
7776
7867
  themeId
7777
7868
  }));
7778
- return variantsResolver(props, getVariantStyles(componentName, theme), theme, componentName);
7869
+ return themeVariantsResolver(props, getVariantStyles(componentName, theme), theme, componentName);
7779
7870
  });
7780
7871
  }
7781
7872
  if (!skipSx) {
@@ -7787,18 +7878,6 @@
7787
7878
  // If the type is array, than we need to add placeholders in the template for the overrides, variants and the sx styles.
7788
7879
  transformedStyleArg = [...styleArg, ...placeholders];
7789
7880
  transformedStyleArg.raw = [...styleArg.raw, ...placeholders];
7790
- } else if (typeof styleArg === 'function' &&
7791
- // On the server Emotion doesn't use React.forwardRef for creating components, so the created
7792
- // component stays as a function. This condition makes sure that we do not interpolate functions
7793
- // which are basically components used as a selectors.
7794
- styleArg.__emotion_real !== styleArg) {
7795
- // If the type is function, we need to define the default theme.
7796
- transformedStyleArg = props => styleArg(_extends({}, props, {
7797
- theme: resolveTheme(_extends({}, props, {
7798
- defaultTheme,
7799
- themeId
7800
- }))
7801
- }));
7802
7881
  }
7803
7882
  const Component = defaultStyledResolver(transformedStyleArg, ...expressionsWithDefaultTheme);
7804
7883
  {
@@ -11260,7 +11339,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
11260
11339
  /**
11261
11340
  * The color of the component.
11262
11341
  * It supports both default and custom theme colors, which can be added as shown in the
11263
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
11342
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
11264
11343
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
11265
11344
  * @default 'inherit'
11266
11345
  */
@@ -14481,7 +14560,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14481
14560
  /**
14482
14561
  * The color of the component.
14483
14562
  * It supports both default and custom theme colors, which can be added as shown in the
14484
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
14563
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
14485
14564
  * @default 'default'
14486
14565
  */
14487
14566
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -14752,7 +14831,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
14752
14831
  /**
14753
14832
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
14754
14833
  * It supports both default and custom theme colors, which can be added as shown in the
14755
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
14834
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
14756
14835
  */
14757
14836
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
14758
14837
  /**
@@ -15259,7 +15338,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15259
15338
  /**
15260
15339
  * The color of the component.
15261
15340
  * It supports both default and custom theme colors, which can be added as shown in the
15262
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
15341
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
15263
15342
  * @default 'primary'
15264
15343
  */
15265
15344
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
@@ -19271,12 +19350,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19271
19350
  };
19272
19351
  const trackOffset = valueToPercent(range ? values[0] : min, min, max);
19273
19352
  const trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;
19274
- const getRootProps = (otherHandlers = {}) => {
19353
+ const getRootProps = (externalProps = {}) => {
19354
+ const externalHandlers = extractEventHandlers(externalProps);
19275
19355
  const ownEventHandlers = {
19276
- onMouseDown: createHandleMouseDown(otherHandlers || {})
19356
+ onMouseDown: createHandleMouseDown(externalHandlers || {})
19277
19357
  };
19278
- const mergedEventHandlers = _extends({}, otherHandlers, ownEventHandlers);
19279
- return _extends({
19358
+ const mergedEventHandlers = _extends({}, externalHandlers, ownEventHandlers);
19359
+ return _extends({}, externalProps, {
19280
19360
  ref: handleRef
19281
19361
  }, mergedEventHandlers);
19282
19362
  };
@@ -19291,12 +19371,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19291
19371
  (_otherHandlers$onMous3 = otherHandlers.onMouseLeave) == null || _otherHandlers$onMous3.call(otherHandlers, event);
19292
19372
  setOpen(-1);
19293
19373
  };
19294
- const getThumbProps = (otherHandlers = {}) => {
19374
+ const getThumbProps = (externalProps = {}) => {
19375
+ const externalHandlers = extractEventHandlers(externalProps);
19295
19376
  const ownEventHandlers = {
19296
- onMouseOver: createHandleMouseOver(otherHandlers || {}),
19297
- onMouseLeave: createHandleMouseLeave(otherHandlers || {})
19377
+ onMouseOver: createHandleMouseOver(externalHandlers || {}),
19378
+ onMouseLeave: createHandleMouseLeave(externalHandlers || {})
19298
19379
  };
19299
- return _extends({}, otherHandlers, ownEventHandlers);
19380
+ return _extends({}, externalProps, externalHandlers, ownEventHandlers);
19300
19381
  };
19301
19382
  const getThumbStyle = index => {
19302
19383
  return {
@@ -19304,14 +19385,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19304
19385
  pointerEvents: active !== -1 && active !== index ? 'none' : undefined
19305
19386
  };
19306
19387
  };
19307
- const getHiddenInputProps = (otherHandlers = {}) => {
19388
+ const getHiddenInputProps = (externalProps = {}) => {
19308
19389
  var _parameters$step;
19390
+ const externalHandlers = extractEventHandlers(externalProps);
19309
19391
  const ownEventHandlers = {
19310
- onChange: createHandleHiddenInputChange(otherHandlers || {}),
19311
- onFocus: createHandleHiddenInputFocus(otherHandlers || {}),
19312
- onBlur: createHandleHiddenInputBlur(otherHandlers || {})
19392
+ onChange: createHandleHiddenInputChange(externalHandlers || {}),
19393
+ onFocus: createHandleHiddenInputFocus(externalHandlers || {}),
19394
+ onBlur: createHandleHiddenInputBlur(externalHandlers || {})
19313
19395
  };
19314
- const mergedEventHandlers = _extends({}, otherHandlers, ownEventHandlers);
19396
+ const mergedEventHandlers = _extends({}, externalHandlers, ownEventHandlers);
19315
19397
  return _extends({
19316
19398
  tabIndex,
19317
19399
  'aria-labelledby': ariaLabelledby,
@@ -19324,7 +19406,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
19324
19406
  max: parameters.max,
19325
19407
  step: parameters.step === null && parameters.marks ? 'any' : (_parameters$step = parameters.step) != null ? _parameters$step : undefined,
19326
19408
  disabled
19327
- }, mergedEventHandlers, {
19409
+ }, externalProps, mergedEventHandlers, {
19328
19410
  style: _extends({}, visuallyHidden$1, {
19329
19411
  direction: isRtl ? 'rtl' : 'ltr',
19330
19412
  // So that VoiceOver's focus indicator matches the thumb's dimensions
@@ -20651,10 +20733,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20651
20733
  }),
20652
20734
  getClearProps: () => ({
20653
20735
  tabIndex: -1,
20736
+ type: 'button',
20654
20737
  onClick: handleClear
20655
20738
  }),
20656
20739
  getPopupIndicatorProps: () => ({
20657
20740
  tabIndex: -1,
20741
+ type: 'button',
20658
20742
  onClick: handlePopupIndicator
20659
20743
  }),
20660
20744
  getTagProps: ({
@@ -21292,9 +21376,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21292
21376
  paddingLeft: 12,
21293
21377
  paddingRight: 12,
21294
21378
  whiteSpace: 'nowrap'
21379
+ }, ownerState.variant === 'outlined' && {
21380
+ paddingLeft: 11,
21381
+ paddingRight: 11
21295
21382
  }, ownerState.size === 'small' && {
21296
21383
  paddingLeft: 8,
21297
21384
  paddingRight: 8
21385
+ }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
21386
+ paddingLeft: 7,
21387
+ paddingRight: 7
21298
21388
  }));
21299
21389
  function isDeleteKeyboardEvent(keyboardEvent) {
21300
21390
  return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';
@@ -21459,7 +21549,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
21459
21549
  /**
21460
21550
  * The color of the component.
21461
21551
  * It supports both default and custom theme colors, which can be added as shown in the
21462
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
21552
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
21463
21553
  * @default 'default'
21464
21554
  */
21465
21555
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22097,7 +22187,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
22097
22187
  /**
22098
22188
  * The color of the component.
22099
22189
  * It supports both default and custom theme colors, which can be added as shown in the
22100
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
22190
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
22101
22191
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
22102
22192
  */
22103
22193
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -24462,7 +24552,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
24462
24552
  /**
24463
24553
  * The color of the component.
24464
24554
  * It supports both default and custom theme colors, which can be added as shown in the
24465
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
24555
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
24466
24556
  * @default 'default'
24467
24557
  */
24468
24558
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -25478,7 +25568,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25478
25568
  /**
25479
25569
  * The color of the component.
25480
25570
  * It supports both default and custom theme colors, which can be added as shown in the
25481
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25571
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
25482
25572
  * @default 'primary'
25483
25573
  */
25484
25574
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
@@ -25726,9 +25816,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25726
25816
  size,
25727
25817
  variant
25728
25818
  }), [color, disabled, disableElevation, disableFocusRipple, disableRipple, fullWidth, size, variant, classes.grouped]);
25729
- const getButtonPositionClassName = (index, childrenParam) => {
25819
+ const validChildren = getValidReactChildren(children);
25820
+ const childrenCount = validChildren.length;
25821
+ const getButtonPositionClassName = index => {
25730
25822
  const isFirstButton = index === 0;
25731
- const isLastButton = index === React__namespace.Children.count(childrenParam) - 1;
25823
+ const isLastButton = index === childrenCount - 1;
25732
25824
  if (isFirstButton && isLastButton) {
25733
25825
  return '';
25734
25826
  }
@@ -25749,14 +25841,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25749
25841
  }, other, {
25750
25842
  children: /*#__PURE__*/jsxRuntime_1(ButtonGroupContext$1.Provider, {
25751
25843
  value: context,
25752
- children: React__namespace.Children.map(children, (child, index) => {
25753
- if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
25754
- return child;
25755
- }
25844
+ children: validChildren.map((child, index) => {
25756
25845
  return /*#__PURE__*/jsxRuntime_1(ButtonGroupButtonContext$1.Provider, {
25757
- value: getButtonPositionClassName(index, children),
25846
+ value: getButtonPositionClassName(index),
25758
25847
  children: child
25759
- });
25848
+ }, index);
25760
25849
  })
25761
25850
  })
25762
25851
  }));
@@ -25781,7 +25870,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
25781
25870
  /**
25782
25871
  * The color of the component.
25783
25872
  * It supports both default and custom theme colors, which can be added as shown in the
25784
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25873
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
25785
25874
  * @default 'primary'
25786
25875
  */
25787
25876
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -26826,7 +26915,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26826
26915
  color: (theme.vars || theme).palette.text.secondary
26827
26916
  }, !ownerState.disableRipple && {
26828
26917
  '&:hover': {
26829
- backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
26918
+ backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
26830
26919
  // Reset on touch devices, it doesn't add specificity
26831
26920
  '@media (hover: none)': {
26832
26921
  backgroundColor: 'transparent'
@@ -26911,7 +27000,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26911
27000
  /**
26912
27001
  * The color of the component.
26913
27002
  * It supports both default and custom theme colors, which can be added as shown in the
26914
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
27003
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
26915
27004
  * @default 'primary'
26916
27005
  */
26917
27006
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -27183,7 +27272,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
27183
27272
  /**
27184
27273
  * The color of the component.
27185
27274
  * It supports both default and custom theme colors, which can be added as shown in the
27186
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
27275
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
27187
27276
  * @default 'primary'
27188
27277
  */
27189
27278
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -28216,7 +28305,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
28216
28305
  justifyContent: 'flex-end',
28217
28306
  flex: '0 0 auto'
28218
28307
  }, !ownerState.disableSpacing && {
28219
- '& > :not(:first-of-type)': {
28308
+ '& > :not(style) ~ :not(style)': {
28220
28309
  marginLeft: 8
28221
28310
  }
28222
28311
  }));
@@ -29537,7 +29626,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29537
29626
  /**
29538
29627
  * The color of the component.
29539
29628
  * It supports both default and custom theme colors, which can be added as shown in the
29540
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
29629
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
29541
29630
  * @default 'default'
29542
29631
  */
29543
29632
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
@@ -29827,7 +29916,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
29827
29916
  /**
29828
29917
  * The color of the component.
29829
29918
  * It supports both default and custom theme colors, which can be added as shown in the
29830
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
29919
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
29831
29920
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
29832
29921
  */
29833
29922
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -30220,7 +30309,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30220
30309
  /**
30221
30310
  * The color of the component.
30222
30311
  * It supports both default and custom theme colors, which can be added as shown in the
30223
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
30312
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
30224
30313
  * @default 'primary'
30225
30314
  */
30226
30315
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -30954,7 +31043,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
30954
31043
  /**
30955
31044
  * The color of the component.
30956
31045
  * It supports both default and custom theme colors, which can be added as shown in the
30957
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
31046
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
30958
31047
  */
30959
31048
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
30960
31049
  /**
@@ -32600,7 +32689,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
32600
32689
  /**
32601
32690
  * The color of the component.
32602
32691
  * It supports both default and custom theme colors, which can be added as shown in the
32603
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
32692
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
32604
32693
  * @default 'inherit'
32605
32694
  */
32606
32695
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -33324,7 +33413,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33324
33413
  /**
33325
33414
  * The color of the component.
33326
33415
  * It supports both default and custom theme colors, which can be added as shown in the
33327
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
33416
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
33328
33417
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
33329
33418
  */
33330
33419
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -33811,7 +33900,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33811
33900
  /**
33812
33901
  * The color of the component.
33813
33902
  * It supports both default and custom theme colors, which can be added as shown in the
33814
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
33903
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
33815
33904
  */
33816
33905
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
33817
33906
  /**
@@ -34174,7 +34263,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
34174
34263
  /**
34175
34264
  * The color of the component.
34176
34265
  * It supports both default and custom theme colors, which can be added as shown in the
34177
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
34266
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
34178
34267
  * @default 'primary'
34179
34268
  */
34180
34269
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary']), PropTypes.string]),
@@ -37780,7 +37869,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
37780
37869
  /**
37781
37870
  * The color of the component.
37782
37871
  * It supports both default and custom theme colors, which can be added as shown in the
37783
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
37872
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
37784
37873
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
37785
37874
  */
37786
37875
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -38163,14 +38252,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38163
38252
  [`&.${paginationItemClasses$1.selected}`]: {
38164
38253
  backgroundColor: (theme.vars || theme).palette.action.selected,
38165
38254
  '&:hover': {
38166
- 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),
38255
+ 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),
38167
38256
  // Reset on touch devices, it doesn't add specificity
38168
38257
  '@media (hover: none)': {
38169
38258
  backgroundColor: (theme.vars || theme).palette.action.selected
38170
38259
  }
38171
38260
  },
38172
38261
  [`&.${paginationItemClasses$1.focusVisible}`]: {
38173
- 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)
38262
+ 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)
38174
38263
  },
38175
38264
  [`&.${paginationItemClasses$1.disabled}`]: {
38176
38265
  opacity: 1,
@@ -38334,7 +38423,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38334
38423
  /**
38335
38424
  * The active color.
38336
38425
  * It supports both default and custom theme colors, which can be added as shown in the
38337
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
38426
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
38338
38427
  * @default 'standard'
38339
38428
  */
38340
38429
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
@@ -38543,7 +38632,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38543
38632
  /**
38544
38633
  * The active color.
38545
38634
  * It supports both default and custom theme colors, which can be added as shown in the
38546
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
38635
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
38547
38636
  * @default 'standard'
38548
38637
  */
38549
38638
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
@@ -38867,7 +38956,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38867
38956
  /**
38868
38957
  * The color of the component.
38869
38958
  * It supports both default and custom theme colors, which can be added as shown in the
38870
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
38959
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
38871
38960
  * @default 'primary'
38872
38961
  */
38873
38962
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -40178,11 +40267,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40178
40267
  });
40179
40268
  const classes = useUtilityClasses$x(ownerState);
40180
40269
  const paperProps = _extends({}, MenuProps.PaperProps, (_MenuProps$slotProps = MenuProps.slotProps) == null ? void 0 : _MenuProps$slotProps.paper);
40270
+ const listboxId = useId();
40181
40271
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
40182
40272
  children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
40183
40273
  ref: handleDisplayRef,
40184
40274
  tabIndex: tabIndex,
40185
- role: "button",
40275
+ role: "combobox",
40276
+ "aria-controls": listboxId,
40186
40277
  "aria-disabled": disabled ? 'true' : undefined,
40187
40278
  "aria-expanded": open ? 'true' : 'false',
40188
40279
  "aria-haspopup": "listbox",
@@ -40238,15 +40329,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40238
40329
  'aria-labelledby': labelId,
40239
40330
  role: 'listbox',
40240
40331
  'aria-multiselectable': multiple ? 'true' : undefined,
40241
- disableListWrap: true
40332
+ disableListWrap: true,
40333
+ id: listboxId
40242
40334
  }, MenuProps.MenuListProps),
40243
- slotProps: {
40335
+ slotProps: _extends({}, MenuProps.slotProps, {
40244
40336
  paper: _extends({}, paperProps, {
40245
40337
  style: _extends({
40246
40338
  minWidth: menuMinWidth
40247
40339
  }, paperProps != null ? paperProps.style : null)
40248
40340
  })
40249
- },
40341
+ }),
40250
40342
  children: items
40251
40343
  }))]
40252
40344
  });
@@ -40885,7 +40977,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
40885
40977
  function getSliderUtilityClass(slot) {
40886
40978
  return generateUtilityClass('MuiSlider', slot);
40887
40979
  }
40888
- 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']);
40980
+ 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']);
40889
40981
  var sliderClasses$1 = sliderClasses;
40890
40982
 
40891
40983
  const useValueLabelClasses = props => {
@@ -41540,10 +41632,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
41540
41632
  /**
41541
41633
  * The color of the component.
41542
41634
  * It supports both default and custom theme colors, which can be added as shown in the
41543
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
41635
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
41544
41636
  * @default 'primary'
41545
41637
  */
41546
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
41638
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
41547
41639
  /**
41548
41640
  * The components used for each slot inside.
41549
41641
  *
@@ -46015,7 +46107,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
46015
46107
  /**
46016
46108
  * The color of the component.
46017
46109
  * It supports both default and custom theme colors, which can be added as shown in the
46018
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
46110
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
46019
46111
  * @default 'primary'
46020
46112
  */
46021
46113
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -49146,7 +49238,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49146
49238
  /**
49147
49239
  * The color of the component.
49148
49240
  * It supports both default and custom theme colors, which can be added as shown in the
49149
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
49241
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
49150
49242
  * @default 'primary'
49151
49243
  */
49152
49244
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -49441,7 +49533,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49441
49533
  /**
49442
49534
  * The color of the button when it is in an active state.
49443
49535
  * It supports both default and custom theme colors, which can be added as shown in the
49444
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
49536
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
49445
49537
  * @default 'standard'
49446
49538
  */
49447
49539
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -49684,7 +49776,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49684
49776
  /**
49685
49777
  * The color of the button when it is selected.
49686
49778
  * It supports both default and custom theme colors, which can be added as shown in the
49687
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
49779
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
49688
49780
  * @default 'standard'
49689
49781
  */
49690
49782
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),