@mui/material 6.0.0-alpha.10 → 6.0.0-alpha.12

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 (529) hide show
  1. package/Accordion/Accordion.d.ts +3 -3
  2. package/Accordion/Accordion.js +3 -3
  3. package/AccordionActions/AccordionActions.d.ts +2 -2
  4. package/AccordionActions/AccordionActions.js +3 -3
  5. package/AccordionDetails/AccordionDetails.d.ts +2 -2
  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 +3 -3
  10. package/Alert/Alert.js +3 -3
  11. package/AlertTitle/AlertTitle.d.ts +3 -3
  12. package/AlertTitle/AlertTitle.js +3 -3
  13. package/AppBar/AppBar.d.ts +3 -3
  14. package/AppBar/AppBar.js +3 -3
  15. package/Autocomplete/Autocomplete.d.ts +3 -3
  16. package/Autocomplete/Autocomplete.js +12 -20
  17. package/Avatar/Avatar.d.ts +2 -2
  18. package/Avatar/Avatar.js +3 -3
  19. package/AvatarGroup/AvatarGroup.d.ts +2 -2
  20. package/AvatarGroup/AvatarGroup.js +3 -3
  21. package/Backdrop/Backdrop.d.ts +3 -3
  22. package/Backdrop/Backdrop.js +3 -3
  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 +4 -4
  33. package/Button/Button.js +3 -3
  34. package/ButtonBase/ButtonBase.d.ts +2 -2
  35. package/ButtonBase/ButtonBase.js +3 -3
  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 +145 -0
  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 +2 -2
  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 +2 -2
  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 +4 -4
  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 +2 -2
  57. package/CircularProgress/CircularProgress.js +3 -3
  58. package/Collapse/Collapse.d.ts +5 -5
  59. package/Collapse/Collapse.js +3 -4
  60. package/Container/Container.d.ts +2 -2
  61. package/CssBaseline/CssBaseline.d.ts +2 -2
  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 +3 -3
  69. package/Dialog/Dialog.js +3 -4
  70. package/DialogActions/DialogActions.d.ts +2 -2
  71. package/DialogActions/DialogActions.js +3 -3
  72. package/DialogContent/DialogContent.d.ts +2 -2
  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 +3 -3
  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 +3 -3
  85. package/Fade/Fade.js +1 -1
  86. package/FilledInput/FilledInput.d.ts +3 -3
  87. package/FilledInput/FilledInput.js +3 -3
  88. package/FormControl/FormControl.d.ts +6 -6
  89. package/FormControl/FormControl.js +3 -3
  90. package/FormControlLabel/FormControlLabel.d.ts +4 -4
  91. package/FormControlLabel/FormControlLabel.js +3 -3
  92. package/FormGroup/FormGroup.d.ts +3 -3
  93. package/FormGroup/FormGroup.js +3 -3
  94. package/FormHelperText/FormHelperText.d.ts +2 -2
  95. package/FormHelperText/FormHelperText.js +3 -3
  96. package/FormLabel/FormLabel.d.ts +4 -4
  97. package/FormLabel/FormLabel.js +3 -3
  98. package/GlobalStyles/GlobalStyles.d.ts +3 -3
  99. package/Grid/Grid.d.ts +2 -2
  100. package/Grid/Grid.js +7 -13
  101. package/Grow/Grow.d.ts +5 -5
  102. package/Grow/Grow.js +1 -1
  103. package/Hidden/Hidden.d.ts +2 -2
  104. package/Icon/Icon.d.ts +3 -3
  105. package/Icon/Icon.js +3 -3
  106. package/IconButton/IconButton.d.ts +4 -4
  107. package/IconButton/IconButton.js +3 -3
  108. package/ImageList/ImageList.d.ts +2 -2
  109. package/ImageList/ImageList.js +3 -3
  110. package/ImageListItem/ImageListItem.d.ts +2 -2
  111. package/ImageListItem/ImageListItem.js +3 -3
  112. package/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  113. package/ImageListItemBar/ImageListItemBar.js +3 -3
  114. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +10 -0
  115. package/InitColorSchemeScript/InitColorSchemeScript.js +16 -0
  116. package/InitColorSchemeScript/index.d.ts +1 -0
  117. package/InitColorSchemeScript/index.js +1 -0
  118. package/InitColorSchemeScript/package.json +6 -0
  119. package/Input/Input.d.ts +3 -3
  120. package/Input/Input.js +3 -3
  121. package/InputAdornment/InputAdornment.d.ts +2 -2
  122. package/InputAdornment/InputAdornment.js +3 -3
  123. package/InputBase/InputBase.d.ts +2 -2
  124. package/InputBase/InputBase.js +28 -22
  125. package/InputLabel/InputLabel.d.ts +3 -3
  126. package/InputLabel/InputLabel.js +3 -3
  127. package/LinearProgress/LinearProgress.d.ts +2 -2
  128. package/LinearProgress/LinearProgress.js +3 -3
  129. package/Link/Link.d.ts +4 -4
  130. package/Link/Link.js +3 -4
  131. package/List/List.d.ts +3 -3
  132. package/List/List.js +3 -3
  133. package/ListItem/ListItem.d.ts +3 -3
  134. package/ListItem/ListItem.js +3 -3
  135. package/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  136. package/ListItemAvatar/ListItemAvatar.js +3 -3
  137. package/ListItemButton/ListItemButton.d.ts +3 -3
  138. package/ListItemButton/ListItemButton.js +3 -3
  139. package/ListItemIcon/ListItemIcon.d.ts +2 -2
  140. package/ListItemIcon/ListItemIcon.js +3 -3
  141. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  142. package/ListItemSecondaryAction/ListItemSecondaryAction.js +3 -3
  143. package/ListItemText/ListItemText.d.ts +2 -2
  144. package/ListItemText/ListItemText.js +3 -3
  145. package/ListSubheader/ListSubheader.d.ts +2 -2
  146. package/ListSubheader/ListSubheader.js +3 -3
  147. package/Menu/Menu.d.ts +4 -4
  148. package/Menu/Menu.js +3 -3
  149. package/MenuItem/MenuItem.d.ts +3 -3
  150. package/MenuItem/MenuItem.js +3 -3
  151. package/MenuList/MenuList.d.ts +4 -4
  152. package/MobileStepper/MobileStepper.d.ts +3 -3
  153. package/MobileStepper/MobileStepper.js +3 -3
  154. package/Modal/Modal.d.ts +8 -8
  155. package/Modal/Modal.js +3 -3
  156. package/NativeSelect/NativeSelect.d.ts +3 -3
  157. package/OutlinedInput/OutlinedInput.d.ts +3 -3
  158. package/OutlinedInput/OutlinedInput.js +3 -3
  159. package/Pagination/Pagination.d.ts +2 -2
  160. package/Pagination/Pagination.js +3 -3
  161. package/PaginationItem/PaginationItem.d.ts +2 -2
  162. package/PaginationItem/PaginationItem.js +3 -3
  163. package/Paper/Paper.d.ts +3 -3
  164. package/Paper/Paper.js +3 -4
  165. package/Popover/Popover.d.ts +4 -4
  166. package/Popover/Popover.js +3 -3
  167. package/Popper/Popper.d.ts +4 -4
  168. package/Popper/Popper.js +10 -9
  169. package/Radio/Radio.d.ts +3 -3
  170. package/Radio/Radio.js +3 -3
  171. package/RadioGroup/RadioGroup.d.ts +3 -3
  172. package/Rating/Rating.d.ts +2 -2
  173. package/Rating/Rating.js +3 -3
  174. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  175. package/ScopedCssBaseline/ScopedCssBaseline.js +24 -11
  176. package/Select/Select.d.ts +3 -3
  177. package/Skeleton/Skeleton.d.ts +2 -2
  178. package/Skeleton/Skeleton.js +3 -3
  179. package/Slide/Slide.d.ts +4 -4
  180. package/Slide/Slide.js +1 -1
  181. package/Slider/Slider.d.ts +3 -3
  182. package/Slider/Slider.js +3 -3
  183. package/Snackbar/Snackbar.d.ts +2 -2
  184. package/Snackbar/Snackbar.js +3 -4
  185. package/SnackbarContent/SnackbarContent.d.ts +3 -3
  186. package/SnackbarContent/SnackbarContent.js +3 -3
  187. package/SpeedDial/SpeedDial.d.ts +2 -2
  188. package/SpeedDial/SpeedDial.js +3 -4
  189. package/SpeedDialAction/SpeedDialAction.d.ts +3 -3
  190. package/SpeedDialAction/SpeedDialAction.js +3 -3
  191. package/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  192. package/SpeedDialIcon/SpeedDialIcon.js +3 -3
  193. package/Stack/Stack.d.ts +2 -2
  194. package/Step/Step.d.ts +2 -2
  195. package/Step/Step.js +3 -3
  196. package/StepButton/StepButton.d.ts +3 -3
  197. package/StepButton/StepButton.js +3 -3
  198. package/StepConnector/StepConnector.d.ts +3 -3
  199. package/StepConnector/StepConnector.js +3 -3
  200. package/StepContent/StepContent.d.ts +2 -2
  201. package/StepContent/StepContent.js +3 -3
  202. package/StepIcon/StepIcon.d.ts +2 -2
  203. package/StepIcon/StepIcon.js +3 -3
  204. package/StepLabel/StepLabel.d.ts +2 -2
  205. package/StepLabel/StepLabel.js +3 -3
  206. package/Stepper/Stepper.d.ts +2 -2
  207. package/Stepper/Stepper.js +7 -5
  208. package/Stepper/stepperClasses.d.ts +2 -0
  209. package/Stepper/stepperClasses.js +1 -1
  210. package/SvgIcon/SvgIcon.d.ts +3 -3
  211. package/SvgIcon/SvgIcon.js +3 -3
  212. package/SwipeableDrawer/SwipeableDrawer.d.ts +3 -3
  213. package/SwipeableDrawer/SwipeableDrawer.js +3 -3
  214. package/Switch/Switch.d.ts +4 -4
  215. package/Switch/Switch.js +3 -3
  216. package/Tab/Tab.d.ts +4 -4
  217. package/Tab/Tab.js +14 -10
  218. package/Tab/tabClasses.d.ts +5 -1
  219. package/Tab/tabClasses.js +1 -1
  220. package/TabScrollButton/TabScrollButton.d.ts +2 -2
  221. package/TabScrollButton/TabScrollButton.js +3 -3
  222. package/Table/Table.d.ts +2 -2
  223. package/Table/Table.js +3 -3
  224. package/TableBody/TableBody.d.ts +2 -2
  225. package/TableBody/TableBody.js +3 -3
  226. package/TableCell/TableCell.d.ts +2 -2
  227. package/TableCell/TableCell.js +3 -3
  228. package/TableContainer/TableContainer.d.ts +2 -2
  229. package/TableContainer/TableContainer.js +3 -3
  230. package/TableFooter/TableFooter.d.ts +2 -2
  231. package/TableFooter/TableFooter.js +3 -3
  232. package/TableHead/TableHead.d.ts +2 -2
  233. package/TableHead/TableHead.js +3 -3
  234. package/TablePagination/TablePagination.d.ts +4 -4
  235. package/TablePagination/TablePagination.js +3 -3
  236. package/TableRow/TableRow.d.ts +2 -2
  237. package/TableRow/TableRow.js +3 -3
  238. package/TableSortLabel/TableSortLabel.d.ts +3 -3
  239. package/TableSortLabel/TableSortLabel.js +4 -4
  240. package/TableSortLabel/tableSortLabelClasses.d.ts +10 -2
  241. package/TableSortLabel/tableSortLabelClasses.js +1 -1
  242. package/Tabs/Tabs.d.ts +2 -2
  243. package/Tabs/Tabs.js +3 -4
  244. package/TextField/TextField.d.ts +10 -10
  245. package/TextField/TextField.js +3 -3
  246. package/ToggleButton/ToggleButton.d.ts +3 -3
  247. package/ToggleButton/ToggleButton.js +3 -3
  248. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  249. package/ToggleButtonGroup/ToggleButtonGroup.js +3 -3
  250. package/Toolbar/Toolbar.d.ts +2 -2
  251. package/Toolbar/Toolbar.js +3 -3
  252. package/Tooltip/Tooltip.d.ts +2 -2
  253. package/Tooltip/Tooltip.js +3 -4
  254. package/Typography/Typography.d.ts +3 -3
  255. package/Typography/Typography.js +4 -4
  256. package/Zoom/Zoom.d.ts +3 -3
  257. package/Zoom/Zoom.js +1 -1
  258. package/index.js +1 -1
  259. package/modern/Accordion/Accordion.js +3 -3
  260. package/modern/AccordionActions/AccordionActions.js +3 -3
  261. package/modern/AccordionDetails/AccordionDetails.js +3 -3
  262. package/modern/AccordionSummary/AccordionSummary.js +3 -3
  263. package/modern/Alert/Alert.js +3 -3
  264. package/modern/AlertTitle/AlertTitle.js +3 -3
  265. package/modern/AppBar/AppBar.js +3 -3
  266. package/modern/Autocomplete/Autocomplete.js +12 -20
  267. package/modern/Avatar/Avatar.js +3 -3
  268. package/modern/AvatarGroup/AvatarGroup.js +3 -3
  269. package/modern/Backdrop/Backdrop.js +3 -3
  270. package/modern/Badge/Badge.js +3 -3
  271. package/modern/BottomNavigation/BottomNavigation.js +3 -3
  272. package/modern/BottomNavigationAction/BottomNavigationAction.js +3 -3
  273. package/modern/Breadcrumbs/Breadcrumbs.js +3 -3
  274. package/modern/Button/Button.js +3 -3
  275. package/modern/ButtonBase/ButtonBase.js +3 -3
  276. package/modern/ButtonBase/TouchRipple.js +3 -3
  277. package/modern/ButtonGroup/ButtonGroup.js +3 -3
  278. package/modern/Card/Card.js +3 -3
  279. package/modern/CardActionArea/CardActionArea.js +3 -3
  280. package/modern/CardActions/CardActions.js +3 -3
  281. package/modern/CardContent/CardContent.js +3 -3
  282. package/modern/CardHeader/CardHeader.js +3 -3
  283. package/modern/CardMedia/CardMedia.js +3 -3
  284. package/modern/Checkbox/Checkbox.js +3 -3
  285. package/modern/Chip/Chip.js +3 -5
  286. package/modern/CircularProgress/CircularProgress.js +3 -3
  287. package/modern/Collapse/Collapse.js +3 -4
  288. package/modern/CssBaseline/CssBaseline.js +66 -8
  289. package/modern/DefaultPropsProvider/DefaultPropsProvider.js +29 -0
  290. package/modern/DefaultPropsProvider/index.js +1 -0
  291. package/modern/Dialog/Dialog.js +3 -4
  292. package/modern/DialogActions/DialogActions.js +3 -3
  293. package/modern/DialogContent/DialogContent.js +3 -3
  294. package/modern/DialogContentText/DialogContentText.js +3 -3
  295. package/modern/DialogTitle/DialogTitle.js +3 -3
  296. package/modern/Divider/Divider.js +3 -3
  297. package/modern/Drawer/Drawer.js +3 -4
  298. package/modern/Fab/Fab.js +3 -3
  299. package/modern/Fade/Fade.js +1 -1
  300. package/modern/FilledInput/FilledInput.js +3 -3
  301. package/modern/FormControl/FormControl.js +3 -3
  302. package/modern/FormControlLabel/FormControlLabel.js +3 -3
  303. package/modern/FormGroup/FormGroup.js +3 -3
  304. package/modern/FormHelperText/FormHelperText.js +3 -3
  305. package/modern/FormLabel/FormLabel.js +3 -3
  306. package/modern/Grid/Grid.js +7 -13
  307. package/modern/Grow/Grow.js +1 -1
  308. package/modern/Icon/Icon.js +3 -3
  309. package/modern/IconButton/IconButton.js +3 -3
  310. package/modern/ImageList/ImageList.js +3 -3
  311. package/modern/ImageListItem/ImageListItem.js +3 -3
  312. package/modern/ImageListItemBar/ImageListItemBar.js +3 -3
  313. package/modern/InitColorSchemeScript/InitColorSchemeScript.js +16 -0
  314. package/modern/InitColorSchemeScript/index.js +1 -0
  315. package/modern/Input/Input.js +3 -3
  316. package/modern/InputAdornment/InputAdornment.js +3 -3
  317. package/modern/InputBase/InputBase.js +28 -22
  318. package/modern/InputLabel/InputLabel.js +3 -3
  319. package/modern/LinearProgress/LinearProgress.js +3 -3
  320. package/modern/Link/Link.js +3 -4
  321. package/modern/List/List.js +3 -3
  322. package/modern/ListItem/ListItem.js +3 -3
  323. package/modern/ListItemAvatar/ListItemAvatar.js +3 -3
  324. package/modern/ListItemButton/ListItemButton.js +3 -3
  325. package/modern/ListItemIcon/ListItemIcon.js +3 -3
  326. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +3 -3
  327. package/modern/ListItemText/ListItemText.js +3 -3
  328. package/modern/ListSubheader/ListSubheader.js +3 -3
  329. package/modern/Menu/Menu.js +3 -3
  330. package/modern/MenuItem/MenuItem.js +3 -3
  331. package/modern/MobileStepper/MobileStepper.js +3 -3
  332. package/modern/Modal/Modal.js +3 -3
  333. package/modern/OutlinedInput/OutlinedInput.js +3 -3
  334. package/modern/Pagination/Pagination.js +3 -3
  335. package/modern/PaginationItem/PaginationItem.js +3 -3
  336. package/modern/Paper/Paper.js +3 -4
  337. package/modern/Popover/Popover.js +3 -3
  338. package/modern/Popper/Popper.js +10 -9
  339. package/modern/Radio/Radio.js +3 -3
  340. package/modern/Rating/Rating.js +3 -3
  341. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +24 -11
  342. package/modern/Skeleton/Skeleton.js +3 -3
  343. package/modern/Slide/Slide.js +1 -1
  344. package/modern/Slider/Slider.js +3 -3
  345. package/modern/Snackbar/Snackbar.js +3 -4
  346. package/modern/SnackbarContent/SnackbarContent.js +3 -3
  347. package/modern/SpeedDial/SpeedDial.js +3 -4
  348. package/modern/SpeedDialAction/SpeedDialAction.js +3 -3
  349. package/modern/SpeedDialIcon/SpeedDialIcon.js +3 -3
  350. package/modern/Step/Step.js +3 -3
  351. package/modern/StepButton/StepButton.js +3 -3
  352. package/modern/StepConnector/StepConnector.js +3 -3
  353. package/modern/StepContent/StepContent.js +3 -3
  354. package/modern/StepIcon/StepIcon.js +3 -3
  355. package/modern/StepLabel/StepLabel.js +3 -3
  356. package/modern/Stepper/Stepper.js +7 -5
  357. package/modern/Stepper/stepperClasses.js +1 -1
  358. package/modern/SvgIcon/SvgIcon.js +3 -3
  359. package/modern/SwipeableDrawer/SwipeableDrawer.js +3 -3
  360. package/modern/Switch/Switch.js +3 -3
  361. package/modern/Tab/Tab.js +14 -10
  362. package/modern/Tab/tabClasses.js +1 -1
  363. package/modern/TabScrollButton/TabScrollButton.js +3 -3
  364. package/modern/Table/Table.js +3 -3
  365. package/modern/TableBody/TableBody.js +3 -3
  366. package/modern/TableCell/TableCell.js +3 -3
  367. package/modern/TableContainer/TableContainer.js +3 -3
  368. package/modern/TableFooter/TableFooter.js +3 -3
  369. package/modern/TableHead/TableHead.js +3 -3
  370. package/modern/TablePagination/TablePagination.js +3 -3
  371. package/modern/TableRow/TableRow.js +3 -3
  372. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  373. package/modern/TableSortLabel/tableSortLabelClasses.js +1 -1
  374. package/modern/Tabs/Tabs.js +3 -4
  375. package/modern/TextField/TextField.js +3 -3
  376. package/modern/ToggleButton/ToggleButton.js +3 -3
  377. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -3
  378. package/modern/Toolbar/Toolbar.js +3 -3
  379. package/modern/Tooltip/Tooltip.js +3 -4
  380. package/modern/Typography/Typography.js +4 -4
  381. package/modern/Zoom/Zoom.js +1 -1
  382. package/modern/index.js +1 -1
  383. package/modern/styles/CssVarsProvider.js +19 -7
  384. package/modern/styles/createTheme.js +1 -1
  385. package/modern/styles/index.js +2 -1
  386. package/modern/styles/stringifyTheme.js +55 -0
  387. package/modern/usePagination/usePagination.js +1 -1
  388. package/modern/zero-styled/index.js +24 -5
  389. package/node/Accordion/Accordion.js +2 -2
  390. package/node/AccordionActions/AccordionActions.js +2 -2
  391. package/node/AccordionDetails/AccordionDetails.js +2 -2
  392. package/node/AccordionSummary/AccordionSummary.js +2 -2
  393. package/node/Alert/Alert.js +2 -2
  394. package/node/AlertTitle/AlertTitle.js +2 -2
  395. package/node/AppBar/AppBar.js +2 -2
  396. package/node/Autocomplete/Autocomplete.js +11 -19
  397. package/node/Avatar/Avatar.js +2 -2
  398. package/node/AvatarGroup/AvatarGroup.js +2 -2
  399. package/node/Backdrop/Backdrop.js +2 -2
  400. package/node/Badge/Badge.js +2 -2
  401. package/node/BottomNavigation/BottomNavigation.js +2 -2
  402. package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
  403. package/node/Breadcrumbs/Breadcrumbs.js +2 -2
  404. package/node/Button/Button.js +2 -2
  405. package/node/ButtonBase/ButtonBase.js +2 -2
  406. package/node/ButtonBase/TouchRipple.js +2 -2
  407. package/node/ButtonGroup/ButtonGroup.js +2 -2
  408. package/node/Card/Card.js +2 -2
  409. package/node/CardActionArea/CardActionArea.js +2 -2
  410. package/node/CardActions/CardActions.js +2 -2
  411. package/node/CardContent/CardContent.js +2 -2
  412. package/node/CardHeader/CardHeader.js +2 -2
  413. package/node/CardMedia/CardMedia.js +2 -2
  414. package/node/Checkbox/Checkbox.js +2 -2
  415. package/node/Chip/Chip.js +2 -4
  416. package/node/CircularProgress/CircularProgress.js +2 -2
  417. package/node/Collapse/Collapse.js +3 -4
  418. package/node/CssBaseline/CssBaseline.js +70 -10
  419. package/node/DefaultPropsProvider/DefaultPropsProvider.js +38 -0
  420. package/node/DefaultPropsProvider/index.js +20 -0
  421. package/node/Dialog/Dialog.js +3 -4
  422. package/node/DialogActions/DialogActions.js +2 -2
  423. package/node/DialogContent/DialogContent.js +2 -2
  424. package/node/DialogContentText/DialogContentText.js +2 -2
  425. package/node/DialogTitle/DialogTitle.js +2 -2
  426. package/node/Divider/Divider.js +2 -2
  427. package/node/Drawer/Drawer.js +3 -4
  428. package/node/Fab/Fab.js +2 -2
  429. package/node/Fade/Fade.js +2 -2
  430. package/node/FilledInput/FilledInput.js +2 -2
  431. package/node/FormControl/FormControl.js +2 -2
  432. package/node/FormControlLabel/FormControlLabel.js +2 -2
  433. package/node/FormGroup/FormGroup.js +2 -2
  434. package/node/FormHelperText/FormHelperText.js +2 -2
  435. package/node/FormLabel/FormLabel.js +2 -2
  436. package/node/Grid/Grid.js +7 -13
  437. package/node/Grow/Grow.js +2 -2
  438. package/node/Icon/Icon.js +2 -2
  439. package/node/IconButton/IconButton.js +2 -2
  440. package/node/ImageList/ImageList.js +2 -2
  441. package/node/ImageListItem/ImageListItem.js +2 -2
  442. package/node/ImageListItemBar/ImageListItemBar.js +2 -2
  443. package/node/InitColorSchemeScript/InitColorSchemeScript.js +25 -0
  444. package/node/InitColorSchemeScript/index.js +13 -0
  445. package/node/Input/Input.js +2 -2
  446. package/node/InputAdornment/InputAdornment.js +2 -2
  447. package/node/InputBase/InputBase.js +27 -21
  448. package/node/InputLabel/InputLabel.js +2 -2
  449. package/node/LinearProgress/LinearProgress.js +2 -2
  450. package/node/Link/Link.js +3 -4
  451. package/node/List/List.js +2 -2
  452. package/node/ListItem/ListItem.js +2 -2
  453. package/node/ListItemAvatar/ListItemAvatar.js +2 -2
  454. package/node/ListItemButton/ListItemButton.js +2 -2
  455. package/node/ListItemIcon/ListItemIcon.js +2 -2
  456. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
  457. package/node/ListItemText/ListItemText.js +2 -2
  458. package/node/ListSubheader/ListSubheader.js +2 -2
  459. package/node/Menu/Menu.js +2 -2
  460. package/node/MenuItem/MenuItem.js +2 -2
  461. package/node/MobileStepper/MobileStepper.js +2 -2
  462. package/node/Modal/Modal.js +2 -2
  463. package/node/OutlinedInput/OutlinedInput.js +2 -2
  464. package/node/Pagination/Pagination.js +2 -2
  465. package/node/PaginationItem/PaginationItem.js +2 -2
  466. package/node/Paper/Paper.js +3 -4
  467. package/node/Popover/Popover.js +2 -2
  468. package/node/Popper/Popper.js +11 -10
  469. package/node/Radio/Radio.js +2 -2
  470. package/node/Rating/Rating.js +2 -2
  471. package/node/ScopedCssBaseline/ScopedCssBaseline.js +27 -13
  472. package/node/Skeleton/Skeleton.js +2 -2
  473. package/node/Slide/Slide.js +2 -2
  474. package/node/Slider/Slider.js +2 -2
  475. package/node/Snackbar/Snackbar.js +3 -4
  476. package/node/SnackbarContent/SnackbarContent.js +2 -2
  477. package/node/SpeedDial/SpeedDial.js +3 -4
  478. package/node/SpeedDialAction/SpeedDialAction.js +2 -2
  479. package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
  480. package/node/Step/Step.js +2 -2
  481. package/node/StepButton/StepButton.js +2 -2
  482. package/node/StepConnector/StepConnector.js +2 -2
  483. package/node/StepContent/StepContent.js +2 -2
  484. package/node/StepIcon/StepIcon.js +2 -2
  485. package/node/StepLabel/StepLabel.js +2 -2
  486. package/node/Stepper/Stepper.js +6 -4
  487. package/node/Stepper/stepperClasses.js +1 -1
  488. package/node/SvgIcon/SvgIcon.js +2 -2
  489. package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
  490. package/node/Switch/Switch.js +2 -2
  491. package/node/Tab/Tab.js +13 -9
  492. package/node/Tab/tabClasses.js +1 -1
  493. package/node/TabScrollButton/TabScrollButton.js +2 -2
  494. package/node/Table/Table.js +2 -2
  495. package/node/TableBody/TableBody.js +2 -2
  496. package/node/TableCell/TableCell.js +2 -2
  497. package/node/TableContainer/TableContainer.js +2 -2
  498. package/node/TableFooter/TableFooter.js +2 -2
  499. package/node/TableHead/TableHead.js +2 -2
  500. package/node/TablePagination/TablePagination.js +2 -2
  501. package/node/TableRow/TableRow.js +2 -2
  502. package/node/TableSortLabel/TableSortLabel.js +3 -3
  503. package/node/TableSortLabel/tableSortLabelClasses.js +1 -1
  504. package/node/Tabs/Tabs.js +3 -4
  505. package/node/TextField/TextField.js +2 -2
  506. package/node/ToggleButton/ToggleButton.js +2 -2
  507. package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  508. package/node/Toolbar/Toolbar.js +2 -2
  509. package/node/Tooltip/Tooltip.js +3 -4
  510. package/node/Typography/Typography.js +4 -4
  511. package/node/Zoom/Zoom.js +2 -2
  512. package/node/index.js +1 -1
  513. package/node/styles/CssVarsProvider.js +20 -8
  514. package/node/styles/createTheme.js +1 -1
  515. package/node/styles/index.js +20 -1
  516. package/node/styles/stringifyTheme.js +62 -0
  517. package/node/usePagination/usePagination.js +1 -1
  518. package/node/zero-styled/index.js +33 -5
  519. package/package.json +6 -6
  520. package/styles/CssVarsProvider.d.ts +3 -2
  521. package/styles/CssVarsProvider.js +19 -7
  522. package/styles/createTheme.js +1 -1
  523. package/styles/index.d.ts +3 -0
  524. package/styles/index.js +2 -1
  525. package/styles/stringifyTheme.d.ts +20 -0
  526. package/styles/stringifyTheme.js +55 -0
  527. package/usePagination/usePagination.js +1 -1
  528. package/zero-styled/index.d.ts +10 -2
  529. package/zero-styled/index.js +24 -5
@@ -7,12 +7,12 @@ import clsx from 'clsx';
7
7
  import integerPropType from '@mui/utils/integerPropType';
8
8
  import { useSlotProps } from '@mui/base/utils';
9
9
  import composeClasses from '@mui/utils/composeClasses';
10
- import { styled, createUseThemeProps } from '../zero-styled';
10
+ import { styled } from '../zero-styled';
11
+ import { useDefaultProps } from '../DefaultPropsProvider';
11
12
  import Typography from '../Typography';
12
13
  import BreadcrumbCollapsed from './BreadcrumbCollapsed';
13
14
  import breadcrumbsClasses, { getBreadcrumbsUtilityClass } from './breadcrumbsClasses';
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
- const useThemeProps = createUseThemeProps('MuiBreadcrumbs');
16
16
  const useUtilityClasses = ownerState => {
17
17
  const {
18
18
  classes
@@ -72,7 +72,7 @@ function insertSeparators(items, className, separator, ownerState) {
72
72
  }, []);
73
73
  }
74
74
  const Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, ref) {
75
- const props = useThemeProps({
75
+ const props = useDefaultProps({
76
76
  props: inProps,
77
77
  name: 'MuiBreadcrumbs'
78
78
  });
@@ -111,13 +111,13 @@ export type ExtendButton<TypeMap extends OverridableTypeMap> = ((
111
111
  *
112
112
  * Demos:
113
113
  *
114
- * - [Button Group](https://mui.com/material-ui/react-button-group/)
115
- * - [Button](https://mui.com/material-ui/react-button/)
114
+ * - [Button Group](https://next.mui.com/material-ui/react-button-group/)
115
+ * - [Button](https://next.mui.com/material-ui/react-button/)
116
116
  *
117
117
  * API:
118
118
  *
119
- * - [Button API](https://mui.com/material-ui/api/button/)
120
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
119
+ * - [Button API](https://next.mui.com/material-ui/api/button/)
120
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
121
121
  */
122
122
  declare const Button: ExtendButtonBase<ButtonTypeMap>;
123
123
 
package/Button/Button.js CHANGED
@@ -7,14 +7,14 @@ import resolveProps from '@mui/utils/resolveProps';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
8
  import { alpha } from '@mui/system/colorManipulator';
9
9
  import rootShouldForwardProp from '../styles/rootShouldForwardProp';
10
- import { styled, createUseThemeProps } from '../zero-styled';
10
+ import { styled } from '../zero-styled';
11
+ import { useDefaultProps } from '../DefaultPropsProvider';
11
12
  import ButtonBase from '../ButtonBase';
12
13
  import capitalize from '../utils/capitalize';
13
14
  import buttonClasses, { getButtonUtilityClass } from './buttonClasses';
14
15
  import ButtonGroupContext from '../ButtonGroup/ButtonGroupContext';
15
16
  import ButtonGroupButtonContext from '../ButtonGroup/ButtonGroupButtonContext';
16
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
- const useThemeProps = createUseThemeProps('MuiButton');
18
18
  const useUtilityClasses = ownerState => {
19
19
  const {
20
20
  color,
@@ -313,7 +313,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
313
313
  const contextProps = React.useContext(ButtonGroupContext);
314
314
  const buttonGroupButtonContextPositionClassName = React.useContext(ButtonGroupButtonContext);
315
315
  const resolvedProps = resolveProps(contextProps, inProps);
316
- const props = useThemeProps({
316
+ const props = useDefaultProps({
317
317
  props: resolvedProps,
318
318
  name: 'MuiButton'
319
319
  });
@@ -115,11 +115,11 @@ export type ExtendButtonBase<TypeMap extends OverridableTypeMap> = ((
115
115
  *
116
116
  * Demos:
117
117
  *
118
- * - [Button](https://mui.com/material-ui/react-button/)
118
+ * - [Button](https://next.mui.com/material-ui/react-button/)
119
119
  *
120
120
  * API:
121
121
  *
122
- * - [ButtonBase API](https://mui.com/material-ui/api/button-base/)
122
+ * - [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
123
123
  */
124
124
  declare const ButtonBase: ExtendButtonBase<ButtonBaseTypeMap>;
125
125
 
@@ -6,14 +6,14 @@ 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 { styled } from '../zero-styled';
10
+ import { useDefaultProps } from '../DefaultPropsProvider';
10
11
  import useForkRef from '../utils/useForkRef';
11
12
  import useEventCallback from '../utils/useEventCallback';
12
13
  import useIsFocusVisible from '../utils/useIsFocusVisible';
13
14
  import TouchRipple from './TouchRipple';
14
15
  import buttonBaseClasses, { getButtonBaseUtilityClass } from './buttonBaseClasses';
15
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
- const useThemeProps = createUseThemeProps('MuiButtonBase');
17
17
  const useUtilityClasses = ownerState => {
18
18
  const {
19
19
  disabled,
@@ -80,7 +80,7 @@ export const ButtonBaseRoot = styled('button', {
80
80
  * It contains a load of style reset and some focus/ripple logic.
81
81
  */
82
82
  const ButtonBase = /*#__PURE__*/React.forwardRef(function ButtonBase(inProps, ref) {
83
- const props = useThemeProps({
83
+ const props = useDefaultProps({
84
84
  props: inProps,
85
85
  name: 'MuiButtonBase'
86
86
  });
@@ -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,150 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v6.0.0-alpha.12
4
+
5
+ <!-- generated comparing v6.0.0-alpha.11..next -->
6
+
7
+ _Jun 24, 2024_
8
+
9
+ A big thanks to the 17 contributors who made this release possible.
10
+
11
+ ### `@mui/material@6.0.0-alpha.12`
12
+
13
+ - Add `InitColorSchemeScript` for Next.js App Router (#42247) @siriwatknp
14
+ - [Autocomplete] Fix renderOption props type (#42689) @DiegoAndai
15
+ - [Autocomplete] Fix React 18.3 key spread warnings in Autocomplete demos (#42691) @aarongarciah
16
+ - Support Pigment CSS for `CssBaseline`, `ScopedCssBaseline` and `Popper` (#42640) @siriwatknp
17
+ - Add `DefaultPropsProvider` for Pigment CSS integration (#42638) @siriwatknp
18
+ - [Stepper] Generate class for nonLinear prop (#42620) @alexismo
19
+ - [Tab] Fix failing test (#42686) @aarongarciah
20
+ - [Tab] Deprecate iconWrapper class for icon class (#42647) @sai6855
21
+ - [TableSortLabel] Deprecate composed classes (#42281) @sai6855
22
+ - [usePagination] Update pagination `siblingsEnd` calculation logic (#42667) @Mini-ghost
23
+
24
+ ### `@mui/codemod@6.0.0-alpha.12`
25
+
26
+ - Support dynamic props styled transformation (#42683) @siriwatknp
27
+
28
+ ### `@mui/system@6.0.0-alpha.12`
29
+
30
+ - Fix issues reported by react compiler in `mui-system` package (#42637) @sai6855
31
+ - [useMediaQuery] Remove deprecated types (#42560) @aarongarciah
32
+
33
+ ### `@mui/joy@5.0.0-beta.45`
34
+
35
+ - Fix issues reported by the React Compiler (#42671) @anuujj
36
+ - [Autocomplete] Fix React spread key warning (#42741) @aarongarciah
37
+
38
+ ### `@mui/lab@6.0.0-alpha.12`
39
+
40
+ - [LoadingButton] Apply wrapping element to prevent React crash on Google page translation (#35198) @BartJanvanAssen
41
+
42
+ ### Docs
43
+
44
+ - Fix git diff format in migration to v6 (#42711) @oliviertassinari
45
+ - Use new email for sponsoring @oliviertassinari
46
+ - Fix 301 links (#42697) @alexfauquette
47
+ - Normalize the capitalization of Design Kit @oliviertassinari
48
+ - Recommend setting HTML attribute instead of DOM property for RTL (#42599) @aarongarciah
49
+ - [material-ui][Select] Fix the `SelectAutoWidth` demo menu item value (#42648) @Danielkhakbaz
50
+
51
+ ### Core
52
+
53
+ - [code-infra] Try disabling animations when taking screenshots (#42537) @Janpot
54
+ - [code-infra] Fix benchmark package (#42553) @Janpot
55
+ - [core] Replace enzyme in describeConformance (#42447) @DiegoAndai
56
+ - [docs-infra] Fix layout shift demo toolbar (#42743) @oliviertassinari
57
+ - [docs-infra] Fix visual look of in-house ad (#42735) @oliviertassinari
58
+ - [docs-infra] Add stray design polish (#42646) @danilo-leal
59
+ - [docs-infra] Fix wrong migration (#42675) @siriwatknp
60
+ - [docs-infra] Fine tune markdown elements design (#42643) @danilo-leal
61
+ - [docs-infra] Revamp the product switcher design (#42603) @danilo-leal
62
+ - [docs-infra] Allow Link component to receive the `role` attribute (#42629) @danilo-leal
63
+ - [infra] Add support donation button (#42499) @oliviertassinari
64
+ - [infra] Raise `tsconfig`/`tsc` target to `es2022` (#42645) @LukasTy
65
+ - [test] Fix tests on CI (#42670) @michaldudak
66
+ - [test] Fix issues reported by react-compiler in test packages (#42626) @sai6855
67
+ - [website] Add Armin to the team members (#42679) @arminmeh
68
+ - [website] Open Staff Engineer role for Pigment CSS (#42531) @mnajdova
69
+
70
+ 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
71
+
72
+ ## v6.0.0-alpha.11
73
+
74
+ <!-- generated comparing v6.0.0-alpha.10..next -->
75
+
76
+ _Jun 11, 2024_
77
+
78
+ A big thanks to the 18 contributors who made this release possible.
79
+
80
+ ### `@mui/material@6.0.0-alpha.11`
81
+
82
+ - &#8203;<!-- 38 -->[Autocomplete] Shouldn't resize when hovering (#42452) @ZeeshanTamboli
83
+ - &#8203;<!-- 37 -->[Chip] Fix focus issue related with the Escape event (#41578) @shrilsharma
84
+ - &#8203;<!-- 12 -->[Grid] Fix support for CSS variables (#42574) @oliviertassinari
85
+ - &#8203;<!-- 11 -->[InputBase] Use `globalCss` for Pigment integration (#42431) @siriwatknp
86
+ - &#8203;<!-- 10 -->Change React.ReactElement type from `any` to `unknown` (#42473) @sai6855
87
+ - &#8203;<!-- 09 -->Integrate `extendSxProp` adapter (#42543) @siriwatknp
88
+ - &#8203;<!-- 08 -->[Tab] Fix applying `iconWrapper` styles from theme and update its description (#42549) @sai6855
89
+ - &#8203;<!-- 08 -->[pigment-css] Add `stringifyTheme` for Pigment CSS integration (#42476) @siriwatknp
90
+
91
+ ### `@mui/system@6.0.0-alpha.11`
92
+
93
+ - &#8203;<!-- 11 -->[Grid] Remove `disableEqualOverflow` by using `gap` (#42526) @DiegoAndai
94
+ - &#8203;<!-- 07 -->[useMediaQuery] Drop Safari < 14 support (#42464) @aarongarciah
95
+
96
+ ### `@mui/utils@6.0.0-alpha.11`
97
+
98
+ - &#8203;<!-- 04 -->Allow passing `NaN` as `defaultValue` to `useControlled` (#41559) @iammminzzy
99
+
100
+ ### `@mui/codemod@6.0.0-alpha.11`
101
+
102
+ - &#8203;<!-- 39 -->Improve styled and sx prop transformation (#42598) @siriwatknp
103
+ - &#8203;<!-- 36 -->Support more cases for sx-prop transformation (#42527) @siriwatknp
104
+
105
+ ### `@mui/private-theming@6.0.0-alpha.11`
106
+
107
+ - &#8203;<!-- 09 -->Fix issues reported by react compiler in `mui-private-theming` components (#42619) @sai6855
108
+
109
+ ### Docs
110
+
111
+ - &#8203;<!-- 31 -->Add `theme.applyStyles` and migrate docs (#42498) @siriwatknp
112
+ - &#8203;<!-- 29 -->Fix dashboard template console error (#42594) @oliviertassinari
113
+ - &#8203;<!-- 28 -->Migrate system props to `sx` prop (#42475) @siriwatknp
114
+ - &#8203;<!-- 27 -->[material-ui]Fix duplicated sentence (#42521) @alexfauquette
115
+ - &#8203;<!-- 22 -->[Grid] Fix docs spacing (#42573) @oliviertassinari
116
+ - &#8203;<!-- 21 -->[joy-ui] Add Next.js App Router instructions on how to prevent flickering (#42514) @devnyxie
117
+ - &#8203;<!-- 20 -->[joy-ui] Fix HTML tag without preformatting (#42525) @jacobmoshipco
118
+ - &#8203;<!-- 19 -->[material-ui] Add docs for complementary stepper components (#41900) @anle9650
119
+ - &#8203;<!-- 18 -->[material-ui] Fix typo on Sign-in/Sign-up templates (#42605) @zanivan
120
+ - &#8203;<!-- 17 -->[material-ui] Add container queries docs (#42434) @siriwatknp
121
+ - &#8203;<!-- 16 -->[material-ui] Fix ESLint error in Stepper demo (#42559) @aarongarciah
122
+ - &#8203;<!-- 15 -->[material-ui] Shorten useMediaQuery subheading (#42561) @aarongarciah
123
+ - &#8203;<!-- 14 -->[material-ui] Add a Refine example project (#42461) @necatiozmen
124
+
125
+ ### Core
126
+
127
+ - &#8203;<!-- 39 -->[website] Move the `React Engineer - X` role to future roles (#42532) @DanailH
128
+ - &#8203;<!-- 35 -->[core] Allow `for..of` loops (#42600) @michaldudak
129
+ - &#8203;<!-- 34 -->[core] Add comment about Object.js @oliviertassinari
130
+ - &#8203;<!-- 33 -->[core] Disable eslint-plugin-react-compiler for Base (#42563) @aarongarciah
131
+ - &#8203;<!-- 33 -->[core] Group Pigment CSS dependencies (#42174) @siriwatknp
132
+ - &#8203;<!-- 32 -->[core] Configure eslint-plugin-react-compiler (#42555) @aarongarciah
133
+ - &#8203;<!-- 31 -->[core] Skip charts animation for visual regression test (#42530) @alexfauquette
134
+ - &#8203;<!-- 26 -->[docs-infra] Simplify click header (#42593) @oliviertassinari
135
+ - &#8203;<!-- 25 -->[docs-infra] Add configurable jsdoc host variable (#42472) @tonygravell
136
+ - &#8203;<!-- 25 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
137
+ - &#8203;<!-- 24 -->[docs-infra] Prevent link anchor when selecting text (#41994) @alexfauquette
138
+ - &#8203;<!-- 23 -->[docs-infra] Add the Base UI logo with copy functionality (#42446) @danilo-leal
139
+ - &#8203;<!-- 13 -->[examples] Remove Pigment CSS examples (#42471) @sai6855
140
+ - &#8203;<!-- 06 -->[test] Restore pnpm tc command (#42572) @oliviertassinari
141
+ - &#8203;<!-- 05 -->[test] Restore testing internal packages (#42519) @michaldudak
142
+ - &#8203;<!-- 03 -->[website] Close Developer Advocate / Content Engineer role @oliviertassinari
143
+ - &#8203;<!-- 02 -->[website] Remove blank line @oliviertassinari
144
+ - &#8203;<!-- 01 -->[website] Fix mobile layout shift @oliviertassinari
145
+
146
+ 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
147
+
3
148
  ## v6.0.0-alpha.10
4
149
 
5
150
  <!-- generated comparing v6.0.0-alpha.9..next -->
package/Card/Card.d.ts CHANGED
@@ -37,12 +37,12 @@ export interface CardTypeMap<
37
37
  *
38
38
  * Demos:
39
39
  *
40
- * - [Card](https://mui.com/material-ui/react-card/)
40
+ * - [Card](https://next.mui.com/material-ui/react-card/)
41
41
  *
42
42
  * API:
43
43
  *
44
- * - [Card API](https://mui.com/material-ui/api/card/)
45
- * - inherits [Paper API](https://mui.com/material-ui/api/paper/)
44
+ * - [Card API](https://next.mui.com/material-ui/api/card/)
45
+ * - inherits [Paper API](https://next.mui.com/material-ui/api/paper/)
46
46
  */
47
47
 
48
48
  declare const Card: OverridableComponent<CardTypeMap>;
package/Card/Card.js CHANGED
@@ -5,11 +5,11 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import chainPropTypes from '@mui/utils/chainPropTypes';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
- import { styled, createUseThemeProps } from '../zero-styled';
8
+ import { styled } from '../zero-styled';
9
+ import { useDefaultProps } from '../DefaultPropsProvider';
9
10
  import Paper from '../Paper';
10
11
  import { getCardUtilityClass } from './cardClasses';
11
12
  import { jsx as _jsx } from "react/jsx-runtime";
12
- const useThemeProps = createUseThemeProps('MuiCard');
13
13
  const useUtilityClasses = ownerState => {
14
14
  const {
15
15
  classes
@@ -27,7 +27,7 @@ const CardRoot = styled(Paper, {
27
27
  overflow: 'hidden'
28
28
  });
29
29
  const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
30
- const props = useThemeProps({
30
+ const props = useDefaultProps({
31
31
  props: inProps,
32
32
  name: 'MuiCard'
33
33
  });
@@ -29,12 +29,12 @@ export type CardActionAreaTypeMap<
29
29
  *
30
30
  * Demos:
31
31
  *
32
- * - [Card](https://mui.com/material-ui/react-card/)
32
+ * - [Card](https://next.mui.com/material-ui/react-card/)
33
33
  *
34
34
  * API:
35
35
  *
36
- * - [CardActionArea API](https://mui.com/material-ui/api/card-action-area/)
37
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
36
+ * - [CardActionArea API](https://next.mui.com/material-ui/api/card-action-area/)
37
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
38
38
  */
39
39
  declare const CardActionArea: ExtendButtonBase<
40
40
  CardActionAreaTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>
@@ -4,11 +4,11 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import composeClasses from '@mui/utils/composeClasses';
7
- import { styled, createUseThemeProps } from '../zero-styled';
7
+ import { styled } from '../zero-styled';
8
+ import { useDefaultProps } from '../DefaultPropsProvider';
8
9
  import cardActionAreaClasses, { getCardActionAreaUtilityClass } from './cardActionAreaClasses';
9
10
  import ButtonBase from '../ButtonBase';
10
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const useThemeProps = createUseThemeProps('MuiCardActionArea');
12
12
  const useUtilityClasses = ownerState => {
13
13
  const {
14
14
  classes
@@ -63,7 +63,7 @@ const CardActionAreaFocusHighlight = styled('span', {
63
63
  })
64
64
  }));
65
65
  const CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inProps, ref) {
66
- const props = useThemeProps({
66
+ const props = useDefaultProps({
67
67
  props: inProps,
68
68
  name: 'MuiCardActionArea'
69
69
  });
@@ -27,10 +27,10 @@ export interface CardActionsProps extends StandardProps<React.HTMLAttributes<HTM
27
27
  *
28
28
  * Demos:
29
29
  *
30
- * - [Card](https://mui.com/material-ui/react-card/)
30
+ * - [Card](https://next.mui.com/material-ui/react-card/)
31
31
  *
32
32
  * API:
33
33
  *
34
- * - [CardActions API](https://mui.com/material-ui/api/card-actions/)
34
+ * - [CardActions API](https://next.mui.com/material-ui/api/card-actions/)
35
35
  */
36
36
  export default function CardActions(props: CardActionsProps): React.JSX.Element;
@@ -4,10 +4,10 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import composeClasses from '@mui/utils/composeClasses';
7
- import { styled, createUseThemeProps } from '../zero-styled';
7
+ import { styled } from '../zero-styled';
8
+ import { useDefaultProps } from '../DefaultPropsProvider';
8
9
  import { getCardActionsUtilityClass } from './cardActionsClasses';
9
10
  import { jsx as _jsx } from "react/jsx-runtime";
10
- const useThemeProps = createUseThemeProps('MuiCardActions');
11
11
  const useUtilityClasses = ownerState => {
12
12
  const {
13
13
  classes,
@@ -43,7 +43,7 @@ const CardActionsRoot = styled('div', {
43
43
  }]
44
44
  });
45
45
  const CardActions = /*#__PURE__*/React.forwardRef(function CardActions(inProps, ref) {
46
- const props = useThemeProps({
46
+ const props = useDefaultProps({
47
47
  props: inProps,
48
48
  name: 'MuiCardActions'
49
49
  });
@@ -30,11 +30,11 @@ export interface CardContentTypeMap<
30
30
  *
31
31
  * Demos:
32
32
  *
33
- * - [Card](https://mui.com/material-ui/react-card/)
33
+ * - [Card](https://next.mui.com/material-ui/react-card/)
34
34
  *
35
35
  * API:
36
36
  *
37
- * - [CardContent API](https://mui.com/material-ui/api/card-content/)
37
+ * - [CardContent API](https://next.mui.com/material-ui/api/card-content/)
38
38
  */
39
39
  declare const CardContent: OverridableComponent<CardContentTypeMap>;
40
40
 
@@ -4,10 +4,10 @@ import * as React from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import composeClasses from '@mui/utils/composeClasses';
7
- import { styled, createUseThemeProps } from '../zero-styled';
7
+ import { styled } from '../zero-styled';
8
+ import { useDefaultProps } from '../DefaultPropsProvider';
8
9
  import { getCardContentUtilityClass } from './cardContentClasses';
9
10
  import { jsx as _jsx } from "react/jsx-runtime";
10
- const useThemeProps = createUseThemeProps('MuiCardContent');
11
11
  const useUtilityClasses = ownerState => {
12
12
  const {
13
13
  classes
@@ -28,7 +28,7 @@ const CardContentRoot = styled('div', {
28
28
  }
29
29
  });
30
30
  const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps, ref) {
31
- const props = useThemeProps({
31
+ const props = useDefaultProps({
32
32
  props: inProps,
33
33
  name: 'MuiCardContent'
34
34
  });
@@ -77,11 +77,11 @@ export interface CardHeaderTypeMap<
77
77
  *
78
78
  * Demos:
79
79
  *
80
- * - [Card](https://mui.com/material-ui/react-card/)
80
+ * - [Card](https://next.mui.com/material-ui/react-card/)
81
81
  *
82
82
  * API:
83
83
  *
84
- * - [CardHeader API](https://mui.com/material-ui/api/card-header/)
84
+ * - [CardHeader API](https://next.mui.com/material-ui/api/card-header/)
85
85
  */
86
86
  declare const CardHeader: OverridableCardHeader;
87
87
 
@@ -5,10 +5,10 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import composeClasses from '@mui/utils/composeClasses';
7
7
  import Typography from '../Typography';
8
- import { styled, createUseThemeProps } from '../zero-styled';
8
+ import { styled } from '../zero-styled';
9
+ import { useDefaultProps } from '../DefaultPropsProvider';
9
10
  import cardHeaderClasses, { getCardHeaderUtilityClass } from './cardHeaderClasses';
10
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const useThemeProps = createUseThemeProps('MuiCardHeader');
12
12
  const useUtilityClasses = ownerState => {
13
13
  const {
14
14
  classes
@@ -64,7 +64,7 @@ const CardHeaderContent = styled('div', {
64
64
  flex: '1 1 auto'
65
65
  });
66
66
  const CardHeader = /*#__PURE__*/React.forwardRef(function CardHeader(inProps, ref) {
67
- const props = useThemeProps({
67
+ const props = useDefaultProps({
68
68
  props: inProps,
69
69
  name: 'MuiCardHeader'
70
70
  });
@@ -40,11 +40,11 @@ export interface CardMediaTypeMap<AdditionalProps, RootComponent extends React.E
40
40
  *
41
41
  * Demos:
42
42
  *
43
- * - [Card](https://mui.com/material-ui/react-card/)
43
+ * - [Card](https://next.mui.com/material-ui/react-card/)
44
44
  *
45
45
  * API:
46
46
  *
47
- * - [CardMedia API](https://mui.com/material-ui/api/card-media/)
47
+ * - [CardMedia API](https://next.mui.com/material-ui/api/card-media/)
48
48
  */
49
49
  declare const CardMedia: OverridableComponent<CardMediaTypeMap<{}, 'div'>>;
50
50
 
@@ -5,10 +5,10 @@ import PropTypes from 'prop-types';
5
5
  import clsx from 'clsx';
6
6
  import chainPropTypes from '@mui/utils/chainPropTypes';
7
7
  import composeClasses from '@mui/utils/composeClasses';
8
- import { styled, createUseThemeProps } from '../zero-styled';
8
+ import { styled } from '../zero-styled';
9
+ import { useDefaultProps } from '../DefaultPropsProvider';
9
10
  import { getCardMediaUtilityClass } from './cardMediaClasses';
10
11
  import { jsx as _jsx } from "react/jsx-runtime";
11
- const useThemeProps = createUseThemeProps('MuiCardMedia');
12
12
  const useUtilityClasses = ownerState => {
13
13
  const {
14
14
  classes,
@@ -57,7 +57,7 @@ const CardMediaRoot = styled('div', {
57
57
  const MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
58
58
  const IMAGE_COMPONENTS = ['picture', 'img'];
59
59
  const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref) {
60
- const props = useThemeProps({
60
+ const props = useDefaultProps({
61
61
  props: inProps,
62
62
  name: 'MuiCardMedia'
63
63
  });
@@ -107,12 +107,12 @@ export interface CheckboxProps
107
107
  *
108
108
  * Demos:
109
109
  *
110
- * - [Checkbox](https://mui.com/material-ui/react-checkbox/)
111
- * - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
110
+ * - [Checkbox](https://next.mui.com/material-ui/react-checkbox/)
111
+ * - [Transfer List](https://next.mui.com/material-ui/react-transfer-list/)
112
112
  *
113
113
  * API:
114
114
  *
115
- * - [Checkbox API](https://mui.com/material-ui/api/checkbox/)
116
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
115
+ * - [Checkbox API](https://next.mui.com/material-ui/api/checkbox/)
116
+ * - inherits [ButtonBase API](https://next.mui.com/material-ui/api/button-base/)
117
117
  */
118
118
  export default function Checkbox(props: CheckboxProps): React.JSX.Element;
@@ -13,9 +13,9 @@ import IndeterminateCheckBoxIcon from '../internal/svg-icons/IndeterminateCheckB
13
13
  import capitalize from '../utils/capitalize';
14
14
  import rootShouldForwardProp from '../styles/rootShouldForwardProp';
15
15
  import checkboxClasses, { getCheckboxUtilityClass } from './checkboxClasses';
16
- import { createUseThemeProps, styled } from '../zero-styled';
16
+ import { styled } from '../zero-styled';
17
+ import { useDefaultProps } from '../DefaultPropsProvider';
17
18
  import { jsx as _jsx } from "react/jsx-runtime";
18
- const useThemeProps = createUseThemeProps('MuiCheckbox');
19
19
  const useUtilityClasses = ownerState => {
20
20
  const {
21
21
  classes,
@@ -98,7 +98,7 @@ const defaultCheckedIcon = /*#__PURE__*/_jsx(CheckBoxIcon, {});
98
98
  const defaultIcon = /*#__PURE__*/_jsx(CheckBoxOutlineBlankIcon, {});
99
99
  const defaultIndeterminateIcon = /*#__PURE__*/_jsx(IndeterminateCheckBoxIcon, {});
100
100
  const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
101
- const props = useThemeProps({
101
+ const props = useDefaultProps({
102
102
  props: inProps,
103
103
  name: 'MuiCheckbox'
104
104
  });
package/Chip/Chip.d.ts CHANGED
@@ -15,7 +15,7 @@ export interface ChipOwnProps {
15
15
  /**
16
16
  * The Avatar element to display.
17
17
  */
18
- avatar?: React.ReactElement<any>;
18
+ avatar?: React.ReactElement<unknown>;
19
19
  /**
20
20
  * This prop isn't supported.
21
21
  * Use the `component` prop if you need to change the children structure.
@@ -47,7 +47,7 @@ export interface ChipOwnProps {
47
47
  /**
48
48
  * Override the default delete icon element. Shown only if `onDelete` is set.
49
49
  */
50
- deleteIcon?: React.ReactElement<any>;
50
+ deleteIcon?: React.ReactElement<unknown>;
51
51
  /**
52
52
  * If `true`, the component is disabled.
53
53
  * @default false
@@ -56,7 +56,7 @@ export interface ChipOwnProps {
56
56
  /**
57
57
  * Icon element.
58
58
  */
59
- icon?: React.ReactElement<any>;
59
+ icon?: React.ReactElement<unknown>;
60
60
  /**
61
61
  * The content of the component.
62
62
  */
@@ -105,11 +105,11 @@ export interface ChipTypeMap<
105
105
  *
106
106
  * Demos:
107
107
  *
108
- * - [Chip](https://mui.com/material-ui/react-chip/)
108
+ * - [Chip](https://next.mui.com/material-ui/react-chip/)
109
109
  *
110
110
  * API:
111
111
  *
112
- * - [Chip API](https://mui.com/material-ui/api/chip/)
112
+ * - [Chip API](https://next.mui.com/material-ui/api/chip/)
113
113
  */
114
114
  declare const Chip: OverridableComponent<ChipTypeMap>;
115
115