@mui/material 6.0.0-alpha.8 → 6.0.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/Accordion/Accordion.d.ts +3 -5
  2. package/Accordion/Accordion.js +3 -5
  3. package/AccordionActions/AccordionActions.d.ts +3 -3
  4. package/AccordionActions/AccordionActions.js +3 -3
  5. package/AccordionDetails/AccordionDetails.d.ts +3 -3
  6. package/AccordionDetails/AccordionDetails.js +3 -3
  7. package/AccordionSummary/AccordionSummary.d.ts +3 -3
  8. package/AccordionSummary/AccordionSummary.js +3 -3
  9. package/Alert/Alert.d.ts +16 -7
  10. package/Alert/Alert.js +3 -3
  11. package/AlertTitle/AlertTitle.d.ts +6 -6
  12. package/AlertTitle/AlertTitle.js +3 -3
  13. package/AppBar/AppBar.d.ts +3 -3
  14. package/AppBar/AppBar.js +5 -9
  15. package/Autocomplete/Autocomplete.d.ts +4 -9
  16. package/Autocomplete/Autocomplete.js +13 -26
  17. package/Avatar/Avatar.d.ts +2 -3
  18. package/Avatar/Avatar.js +6 -5
  19. package/AvatarGroup/AvatarGroup.d.ts +53 -20
  20. package/AvatarGroup/AvatarGroup.js +40 -21
  21. package/Backdrop/Backdrop.d.ts +5 -8
  22. package/Backdrop/Backdrop.js +5 -8
  23. package/Badge/Badge.d.ts +3 -3
  24. package/Badge/Badge.js +3 -3
  25. package/BottomNavigation/BottomNavigation.d.ts +2 -2
  26. package/BottomNavigation/BottomNavigation.js +3 -3
  27. package/BottomNavigationAction/BottomNavigationAction.d.ts +3 -3
  28. package/BottomNavigationAction/BottomNavigationAction.js +3 -3
  29. package/Box/Box.d.ts +2 -2
  30. package/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  31. package/Breadcrumbs/Breadcrumbs.js +3 -3
  32. package/Button/Button.d.ts +5 -5
  33. package/Button/Button.js +3 -3
  34. package/ButtonBase/ButtonBase.d.ts +3 -3
  35. package/ButtonBase/ButtonBase.js +23 -52
  36. package/ButtonBase/TouchRipple.js +3 -3
  37. package/ButtonGroup/ButtonGroup.d.ts +2 -2
  38. package/ButtonGroup/ButtonGroup.js +3 -3
  39. package/CHANGELOG.md +407 -3
  40. package/Card/Card.d.ts +3 -3
  41. package/Card/Card.js +3 -3
  42. package/CardActionArea/CardActionArea.d.ts +3 -3
  43. package/CardActionArea/CardActionArea.js +3 -3
  44. package/CardActions/CardActions.d.ts +3 -3
  45. package/CardActions/CardActions.js +3 -3
  46. package/CardContent/CardContent.d.ts +2 -2
  47. package/CardContent/CardContent.js +3 -3
  48. package/CardHeader/CardHeader.d.ts +3 -3
  49. package/CardHeader/CardHeader.js +3 -3
  50. package/CardMedia/CardMedia.d.ts +2 -2
  51. package/CardMedia/CardMedia.js +3 -3
  52. package/Checkbox/Checkbox.d.ts +5 -5
  53. package/Checkbox/Checkbox.js +3 -3
  54. package/Chip/Chip.d.ts +5 -5
  55. package/Chip/Chip.js +3 -5
  56. package/CircularProgress/CircularProgress.d.ts +3 -3
  57. package/CircularProgress/CircularProgress.js +3 -3
  58. package/Collapse/Collapse.d.ts +6 -6
  59. package/Collapse/Collapse.js +3 -4
  60. package/Container/Container.d.ts +2 -2
  61. package/CssBaseline/CssBaseline.d.ts +3 -3
  62. package/CssBaseline/CssBaseline.js +66 -8
  63. package/DefaultPropsProvider/DefaultPropsProvider.d.ts +15 -0
  64. package/DefaultPropsProvider/DefaultPropsProvider.js +29 -0
  65. package/DefaultPropsProvider/index.d.ts +1 -0
  66. package/DefaultPropsProvider/index.js +1 -0
  67. package/DefaultPropsProvider/package.json +6 -0
  68. package/Dialog/Dialog.d.ts +4 -4
  69. package/Dialog/Dialog.js +4 -7
  70. package/DialogActions/DialogActions.d.ts +3 -3
  71. package/DialogActions/DialogActions.js +3 -3
  72. package/DialogContent/DialogContent.d.ts +3 -3
  73. package/DialogContent/DialogContent.js +3 -3
  74. package/DialogContentText/DialogContentText.d.ts +3 -3
  75. package/DialogContentText/DialogContentText.js +3 -3
  76. package/DialogTitle/DialogTitle.d.ts +3 -3
  77. package/DialogTitle/DialogTitle.js +3 -3
  78. package/Divider/Divider.d.ts +3 -3
  79. package/Divider/Divider.js +3 -3
  80. package/Drawer/Drawer.d.ts +4 -4
  81. package/Drawer/Drawer.js +3 -4
  82. package/Fab/Fab.d.ts +3 -3
  83. package/Fab/Fab.js +3 -3
  84. package/Fade/Fade.d.ts +4 -4
  85. package/Fade/Fade.js +1 -1
  86. package/FilledInput/FilledInput.d.ts +4 -4
  87. package/FilledInput/FilledInput.js +13 -11
  88. package/FilledInput/filledInputClasses.d.ts +1 -13
  89. package/FilledInput/filledInputClasses.js +1 -1
  90. package/FormControl/FormControl.d.ts +6 -6
  91. package/FormControl/FormControl.js +3 -3
  92. package/FormControlLabel/FormControlLabel.d.ts +5 -5
  93. package/FormControlLabel/FormControlLabel.js +3 -3
  94. package/FormGroup/FormGroup.d.ts +4 -4
  95. package/FormGroup/FormGroup.js +3 -3
  96. package/FormHelperText/FormHelperText.d.ts +2 -2
  97. package/FormHelperText/FormHelperText.js +3 -3
  98. package/FormLabel/FormLabel.d.ts +4 -4
  99. package/FormLabel/FormLabel.js +3 -3
  100. package/GlobalStyles/GlobalStyles.d.ts +3 -3
  101. package/Grid/Grid.d.ts +3 -2
  102. package/Grid/Grid.js +8 -13
  103. package/Grow/Grow.d.ts +6 -6
  104. package/Grow/Grow.js +1 -1
  105. package/Hidden/Hidden.d.ts +4 -2
  106. package/Hidden/Hidden.js +2 -0
  107. package/Hidden/hiddenCssClasses.d.ts +3 -0
  108. package/Icon/Icon.d.ts +3 -3
  109. package/Icon/Icon.js +3 -3
  110. package/IconButton/IconButton.d.ts +4 -4
  111. package/IconButton/IconButton.js +3 -5
  112. package/ImageList/ImageList.d.ts +2 -2
  113. package/ImageList/ImageList.js +3 -11
  114. package/ImageListItem/ImageListItem.d.ts +2 -2
  115. package/ImageListItem/ImageListItem.js +3 -3
  116. package/ImageListItemBar/ImageListItemBar.d.ts +3 -3
  117. package/ImageListItemBar/ImageListItemBar.js +3 -3
  118. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +10 -0
  119. package/InitColorSchemeScript/InitColorSchemeScript.js +16 -0
  120. package/InitColorSchemeScript/index.d.ts +1 -0
  121. package/InitColorSchemeScript/index.js +1 -0
  122. package/InitColorSchemeScript/package.json +6 -0
  123. package/Input/Input.d.ts +4 -4
  124. package/Input/Input.js +5 -9
  125. package/InputAdornment/InputAdornment.d.ts +2 -2
  126. package/InputAdornment/InputAdornment.js +3 -5
  127. package/InputBase/InputBase.d.ts +5 -7
  128. package/InputBase/InputBase.js +31 -40
  129. package/InputLabel/InputLabel.d.ts +3 -3
  130. package/InputLabel/InputLabel.js +3 -3
  131. package/LinearProgress/LinearProgress.d.ts +3 -3
  132. package/LinearProgress/LinearProgress.js +3 -3
  133. package/Link/Link.d.ts +4 -4
  134. package/Link/Link.js +7 -18
  135. package/List/List.d.ts +3 -3
  136. package/List/List.js +3 -3
  137. package/ListItem/ListItem.d.ts +7 -15
  138. package/ListItem/ListItem.js +9 -17
  139. package/ListItemAvatar/ListItemAvatar.d.ts +3 -3
  140. package/ListItemAvatar/ListItemAvatar.js +3 -3
  141. package/ListItemButton/ListItemButton.d.ts +3 -3
  142. package/ListItemButton/ListItemButton.js +3 -3
  143. package/ListItemIcon/ListItemIcon.d.ts +3 -3
  144. package/ListItemIcon/ListItemIcon.js +3 -3
  145. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +7 -3
  146. package/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -3
  147. package/ListItemText/ListItemText.d.ts +5 -3
  148. package/ListItemText/ListItemText.js +3 -3
  149. package/ListSubheader/ListSubheader.d.ts +2 -2
  150. package/ListSubheader/ListSubheader.js +3 -3
  151. package/Menu/Menu.d.ts +5 -5
  152. package/Menu/Menu.js +4 -7
  153. package/MenuItem/MenuItem.d.ts +3 -3
  154. package/MenuItem/MenuItem.js +3 -3
  155. package/MenuList/MenuList.d.ts +4 -4
  156. package/MobileStepper/MobileStepper.d.ts +4 -4
  157. package/MobileStepper/MobileStepper.js +3 -3
  158. package/Modal/Modal.d.ts +10 -12
  159. package/Modal/Modal.js +32 -24
  160. package/NativeSelect/NativeSelect.d.ts +4 -4
  161. package/NativeSelect/NativeSelectInput.js +0 -4
  162. package/OutlinedInput/OutlinedInput.d.ts +6 -4
  163. package/OutlinedInput/OutlinedInput.js +4 -5
  164. package/OverridableComponent.d.ts +2 -2
  165. package/Pagination/Pagination.d.ts +3 -3
  166. package/Pagination/Pagination.js +3 -3
  167. package/PaginationItem/PaginationItem.d.ts +2 -2
  168. package/PaginationItem/PaginationItem.js +3 -3
  169. package/Paper/Paper.d.ts +3 -3
  170. package/Paper/Paper.js +3 -4
  171. package/PigmentContainer/PigmentContainer.d.ts +55 -0
  172. package/PigmentContainer/PigmentContainer.js +98 -0
  173. package/PigmentContainer/index.d.ts +3 -0
  174. package/PigmentContainer/index.js +3 -0
  175. package/PigmentContainer/package.json +6 -0
  176. package/PigmentGrid/PigmentGrid.d.ts +108 -0
  177. package/PigmentGrid/PigmentGrid.js +149 -0
  178. package/PigmentGrid/index.d.ts +3 -0
  179. package/PigmentGrid/index.js +3 -0
  180. package/{useTouchRipple → PigmentGrid}/package.json +1 -1
  181. package/PigmentHidden/PigmentHidden.d.ts +97 -0
  182. package/PigmentHidden/PigmentHidden.js +278 -0
  183. package/PigmentHidden/index.d.ts +2 -0
  184. package/PigmentHidden/index.js +2 -0
  185. package/PigmentHidden/package.json +6 -0
  186. package/PigmentStack/PigmentStack.d.ts +51 -0
  187. package/PigmentStack/PigmentStack.js +81 -0
  188. package/PigmentStack/index.d.ts +3 -0
  189. package/PigmentStack/index.js +3 -0
  190. package/PigmentStack/package.json +6 -0
  191. package/Popover/Popover.d.ts +21 -26
  192. package/Popover/Popover.js +30 -29
  193. package/Popper/Popper.d.ts +8 -4
  194. package/Popper/Popper.js +14 -9
  195. package/Radio/Radio.d.ts +4 -4
  196. package/Radio/Radio.js +3 -3
  197. package/RadioGroup/RadioGroup.d.ts +4 -4
  198. package/Rating/Rating.d.ts +3 -3
  199. package/Rating/Rating.js +8 -15
  200. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  201. package/ScopedCssBaseline/ScopedCssBaseline.js +24 -11
  202. package/Select/Select.d.ts +4 -4
  203. package/Skeleton/Skeleton.d.ts +2 -2
  204. package/Skeleton/Skeleton.js +3 -3
  205. package/Slide/Slide.d.ts +5 -5
  206. package/Slide/Slide.js +1 -1
  207. package/Slider/Slider.d.ts +3 -3
  208. package/Slider/Slider.js +4 -4
  209. package/Slider/SliderValueLabel.types.d.ts +1 -1
  210. package/Snackbar/Snackbar.d.ts +3 -3
  211. package/Snackbar/Snackbar.js +3 -4
  212. package/SnackbarContent/SnackbarContent.d.ts +4 -4
  213. package/SnackbarContent/SnackbarContent.js +3 -3
  214. package/SpeedDial/SpeedDial.d.ts +3 -5
  215. package/SpeedDial/SpeedDial.js +3 -6
  216. package/SpeedDialAction/SpeedDialAction.d.ts +4 -4
  217. package/SpeedDialAction/SpeedDialAction.js +3 -3
  218. package/SpeedDialIcon/SpeedDialIcon.d.ts +5 -3
  219. package/SpeedDialIcon/SpeedDialIcon.js +3 -3
  220. package/Stack/Stack.d.ts +2 -2
  221. package/Step/Step.d.ts +2 -2
  222. package/Step/Step.js +3 -3
  223. package/StepButton/StepButton.d.ts +3 -3
  224. package/StepButton/StepButton.js +3 -3
  225. package/StepConnector/StepConnector.d.ts +4 -4
  226. package/StepConnector/StepConnector.js +3 -3
  227. package/StepContent/StepContent.d.ts +3 -3
  228. package/StepContent/StepContent.js +3 -3
  229. package/StepIcon/StepIcon.d.ts +3 -3
  230. package/StepIcon/StepIcon.js +3 -3
  231. package/StepLabel/StepLabel.d.ts +3 -5
  232. package/StepLabel/StepLabel.js +3 -7
  233. package/Stepper/Stepper.d.ts +2 -2
  234. package/Stepper/Stepper.js +7 -5
  235. package/Stepper/stepperClasses.d.ts +2 -0
  236. package/Stepper/stepperClasses.js +1 -1
  237. package/SvgIcon/SvgIcon.d.ts +3 -3
  238. package/SvgIcon/SvgIcon.js +3 -3
  239. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  240. package/SwipeableDrawer/SwipeableDrawer.js +3 -3
  241. package/Switch/Switch.d.ts +5 -5
  242. package/Switch/Switch.js +3 -3
  243. package/Tab/Tab.d.ts +4 -4
  244. package/Tab/Tab.js +14 -10
  245. package/Tab/tabClasses.d.ts +5 -1
  246. package/Tab/tabClasses.js +1 -1
  247. package/TabScrollButton/TabScrollButton.d.ts +3 -3
  248. package/TabScrollButton/TabScrollButton.js +3 -3
  249. package/Table/Table.d.ts +2 -2
  250. package/Table/Table.js +3 -3
  251. package/TableBody/TableBody.d.ts +2 -2
  252. package/TableBody/TableBody.js +3 -3
  253. package/TableCell/TableCell.d.ts +3 -3
  254. package/TableCell/TableCell.js +3 -3
  255. package/TableContainer/TableContainer.d.ts +2 -2
  256. package/TableContainer/TableContainer.js +3 -3
  257. package/TableFooter/TableFooter.d.ts +2 -2
  258. package/TableFooter/TableFooter.js +3 -3
  259. package/TableHead/TableHead.d.ts +2 -2
  260. package/TableHead/TableHead.js +3 -3
  261. package/TablePagination/TablePagination.d.ts +4 -4
  262. package/TablePagination/TablePagination.js +3 -3
  263. package/TableRow/TableRow.d.ts +2 -2
  264. package/TableRow/TableRow.js +3 -3
  265. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  266. package/TableSortLabel/TableSortLabel.js +4 -4
  267. package/TableSortLabel/tableSortLabelClasses.d.ts +10 -2
  268. package/TableSortLabel/tableSortLabelClasses.js +1 -1
  269. package/Tabs/Tabs.d.ts +2 -2
  270. package/Tabs/Tabs.js +5 -14
  271. package/TextField/TextField.d.ts +11 -11
  272. package/TextField/TextField.js +3 -3
  273. package/ToggleButton/ToggleButton.d.ts +3 -3
  274. package/ToggleButton/ToggleButton.js +3 -3
  275. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -3
  276. package/ToggleButtonGroup/ToggleButtonGroup.js +3 -3
  277. package/Toolbar/Toolbar.d.ts +2 -2
  278. package/Toolbar/Toolbar.js +3 -3
  279. package/Tooltip/Tooltip.d.ts +5 -7
  280. package/Tooltip/Tooltip.js +9 -22
  281. package/Typography/Typography.d.ts +3 -3
  282. package/Typography/Typography.js +4 -4
  283. package/Zoom/Zoom.d.ts +4 -4
  284. package/Zoom/Zoom.js +1 -1
  285. package/index.js +1 -1
  286. package/locale/index.d.ts +1 -0
  287. package/locale/index.js +74 -1
  288. package/modern/Accordion/Accordion.js +3 -5
  289. package/modern/AccordionActions/AccordionActions.js +3 -3
  290. package/modern/AccordionDetails/AccordionDetails.js +3 -3
  291. package/modern/AccordionSummary/AccordionSummary.js +3 -3
  292. package/modern/Alert/Alert.js +3 -3
  293. package/modern/AlertTitle/AlertTitle.js +3 -3
  294. package/modern/AppBar/AppBar.js +5 -9
  295. package/modern/Autocomplete/Autocomplete.js +13 -26
  296. package/modern/Avatar/Avatar.js +6 -5
  297. package/modern/AvatarGroup/AvatarGroup.js +40 -21
  298. package/modern/Backdrop/Backdrop.js +5 -8
  299. package/modern/Badge/Badge.js +3 -3
  300. package/modern/BottomNavigation/BottomNavigation.js +3 -3
  301. package/modern/BottomNavigationAction/BottomNavigationAction.js +3 -3
  302. package/modern/Breadcrumbs/Breadcrumbs.js +3 -3
  303. package/modern/Button/Button.js +3 -3
  304. package/modern/ButtonBase/ButtonBase.js +23 -52
  305. package/modern/ButtonBase/TouchRipple.js +3 -3
  306. package/modern/ButtonGroup/ButtonGroup.js +3 -3
  307. package/modern/Card/Card.js +3 -3
  308. package/modern/CardActionArea/CardActionArea.js +3 -3
  309. package/modern/CardActions/CardActions.js +3 -3
  310. package/modern/CardContent/CardContent.js +3 -3
  311. package/modern/CardHeader/CardHeader.js +3 -3
  312. package/modern/CardMedia/CardMedia.js +3 -3
  313. package/modern/Checkbox/Checkbox.js +3 -3
  314. package/modern/Chip/Chip.js +3 -5
  315. package/modern/CircularProgress/CircularProgress.js +3 -3
  316. package/modern/Collapse/Collapse.js +3 -4
  317. package/modern/CssBaseline/CssBaseline.js +66 -8
  318. package/modern/DefaultPropsProvider/DefaultPropsProvider.js +29 -0
  319. package/modern/DefaultPropsProvider/index.js +1 -0
  320. package/modern/Dialog/Dialog.js +4 -7
  321. package/modern/DialogActions/DialogActions.js +3 -3
  322. package/modern/DialogContent/DialogContent.js +3 -3
  323. package/modern/DialogContentText/DialogContentText.js +3 -3
  324. package/modern/DialogTitle/DialogTitle.js +3 -3
  325. package/modern/Divider/Divider.js +3 -3
  326. package/modern/Drawer/Drawer.js +3 -4
  327. package/modern/Fab/Fab.js +3 -3
  328. package/modern/Fade/Fade.js +1 -1
  329. package/modern/FilledInput/FilledInput.js +13 -11
  330. package/modern/FilledInput/filledInputClasses.js +1 -1
  331. package/modern/FormControl/FormControl.js +3 -3
  332. package/modern/FormControlLabel/FormControlLabel.js +3 -3
  333. package/modern/FormGroup/FormGroup.js +3 -3
  334. package/modern/FormHelperText/FormHelperText.js +3 -3
  335. package/modern/FormLabel/FormLabel.js +3 -3
  336. package/modern/Grid/Grid.js +8 -13
  337. package/modern/Grow/Grow.js +1 -1
  338. package/modern/Hidden/Hidden.js +2 -0
  339. package/modern/Icon/Icon.js +3 -3
  340. package/modern/IconButton/IconButton.js +3 -5
  341. package/modern/ImageList/ImageList.js +3 -11
  342. package/modern/ImageListItem/ImageListItem.js +3 -3
  343. package/modern/ImageListItemBar/ImageListItemBar.js +3 -3
  344. package/modern/InitColorSchemeScript/InitColorSchemeScript.js +16 -0
  345. package/modern/InitColorSchemeScript/index.js +1 -0
  346. package/modern/Input/Input.js +5 -9
  347. package/modern/InputAdornment/InputAdornment.js +3 -5
  348. package/modern/InputBase/InputBase.js +31 -40
  349. package/modern/InputLabel/InputLabel.js +3 -3
  350. package/modern/LinearProgress/LinearProgress.js +3 -3
  351. package/modern/Link/Link.js +7 -18
  352. package/modern/List/List.js +3 -3
  353. package/modern/ListItem/ListItem.js +9 -17
  354. package/modern/ListItemAvatar/ListItemAvatar.js +3 -3
  355. package/modern/ListItemButton/ListItemButton.js +3 -3
  356. package/modern/ListItemIcon/ListItemIcon.js +3 -3
  357. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +5 -3
  358. package/modern/ListItemText/ListItemText.js +3 -3
  359. package/modern/ListSubheader/ListSubheader.js +3 -3
  360. package/modern/Menu/Menu.js +4 -7
  361. package/modern/MenuItem/MenuItem.js +3 -3
  362. package/modern/MobileStepper/MobileStepper.js +3 -3
  363. package/modern/Modal/Modal.js +32 -24
  364. package/modern/NativeSelect/NativeSelectInput.js +0 -4
  365. package/modern/OutlinedInput/OutlinedInput.js +4 -5
  366. package/modern/Pagination/Pagination.js +3 -3
  367. package/modern/PaginationItem/PaginationItem.js +3 -3
  368. package/modern/Paper/Paper.js +3 -4
  369. package/modern/PigmentContainer/PigmentContainer.js +98 -0
  370. package/modern/PigmentContainer/index.js +3 -0
  371. package/modern/PigmentGrid/PigmentGrid.js +149 -0
  372. package/modern/PigmentGrid/index.js +3 -0
  373. package/modern/PigmentHidden/PigmentHidden.js +278 -0
  374. package/modern/PigmentHidden/index.js +2 -0
  375. package/modern/PigmentStack/PigmentStack.js +81 -0
  376. package/modern/PigmentStack/index.js +3 -0
  377. package/modern/Popover/Popover.js +30 -29
  378. package/modern/Popper/Popper.js +14 -9
  379. package/modern/Radio/Radio.js +3 -3
  380. package/modern/Rating/Rating.js +8 -15
  381. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +24 -11
  382. package/modern/Skeleton/Skeleton.js +3 -3
  383. package/modern/Slide/Slide.js +1 -1
  384. package/modern/Slider/Slider.js +4 -4
  385. package/modern/Snackbar/Snackbar.js +3 -4
  386. package/modern/SnackbarContent/SnackbarContent.js +3 -3
  387. package/modern/SpeedDial/SpeedDial.js +3 -6
  388. package/modern/SpeedDialAction/SpeedDialAction.js +3 -3
  389. package/modern/SpeedDialIcon/SpeedDialIcon.js +3 -3
  390. package/modern/Step/Step.js +3 -3
  391. package/modern/StepButton/StepButton.js +3 -3
  392. package/modern/StepConnector/StepConnector.js +3 -3
  393. package/modern/StepContent/StepContent.js +3 -3
  394. package/modern/StepIcon/StepIcon.js +3 -3
  395. package/modern/StepLabel/StepLabel.js +3 -7
  396. package/modern/Stepper/Stepper.js +7 -5
  397. package/modern/Stepper/stepperClasses.js +1 -1
  398. package/modern/SvgIcon/SvgIcon.js +3 -3
  399. package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
  400. package/modern/Switch/Switch.js +3 -3
  401. package/modern/Tab/Tab.js +14 -10
  402. package/modern/Tab/tabClasses.js +1 -1
  403. package/modern/TabScrollButton/TabScrollButton.js +3 -3
  404. package/modern/Table/Table.js +3 -3
  405. package/modern/TableBody/TableBody.js +3 -3
  406. package/modern/TableCell/TableCell.js +3 -3
  407. package/modern/TableContainer/TableContainer.js +3 -3
  408. package/modern/TableFooter/TableFooter.js +3 -3
  409. package/modern/TableHead/TableHead.js +3 -3
  410. package/modern/TablePagination/TablePagination.js +3 -3
  411. package/modern/TableRow/TableRow.js +3 -3
  412. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  413. package/modern/TableSortLabel/tableSortLabelClasses.js +1 -1
  414. package/modern/Tabs/Tabs.js +5 -14
  415. package/modern/TextField/TextField.js +3 -3
  416. package/modern/ToggleButton/ToggleButton.js +3 -3
  417. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -3
  418. package/modern/Toolbar/Toolbar.js +3 -3
  419. package/modern/Tooltip/Tooltip.js +9 -22
  420. package/modern/Typography/Typography.js +4 -4
  421. package/modern/Zoom/Zoom.js +1 -1
  422. package/modern/index.js +1 -1
  423. package/modern/locale/index.js +74 -1
  424. package/modern/styles/CssVarsProvider.js +35 -12
  425. package/modern/styles/createTheme.js +1 -1
  426. package/modern/styles/createTransitions.js +2 -2
  427. package/modern/styles/experimental_extendTheme.js +8 -354
  428. package/modern/styles/extendTheme.js +358 -0
  429. package/modern/styles/index.js +3 -2
  430. package/modern/styles/responsiveFontSizes.js +3 -0
  431. package/modern/styles/stringifyTheme.js +55 -0
  432. package/modern/useLazyRipple/index.js +3 -0
  433. package/modern/useLazyRipple/useLazyRipple.js +85 -0
  434. package/modern/usePagination/usePagination.js +1 -1
  435. package/modern/utils/index.js +0 -1
  436. package/modern/zero-styled/index.js +24 -5
  437. package/node/Accordion/Accordion.js +2 -4
  438. package/node/AccordionActions/AccordionActions.js +2 -2
  439. package/node/AccordionDetails/AccordionDetails.js +2 -2
  440. package/node/AccordionSummary/AccordionSummary.js +2 -2
  441. package/node/Alert/Alert.js +2 -2
  442. package/node/AlertTitle/AlertTitle.js +2 -2
  443. package/node/AppBar/AppBar.js +4 -8
  444. package/node/Autocomplete/Autocomplete.js +12 -25
  445. package/node/Avatar/Avatar.js +5 -4
  446. package/node/AvatarGroup/AvatarGroup.js +39 -20
  447. package/node/Backdrop/Backdrop.js +4 -7
  448. package/node/Badge/Badge.js +2 -2
  449. package/node/BottomNavigation/BottomNavigation.js +2 -2
  450. package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
  451. package/node/Breadcrumbs/Breadcrumbs.js +2 -2
  452. package/node/Button/Button.js +2 -2
  453. package/node/ButtonBase/ButtonBase.js +22 -51
  454. package/node/ButtonBase/TouchRipple.js +2 -2
  455. package/node/ButtonGroup/ButtonGroup.js +2 -2
  456. package/node/Card/Card.js +2 -2
  457. package/node/CardActionArea/CardActionArea.js +2 -2
  458. package/node/CardActions/CardActions.js +2 -2
  459. package/node/CardContent/CardContent.js +2 -2
  460. package/node/CardHeader/CardHeader.js +2 -2
  461. package/node/CardMedia/CardMedia.js +2 -2
  462. package/node/Checkbox/Checkbox.js +2 -2
  463. package/node/Chip/Chip.js +2 -4
  464. package/node/CircularProgress/CircularProgress.js +2 -2
  465. package/node/Collapse/Collapse.js +3 -4
  466. package/node/CssBaseline/CssBaseline.js +70 -10
  467. package/node/DefaultPropsProvider/DefaultPropsProvider.js +38 -0
  468. package/node/DefaultPropsProvider/index.js +20 -0
  469. package/node/Dialog/Dialog.js +4 -7
  470. package/node/DialogActions/DialogActions.js +2 -2
  471. package/node/DialogContent/DialogContent.js +2 -2
  472. package/node/DialogContentText/DialogContentText.js +2 -2
  473. package/node/DialogTitle/DialogTitle.js +2 -2
  474. package/node/Divider/Divider.js +2 -2
  475. package/node/Drawer/Drawer.js +3 -4
  476. package/node/Fab/Fab.js +2 -2
  477. package/node/Fade/Fade.js +2 -2
  478. package/node/FilledInput/FilledInput.js +12 -10
  479. package/node/FilledInput/filledInputClasses.js +1 -1
  480. package/node/FormControl/FormControl.js +2 -2
  481. package/node/FormControlLabel/FormControlLabel.js +2 -2
  482. package/node/FormGroup/FormGroup.js +2 -2
  483. package/node/FormHelperText/FormHelperText.js +2 -2
  484. package/node/FormLabel/FormLabel.js +2 -2
  485. package/node/Grid/Grid.js +8 -13
  486. package/node/Grow/Grow.js +2 -2
  487. package/node/Hidden/Hidden.js +2 -0
  488. package/node/Icon/Icon.js +2 -2
  489. package/node/IconButton/IconButton.js +2 -4
  490. package/node/ImageList/ImageList.js +2 -10
  491. package/node/ImageListItem/ImageListItem.js +2 -2
  492. package/node/ImageListItemBar/ImageListItemBar.js +2 -2
  493. package/node/InitColorSchemeScript/InitColorSchemeScript.js +25 -0
  494. package/node/InitColorSchemeScript/index.js +13 -0
  495. package/node/Input/Input.js +4 -8
  496. package/node/InputAdornment/InputAdornment.js +2 -4
  497. package/node/InputBase/InputBase.js +30 -39
  498. package/node/InputLabel/InputLabel.js +2 -2
  499. package/node/LinearProgress/LinearProgress.js +2 -2
  500. package/node/Link/Link.js +7 -18
  501. package/node/List/List.js +2 -2
  502. package/node/ListItem/ListItem.js +8 -16
  503. package/node/ListItemAvatar/ListItemAvatar.js +2 -2
  504. package/node/ListItemButton/ListItemButton.js +2 -2
  505. package/node/ListItemIcon/ListItemIcon.js +2 -2
  506. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -2
  507. package/node/ListItemText/ListItemText.js +2 -2
  508. package/node/ListSubheader/ListSubheader.js +2 -2
  509. package/node/Menu/Menu.js +3 -6
  510. package/node/MenuItem/MenuItem.js +2 -2
  511. package/node/MobileStepper/MobileStepper.js +2 -2
  512. package/node/Modal/Modal.js +31 -24
  513. package/node/NativeSelect/NativeSelectInput.js +0 -4
  514. package/node/OutlinedInput/OutlinedInput.js +3 -4
  515. package/node/Pagination/Pagination.js +2 -2
  516. package/node/PaginationItem/PaginationItem.js +2 -2
  517. package/node/Paper/Paper.js +3 -4
  518. package/node/PigmentContainer/PigmentContainer.js +108 -0
  519. package/node/PigmentContainer/index.js +36 -0
  520. package/node/PigmentGrid/PigmentGrid.js +159 -0
  521. package/node/PigmentGrid/index.js +36 -0
  522. package/node/PigmentHidden/PigmentHidden.js +287 -0
  523. package/node/PigmentHidden/index.js +26 -0
  524. package/node/PigmentStack/PigmentStack.js +91 -0
  525. package/node/PigmentStack/index.js +36 -0
  526. package/node/Popover/Popover.js +29 -28
  527. package/node/Popper/Popper.js +15 -10
  528. package/node/Radio/Radio.js +2 -2
  529. package/node/Rating/Rating.js +6 -13
  530. package/node/ScopedCssBaseline/ScopedCssBaseline.js +27 -13
  531. package/node/Skeleton/Skeleton.js +2 -2
  532. package/node/Slide/Slide.js +2 -2
  533. package/node/Slider/Slider.js +3 -3
  534. package/node/Snackbar/Snackbar.js +3 -4
  535. package/node/SnackbarContent/SnackbarContent.js +2 -2
  536. package/node/SpeedDial/SpeedDial.js +3 -6
  537. package/node/SpeedDialAction/SpeedDialAction.js +2 -2
  538. package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
  539. package/node/Step/Step.js +2 -2
  540. package/node/StepButton/StepButton.js +2 -2
  541. package/node/StepConnector/StepConnector.js +2 -2
  542. package/node/StepContent/StepContent.js +2 -2
  543. package/node/StepIcon/StepIcon.js +2 -2
  544. package/node/StepLabel/StepLabel.js +2 -6
  545. package/node/Stepper/Stepper.js +6 -4
  546. package/node/Stepper/stepperClasses.js +1 -1
  547. package/node/SvgIcon/SvgIcon.js +2 -2
  548. package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
  549. package/node/Switch/Switch.js +2 -2
  550. package/node/Tab/Tab.js +13 -9
  551. package/node/Tab/tabClasses.js +1 -1
  552. package/node/TabScrollButton/TabScrollButton.js +2 -2
  553. package/node/Table/Table.js +2 -2
  554. package/node/TableBody/TableBody.js +2 -2
  555. package/node/TableCell/TableCell.js +2 -2
  556. package/node/TableContainer/TableContainer.js +2 -2
  557. package/node/TableFooter/TableFooter.js +2 -2
  558. package/node/TableHead/TableHead.js +2 -2
  559. package/node/TablePagination/TablePagination.js +2 -2
  560. package/node/TableRow/TableRow.js +2 -2
  561. package/node/TableSortLabel/TableSortLabel.js +3 -3
  562. package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
  563. package/node/Tabs/Tabs.js +5 -14
  564. package/node/TextField/TextField.js +2 -2
  565. package/node/ToggleButton/ToggleButton.js +2 -2
  566. package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  567. package/node/Toolbar/Toolbar.js +2 -2
  568. package/node/Tooltip/Tooltip.js +9 -22
  569. package/node/Typography/Typography.js +4 -4
  570. package/node/Zoom/Zoom.js +2 -2
  571. package/node/index.js +1 -1
  572. package/node/locale/index.js +75 -2
  573. package/node/styles/CssVarsProvider.js +41 -14
  574. package/node/styles/createTheme.js +1 -1
  575. package/node/styles/createTransitions.js +2 -2
  576. package/node/styles/experimental_extendTheme.js +9 -360
  577. package/node/styles/extendTheme.js +370 -0
  578. package/node/styles/index.js +18 -1
  579. package/node/styles/responsiveFontSizes.js +3 -0
  580. package/node/styles/stringifyTheme.js +62 -0
  581. package/node/{useTouchRipple → useLazyRipple}/index.js +2 -2
  582. package/node/useLazyRipple/useLazyRipple.js +104 -0
  583. package/node/usePagination/usePagination.js +1 -1
  584. package/node/utils/index.js +0 -7
  585. package/node/zero-styled/index.js +33 -5
  586. package/package.json +24 -8
  587. package/styles/CssVarsProvider.d.ts +5 -3
  588. package/styles/CssVarsProvider.js +35 -12
  589. package/styles/createTheme.js +1 -1
  590. package/styles/createTransitions.js +2 -2
  591. package/styles/experimental_extendTheme.js +8 -354
  592. package/styles/{experimental_extendTheme.d.ts → extendTheme.d.ts} +1 -2
  593. package/styles/extendTheme.js +358 -0
  594. package/styles/index.d.ts +3 -2
  595. package/styles/index.js +3 -2
  596. package/styles/responsiveFontSizes.d.ts +3 -4
  597. package/styles/responsiveFontSizes.js +3 -0
  598. package/styles/stringifyTheme.d.ts +20 -0
  599. package/styles/stringifyTheme.js +55 -0
  600. package/themeCssVarsAugmentation/index.d.ts +1 -1
  601. package/types/OverridableComponentAugmentation.d.ts +2 -2
  602. package/useLazyRipple/index.d.ts +1 -0
  603. package/useLazyRipple/index.js +3 -0
  604. package/useLazyRipple/package.json +6 -0
  605. package/useLazyRipple/useLazyRipple.d.ts +32 -0
  606. package/useLazyRipple/useLazyRipple.js +85 -0
  607. package/usePagination/usePagination.js +1 -1
  608. package/utils/index.d.ts +0 -1
  609. package/utils/index.js +0 -1
  610. package/zero-styled/index.d.ts +10 -2
  611. package/zero-styled/index.js +24 -5
  612. package/modern/useMediaQuery/useMediaQueryTheme.js +0 -8
  613. package/modern/useTouchRipple/index.js +0 -3
  614. package/modern/useTouchRipple/useTouchRipple.js +0 -94
  615. package/modern/utils/scrollLeft.js +0 -1
  616. package/modern/utils/useIsFocusVisible.js +0 -4
  617. package/node/useMediaQuery/useMediaQueryTheme.js +0 -13
  618. package/node/useTouchRipple/useTouchRipple.js +0 -105
  619. package/node/utils/scrollLeft.js +0 -18
  620. package/node/utils/useIsFocusVisible.js +0 -10
  621. package/useMediaQuery/useMediaQueryTheme.d.ts +0 -3
  622. package/useMediaQuery/useMediaQueryTheme.js +0 -8
  623. package/useTouchRipple/index.d.ts +0 -1
  624. package/useTouchRipple/index.js +0 -3
  625. package/useTouchRipple/useTouchRipple.d.ts +0 -28
  626. package/useTouchRipple/useTouchRipple.js +0 -94
  627. package/utils/scrollLeft.js +0 -1
  628. package/utils/useIsFocusVisible.d.ts +0 -3
  629. package/utils/useIsFocusVisible.js +0 -4
@@ -6,14 +6,15 @@ import clsx from 'clsx';
6
6
  import refType from '@mui/utils/refType';
7
7
  import elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';
8
8
  import composeClasses from '@mui/utils/composeClasses';
9
- import { styled, createUseThemeProps } from '../zero-styled';
9
+ import isFocusVisible from '@mui/utils/isFocusVisible';
10
+ import { styled } from '../zero-styled';
11
+ import { useDefaultProps } from '../DefaultPropsProvider';
10
12
  import useForkRef from '../utils/useForkRef';
11
13
  import useEventCallback from '../utils/useEventCallback';
12
- import useIsFocusVisible from '../utils/useIsFocusVisible';
14
+ import useLazyRipple from '../useLazyRipple';
13
15
  import TouchRipple from './TouchRipple';
14
16
  import buttonBaseClasses, { getButtonBaseUtilityClass } from './buttonBaseClasses';
15
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
- const useThemeProps = createUseThemeProps('MuiButtonBase');
17
18
  const useUtilityClasses = ownerState => {
18
19
  const {
19
20
  disabled,
@@ -80,7 +81,7 @@ export const ButtonBaseRoot = styled('button', {
80
81
  * It contains a load of style reset and some focus/ripple logic.
81
82
  */
82
83
  const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {
83
- const props = useThemeProps({
84
+ const props = useDefaultProps({
84
85
  props: inProps,
85
86
  name: 'MuiButtonBase'
86
87
  });
@@ -117,14 +118,8 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
117
118
  ...other
118
119
  } = props;
119
120
  const buttonRef = React.useRef(null);
120
- const rippleRef = React.useRef(null);
121
- const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
122
- const {
123
- isFocusVisibleRef,
124
- onFocus: handleFocusVisible,
125
- onBlur: handleBlurVisible,
126
- ref: focusVisibleRef
127
- } = useIsFocusVisible();
121
+ const ripple = useLazyRipple();
122
+ const handleRippleRef = useForkRef(ripple.ref, touchRippleRef);
128
123
  const [focusVisible, setFocusVisible] = React.useState(false);
129
124
  if (disabled && focusVisible) {
130
125
  setFocusVisible(false);
@@ -135,24 +130,20 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
135
130
  buttonRef.current.focus();
136
131
  }
137
132
  }), []);
138
- const [mountedState, setMountedState] = React.useState(false);
139
- React.useEffect(() => {
140
- setMountedState(true);
141
- }, []);
142
- const enableTouchRipple = mountedState && !disableRipple && !disabled;
133
+ const enableTouchRipple = ripple.shouldMount && !disableRipple && !disabled;
143
134
  React.useEffect(() => {
144
- if (focusVisible && focusRipple && !disableRipple && mountedState) {
145
- rippleRef.current.pulsate();
135
+ if (focusVisible && focusRipple && !disableRipple) {
136
+ ripple.pulsate();
146
137
  }
147
- }, [disableRipple, focusRipple, focusVisible, mountedState]);
138
+ }, [disableRipple, focusRipple, focusVisible, ripple]);
148
139
  function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {
149
140
  return useEventCallback(event => {
150
141
  if (eventCallback) {
151
142
  eventCallback(event);
152
143
  }
153
144
  const ignore = skipRippleAction;
154
- if (!ignore && rippleRef.current) {
155
- rippleRef.current[rippleAction](event);
145
+ if (!ignore) {
146
+ ripple[rippleAction](event);
156
147
  }
157
148
  return true;
158
149
  });
@@ -173,8 +164,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
173
164
  const handleTouchEnd = useRippleHandler('stop', onTouchEnd);
174
165
  const handleTouchMove = useRippleHandler('stop', onTouchMove);
175
166
  const handleBlur = useRippleHandler('stop', event => {
176
- handleBlurVisible(event);
177
- if (isFocusVisibleRef.current === false) {
167
+ if (!isFocusVisible(event.target)) {
178
168
  setFocusVisible(false);
179
169
  }
180
170
  if (onBlur) {
@@ -186,8 +176,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
186
176
  if (!buttonRef.current) {
187
177
  buttonRef.current = event.currentTarget;
188
178
  }
189
- handleFocusVisible(event);
190
- if (isFocusVisibleRef.current === true) {
179
+ if (isFocusVisible(event.target)) {
191
180
  setFocusVisible(true);
192
181
  if (onFocusVisible) {
193
182
  onFocusVisible(event);
@@ -201,17 +190,11 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
201
190
  const button = buttonRef.current;
202
191
  return component && component !== 'button' && !(button.tagName === 'A' && button.href);
203
192
  };
204
-
205
- /**
206
- * IE11 shim for https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/repeat
207
- */
208
- const keydownRef = React.useRef(false);
209
193
  const handleKeyDown = useEventCallback(event => {
210
194
  // Check if key is already down to avoid repeats being counted as multiple activations
211
- if (focusRipple && !keydownRef.current && focusVisible && rippleRef.current && event.key === ' ') {
212
- keydownRef.current = true;
213
- rippleRef.current.stop(event, () => {
214
- rippleRef.current.start(event);
195
+ if (focusRipple && !event.repeat && focusVisible && event.key === ' ') {
196
+ ripple.stop(event, () => {
197
+ ripple.start(event);
215
198
  });
216
199
  }
217
200
  if (event.target === event.currentTarget && isNonNativeButton() && event.key === ' ') {
@@ -232,10 +215,9 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
232
215
  const handleKeyUp = useEventCallback(event => {
233
216
  // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed
234
217
  // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0
235
- if (focusRipple && event.key === ' ' && rippleRef.current && focusVisible && !event.defaultPrevented) {
236
- keydownRef.current = false;
237
- rippleRef.current.stop(event, () => {
238
- rippleRef.current.pulsate(event);
218
+ if (focusRipple && event.key === ' ' && focusVisible && !event.defaultPrevented) {
219
+ ripple.stop(event, () => {
220
+ ripple.pulsate(event);
239
221
  });
240
222
  }
241
223
  if (onKeyUp) {
@@ -263,15 +245,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
263
245
  buttonProps['aria-disabled'] = disabled;
264
246
  }
265
247
  }
266
- const handleRef = useForkRef(ref, focusVisibleRef, buttonRef);
267
- if (process.env.NODE_ENV !== 'production') {
268
- // eslint-disable-next-line react-hooks/rules-of-hooks
269
- React.useEffect(() => {
270
- if (enableTouchRipple && !rippleRef.current) {
271
- console.error(['MUI: The `component` prop provided to ButtonBase is invalid.', 'Please make sure the children prop is rendered in this custom component.'].join('\n'));
272
- }
273
- }, [enableTouchRipple]);
274
- }
248
+ const handleRef = useForkRef(ref, buttonRef);
275
249
  const ownerState = {
276
250
  ...props,
277
251
  centerRipple,
@@ -306,10 +280,7 @@ const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, re
306
280
  type: type,
307
281
  ...buttonProps,
308
282
  ...other,
309
- children: [children, enableTouchRipple ?
310
- /*#__PURE__*/
311
- /* TouchRipple is only needed client-side, x2 boost on the server. */
312
- _jsx(TouchRipple, {
283
+ children: [children, enableTouchRipple ? /*#__PURE__*/_jsx(TouchRipple, {
313
284
  ref: handleRippleRef,
314
285
  center: centerRipple,
315
286
  ...TouchRippleProps
@@ -5,11 +5,11 @@ import PropTypes from 'prop-types';
5
5
  import { TransitionGroup } from 'react-transition-group';
6
6
  import clsx from 'clsx';
7
7
  import useTimeout from '@mui/utils/useTimeout';
8
- import { keyframes, styled, createUseThemeProps } from '../zero-styled';
8
+ import { keyframes, styled } from '../zero-styled';
9
+ import { useDefaultProps } from '../DefaultPropsProvider';
9
10
  import Ripple from './Ripple';
10
11
  import touchRippleClasses from './touchRippleClasses';
11
12
  import { jsx as _jsx } from "react/jsx-runtime";
12
- const useThemeProps = createUseThemeProps('MuiTouchRipple');
13
13
  const DURATION = 550;
14
14
  export const DELAY_RIPPLE = 80;
15
15
  const enterKeyframe = keyframes`
@@ -124,7 +124,7 @@ export const TouchRippleRipple = styled(Ripple, {
124
124
  * TODO v5: Make private
125
125
  */
126
126
  const TouchRipple = /*#__PURE__*/React.forwardRef(function TouchRipple(inProps, ref) {
127
- const props = useThemeProps({
127
+ const props = useDefaultProps({
128
128
  props: inProps,
129
129
  name: 'MuiTouchRipple'
130
130
  });
@@ -90,11 +90,11 @@ export interface ButtonGroupTypeMap<
90
90
  *
91
91
  * Demos:
92
92
  *
93
- * - [Button Group](https://mui.com/material-ui/react-button-group/)
93
+ * - [Button Group](https://next.mui.com/material-ui/react-button-group/)
94
94
  *
95
95
  * API:
96
96
  *
97
- * - [ButtonGroup API](https://mui.com/material-ui/api/button-group/)
97
+ * - [ButtonGroup API](https://next.mui.com/material-ui/api/button-group/)
98
98
  */
99
99
  declare const ButtonGroup: OverridableComponent<ButtonGroupTypeMap>;
100
100
 
@@ -7,12 +7,12 @@ import composeClasses from '@mui/utils/composeClasses';
7
7
  import { alpha } from '@mui/system/colorManipulator';
8
8
  import getValidReactChildren from '@mui/utils/getValidReactChildren';
9
9
  import capitalize from '../utils/capitalize';
10
- import { styled, createUseThemeProps } from '../zero-styled';
10
+ import { styled } from '../zero-styled';
11
+ import { useDefaultProps } from '../DefaultPropsProvider';
11
12
  import buttonGroupClasses, { getButtonGroupUtilityClass } from './buttonGroupClasses';
12
13
  import ButtonGroupContext from './ButtonGroupContext';
13
14
  import ButtonGroupButtonContext from './ButtonGroupButtonContext';
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
- const useThemeProps = createUseThemeProps('MuiButtonGroup');
16
16
  const overridesResolver = (props, styles) => {
17
17
  const {
18
18
  ownerState
@@ -232,7 +232,7 @@ const ButtonGroupRoot = styled('div', {
232
232
  }
233
233
  }));
234
234
  const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, ref) {
235
- const props = useThemeProps({
235
+ const props = useDefaultProps({
236
236
  props: inProps,
237
237
  name: 'MuiButtonGroup'
238
238
  });
package/CHANGELOG.md CHANGED
@@ -1,5 +1,409 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v6.0.0-beta.0
4
+
5
+ <!-- generated comparing v6.0.0-alpha.14..next -->
6
+
7
+ _Jul 11, 2024_
8
+
9
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - 🎉 This is the first v6 beta release! A huge thanks to everyone who helped to make this happen! The target date for a stable release is the 28th of July. The next month will be used to polish v6, and ease the migration from v5. You can follow the [v6 stable milestone](https://github.com/mui/material-ui/milestone/42) for more details.
12
+ - 🚀 All planned breaking changes are completed.
13
+
14
+ ### `@mui/material@v6.0.0-beta.0`
15
+
16
+ - Revert deprecation warnings for `*Components` and `*Props` for v6 (#42466) @lhilgert9
17
+ - Performance: lazy Ripple (#41061) @romgrk
18
+ - [AppBar] Fix inherit color is inconsistent between ThemeProvider and CssVarsProvider (#42714) @ZeeshanTamboli
19
+ - [Autocomplete] Add new AutocompleteInputChangeReason (#37301) @binh1298
20
+
21
+ ### `@mui/material-pigment-css@v6.0.0-beta.0`
22
+
23
+ - Create a wrapper package over Pigment CSS (#42819) @brijeshb42
24
+
25
+ ### `@mui/base@5.0.0-beta.53`
26
+
27
+ - [Autocomplete] Add new AutocompleteInputChangeReason (#37301) @binh1298
28
+
29
+ ### Docs
30
+
31
+ - Replace v6 "alpha" mentions with "beta" (#42895) @DiegoAndai
32
+ - Fix typos (#42862) @omahs
33
+ - Fix issues reported by react compiler in docs folder (#42881) @sai6855
34
+ - Fix 301 @oliviertassinari
35
+ - [LinearProgress] Fix buffer demo (#42858) @mbrookes
36
+ - Adjust site to add Toolpad on the homepage (#38604) @bharatkashyap
37
+
38
+ ### Core
39
+
40
+ - Fix imports in `Demo` component (#42857) @LukasTy
41
+ - Use @mui/docs/HighlightedCodeWithTabs in markdown (#42841) @Janpot
42
+ - Simpler pnpm dedupe error message to act on @oliviertassinari
43
+ - Fix split infinitive use in tests @oliviertassinari
44
+ - [lab] Fix issues reported by react-compiler in mui-lab (#42880) @sai6855
45
+
46
+ All contributors of this release in alphabetical order: @bharatkashyap, @brijeshb42, @DiegoAndai, @Janpot, @lhilgert9, @LukasTy, @mbrookes, @oliviertassinari, @omahs, @romgrk, @sai6855, @ZeeshanTamboli
47
+
48
+ ## v6.0.0-alpha.14
49
+
50
+ <!-- generated comparing v6.0.0-alpha.13..next -->
51
+
52
+ _Jul 3, 2024_
53
+
54
+ A big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
55
+
56
+ - ✨ Updated Grid v2 to match PigmentGrid (#42742) @DiegoAndai
57
+
58
+ ### `@mui/material@v6.0.0-alpha.14`
59
+
60
+ #### BREAKING CHANGES
61
+
62
+ - [Grid] Update Grid props to match PigmentGrid (#42742) @DiegoAndai
63
+
64
+ Use the codemod below to migrate the props:
65
+
66
+ ```bash
67
+ npx @mui/codemod@next v6.0.0/grid-v2-props /path/to/folder
68
+ ```
69
+
70
+ #### Changes
71
+
72
+ - [Alert] Add ability to override slot props (#42787) @alexey-kozlenkov
73
+ - [Dialog] Revert incorrect textAlign style removal (#42778) @DiegoAndai
74
+ - [theme] Support `CssVarsTheme` in `responsiveFontSizes` return type (#42786) @jxdp
75
+
76
+ ### Docs
77
+
78
+ - [material-ui] Add some writing tweaks to v6 migration page (#42623) @danilo-leal
79
+ - [material-ui] Fix issues reported by react-compiler in docs folder (#42830) @sai6855
80
+ - [material-ui] Add some writing tweaks to v6 migration page (#42623) @danilo-leal
81
+ - [base-ui] Fix wrong description for `UseTabParameters.onChange` (#42749) @ohgree
82
+ - Fix 301 MDN redirections @oliviertassinari
83
+
84
+ ### Core
85
+
86
+ - [core] Bump React to 18.3.1 (#42047) @renovate[bot]
87
+ - [core] Revert lint for `useThemeProps` (#42817) @siriwatknp
88
+ - [core] Remove useIsFocusVisible util (#42467) @DiegoAndai
89
+ - [core] Remove react-test-renderer (#42784) @aarongarciah
90
+ - [core][mui-utils] Remove remaining IE11 references (#42777) @DiegoAndai
91
+ - [code-infra] Move `HighlightedCode` test into `@mui/docs` package (#42835) @LukasTy
92
+ - [code-infra] Cleanup `@mui/docs` usage and legacy re-exports (#42833) @LukasTy
93
+ - [docs-infra] Fix React Compiler ESLint issues in website components (#42566) @aarongarciah
94
+ - [docs-infra] Add batch of design polish (#42823) @danilo-leal
95
+ - [test][mui-utils] Remove usages of deprecated react-dom APIs (#42780) @aarongarciah
96
+ - [test][joy-ui][Autocomplete] Fix spread key error in test (#42775) @aarongarciah
97
+
98
+ All contributors of this release in alphabetical order: @aarongarciah, @alexey-kozlenkov, @danilo-leal, @DiegoAndai, @Janpot, @jxdp, @LukasTy, @ohgree, @oliviertassinari, @renovate[bot], @sai6855, @siriwatknp
99
+
100
+ ## v6.0.0-alpha.13
101
+
102
+ <!-- generated comparing v6.0.0-alpha.12..next -->
103
+
104
+ _Jun 27, 2024_
105
+
106
+ A big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
107
+
108
+ - 🚀 Added layout components for Pigment CSS integration (#42693) @siriwatknp
109
+
110
+ ### `@mui/material@6.0.0-alpha.13`
111
+
112
+ - [Autocomplete] Fix more React 18.3 key spread warnings in demos (#42639) @wbt
113
+ - [Container][Grid][Stack][Hidden] Export Pigment CSS layout components (#42693) @siriwatknp
114
+ - [Text Field] when click password visibility button, text caret position change to very front. (#42595) @appleSimple
115
+ - [Modal] migrate useSlotProps to useSLot (#42150) @sai6855
116
+
117
+ ### `@mui/styles@6.0.0-alpha.13`
118
+
119
+ - [withStyles] Expect React defaultProps warning in test (#42752) @aarongarciah
120
+
121
+ ### Docs
122
+
123
+ - Fix link in CONTRIBUTING.md (#42755) @Janpot
124
+ - Add documentation on migrating JSS's alternative, array-based syntax to syntax supported by Emotion (#42053) @cjl750
125
+ - Fix type error in virtualized table demo (#42757) @aarongarciah
126
+ - Add first batch of v6 migration (#42242) @siriwatknp
127
+ - Fix quotes on font-family dedeclaration in the Landing Page template theme (#42748) @joetats
128
+
129
+ ### Core
130
+
131
+ - [code-infra] Refactor eslint `import/no-cycle` rule (#42705) @LukasTy
132
+ - [core] Target direct version for prerelease (#42768) @siriwatknp
133
+ - [test] Remove enzyme (#42706) @aarongarciah
134
+ - [test] Remove createMount test util (#42703) @aarongarciah
135
+ - [website] Add Ale to team (#42764) @alelthomas
136
+
137
+ All contributors of this release in alphabetical order: @aarongarciah, @alelthomas, @appleSimple, @cjl750, @Janpot, @joetats, @LukasTy, @sai6855, @siriwatknp, @wbt
138
+
139
+ ## v6.0.0-alpha.12
140
+
141
+ <!-- generated comparing v6.0.0-alpha.11..next -->
142
+
143
+ _Jun 24, 2024_
144
+
145
+ A big thanks to the 17 contributors who made this release possible.
146
+
147
+ ### `@mui/material@6.0.0-alpha.12`
148
+
149
+ - Add `InitColorSchemeScript` for Next.js App Router (#42247) @siriwatknp
150
+ - [Autocomplete] Fix renderOption props type (#42689) @DiegoAndai
151
+ - [Autocomplete] Fix React 18.3 key spread warnings in Autocomplete demos (#42691) @aarongarciah
152
+ - Support Pigment CSS for `CssBaseline`, `ScopedCssBaseline` and `Popper` (#42640) @siriwatknp
153
+ - Add `DefaultPropsProvider` for Pigment CSS integration (#42638) @siriwatknp
154
+ - [Stepper] Generate class for nonLinear prop (#42620) @alexismo
155
+ - [Tab] Fix failing test (#42686) @aarongarciah
156
+ - [Tab] Deprecate iconWrapper class for icon class (#42647) @sai6855
157
+ - [TableSortLabel] Deprecate composed classes (#42281) @sai6855
158
+ - [usePagination] Update pagination `siblingsEnd` calculation logic (#42667) @Mini-ghost
159
+
160
+ ### `@mui/codemod@6.0.0-alpha.12`
161
+
162
+ - Support dynamic props styled transformation (#42683) @siriwatknp
163
+
164
+ ### `@mui/system@6.0.0-alpha.12`
165
+
166
+ - Fix issues reported by react compiler in `mui-system` package (#42637) @sai6855
167
+ - [useMediaQuery] Remove deprecated types (#42560) @aarongarciah
168
+
169
+ ### `@mui/joy@5.0.0-beta.45`
170
+
171
+ - Fix issues reported by the React Compiler (#42671) @anuujj
172
+ - [Autocomplete] Fix React spread key warning (#42741) @aarongarciah
173
+
174
+ ### `@mui/lab@6.0.0-alpha.12`
175
+
176
+ - [LoadingButton] Apply wrapping element to prevent React crash on Google page translation (#35198) @BartJanvanAssen
177
+
178
+ ### Docs
179
+
180
+ - Fix git diff format in migration to v6 (#42711) @oliviertassinari
181
+ - Use new email for sponsoring @oliviertassinari
182
+ - Fix 301 links (#42697) @alexfauquette
183
+ - Normalize the capitalization of Design Kit @oliviertassinari
184
+ - Recommend setting HTML attribute instead of DOM property for RTL (#42599) @aarongarciah
185
+ - [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (#42648) @Danielkhakbaz
186
+
187
+ ### Core
188
+
189
+ - [code-infra] Try disabling animations when taking screenshots (#42537) @Janpot
190
+ - [code-infra] Fix benchmark package (#42553) @Janpot
191
+ - [core] Replace enzyme in describeConformance (#42447) @DiegoAndai
192
+ - [docs-infra] Fix layout shift demo toolbar (#42743) @oliviertassinari
193
+ - [docs-infra] Fix visual look of in-house ad (#42735) @oliviertassinari
194
+ - [docs-infra] Add stray design polish (#42646) @danilo-leal
195
+ - [docs-infra] Fix wrong migration (#42675) @siriwatknp
196
+ - [docs-infra] Fine tune markdown elements design (#42643) @danilo-leal
197
+ - [docs-infra] Revamp the product switcher design (#42603) @danilo-leal
198
+ - [docs-infra] Allow Link component to receive the `role` attribute (#42629) @danilo-leal
199
+ - [infra] Add support donation button (#42499) @oliviertassinari
200
+ - [infra] Raise `tsconfig`/`tsc` target to `es2022` (#42645) @LukasTy
201
+ - [test] Fix tests on CI (#42670) @michaldudak
202
+ - [test] Fix issues reported by react-compiler in test packages (#42626) @sai6855
203
+ - [website] Add Armin to the team members (#42679) @arminmeh
204
+ - [website] Open Staff Engineer role for Pigment CSS (#42531) @mnajdova
205
+
206
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @alexismo, @anuujj, @arminmeh, @BartJanvanAssen, @Danielkhakbaz, @danilo-leal, @DiegoAndai, @Janpot, @LukasTy, @michaldudak, @Mini-ghost, @mnajdova, @oliviertassinari, @sai6855, @siriwatknp
207
+
208
+ ## v6.0.0-alpha.11
209
+
210
+ <!-- generated comparing v6.0.0-alpha.10..next -->
211
+
212
+ _Jun 11, 2024_
213
+
214
+ A big thanks to the 18 contributors who made this release possible.
215
+
216
+ ### `@mui/material@6.0.0-alpha.11`
217
+
218
+ - &#8203;<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
219
+ - &#8203;<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
220
+ - &#8203;<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
221
+ - &#8203;<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
222
+ - &#8203;<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
223
+ - &#8203;<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
224
+ - &#8203;<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
225
+ - &#8203;<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
226
+
227
+ ### `@mui/system@6.0.0-alpha.11`
228
+
229
+ - &#8203;<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
230
+ - &#8203;<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
231
+
232
+ ### `@mui/utils@6.0.0-alpha.11`
233
+
234
+ - &#8203;<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
235
+
236
+ ### `@mui/codemod@6.0.0-alpha.11`
237
+
238
+ - &#8203;<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
239
+ - &#8203;<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
240
+
241
+ ### `@mui/private-theming@6.0.0-alpha.11`
242
+
243
+ - &#8203;<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
244
+
245
+ ### Docs
246
+
247
+ - &#8203;<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
248
+ - &#8203;<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
249
+ - &#8203;<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
250
+ - &#8203;<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
251
+ - &#8203;<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
252
+ - &#8203;<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
253
+ - &#8203;<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
254
+ - &#8203;<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
255
+ - &#8203;<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
256
+ - &#8203;<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
257
+ - &#8203;<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
258
+ - &#8203;<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
259
+ - &#8203;<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
260
+
261
+ ### Core
262
+
263
+ - &#8203;<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
264
+ - &#8203;<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
265
+ - &#8203;<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
266
+ - &#8203;<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
267
+ - &#8203;<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
268
+ - &#8203;<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
269
+ - &#8203;<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
270
+ - &#8203;<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
271
+ - &#8203;<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
272
+ - &#8203;<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
273
+ - &#8203;<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
274
+ - &#8203;<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
275
+ - &#8203;<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
276
+ - &#8203;<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
277
+ - &#8203;<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
278
+ - &#8203;<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
279
+ - &#8203;<!-- 02 -->[website] Remove blank line @oliviertassinari
280
+ - &#8203;<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
281
+
282
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @anle9650, @DanailH, @danilo-leal, @devnyxie, @DiegoAndai, @iammminzzy, @jacobmoshipco, @michaldudak, @necatiozmen, @oliviertassinari, @sai6855, @shrilsharma, @siriwatknp, @tonygravell, @zanivan, @ZeeshanTamboli
283
+
284
+ ## v6.0.0-alpha.10
285
+
286
+ <!-- generated comparing v6.0.0-alpha.9..next -->
287
+
288
+ _Jun 4, 2024_
289
+
290
+ A big thanks to the 7 contributors who made this release possible.
291
+
292
+ ### `@mui/material@6.0.0-alpha.10`
293
+
294
+ - &#8203;<!-- 26 -->[Backdrop] Deprecate `components` and `componentsProps` (#42468) @DiegoAndai
295
+ - &#8203;<!-- 25 -->[Collapse] Bound max transition time (#42390) @oliviertassinari
296
+ - &#8203;<!-- 12 -->[FilledInput] Remove unapplied classes from filledInputClasses interface and add missing classes to root (#42082) @sai6855
297
+ - &#8203;<!-- 11 -->[InputBase] Deprecate components and componentProps props for v6 (#42093) @ChronicusUA
298
+ - &#8203;<!-- 10 -->Remove remaining IE11 code (#42283) @DiegoAndai
299
+ - &#8203;<!-- 09 -->[Modal] Deprecate `components` and `componentsProps` (#42469) @DiegoAndai
300
+ - &#8203;<!-- 08 -->[Popover] Migrate useSlotProps to useSlot (#42369) @sai6855
301
+ - &#8203;<!-- 07 -->[useMediaQuery] Remove unused useMediaQueryTheme (#42367) @aarongarciah
302
+
303
+ ### `@mui/system@6.0.0-alpha.10`
304
+
305
+ - &#8203;<!-- 06 -->Remove IE11 code (#42436) @DiegoAndai
306
+
307
+ ### Docs
308
+
309
+ - &#8203;<!-- 23 -->Reflect Base UI and MUI System in a different repository @oliviertassinari
310
+ - &#8203;<!-- 22 -->Update twitter.com to x.com @oliviertassinari
311
+ - &#8203;<!-- 21 -->Simplify Example projects page @oliviertassinari
312
+ - &#8203;<!-- 17 -->[icons] Update README and docs page (#41938) @danilo-leal
313
+ - &#8203;<!-- 16 -->[material-ui] Add changelog section to the design kits page (#42449) @danilo-leal
314
+ - &#8203;<!-- 15 -->[material-ui] Fix sentence in the All components page (#42336) @danilo-leal
315
+ - &#8203;<!-- 14 -->[material-ui] Update Figma design kit doc redirect link (#42448) @danilo-leal
316
+ - &#8203;<!-- 13 -->[system] Add "dynamic values" section to sx prop page (#42239) @aarongarciah
317
+
318
+ ### Core
319
+
320
+ - &#8203;<!-- 20 -->[docs-infra] Update the OG card image design (#42470) @danilo-leal
321
+ - &#8203;<!-- 19 -->[docs-infra] Add small design polish (#42455) @danilo-leal
322
+ - &#8203;<!-- 18 -->[docs-infra] Update the Material logo + add copy functionality (#42435) @danilo-leal
323
+ - &#8203;<!-- 05 -->[website] Update DoiT description and link in Sponsors section (#42505) @erezstmn-doit
324
+ - &#8203;<!-- 04 -->[website] Clean up the docs-infra job ad (#42504) @danilo-leal
325
+ - &#8203;<!-- 03 -->[website] Fix FlashCode position (#42139) @oliviertassinari
326
+ - &#8203;<!-- 02 -->[website] Open Docs-infra engineer role (#42101) @danilo-leal
327
+ - &#8203;<!-- 01 -->[website] Fix locationCountry in about page @oliviertassinari
328
+
329
+ All contributors of this release in alphabetical order: @aarongarciah, @ChronicusUA, @danilo-leal, @DiegoAndai, @erezstmn-doit, @oliviertassinari, @sai6855
330
+
331
+ ## v6.0.0-alpha.9
332
+
333
+ <!-- generated comparing v6.0.0-alpha.8..next -->
334
+
335
+ _May 29, 2024_
336
+
337
+ A big thanks to the 23 contributors who made this release possible. Here are some highlights ✨:
338
+
339
+ - 🚀 `CssVarsProvider` and `extendTheme` are now stable (#42246) @siriwatknp
340
+
341
+ ### `@mui/material@6.0.0-alpha.9`
342
+
343
+ - &#8203;<!-- 49 -->[AlertTitle] Enable extending Typography props (#42269) @lucasgmelo
344
+ - &#8203;<!-- 48 -->[AvatarGroup] deprecate `componentsProps` for v6 (#42122) @lhilgert9
345
+ - &#8203;<!-- 15 -->[Grid] Deprecate `wrap` prop (#42363) @fedirjh
346
+ - &#8203;<!-- 14 -->[ListItem] Document `*Component` and `*Props` props deprecations (#42263) @aarongarciah
347
+ - &#8203;<!-- 13 -->[ListItem] Deprecate ListItem's components and componentsProps (#42219) @aarongarciah
348
+ - &#8203;<!-- 12 -->[ListItemSecondaryAction] Deprecate component (#42251) @aarongarciah
349
+ - &#8203;<!-- 11 -->Stabilize `CssVarsProvider` and `extendTheme` (#42246) @siriwatknp
350
+ - &#8203;<!-- 10 -->[Popper] Deprecate components and componentProps props for v6 (#42111) @ChronicusUA
351
+ - &#8203;<!-- 09 -->[responsiveFontSizes] Handled undefined variants (#42412) @brijeshb42
352
+ - &#8203;<!-- 08 -->[Slider] Fix wrong CSS value (#42370) @mnajdova
353
+ - &#8203;<!-- 07 -->[Tooltip] Deprecate components and componentProps props for v6 (#42107) @ChronicusUA
354
+
355
+ ### `@mui/system@6.0.0-alpha.9`
356
+
357
+ - &#8203;<!-- 34 -->[createStyled] Intercept `ownerState` coming from `props` and `ownerState` (#42358) @DiegoAndai
358
+
359
+ ### `@mui/codemod@6.0.0-alpha.9`
360
+
361
+ - &#8203;<!-- 41 -->Add `sx` prop for v6 migration (#42153) @siriwatknp
362
+ - &#8203;<!-- 40 -->Add codemod for removing system props (#42282) @siriwatknp
363
+
364
+ ### Docs
365
+
366
+ - &#8203;<!-- 33 -->Remove unused images (#42324) @danilo-leal
367
+ - &#8203;<!-- 32 -->Add Pigment CSS and Base UI logos SVGs (#42322) @danilo-leal
368
+ - &#8203;<!-- 22 -->[joy-ui] Fix template responsiveness (#42422) @j4marcos
369
+ - &#8203;<!-- 21 -->[material-ui] Add the Pashto locale (#42244) @sayoubiaf
370
+ - &#8203;<!-- 20 -->[material-ui] Remove duplicate Design Kits page (#42338) @danilo-leal
371
+ - &#8203;<!-- 19 -->[material-ui] Document callback to access theme in GlobalStyles (#42257) @aarongarciah
372
+ - &#8203;<!-- 18 -->[material-ui] Add minor modifications to the Vertical stepper demo (#42342) @mihilt
373
+ - &#8203;<!-- 17 -->[material-ui][Tabs] Improve the Basic Tabs demo (#42374) @MatheusEli
374
+ - &#8203;<!-- 16 -->[pigment-css] Polish redirection mention @oliviertassinari
375
+
376
+ ### Core
377
+
378
+ - &#8203;<!-- 47 -->[blog] Add fixes and clean ups to the Blog page (#42311) @danilo-leal
379
+ - &#8203;<!-- 46 -->[blog] Add the "Product" tag to the Pigment CSS post (#42365) @danilo-leal
380
+ - &#8203;<!-- 45 -->[code-infra] Simplify .stylelintrc.js @oliviertassinari
381
+ - &#8203;<!-- 44 -->[code-infra] Fix stylelint locally (#42411) @oliviertassinari
382
+ - &#8203;<!-- 43 -->[code-infra] Run corepack enable on all CI jobs (#42331) @Janpot
383
+ - &#8203;<!-- 42 -->[code-infra] Create examples eslint rule (#42170) @oliviertassinari
384
+ - &#8203;<!-- 39 -->[core] Apply React 19 type changes that don't require upcoming `@types/` packages (#42346) @DiegoAndai
385
+ - &#8203;<!-- 38 -->[core] Remove `react-swipeable-views-utils` package from docs (#42378) @ZeeshanTamboli
386
+ - &#8203;<!-- 37 -->[core] Update `@testing-library/react` and `@testing-library/dom` packages (#42349) @ZeeshanTamboli
387
+ - &#8203;<!-- 36 -->[core] Remove `@types/prettier` package (#42339) @ZeeshanTamboli
388
+ - &#8203;<!-- 35 -->[core] Remove `WyW-in-JS` from Renovate config (#42335) @ZeeshanTamboli
389
+ - &#8203;<!-- 31 -->[docs-infra] Split feedback channels per product (#42413) @alexfauquette
390
+ - &#8203;<!-- 30 -->[docs-infra] Avoid cryptic errors when tests don't exist (#42356) @Janpot
391
+ - &#8203;<!-- 29 -->[docs-infra] Make menu styles consistent (#42387) @danilo-leal
392
+ - &#8203;<!-- 28 -->[docs-infra] Display deprecation messages in API pages (#42352) @aarongarciah
393
+ - &#8203;<!-- 27 -->[docs-infra] Standardize API pages Alert styles (#42386) @danilo-leal
394
+ - &#8203;<!-- 26 -->[docs-infra] Fix Toolpad Core API links (#42362) @apedroferreira
395
+ - &#8203;<!-- 25 -->[docs-infra] Tigthen up the header design (#42180) @danilo-leal
396
+ - &#8203;<!-- 24 -->[docs-infra] Add Toolpad to muiNpmOrgs for codesandbox demos (#42316) @Janpot
397
+ - &#8203;<!-- 23 -->[docs-infra] Allow JSDoc tags (#42337) @aarongarciah
398
+ - &#8203;<!-- 06 -->[test] Remove `userAgent` override in `jsdom` env (#42344) @cherniavskii
399
+ - &#8203;<!-- 05 -->[utils] Fix GitHub-reported prototype pollution vulnerability in `deepmerge` (#41652) @tjcouch-sil
400
+ - &#8203;<!-- 04 -->[website] Add Nikita to the about page (#42418) @nikitaa24
401
+ - &#8203;<!-- 03 -->[website] Fix hero spacing changes applying at the wrong breakpoint (#42341) @KenanYusuf
402
+ - &#8203;<!-- 02 -->[website] Adds Kenan Yusuf to about page (#42317) @KenanYusuf
403
+ - &#8203;<!-- 01 -->[website] Improve about page @oliviertassinari
404
+
405
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @apedroferreira, @brijeshb42, @cherniavskii, @ChronicusUA, @danilo-leal, @DiegoAndai, @fedirjh, @j4marcos, @Janpot, @KenanYusuf, @lhilgert9, @lucasgmelo, @MatheusEli, @mihilt, @mnajdova, @nikitaa24, @oliviertassinari, @sayoubiaf, @siriwatknp, @tjcouch-sil, @ZeeshanTamboli
406
+
3
407
  ## v6.0.0-alpha.8
4
408
 
5
409
  <!-- generated comparing v6.0.0-alpha.7..next -->
@@ -18,7 +422,7 @@ This release was mostly about 🐛 bug fixes and 📚 documentation improvements
18
422
  ### Docs
19
423
 
20
424
  - &#8203;<!-- 08 -->[docs] Remove Base UI from the README (#42307) @danilo-leal
21
- - &#8203;<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
425
+ - &#8203;<!-- 07 -->[docs][material-ui] Fix typo in style interoperability with Tailwind CSS docs (#42279) @ZeeshanTamboli
22
426
  - &#8203;<!-- 06 -->[docs][material-ui] Add supported browsers section to migration guide (#42194) @DiegoAndai
23
427
  - &#8203;<!-- 05 -->[docs][material-ui][Pagination] Clarify pagination `page` prop API (#42220) @Mandar-Pandya
24
428
 
@@ -8730,7 +9134,7 @@ A big thanks to the 15 contributors who made this release possible. Here are som
8730
9134
 
8731
9135
  - &#8203;<!-- 27 -->[core] Rename mui/core to mui/base (#29585) @michaldudak
8732
9136
 
8733
- Based on the results of the [poll](https://twitter.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
9137
+ Based on the results of the [poll](https://x.com/michaldudak/status/1452630484706635779) and our internal discussions, we decided to rename the `@mui/core` package to `@mui/base`. The main rationale for this is the fact that we use the term "Core" to refer to the core components product family, the one that includes Material Design components, unstyled components, System utilities, etc. Therefore, @mui/core was effectively a subset of MUI Core. This was confusing.
8734
9138
 
8735
9139
  The new name better reflects the purpose of the package: it contains unstyled components, hooks, and utilities that serve as a **base** to build on.
8736
9140
 
@@ -13147,7 +13551,7 @@ A big thanks to the 34 contributors who made this release possible. Here are som
13147
13551
  ```
13148
13552
 
13149
13553
  - [Autocomplete] Remove `debug` in favor of `open` and dev tools (#23377) @eps1lon
13150
- There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://twitter.com/sulco/status/1305841873945272321), or React devtools props.
13554
+ There are a couple of simpler alternatives: `open={true}`, Chrome devtools ["Emulate focused"](https://x.com/sulco/status/1305841873945272321), or React devtools props.
13151
13555
 
13152
13556
  #### Changes
13153
13557