@mui/material 7.3.8 → 7.3.10

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 (481) hide show
  1. package/Accordion/Accordion.d.ts +14 -14
  2. package/AccordionActions/AccordionActions.d.ts +5 -5
  3. package/AccordionDetails/AccordionDetails.d.ts +4 -4
  4. package/AccordionSummary/AccordionSummary.d.ts +6 -6
  5. package/Alert/Alert.d.ts +18 -18
  6. package/AlertTitle/AlertTitle.d.ts +5 -5
  7. package/AppBar/AppBar.d.ts +11 -11
  8. package/Autocomplete/Autocomplete.d.ts +56 -40
  9. package/Autocomplete/Autocomplete.js +48 -25
  10. package/Avatar/Avatar.d.ts +13 -13
  11. package/AvatarGroup/AvatarGroup.d.ts +13 -13
  12. package/Backdrop/Backdrop.d.ts +13 -13
  13. package/Badge/Badge.d.ts +20 -20
  14. package/Badge/useBadge.types.d.ts +3 -3
  15. package/BottomNavigation/BottomNavigation.d.ts +7 -7
  16. package/BottomNavigationAction/BottomNavigationAction.d.ts +7 -7
  17. package/Box/Box.d.ts +4 -3
  18. package/Breadcrumbs/Breadcrumbs.d.ts +14 -14
  19. package/Button/Button.d.ts +20 -19
  20. package/ButtonBase/ButtonBase.d.ts +17 -17
  21. package/ButtonBase/ButtonBase.js +8 -2
  22. package/ButtonBase/TouchRipple.d.ts +4 -4
  23. package/ButtonGroup/ButtonGroup.d.ts +14 -14
  24. package/ButtonGroup/ButtonGroupContext.d.ts +9 -9
  25. package/CHANGELOG.md +86 -0
  26. package/Card/Card.d.ts +7 -7
  27. package/CardActionArea/CardActionArea.d.ts +7 -7
  28. package/CardActions/CardActions.d.ts +5 -5
  29. package/CardContent/CardContent.d.ts +5 -5
  30. package/CardHeader/CardHeader.d.ts +10 -10
  31. package/CardHeader/CardHeader.js +1 -0
  32. package/CardMedia/CardMedia.d.ts +7 -7
  33. package/Checkbox/Checkbox.d.ts +16 -16
  34. package/Chip/Chip.d.ts +17 -17
  35. package/CircularProgress/CircularProgress.d.ts +11 -11
  36. package/ClickAwayListener/ClickAwayListener.d.ts +6 -6
  37. package/ClickAwayListener/ClickAwayListener.js +3 -3
  38. package/Collapse/Collapse.d.ts +17 -17
  39. package/Collapse/Collapse.js +6 -18
  40. package/Container/Container.d.ts +8 -8
  41. package/CssBaseline/CssBaseline.d.ts +3 -3
  42. package/Dialog/Dialog.d.ts +31 -24
  43. package/Dialog/Dialog.js +9 -1
  44. package/Dialog/DialogContext.d.ts +1 -1
  45. package/DialogActions/DialogActions.d.ts +5 -5
  46. package/DialogContent/DialogContent.d.ts +5 -5
  47. package/DialogContentText/DialogContentText.d.ts +6 -6
  48. package/DialogTitle/DialogTitle.d.ts +7 -7
  49. package/Divider/Divider.d.ts +13 -12
  50. package/Drawer/Drawer.d.ts +14 -14
  51. package/Fab/Fab.d.ts +13 -13
  52. package/Fade/Fade.d.ts +8 -8
  53. package/Fade/Fade.js +28 -32
  54. package/FilledInput/FilledInput.d.ts +7 -7
  55. package/FilledInput/FilledInput.js +1 -1
  56. package/FormControl/FormControl.d.ts +21 -21
  57. package/FormControlLabel/FormControlLabel.d.ts +16 -16
  58. package/FormGroup/FormGroup.d.ts +6 -6
  59. package/FormHelperText/FormHelperText.d.ts +13 -13
  60. package/FormLabel/FormLabel.d.ts +15 -15
  61. package/GlobalStyles/GlobalStyles.d.ts +2 -2
  62. package/Grid/Grid.d.ts +13 -13
  63. package/Grid/Grid.js +2 -2
  64. package/GridLegacy/GridLegacy.d.ts +19 -19
  65. package/Grow/Grow.d.ts +10 -10
  66. package/Grow/Grow.js +30 -38
  67. package/Icon/Icon.d.ts +9 -9
  68. package/IconButton/IconButton.d.ts +14 -14
  69. package/ImageList/ImageList.d.ts +9 -9
  70. package/ImageListItem/ImageListItem.d.ts +7 -7
  71. package/ImageListItemBar/ImageListItemBar.d.ts +6 -6
  72. package/InitColorSchemeScript/InitColorSchemeScript.d.ts +9 -9
  73. package/InitColorSchemeScript/InitColorSchemeScript.js +2 -2
  74. package/Input/Input.d.ts +6 -6
  75. package/Input/Input.js +1 -1
  76. package/InputAdornment/InputAdornment.d.ts +8 -8
  77. package/InputBase/InputBase.d.ts +57 -57
  78. package/InputLabel/InputLabel.d.ts +17 -17
  79. package/LinearProgress/LinearProgress.d.ts +8 -8
  80. package/Link/Link.d.ts +11 -11
  81. package/List/List.d.ts +9 -8
  82. package/List/ListContext.d.ts +1 -1
  83. package/ListItem/ListItem.d.ts +23 -23
  84. package/ListItemAvatar/ListItemAvatar.d.ts +4 -4
  85. package/ListItemButton/ListItemButton.d.ts +14 -13
  86. package/ListItemIcon/ListItemIcon.d.ts +5 -4
  87. package/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +4 -4
  88. package/ListItemText/ListItemText.d.ts +14 -13
  89. package/ListItemText/ListItemText.js +1 -0
  90. package/ListSubheader/ListSubheader.d.ts +10 -9
  91. package/Menu/Menu.d.ts +15 -15
  92. package/MenuItem/MenuItem.d.ts +12 -12
  93. package/MenuItem/MenuItem.js +21 -1
  94. package/MenuList/MenuList.d.ts +10 -10
  95. package/MobileStepper/MobileStepper.d.ts +9 -9
  96. package/Modal/Modal.d.ts +38 -38
  97. package/Modal/ModalManager.d.ts +1 -1
  98. package/Modal/useModal.types.d.ts +13 -13
  99. package/NativeSelect/NativeSelect.d.ts +10 -10
  100. package/NativeSelect/NativeSelectInput.d.ts +5 -5
  101. package/NoSsr/NoSsr.d.ts +2 -2
  102. package/NoSsr/NoSsr.js +2 -2
  103. package/NoSsr/NoSsr.types.d.ts +1 -1
  104. package/OutlinedInput/NotchedOutline.d.ts +3 -3
  105. package/OutlinedInput/OutlinedInput.d.ts +9 -9
  106. package/OverridableComponent/index.d.ts +2 -2
  107. package/Pagination/Pagination.d.ts +10 -10
  108. package/PaginationItem/PaginationItem.d.ts +18 -18
  109. package/Paper/Paper.d.ts +10 -9
  110. package/PigmentContainer/PigmentContainer.d.ts +8 -8
  111. package/PigmentContainer/PigmentContainer.js +2 -2
  112. package/PigmentGrid/PigmentGrid.d.ts +10 -10
  113. package/PigmentGrid/PigmentGrid.js +2 -2
  114. package/PigmentStack/PigmentStack.d.ts +6 -6
  115. package/PigmentStack/PigmentStack.js +2 -2
  116. package/Popover/Popover.d.ts +22 -22
  117. package/Popover/Popover.js +6 -3
  118. package/Popper/BasePopper.js +6 -3
  119. package/Popper/BasePopper.types.d.ts +17 -17
  120. package/Popper/Popper.d.ts +9 -9
  121. package/Popper/Popper.js +4 -4
  122. package/Popper/index.d.ts +1 -0
  123. package/Popper/index.js +11 -2
  124. package/Portal/Portal.d.ts +2 -2
  125. package/Portal/Portal.js +2 -2
  126. package/Portal/Portal.types.d.ts +2 -2
  127. package/README.md +2 -2
  128. package/Radio/Radio.d.ts +8 -8
  129. package/RadioGroup/RadioGroup.d.ts +5 -5
  130. package/Rating/Rating.d.ts +18 -18
  131. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -6
  132. package/Select/Select.d.ts +26 -26
  133. package/Select/SelectInput.d.ts +24 -24
  134. package/Select/SelectInput.js +46 -47
  135. package/Select/index.d.ts +1 -0
  136. package/Select/index.js +12 -0
  137. package/Select/utils/SelectFocusSourceContext.d.ts +4 -0
  138. package/Select/utils/SelectFocusSourceContext.js +19 -0
  139. package/Select/utils/areEqualValues.d.ts +1 -0
  140. package/Select/utils/areEqualValues.js +14 -0
  141. package/Select/utils/getOpenInteractionType.d.ts +1 -0
  142. package/Select/utils/getOpenInteractionType.js +18 -0
  143. package/Select/utils/index.d.ts +4 -0
  144. package/Select/utils/index.js +40 -0
  145. package/Select/utils/isEmpty.d.ts +1 -0
  146. package/Select/utils/isEmpty.js +9 -0
  147. package/Skeleton/Skeleton.d.ts +9 -9
  148. package/Slide/Slide.d.ts +11 -11
  149. package/Slide/Slide.js +48 -44
  150. package/Slider/Slider.d.ts +72 -72
  151. package/Slider/SliderValueLabel.d.ts +1 -1
  152. package/Slider/SliderValueLabel.types.d.ts +5 -5
  153. package/Slider/useSlider.types.d.ts +26 -26
  154. package/Snackbar/Snackbar.d.ts +18 -18
  155. package/Snackbar/useSnackbar.types.d.ts +6 -6
  156. package/SnackbarContent/SnackbarContent.d.ts +6 -6
  157. package/SpeedDial/SpeedDial.d.ts +13 -13
  158. package/SpeedDialAction/SpeedDialAction.d.ts +14 -14
  159. package/SpeedDialIcon/SpeedDialIcon.d.ts +5 -5
  160. package/SpeedDialIcon/SpeedDialIcon.js +4 -10
  161. package/Stack/Stack.d.ts +7 -7
  162. package/Step/Step.d.ts +12 -12
  163. package/StepButton/StepButton.d.ts +6 -6
  164. package/StepConnector/StepConnector.d.ts +4 -4
  165. package/StepContent/StepContent.d.ts +9 -9
  166. package/StepIcon/StepIcon.d.ts +8 -8
  167. package/StepIcon/StepIcon.js +1 -4
  168. package/StepLabel/StepLabel.d.ts +9 -9
  169. package/StepLabel/StepLabel.js +1 -5
  170. package/Stepper/Stepper.d.ts +11 -11
  171. package/SvgIcon/SvgIcon.d.ts +13 -13
  172. package/SwipeableDrawer/SwipeableDrawer.d.ts +13 -13
  173. package/SwipeableDrawer/SwipeableDrawer.js +0 -3
  174. package/Switch/Switch.d.ts +9 -9
  175. package/Switch/Switch.js +4 -0
  176. package/Tab/Tab.d.ts +12 -12
  177. package/TabScrollButton/TabScrollButton.d.ts +11 -11
  178. package/Table/Table.d.ts +8 -8
  179. package/TableBody/TableBody.d.ts +5 -5
  180. package/TableCell/TableCell.d.ts +11 -11
  181. package/TableContainer/TableContainer.d.ts +5 -5
  182. package/TableFooter/TableFooter.d.ts +5 -5
  183. package/TableHead/TableHead.d.ts +5 -5
  184. package/TablePagination/TablePagination.d.ts +18 -18
  185. package/TablePaginationActions/TablePaginationActions.d.ts +25 -25
  186. package/TableRow/TableRow.d.ts +7 -7
  187. package/TableSortLabel/TableSortLabel.d.ts +12 -12
  188. package/Tabs/Tabs.d.ts +27 -27
  189. package/Tabs/Tabs.js +2 -1
  190. package/TextField/TextField.d.ts +45 -45
  191. package/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  192. package/TextareaAutosize/TextareaAutosize.js +2 -2
  193. package/TextareaAutosize/TextareaAutosize.types.d.ts +3 -3
  194. package/ToggleButton/ToggleButton.d.ts +14 -14
  195. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +11 -11
  196. package/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +7 -7
  197. package/Toolbar/Toolbar.d.ts +7 -7
  198. package/Tooltip/Tooltip.d.ts +35 -35
  199. package/Tooltip/Tooltip.js +19 -2
  200. package/Typography/Typography.d.ts +14 -13
  201. package/Unstable_TrapFocus/FocusTrap.types.d.ts +7 -7
  202. package/Zoom/Zoom.d.ts +8 -8
  203. package/Zoom/Zoom.js +24 -30
  204. package/esm/Accordion/Accordion.d.ts +14 -14
  205. package/esm/AccordionActions/AccordionActions.d.ts +5 -5
  206. package/esm/AccordionDetails/AccordionDetails.d.ts +4 -4
  207. package/esm/AccordionSummary/AccordionSummary.d.ts +6 -6
  208. package/esm/Alert/Alert.d.ts +18 -18
  209. package/esm/AlertTitle/AlertTitle.d.ts +5 -5
  210. package/esm/AppBar/AppBar.d.ts +11 -11
  211. package/esm/Autocomplete/Autocomplete.d.ts +56 -40
  212. package/esm/Autocomplete/Autocomplete.js +48 -25
  213. package/esm/Avatar/Avatar.d.ts +13 -13
  214. package/esm/AvatarGroup/AvatarGroup.d.ts +13 -13
  215. package/esm/Backdrop/Backdrop.d.ts +13 -13
  216. package/esm/Badge/Badge.d.ts +20 -20
  217. package/esm/Badge/useBadge.types.d.ts +3 -3
  218. package/esm/BottomNavigation/BottomNavigation.d.ts +7 -7
  219. package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +7 -7
  220. package/esm/Box/Box.d.ts +4 -3
  221. package/esm/Breadcrumbs/Breadcrumbs.d.ts +14 -14
  222. package/esm/Button/Button.d.ts +20 -19
  223. package/esm/ButtonBase/ButtonBase.d.ts +17 -17
  224. package/esm/ButtonBase/ButtonBase.js +8 -2
  225. package/esm/ButtonBase/TouchRipple.d.ts +4 -4
  226. package/esm/ButtonGroup/ButtonGroup.d.ts +14 -14
  227. package/esm/ButtonGroup/ButtonGroupContext.d.ts +9 -9
  228. package/esm/Card/Card.d.ts +7 -7
  229. package/esm/CardActionArea/CardActionArea.d.ts +7 -7
  230. package/esm/CardActions/CardActions.d.ts +5 -5
  231. package/esm/CardContent/CardContent.d.ts +5 -5
  232. package/esm/CardHeader/CardHeader.d.ts +10 -10
  233. package/esm/CardHeader/CardHeader.js +1 -0
  234. package/esm/CardMedia/CardMedia.d.ts +7 -7
  235. package/esm/Checkbox/Checkbox.d.ts +16 -16
  236. package/esm/Chip/Chip.d.ts +17 -17
  237. package/esm/CircularProgress/CircularProgress.d.ts +11 -11
  238. package/esm/ClickAwayListener/ClickAwayListener.d.ts +6 -6
  239. package/esm/ClickAwayListener/ClickAwayListener.js +3 -3
  240. package/esm/Collapse/Collapse.d.ts +17 -17
  241. package/esm/Collapse/Collapse.js +7 -19
  242. package/esm/Container/Container.d.ts +8 -8
  243. package/esm/CssBaseline/CssBaseline.d.ts +3 -3
  244. package/esm/Dialog/Dialog.d.ts +31 -24
  245. package/esm/Dialog/Dialog.js +9 -1
  246. package/esm/Dialog/DialogContext.d.ts +1 -1
  247. package/esm/DialogActions/DialogActions.d.ts +5 -5
  248. package/esm/DialogContent/DialogContent.d.ts +5 -5
  249. package/esm/DialogContentText/DialogContentText.d.ts +6 -6
  250. package/esm/DialogTitle/DialogTitle.d.ts +7 -7
  251. package/esm/Divider/Divider.d.ts +13 -12
  252. package/esm/Drawer/Drawer.d.ts +14 -14
  253. package/esm/Fab/Fab.d.ts +13 -13
  254. package/esm/Fade/Fade.d.ts +8 -8
  255. package/esm/Fade/Fade.js +29 -33
  256. package/esm/FilledInput/FilledInput.d.ts +7 -7
  257. package/esm/FilledInput/FilledInput.js +1 -1
  258. package/esm/FormControl/FormControl.d.ts +21 -21
  259. package/esm/FormControlLabel/FormControlLabel.d.ts +16 -16
  260. package/esm/FormGroup/FormGroup.d.ts +6 -6
  261. package/esm/FormHelperText/FormHelperText.d.ts +13 -13
  262. package/esm/FormLabel/FormLabel.d.ts +15 -15
  263. package/esm/GlobalStyles/GlobalStyles.d.ts +2 -2
  264. package/esm/Grid/Grid.d.ts +13 -13
  265. package/esm/Grid/Grid.js +2 -2
  266. package/esm/GridLegacy/GridLegacy.d.ts +19 -19
  267. package/esm/Grow/Grow.d.ts +10 -10
  268. package/esm/Grow/Grow.js +31 -39
  269. package/esm/Icon/Icon.d.ts +9 -9
  270. package/esm/IconButton/IconButton.d.ts +14 -14
  271. package/esm/ImageList/ImageList.d.ts +9 -9
  272. package/esm/ImageListItem/ImageListItem.d.ts +7 -7
  273. package/esm/ImageListItemBar/ImageListItemBar.d.ts +6 -6
  274. package/esm/InitColorSchemeScript/InitColorSchemeScript.d.ts +9 -9
  275. package/esm/InitColorSchemeScript/InitColorSchemeScript.js +2 -2
  276. package/esm/Input/Input.d.ts +6 -6
  277. package/esm/Input/Input.js +1 -1
  278. package/esm/InputAdornment/InputAdornment.d.ts +8 -8
  279. package/esm/InputBase/InputBase.d.ts +57 -57
  280. package/esm/InputLabel/InputLabel.d.ts +17 -17
  281. package/esm/LinearProgress/LinearProgress.d.ts +8 -8
  282. package/esm/Link/Link.d.ts +11 -11
  283. package/esm/List/List.d.ts +9 -8
  284. package/esm/List/ListContext.d.ts +1 -1
  285. package/esm/ListItem/ListItem.d.ts +23 -23
  286. package/esm/ListItemAvatar/ListItemAvatar.d.ts +4 -4
  287. package/esm/ListItemButton/ListItemButton.d.ts +14 -13
  288. package/esm/ListItemIcon/ListItemIcon.d.ts +5 -4
  289. package/esm/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +4 -4
  290. package/esm/ListItemText/ListItemText.d.ts +14 -13
  291. package/esm/ListItemText/ListItemText.js +1 -0
  292. package/esm/ListSubheader/ListSubheader.d.ts +10 -9
  293. package/esm/Menu/Menu.d.ts +15 -15
  294. package/esm/MenuItem/MenuItem.d.ts +12 -12
  295. package/esm/MenuItem/MenuItem.js +23 -1
  296. package/esm/MenuList/MenuList.d.ts +10 -10
  297. package/esm/MobileStepper/MobileStepper.d.ts +9 -9
  298. package/esm/Modal/Modal.d.ts +38 -38
  299. package/esm/Modal/ModalManager.d.ts +1 -1
  300. package/esm/Modal/useModal.types.d.ts +13 -13
  301. package/esm/NativeSelect/NativeSelect.d.ts +10 -10
  302. package/esm/NativeSelect/NativeSelectInput.d.ts +5 -5
  303. package/esm/NoSsr/NoSsr.d.ts +2 -2
  304. package/esm/NoSsr/NoSsr.js +2 -2
  305. package/esm/NoSsr/NoSsr.types.d.ts +1 -1
  306. package/esm/OutlinedInput/NotchedOutline.d.ts +3 -3
  307. package/esm/OutlinedInput/OutlinedInput.d.ts +9 -9
  308. package/esm/OverridableComponent/index.d.ts +2 -2
  309. package/esm/Pagination/Pagination.d.ts +10 -10
  310. package/esm/PaginationItem/PaginationItem.d.ts +18 -18
  311. package/esm/Paper/Paper.d.ts +10 -9
  312. package/esm/PigmentContainer/PigmentContainer.d.ts +8 -8
  313. package/esm/PigmentContainer/PigmentContainer.js +2 -2
  314. package/esm/PigmentGrid/PigmentGrid.d.ts +10 -10
  315. package/esm/PigmentGrid/PigmentGrid.js +2 -2
  316. package/esm/PigmentStack/PigmentStack.d.ts +6 -6
  317. package/esm/PigmentStack/PigmentStack.js +2 -2
  318. package/esm/Popover/Popover.d.ts +22 -22
  319. package/esm/Popover/Popover.js +6 -3
  320. package/esm/Popper/BasePopper.js +6 -3
  321. package/esm/Popper/BasePopper.types.d.ts +17 -17
  322. package/esm/Popper/Popper.d.ts +9 -9
  323. package/esm/Popper/Popper.js +4 -4
  324. package/esm/Popper/index.d.ts +1 -0
  325. package/esm/Popper/index.js +1 -0
  326. package/esm/Portal/Portal.d.ts +2 -2
  327. package/esm/Portal/Portal.js +2 -2
  328. package/esm/Portal/Portal.types.d.ts +2 -2
  329. package/esm/Radio/Radio.d.ts +8 -8
  330. package/esm/RadioGroup/RadioGroup.d.ts +5 -5
  331. package/esm/Rating/Rating.d.ts +18 -18
  332. package/esm/ScopedCssBaseline/ScopedCssBaseline.d.ts +6 -6
  333. package/esm/Select/Select.d.ts +26 -26
  334. package/esm/Select/SelectInput.d.ts +24 -24
  335. package/esm/Select/SelectInput.js +43 -44
  336. package/esm/Select/index.d.ts +1 -0
  337. package/esm/Select/index.js +1 -0
  338. package/esm/Select/utils/SelectFocusSourceContext.d.ts +4 -0
  339. package/esm/Select/utils/SelectFocusSourceContext.js +13 -0
  340. package/esm/Select/utils/areEqualValues.d.ts +1 -0
  341. package/esm/Select/utils/areEqualValues.js +8 -0
  342. package/esm/Select/utils/getOpenInteractionType.d.ts +1 -0
  343. package/esm/Select/utils/getOpenInteractionType.js +12 -0
  344. package/esm/Select/utils/index.d.ts +4 -0
  345. package/esm/Select/utils/index.js +4 -0
  346. package/esm/Select/utils/isEmpty.d.ts +1 -0
  347. package/esm/Select/utils/isEmpty.js +3 -0
  348. package/esm/Skeleton/Skeleton.d.ts +9 -9
  349. package/esm/Slide/Slide.d.ts +11 -11
  350. package/esm/Slide/Slide.js +49 -46
  351. package/esm/Slider/Slider.d.ts +72 -72
  352. package/esm/Slider/SliderValueLabel.d.ts +1 -1
  353. package/esm/Slider/SliderValueLabel.types.d.ts +5 -5
  354. package/esm/Slider/useSlider.types.d.ts +26 -26
  355. package/esm/Snackbar/Snackbar.d.ts +18 -18
  356. package/esm/Snackbar/useSnackbar.types.d.ts +6 -6
  357. package/esm/SnackbarContent/SnackbarContent.d.ts +6 -6
  358. package/esm/SpeedDial/SpeedDial.d.ts +13 -13
  359. package/esm/SpeedDialAction/SpeedDialAction.d.ts +14 -14
  360. package/esm/SpeedDialIcon/SpeedDialIcon.d.ts +5 -5
  361. package/esm/SpeedDialIcon/SpeedDialIcon.js +4 -10
  362. package/esm/Stack/Stack.d.ts +7 -7
  363. package/esm/Step/Step.d.ts +12 -12
  364. package/esm/StepButton/StepButton.d.ts +6 -6
  365. package/esm/StepConnector/StepConnector.d.ts +4 -4
  366. package/esm/StepContent/StepContent.d.ts +9 -9
  367. package/esm/StepIcon/StepIcon.d.ts +8 -8
  368. package/esm/StepIcon/StepIcon.js +1 -4
  369. package/esm/StepLabel/StepLabel.d.ts +9 -9
  370. package/esm/StepLabel/StepLabel.js +1 -5
  371. package/esm/Stepper/Stepper.d.ts +11 -11
  372. package/esm/SvgIcon/SvgIcon.d.ts +13 -13
  373. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +13 -13
  374. package/esm/SwipeableDrawer/SwipeableDrawer.js +0 -3
  375. package/esm/Switch/Switch.d.ts +9 -9
  376. package/esm/Switch/Switch.js +4 -0
  377. package/esm/Tab/Tab.d.ts +12 -12
  378. package/esm/TabScrollButton/TabScrollButton.d.ts +11 -11
  379. package/esm/Table/Table.d.ts +8 -8
  380. package/esm/TableBody/TableBody.d.ts +5 -5
  381. package/esm/TableCell/TableCell.d.ts +11 -11
  382. package/esm/TableContainer/TableContainer.d.ts +5 -5
  383. package/esm/TableFooter/TableFooter.d.ts +5 -5
  384. package/esm/TableHead/TableHead.d.ts +5 -5
  385. package/esm/TablePagination/TablePagination.d.ts +18 -18
  386. package/esm/TablePaginationActions/TablePaginationActions.d.ts +25 -25
  387. package/esm/TableRow/TableRow.d.ts +7 -7
  388. package/esm/TableSortLabel/TableSortLabel.d.ts +12 -12
  389. package/esm/Tabs/Tabs.d.ts +27 -27
  390. package/esm/Tabs/Tabs.js +2 -1
  391. package/esm/TextField/TextField.d.ts +45 -45
  392. package/esm/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  393. package/esm/TextareaAutosize/TextareaAutosize.js +2 -2
  394. package/esm/TextareaAutosize/TextareaAutosize.types.d.ts +3 -3
  395. package/esm/ToggleButton/ToggleButton.d.ts +14 -14
  396. package/esm/ToggleButtonGroup/ToggleButtonGroup.d.ts +11 -11
  397. package/esm/ToggleButtonGroup/ToggleButtonGroupContext.d.ts +7 -7
  398. package/esm/Toolbar/Toolbar.d.ts +7 -7
  399. package/esm/Tooltip/Tooltip.d.ts +35 -35
  400. package/esm/Tooltip/Tooltip.js +19 -2
  401. package/esm/Typography/Typography.d.ts +14 -13
  402. package/esm/Unstable_TrapFocus/FocusTrap.types.d.ts +7 -7
  403. package/esm/Zoom/Zoom.d.ts +8 -8
  404. package/esm/Zoom/Zoom.js +25 -31
  405. package/esm/index.js +1 -1
  406. package/esm/internal/SwitchBase.d.ts +17 -17
  407. package/esm/internal/index.d.ts +5 -5
  408. package/esm/locale/utils/LocaleTextApi.d.ts +7 -7
  409. package/esm/styles/ThemeProvider.d.ts +12 -12
  410. package/esm/styles/ThemeProviderWithVars.d.ts +13 -13
  411. package/esm/styles/adaptV4Theme.d.ts +14 -14
  412. package/esm/styles/components.d.ts +476 -476
  413. package/esm/styles/createColorScheme.d.ts +1 -1
  414. package/esm/styles/createGetSelector.d.ts +5 -5
  415. package/esm/styles/createMixins.d.ts +2 -2
  416. package/esm/styles/createPalette.d.ts +23 -23
  417. package/esm/styles/createTheme.d.ts +2 -2
  418. package/esm/styles/createThemeFoundation.d.ts +30 -30
  419. package/esm/styles/createThemeNoVars.d.ts +14 -14
  420. package/esm/styles/createThemeNoVars.js +1 -1
  421. package/esm/styles/createThemeWithVars.d.ts +9 -9
  422. package/esm/styles/createThemeWithVars.js +69 -69
  423. package/esm/styles/createTransitions.d.ts +5 -5
  424. package/esm/styles/createTypography.d.ts +1 -1
  425. package/esm/styles/cssUtils.d.ts +3 -3
  426. package/esm/styles/index.d.ts +6 -6
  427. package/esm/styles/overrides.d.ts +1 -1
  428. package/esm/styles/responsiveFontSizes.d.ts +4 -4
  429. package/esm/styles/useThemeProps.d.ts +1 -1
  430. package/esm/transitions/transition.d.ts +2 -2
  431. package/esm/transitions/utils.d.ts +11 -4
  432. package/esm/transitions/utils.js +25 -0
  433. package/esm/types/OverridableComponentAugmentation.d.ts +2 -2
  434. package/esm/useAutocomplete/useAutocomplete.d.ts +45 -45
  435. package/esm/useAutocomplete/useAutocomplete.js +58 -3
  436. package/esm/usePagination/usePagination.d.ts +12 -12
  437. package/esm/useScrollTrigger/useScrollTrigger.d.ts +3 -3
  438. package/esm/utils/isLayoutSupported.d.ts +1 -0
  439. package/esm/utils/isLayoutSupported.js +6 -0
  440. package/esm/utils/types.d.ts +4 -4
  441. package/esm/utils/useSlot.d.ts +12 -12
  442. package/esm/version/index.js +2 -2
  443. package/index.js +1 -1
  444. package/internal/SwitchBase.d.ts +17 -17
  445. package/internal/index.d.ts +5 -5
  446. package/locale/utils/LocaleTextApi.d.ts +7 -7
  447. package/package.json +6 -6
  448. package/styles/ThemeProvider.d.ts +12 -12
  449. package/styles/ThemeProviderWithVars.d.ts +13 -13
  450. package/styles/adaptV4Theme.d.ts +14 -14
  451. package/styles/components.d.ts +476 -476
  452. package/styles/createColorScheme.d.ts +1 -1
  453. package/styles/createGetSelector.d.ts +5 -5
  454. package/styles/createMixins.d.ts +2 -2
  455. package/styles/createPalette.d.ts +23 -23
  456. package/styles/createTheme.d.ts +2 -2
  457. package/styles/createThemeFoundation.d.ts +30 -30
  458. package/styles/createThemeNoVars.d.ts +14 -14
  459. package/styles/createThemeNoVars.js +1 -1
  460. package/styles/createThemeWithVars.d.ts +9 -9
  461. package/styles/createThemeWithVars.js +69 -69
  462. package/styles/createTransitions.d.ts +5 -5
  463. package/styles/createTypography.d.ts +1 -1
  464. package/styles/cssUtils.d.ts +3 -3
  465. package/styles/index.d.ts +6 -6
  466. package/styles/overrides.d.ts +1 -1
  467. package/styles/responsiveFontSizes.d.ts +4 -4
  468. package/styles/useThemeProps.d.ts +1 -1
  469. package/transitions/transition.d.ts +2 -2
  470. package/transitions/utils.d.ts +11 -4
  471. package/transitions/utils.js +27 -0
  472. package/types/OverridableComponentAugmentation.d.ts +2 -2
  473. package/useAutocomplete/useAutocomplete.d.ts +45 -45
  474. package/useAutocomplete/useAutocomplete.js +58 -3
  475. package/usePagination/usePagination.d.ts +12 -12
  476. package/useScrollTrigger/useScrollTrigger.d.ts +3 -3
  477. package/utils/isLayoutSupported.d.ts +1 -0
  478. package/utils/isLayoutSupported.js +12 -0
  479. package/utils/types.d.ts +4 -4
  480. package/utils/useSlot.d.ts +12 -12
  481. package/version/index.js +2 -2
@@ -7,12 +7,12 @@ export interface UseSnackbarParameters {
7
7
  * the `null` value.
8
8
  * @default null
9
9
  */
10
- autoHideDuration?: number | null;
10
+ autoHideDuration?: number | null | undefined;
11
11
  /**
12
12
  * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.
13
13
  * @default false
14
14
  */
15
- disableWindowBlurListener?: boolean;
15
+ disableWindowBlurListener?: boolean | undefined;
16
16
  /**
17
17
  * Callback fired when the component requests to be closed.
18
18
  * Typically `onClose` is used to set state in the parent component,
@@ -23,18 +23,18 @@ export interface UseSnackbarParameters {
23
23
  * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
24
24
  * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
25
25
  */
26
- onClose?: (event: React.SyntheticEvent<any> | Event | null, reason: SnackbarCloseReason) => void;
26
+ onClose?: ((event: React.SyntheticEvent<any> | Event | null, reason: SnackbarCloseReason) => void) | undefined;
27
27
  /**
28
28
  * If `true`, the component is shown.
29
29
  */
30
- open?: boolean;
30
+ open?: boolean | undefined;
31
31
  /**
32
32
  * The number of milliseconds to wait before dismissing after user interaction.
33
33
  * If `autoHideDuration` prop isn't specified, it does nothing.
34
34
  * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,
35
35
  * we default to `autoHideDuration / 2` ms.
36
36
  */
37
- resumeHideDuration?: number;
37
+ resumeHideDuration?: number | undefined;
38
38
  }
39
39
  export type UseSnackbarRootSlotProps<ExternalProps = {}> = ExternalProps & UseSnackbarRootSlotOwnProps;
40
40
  export interface UseSnackbarRootSlotOwnProps {
@@ -42,7 +42,7 @@ export interface UseSnackbarRootSlotOwnProps {
42
42
  onFocus: React.FocusEventHandler;
43
43
  onMouseEnter: React.MouseEventHandler;
44
44
  onMouseLeave: React.MouseEventHandler;
45
- ref?: React.RefCallback<Element>;
45
+ ref?: React.RefCallback<Element> | undefined;
46
46
  role: React.AriaRole;
47
47
  }
48
48
  export interface UseSnackbarReturnValue {
@@ -12,7 +12,7 @@ export interface SnackbarContentProps extends StandardProps<PaperProps, 'childre
12
12
  /**
13
13
  * Override or extend the styles applied to the component.
14
14
  */
15
- classes?: Partial<SnackbarContentClasses>;
15
+ classes?: Partial<SnackbarContentClasses> | undefined;
16
16
  /**
17
17
  * The message to display.
18
18
  */
@@ -21,22 +21,22 @@ export interface SnackbarContentProps extends StandardProps<PaperProps, 'childre
21
21
  * The ARIA role attribute of the element.
22
22
  * @default 'alert'
23
23
  */
24
- role?: PaperProps['role'];
24
+ role?: PaperProps['role'] | undefined;
25
25
  /**
26
26
  * The system prop that allows defining system overrides as well as additional CSS styles.
27
27
  */
28
- sx?: SxProps<Theme>;
28
+ sx?: SxProps<Theme> | undefined;
29
29
  }
30
30
 
31
31
  /**
32
32
  *
33
33
  * Demos:
34
34
  *
35
- * - [Snackbar](https://mui.com/material-ui/react-snackbar/)
35
+ * - [Snackbar](https://v7.mui.com/material-ui/react-snackbar/)
36
36
  *
37
37
  * API:
38
38
  *
39
- * - [SnackbarContent API](https://mui.com/material-ui/api/snackbar-content/)
40
- * - inherits [Paper API](https://mui.com/material-ui/api/paper/)
39
+ * - [SnackbarContent API](https://v7.mui.com/material-ui/api/snackbar-content/)
40
+ * - inherits [Paper API](https://v7.mui.com/material-ui/api/paper/)
41
41
  */
42
42
  export default function SnackbarContent(props: SnackbarContentProps): React.JSX.Element;
@@ -41,7 +41,7 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
41
41
  /**
42
42
  * Override or extend the styles applied to the component.
43
43
  */
44
- classes?: Partial<SpeedDialClasses>;
44
+ classes?: Partial<SpeedDialClasses> | undefined;
45
45
  /**
46
46
  * The aria-label of the button element.
47
47
  * Also used to provide the `id` for the `SpeedDial` element and its children.
@@ -51,17 +51,17 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
51
51
  * The direction the actions open relative to the floating action button.
52
52
  * @default 'up'
53
53
  */
54
- direction?: 'up' | 'down' | 'left' | 'right';
54
+ direction?: 'up' | 'down' | 'left' | 'right' | undefined;
55
55
  /**
56
56
  * If `true`, the SpeedDial is hidden.
57
57
  * @default false
58
58
  */
59
- hidden?: boolean;
59
+ hidden?: boolean | undefined;
60
60
  /**
61
61
  * Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) element.
62
62
  * @default {}
63
63
  */
64
- FabProps?: Partial<FabProps>;
64
+ FabProps?: Partial<FabProps> | undefined;
65
65
  /**
66
66
  * The icon to display in the SpeedDial Fab. The `SpeedDialIcon` component
67
67
  * provides a default Icon with animation.
@@ -73,18 +73,18 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
73
73
  * @param {object} event The event source of the callback.
74
74
  * @param {string} reason Can be: `"toggle"`, `"blur"`, `"mouseLeave"`, `"escapeKeyDown"`.
75
75
  */
76
- onClose?: (event: React.SyntheticEvent<{}>, reason: CloseReason) => void;
76
+ onClose?: ((event: React.SyntheticEvent<{}>, reason: CloseReason) => void) | undefined;
77
77
  /**
78
78
  * Callback fired when the component requests to be open.
79
79
  *
80
80
  * @param {object} event The event source of the callback.
81
81
  * @param {string} reason Can be: `"toggle"`, `"focus"`, `"mouseEnter"`.
82
82
  */
83
- onOpen?: (event: React.SyntheticEvent<{}>, reason: OpenReason) => void;
83
+ onOpen?: ((event: React.SyntheticEvent<{}>, reason: OpenReason) => void) | undefined;
84
84
  /**
85
85
  * If `true`, the component is shown.
86
86
  */
87
- open?: boolean;
87
+ open?: boolean | undefined;
88
88
  /**
89
89
  * The icon to display in the SpeedDial Fab when the SpeedDial is open.
90
90
  */
@@ -92,14 +92,14 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
92
92
  /**
93
93
  * The system prop that allows defining system overrides as well as additional CSS styles.
94
94
  */
95
- sx?: SxProps<Theme>;
95
+ sx?: SxProps<Theme> | undefined;
96
96
  /**
97
97
  * The component used for the transition.
98
98
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
99
99
  * @default Zoom
100
100
  * * @deprecated Use `slots.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
101
101
  */
102
- TransitionComponent?: React.JSXElementConstructor<TransitionProps>;
102
+ TransitionComponent?: React.JSXElementConstructor<TransitionProps> | undefined;
103
103
  /**
104
104
  * The duration for the transition, in milliseconds.
105
105
  * You may specify a single timeout for all transitions, or individually with an object.
@@ -108,13 +108,13 @@ export interface SpeedDialProps extends Omit<StandardProps<React.HTMLAttributes<
108
108
  * exit: theme.transitions.duration.leavingScreen,
109
109
  * }
110
110
  */
111
- transitionDuration?: TransitionProps['timeout'];
111
+ transitionDuration?: TransitionProps['timeout'] | undefined;
112
112
  /**
113
113
  * Props applied to the transition element.
114
114
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
115
115
  * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
116
116
  */
117
- TransitionProps?: TransitionProps;
117
+ TransitionProps?: TransitionProps | undefined;
118
118
  }
119
119
  export interface SpeedDialOwnerState extends SpeedDialProps {}
120
120
 
@@ -122,10 +122,10 @@ export interface SpeedDialOwnerState extends SpeedDialProps {}
122
122
  *
123
123
  * Demos:
124
124
  *
125
- * - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
125
+ * - [Speed Dial](https://v7.mui.com/material-ui/react-speed-dial/)
126
126
  *
127
127
  * API:
128
128
  *
129
- * - [SpeedDial API](https://mui.com/material-ui/api/speed-dial/)
129
+ * - [SpeedDial API](https://v7.mui.com/material-ui/api/speed-dial/)
130
130
  */
131
131
  export default function SpeedDial(props: SpeedDialProps): React.JSX.Element;
@@ -11,22 +11,22 @@ export interface SpeedDialActionSlots {
11
11
  * The component that renders the fab.
12
12
  * @default Fab
13
13
  */
14
- fab?: React.ElementType;
14
+ fab?: React.ElementType | undefined;
15
15
  /**
16
16
  * The component that renders the tooltip.
17
17
  * @default Tooltip
18
18
  */
19
- tooltip?: React.ElementType;
19
+ tooltip?: React.ElementType | undefined;
20
20
  /**
21
21
  * The component that renders the static tooltip.
22
22
  * @default 'span'
23
23
  */
24
- staticTooltip?: React.ElementType;
24
+ staticTooltip?: React.ElementType | undefined;
25
25
  /**
26
26
  * The component that renders the static tooltip label.
27
27
  * @default 'span'
28
28
  */
29
- staticTooltipLabel?: React.ElementType;
29
+ staticTooltipLabel?: React.ElementType | undefined;
30
30
  }
31
31
  export interface SpeedDialActionFabSlotPropsOverrides {}
32
32
  export interface SpeedDialActionTooltipSlotPropsOverrides {}
@@ -58,18 +58,18 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
58
58
  /**
59
59
  * Override or extend the styles applied to the component.
60
60
  */
61
- classes?: Partial<SpeedDialActionClasses>;
61
+ classes?: Partial<SpeedDialActionClasses> | undefined;
62
62
  /**
63
63
  * Props applied to the [`Fab`](https://mui.com/material-ui/api/fab/) component.
64
64
  * @default {}
65
65
  * @deprecated Use `slotProps.fab` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
66
66
  */
67
- FabProps?: Partial<FabProps>;
67
+ FabProps?: Partial<FabProps> | undefined;
68
68
  /**
69
69
  * Adds a transition delay, to allow a series of SpeedDialActions to be animated.
70
70
  * @default 0
71
71
  */
72
- delay?: number;
72
+ delay?: number | undefined;
73
73
  /**
74
74
  * The icon to display in the SpeedDial Fab.
75
75
  */
@@ -77,18 +77,18 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
77
77
  /**
78
78
  * The system prop that allows defining system overrides as well as additional CSS styles.
79
79
  */
80
- sx?: SxProps<Theme>;
80
+ sx?: SxProps<Theme> | undefined;
81
81
  /**
82
82
  * `classes` prop applied to the [`Tooltip`](https://mui.com/material-ui/api/tooltip/) element.
83
83
  * @deprecated Use `slotProps.tooltip.classes` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
84
84
  */
85
- TooltipClasses?: TooltipProps['classes'];
85
+ TooltipClasses?: TooltipProps['classes'] | undefined;
86
86
  /**
87
87
  * Placement of the tooltip.
88
88
  * @default 'left'
89
89
  * @deprecated Use `slotProps.tooltip.placement` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
90
90
  */
91
- tooltipPlacement?: TooltipProps['placement'];
91
+ tooltipPlacement?: TooltipProps['placement'] | undefined;
92
92
  /**
93
93
  * Label to display in the tooltip.
94
94
  * @deprecated Use `slotProps.tooltip.title` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
@@ -99,19 +99,19 @@ export interface SpeedDialActionProps extends Omit<StandardProps<Partial<Tooltip
99
99
  * @default false
100
100
  * @deprecated Use `slotProps.tooltip.open` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
101
101
  */
102
- tooltipOpen?: boolean;
102
+ tooltipOpen?: boolean | undefined;
103
103
  }
104
104
 
105
105
  /**
106
106
  *
107
107
  * Demos:
108
108
  *
109
- * - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
109
+ * - [Speed Dial](https://v7.mui.com/material-ui/react-speed-dial/)
110
110
  *
111
111
  * API:
112
112
  *
113
- * - [SpeedDialAction API](https://mui.com/material-ui/api/speed-dial-action/)
114
- * - inherits [Tooltip API](https://mui.com/material-ui/api/tooltip/)
113
+ * - [SpeedDialAction API](https://v7.mui.com/material-ui/api/speed-dial-action/)
114
+ * - inherits [Tooltip API](https://v7.mui.com/material-ui/api/tooltip/)
115
115
  */
116
116
  export default function SpeedDialAction(props: SpeedDialActionProps): React.JSX.Element;
117
117
  export interface SpeedDialActionOwnerState extends Omit<SpeedDialActionProps, 'slots' | 'slotProps'> {}
@@ -7,7 +7,7 @@ export interface SpeedDialIconProps extends StandardProps<React.HTMLAttributes<H
7
7
  /**
8
8
  * Override or extend the styles applied to the component.
9
9
  */
10
- classes?: Partial<SpeedDialIconClasses>;
10
+ classes?: Partial<SpeedDialIconClasses> | undefined;
11
11
  /**
12
12
  * The icon to display.
13
13
  */
@@ -20,22 +20,22 @@ export interface SpeedDialIconProps extends StandardProps<React.HTMLAttributes<H
20
20
  * @ignore
21
21
  * If `true`, the component is shown.
22
22
  */
23
- open?: boolean;
23
+ open?: boolean | undefined;
24
24
  /**
25
25
  * The system prop that allows defining system overrides as well as additional CSS styles.
26
26
  */
27
- sx?: SxProps<Theme>;
27
+ sx?: SxProps<Theme> | undefined;
28
28
  }
29
29
 
30
30
  /**
31
31
  *
32
32
  * Demos:
33
33
  *
34
- * - [Speed Dial](https://mui.com/material-ui/react-speed-dial/)
34
+ * - [Speed Dial](https://v7.mui.com/material-ui/react-speed-dial/)
35
35
  *
36
36
  * API:
37
37
  *
38
- * - [SpeedDialIcon API](https://mui.com/material-ui/api/speed-dial-icon/)
38
+ * - [SpeedDialIcon API](https://v7.mui.com/material-ui/api/speed-dial-icon/)
39
39
  */
40
40
  declare const SpeedDialIcon: ((props: SpeedDialIconProps) => React.JSX.Element) & {
41
41
  muiName: string;
@@ -73,6 +73,10 @@ const SpeedDialIconRoot = (0, _zeroStyled.styled)('span', {
73
73
  style: {
74
74
  [`& .${_speedDialIconClasses.default.icon}`]: {
75
75
  transform: 'rotate(45deg)'
76
+ },
77
+ [`& .${_speedDialIconClasses.default.openIcon}`]: {
78
+ transform: 'rotate(0deg)',
79
+ opacity: 1
76
80
  }
77
81
  }
78
82
  }, {
@@ -84,16 +88,6 @@ const SpeedDialIconRoot = (0, _zeroStyled.styled)('span', {
84
88
  opacity: 0
85
89
  }
86
90
  }
87
- }, {
88
- props: ({
89
- ownerState
90
- }) => ownerState.open,
91
- style: {
92
- [`& .${_speedDialIconClasses.default.openIcon}`]: {
93
- transform: 'rotate(0deg)',
94
- opacity: 1
95
- }
96
- }
97
91
  }]
98
92
  })));
99
93
  const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
package/Stack/Stack.d.ts CHANGED
@@ -12,12 +12,12 @@ export interface StackOwnProps extends SystemProps<Theme> {
12
12
  * It is applied for all screen sizes.
13
13
  * @default 'column'
14
14
  */
15
- direction?: ResponsiveStyleValue<'row' | 'row-reverse' | 'column' | 'column-reverse'>;
15
+ direction?: ResponsiveStyleValue<'row' | 'row-reverse' | 'column' | 'column-reverse'> | undefined;
16
16
  /**
17
17
  * Defines the space between immediate children.
18
18
  * @default 0
19
19
  */
20
- spacing?: ResponsiveStyleValue<number | string>;
20
+ spacing?: ResponsiveStyleValue<number | string> | undefined;
21
21
  /**
22
22
  * Add an element between each child.
23
23
  */
@@ -31,11 +31,11 @@ export interface StackOwnProps extends SystemProps<Theme> {
31
31
  * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
32
32
  * @default false
33
33
  */
34
- useFlexGap?: boolean;
34
+ useFlexGap?: boolean | undefined;
35
35
  /**
36
36
  * The system prop, which allows defining system overrides as well as additional CSS styles.
37
37
  */
38
- sx?: SxProps<Theme>;
38
+ sx?: SxProps<Theme> | undefined;
39
39
  }
40
40
  export interface StackTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
41
41
  props: AdditionalProps & StackOwnProps;
@@ -45,14 +45,14 @@ export interface StackTypeMap<AdditionalProps = {}, RootComponent extends React.
45
45
  *
46
46
  * Demos:
47
47
  *
48
- * - [Stack](https://mui.com/material-ui/react-stack/)
48
+ * - [Stack](https://v7.mui.com/material-ui/react-stack/)
49
49
  *
50
50
  * API:
51
51
  *
52
- * - [Stack API](https://mui.com/material-ui/api/stack/)
52
+ * - [Stack API](https://v7.mui.com/material-ui/api/stack/)
53
53
  */
54
54
  declare const Stack: OverridableComponent<StackTypeMap>;
55
55
  export type StackProps<RootComponent extends React.ElementType = StackTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<StackTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
56
- component?: React.ElementType;
56
+ component?: React.ElementType | undefined;
57
57
  };
58
58
  export default Stack;
package/Step/Step.d.ts CHANGED
@@ -7,7 +7,7 @@ export interface StepOwnProps {
7
7
  /**
8
8
  * Sets the step as active. Is passed to child components.
9
9
  */
10
- active?: boolean;
10
+ active?: boolean | undefined;
11
11
  /**
12
12
  * Should be `Step` sub-components such as `StepLabel`, `StepContent`.
13
13
  */
@@ -15,44 +15,44 @@ export interface StepOwnProps {
15
15
  /**
16
16
  * Override or extend the styles applied to the component.
17
17
  */
18
- classes?: Partial<StepClasses>;
18
+ classes?: Partial<StepClasses> | undefined;
19
19
  /**
20
20
  * Mark the step as completed. Is passed to child components.
21
21
  */
22
- completed?: boolean;
22
+ completed?: boolean | undefined;
23
23
  /**
24
24
  * If `true`, the step is disabled, will also disable the button if
25
25
  * `StepButton` is a child of `Step`. Is passed to child components.
26
26
  */
27
- disabled?: boolean;
27
+ disabled?: boolean | undefined;
28
28
  /**
29
29
  * Expand the step.
30
30
  * @default false
31
31
  */
32
- expanded?: boolean;
32
+ expanded?: boolean | undefined;
33
33
  /**
34
34
  * The position of the step.
35
35
  * The prop defaults to the value inherited from the parent Stepper component.
36
36
  */
37
- index?: number;
37
+ index?: number | undefined;
38
38
  /**
39
39
  * If `true`, the Step is displayed as rendered last.
40
40
  * The prop defaults to the value inherited from the parent Stepper component.
41
41
  */
42
- last?: boolean;
42
+ last?: boolean | undefined;
43
43
  /**
44
44
  * The system prop that allows defining system overrides as well as additional CSS styles.
45
45
  */
46
- sx?: SxProps<Theme>;
46
+ sx?: SxProps<Theme> | undefined;
47
47
  }
48
48
  export interface StepTypeMap<AdditionalProps = {}, RootComponent extends React.ElementType = 'div'> {
49
49
  props: AdditionalProps & StepOwnProps;
50
50
  defaultComponent: RootComponent;
51
51
  }
52
52
  export type StepProps<RootComponent extends React.ElementType = StepTypeMap['defaultComponent'], AdditionalProps = {
53
- component?: React.ElementType;
53
+ component?: React.ElementType | undefined;
54
54
  }> = OverrideProps<StepTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
55
- component?: React.ElementType;
55
+ component?: React.ElementType | undefined;
56
56
  };
57
57
  export type StepClasskey = keyof NonNullable<StepProps['classes']>;
58
58
 
@@ -60,11 +60,11 @@ export type StepClasskey = keyof NonNullable<StepProps['classes']>;
60
60
  *
61
61
  * Demos:
62
62
  *
63
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
63
+ * - [Stepper](https://v7.mui.com/material-ui/react-stepper/)
64
64
  *
65
65
  * API:
66
66
  *
67
- * - [Step API](https://mui.com/material-ui/api/step/)
67
+ * - [Step API](https://v7.mui.com/material-ui/api/step/)
68
68
  */
69
69
  declare const Step: OverridableComponent<StepTypeMap>;
70
70
  export default Step;
@@ -12,7 +12,7 @@ export interface StepButtonOwnProps {
12
12
  /**
13
13
  * Override or extend the styles applied to the component.
14
14
  */
15
- classes?: Partial<StepButtonClasses>;
15
+ classes?: Partial<StepButtonClasses> | undefined;
16
16
  /**
17
17
  * The icon displayed by the step label.
18
18
  */
@@ -24,7 +24,7 @@ export interface StepButtonOwnProps {
24
24
  /**
25
25
  * The system prop that allows defining system overrides as well as additional CSS styles.
26
26
  */
27
- sx?: SxProps<Theme>;
27
+ sx?: SxProps<Theme> | undefined;
28
28
  }
29
29
  export type StepButtonTypeMap<AdditionalProps, RootComponent extends React.ElementType> = ExtendButtonBaseTypeMap<{
30
30
  props: AdditionalProps & StepButtonOwnProps;
@@ -36,16 +36,16 @@ export type StepButtonTypeMap<AdditionalProps, RootComponent extends React.Eleme
36
36
  *
37
37
  * Demos:
38
38
  *
39
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
39
+ * - [Stepper](https://v7.mui.com/material-ui/react-stepper/)
40
40
  *
41
41
  * API:
42
42
  *
43
- * - [StepButton API](https://mui.com/material-ui/api/step-button/)
44
- * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
43
+ * - [StepButton API](https://v7.mui.com/material-ui/api/step-button/)
44
+ * - inherits [ButtonBase API](https://v7.mui.com/material-ui/api/button-base/)
45
45
  */
46
46
  declare const StepButton: ExtendButtonBase<StepButtonTypeMap<{}, ButtonBaseTypeMap['defaultComponent']>>;
47
47
  export type StepButtonClasskey = keyof NonNullable<StepButtonProps['classes']>;
48
48
  export type StepButtonProps<RootComponent extends React.ElementType = ButtonBaseTypeMap['defaultComponent'], AdditionalProps = {}> = OverrideProps<StepButtonTypeMap<AdditionalProps, RootComponent>, RootComponent> & {
49
- component?: React.ElementType;
49
+ component?: React.ElementType | undefined;
50
50
  };
51
51
  export default StepButton;
@@ -8,11 +8,11 @@ export interface StepConnectorProps extends StandardProps<React.HTMLAttributes<H
8
8
  /**
9
9
  * Override or extend the styles applied to the component.
10
10
  */
11
- classes?: Partial<StepConnectorClasses>;
11
+ classes?: Partial<StepConnectorClasses> | undefined;
12
12
  /**
13
13
  * The system prop that allows defining system overrides as well as additional CSS styles.
14
14
  */
15
- sx?: SxProps<Theme>;
15
+ sx?: SxProps<Theme> | undefined;
16
16
  }
17
17
  export type StepConnectorClasskey = keyof NonNullable<StepConnectorProps['classes']>;
18
18
 
@@ -20,10 +20,10 @@ export type StepConnectorClasskey = keyof NonNullable<StepConnectorProps['classe
20
20
  *
21
21
  * Demos:
22
22
  *
23
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
23
+ * - [Stepper](https://v7.mui.com/material-ui/react-stepper/)
24
24
  *
25
25
  * API:
26
26
  *
27
- * - [StepConnector API](https://mui.com/material-ui/api/step-connector/)
27
+ * - [StepConnector API](https://v7.mui.com/material-ui/api/step-connector/)
28
28
  */
29
29
  export default function StepConnector(props: StepConnectorProps): React.JSX.Element;
@@ -13,8 +13,8 @@ export interface StepContentSlots {
13
13
  * @default Collapse
14
14
  */
15
15
  transition?: React.JSXElementConstructor<TransitionProps & {
16
- children?: React.ReactElement<unknown, any>;
17
- }>;
16
+ children?: React.ReactElement<unknown, any> | undefined;
17
+ }> | undefined;
18
18
  }
19
19
  export type StepContentSlotsAndSlotProps = CreateSlotsAndSlotProps<StepContentSlots, {
20
20
  /**
@@ -32,11 +32,11 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
32
32
  /**
33
33
  * Override or extend the styles applied to the component.
34
34
  */
35
- classes?: Partial<StepContentClasses>;
35
+ classes?: Partial<StepContentClasses> | undefined;
36
36
  /**
37
37
  * The system prop that allows defining system overrides as well as additional CSS styles.
38
38
  */
39
- sx?: SxProps<Theme>;
39
+ sx?: SxProps<Theme> | undefined;
40
40
  /**
41
41
  * The component used for the transition.
42
42
  * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
@@ -45,7 +45,7 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
45
45
  */
46
46
  TransitionComponent?: React.JSXElementConstructor<TransitionProps & {
47
47
  children: React.ReactElement<unknown, any>;
48
- }>;
48
+ }> | undefined;
49
49
  /**
50
50
  * Adjust the duration of the content expand transition.
51
51
  * Passed as a prop to the transition component.
@@ -53,13 +53,13 @@ export interface StepContentProps extends StandardProps<React.HTMLAttributes<HTM
53
53
  * Set to 'auto' to automatically calculate transition time based on height.
54
54
  * @default 'auto'
55
55
  */
56
- transitionDuration?: TransitionProps['timeout'] | 'auto';
56
+ transitionDuration?: TransitionProps['timeout'] | 'auto' | undefined;
57
57
  /**
58
58
  * Props applied to the transition element.
59
59
  * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
60
60
  * @deprecated Use `slotProps.transition` instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
61
61
  */
62
- TransitionProps?: TransitionProps;
62
+ TransitionProps?: TransitionProps | undefined;
63
63
  }
64
64
  export type StepContentClasskey = keyof NonNullable<StepContentProps['classes']>;
65
65
 
@@ -67,10 +67,10 @@ export type StepContentClasskey = keyof NonNullable<StepContentProps['classes']>
67
67
  *
68
68
  * Demos:
69
69
  *
70
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
70
+ * - [Stepper](https://v7.mui.com/material-ui/react-stepper/)
71
71
  *
72
72
  * API:
73
73
  *
74
- * - [StepContent API](https://mui.com/material-ui/api/step-content/)
74
+ * - [StepContent API](https://v7.mui.com/material-ui/api/step-content/)
75
75
  */
76
76
  export default function StepContent(props: StepContentProps): React.JSX.Element;
@@ -11,21 +11,21 @@ extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'
11
11
  * Whether this step is active.
12
12
  * @default false
13
13
  */
14
- active?: boolean;
14
+ active?: boolean | undefined;
15
15
  /**
16
16
  * Override or extend the styles applied to the component.
17
17
  */
18
- classes?: Partial<StepIconClasses>;
18
+ classes?: Partial<StepIconClasses> | undefined;
19
19
  /**
20
20
  * Mark the step as completed. Is passed to child components.
21
21
  * @default false
22
22
  */
23
- completed?: boolean;
23
+ completed?: boolean | undefined;
24
24
  /**
25
25
  * If `true`, the step is marked as failed.
26
26
  * @default false
27
27
  */
28
- error?: boolean;
28
+ error?: boolean | undefined;
29
29
  /**
30
30
  * The label displayed in the step icon.
31
31
  */
@@ -33,7 +33,7 @@ extends StandardProps<React.HTMLAttributes<HTMLDivElement>, 'color' | 'children'
33
33
  /**
34
34
  * The system prop that allows defining system overrides as well as additional CSS styles.
35
35
  */
36
- sx?: SxProps<Theme>;
36
+ sx?: SxProps<Theme> | undefined;
37
37
  }
38
38
  export type StepIconClasskey = keyof NonNullable<StepIconProps['classes']>;
39
39
 
@@ -41,11 +41,11 @@ export type StepIconClasskey = keyof NonNullable<StepIconProps['classes']>;
41
41
  *
42
42
  * Demos:
43
43
  *
44
- * - [Stepper](https://mui.com/material-ui/react-stepper/)
44
+ * - [Stepper](https://v7.mui.com/material-ui/react-stepper/)
45
45
  *
46
46
  * API:
47
47
  *
48
- * - [StepIcon API](https://mui.com/material-ui/api/step-icon/)
49
- * - inherits [SvgIcon API](https://mui.com/material-ui/api/svg-icon/)
48
+ * - [StepIcon API](https://v7.mui.com/material-ui/api/step-icon/)
49
+ * - inherits [SvgIcon API](https://v7.mui.com/material-ui/api/svg-icon/)
50
50
  */
51
51
  export default function StepIcon(props: StepIconProps): React.JSX.Element;
@@ -44,10 +44,7 @@ const StepIconRoot = (0, _zeroStyled.styled)(_SvgIcon.default, {
44
44
  duration: theme.transitions.duration.shortest
45
45
  }),
46
46
  color: (theme.vars || theme).palette.text.disabled,
47
- [`&.${_stepIconClasses.default.completed}`]: {
48
- color: (theme.vars || theme).palette.primary.main
49
- },
50
- [`&.${_stepIconClasses.default.active}`]: {
47
+ [`&.${_stepIconClasses.default.completed}, &.${_stepIconClasses.default.active}`]: {
51
48
  color: (theme.vars || theme).palette.primary.main
52
49
  },
53
50
  [`&.${_stepIconClasses.default.error}`]: {