@mui/material 5.15.3 → 5.15.5

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 (555) hide show
  1. package/Accordion/Accordion.d.ts +30 -2
  2. package/Accordion/Accordion.js +43 -10
  3. package/AccordionActions/AccordionActions.js +4 -4
  4. package/AccordionDetails/AccordionDetails.js +4 -4
  5. package/AccordionSummary/AccordionSummary.js +4 -4
  6. package/AccordionSummary/accordionSummaryClasses.d.ts +4 -1
  7. package/Alert/Alert.d.ts +4 -2
  8. package/Alert/Alert.js +5 -5
  9. package/AlertTitle/AlertTitle.js +4 -4
  10. package/AppBar/AppBar.js +4 -4
  11. package/Autocomplete/Autocomplete.js +4 -4
  12. package/Avatar/Avatar.js +4 -4
  13. package/AvatarGroup/AvatarGroup.js +4 -4
  14. package/Backdrop/Backdrop.js +4 -4
  15. package/Badge/Badge.js +5 -5
  16. package/BottomNavigation/BottomNavigation.js +4 -4
  17. package/BottomNavigationAction/BottomNavigationAction.js +4 -4
  18. package/Box/Box.js +4 -4
  19. package/Breadcrumbs/Breadcrumbs.js +4 -4
  20. package/Button/Button.js +4 -4
  21. package/ButtonBase/ButtonBase.js +4 -4
  22. package/ButtonGroup/ButtonGroup.js +4 -4
  23. package/ButtonGroup/ButtonGroupContext.d.ts +2 -2
  24. package/CHANGELOG.md +184 -1
  25. package/Card/Card.js +4 -4
  26. package/CardActionArea/CardActionArea.js +4 -4
  27. package/CardActions/CardActions.js +4 -4
  28. package/CardContent/CardContent.js +4 -4
  29. package/CardHeader/CardHeader.js +4 -4
  30. package/CardMedia/CardMedia.js +4 -4
  31. package/Checkbox/Checkbox.js +4 -4
  32. package/Chip/Chip.js +4 -4
  33. package/CircularProgress/CircularProgress.js +4 -4
  34. package/ClickAwayListener/index.d.ts +2 -1
  35. package/Collapse/Collapse.js +4 -4
  36. package/Container/Container.js +4 -4
  37. package/CssBaseline/CssBaseline.js +4 -4
  38. package/Dialog/Dialog.js +4 -4
  39. package/DialogActions/DialogActions.js +4 -4
  40. package/DialogContent/DialogContent.js +4 -4
  41. package/DialogContentText/DialogContentText.js +4 -4
  42. package/DialogTitle/DialogTitle.js +4 -4
  43. package/Divider/Divider.d.ts +1 -0
  44. package/Divider/Divider.js +5 -4
  45. package/Divider/dividerClasses.d.ts +6 -2
  46. package/Drawer/Drawer.js +4 -4
  47. package/Fab/Fab.js +4 -4
  48. package/Fade/Fade.js +4 -4
  49. package/FilledInput/FilledInput.js +4 -4
  50. package/FormControl/FormControl.d.ts +1 -1
  51. package/FormControl/FormControl.js +4 -4
  52. package/FormControlLabel/FormControlLabel.js +4 -4
  53. package/FormGroup/FormGroup.js +4 -4
  54. package/FormHelperText/FormHelperText.js +4 -4
  55. package/FormLabel/FormLabel.d.ts +1 -1
  56. package/FormLabel/FormLabel.js +4 -4
  57. package/GlobalStyles/GlobalStyles.js +4 -4
  58. package/Grid/Grid.js +4 -4
  59. package/Grow/Grow.js +4 -4
  60. package/Hidden/Hidden.js +4 -4
  61. package/Icon/Icon.js +4 -4
  62. package/IconButton/IconButton.js +4 -4
  63. package/ImageList/ImageList.js +4 -4
  64. package/ImageListItem/ImageListItem.js +4 -4
  65. package/ImageListItemBar/ImageListItemBar.js +4 -4
  66. package/Input/Input.js +4 -4
  67. package/InputAdornment/InputAdornment.js +4 -4
  68. package/InputBase/InputBase.js +4 -4
  69. package/InputLabel/InputLabel.d.ts +1 -5
  70. package/InputLabel/InputLabel.js +4 -4
  71. package/LinearProgress/LinearProgress.js +4 -4
  72. package/Link/Link.js +4 -4
  73. package/List/List.js +4 -4
  74. package/ListItem/ListItem.js +4 -4
  75. package/ListItemAvatar/ListItemAvatar.js +4 -4
  76. package/ListItemButton/ListItemButton.js +4 -4
  77. package/ListItemIcon/ListItemIcon.js +4 -4
  78. package/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
  79. package/ListItemText/ListItemText.js +4 -4
  80. package/ListSubheader/ListSubheader.js +4 -4
  81. package/Menu/Menu.js +4 -4
  82. package/MenuItem/MenuItem.js +4 -4
  83. package/MenuList/MenuList.js +4 -4
  84. package/MobileStepper/MobileStepper.js +4 -4
  85. package/Modal/Modal.js +4 -4
  86. package/NativeSelect/NativeSelect.js +4 -4
  87. package/OutlinedInput/OutlinedInput.js +4 -4
  88. package/Pagination/Pagination.js +4 -4
  89. package/PaginationItem/PaginationItem.js +4 -4
  90. package/Paper/Paper.js +4 -4
  91. package/Popover/Popover.js +4 -4
  92. package/Popper/Popper.js +4 -4
  93. package/Radio/Radio.js +4 -4
  94. package/RadioGroup/RadioGroup.js +4 -4
  95. package/Rating/Rating.js +5 -14
  96. package/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
  97. package/Select/Select.js +4 -4
  98. package/Skeleton/Skeleton.js +4 -4
  99. package/Slide/Slide.js +4 -4
  100. package/Slider/Slider.js +4 -4
  101. package/Snackbar/Snackbar.js +4 -4
  102. package/SnackbarContent/SnackbarContent.js +4 -4
  103. package/SpeedDial/SpeedDial.js +5 -13
  104. package/SpeedDialAction/SpeedDialAction.js +4 -4
  105. package/SpeedDialIcon/SpeedDialIcon.js +4 -4
  106. package/Stack/Stack.js +4 -4
  107. package/Step/Step.js +4 -4
  108. package/StepButton/StepButton.js +4 -4
  109. package/StepConnector/StepConnector.js +4 -4
  110. package/StepContent/StepContent.js +4 -4
  111. package/StepIcon/StepIcon.js +4 -4
  112. package/StepLabel/StepLabel.js +4 -4
  113. package/Stepper/Stepper.js +4 -4
  114. package/SvgIcon/SvgIcon.js +4 -4
  115. package/SwipeableDrawer/SwipeableDrawer.js +4 -4
  116. package/Switch/Switch.js +4 -4
  117. package/Tab/Tab.js +4 -4
  118. package/TabScrollButton/TabScrollButton.js +4 -4
  119. package/Table/Table.js +4 -4
  120. package/TableBody/TableBody.js +4 -4
  121. package/TableCell/TableCell.js +4 -4
  122. package/TableContainer/TableContainer.js +4 -4
  123. package/TableFooter/TableFooter.js +4 -4
  124. package/TableHead/TableHead.js +4 -4
  125. package/TablePagination/TablePagination.js +4 -4
  126. package/TableRow/TableRow.js +4 -4
  127. package/TableSortLabel/TableSortLabel.js +4 -4
  128. package/Tabs/Tabs.js +4 -4
  129. package/TextField/TextField.d.ts +1 -1
  130. package/TextField/TextField.js +4 -4
  131. package/ToggleButton/ToggleButton.js +24 -8
  132. package/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
  133. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.d.ts +6 -0
  134. package/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
  135. package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +16 -0
  136. package/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
  137. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +6 -0
  138. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  139. package/Toolbar/Toolbar.js +4 -4
  140. package/Tooltip/Tooltip.js +4 -4
  141. package/Typography/Typography.js +4 -4
  142. package/Unstable_Grid2/Grid2.js +4 -4
  143. package/Zoom/Zoom.js +4 -4
  144. package/index.js +1 -1
  145. package/legacy/Accordion/Accordion.js +48 -11
  146. package/legacy/AccordionActions/AccordionActions.js +4 -4
  147. package/legacy/AccordionDetails/AccordionDetails.js +4 -4
  148. package/legacy/AccordionSummary/AccordionSummary.js +4 -4
  149. package/legacy/Alert/Alert.js +5 -5
  150. package/legacy/AlertTitle/AlertTitle.js +4 -4
  151. package/legacy/AppBar/AppBar.js +4 -4
  152. package/legacy/Autocomplete/Autocomplete.js +4 -4
  153. package/legacy/Avatar/Avatar.js +4 -4
  154. package/legacy/AvatarGroup/AvatarGroup.js +4 -4
  155. package/legacy/Backdrop/Backdrop.js +4 -4
  156. package/legacy/Badge/Badge.js +5 -5
  157. package/legacy/BottomNavigation/BottomNavigation.js +4 -4
  158. package/legacy/BottomNavigationAction/BottomNavigationAction.js +4 -4
  159. package/legacy/Box/Box.js +4 -4
  160. package/legacy/Breadcrumbs/Breadcrumbs.js +4 -4
  161. package/legacy/Button/Button.js +4 -4
  162. package/legacy/ButtonBase/ButtonBase.js +4 -4
  163. package/legacy/ButtonGroup/ButtonGroup.js +4 -4
  164. package/legacy/Card/Card.js +4 -4
  165. package/legacy/CardActionArea/CardActionArea.js +4 -4
  166. package/legacy/CardActions/CardActions.js +4 -4
  167. package/legacy/CardContent/CardContent.js +4 -4
  168. package/legacy/CardHeader/CardHeader.js +4 -4
  169. package/legacy/CardMedia/CardMedia.js +4 -4
  170. package/legacy/Checkbox/Checkbox.js +4 -4
  171. package/legacy/Chip/Chip.js +4 -4
  172. package/legacy/CircularProgress/CircularProgress.js +4 -4
  173. package/legacy/Collapse/Collapse.js +4 -4
  174. package/legacy/Container/Container.js +4 -4
  175. package/legacy/CssBaseline/CssBaseline.js +4 -4
  176. package/legacy/Dialog/Dialog.js +4 -4
  177. package/legacy/DialogActions/DialogActions.js +4 -4
  178. package/legacy/DialogContent/DialogContent.js +4 -4
  179. package/legacy/DialogContentText/DialogContentText.js +4 -4
  180. package/legacy/DialogTitle/DialogTitle.js +4 -4
  181. package/legacy/Divider/Divider.js +5 -4
  182. package/legacy/Drawer/Drawer.js +4 -4
  183. package/legacy/Fab/Fab.js +4 -4
  184. package/legacy/Fade/Fade.js +4 -4
  185. package/legacy/FilledInput/FilledInput.js +4 -4
  186. package/legacy/FormControl/FormControl.js +4 -4
  187. package/legacy/FormControlLabel/FormControlLabel.js +4 -4
  188. package/legacy/FormGroup/FormGroup.js +4 -4
  189. package/legacy/FormHelperText/FormHelperText.js +4 -4
  190. package/legacy/FormLabel/FormLabel.js +4 -4
  191. package/legacy/GlobalStyles/GlobalStyles.js +4 -4
  192. package/legacy/Grid/Grid.js +4 -4
  193. package/legacy/Grow/Grow.js +4 -4
  194. package/legacy/Hidden/Hidden.js +4 -4
  195. package/legacy/Icon/Icon.js +4 -4
  196. package/legacy/IconButton/IconButton.js +4 -4
  197. package/legacy/ImageList/ImageList.js +4 -4
  198. package/legacy/ImageListItem/ImageListItem.js +4 -4
  199. package/legacy/ImageListItemBar/ImageListItemBar.js +4 -4
  200. package/legacy/Input/Input.js +4 -4
  201. package/legacy/InputAdornment/InputAdornment.js +4 -4
  202. package/legacy/InputBase/InputBase.js +4 -4
  203. package/legacy/InputLabel/InputLabel.js +4 -4
  204. package/legacy/LinearProgress/LinearProgress.js +4 -4
  205. package/legacy/Link/Link.js +4 -4
  206. package/legacy/List/List.js +4 -4
  207. package/legacy/ListItem/ListItem.js +4 -4
  208. package/legacy/ListItemAvatar/ListItemAvatar.js +4 -4
  209. package/legacy/ListItemButton/ListItemButton.js +4 -4
  210. package/legacy/ListItemIcon/ListItemIcon.js +4 -4
  211. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
  212. package/legacy/ListItemText/ListItemText.js +4 -4
  213. package/legacy/ListSubheader/ListSubheader.js +4 -4
  214. package/legacy/Menu/Menu.js +4 -4
  215. package/legacy/MenuItem/MenuItem.js +4 -4
  216. package/legacy/MenuList/MenuList.js +4 -4
  217. package/legacy/MobileStepper/MobileStepper.js +4 -4
  218. package/legacy/Modal/Modal.js +4 -4
  219. package/legacy/NativeSelect/NativeSelect.js +4 -4
  220. package/legacy/OutlinedInput/OutlinedInput.js +4 -4
  221. package/legacy/Pagination/Pagination.js +4 -4
  222. package/legacy/PaginationItem/PaginationItem.js +4 -4
  223. package/legacy/Paper/Paper.js +4 -4
  224. package/legacy/Popover/Popover.js +4 -4
  225. package/legacy/Popper/Popper.js +4 -4
  226. package/legacy/Radio/Radio.js +4 -4
  227. package/legacy/RadioGroup/RadioGroup.js +4 -4
  228. package/legacy/Rating/Rating.js +5 -14
  229. package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
  230. package/legacy/Select/Select.js +4 -4
  231. package/legacy/Skeleton/Skeleton.js +4 -4
  232. package/legacy/Slide/Slide.js +4 -4
  233. package/legacy/Slider/Slider.js +4 -4
  234. package/legacy/Snackbar/Snackbar.js +4 -4
  235. package/legacy/SnackbarContent/SnackbarContent.js +4 -4
  236. package/legacy/SpeedDial/SpeedDial.js +5 -13
  237. package/legacy/SpeedDialAction/SpeedDialAction.js +4 -4
  238. package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -4
  239. package/legacy/Stack/Stack.js +4 -4
  240. package/legacy/Step/Step.js +4 -4
  241. package/legacy/StepButton/StepButton.js +4 -4
  242. package/legacy/StepConnector/StepConnector.js +4 -4
  243. package/legacy/StepContent/StepContent.js +4 -4
  244. package/legacy/StepIcon/StepIcon.js +4 -4
  245. package/legacy/StepLabel/StepLabel.js +4 -4
  246. package/legacy/Stepper/Stepper.js +4 -4
  247. package/legacy/SvgIcon/SvgIcon.js +4 -4
  248. package/legacy/SwipeableDrawer/SwipeableDrawer.js +4 -4
  249. package/legacy/Switch/Switch.js +4 -4
  250. package/legacy/Tab/Tab.js +4 -4
  251. package/legacy/TabScrollButton/TabScrollButton.js +4 -4
  252. package/legacy/Table/Table.js +4 -4
  253. package/legacy/TableBody/TableBody.js +4 -4
  254. package/legacy/TableCell/TableCell.js +4 -4
  255. package/legacy/TableContainer/TableContainer.js +4 -4
  256. package/legacy/TableFooter/TableFooter.js +4 -4
  257. package/legacy/TableHead/TableHead.js +4 -4
  258. package/legacy/TablePagination/TablePagination.js +4 -4
  259. package/legacy/TableRow/TableRow.js +4 -4
  260. package/legacy/TableSortLabel/TableSortLabel.js +4 -4
  261. package/legacy/Tabs/Tabs.js +4 -4
  262. package/legacy/TextField/TextField.js +4 -4
  263. package/legacy/ToggleButton/ToggleButton.js +19 -6
  264. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +81 -55
  265. package/legacy/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
  266. package/legacy/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
  267. package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  268. package/legacy/Toolbar/Toolbar.js +4 -4
  269. package/legacy/Tooltip/Tooltip.js +4 -4
  270. package/legacy/Typography/Typography.js +4 -4
  271. package/legacy/Unstable_Grid2/Grid2.js +4 -4
  272. package/legacy/Zoom/Zoom.js +4 -4
  273. package/legacy/index.js +1 -1
  274. package/legacy/styles/CssVarsProvider.js +3 -0
  275. package/legacy/utils/types.js +1 -0
  276. package/legacy/utils/useSlot.js +71 -0
  277. package/legacy/zero-styled/index.js +2 -0
  278. package/modern/Accordion/Accordion.js +43 -10
  279. package/modern/AccordionActions/AccordionActions.js +4 -4
  280. package/modern/AccordionDetails/AccordionDetails.js +4 -4
  281. package/modern/AccordionSummary/AccordionSummary.js +4 -4
  282. package/modern/Alert/Alert.js +5 -5
  283. package/modern/AlertTitle/AlertTitle.js +4 -4
  284. package/modern/AppBar/AppBar.js +4 -4
  285. package/modern/Autocomplete/Autocomplete.js +4 -4
  286. package/modern/Avatar/Avatar.js +4 -4
  287. package/modern/AvatarGroup/AvatarGroup.js +4 -4
  288. package/modern/Backdrop/Backdrop.js +4 -4
  289. package/modern/Badge/Badge.js +5 -5
  290. package/modern/BottomNavigation/BottomNavigation.js +4 -4
  291. package/modern/BottomNavigationAction/BottomNavigationAction.js +4 -4
  292. package/modern/Box/Box.js +4 -4
  293. package/modern/Breadcrumbs/Breadcrumbs.js +4 -4
  294. package/modern/Button/Button.js +4 -4
  295. package/modern/ButtonBase/ButtonBase.js +4 -4
  296. package/modern/ButtonGroup/ButtonGroup.js +4 -4
  297. package/modern/Card/Card.js +4 -4
  298. package/modern/CardActionArea/CardActionArea.js +4 -4
  299. package/modern/CardActions/CardActions.js +4 -4
  300. package/modern/CardContent/CardContent.js +4 -4
  301. package/modern/CardHeader/CardHeader.js +4 -4
  302. package/modern/CardMedia/CardMedia.js +4 -4
  303. package/modern/Checkbox/Checkbox.js +4 -4
  304. package/modern/Chip/Chip.js +4 -4
  305. package/modern/CircularProgress/CircularProgress.js +4 -4
  306. package/modern/Collapse/Collapse.js +4 -4
  307. package/modern/Container/Container.js +4 -4
  308. package/modern/CssBaseline/CssBaseline.js +4 -4
  309. package/modern/Dialog/Dialog.js +4 -4
  310. package/modern/DialogActions/DialogActions.js +4 -4
  311. package/modern/DialogContent/DialogContent.js +4 -4
  312. package/modern/DialogContentText/DialogContentText.js +4 -4
  313. package/modern/DialogTitle/DialogTitle.js +4 -4
  314. package/modern/Divider/Divider.js +5 -4
  315. package/modern/Drawer/Drawer.js +4 -4
  316. package/modern/Fab/Fab.js +4 -4
  317. package/modern/Fade/Fade.js +4 -4
  318. package/modern/FilledInput/FilledInput.js +4 -4
  319. package/modern/FormControl/FormControl.js +4 -4
  320. package/modern/FormControlLabel/FormControlLabel.js +4 -4
  321. package/modern/FormGroup/FormGroup.js +4 -4
  322. package/modern/FormHelperText/FormHelperText.js +4 -4
  323. package/modern/FormLabel/FormLabel.js +4 -4
  324. package/modern/GlobalStyles/GlobalStyles.js +4 -4
  325. package/modern/Grid/Grid.js +4 -4
  326. package/modern/Grow/Grow.js +4 -4
  327. package/modern/Hidden/Hidden.js +4 -4
  328. package/modern/Icon/Icon.js +4 -4
  329. package/modern/IconButton/IconButton.js +4 -4
  330. package/modern/ImageList/ImageList.js +4 -4
  331. package/modern/ImageListItem/ImageListItem.js +4 -4
  332. package/modern/ImageListItemBar/ImageListItemBar.js +4 -4
  333. package/modern/Input/Input.js +4 -4
  334. package/modern/InputAdornment/InputAdornment.js +4 -4
  335. package/modern/InputBase/InputBase.js +4 -4
  336. package/modern/InputLabel/InputLabel.js +4 -4
  337. package/modern/LinearProgress/LinearProgress.js +4 -4
  338. package/modern/Link/Link.js +4 -4
  339. package/modern/List/List.js +4 -4
  340. package/modern/ListItem/ListItem.js +4 -4
  341. package/modern/ListItemAvatar/ListItemAvatar.js +4 -4
  342. package/modern/ListItemButton/ListItemButton.js +4 -4
  343. package/modern/ListItemIcon/ListItemIcon.js +4 -4
  344. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
  345. package/modern/ListItemText/ListItemText.js +4 -4
  346. package/modern/ListSubheader/ListSubheader.js +4 -4
  347. package/modern/Menu/Menu.js +4 -4
  348. package/modern/MenuItem/MenuItem.js +4 -4
  349. package/modern/MenuList/MenuList.js +4 -4
  350. package/modern/MobileStepper/MobileStepper.js +4 -4
  351. package/modern/Modal/Modal.js +4 -4
  352. package/modern/NativeSelect/NativeSelect.js +4 -4
  353. package/modern/OutlinedInput/OutlinedInput.js +4 -4
  354. package/modern/Pagination/Pagination.js +4 -4
  355. package/modern/PaginationItem/PaginationItem.js +4 -4
  356. package/modern/Paper/Paper.js +4 -4
  357. package/modern/Popover/Popover.js +4 -4
  358. package/modern/Popper/Popper.js +4 -4
  359. package/modern/Radio/Radio.js +4 -4
  360. package/modern/RadioGroup/RadioGroup.js +4 -4
  361. package/modern/Rating/Rating.js +5 -14
  362. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
  363. package/modern/Select/Select.js +4 -4
  364. package/modern/Skeleton/Skeleton.js +4 -4
  365. package/modern/Slide/Slide.js +4 -4
  366. package/modern/Slider/Slider.js +4 -4
  367. package/modern/Snackbar/Snackbar.js +4 -4
  368. package/modern/SnackbarContent/SnackbarContent.js +4 -4
  369. package/modern/SpeedDial/SpeedDial.js +5 -13
  370. package/modern/SpeedDialAction/SpeedDialAction.js +4 -4
  371. package/modern/SpeedDialIcon/SpeedDialIcon.js +4 -4
  372. package/modern/Stack/Stack.js +4 -4
  373. package/modern/Step/Step.js +4 -4
  374. package/modern/StepButton/StepButton.js +4 -4
  375. package/modern/StepConnector/StepConnector.js +4 -4
  376. package/modern/StepContent/StepContent.js +4 -4
  377. package/modern/StepIcon/StepIcon.js +4 -4
  378. package/modern/StepLabel/StepLabel.js +4 -4
  379. package/modern/Stepper/Stepper.js +4 -4
  380. package/modern/SvgIcon/SvgIcon.js +4 -4
  381. package/modern/SwipeableDrawer/SwipeableDrawer.js +4 -4
  382. package/modern/Switch/Switch.js +4 -4
  383. package/modern/Tab/Tab.js +4 -4
  384. package/modern/TabScrollButton/TabScrollButton.js +4 -4
  385. package/modern/Table/Table.js +4 -4
  386. package/modern/TableBody/TableBody.js +4 -4
  387. package/modern/TableCell/TableCell.js +4 -4
  388. package/modern/TableContainer/TableContainer.js +4 -4
  389. package/modern/TableFooter/TableFooter.js +4 -4
  390. package/modern/TableHead/TableHead.js +4 -4
  391. package/modern/TablePagination/TablePagination.js +4 -4
  392. package/modern/TableRow/TableRow.js +4 -4
  393. package/modern/TableSortLabel/TableSortLabel.js +4 -4
  394. package/modern/Tabs/Tabs.js +4 -4
  395. package/modern/TextField/TextField.js +4 -4
  396. package/modern/ToggleButton/ToggleButton.js +24 -8
  397. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
  398. package/modern/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +9 -0
  399. package/modern/ToggleButtonGroup/ToggleButtonGroupContext.js +9 -0
  400. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  401. package/modern/Toolbar/Toolbar.js +4 -4
  402. package/modern/Tooltip/Tooltip.js +4 -4
  403. package/modern/Typography/Typography.js +4 -4
  404. package/modern/Unstable_Grid2/Grid2.js +4 -4
  405. package/modern/Zoom/Zoom.js +4 -4
  406. package/modern/index.js +1 -1
  407. package/modern/styles/CssVarsProvider.js +3 -0
  408. package/modern/utils/types.js +1 -0
  409. package/modern/utils/useSlot.js +82 -0
  410. package/modern/zero-styled/index.js +2 -0
  411. package/node/Accordion/Accordion.js +43 -10
  412. package/node/AccordionActions/AccordionActions.js +4 -4
  413. package/node/AccordionDetails/AccordionDetails.js +4 -4
  414. package/node/AccordionSummary/AccordionSummary.js +4 -4
  415. package/node/Alert/Alert.js +5 -5
  416. package/node/AlertTitle/AlertTitle.js +4 -4
  417. package/node/AppBar/AppBar.js +4 -4
  418. package/node/Autocomplete/Autocomplete.js +4 -4
  419. package/node/Avatar/Avatar.js +4 -4
  420. package/node/AvatarGroup/AvatarGroup.js +4 -4
  421. package/node/Backdrop/Backdrop.js +4 -4
  422. package/node/Badge/Badge.js +7 -7
  423. package/node/BottomNavigation/BottomNavigation.js +4 -4
  424. package/node/BottomNavigationAction/BottomNavigationAction.js +4 -4
  425. package/node/Box/Box.js +4 -4
  426. package/node/Breadcrumbs/Breadcrumbs.js +4 -4
  427. package/node/Button/Button.js +4 -4
  428. package/node/ButtonBase/ButtonBase.js +4 -4
  429. package/node/ButtonGroup/ButtonGroup.js +4 -4
  430. package/node/Card/Card.js +4 -4
  431. package/node/CardActionArea/CardActionArea.js +4 -4
  432. package/node/CardActions/CardActions.js +4 -4
  433. package/node/CardContent/CardContent.js +4 -4
  434. package/node/CardHeader/CardHeader.js +4 -4
  435. package/node/CardMedia/CardMedia.js +4 -4
  436. package/node/Checkbox/Checkbox.js +4 -4
  437. package/node/Chip/Chip.js +4 -4
  438. package/node/CircularProgress/CircularProgress.js +4 -4
  439. package/node/Collapse/Collapse.js +4 -4
  440. package/node/Container/Container.js +4 -4
  441. package/node/CssBaseline/CssBaseline.js +4 -4
  442. package/node/Dialog/Dialog.js +4 -4
  443. package/node/DialogActions/DialogActions.js +4 -4
  444. package/node/DialogContent/DialogContent.js +4 -4
  445. package/node/DialogContentText/DialogContentText.js +4 -4
  446. package/node/DialogTitle/DialogTitle.js +4 -4
  447. package/node/Divider/Divider.js +5 -4
  448. package/node/Drawer/Drawer.js +4 -4
  449. package/node/Fab/Fab.js +4 -4
  450. package/node/Fade/Fade.js +4 -4
  451. package/node/FilledInput/FilledInput.js +4 -4
  452. package/node/FormControl/FormControl.js +4 -4
  453. package/node/FormControlLabel/FormControlLabel.js +4 -4
  454. package/node/FormGroup/FormGroup.js +4 -4
  455. package/node/FormHelperText/FormHelperText.js +4 -4
  456. package/node/FormLabel/FormLabel.js +4 -4
  457. package/node/GlobalStyles/GlobalStyles.js +4 -4
  458. package/node/Grid/Grid.js +4 -4
  459. package/node/Grow/Grow.js +4 -4
  460. package/node/Hidden/Hidden.js +4 -4
  461. package/node/Icon/Icon.js +4 -4
  462. package/node/IconButton/IconButton.js +4 -4
  463. package/node/ImageList/ImageList.js +4 -4
  464. package/node/ImageListItem/ImageListItem.js +4 -4
  465. package/node/ImageListItemBar/ImageListItemBar.js +4 -4
  466. package/node/Input/Input.js +4 -4
  467. package/node/InputAdornment/InputAdornment.js +4 -4
  468. package/node/InputBase/InputBase.js +4 -4
  469. package/node/InputLabel/InputLabel.js +4 -4
  470. package/node/LinearProgress/LinearProgress.js +4 -4
  471. package/node/Link/Link.js +4 -4
  472. package/node/List/List.js +4 -4
  473. package/node/ListItem/ListItem.js +4 -4
  474. package/node/ListItemAvatar/ListItemAvatar.js +4 -4
  475. package/node/ListItemButton/ListItemButton.js +4 -4
  476. package/node/ListItemIcon/ListItemIcon.js +4 -4
  477. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
  478. package/node/ListItemText/ListItemText.js +4 -4
  479. package/node/ListSubheader/ListSubheader.js +4 -4
  480. package/node/Menu/Menu.js +4 -4
  481. package/node/MenuItem/MenuItem.js +4 -4
  482. package/node/MenuList/MenuList.js +4 -4
  483. package/node/MobileStepper/MobileStepper.js +4 -4
  484. package/node/Modal/Modal.js +4 -4
  485. package/node/NativeSelect/NativeSelect.js +4 -4
  486. package/node/OutlinedInput/OutlinedInput.js +4 -4
  487. package/node/Pagination/Pagination.js +4 -4
  488. package/node/PaginationItem/PaginationItem.js +4 -4
  489. package/node/Paper/Paper.js +4 -4
  490. package/node/Popover/Popover.js +4 -4
  491. package/node/Popper/Popper.js +4 -4
  492. package/node/Radio/Radio.js +4 -4
  493. package/node/RadioGroup/RadioGroup.js +4 -4
  494. package/node/Rating/Rating.js +5 -14
  495. package/node/ScopedCssBaseline/ScopedCssBaseline.js +4 -4
  496. package/node/Select/Select.js +4 -4
  497. package/node/Skeleton/Skeleton.js +4 -4
  498. package/node/Slide/Slide.js +4 -4
  499. package/node/Slider/Slider.js +4 -4
  500. package/node/Snackbar/Snackbar.js +4 -4
  501. package/node/SnackbarContent/SnackbarContent.js +4 -4
  502. package/node/SpeedDial/SpeedDial.js +6 -14
  503. package/node/SpeedDialAction/SpeedDialAction.js +4 -4
  504. package/node/SpeedDialIcon/SpeedDialIcon.js +4 -4
  505. package/node/Stack/Stack.js +4 -4
  506. package/node/Step/Step.js +4 -4
  507. package/node/StepButton/StepButton.js +4 -4
  508. package/node/StepConnector/StepConnector.js +4 -4
  509. package/node/StepContent/StepContent.js +4 -4
  510. package/node/StepIcon/StepIcon.js +4 -4
  511. package/node/StepLabel/StepLabel.js +4 -4
  512. package/node/Stepper/Stepper.js +4 -4
  513. package/node/SvgIcon/SvgIcon.js +4 -4
  514. package/node/SwipeableDrawer/SwipeableDrawer.js +4 -4
  515. package/node/Switch/Switch.js +4 -4
  516. package/node/Tab/Tab.js +4 -4
  517. package/node/TabScrollButton/TabScrollButton.js +4 -4
  518. package/node/Table/Table.js +4 -4
  519. package/node/TableBody/TableBody.js +4 -4
  520. package/node/TableCell/TableCell.js +4 -4
  521. package/node/TableContainer/TableContainer.js +4 -4
  522. package/node/TableFooter/TableFooter.js +4 -4
  523. package/node/TableHead/TableHead.js +4 -4
  524. package/node/TablePagination/TablePagination.js +4 -4
  525. package/node/TableRow/TableRow.js +4 -4
  526. package/node/TableSortLabel/TableSortLabel.js +4 -4
  527. package/node/Tabs/Tabs.js +4 -4
  528. package/node/TextField/TextField.js +4 -4
  529. package/node/ToggleButton/ToggleButton.js +24 -8
  530. package/node/ToggleButtonGroup/ToggleButtonGroup.js +88 -46
  531. package/node/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +17 -0
  532. package/node/ToggleButtonGroup/ToggleButtonGroupContext.js +17 -0
  533. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  534. package/node/Toolbar/Toolbar.js +4 -4
  535. package/node/Tooltip/Tooltip.js +4 -4
  536. package/node/Typography/Typography.js +4 -4
  537. package/node/Unstable_Grid2/Grid2.js +4 -4
  538. package/node/Zoom/Zoom.js +4 -4
  539. package/node/index.js +1 -1
  540. package/node/styles/CssVarsProvider.js +3 -0
  541. package/node/utils/types.js +5 -0
  542. package/node/utils/useSlot.js +88 -0
  543. package/node/zero-styled/index.js +13 -0
  544. package/package.json +11 -10
  545. package/styles/CssVarsProvider.d.ts +3 -3
  546. package/styles/CssVarsProvider.js +3 -0
  547. package/umd/material-ui.development.js +15848 -15745
  548. package/umd/material-ui.production.min.js +4 -207
  549. package/utils/types.d.ts +27 -0
  550. package/utils/types.js +1 -0
  551. package/utils/useSlot.d.ts +84 -0
  552. package/utils/useSlot.js +82 -0
  553. package/zero-styled/index.d.ts +2 -0
  554. package/zero-styled/index.js +2 -0
  555. package/zero-styled/package.json +6 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,188 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.5
4
+
5
+ <!-- generated comparing v5.15.4..master -->
6
+
7
+ _Jan 17, 2024_
8
+
9
+ A big thanks to the 18 contributors who made this release possible. Here are some highlights ✨:
10
+
11
+ - Base UI's CSS class prefix is now `base-` (#40205) @michaldudak
12
+ - Bug fixes, and a lot of improvements to code and docs infra
13
+
14
+ ### `@mui/material@5.15.5`
15
+
16
+ - &#8203;<!-- 42 -->[Accordion] Deprecate \*Props props and classes for v6 (#40418) @DiegoAndai
17
+ - &#8203;<!-- 41 -->[Alert] Update TypeScript types to allow color override types to be added to `iconMapping` and `severity` props (#40551) @2metres
18
+ - &#8203;<!-- 27 -->[Dialog] Remove deprecated onBackdropClick from Dialog tests (#40505) @sai6855
19
+ - &#8203;<!-- 26 -->[Divider] Deprecate props and classes for v6 (#40563) @sai6855
20
+
21
+ ### `@mui/material-next@6.0.0-alpha.118`
22
+
23
+ - &#8203;<!-- 36 -->[ButtonGroup] Apply MD3 style to `ButtonGroup` (#40124) @lhilgert9
24
+
25
+ ### `@mui/base@5.0.0-beta.32`
26
+
27
+ #### Breaking changes
28
+
29
+ - &#8203;<!-- 40 -->Change the CSS class prefix to `base-` (#40205) @michaldudak
30
+
31
+ The class prefix of Base UI components have been changed from `Mui-` to `base-`. This only affects codebases that uses class names verbatim, i.e. not exposed by JS objects such as `buttonClasses`, but as plain strings or in CSS stylesheets (`.MuiButton.root`)
32
+
33
+ To adapt your code to the new pattern:
34
+
35
+ - replace all occurrences of the regex `.Mui([A-Z][A-Za-z]*)-` with `.base-$1-` (so `MuiButton-root` becomes `base-Button-root`, etc.),
36
+ - replace all occurrences of the regex `.Mui-([a-z]*)` with `.base--$1` (so `Mui-disabled` becomes `base--disabled`, etc.).
37
+
38
+ #### Changes
39
+
40
+ - &#8203;<!-- 39 -->[Select] Fix screen-reader CSS to avoid body scrollbar (#40599) @brijeshb42
41
+ - &#8203;<!-- 38 -->[Switch] Add border-box to demos (#40638) @zanivan
42
+
43
+ ### `@mui/joy@5.0.0-beta.23`
44
+
45
+ - &#8203;<!-- 11 -->[ModalDialog] Fix ModalDialog layout prop override (#40512) @maakcode
46
+ - &#8203;<!-- 10 -->[RadioGroup] Allow zero number as a value (#40344) @aacevski
47
+
48
+ ### `@mui/codemod@5.15.5`
49
+
50
+ - &#8203;<!-- 31 -->Allow `json` files to be transformed (#40536) @ZeeshanTamboli
51
+
52
+ ### `@mui/lab@5.0.0-alpha.161`
53
+
54
+ - &#8203;<!-- 09 -->Update `@mui/material` peer dependency version (#40528) @ZeeshanTamboli
55
+
56
+ ### `@mui/material-nextjs@5.15.5`
57
+
58
+ - &#8203;<!-- 08 -->Fix release script (#40519) @petrovmiroslav
59
+ - &#8203;<!-- 07 -->Support Nonces in the App Router Provider (#40269) @josh-feldman
60
+ - &#8203;<!-- 06 -->Polish @mui/material-nextjs (#40473) @oliviertassinari
61
+
62
+ ### `@mui/system@5.15.5`
63
+
64
+ - &#8203;<!-- 05 -->Fix import path for @mui/system in vite apps (#40490) @brijeshb42
65
+ - &#8203;<!-- 02 -->Fix css vars generation and simplify the code (#40530) @siriwatknp
66
+ - &#8203;<!-- 01 -->Identify zero runtime styled path (#40555) @brijeshb42
67
+
68
+ ### Docs
69
+
70
+ - &#8203;<!-- 35 -->[joy-ui][Card] Fix text alignment in horizontal aligned card demo (#40562) @ZeeshanTamboli
71
+ - &#8203;<!-- 25 -->Improve instructions about peer dependencies (#40621) @danilo-leal
72
+ - &#8203;<!-- 24 -->Solve page description length @oliviertassinari
73
+ - &#8203;<!-- 23 -->Fix MUI Treasury links (#40561) @siriwatknp
74
+ - &#8203;<!-- 17 -->[material-ui] Update <ListItem button/> to ListItemButton in demos (#40564) @sai6855
75
+ - &#8203;<!-- 16 -->[material-ui] Revise the Snackbar page (#39298) @danilo-leal
76
+ - &#8203;<!-- 15 -->[material-ui] Sharpen Material 3 copy on demo pages (#40546) @samuelsycamore
77
+ - &#8203;<!-- 14 -->[material-ui] Fix typo on Next.js integration guide (#40538) @zanivan
78
+ - &#8203;<!-- 13 -->[material-ui][Snackbar] Remove unused `State` interface from Consecutive Snackbars demo (#40410)
79
+ @zinoroman
80
+ - &#8203;<!-- 12 -->[website] Resolve broken links reported by `docs:link-check` (#40547) @samuelsycamore
81
+
82
+ ### Core
83
+
84
+ - &#8203;<!-- 37 -->[blog] Fix 404 link to MUI Treasury @oliviertassinari
85
+ - &#8203;<!-- 34 -->[code-infra] Add `run` command to deploy docs (#40513) @siriwatknp
86
+ - &#8203;<!-- 32 -->[core] Update the lockfile (#40628) @michaldudak
87
+ - &#8203;<!-- 31 -->[core] Remove dead code and follow standard @oliviertassinari
88
+ - &#8203;<!-- 30 -->[core] Simplify server detection (#40471) @oliviertassinari
89
+ - &#8203;<!-- 29 -->[core] Sync playwright cache between MUI X and Material UI (#40475) @oliviertassinari
90
+ - &#8203;<!-- 28 -->[dependencies] Bump tough-cookie (#40437) @michaldudak
91
+ - &#8203;<!-- 22 -->[docs-infra] Enforce brand name rules (#40525) @oliviertassinari
92
+ - &#8203;<!-- 21 -->[docs-infra] Minimize ad layout shift on mobile (#40582) @oliviertassinari
93
+ - &#8203;<!-- 20 -->[docs-infra] Improve API page deprecation info (#40440) @DiegoAndai
94
+ - &#8203;<!-- 19 -->[docs-infra] Remove old tocs banners (#40537) @oliviertassinari
95
+ - &#8203;<!-- 18 -->[docs-infra] Remove dead code aria-label sponsors (#40526) @oliviertassinari
96
+ - &#8203;<!-- 04 -->[utils] Centralize clamp implementation in utils (#40267) @Kamino0
97
+ - &#8203;<!-- 03 -->[website] Polish the Base UI page demos (#40504) @danilo-leal
98
+
99
+ All contributors of this release in alphabetical order: @2metres, @aacevski, @brijeshb42, @danilo-leal, @DiegoAndai, @josh-feldman, @Kamino0, @lhilgert9, @maakcode, @michaldudak, @oliviertassinari, @petrovmiroslav, @sai6855, @samuelsycamore, @siriwatknp, @zanivan, @ZeeshanTamboli, @zinoroman
100
+
101
+ ## 5.15.4
102
+
103
+ <!-- generated comparing v5.15.3..master -->
104
+
105
+ _Jan 10, 2024_
106
+
107
+ A big thanks to the 22 contributors who made this release possible. Here are some highlights:
108
+
109
+ - ✨ Material UI's [ToggleButtonGroup](https://mui.com/material-ui/react-toggle-button/) now supports non-button element as a child (e.g., showing a Tooltip on a disabled ToggleButton) (#40220) @Methuselah96
110
+
111
+ ### `@mui/material@5.15.4`
112
+
113
+ - [TextField][FormLabel][InputLabel][FormControl] Use exact children type to allow React children type augmentation (#38872) @nicegamer7
114
+ - [Select] Add form submission regression test (#40176) @mj12albert
115
+ - [ToggleButtonGroup] Support different elements under it (#40220) @Methuselah96
116
+ - [ClickAwayListener] Fix export of types (#40485) @illume
117
+
118
+ ### `@mui/material-nextjs@5.15.4`
119
+
120
+ - Improve build size issue (#40436) @siriwatknp
121
+
122
+ ### `@mui/icons-material@5.15.4`
123
+
124
+ - Update the icons (#40365) @michaldudak
125
+
126
+ ### `@mui/system@5.15.4`
127
+
128
+ - [zero] Move zero runtime related packages (#40426) @brijeshb42
129
+ - Fix all use of styled(Box) (#40449) @oliviertassinari
130
+
131
+ ### `@mui/utils@5.15.4`
132
+
133
+ - Fix `isPlainObject` to work across realm (#39981) @brijeshb42
134
+
135
+ ### `@mui/base@5.0.0-beta.31`
136
+
137
+ - [base-ui][NumberInput] Remove inputId and inputRef types from NumberInput component (#40425) @sai6855
138
+
139
+ ### `@mui/joy@5.0.0-beta.22`
140
+
141
+ - [Badge] Shouldn't crash when using custom size (#39986) @iamsaumya
142
+ - [ToggleButtonGroup] Add `JoyToggleButtonGroup` to extendTheme's components type export (#40407) @RiceCrisp
143
+
144
+ ### Docs
145
+
146
+ - [base-ui] Visual tweaks to the plain CSS theme stylesheet (#40487) @zanivan
147
+ - [base-ui] Add tokens to plain CSS theme stylesheet (#40113) @zanivan
148
+ - [base-ui] Update the overview page (#40412) @danilo-leal
149
+ - [material-ui][Drawer] Resolve flickering when double-clicking on the backdrop to close it (#40343) @aacevski
150
+ - [material-ui] Refactor form submission in FormDialog component (#40470) @sai6855
151
+ - [material-ui] Replace recharts with MUI X charts on the Dashboard template (#40107) @alexfauquette
152
+ - [material-ui] Revise the Alert demo page (#34892) @samuelsycamore
153
+ - [material-ui] Revise the Accordion page (#40284) @anle9650
154
+ - [material-ui] Add docs for complementary Card components (#40346) @anle9650
155
+ - [material-ui] Add Material 3 components page (#40350) @DiegoAndai
156
+ - Fix strange italic style @oliviertassinari
157
+ - Fix references to ESLint @oliviertassinari
158
+ - Fix 301 redirections @oliviertassinari
159
+ - Right-to-left revision and addition to Joy UI (#39158) @danilo-leal
160
+
161
+ ### Core
162
+
163
+ - [examples] Use material-nextjs integration package (#40199) @siriwatknp
164
+ - [code-infra] Configure build dependencies in nx (#40482) @michaldudak
165
+ - [code-infra] Don't require noreferrer on target link (#40447) @oliviertassinari
166
+ - [code-infra] Use tsx instead of ts-node (#40428) @michaldudak
167
+ - [code-infra] Add options to docs-api generation to support X code structure (#40111) @alexfauquette
168
+ - [docs-infra] Add types for withDocsInfra (#40301) @oliviertassinari
169
+ - [docs-infra] Fix anchor links in API pages (#40450) @oliviertassinari
170
+ - [docs-infra] Fix API table full-width (#40476) @oliviertassinari
171
+ - [docs-infra] Fix the copy button overlapping with the scrollbar (#40405) @danilo-leal
172
+ - [docs-infra] Remove explicit `mui-x` dependency resolving (#40257) @LukasTy
173
+ - [docs-infra] Update the outlined Demo container dark mode color (#40488) @danilo-leal
174
+ - [core] Lock file maintenance (#34538) @renovate[bot]
175
+ - [core] Remove duplicate devDependencies (#40438) @michaldudak
176
+ - [core] Remove issue emoji @oliviertassinari
177
+ - [core] Move prefetch at the core, will propagate to MUI X @oliviertassinari
178
+ - [core] Change package manager to pnpm (#36287) @Janpot
179
+ - [core][docs] Remove the "Understand MUI packages" page (#39835) @savalaram-redkar
180
+ - [website] Evolve the Developer Advocate role (#40337) @oliviertassinari
181
+ - [website] Fix default social card @oliviertassinari
182
+ - [test] Restore the `t` command (#40430) @michaldudak
183
+
184
+ All contributors of this release in alphabetical order: @aacevski, @alexfauquette, @anle9650, @brijeshb42, @danilo-leal, @DiegoAndai, @iamsaumya, @illume, @Janpot, @LukasTy, @Methuselah96, @michaldudak, @mj12albert, @nicegamer7, @oliviertassinari, @renovate[bot], @RiceCrisp, @sai6855, @samuelsycamore, @savalaram-redkar, @siriwatknp, @zanivan
185
+
3
186
  ## 5.15.3
4
187
 
5
188
  <!-- generated comparing v5.15.2..master -->
@@ -12480,7 +12663,7 @@ Here are some highlights ✨:
12480
12663
 
12481
12664
  - 👩‍🎨 A first iteration on the new styling solution.
12482
12665
 
12483
- You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [emotion](https://emotion.sh/).
12666
+ You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [Emotion](https://emotion.sh/).
12484
12667
 
12485
12668
  In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/p/sandbox/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.
12486
12669
 
package/Card/Card.js CHANGED
@@ -53,10 +53,10 @@ const Card = /*#__PURE__*/React.forwardRef(function Card(inProps, ref) {
53
53
  }, other));
54
54
  });
55
55
  process.env.NODE_ENV !== "production" ? Card.propTypes /* remove-proptypes */ = {
56
- // ----------------------------- Warning --------------------------------
57
- // | These PropTypes are generated from the TypeScript type definitions |
58
- // | To update them edit the d.ts file and run "yarn proptypes" |
59
- // ----------------------------------------------------------------------
56
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
57
+ // These PropTypes are generated from the TypeScript type definitions.
58
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
59
+ // └─────────────────────────────────────────────────────────────────────┘
60
60
  /**
61
61
  * The content of the component.
62
62
  */
@@ -92,10 +92,10 @@ const CardActionArea = /*#__PURE__*/React.forwardRef(function CardActionArea(inP
92
92
  }));
93
93
  });
94
94
  process.env.NODE_ENV !== "production" ? CardActionArea.propTypes /* remove-proptypes */ = {
95
- // ----------------------------- Warning --------------------------------
96
- // | These PropTypes are generated from the TypeScript type definitions |
97
- // | To update them edit the d.ts file and run "yarn proptypes" |
98
- // ----------------------------------------------------------------------
95
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
96
+ // These PropTypes are generated from the TypeScript type definitions.
97
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
98
+ // └─────────────────────────────────────────────────────────────────────┘
99
99
  /**
100
100
  * The content of the component.
101
101
  */
@@ -62,10 +62,10 @@ const CardActions = /*#__PURE__*/React.forwardRef(function CardActions(inProps,
62
62
  }, other));
63
63
  });
64
64
  process.env.NODE_ENV !== "production" ? CardActions.propTypes /* remove-proptypes */ = {
65
- // ----------------------------- Warning --------------------------------
66
- // | These PropTypes are generated from the TypeScript type definitions |
67
- // | To update them edit the d.ts file and run "yarn proptypes" |
68
- // ----------------------------------------------------------------------
65
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
66
+ // These PropTypes are generated from the TypeScript type definitions.
67
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
68
+ // └─────────────────────────────────────────────────────────────────────┘
69
69
  /**
70
70
  * The content of the component.
71
71
  */
@@ -54,10 +54,10 @@ const CardContent = /*#__PURE__*/React.forwardRef(function CardContent(inProps,
54
54
  }, other));
55
55
  });
56
56
  process.env.NODE_ENV !== "production" ? CardContent.propTypes /* remove-proptypes */ = {
57
- // ----------------------------- Warning --------------------------------
58
- // | These PropTypes are generated from the TypeScript type definitions |
59
- // | To update them edit the d.ts file and run "yarn proptypes" |
60
- // ----------------------------------------------------------------------
57
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
58
+ // These PropTypes are generated from the TypeScript type definitions.
59
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
60
+ // └─────────────────────────────────────────────────────────────────────┘
61
61
  /**
62
62
  * The content of the component.
63
63
  */
@@ -133,10 +133,10 @@ const CardHeader = /*#__PURE__*/React.forwardRef(function CardHeader(inProps, re
133
133
  }));
134
134
  });
135
135
  process.env.NODE_ENV !== "production" ? CardHeader.propTypes /* remove-proptypes */ = {
136
- // ----------------------------- Warning --------------------------------
137
- // | These PropTypes are generated from the TypeScript type definitions |
138
- // | To update them edit the d.ts file and run "yarn proptypes" |
139
- // ----------------------------------------------------------------------
136
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
137
+ // These PropTypes are generated from the TypeScript type definitions.
138
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
139
+ // └─────────────────────────────────────────────────────────────────────┘
140
140
  /**
141
141
  * The action to display in the card header.
142
142
  */
@@ -88,10 +88,10 @@ const CardMedia = /*#__PURE__*/React.forwardRef(function CardMedia(inProps, ref)
88
88
  }));
89
89
  });
90
90
  process.env.NODE_ENV !== "production" ? CardMedia.propTypes /* remove-proptypes */ = {
91
- // ----------------------------- Warning --------------------------------
92
- // | These PropTypes are generated from the TypeScript type definitions |
93
- // | To update them edit the d.ts file and run "yarn proptypes" |
94
- // ----------------------------------------------------------------------
91
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
92
+ // These PropTypes are generated from the TypeScript type definitions.
93
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
94
+ // └─────────────────────────────────────────────────────────────────────┘
95
95
  /**
96
96
  * The content of the component.
97
97
  */
@@ -109,10 +109,10 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
109
109
  }));
110
110
  });
111
111
  process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes */ = {
112
- // ----------------------------- Warning --------------------------------
113
- // | These PropTypes are generated from the TypeScript type definitions |
114
- // | To update them edit the d.ts file and run "yarn proptypes" |
115
- // ----------------------------------------------------------------------
112
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
113
+ // These PropTypes are generated from the TypeScript type definitions.
114
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
115
+ // └─────────────────────────────────────────────────────────────────────┘
116
116
  /**
117
117
  * If `true`, the component is checked.
118
118
  */
package/Chip/Chip.js CHANGED
@@ -402,10 +402,10 @@ const Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
402
402
  }));
403
403
  });
404
404
  process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ = {
405
- // ----------------------------- Warning --------------------------------
406
- // | These PropTypes are generated from the TypeScript type definitions |
407
- // | To update them edit the d.ts file and run "yarn proptypes" |
408
- // ----------------------------------------------------------------------
405
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
406
+ // These PropTypes are generated from the TypeScript type definitions.
407
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
408
+ // └─────────────────────────────────────────────────────────────────────┘
409
409
  /**
410
410
  * The Avatar element to display.
411
411
  */
@@ -185,10 +185,10 @@ const CircularProgress = /*#__PURE__*/React.forwardRef(function CircularProgress
185
185
  }));
186
186
  });
187
187
  process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-proptypes */ = {
188
- // ----------------------------- Warning --------------------------------
189
- // | These PropTypes are generated from the TypeScript type definitions |
190
- // | To update them edit the d.ts file and run "yarn proptypes" |
191
- // ----------------------------------------------------------------------
188
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
189
+ // These PropTypes are generated from the TypeScript type definitions.
190
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
191
+ // └─────────────────────────────────────────────────────────────────────┘
192
192
  /**
193
193
  * Override or extend the styles applied to the component.
194
194
  */
@@ -1 +1,2 @@
1
- export { ClickAwayListener as default, type ClickAwayListenerProps, } from '@mui/base/ClickAwayListener';
1
+ export { ClickAwayListener as default } from '@mui/base/ClickAwayListener';
2
+ export type { ClickAwayListenerProps } from '@mui/base/ClickAwayListener';
@@ -281,10 +281,10 @@ const Collapse = /*#__PURE__*/React.forwardRef(function Collapse(inProps, ref) {
281
281
  }));
282
282
  });
283
283
  process.env.NODE_ENV !== "production" ? Collapse.propTypes /* remove-proptypes */ = {
284
- // ----------------------------- Warning --------------------------------
285
- // | These PropTypes are generated from the TypeScript type definitions |
286
- // | To update them edit the d.ts file and run "yarn proptypes" |
287
- // ----------------------------------------------------------------------
284
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
285
+ // These PropTypes are generated from the TypeScript type definitions.
286
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
287
+ // └─────────────────────────────────────────────────────────────────────┘
288
288
  /**
289
289
  * Add a custom transition end trigger. Called with the transitioning DOM
290
290
  * node and a done callback. Allows for more fine grained transition end
@@ -22,10 +22,10 @@ const Container = createContainer({
22
22
  })
23
23
  });
24
24
  process.env.NODE_ENV !== "production" ? Container.propTypes /* remove-proptypes */ = {
25
- // ----------------------------- Warning --------------------------------
26
- // | These PropTypes are generated from the TypeScript type definitions |
27
- // | To update them edit the d.ts file and run "yarn proptypes" |
28
- // ----------------------------------------------------------------------
25
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
26
+ // These PropTypes are generated from the TypeScript type definitions.
27
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
28
+ // └─────────────────────────────────────────────────────────────────────┘
29
29
  /**
30
30
  * @ignore
31
31
  */
@@ -84,10 +84,10 @@ function CssBaseline(inProps) {
84
84
  });
85
85
  }
86
86
  process.env.NODE_ENV !== "production" ? CssBaseline.propTypes /* remove-proptypes */ = {
87
- // ----------------------------- Warning --------------------------------
88
- // | These PropTypes are generated from the TypeScript type definitions |
89
- // | To update them edit the d.ts file and run "yarn proptypes" |
90
- // ----------------------------------------------------------------------
87
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
88
+ // These PropTypes are generated from the TypeScript type definitions.
89
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
90
+ // └─────────────────────────────────────────────────────────────────────┘
91
91
  /**
92
92
  * You can wrap a node.
93
93
  */
package/Dialog/Dialog.js CHANGED
@@ -262,10 +262,10 @@ const Dialog = /*#__PURE__*/React.forwardRef(function Dialog(inProps, ref) {
262
262
  }));
263
263
  });
264
264
  process.env.NODE_ENV !== "production" ? Dialog.propTypes /* remove-proptypes */ = {
265
- // ----------------------------- Warning --------------------------------
266
- // | These PropTypes are generated from the TypeScript type definitions |
267
- // | To update them edit the d.ts file and run "yarn proptypes" |
268
- // ----------------------------------------------------------------------
265
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
266
+ // These PropTypes are generated from the TypeScript type definitions.
267
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
268
+ // └─────────────────────────────────────────────────────────────────────┘
269
269
  /**
270
270
  * The id(s) of the element(s) that describe the dialog.
271
271
  */
@@ -64,10 +64,10 @@ const DialogActions = /*#__PURE__*/React.forwardRef(function DialogActions(inPro
64
64
  }, other));
65
65
  });
66
66
  process.env.NODE_ENV !== "production" ? DialogActions.propTypes /* remove-proptypes */ = {
67
- // ----------------------------- Warning --------------------------------
68
- // | These PropTypes are generated from the TypeScript type definitions |
69
- // | To update them edit the d.ts file and run "yarn proptypes" |
70
- // ----------------------------------------------------------------------
67
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
68
+ // These PropTypes are generated from the TypeScript type definitions.
69
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
70
+ // └─────────────────────────────────────────────────────────────────────┘
71
71
  /**
72
72
  * The content of the component.
73
73
  */
@@ -70,10 +70,10 @@ const DialogContent = /*#__PURE__*/React.forwardRef(function DialogContent(inPro
70
70
  }, other));
71
71
  });
72
72
  process.env.NODE_ENV !== "production" ? DialogContent.propTypes /* remove-proptypes */ = {
73
- // ----------------------------- Warning --------------------------------
74
- // | These PropTypes are generated from the TypeScript type definitions |
75
- // | To update them edit the d.ts file and run "yarn proptypes" |
76
- // ----------------------------------------------------------------------
73
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
74
+ // These PropTypes are generated from the TypeScript type definitions.
75
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
76
+ // └─────────────────────────────────────────────────────────────────────┘
77
77
  /**
78
78
  * The content of the component.
79
79
  */
@@ -50,10 +50,10 @@ const DialogContentText = /*#__PURE__*/React.forwardRef(function DialogContentTe
50
50
  }));
51
51
  });
52
52
  process.env.NODE_ENV !== "production" ? DialogContentText.propTypes /* remove-proptypes */ = {
53
- // ----------------------------- Warning --------------------------------
54
- // | These PropTypes are generated from the TypeScript type definitions |
55
- // | To update them edit the d.ts file and run "yarn proptypes" |
56
- // ----------------------------------------------------------------------
53
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
54
+ // These PropTypes are generated from the TypeScript type definitions.
55
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
56
+ // └─────────────────────────────────────────────────────────────────────┘
57
57
  /**
58
58
  * The content of the component.
59
59
  */
@@ -55,10 +55,10 @@ const DialogTitle = /*#__PURE__*/React.forwardRef(function DialogTitle(inProps,
55
55
  }, other));
56
56
  });
57
57
  process.env.NODE_ENV !== "production" ? DialogTitle.propTypes /* remove-proptypes */ = {
58
- // ----------------------------- Warning --------------------------------
59
- // | These PropTypes are generated from the TypeScript type definitions |
60
- // | To update them edit the d.ts file and run "yarn proptypes" |
61
- // ----------------------------------------------------------------------
58
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
59
+ // These PropTypes are generated from the TypeScript type definitions.
60
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
61
+ // └─────────────────────────────────────────────────────────────────────┘
62
62
  /**
63
63
  * The content of the component.
64
64
  */
@@ -30,6 +30,7 @@ export interface DividerOwnProps {
30
30
  /**
31
31
  * If `true`, the divider will have a lighter color.
32
32
  * @default false
33
+ * @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
33
34
  */
34
35
  light?: boolean;
35
36
  /**
@@ -186,10 +186,10 @@ const Divider = /*#__PURE__*/React.forwardRef(function Divider(inProps, ref) {
186
186
  */
187
187
  Divider.muiSkipListHighlight = true;
188
188
  process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */ = {
189
- // ----------------------------- Warning --------------------------------
190
- // | These PropTypes are generated from the TypeScript type definitions |
191
- // | To update them edit the d.ts file and run "yarn proptypes" |
192
- // ----------------------------------------------------------------------
189
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
190
+ // These PropTypes are generated from the TypeScript type definitions.
191
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
192
+ // └─────────────────────────────────────────────────────────────────────┘
193
193
  /**
194
194
  * Absolutely position the element.
195
195
  * @default false
@@ -221,6 +221,7 @@ process.env.NODE_ENV !== "production" ? Divider.propTypes /* remove-proptypes */
221
221
  /**
222
222
  * If `true`, the divider will have a lighter color.
223
223
  * @default false
224
+ * @deprecated Use <Divider sx={{ bgcolor: '#eee' }} /> (or any color) instead.
224
225
  */
225
226
  light: PropTypes.bool,
226
227
  /**
@@ -7,7 +7,9 @@ export interface DividerClasses {
7
7
  inset: string;
8
8
  /** Styles applied to the root element if `variant="fullWidth"`. */
9
9
  fullWidth: string;
10
- /** Styles applied to the root element if `light={true}`. */
10
+ /** Styles applied to the root element if `light={true}`.
11
+ * @deprecated
12
+ */
11
13
  light: string;
12
14
  /** Styles applied to the root element if `variant="middle"`. */
13
15
  middle: string;
@@ -17,7 +19,9 @@ export interface DividerClasses {
17
19
  flexItem: string;
18
20
  /** Styles applied to the root element if divider have text. */
19
21
  withChildren: string;
20
- /** Styles applied to the root element if divider have text and `orientation="vertical"`. */
22
+ /** Styles applied to the root element if divider have text and `orientation="vertical"`.
23
+ * @deprecated Combine the [.MuiDivider-withChildren](/material-ui/api/divider/#divider-classes-withChildren) and [.MuiDivider-vertical](/material-ui/api/divider/#divider-classes-vertical) classes instead.
24
+ */
21
25
  withChildrenVertical: string;
22
26
  /** Styles applied to the root element if `textAlign="right" orientation="horizontal"`. */
23
27
  textAlignRight: string;
package/Drawer/Drawer.js CHANGED
@@ -226,10 +226,10 @@ const Drawer = /*#__PURE__*/React.forwardRef(function Drawer(inProps, ref) {
226
226
  }));
227
227
  });
228
228
  process.env.NODE_ENV !== "production" ? Drawer.propTypes /* remove-proptypes */ = {
229
- // ----------------------------- Warning --------------------------------
230
- // | These PropTypes are generated from the TypeScript type definitions |
231
- // | To update them edit the d.ts file and run "yarn proptypes" |
232
- // ----------------------------------------------------------------------
229
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
230
+ // These PropTypes are generated from the TypeScript type definitions.
231
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
232
+ // └─────────────────────────────────────────────────────────────────────┘
233
233
  /**
234
234
  * Side from which the drawer will appear.
235
235
  * @default 'left'
package/Fab/Fab.js CHANGED
@@ -159,10 +159,10 @@ const Fab = /*#__PURE__*/React.forwardRef(function Fab(inProps, ref) {
159
159
  }));
160
160
  });
161
161
  process.env.NODE_ENV !== "production" ? Fab.propTypes /* remove-proptypes */ = {
162
- // ----------------------------- Warning --------------------------------
163
- // | These PropTypes are generated from the TypeScript type definitions |
164
- // | To update them edit the d.ts file and run "yarn proptypes" |
165
- // ----------------------------------------------------------------------
162
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
163
+ // These PropTypes are generated from the TypeScript type definitions.
164
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
165
+ // └─────────────────────────────────────────────────────────────────────┘
166
166
  /**
167
167
  * The content of the component.
168
168
  */
package/Fade/Fade.js CHANGED
@@ -128,10 +128,10 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
128
128
  }));
129
129
  });
130
130
  process.env.NODE_ENV !== "production" ? Fade.propTypes /* remove-proptypes */ = {
131
- // ----------------------------- Warning --------------------------------
132
- // | These PropTypes are generated from the TypeScript type definitions |
133
- // | To update them edit the d.ts file and run "yarn proptypes" |
134
- // ----------------------------------------------------------------------
131
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
132
+ // These PropTypes are generated from the TypeScript type definitions.
133
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
134
+ // └─────────────────────────────────────────────────────────────────────┘
135
135
  /**
136
136
  * Add a custom transition end trigger. Called with the transitioning DOM
137
137
  * node and a done callback. Allows for more fine grained transition end
@@ -232,10 +232,10 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
232
232
  }));
233
233
  });
234
234
  process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptypes */ = {
235
- // ----------------------------- Warning --------------------------------
236
- // | These PropTypes are generated from the TypeScript type definitions |
237
- // | To update them edit the d.ts file and run "yarn proptypes" |
238
- // ----------------------------------------------------------------------
235
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
236
+ // These PropTypes are generated from the TypeScript type definitions.
237
+ // To update them, edit the d.ts file and run `pnpm proptypes`.
238
+ // └─────────────────────────────────────────────────────────────────────┘
239
239
  /**
240
240
  * This prop helps users to fill forms faster, especially on mobile devices.
241
241
  * The name can be confusing, as it's more like an autofill.