@mui/material 5.2.0 → 5.2.4

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 (637) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/Accordion/accordionClasses.d.ts +18 -18
  4. package/AccordionActions/AccordionActions.js +1 -1
  5. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  6. package/AccordionDetails/AccordionDetails.js +1 -1
  7. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  8. package/AccordionSummary/AccordionSummary.js +2 -2
  9. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  10. package/Alert/Alert.js +1 -3
  11. package/Alert/alertClasses.d.ts +44 -44
  12. package/AlertTitle/AlertTitle.js +1 -1
  13. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  14. package/AppBar/AppBar.js +1 -1
  15. package/AppBar/appBarClasses.d.ts +28 -28
  16. package/Autocomplete/Autocomplete.js +1 -1
  17. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  18. package/Avatar/Avatar.d.ts +1 -1
  19. package/Avatar/Avatar.js +1 -1
  20. package/Avatar/avatarClasses.d.ts +20 -20
  21. package/AvatarGroup/AvatarGroup.d.ts +5 -0
  22. package/AvatarGroup/AvatarGroup.js +20 -5
  23. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  24. package/Backdrop/Backdrop.js +1 -1
  25. package/Badge/Badge.js +17 -4
  26. package/BottomNavigation/BottomNavigation.js +1 -1
  27. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  28. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  29. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  30. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  31. package/Breadcrumbs/Breadcrumbs.js +1 -1
  32. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  33. package/Button/Button.js +16 -35
  34. package/Button/buttonClasses.d.ts +76 -76
  35. package/ButtonBase/ButtonBase.d.ts +1 -1
  36. package/ButtonBase/ButtonBase.js +2 -2
  37. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  38. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  39. package/ButtonGroup/ButtonGroup.js +1 -1
  40. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  41. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  42. package/CHANGELOG.md +244 -1
  43. package/Card/Card.js +1 -1
  44. package/Card/cardClasses.d.ts +8 -8
  45. package/CardActionArea/CardActionArea.js +1 -1
  46. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  47. package/CardActions/CardActions.js +1 -1
  48. package/CardActions/cardActionsClasses.d.ts +10 -10
  49. package/CardContent/CardContent.js +1 -1
  50. package/CardContent/cardContentClasses.d.ts +8 -8
  51. package/CardHeader/CardHeader.js +1 -1
  52. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  53. package/CardMedia/CardMedia.js +1 -1
  54. package/CardMedia/cardMediaClasses.d.ts +12 -12
  55. package/Checkbox/Checkbox.js +1 -1
  56. package/Checkbox/checkboxClasses.d.ts +18 -18
  57. package/Chip/Chip.js +1 -1
  58. package/Chip/chipClasses.d.ts +80 -80
  59. package/CircularProgress/CircularProgress.js +1 -1
  60. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  61. package/ClickAwayListener/index.d.ts +2 -2
  62. package/Collapse/Collapse.d.ts +1 -1
  63. package/Collapse/Collapse.js +1 -1
  64. package/Collapse/collapseClasses.d.ts +18 -18
  65. package/Container/Container.js +1 -1
  66. package/Container/containerClasses.d.ts +22 -22
  67. package/CssBaseline/CssBaseline.d.ts +2 -2
  68. package/CssBaseline/CssBaseline.js +1 -1
  69. package/Dialog/Dialog.d.ts +1 -1
  70. package/Dialog/Dialog.js +2 -2
  71. package/Dialog/DialogContext.d.ts +6 -6
  72. package/Dialog/dialogClasses.d.ts +36 -36
  73. package/DialogActions/DialogActions.js +1 -1
  74. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  75. package/DialogContent/DialogContent.js +1 -1
  76. package/DialogContent/dialogContentClasses.d.ts +10 -10
  77. package/DialogContentText/DialogContentText.js +1 -1
  78. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  79. package/DialogTitle/DialogTitle.js +1 -1
  80. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  81. package/Divider/Divider.js +1 -1
  82. package/Divider/dividerClasses.d.ts +34 -34
  83. package/Drawer/Drawer.js +1 -1
  84. package/Drawer/drawerClasses.d.ts +30 -30
  85. package/Fab/Fab.js +1 -1
  86. package/Fab/fabClasses.d.ts +26 -26
  87. package/Fade/Fade.d.ts +1 -1
  88. package/FilledInput/FilledInput.js +1 -1
  89. package/FilledInput/filledInputClasses.d.ts +40 -40
  90. package/FormControl/FormControl.js +1 -1
  91. package/FormControl/formControlClasses.d.ts +14 -14
  92. package/FormControlLabel/FormControlLabel.js +1 -1
  93. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  94. package/FormGroup/FormGroup.js +1 -1
  95. package/FormGroup/formGroupClasses.d.ts +10 -10
  96. package/FormHelperText/FormHelperText.js +1 -1
  97. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  98. package/FormLabel/FormLabel.js +1 -1
  99. package/FormLabel/formLabelClasses.d.ts +22 -22
  100. package/GlobalStyles/GlobalStyles.d.ts +2 -1
  101. package/Grid/Grid.js +98 -69
  102. package/Grid/gridClasses.d.ts +48 -48
  103. package/Grow/Grow.d.ts +1 -1
  104. package/Icon/Icon.js +1 -1
  105. package/Icon/iconClasses.d.ts +24 -24
  106. package/IconButton/IconButton.js +1 -1
  107. package/IconButton/iconButtonClasses.d.ts +26 -26
  108. package/ImageList/ImageList.js +1 -1
  109. package/ImageList/imageListClasses.d.ts +16 -16
  110. package/ImageListItem/ImageListItem.js +1 -1
  111. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  112. package/ImageListItemBar/ImageListItemBar.js +1 -1
  113. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  114. package/Input/Input.js +1 -1
  115. package/Input/inputClasses.d.ts +34 -34
  116. package/InputAdornment/InputAdornment.js +1 -1
  117. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  118. package/InputBase/InputBase.d.ts +6 -0
  119. package/InputBase/InputBase.js +11 -3
  120. package/InputBase/inputBaseClasses.d.ts +44 -44
  121. package/InputLabel/InputLabel.js +1 -1
  122. package/InputLabel/inputLabelClasses.d.ts +32 -32
  123. package/LinearProgress/LinearProgress.js +1 -1
  124. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  125. package/Link/Link.js +1 -1
  126. package/Link/linkClasses.d.ts +18 -18
  127. package/List/List.d.ts +12 -2
  128. package/List/List.js +1 -1
  129. package/List/listClasses.d.ts +14 -14
  130. package/ListItem/ListItem.d.ts +1 -1
  131. package/ListItem/ListItem.js +1 -1
  132. package/ListItem/listItemClasses.d.ts +30 -30
  133. package/ListItemAvatar/ListItemAvatar.js +1 -1
  134. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  135. package/ListItemButton/ListItemButton.d.ts +1 -1
  136. package/ListItemButton/ListItemButton.js +2 -2
  137. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  138. package/ListItemIcon/ListItemIcon.js +1 -1
  139. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  140. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  141. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  142. package/ListItemText/ListItemText.js +1 -1
  143. package/ListItemText/listItemTextClasses.d.ts +18 -18
  144. package/ListSubheader/ListSubheader.js +1 -1
  145. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  146. package/Menu/Menu.d.ts +1 -1
  147. package/Menu/Menu.js +2 -2
  148. package/Menu/menuClasses.d.ts +12 -12
  149. package/MenuItem/MenuItem.d.ts +1 -1
  150. package/MenuItem/MenuItem.js +2 -2
  151. package/MenuItem/menuItemClasses.d.ts +20 -20
  152. package/MenuList/MenuList.d.ts +47 -36
  153. package/MobileStepper/MobileStepper.js +1 -1
  154. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  155. package/Modal/Modal.js +1 -1
  156. package/NativeSelect/NativeSelect.js +1 -1
  157. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  158. package/OutlinedInput/OutlinedInput.js +15 -2
  159. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  160. package/Pagination/Pagination.js +1 -1
  161. package/Pagination/paginationClasses.d.ts +14 -14
  162. package/PaginationItem/PaginationItem.js +1 -1
  163. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  164. package/Paper/Paper.js +1 -1
  165. package/Paper/paperClasses.d.ts +39 -39
  166. package/Popover/Popover.d.ts +1 -1
  167. package/Popover/Popover.js +2 -2
  168. package/Popover/popoverClasses.d.ts +10 -10
  169. package/Popper/Popper.d.ts +17 -17
  170. package/README.md +9 -7
  171. package/Radio/Radio.js +1 -1
  172. package/Radio/radioClasses.d.ts +16 -16
  173. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  174. package/RadioGroup/useRadioGroup.d.ts +4 -4
  175. package/Rating/Rating.js +1 -1
  176. package/Rating/ratingClasses.d.ts +40 -40
  177. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  178. package/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  179. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  180. package/Select/Select.js +1 -1
  181. package/Select/SelectInput.js +17 -1
  182. package/Select/selectClasses.d.ts +30 -30
  183. package/Skeleton/Skeleton.js +1 -1
  184. package/Skeleton/skeletonClasses.d.ts +24 -24
  185. package/Slide/Slide.d.ts +1 -1
  186. package/Slider/Slider.js +1 -1
  187. package/Snackbar/Snackbar.d.ts +5 -5
  188. package/Snackbar/Snackbar.js +62 -6
  189. package/Snackbar/snackbarClasses.d.ts +20 -20
  190. package/SnackbarContent/SnackbarContent.js +1 -1
  191. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  192. package/SpeedDial/SpeedDial.d.ts +1 -1
  193. package/SpeedDial/SpeedDial.js +2 -2
  194. package/SpeedDial/speedDialClasses.d.ts +22 -22
  195. package/SpeedDialAction/SpeedDialAction.js +1 -1
  196. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  197. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  198. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  199. package/Stack/Stack.js +1 -1
  200. package/Step/Step.js +1 -1
  201. package/Step/stepClasses.d.ts +16 -16
  202. package/StepButton/StepButton.js +1 -1
  203. package/StepButton/stepButtonClasses.d.ts +14 -14
  204. package/StepConnector/StepConnector.js +1 -1
  205. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  206. package/StepContent/StepContent.d.ts +1 -1
  207. package/StepContent/StepContent.js +2 -2
  208. package/StepContent/stepContentClasses.d.ts +12 -12
  209. package/StepIcon/StepIcon.js +1 -1
  210. package/StepIcon/stepIconClasses.d.ts +16 -16
  211. package/StepLabel/StepLabel.js +1 -1
  212. package/StepLabel/stepLabelClasses.d.ts +28 -28
  213. package/Stepper/Stepper.js +1 -1
  214. package/Stepper/stepperClasses.d.ts +14 -14
  215. package/SvgIcon/SvgIcon.js +1 -1
  216. package/SvgIcon/svgIconClasses.d.ts +24 -24
  217. package/Switch/Switch.js +1 -1
  218. package/Switch/switchClasses.d.ts +32 -32
  219. package/Tab/Tab.js +1 -1
  220. package/Tab/tabClasses.d.ts +26 -26
  221. package/TabScrollButton/TabScrollButton.js +1 -1
  222. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  223. package/Table/Table.js +1 -1
  224. package/Table/tableClasses.d.ts +10 -10
  225. package/TableBody/TableBody.js +1 -1
  226. package/TableBody/tableBodyClasses.d.ts +8 -8
  227. package/TableCell/TableCell.js +1 -1
  228. package/TableCell/tableCellClasses.d.ts +32 -32
  229. package/TableContainer/TableContainer.js +1 -1
  230. package/TableContainer/tableContainerClasses.d.ts +8 -8
  231. package/TableFooter/TableFooter.js +1 -1
  232. package/TableFooter/tableFooterClasses.d.ts +8 -8
  233. package/TableHead/TableHead.js +1 -1
  234. package/TableHead/tableHeadClasses.d.ts +8 -8
  235. package/TablePagination/TablePagination.js +1 -1
  236. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  237. package/TableRow/TableRow.js +1 -1
  238. package/TableRow/tableRowClasses.d.ts +16 -16
  239. package/TableSortLabel/TableSortLabel.js +1 -1
  240. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  241. package/Tabs/Tabs.js +1 -1
  242. package/Tabs/tabsClasses.d.ts +32 -32
  243. package/TextField/TextField.js +6 -12
  244. package/TextField/textFieldClasses.d.ts +8 -8
  245. package/ToggleButton/ToggleButton.js +1 -1
  246. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  247. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  248. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  249. package/Toolbar/Toolbar.js +1 -1
  250. package/Toolbar/toolbarClasses.d.ts +14 -14
  251. package/Tooltip/Tooltip.d.ts +1 -1
  252. package/Tooltip/Tooltip.js +2 -2
  253. package/Tooltip/tooltipClasses.d.ts +30 -30
  254. package/Typography/Typography.js +1 -1
  255. package/Typography/typographyClasses.d.ts +50 -50
  256. package/Zoom/Zoom.d.ts +1 -1
  257. package/darkScrollbar/index.d.ts +28 -28
  258. package/index.js +1 -1
  259. package/internal/switchBaseClasses.d.ts +12 -12
  260. package/legacy/Accordion/Accordion.js +2 -2
  261. package/legacy/AccordionActions/AccordionActions.js +1 -1
  262. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  263. package/legacy/AccordionSummary/AccordionSummary.js +2 -2
  264. package/legacy/Alert/Alert.js +1 -3
  265. package/legacy/AlertTitle/AlertTitle.js +1 -1
  266. package/legacy/AppBar/AppBar.js +1 -1
  267. package/legacy/Autocomplete/Autocomplete.js +1 -1
  268. package/legacy/Avatar/Avatar.js +1 -1
  269. package/legacy/AvatarGroup/AvatarGroup.js +19 -4
  270. package/legacy/Backdrop/Backdrop.js +1 -1
  271. package/legacy/Badge/Badge.js +19 -5
  272. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  273. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  274. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  275. package/legacy/Button/Button.js +23 -35
  276. package/legacy/ButtonBase/ButtonBase.js +2 -2
  277. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  278. package/legacy/Card/Card.js +1 -1
  279. package/legacy/CardActionArea/CardActionArea.js +1 -1
  280. package/legacy/CardActions/CardActions.js +1 -1
  281. package/legacy/CardContent/CardContent.js +1 -1
  282. package/legacy/CardHeader/CardHeader.js +1 -1
  283. package/legacy/CardMedia/CardMedia.js +1 -1
  284. package/legacy/Checkbox/Checkbox.js +1 -1
  285. package/legacy/Chip/Chip.js +1 -1
  286. package/legacy/CircularProgress/CircularProgress.js +1 -1
  287. package/legacy/Collapse/Collapse.js +1 -1
  288. package/legacy/Container/Container.js +1 -1
  289. package/legacy/CssBaseline/CssBaseline.js +1 -1
  290. package/legacy/Dialog/Dialog.js +2 -2
  291. package/legacy/DialogActions/DialogActions.js +1 -1
  292. package/legacy/DialogContent/DialogContent.js +1 -1
  293. package/legacy/DialogContentText/DialogContentText.js +1 -1
  294. package/legacy/DialogTitle/DialogTitle.js +1 -1
  295. package/legacy/Divider/Divider.js +1 -1
  296. package/legacy/Drawer/Drawer.js +1 -1
  297. package/legacy/Fab/Fab.js +1 -1
  298. package/legacy/FilledInput/FilledInput.js +1 -1
  299. package/legacy/FormControl/FormControl.js +1 -1
  300. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  301. package/legacy/FormGroup/FormGroup.js +1 -1
  302. package/legacy/FormHelperText/FormHelperText.js +1 -1
  303. package/legacy/FormLabel/FormLabel.js +1 -1
  304. package/legacy/Grid/Grid.js +109 -81
  305. package/legacy/Icon/Icon.js +1 -1
  306. package/legacy/IconButton/IconButton.js +1 -1
  307. package/legacy/ImageList/ImageList.js +1 -1
  308. package/legacy/ImageListItem/ImageListItem.js +1 -1
  309. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  310. package/legacy/Input/Input.js +1 -1
  311. package/legacy/InputAdornment/InputAdornment.js +1 -1
  312. package/legacy/InputBase/InputBase.js +11 -3
  313. package/legacy/InputLabel/InputLabel.js +1 -1
  314. package/legacy/LinearProgress/LinearProgress.js +1 -1
  315. package/legacy/Link/Link.js +1 -1
  316. package/legacy/List/List.js +1 -1
  317. package/legacy/ListItem/ListItem.js +1 -1
  318. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  319. package/legacy/ListItemButton/ListItemButton.js +2 -2
  320. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  321. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  322. package/legacy/ListItemText/ListItemText.js +1 -1
  323. package/legacy/ListSubheader/ListSubheader.js +1 -1
  324. package/legacy/Menu/Menu.js +2 -2
  325. package/legacy/MenuItem/MenuItem.js +2 -2
  326. package/legacy/MobileStepper/MobileStepper.js +1 -1
  327. package/legacy/Modal/Modal.js +1 -1
  328. package/legacy/NativeSelect/NativeSelect.js +1 -1
  329. package/legacy/OutlinedInput/OutlinedInput.js +15 -2
  330. package/legacy/Pagination/Pagination.js +1 -1
  331. package/legacy/PaginationItem/PaginationItem.js +1 -1
  332. package/legacy/Paper/Paper.js +1 -1
  333. package/legacy/Popover/Popover.js +2 -2
  334. package/legacy/Radio/Radio.js +1 -1
  335. package/legacy/Rating/Rating.js +1 -1
  336. package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  337. package/legacy/Select/Select.js +1 -1
  338. package/legacy/Select/SelectInput.js +17 -1
  339. package/legacy/Skeleton/Skeleton.js +1 -1
  340. package/legacy/Slider/Slider.js +1 -1
  341. package/legacy/Snackbar/Snackbar.js +62 -6
  342. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  343. package/legacy/SpeedDial/SpeedDial.js +2 -2
  344. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  345. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  346. package/legacy/Stack/Stack.js +1 -1
  347. package/legacy/Step/Step.js +1 -1
  348. package/legacy/StepButton/StepButton.js +1 -1
  349. package/legacy/StepConnector/StepConnector.js +1 -1
  350. package/legacy/StepContent/StepContent.js +2 -2
  351. package/legacy/StepIcon/StepIcon.js +1 -1
  352. package/legacy/StepLabel/StepLabel.js +1 -1
  353. package/legacy/Stepper/Stepper.js +1 -1
  354. package/legacy/SvgIcon/SvgIcon.js +1 -1
  355. package/legacy/Switch/Switch.js +1 -1
  356. package/legacy/Tab/Tab.js +1 -1
  357. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  358. package/legacy/Table/Table.js +1 -1
  359. package/legacy/TableBody/TableBody.js +1 -1
  360. package/legacy/TableCell/TableCell.js +1 -1
  361. package/legacy/TableContainer/TableContainer.js +1 -1
  362. package/legacy/TableFooter/TableFooter.js +1 -1
  363. package/legacy/TableHead/TableHead.js +1 -1
  364. package/legacy/TablePagination/TablePagination.js +1 -1
  365. package/legacy/TableRow/TableRow.js +1 -1
  366. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  367. package/legacy/Tabs/Tabs.js +1 -1
  368. package/legacy/TextField/TextField.js +6 -12
  369. package/legacy/ToggleButton/ToggleButton.js +1 -1
  370. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  371. package/legacy/Toolbar/Toolbar.js +1 -1
  372. package/legacy/Tooltip/Tooltip.js +2 -2
  373. package/legacy/Typography/Typography.js +1 -1
  374. package/legacy/index.js +1 -1
  375. package/legacy/styles/adaptV4Theme.js +1 -1
  376. package/legacy/styles/index.js +1 -1
  377. package/legacy/styles/responsiveFontSizes.js +1 -1
  378. package/legacy/useMediaQuery/useMediaQuery.js +31 -83
  379. package/locale/index.d.ts +66 -66
  380. package/modern/Accordion/Accordion.js +2 -2
  381. package/modern/AccordionActions/AccordionActions.js +1 -1
  382. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  383. package/modern/AccordionSummary/AccordionSummary.js +2 -2
  384. package/modern/Alert/Alert.js +1 -3
  385. package/modern/AlertTitle/AlertTitle.js +1 -1
  386. package/modern/AppBar/AppBar.js +1 -1
  387. package/modern/Autocomplete/Autocomplete.js +1 -1
  388. package/modern/Avatar/Avatar.js +1 -1
  389. package/modern/AvatarGroup/AvatarGroup.js +20 -5
  390. package/modern/Backdrop/Backdrop.js +1 -1
  391. package/modern/Badge/Badge.js +17 -4
  392. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  393. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  394. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  395. package/modern/Button/Button.js +16 -35
  396. package/modern/ButtonBase/ButtonBase.js +2 -2
  397. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  398. package/modern/Card/Card.js +1 -1
  399. package/modern/CardActionArea/CardActionArea.js +1 -1
  400. package/modern/CardActions/CardActions.js +1 -1
  401. package/modern/CardContent/CardContent.js +1 -1
  402. package/modern/CardHeader/CardHeader.js +1 -1
  403. package/modern/CardMedia/CardMedia.js +1 -1
  404. package/modern/Checkbox/Checkbox.js +1 -1
  405. package/modern/Chip/Chip.js +1 -1
  406. package/modern/CircularProgress/CircularProgress.js +1 -1
  407. package/modern/Collapse/Collapse.js +1 -1
  408. package/modern/Container/Container.js +1 -1
  409. package/modern/CssBaseline/CssBaseline.js +1 -1
  410. package/modern/Dialog/Dialog.js +2 -2
  411. package/modern/DialogActions/DialogActions.js +1 -1
  412. package/modern/DialogContent/DialogContent.js +1 -1
  413. package/modern/DialogContentText/DialogContentText.js +1 -1
  414. package/modern/DialogTitle/DialogTitle.js +1 -1
  415. package/modern/Divider/Divider.js +1 -1
  416. package/modern/Drawer/Drawer.js +1 -1
  417. package/modern/Fab/Fab.js +1 -1
  418. package/modern/FilledInput/FilledInput.js +1 -1
  419. package/modern/FormControl/FormControl.js +1 -1
  420. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  421. package/modern/FormGroup/FormGroup.js +1 -1
  422. package/modern/FormHelperText/FormHelperText.js +1 -1
  423. package/modern/FormLabel/FormLabel.js +1 -1
  424. package/modern/Grid/Grid.js +98 -69
  425. package/modern/Icon/Icon.js +1 -1
  426. package/modern/IconButton/IconButton.js +1 -1
  427. package/modern/ImageList/ImageList.js +1 -1
  428. package/modern/ImageListItem/ImageListItem.js +1 -1
  429. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  430. package/modern/Input/Input.js +1 -1
  431. package/modern/InputAdornment/InputAdornment.js +1 -1
  432. package/modern/InputBase/InputBase.js +11 -3
  433. package/modern/InputLabel/InputLabel.js +1 -1
  434. package/modern/LinearProgress/LinearProgress.js +1 -1
  435. package/modern/Link/Link.js +1 -1
  436. package/modern/List/List.js +1 -1
  437. package/modern/ListItem/ListItem.js +1 -1
  438. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  439. package/modern/ListItemButton/ListItemButton.js +2 -2
  440. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  441. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  442. package/modern/ListItemText/ListItemText.js +1 -1
  443. package/modern/ListSubheader/ListSubheader.js +1 -1
  444. package/modern/Menu/Menu.js +2 -2
  445. package/modern/MenuItem/MenuItem.js +2 -2
  446. package/modern/MobileStepper/MobileStepper.js +1 -1
  447. package/modern/Modal/Modal.js +1 -1
  448. package/modern/NativeSelect/NativeSelect.js +1 -1
  449. package/modern/OutlinedInput/OutlinedInput.js +15 -2
  450. package/modern/Pagination/Pagination.js +1 -1
  451. package/modern/PaginationItem/PaginationItem.js +1 -1
  452. package/modern/Paper/Paper.js +1 -1
  453. package/modern/Popover/Popover.js +2 -2
  454. package/modern/Radio/Radio.js +1 -1
  455. package/modern/Rating/Rating.js +1 -1
  456. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  457. package/modern/Select/Select.js +1 -1
  458. package/modern/Select/SelectInput.js +17 -1
  459. package/modern/Skeleton/Skeleton.js +1 -1
  460. package/modern/Slider/Slider.js +1 -1
  461. package/modern/Snackbar/Snackbar.js +62 -6
  462. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  463. package/modern/SpeedDial/SpeedDial.js +2 -2
  464. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  465. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  466. package/modern/Stack/Stack.js +1 -1
  467. package/modern/Step/Step.js +1 -1
  468. package/modern/StepButton/StepButton.js +1 -1
  469. package/modern/StepConnector/StepConnector.js +1 -1
  470. package/modern/StepContent/StepContent.js +2 -2
  471. package/modern/StepIcon/StepIcon.js +1 -1
  472. package/modern/StepLabel/StepLabel.js +1 -1
  473. package/modern/Stepper/Stepper.js +1 -1
  474. package/modern/SvgIcon/SvgIcon.js +1 -1
  475. package/modern/Switch/Switch.js +1 -1
  476. package/modern/Tab/Tab.js +1 -1
  477. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  478. package/modern/Table/Table.js +1 -1
  479. package/modern/TableBody/TableBody.js +1 -1
  480. package/modern/TableCell/TableCell.js +1 -1
  481. package/modern/TableContainer/TableContainer.js +1 -1
  482. package/modern/TableFooter/TableFooter.js +1 -1
  483. package/modern/TableHead/TableHead.js +1 -1
  484. package/modern/TablePagination/TablePagination.js +1 -1
  485. package/modern/TableRow/TableRow.js +1 -1
  486. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  487. package/modern/Tabs/Tabs.js +1 -1
  488. package/modern/TextField/TextField.js +6 -10
  489. package/modern/ToggleButton/ToggleButton.js +1 -1
  490. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  491. package/modern/Toolbar/Toolbar.js +1 -1
  492. package/modern/Tooltip/Tooltip.js +2 -2
  493. package/modern/Typography/Typography.js +1 -1
  494. package/modern/index.js +1 -1
  495. package/modern/styles/adaptV4Theme.js +1 -1
  496. package/modern/styles/index.js +1 -1
  497. package/modern/styles/responsiveFontSizes.js +1 -1
  498. package/modern/useMediaQuery/useMediaQuery.js +26 -65
  499. package/node/Accordion/Accordion.js +2 -2
  500. package/node/AccordionActions/AccordionActions.js +1 -1
  501. package/node/AccordionDetails/AccordionDetails.js +1 -1
  502. package/node/AccordionSummary/AccordionSummary.js +2 -2
  503. package/node/Alert/Alert.js +1 -3
  504. package/node/AlertTitle/AlertTitle.js +1 -1
  505. package/node/AppBar/AppBar.js +1 -1
  506. package/node/Autocomplete/Autocomplete.js +1 -1
  507. package/node/Avatar/Avatar.js +1 -1
  508. package/node/AvatarGroup/AvatarGroup.js +20 -5
  509. package/node/Backdrop/Backdrop.js +1 -1
  510. package/node/Badge/Badge.js +17 -4
  511. package/node/BottomNavigation/BottomNavigation.js +1 -1
  512. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  513. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  514. package/node/Button/Button.js +17 -34
  515. package/node/ButtonBase/ButtonBase.js +2 -2
  516. package/node/ButtonGroup/ButtonGroup.js +1 -1
  517. package/node/Card/Card.js +1 -1
  518. package/node/CardActionArea/CardActionArea.js +1 -1
  519. package/node/CardActions/CardActions.js +1 -1
  520. package/node/CardContent/CardContent.js +1 -1
  521. package/node/CardHeader/CardHeader.js +1 -1
  522. package/node/CardMedia/CardMedia.js +1 -1
  523. package/node/Checkbox/Checkbox.js +1 -1
  524. package/node/Chip/Chip.js +1 -1
  525. package/node/CircularProgress/CircularProgress.js +1 -1
  526. package/node/Collapse/Collapse.js +1 -1
  527. package/node/Container/Container.js +1 -1
  528. package/node/CssBaseline/CssBaseline.js +1 -1
  529. package/node/Dialog/Dialog.js +2 -2
  530. package/node/DialogActions/DialogActions.js +1 -1
  531. package/node/DialogContent/DialogContent.js +1 -1
  532. package/node/DialogContentText/DialogContentText.js +1 -1
  533. package/node/DialogTitle/DialogTitle.js +1 -1
  534. package/node/Divider/Divider.js +1 -1
  535. package/node/Drawer/Drawer.js +1 -1
  536. package/node/Fab/Fab.js +1 -1
  537. package/node/FilledInput/FilledInput.js +1 -1
  538. package/node/FormControl/FormControl.js +1 -1
  539. package/node/FormControlLabel/FormControlLabel.js +1 -1
  540. package/node/FormGroup/FormGroup.js +1 -1
  541. package/node/FormHelperText/FormHelperText.js +1 -1
  542. package/node/FormLabel/FormLabel.js +1 -1
  543. package/node/Grid/Grid.js +101 -68
  544. package/node/Icon/Icon.js +1 -1
  545. package/node/IconButton/IconButton.js +1 -1
  546. package/node/ImageList/ImageList.js +1 -1
  547. package/node/ImageListItem/ImageListItem.js +1 -1
  548. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  549. package/node/Input/Input.js +1 -1
  550. package/node/InputAdornment/InputAdornment.js +1 -1
  551. package/node/InputBase/InputBase.js +11 -3
  552. package/node/InputLabel/InputLabel.js +1 -1
  553. package/node/LinearProgress/LinearProgress.js +1 -1
  554. package/node/Link/Link.js +1 -1
  555. package/node/List/List.js +1 -1
  556. package/node/ListItem/ListItem.js +1 -1
  557. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  558. package/node/ListItemButton/ListItemButton.js +2 -2
  559. package/node/ListItemIcon/ListItemIcon.js +1 -1
  560. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  561. package/node/ListItemText/ListItemText.js +1 -1
  562. package/node/ListSubheader/ListSubheader.js +1 -1
  563. package/node/Menu/Menu.js +2 -2
  564. package/node/MenuItem/MenuItem.js +2 -2
  565. package/node/MobileStepper/MobileStepper.js +1 -1
  566. package/node/Modal/Modal.js +1 -1
  567. package/node/NativeSelect/NativeSelect.js +1 -1
  568. package/node/OutlinedInput/OutlinedInput.js +16 -2
  569. package/node/Pagination/Pagination.js +1 -1
  570. package/node/PaginationItem/PaginationItem.js +1 -1
  571. package/node/Paper/Paper.js +1 -1
  572. package/node/Popover/Popover.js +2 -2
  573. package/node/Radio/Radio.js +1 -1
  574. package/node/Rating/Rating.js +1 -1
  575. package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  576. package/node/Select/Select.js +1 -1
  577. package/node/Select/SelectInput.js +17 -1
  578. package/node/Skeleton/Skeleton.js +1 -1
  579. package/node/Slider/Slider.js +1 -1
  580. package/node/Snackbar/Snackbar.js +62 -6
  581. package/node/SnackbarContent/SnackbarContent.js +1 -1
  582. package/node/SpeedDial/SpeedDial.js +2 -2
  583. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  584. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  585. package/node/Stack/Stack.js +1 -1
  586. package/node/Step/Step.js +1 -1
  587. package/node/StepButton/StepButton.js +1 -1
  588. package/node/StepConnector/StepConnector.js +1 -1
  589. package/node/StepContent/StepContent.js +2 -2
  590. package/node/StepIcon/StepIcon.js +1 -1
  591. package/node/StepLabel/StepLabel.js +1 -1
  592. package/node/Stepper/Stepper.js +1 -1
  593. package/node/SvgIcon/SvgIcon.js +1 -1
  594. package/node/Switch/Switch.js +1 -1
  595. package/node/Tab/Tab.js +1 -1
  596. package/node/TabScrollButton/TabScrollButton.js +1 -1
  597. package/node/Table/Table.js +1 -1
  598. package/node/TableBody/TableBody.js +1 -1
  599. package/node/TableCell/TableCell.js +1 -1
  600. package/node/TableContainer/TableContainer.js +1 -1
  601. package/node/TableFooter/TableFooter.js +1 -1
  602. package/node/TableHead/TableHead.js +1 -1
  603. package/node/TablePagination/TablePagination.js +1 -1
  604. package/node/TableRow/TableRow.js +1 -1
  605. package/node/TableSortLabel/TableSortLabel.js +1 -1
  606. package/node/Tabs/Tabs.js +1 -1
  607. package/node/TextField/TextField.js +4 -10
  608. package/node/ToggleButton/ToggleButton.js +1 -1
  609. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  610. package/node/Toolbar/Toolbar.js +1 -1
  611. package/node/Tooltip/Tooltip.js +2 -2
  612. package/node/Typography/Typography.js +1 -1
  613. package/node/index.js +1 -1
  614. package/node/styles/adaptV4Theme.js +1 -1
  615. package/node/styles/index.js +6 -0
  616. package/node/styles/responsiveFontSizes.js +1 -1
  617. package/node/useMediaQuery/useMediaQuery.js +26 -65
  618. package/package.json +5 -5
  619. package/styles/adaptV4Theme.js +1 -1
  620. package/styles/createTheme.d.ts +1 -1
  621. package/styles/cssUtils.d.ts +32 -0
  622. package/styles/index.d.ts +4 -1
  623. package/styles/index.js +1 -1
  624. package/styles/responsiveFontSizes.js +1 -1
  625. package/transitions/index.d.ts +1 -1
  626. package/transitions/transition.d.ts +13 -14
  627. package/transitions/utils.d.ts +23 -23
  628. package/umd/material-ui.development.js +1116 -1032
  629. package/umd/material-ui.production.min.js +21 -21
  630. package/useMediaQuery/useMediaQuery.d.ts +27 -31
  631. package/useMediaQuery/useMediaQuery.js +26 -65
  632. package/useTouchRipple/index.d.ts +1 -1
  633. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  634. package/utils/getScrollbarSize.d.ts +2 -2
  635. package/utils/ownerDocument.d.ts +2 -2
  636. package/utils/ownerWindow.d.ts +2 -2
  637. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.0
1
+ /** @license MUI v5.2.4
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
@@ -661,7 +661,7 @@
661
661
  return StyleSheet;
662
662
  }();
663
663
 
664
- var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function g(e){return e.trim()}function x$1(e,r){return (e=r.exec(e))?e[0]:e}function y(e,r,a){return e.replace(r,a)}function j(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function C(e,r,a){return e.slice(r,a)}function A(e){return e.length}function M(e){return e.length}function O(e,r){return r.push(e),e}function S(e,r){return e.map(r).join("")}var q=1;var B=1;var D=0;var E=0;var F=0;var G="";function H(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:q,column:B,length:s,return:""}}function I(e,r,a){return H(e,r.root,r.parent,a,r.props,r.children,0)}function J(){return F}function K(){F=E>0?z(G,--E):0;if(B--,F===10)B=1,q--;return F}function L(){F=E<D?z(G,E++):0;if(B++,F===10)B=1,q++;return F}function N(){return z(G,E)}function P(){return E}function Q(e,r){return C(G,e,r)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T(e){return q=B=1,D=A(G=e),E=0,[]}function U(e){return G="",e}function V(e){return g(Q(E-1,_$4(e===91?e+2:e===40?e+1:e)))}function X(e){while(F=N())if(F<33)L();else break;return R(e)>2||R(F)>3?"":" "}function Z(e,r){while(--r&&L())if(F<48||F>102||F>57&&F<65||F>70&&F<97)break;return Q(e,P()+(r<6&&N()==32&&L()==32))}function _$4(e){while(L())switch(F){case e:return E;case 34:case 39:return _$4(e===34||e===39?e:F);case 40:if(e===41)_$4(e);break;case 92:L();break}return E}function ee(e,r){while(L())if(e+F===47+10)break;else if(e+F===42+42&&N()===47)break;return "/*"+Q(r,E-1)+"*"+d(e===47?e:L())}function re(e){while(!R(N()))L();return Q(e,E)}function ae(e){return U(ce("",null,null,null,[""],e=T(e),0,[0],e))}function ce(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var m="";var g=n;var x=t;var j=c;var z=m;while(w)switch(p=k,k=L()){case 34:case 39:case 91:case 40:z+=V(k);break;case 9:case 10:case 13:case 32:z+=X(p);break;case 92:z+=Z(P()-1,7);continue;case 47:switch(N()){case 42:case 47:O(te(ee(L(),P()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=A(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&A(z)-l)O(h>32?se(z+";",c,a,l-1):se(y(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:O(j=ne(z,r,a,f,o,n,u,m,g=[],x=[],l),t);if(k===123)if(o===0)ce(z,r,j,j,g,t,l,u,x);else switch(v){case 100:case 109:case 115:ce(e,j,j,c&&O(ne(e,j,j,0,0,n,u,m,n,g=[],l),x),n,x,l,u,c?g:x);break;default:ce(z,j,j,j,[""],x,l,u,x);}}f=o=h=0,b=$=1,m=z="",l=s;break;case 58:l=1+A(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&K()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(A(z)-1)*$,$=1;break;case 64:if(N()===45)z+=V(L());v=N(),o=A(m=z+=re(P())),k++;break;case 45:if(p===45&&A(z)==2)b=0;}}return t}function ne(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,m=C(e,v+1,v=k(w=u[b])),x=e;d<p;++d)if(x=g(w>0?h[d]+" "+m:y(m,/&\f/g,h[d])))f[$++]=x;return H(e,r,a,t===0?n:i,f,o,l)}function te(e,r,a){return H(e,r,a,c,d(J()),C(e,2,-2),0)}function se(e,r,a,c){return H(e,r,a,t,C(e,0,c),C(e,c+1,-1),c)}function ue(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+y(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+y(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+y(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+y(c,"shrink","negative")+c;case 5292:return a+c+e+y(c,"basis","preferred-size")+c;case 6060:return a+"box-"+y(c,"-grow","")+a+c+e+y(c,"grow","positive")+c;case 4554:return a+y(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return y(y(y(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return y(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return y(y(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return y(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return y(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~j(c,"stretch")?ue(y(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,A(c)-3-(~j(c,"!important")&&10))){case 107:return y(c,":",":"+a)+c;case 101:return y(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+y(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function ie(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function fe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case n:e.value=e.props.join(",");}return A(a=ie(e.children,s))?e.return=e.value+"{"+a+"}":""}function oe(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function ve(c,s,u,i){if(!c.return)switch(c.type){case t:c.return=ue(c.value,c.length);break;case p:return ie([I(y(c.value,"@","@"+a),c,"")],i);case n:if(c.length)return S(c.props,(function(n){switch(x$1(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ie([I(y(n,/:(read-\w+)/,":"+r+"$1"),c,"")],i);case"::placeholder":return ie([I(y(n,/:(plac\w+)/,":"+a+"input-$1"),c,""),I(y(n,/:(plac\w+)/,":"+r+"$1"),c,""),I(y(n,/:(plac\w+)/,e+"input-$1"),c,"")],i)}return ""}))}}
664
+ var e="-ms-";var r="-moz-";var a="-webkit-";var c="comm";var n="rule";var t="decl";var i="@import";var p="@keyframes";var k=Math.abs;var d=String.fromCharCode;var g=Object.assign;function m(e,r){return (((r<<2^z(e,0))<<2^z(e,1))<<2^z(e,2))<<2^z(e,3)}function x$1(e){return e.trim()}function y(e,r){return (e=r.exec(e))?e[0]:e}function j(e,r,a){return e.replace(r,a)}function C(e,r){return e.indexOf(r)}function z(e,r){return e.charCodeAt(r)|0}function A(e,r,a){return e.slice(r,a)}function O(e){return e.length}function M(e){return e.length}function S(e,r){return r.push(e),e}function q(e,r){return e.map(r).join("")}var B=1;var D=1;var E=0;var F=0;var G=0;var H="";function I(e,r,a,c,n,t,s){return {value:e,root:r,parent:a,type:c,props:n,children:t,line:B,column:D,length:s,return:""}}function J(e,r){return g(I("",null,null,"",null,null,0),e,{length:-e.length},r)}function K(){return G}function L(){G=F>0?z(H,--F):0;if(D--,G===10)D=1,B--;return G}function N(){G=F<E?z(H,F++):0;if(D++,G===10)D=1,B++;return G}function P(){return z(H,F)}function Q(){return F}function R(e,r){return A(H,e,r)}function T(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(e){return B=D=1,E=O(H=e),F=0,[]}function V(e){return H="",e}function W(e){return x$1(R(F-1,ee(e===91?e+2:e===40?e+1:e)))}function Y(e){while(G=P())if(G<33)N();else break;return T(e)>2||T(G)>3?"":" "}function _$4(e,r){while(--r&&N())if(G<48||G>102||G>57&&G<65||G>70&&G<97)break;return R(e,Q()+(r<6&&P()==32&&N()==32))}function ee(e){while(N())switch(G){case e:return F;case 34:case 39:if(e!==34&&e!==39)ee(G);break;case 40:if(e===41)ee(e);break;case 92:N();break}return F}function re(e,r){while(N())if(e+G===47+10)break;else if(e+G===42+42&&P()===47)break;return "/*"+R(r,F-1)+"*"+d(e===47?e:N())}function ae(e){while(!T(P()))N();return R(e,F)}function ce(e){return V(ne("",null,null,null,[""],e=U(e),0,[0],e))}function ne(e,r,a,c,n,t,s,u,i){var f=0;var o=0;var l=s;var v=0;var h=0;var p=0;var b=1;var w=1;var $=1;var k=0;var g="";var m=n;var x=t;var y=c;var z=g;while(w)switch(p=k,k=N()){case 40:if(p!=108&&z.charCodeAt(l-1)==58){if(C(z+=j(W(k),"&","&\f"),"&\f")!=-1)$=-1;break}case 34:case 39:case 91:z+=W(k);break;case 9:case 10:case 13:case 32:z+=Y(p);break;case 92:z+=_$4(Q()-1,7);continue;case 47:switch(P()){case 42:case 47:S(se(re(N(),Q()),r,a),i);break;default:z+="/";}break;case 123*b:u[f++]=O(z)*$;case 125*b:case 59:case 0:switch(k){case 0:case 125:w=0;case 59+o:if(h>0&&O(z)-l)S(h>32?ue(z+";",c,a,l-1):ue(j(z," ","")+";",c,a,l-2),i);break;case 59:z+=";";default:S(y=te(z,r,a,f,o,n,u,g,m=[],x=[],l),t);if(k===123)if(o===0)ne(z,r,y,y,m,t,l,u,x);else switch(v){case 100:case 109:case 115:ne(e,y,y,c&&S(te(e,y,y,0,0,n,u,g,n,m=[],l),x),n,x,l,u,c?m:x);break;default:ne(z,y,y,y,[""],x,0,u,x);}}f=o=h=0,b=$=1,g=z="",l=s;break;case 58:l=1+O(z),h=p;default:if(b<1)if(k==123)--b;else if(k==125&&b++==0&&L()==125)continue;switch(z+=d(k),k*b){case 38:$=o>0?1:(z+="\f",-1);break;case 44:u[f++]=(O(z)-1)*$,$=1;break;case 64:if(P()===45)z+=W(N());v=P(),o=l=O(g=z+=ae(Q())),k++;break;case 45:if(p===45&&O(z)==2)b=0;}}return t}function te(e,r,a,c,t,s,u,i,f,o,l){var v=t-1;var h=t===0?s:[""];var p=M(h);for(var b=0,w=0,$=0;b<c;++b)for(var d=0,g=A(e,v+1,v=k(w=u[b])),m=e;d<p;++d)if(m=x$1(w>0?h[d]+" "+g:j(g,/&\f/g,h[d])))f[$++]=m;return I(e,r,a,t===0?n:i,f,o,l)}function se(e,r,a){return I(e,r,a,c,d(K()),A(e,2,-2),0)}function ue(e,r,a,c){return I(e,r,a,t,A(e,0,c),A(e,c+1,-1),c)}function ie(c,n){switch(m(c,n)){case 5103:return a+"print-"+c+c;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+c+c;case 5349:case 4246:case 4810:case 6968:case 2756:return a+c+r+c+e+c+c;case 6828:case 4268:return a+c+e+c+c;case 6165:return a+c+e+"flex-"+c+c;case 5187:return a+c+j(c,/(\w+).+(:[^]+)/,a+"box-$1$2"+e+"flex-$1$2")+c;case 5443:return a+c+e+"flex-item-"+j(c,/flex-|-self/,"")+c;case 4675:return a+c+e+"flex-line-pack"+j(c,/align-content|flex-|-self/,"")+c;case 5548:return a+c+e+j(c,"shrink","negative")+c;case 5292:return a+c+e+j(c,"basis","preferred-size")+c;case 6060:return a+"box-"+j(c,"-grow","")+a+c+e+j(c,"grow","positive")+c;case 4554:return a+j(c,/([^-])(transform)/g,"$1"+a+"$2")+c;case 6187:return j(j(j(c,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),c,"")+c;case 5495:case 3959:return j(c,/(image-set\([^]*)/,a+"$1"+"$`$1");case 4968:return j(j(c,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+e+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+c+c;case 4095:case 3583:case 4068:case 2532:return j(c,/(.+)-inline(.+)/,a+"$1$2")+c;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(c)-1-n>6)switch(z(c,n+1)){case 109:if(z(c,n+4)!==45)break;case 102:return j(c,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3"+"$1"+r+(z(c,n+3)==108?"$3":"$2-$3"))+c;case 115:return ~C(c,"stretch")?ie(j(c,"stretch","fill-available"),n)+c:c}break;case 4949:if(z(c,n+1)!==115)break;case 6444:switch(z(c,O(c)-3-(~C(c,"!important")&&10))){case 107:return j(c,":",":"+a)+c;case 101:return j(c,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(z(c,14)===45?"inline-":"")+"box$3"+"$1"+a+"$2$3"+"$1"+e+"$2box$3")+c}break;case 5936:switch(z(c,n+11)){case 114:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb")+c;case 108:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"tb-rl")+c;case 45:return a+c+e+j(c,/[svh]\w+-[tblr]{2}/,"lr")+c}return a+c+e+c+c}return c}function fe(e,r){var a="";var c=M(e);for(var n=0;n<c;n++)a+=r(e[n],n,e,r)||"";return a}function oe(e,r,a,s){switch(e.type){case i:case t:return e.return=e.return||e.value;case c:return "";case p:return e.return=e.value+"{"+fe(e.children,s)+"}";case n:e.value=e.props.join(",");}return O(a=fe(e.children,s))?e.return=e.value+"{"+a+"}":""}function le(e){var r=M(e);return function(a,c,n,t){var s="";for(var u=0;u<r;u++)s+=e[u](a,c,n,t)||"";return s}}function he(c,s,u,i){if(c.length>-1)if(!c.return)switch(c.type){case t:c.return=ie(c.value,c.length);break;case p:return fe([J(c,{value:j(c.value,"@","@"+a)})],i);case n:if(c.length)return q(c.props,(function(n){switch(y(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fe([J(c,{props:[j(n,/:(read-\w+)/,":"+r+"$1")]})],i);case"::placeholder":return fe([J(c,{props:[j(n,/:(plac\w+)/,":"+a+"input-$1")]}),J(c,{props:[j(n,/:(plac\w+)/,":"+r+"$1")]}),J(c,{props:[j(n,/:(plac\w+)/,e+"input-$1")]})],i)}return ""}))}}
665
665
 
666
666
  var weakMemoize = function weakMemoize(func) {
667
667
  // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps
@@ -689,20 +689,20 @@
689
689
 
690
690
  while (true) {
691
691
  previous = character;
692
- character = N(); // &\f
692
+ character = P(); // &\f
693
693
 
694
694
  if (previous === 38 && character === 12) {
695
695
  points[index] = 1;
696
696
  }
697
697
 
698
- if (R(character)) {
698
+ if (T(character)) {
699
699
  break;
700
700
  }
701
701
 
702
- L();
702
+ N();
703
703
  }
704
704
 
705
- return Q(begin, E);
705
+ return R(begin, F);
706
706
  };
707
707
 
708
708
  var toRules = function toRules(parsed, points) {
@@ -711,10 +711,10 @@
711
711
  var character = 44;
712
712
 
713
713
  do {
714
- switch (R(character)) {
714
+ switch (T(character)) {
715
715
  case 0:
716
716
  // &\f
717
- if (character === 38 && N() === 12) {
717
+ if (character === 38 && P() === 12) {
718
718
  // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
719
719
  // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
720
720
  // and when it should just concatenate the outer and inner selectors
@@ -722,18 +722,18 @@
722
722
  points[index] = 1;
723
723
  }
724
724
 
725
- parsed[index] += identifierWithPointTracking(E - 1, points, index);
725
+ parsed[index] += identifierWithPointTracking(F - 1, points, index);
726
726
  break;
727
727
 
728
728
  case 2:
729
- parsed[index] += V(character);
729
+ parsed[index] += W(character);
730
730
  break;
731
731
 
732
732
  case 4:
733
733
  // comma
734
734
  if (character === 44) {
735
735
  // colon
736
- parsed[++index] = N() === 58 ? '&\f' : '';
736
+ parsed[++index] = P() === 58 ? '&\f' : '';
737
737
  points[index] = parsed[index].length;
738
738
  break;
739
739
  }
@@ -743,13 +743,13 @@
743
743
  default:
744
744
  parsed[index] += d(character);
745
745
  }
746
- } while (character = L());
746
+ } while (character = N());
747
747
 
748
748
  return parsed;
749
749
  };
750
750
 
751
751
  var getRules = function getRules(value, points) {
752
- return U(toRules(T(value), points));
752
+ return V(toRules(U(value), points));
753
753
  }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
754
754
 
755
755
 
@@ -879,7 +879,7 @@
879
879
  };
880
880
  });
881
881
  });
882
- var defaultStylisPlugins = [ve];
882
+ var defaultStylisPlugins = [he];
883
883
 
884
884
  var createCache = function createCache(options) {
885
885
  var key = options.key;
@@ -955,7 +955,7 @@
955
955
 
956
956
  if (isBrowser$4) {
957
957
  var currentSheet;
958
- var finalizingPlugins = [fe, function (element) {
958
+ var finalizingPlugins = [oe, function (element) {
959
959
  if (!element.root) {
960
960
  if (element["return"]) {
961
961
  currentSheet.insert(element["return"]);
@@ -966,10 +966,10 @@
966
966
  }
967
967
  }
968
968
  } ];
969
- var serializer = oe(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
969
+ var serializer = le(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
970
970
 
971
971
  var stylis = function stylis(styles) {
972
- return ie(ae(styles), serializer);
972
+ return fe(ce(styles), serializer);
973
973
  };
974
974
 
975
975
  _insert = function insert(selector, serialized, sheet, shouldCache) {
@@ -990,12 +990,12 @@
990
990
  }
991
991
  };
992
992
  } else {
993
- var _finalizingPlugins = [fe];
993
+ var _finalizingPlugins = [oe];
994
994
 
995
- var _serializer = oe(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
995
+ var _serializer = le(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
996
996
 
997
997
  var _stylis = function _stylis(styles) {
998
- return ie(ae(styles), _serializer);
998
+ return fe(ce(styles), _serializer);
999
999
  }; // $FlowFixMe
1000
1000
 
1001
1001
 
@@ -2008,7 +2008,7 @@
2008
2008
 
2009
2009
  var pkg = {
2010
2010
  name: "@emotion/react",
2011
- version: "11.6.0",
2011
+ version: "11.7.0",
2012
2012
  main: "dist/emotion-react.cjs.js",
2013
2013
  module: "dist/emotion-react.esm.js",
2014
2014
  browser: {
@@ -4998,37 +4998,22 @@
4998
4998
  const useEnhancedEffect = typeof window !== 'undefined' ? React__namespace.useLayoutEffect : React__namespace.useEffect;
4999
4999
  var useEnhancedEffect$1 = useEnhancedEffect;
5000
5000
 
5001
- function useRandomId(idOverride) {
5001
+ let globalId = 0;
5002
+ function useId(idOverride) {
5002
5003
  const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
5003
5004
  const id = idOverride || defaultId;
5004
5005
  React__namespace.useEffect(() => {
5005
5006
  if (defaultId == null) {
5006
5007
  // Fallback to this default id when possible.
5007
- // Use the random value for client-side rendering only.
5008
+ // Use the incrementing value for client-side rendering only.
5008
5009
  // We can't use it server-side.
5009
- setDefaultId(`mui-${Math.round(Math.random() * 1e9)}`);
5010
+ // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
5011
+ globalId += 1;
5012
+ setDefaultId(`mui-${globalId}`);
5010
5013
  }
5011
5014
  }, [defaultId]);
5012
5015
  return id;
5013
5016
  }
5014
- /**
5015
- *
5016
- * @example <div id={useId()} />
5017
- * @param idOverride
5018
- * @returns {string}
5019
- */
5020
-
5021
-
5022
- function useReactId(idOverride) {
5023
- // TODO: Remove `React as any` once `useId` is part of stable types.
5024
- if (React__namespace.useId !== undefined) {
5025
- const reactId = React__namespace.useId();
5026
- return idOverride != null ? idOverride : reactId;
5027
- } // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.
5028
-
5029
-
5030
- return useRandomId(idOverride);
5031
- }
5032
5017
 
5033
5018
  function unsupportedProp(props, propName, componentName, location, propFullName) {
5034
5019
 
@@ -5113,7 +5098,7 @@
5113
5098
  // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
5114
5099
  let hadKeyboardEvent = true;
5115
5100
  let hadFocusVisibleRecently = false;
5116
- let hadFocusVisibleRecentlyTimeout = null;
5101
+ let hadFocusVisibleRecentlyTimeout;
5117
5102
  const inputTypesWhitelist = {
5118
5103
  text: true,
5119
5104
  search: true,
@@ -5449,6 +5434,23 @@
5449
5434
  validator.isRequired = requiredInteger;
5450
5435
  var integerPropType = validator;
5451
5436
 
5437
+ /**
5438
+ * Add keys, values of `defaultProps` that does not exist in `props`
5439
+ * @param {object} defaultProps
5440
+ * @param {object} props
5441
+ * @returns {object} resolved props
5442
+ */
5443
+ function resolveProps(defaultProps, props) {
5444
+ const output = _extends({}, props);
5445
+
5446
+ Object.keys(defaultProps).forEach(propName => {
5447
+ if (output[propName] === undefined) {
5448
+ output[propName] = defaultProps[propName];
5449
+ }
5450
+ });
5451
+ return output;
5452
+ }
5453
+
5452
5454
  function merge(acc, item) {
5453
5455
  if (!item) {
5454
5456
  return acc;
@@ -6363,6 +6365,15 @@
6363
6365
  });
6364
6366
  }
6365
6367
 
6368
+ function sx(styles) {
6369
+ return ({
6370
+ theme
6371
+ }) => styleFunctionSx({
6372
+ sx: styles,
6373
+ theme
6374
+ });
6375
+ }
6376
+
6366
6377
  function toVal(mix) {
6367
6378
  var k, y, str='';
6368
6379
 
@@ -6452,6 +6463,21 @@
6452
6463
  return up(key);
6453
6464
  }
6454
6465
 
6466
+ function not(key) {
6467
+ // handle first and last key separately, for better readability
6468
+ const keyIndex = keys.indexOf(key);
6469
+
6470
+ if (keyIndex === 0) {
6471
+ return up(keys[1]);
6472
+ }
6473
+
6474
+ if (keyIndex === keys.length - 1) {
6475
+ return down(keys[keyIndex]);
6476
+ }
6477
+
6478
+ return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
6479
+ }
6480
+
6455
6481
  return _extends({
6456
6482
  keys,
6457
6483
  values,
@@ -6459,6 +6485,7 @@
6459
6485
  down,
6460
6486
  between,
6461
6487
  only,
6488
+ not,
6462
6489
  unit
6463
6490
  }, other);
6464
6491
  }
@@ -6912,7 +6939,6 @@
6912
6939
  };
6913
6940
  }
6914
6941
 
6915
- /* eslint-disable no-restricted-syntax */
6916
6942
  function getThemeProps(params) {
6917
6943
  const {
6918
6944
  theme,
@@ -6924,20 +6950,7 @@
6924
6950
  return props;
6925
6951
  }
6926
6952
 
6927
- const output = _extends({}, props); // Resolve default props, code borrow from React source.
6928
- // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221
6929
-
6930
-
6931
- const defaultProps = theme.components[name].defaultProps;
6932
- let propName;
6933
-
6934
- for (propName in defaultProps) {
6935
- if (output[propName] === undefined) {
6936
- output[propName] = defaultProps[propName];
6937
- }
6938
- }
6939
-
6940
- return output;
6953
+ return resolveProps(theme.components[name].defaultProps, props);
6941
6954
  }
6942
6955
 
6943
6956
  function useThemeProps$1({
@@ -7326,7 +7339,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7326
7339
  const componentValue = theme.components[component] || {};
7327
7340
  componentValue.defaultProps = props[component];
7328
7341
  theme.components[component] = componentValue;
7329
- }); // css overrides
7342
+ }); // CSS overrides
7330
7343
 
7331
7344
  Object.keys(styleOverrides).forEach(component => {
7332
7345
  const componentValue = theme.components[component] || {};
@@ -7375,6 +7388,49 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7375
7388
  return theme;
7376
7389
  }
7377
7390
 
7391
+ /**
7392
+ * Determines if a given element is a DOM element name (i.e. not a React component).
7393
+ */
7394
+ function isHostComponent(element) {
7395
+ return typeof element === 'string';
7396
+ }
7397
+
7398
+ /**
7399
+ * Appends the ownerState object to the props, merging with the existing one if necessary.
7400
+ *
7401
+ * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
7402
+ * @param existingProps Props of the element.
7403
+ * @param ownerState
7404
+ */
7405
+
7406
+ function appendOwnerState(elementType, existingProps = {}, ownerState) {
7407
+ if (isHostComponent(elementType)) {
7408
+ return existingProps;
7409
+ }
7410
+
7411
+ return _extends({}, existingProps, {
7412
+ ownerState: _extends({}, existingProps.ownerState, ownerState)
7413
+ });
7414
+ }
7415
+
7416
+ /**
7417
+ * Extracts event handlers from a given object.
7418
+ * A prop is considered an event handler if it is a function and its name starts with `on`.
7419
+ *
7420
+ * @param object An object to extract event handlers from.
7421
+ */
7422
+ function extractEventHandlers(object, excludeKeys = []) {
7423
+ if (object === undefined) {
7424
+ return {};
7425
+ }
7426
+
7427
+ const result = {};
7428
+ Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
7429
+ result[prop] = object[prop];
7430
+ });
7431
+ return result;
7432
+ }
7433
+
7378
7434
  // Give up on IE11 support for this feature
7379
7435
 
7380
7436
  function stripDiacritics(string) {
@@ -7476,7 +7532,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7476
7532
  selectOnFocus = !props.freeSolo,
7477
7533
  value: valueProp
7478
7534
  } = props;
7479
- const id = useReactId(idProp);
7535
+ const id = useId(idProp);
7480
7536
  let getOptionLabel = getOptionLabelProp;
7481
7537
 
7482
7538
  getOptionLabel = option => {
@@ -8420,13 +8476,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8420
8476
  return output;
8421
8477
  }
8422
8478
 
8423
- /**
8424
- * Determines if a given element is a DOM element name (i.e. not a React component).
8425
- */
8426
- function isHostComponent(element) {
8427
- return typeof element === 'string';
8428
- }
8429
-
8430
8479
  const defaultGenerator = componentName => componentName;
8431
8480
 
8432
8481
  const createClassNameGenerator = () => {
@@ -8612,7 +8661,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8612
8661
  },
8613
8662
  classes: classesProp,
8614
8663
  badgeContent: badgeContentProp,
8615
- component = 'span',
8664
+ component,
8616
8665
  children,
8617
8666
  className,
8618
8667
  components = {},
@@ -8621,10 +8670,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8621
8670
  max: maxProp = 99,
8622
8671
  overlap: overlapProp = 'rectangular',
8623
8672
  showZero = false,
8624
- variant: variantProp = 'standard',
8625
-
8626
- /* eslint-disable react/prop-types */
8627
- theme
8673
+ variant: variantProp = 'standard'
8628
8674
  } = props,
8629
8675
  other = _objectWithoutPropertiesLoose(props, _excluded$2l);
8630
8676
 
@@ -8666,22 +8712,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8666
8712
  }
8667
8713
 
8668
8714
  const classes = useUtilityClasses$1S(ownerState);
8669
- const Root = components.Root || component;
8670
- const rootProps = componentsProps.root || {};
8715
+ const Root = component || components.Root || 'span';
8716
+ const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
8671
8717
  const Badge = components.Badge || 'span';
8672
- const badgeProps = componentsProps.badge || {};
8673
- return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
8674
- as: component,
8675
- ownerState: _extends({}, ownerState, rootProps.ownerState),
8676
- theme
8677
- }, {
8718
+ const badgeProps = appendOwnerState(Badge, componentsProps.badge, ownerState);
8719
+ return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
8678
8720
  ref: ref
8679
8721
  }, other, {
8680
8722
  className: clsx(classes.root, rootProps.className, className),
8681
- children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, !isHostComponent(Badge) && {
8682
- ownerState: _extends({}, ownerState, badgeProps.ownerState),
8683
- theme
8684
- }, {
8723
+ children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, {
8685
8724
  className: clsx(classes.badge, badgeProps.className),
8686
8725
  children: displayValue
8687
8726
  }))]
@@ -8786,24 +8825,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8786
8825
  const buttonUnstyledClasses = generateUtilityClasses('ButtonUnstyled', ['root', 'active', 'disabled', 'focusVisible']);
8787
8826
  var buttonUnstyledClasses$1 = buttonUnstyledClasses;
8788
8827
 
8789
- /**
8790
- * Extracts event handlers from a given object.
8791
- * A prop is considered an event handler if it is a function and its name starts with `on`.
8792
- *
8793
- * @param object An object to extract event handlers from.
8794
- */
8795
- function extractEventHandlers(object, excludeKeys = []) {
8796
- if (object === undefined) {
8797
- return {};
8798
- }
8799
-
8800
- const result = {};
8801
- Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
8802
- result[prop] = object[prop];
8803
- });
8804
- return result;
8805
- }
8806
-
8807
8828
  function useButton(props) {
8808
8829
  var _ref;
8809
8830
 
@@ -9005,24 +9026,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9005
9026
  };
9006
9027
  }
9007
9028
 
9008
- /**
9009
- * Appends the ownerState object to the props, merging with the existing one if necessary.
9010
- *
9011
- * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
9012
- * @param existingProps Props of the element.
9013
- * @param ownerState
9014
- */
9015
-
9016
- function appendOwnerState(elementType, existingProps, ownerState) {
9017
- if (isHostComponent(elementType)) {
9018
- return existingProps;
9019
- }
9020
-
9021
- return _extends({}, existingProps, {
9022
- ownerState: _extends({}, existingProps.ownerState, ownerState)
9023
- });
9024
- }
9025
-
9026
9029
  const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
9027
9030
 
9028
9031
  const useUtilityClasses$1R = ownerState => {
@@ -9159,6 +9162,192 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9159
9162
  } ;
9160
9163
  var ButtonUnstyled$1 = ButtonUnstyled;
9161
9164
 
9165
+ function mapEventPropToEvent(eventProp) {
9166
+ return eventProp.substring(2).toLowerCase();
9167
+ }
9168
+
9169
+ function clickedRootScrollbar(event, doc) {
9170
+ return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
9171
+ }
9172
+
9173
+ /**
9174
+ * Listen for click events that occur somewhere in the document, outside of the element itself.
9175
+ * For instance, if you need to hide a menu when people click anywhere else on your page.
9176
+ *
9177
+ * Demos:
9178
+ *
9179
+ * - [Click Away Listener](https://mui.com/components/click-away-listener/)
9180
+ * - [Menus](https://mui.com/components/menus/)
9181
+ *
9182
+ * API:
9183
+ *
9184
+ * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
9185
+ */
9186
+ function ClickAwayListener(props) {
9187
+ const {
9188
+ children,
9189
+ disableReactTree = false,
9190
+ mouseEvent = 'onClick',
9191
+ onClickAway,
9192
+ touchEvent = 'onTouchEnd'
9193
+ } = props;
9194
+ const movedRef = React__namespace.useRef(false);
9195
+ const nodeRef = React__namespace.useRef(null);
9196
+ const activatedRef = React__namespace.useRef(false);
9197
+ const syntheticEventRef = React__namespace.useRef(false);
9198
+ React__namespace.useEffect(() => {
9199
+ // Ensure that this component is not "activated" synchronously.
9200
+ // https://github.com/facebook/react/issues/20074
9201
+ setTimeout(() => {
9202
+ activatedRef.current = true;
9203
+ }, 0);
9204
+ return () => {
9205
+ activatedRef.current = false;
9206
+ };
9207
+ }, []);
9208
+ const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
9209
+ children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
9210
+ //
9211
+ // event.preventDefault() is meant to stop default behaviors like
9212
+ // clicking a checkbox to check it, hitting a button to submit a form,
9213
+ // and hitting left arrow to move the cursor in a text input etc.
9214
+ // Only special HTML elements have these default behaviors.
9215
+
9216
+ const handleClickAway = useEventCallback(event => {
9217
+ // Given developers can stop the propagation of the synthetic event,
9218
+ // we can only be confident with a positive value.
9219
+ const insideReactTree = syntheticEventRef.current;
9220
+ syntheticEventRef.current = false;
9221
+ const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
9222
+ // 2. The child might render null.
9223
+ // 3. Behave like a blur listener.
9224
+
9225
+ if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
9226
+ return;
9227
+ } // Do not act if user performed touchmove
9228
+
9229
+
9230
+ if (movedRef.current) {
9231
+ movedRef.current = false;
9232
+ return;
9233
+ }
9234
+
9235
+ let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
9236
+
9237
+ if (event.composedPath) {
9238
+ insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
9239
+ } else {
9240
+ insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9241
+ event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9242
+ event.target);
9243
+ }
9244
+
9245
+ if (!insideDOM && (disableReactTree || !insideReactTree)) {
9246
+ onClickAway(event);
9247
+ }
9248
+ }); // Keep track of mouse/touch events that bubbled up through the portal.
9249
+
9250
+ const createHandleSynthetic = handlerName => event => {
9251
+ syntheticEventRef.current = true;
9252
+ const childrenPropsHandler = children.props[handlerName];
9253
+
9254
+ if (childrenPropsHandler) {
9255
+ childrenPropsHandler(event);
9256
+ }
9257
+ };
9258
+
9259
+ const childrenProps = {
9260
+ ref: handleRef
9261
+ };
9262
+
9263
+ if (touchEvent !== false) {
9264
+ childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
9265
+ }
9266
+
9267
+ React__namespace.useEffect(() => {
9268
+ if (touchEvent !== false) {
9269
+ const mappedTouchEvent = mapEventPropToEvent(touchEvent);
9270
+ const doc = ownerDocument(nodeRef.current);
9271
+
9272
+ const handleTouchMove = () => {
9273
+ movedRef.current = true;
9274
+ };
9275
+
9276
+ doc.addEventListener(mappedTouchEvent, handleClickAway);
9277
+ doc.addEventListener('touchmove', handleTouchMove);
9278
+ return () => {
9279
+ doc.removeEventListener(mappedTouchEvent, handleClickAway);
9280
+ doc.removeEventListener('touchmove', handleTouchMove);
9281
+ };
9282
+ }
9283
+
9284
+ return undefined;
9285
+ }, [handleClickAway, touchEvent]);
9286
+
9287
+ if (mouseEvent !== false) {
9288
+ childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
9289
+ }
9290
+
9291
+ React__namespace.useEffect(() => {
9292
+ if (mouseEvent !== false) {
9293
+ const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
9294
+ const doc = ownerDocument(nodeRef.current);
9295
+ doc.addEventListener(mappedMouseEvent, handleClickAway);
9296
+ return () => {
9297
+ doc.removeEventListener(mappedMouseEvent, handleClickAway);
9298
+ };
9299
+ }
9300
+
9301
+ return undefined;
9302
+ }, [handleClickAway, mouseEvent]);
9303
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
9304
+ children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
9305
+ });
9306
+ }
9307
+
9308
+ ClickAwayListener.propTypes
9309
+ /* remove-proptypes */
9310
+ = {
9311
+ // ----------------------------- Warning --------------------------------
9312
+ // | These PropTypes are generated from the TypeScript type definitions |
9313
+ // | To update them edit TypeScript types and run "yarn proptypes" |
9314
+ // ----------------------------------------------------------------------
9315
+
9316
+ /**
9317
+ * The wrapped element.
9318
+ */
9319
+ children: elementAcceptingRef$1.isRequired,
9320
+
9321
+ /**
9322
+ * If `true`, the React tree is ignored and only the DOM tree is considered.
9323
+ * This prop changes how portaled elements are handled.
9324
+ * @default false
9325
+ */
9326
+ disableReactTree: propTypes.bool,
9327
+
9328
+ /**
9329
+ * The mouse event to listen to. You can disable the listener by providing `false`.
9330
+ * @default 'onClick'
9331
+ */
9332
+ mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
9333
+
9334
+ /**
9335
+ * Callback fired when a "click away" event is detected.
9336
+ */
9337
+ onClickAway: propTypes.func.isRequired,
9338
+
9339
+ /**
9340
+ * The touch event to listen to. You can disable the listener by providing `false`.
9341
+ * @default 'onTouchEnd'
9342
+ */
9343
+ touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
9344
+ } ;
9345
+
9346
+ {
9347
+ // eslint-disable-next-line
9348
+ ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
9349
+ }
9350
+
9162
9351
  /**
9163
9352
  * @ignore - internal component.
9164
9353
  */
@@ -14562,220 +14751,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14562
14751
  } ;
14563
14752
  var SwitchUnstyled$1 = SwitchUnstyled;
14564
14753
 
14565
- const _excluded$2d = ["onChange", "maxRows", "minRows", "style", "value"];
14566
-
14567
- function getStyleValue(computedStyle, property) {
14568
- return parseInt(computedStyle[property], 10) || 0;
14754
+ function getTabPanelUnstyledUtilityClass(slot) {
14755
+ return generateUtilityClass('TabPanelUnstyled', slot);
14569
14756
  }
14570
-
14571
- const styles$5 = {
14572
- shadow: {
14573
- // Visibility needed to hide the extra text area on iPads
14574
- visibility: 'hidden',
14575
- // Remove from the content flow
14576
- position: 'absolute',
14577
- // Ignore the scrollbar width
14578
- overflow: 'hidden',
14579
- height: 0,
14580
- top: 0,
14581
- left: 0,
14582
- // Create a new layer, increase the isolation of the computed values
14583
- transform: 'translateZ(0)'
14584
- }
14585
- };
14586
- const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function TextareaAutosize(props, ref) {
14587
- const {
14588
- onChange,
14589
- maxRows,
14590
- minRows = 1,
14591
- style,
14592
- value
14593
- } = props,
14594
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
14595
-
14596
- const {
14597
- current: isControlled
14598
- } = React__namespace.useRef(value != null);
14599
- const inputRef = React__namespace.useRef(null);
14600
- const handleRef = useForkRef(ref, inputRef);
14601
- const shadowRef = React__namespace.useRef(null);
14602
- const renders = React__namespace.useRef(0);
14603
- const [state, setState] = React__namespace.useState({});
14604
- const syncHeight = React__namespace.useCallback(() => {
14605
- const input = inputRef.current;
14606
- const containerWindow = ownerWindow(input);
14607
- const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.
14608
-
14609
- if (computedStyle.width === '0px') {
14610
- return;
14611
- }
14612
-
14613
- const inputShallow = shadowRef.current;
14614
- inputShallow.style.width = computedStyle.width;
14615
- inputShallow.value = input.value || props.placeholder || 'x';
14616
-
14617
- if (inputShallow.value.slice(-1) === '\n') {
14618
- // Certain fonts which overflow the line height will cause the textarea
14619
- // to report a different scrollHeight depending on whether the last line
14620
- // is empty. Make it non-empty to avoid this issue.
14621
- inputShallow.value += ' ';
14622
- }
14623
-
14624
- const boxSizing = computedStyle['box-sizing'];
14625
- const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
14626
- const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content
14627
-
14628
- const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row
14629
-
14630
- inputShallow.value = 'x';
14631
- const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content
14632
-
14633
- let outerHeight = innerHeight;
14634
-
14635
- if (minRows) {
14636
- outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
14637
- }
14638
-
14639
- if (maxRows) {
14640
- outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
14641
- }
14642
-
14643
- outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.
14644
-
14645
- const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
14646
- const overflow = Math.abs(outerHeight - innerHeight) <= 1;
14647
- setState(prevState => {
14648
- // Need a large enough difference to update the height.
14649
- // This prevents infinite rendering loop.
14650
- if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {
14651
- renders.current += 1;
14652
- return {
14653
- overflow,
14654
- outerHeightStyle
14655
- };
14656
- }
14657
-
14658
- {
14659
- if (renders.current === 20) {
14660
- console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
14661
- }
14662
- }
14663
-
14664
- return prevState;
14665
- });
14666
- }, [maxRows, minRows, props.placeholder]);
14667
- React__namespace.useEffect(() => {
14668
- const handleResize = debounce$1(() => {
14669
- renders.current = 0;
14670
- syncHeight();
14671
- });
14672
- const containerWindow = ownerWindow(inputRef.current);
14673
- containerWindow.addEventListener('resize', handleResize);
14674
- let resizeObserver;
14675
-
14676
- if (typeof ResizeObserver !== 'undefined') {
14677
- resizeObserver = new ResizeObserver(handleResize);
14678
- resizeObserver.observe(inputRef.current);
14679
- }
14680
-
14681
- return () => {
14682
- handleResize.clear();
14683
- containerWindow.removeEventListener('resize', handleResize);
14684
-
14685
- if (resizeObserver) {
14686
- resizeObserver.disconnect();
14687
- }
14688
- };
14689
- }, [syncHeight]);
14690
- useEnhancedEffect$1(() => {
14691
- syncHeight();
14692
- });
14693
- React__namespace.useEffect(() => {
14694
- renders.current = 0;
14695
- }, [value]);
14696
-
14697
- const handleChange = event => {
14698
- renders.current = 0;
14699
-
14700
- if (!isControlled) {
14701
- syncHeight();
14702
- }
14703
-
14704
- if (onChange) {
14705
- onChange(event);
14706
- }
14707
- };
14708
-
14709
- return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
14710
- children: [/*#__PURE__*/jsxRuntime_1("textarea", _extends({
14711
- value: value,
14712
- onChange: handleChange,
14713
- ref: handleRef // Apply the rows prop to get a "correct" first SSR paint
14714
- ,
14715
- rows: minRows,
14716
- style: _extends({
14717
- height: state.outerHeightStyle,
14718
- // Need a large enough difference to allow scrolling.
14719
- // This prevents infinite rendering loop.
14720
- overflow: state.overflow ? 'hidden' : null
14721
- }, style)
14722
- }, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
14723
- "aria-hidden": true,
14724
- className: props.className,
14725
- readOnly: true,
14726
- ref: shadowRef,
14727
- tabIndex: -1,
14728
- style: _extends({}, styles$5.shadow, style, {
14729
- padding: 0
14730
- })
14731
- })]
14732
- });
14733
- });
14734
- TextareaAutosize.propTypes
14735
- /* remove-proptypes */
14736
- = {
14737
- // ----------------------------- Warning --------------------------------
14738
- // | These PropTypes are generated from the TypeScript type definitions |
14739
- // | To update them edit the d.ts file and run "yarn proptypes" |
14740
- // ----------------------------------------------------------------------
14741
-
14742
- /**
14743
- * @ignore
14744
- */
14745
- className: propTypes.string,
14746
-
14747
- /**
14748
- * Maximum number of rows to display.
14749
- */
14750
- maxRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
14751
-
14752
- /**
14753
- * Minimum number of rows to display.
14754
- * @default 1
14755
- */
14756
- minRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
14757
-
14758
- /**
14759
- * @ignore
14760
- */
14761
- onChange: propTypes.func,
14762
-
14763
- /**
14764
- * @ignore
14765
- */
14766
- placeholder: propTypes.string,
14767
-
14768
- /**
14769
- * @ignore
14770
- */
14771
- style: propTypes.object,
14772
-
14773
- /**
14774
- * @ignore
14775
- */
14776
- value: propTypes.oneOfType([propTypes.arrayOf(propTypes.string), propTypes.number, propTypes.string])
14777
- } ;
14778
- var TextareaAutosize$1 = TextareaAutosize;
14757
+ const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
14758
+ var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
14779
14759
 
14780
14760
  function getTabsUnstyledUtilityClass(slot) {
14781
14761
  return generateUtilityClass('TabsUnstyled', slot);
@@ -14798,7 +14778,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14798
14778
  name: 'Tabs',
14799
14779
  state: 'value'
14800
14780
  });
14801
- const idPrefix = useReactId();
14781
+ const idPrefix = useId();
14802
14782
  const onSelected = React__namespace.useCallback((e, newValue) => {
14803
14783
  setValue(newValue);
14804
14784
 
@@ -14869,7 +14849,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14869
14849
  }
14870
14850
  var Context$1 = Context;
14871
14851
 
14872
- const _excluded$2c = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
14852
+ const _excluded$2d = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
14873
14853
 
14874
14854
  const useUtilityClasses$1O = ownerState => {
14875
14855
  const {
@@ -14904,7 +14884,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14904
14884
  components = {},
14905
14885
  componentsProps = {}
14906
14886
  } = props,
14907
- other = _objectWithoutPropertiesLoose(props, _excluded$2c);
14887
+ other = _objectWithoutPropertiesLoose(props, _excluded$2d);
14908
14888
 
14909
14889
  const {
14910
14890
  tabsContextValue,
@@ -15003,101 +14983,46 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15003
14983
  } ;
15004
14984
  var TabsUnstyled$1 = TabsUnstyled;
15005
14985
 
15006
- function getTabUnstyledUtilityClass(slot) {
15007
- return generateUtilityClass('TabUnstyled', slot);
15008
- }
15009
- const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
15010
- var tabUnstyledClasses$1 = tabUnstyledClasses;
15011
-
15012
- const _excluded$2b = ["getRootProps"];
15013
-
15014
- const useTab = props => {
14986
+ const useTabPanel = props => {
15015
14987
  const {
15016
- value: valueProp,
15017
- onChange,
15018
- onClick,
15019
- onFocus
14988
+ value
15020
14989
  } = props;
15021
-
15022
- const _useButton = useButton(props),
15023
- {
15024
- getRootProps: getRootPropsButton
15025
- } = _useButton,
15026
- otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2b);
15027
-
15028
14990
  const context = useTabContext();
15029
14991
 
15030
14992
  if (context === null) {
15031
14993
  throw new Error('No TabContext provided');
15032
14994
  }
15033
14995
 
15034
- const value = valueProp != null ? valueProp : 0;
15035
- const selected = context.value === value;
15036
- const selectionFollowsFocus = context.selectionFollowsFocus;
15037
- const a11yAttributes = {
15038
- role: 'tab',
15039
- 'aria-controls': getPanelId(context, value),
15040
- id: getTabId(context, value),
15041
- 'aria-selected': selected,
15042
- disabled: otherButtonProps.disabled
15043
- };
15044
-
15045
- const handleFocus = event => {
15046
- if (selectionFollowsFocus && !selected) {
15047
- if (onChange) {
15048
- onChange(event, value);
15049
- }
15050
-
15051
- context.onSelected(event, value);
15052
- }
15053
-
15054
- if (onFocus) {
15055
- onFocus(event);
15056
- }
15057
- };
15058
-
15059
- const handleClick = event => {
15060
- if (!selected) {
15061
- if (onChange) {
15062
- onChange(event, value);
15063
- }
15064
-
15065
- context.onSelected(event, value);
15066
- }
15067
-
15068
- if (onClick) {
15069
- onClick(event);
15070
- }
15071
- };
14996
+ const hidden = value !== context.value;
14997
+ const id = getPanelId(context, value);
14998
+ const tabId = getTabId(context, value);
15072
14999
 
15073
- const getRootProps = otherHandlers => {
15074
- const buttonResolvedProps = getRootPropsButton(_extends({
15075
- onClick: handleClick,
15076
- onFocus: handleFocus
15077
- }, otherHandlers));
15078
- return _extends({}, buttonResolvedProps, a11yAttributes);
15000
+ const getRootProps = () => {
15001
+ return {
15002
+ 'aria-labelledby': tabId,
15003
+ hidden,
15004
+ id
15005
+ };
15079
15006
  };
15080
15007
 
15081
- return _extends({
15008
+ return {
15009
+ hidden,
15082
15010
  getRootProps
15083
- }, otherButtonProps, {
15084
- selected
15085
- });
15011
+ };
15086
15012
  };
15087
15013
 
15088
- var useTab$1 = useTab;
15014
+ var useTabPanel$1 = useTabPanel;
15089
15015
 
15090
- const _excluded$2a = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
15016
+ const _excluded$2c = ["children", "className", "value", "components", "componentsProps", "component"];
15091
15017
 
15092
15018
  const useUtilityClasses$1N = ownerState => {
15093
15019
  const {
15094
- selected,
15095
- disabled
15020
+ hidden
15096
15021
  } = ownerState;
15097
15022
  const slots = {
15098
- root: ['root', selected && 'selected', disabled && 'disabled']
15023
+ root: ['root', hidden && 'hidden']
15099
15024
  };
15100
- return composeClasses(slots, getTabUnstyledUtilityClass, {});
15025
+ return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
15101
15026
  };
15102
15027
  /**
15103
15028
  *
@@ -15107,59 +15032,43 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15107
15032
  *
15108
15033
  * API:
15109
15034
  *
15110
- * - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
15035
+ * - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
15111
15036
  */
15112
15037
 
15113
15038
 
15114
- const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
15039
+ const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
15115
15040
  var _ref, _componentsProps$root;
15116
15041
 
15117
15042
  const {
15118
- action,
15119
15043
  children,
15120
15044
  className,
15121
- disabled = false,
15122
- component,
15123
15045
  components = {},
15124
- componentsProps = {}
15046
+ componentsProps = {},
15047
+ component
15125
15048
  } = props,
15126
- other = _objectWithoutPropertiesLoose(props, _excluded$2a);
15049
+ other = _objectWithoutPropertiesLoose(props, _excluded$2c);
15127
15050
 
15128
- const tabRef = React__namespace.useRef();
15129
- const handleRef = useForkRef(tabRef, ref);
15130
15051
  const {
15131
- active,
15132
- focusVisible,
15133
- setFocusVisible,
15134
- selected,
15052
+ hidden,
15135
15053
  getRootProps
15136
- } = useTab$1(_extends({}, props, {
15137
- ref: handleRef
15138
- }));
15139
- React__namespace.useImperativeHandle(action, () => ({
15140
- focusVisible: () => {
15141
- setFocusVisible(true);
15142
- tabRef.current.focus();
15143
- }
15144
- }), [setFocusVisible]);
15054
+ } = useTabPanel$1(props);
15145
15055
 
15146
15056
  const ownerState = _extends({}, props, {
15147
- active,
15148
- focusVisible,
15149
- disabled,
15150
- selected
15057
+ hidden
15151
15058
  });
15152
15059
 
15153
15060
  const classes = useUtilityClasses$1N(ownerState);
15154
- const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
15155
- const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
15156
- return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
15157
- className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15061
+ const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15062
+ const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
15063
+ return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
15158
15064
  ref: ref,
15159
- children: children
15065
+ role: "tabpanel"
15066
+ }, tabPanelRootProps, {
15067
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15068
+ children: !hidden && children
15160
15069
  }));
15161
15070
  });
15162
- TabUnstyled.propTypes
15071
+ TabPanelUnstyled.propTypes
15163
15072
  /* remove-proptypes */
15164
15073
  = {
15165
15074
  // ----------------------------- Warning --------------------------------
@@ -15168,16 +15077,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15168
15077
  // ----------------------------------------------------------------------
15169
15078
 
15170
15079
  /**
15171
- * A ref for imperative actions. It currently only supports `focusVisible()` action.
15172
- */
15173
- action: propTypes.oneOfType([propTypes.func, propTypes.shape({
15174
- current: propTypes.shape({
15175
- focusVisible: propTypes.func.isRequired
15176
- })
15177
- })]),
15178
-
15179
- /**
15180
- * @ignore
15080
+ * The content of the component.
15181
15081
  */
15182
15082
  children: propTypes.node,
15183
15083
 
@@ -15193,7 +15093,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15193
15093
  component: propTypes.elementType,
15194
15094
 
15195
15095
  /**
15196
- * The components used for each slot inside the Tab.
15096
+ * The components used for each slot inside the TabPanel.
15197
15097
  * Either a string to use a HTML element or a component.
15198
15098
  * @default {}
15199
15099
  */
@@ -15202,38 +15102,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15202
15102
  }),
15203
15103
 
15204
15104
  /**
15205
- * The props used for each slot inside the Tab.
15105
+ * The props used for each slot inside the TabPanel.
15206
15106
  * @default {}
15207
15107
  */
15208
15108
  componentsProps: propTypes.object,
15209
15109
 
15210
15110
  /**
15211
- * If `true`, the component is disabled.
15212
- * @default false
15213
- */
15214
- disabled: propTypes.bool,
15215
-
15216
- /**
15217
- * Callback invoked when new value is being set.
15218
- */
15219
- onChange: propTypes.func,
15220
-
15221
- /**
15222
- * @ignore
15223
- */
15224
- onClick: propTypes.func,
15225
-
15226
- /**
15227
- * @ignore
15228
- */
15229
- onFocus: propTypes.func,
15230
-
15231
- /**
15232
- * You can provide your own value. Otherwise, we fall back to the child position index.
15111
+ * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
15233
15112
  */
15234
- value: propTypes.oneOfType([propTypes.number, propTypes.string])
15113
+ value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
15235
15114
  } ;
15236
- var TabUnstyled$1 = TabUnstyled;
15115
+ var TabPanelUnstyled$1 = TabPanelUnstyled;
15237
15116
 
15238
15117
  function getTabsListUnstyledUtilityClass(slot) {
15239
15118
  return generateUtilityClass('TabsListUnstyled', slot);
@@ -15431,7 +15310,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15431
15310
 
15432
15311
  var useTabsList$1 = useTabsList;
15433
15312
 
15434
- const _excluded$29 = ["className", "children", "component", "components", "componentsProps"];
15313
+ const _excluded$2b = ["className", "children", "component", "components", "componentsProps"];
15435
15314
 
15436
15315
  const useUtilityClasses$1M = ownerState => {
15437
15316
  const {
@@ -15463,7 +15342,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15463
15342
  components = {},
15464
15343
  componentsProps = {}
15465
15344
  } = props,
15466
- other = _objectWithoutPropertiesLoose(props, _excluded$29);
15345
+ other = _objectWithoutPropertiesLoose(props, _excluded$2b);
15467
15346
 
15468
15347
  const {
15469
15348
  isRtl,
@@ -15529,52 +15408,101 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15529
15408
  } ;
15530
15409
  var TabsListUnstyled$1 = TabsListUnstyled;
15531
15410
 
15532
- function getTabPanelUnstyledUtilityClass(slot) {
15533
- return generateUtilityClass('TabPanelUnstyled', slot);
15411
+ function getTabUnstyledUtilityClass(slot) {
15412
+ return generateUtilityClass('TabUnstyled', slot);
15534
15413
  }
15535
- const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
15536
- var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
15414
+ const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
15415
+ var tabUnstyledClasses$1 = tabUnstyledClasses;
15537
15416
 
15538
- const useTabPanel = props => {
15417
+ const _excluded$2a = ["getRootProps"];
15418
+
15419
+ const useTab = props => {
15539
15420
  const {
15540
- value
15421
+ value: valueProp,
15422
+ onChange,
15423
+ onClick,
15424
+ onFocus
15541
15425
  } = props;
15426
+
15427
+ const _useButton = useButton(props),
15428
+ {
15429
+ getRootProps: getRootPropsButton
15430
+ } = _useButton,
15431
+ otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2a);
15432
+
15542
15433
  const context = useTabContext();
15543
15434
 
15544
15435
  if (context === null) {
15545
15436
  throw new Error('No TabContext provided');
15546
15437
  }
15547
15438
 
15548
- const hidden = value !== context.value;
15549
- const id = getPanelId(context, value);
15550
- const tabId = getTabId(context, value);
15439
+ const value = valueProp != null ? valueProp : 0;
15440
+ const selected = context.value === value;
15441
+ const selectionFollowsFocus = context.selectionFollowsFocus;
15442
+ const a11yAttributes = {
15443
+ role: 'tab',
15444
+ 'aria-controls': getPanelId(context, value),
15445
+ id: getTabId(context, value),
15446
+ 'aria-selected': selected,
15447
+ disabled: otherButtonProps.disabled
15448
+ };
15551
15449
 
15552
- const getRootProps = () => {
15553
- return {
15554
- 'aria-labelledby': tabId,
15555
- hidden,
15556
- id
15557
- };
15450
+ const handleFocus = event => {
15451
+ if (selectionFollowsFocus && !selected) {
15452
+ if (onChange) {
15453
+ onChange(event, value);
15454
+ }
15455
+
15456
+ context.onSelected(event, value);
15457
+ }
15458
+
15459
+ if (onFocus) {
15460
+ onFocus(event);
15461
+ }
15558
15462
  };
15559
15463
 
15560
- return {
15561
- hidden,
15562
- getRootProps
15464
+ const handleClick = event => {
15465
+ if (!selected) {
15466
+ if (onChange) {
15467
+ onChange(event, value);
15468
+ }
15469
+
15470
+ context.onSelected(event, value);
15471
+ }
15472
+
15473
+ if (onClick) {
15474
+ onClick(event);
15475
+ }
15476
+ };
15477
+
15478
+ const getRootProps = otherHandlers => {
15479
+ const buttonResolvedProps = getRootPropsButton(_extends({
15480
+ onClick: handleClick,
15481
+ onFocus: handleFocus
15482
+ }, otherHandlers));
15483
+ return _extends({}, buttonResolvedProps, a11yAttributes);
15563
15484
  };
15485
+
15486
+ return _extends({
15487
+ getRootProps
15488
+ }, otherButtonProps, {
15489
+ selected
15490
+ });
15564
15491
  };
15565
15492
 
15566
- var useTabPanel$1 = useTabPanel;
15493
+ var useTab$1 = useTab;
15567
15494
 
15568
- const _excluded$28 = ["children", "className", "value", "components", "componentsProps", "component"];
15495
+ const _excluded$29 = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
15569
15496
 
15570
15497
  const useUtilityClasses$1L = ownerState => {
15571
15498
  const {
15572
- hidden
15499
+ selected,
15500
+ disabled
15573
15501
  } = ownerState;
15574
15502
  const slots = {
15575
- root: ['root', hidden && 'hidden']
15503
+ root: ['root', selected && 'selected', disabled && 'disabled']
15576
15504
  };
15577
- return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
15505
+ return composeClasses(slots, getTabUnstyledUtilityClass, {});
15578
15506
  };
15579
15507
  /**
15580
15508
  *
@@ -15584,43 +15512,59 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15584
15512
  *
15585
15513
  * API:
15586
15514
  *
15587
- * - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
15515
+ * - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
15588
15516
  */
15589
15517
 
15590
15518
 
15591
- const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
15519
+ const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
15592
15520
  var _ref, _componentsProps$root;
15593
15521
 
15594
15522
  const {
15523
+ action,
15595
15524
  children,
15596
15525
  className,
15526
+ disabled = false,
15527
+ component,
15597
15528
  components = {},
15598
- componentsProps = {},
15599
- component
15529
+ componentsProps = {}
15600
15530
  } = props,
15601
- other = _objectWithoutPropertiesLoose(props, _excluded$28);
15531
+ other = _objectWithoutPropertiesLoose(props, _excluded$29);
15602
15532
 
15533
+ const tabRef = React__namespace.useRef();
15534
+ const handleRef = useForkRef(tabRef, ref);
15603
15535
  const {
15604
- hidden,
15536
+ active,
15537
+ focusVisible,
15538
+ setFocusVisible,
15539
+ selected,
15605
15540
  getRootProps
15606
- } = useTabPanel$1(props);
15541
+ } = useTab$1(_extends({}, props, {
15542
+ ref: handleRef
15543
+ }));
15544
+ React__namespace.useImperativeHandle(action, () => ({
15545
+ focusVisible: () => {
15546
+ setFocusVisible(true);
15547
+ tabRef.current.focus();
15548
+ }
15549
+ }), [setFocusVisible]);
15607
15550
 
15608
15551
  const ownerState = _extends({}, props, {
15609
- hidden
15552
+ active,
15553
+ focusVisible,
15554
+ disabled,
15555
+ selected
15610
15556
  });
15611
15557
 
15612
15558
  const classes = useUtilityClasses$1L(ownerState);
15613
- const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15614
- const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
15615
- return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
15616
- ref: ref,
15617
- role: "tabpanel"
15618
- }, tabPanelRootProps, {
15559
+ const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
15560
+ const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
15561
+ return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
15619
15562
  className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15620
- children: !hidden && children
15563
+ ref: ref,
15564
+ children: children
15621
15565
  }));
15622
15566
  });
15623
- TabPanelUnstyled.propTypes
15567
+ TabUnstyled.propTypes
15624
15568
  /* remove-proptypes */
15625
15569
  = {
15626
15570
  // ----------------------------- Warning --------------------------------
@@ -15629,7 +15573,16 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15629
15573
  // ----------------------------------------------------------------------
15630
15574
 
15631
15575
  /**
15632
- * The content of the component.
15576
+ * A ref for imperative actions. It currently only supports `focusVisible()` action.
15577
+ */
15578
+ action: propTypes.oneOfType([propTypes.func, propTypes.shape({
15579
+ current: propTypes.shape({
15580
+ focusVisible: propTypes.func.isRequired
15581
+ })
15582
+ })]),
15583
+
15584
+ /**
15585
+ * @ignore
15633
15586
  */
15634
15587
  children: propTypes.node,
15635
15588
 
@@ -15645,7 +15598,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15645
15598
  component: propTypes.elementType,
15646
15599
 
15647
15600
  /**
15648
- * The components used for each slot inside the TabPanel.
15601
+ * The components used for each slot inside the Tab.
15649
15602
  * Either a string to use a HTML element or a component.
15650
15603
  * @default {}
15651
15604
  */
@@ -15654,17 +15607,253 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15654
15607
  }),
15655
15608
 
15656
15609
  /**
15657
- * The props used for each slot inside the TabPanel.
15610
+ * The props used for each slot inside the Tab.
15658
15611
  * @default {}
15659
15612
  */
15660
15613
  componentsProps: propTypes.object,
15661
15614
 
15662
15615
  /**
15663
- * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
15616
+ * If `true`, the component is disabled.
15617
+ * @default false
15664
15618
  */
15665
- value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
15619
+ disabled: propTypes.bool,
15620
+
15621
+ /**
15622
+ * Callback invoked when new value is being set.
15623
+ */
15624
+ onChange: propTypes.func,
15625
+
15626
+ /**
15627
+ * @ignore
15628
+ */
15629
+ onClick: propTypes.func,
15630
+
15631
+ /**
15632
+ * @ignore
15633
+ */
15634
+ onFocus: propTypes.func,
15635
+
15636
+ /**
15637
+ * You can provide your own value. Otherwise, we fall back to the child position index.
15638
+ */
15639
+ value: propTypes.oneOfType([propTypes.number, propTypes.string])
15666
15640
  } ;
15667
- var TabPanelUnstyled$1 = TabPanelUnstyled;
15641
+ var TabUnstyled$1 = TabUnstyled;
15642
+
15643
+ const _excluded$28 = ["onChange", "maxRows", "minRows", "style", "value"];
15644
+
15645
+ function getStyleValue(computedStyle, property) {
15646
+ return parseInt(computedStyle[property], 10) || 0;
15647
+ }
15648
+
15649
+ const styles$5 = {
15650
+ shadow: {
15651
+ // Visibility needed to hide the extra text area on iPads
15652
+ visibility: 'hidden',
15653
+ // Remove from the content flow
15654
+ position: 'absolute',
15655
+ // Ignore the scrollbar width
15656
+ overflow: 'hidden',
15657
+ height: 0,
15658
+ top: 0,
15659
+ left: 0,
15660
+ // Create a new layer, increase the isolation of the computed values
15661
+ transform: 'translateZ(0)'
15662
+ }
15663
+ };
15664
+ const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function TextareaAutosize(props, ref) {
15665
+ const {
15666
+ onChange,
15667
+ maxRows,
15668
+ minRows = 1,
15669
+ style,
15670
+ value
15671
+ } = props,
15672
+ other = _objectWithoutPropertiesLoose(props, _excluded$28);
15673
+
15674
+ const {
15675
+ current: isControlled
15676
+ } = React__namespace.useRef(value != null);
15677
+ const inputRef = React__namespace.useRef(null);
15678
+ const handleRef = useForkRef(ref, inputRef);
15679
+ const shadowRef = React__namespace.useRef(null);
15680
+ const renders = React__namespace.useRef(0);
15681
+ const [state, setState] = React__namespace.useState({});
15682
+ const syncHeight = React__namespace.useCallback(() => {
15683
+ const input = inputRef.current;
15684
+ const containerWindow = ownerWindow(input);
15685
+ const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.
15686
+
15687
+ if (computedStyle.width === '0px') {
15688
+ return;
15689
+ }
15690
+
15691
+ const inputShallow = shadowRef.current;
15692
+ inputShallow.style.width = computedStyle.width;
15693
+ inputShallow.value = input.value || props.placeholder || 'x';
15694
+
15695
+ if (inputShallow.value.slice(-1) === '\n') {
15696
+ // Certain fonts which overflow the line height will cause the textarea
15697
+ // to report a different scrollHeight depending on whether the last line
15698
+ // is empty. Make it non-empty to avoid this issue.
15699
+ inputShallow.value += ' ';
15700
+ }
15701
+
15702
+ const boxSizing = computedStyle['box-sizing'];
15703
+ const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
15704
+ const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content
15705
+
15706
+ const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row
15707
+
15708
+ inputShallow.value = 'x';
15709
+ const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content
15710
+
15711
+ let outerHeight = innerHeight;
15712
+
15713
+ if (minRows) {
15714
+ outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
15715
+ }
15716
+
15717
+ if (maxRows) {
15718
+ outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
15719
+ }
15720
+
15721
+ outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.
15722
+
15723
+ const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
15724
+ const overflow = Math.abs(outerHeight - innerHeight) <= 1;
15725
+ setState(prevState => {
15726
+ // Need a large enough difference to update the height.
15727
+ // This prevents infinite rendering loop.
15728
+ if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {
15729
+ renders.current += 1;
15730
+ return {
15731
+ overflow,
15732
+ outerHeightStyle
15733
+ };
15734
+ }
15735
+
15736
+ {
15737
+ if (renders.current === 20) {
15738
+ console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
15739
+ }
15740
+ }
15741
+
15742
+ return prevState;
15743
+ });
15744
+ }, [maxRows, minRows, props.placeholder]);
15745
+ React__namespace.useEffect(() => {
15746
+ const handleResize = debounce$1(() => {
15747
+ renders.current = 0;
15748
+ syncHeight();
15749
+ });
15750
+ const containerWindow = ownerWindow(inputRef.current);
15751
+ containerWindow.addEventListener('resize', handleResize);
15752
+ let resizeObserver;
15753
+
15754
+ if (typeof ResizeObserver !== 'undefined') {
15755
+ resizeObserver = new ResizeObserver(handleResize);
15756
+ resizeObserver.observe(inputRef.current);
15757
+ }
15758
+
15759
+ return () => {
15760
+ handleResize.clear();
15761
+ containerWindow.removeEventListener('resize', handleResize);
15762
+
15763
+ if (resizeObserver) {
15764
+ resizeObserver.disconnect();
15765
+ }
15766
+ };
15767
+ }, [syncHeight]);
15768
+ useEnhancedEffect$1(() => {
15769
+ syncHeight();
15770
+ });
15771
+ React__namespace.useEffect(() => {
15772
+ renders.current = 0;
15773
+ }, [value]);
15774
+
15775
+ const handleChange = event => {
15776
+ renders.current = 0;
15777
+
15778
+ if (!isControlled) {
15779
+ syncHeight();
15780
+ }
15781
+
15782
+ if (onChange) {
15783
+ onChange(event);
15784
+ }
15785
+ };
15786
+
15787
+ return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15788
+ children: [/*#__PURE__*/jsxRuntime_1("textarea", _extends({
15789
+ value: value,
15790
+ onChange: handleChange,
15791
+ ref: handleRef // Apply the rows prop to get a "correct" first SSR paint
15792
+ ,
15793
+ rows: minRows,
15794
+ style: _extends({
15795
+ height: state.outerHeightStyle,
15796
+ // Need a large enough difference to allow scrolling.
15797
+ // This prevents infinite rendering loop.
15798
+ overflow: state.overflow ? 'hidden' : null
15799
+ }, style)
15800
+ }, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
15801
+ "aria-hidden": true,
15802
+ className: props.className,
15803
+ readOnly: true,
15804
+ ref: shadowRef,
15805
+ tabIndex: -1,
15806
+ style: _extends({}, styles$5.shadow, style, {
15807
+ padding: 0
15808
+ })
15809
+ })]
15810
+ });
15811
+ });
15812
+ TextareaAutosize.propTypes
15813
+ /* remove-proptypes */
15814
+ = {
15815
+ // ----------------------------- Warning --------------------------------
15816
+ // | These PropTypes are generated from the TypeScript type definitions |
15817
+ // | To update them edit the d.ts file and run "yarn proptypes" |
15818
+ // ----------------------------------------------------------------------
15819
+
15820
+ /**
15821
+ * @ignore
15822
+ */
15823
+ className: propTypes.string,
15824
+
15825
+ /**
15826
+ * Maximum number of rows to display.
15827
+ */
15828
+ maxRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
15829
+
15830
+ /**
15831
+ * Minimum number of rows to display.
15832
+ * @default 1
15833
+ */
15834
+ minRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
15835
+
15836
+ /**
15837
+ * @ignore
15838
+ */
15839
+ onChange: propTypes.func,
15840
+
15841
+ /**
15842
+ * @ignore
15843
+ */
15844
+ placeholder: propTypes.string,
15845
+
15846
+ /**
15847
+ * @ignore
15848
+ */
15849
+ style: propTypes.object,
15850
+
15851
+ /**
15852
+ * @ignore
15853
+ */
15854
+ value: propTypes.oneOfType([propTypes.arrayOf(propTypes.string), propTypes.number, propTypes.string])
15855
+ } ;
15856
+ var TextareaAutosize$1 = TextareaAutosize;
15668
15857
 
15669
15858
  function createMixins(breakpoints, spacing, mixins) {
15670
15859
  return _extends({
@@ -16439,7 +16628,7 @@ const theme2 = createTheme({ palette: {
16439
16628
  const theme = _extends({}, themeInput);
16440
16629
 
16441
16630
  theme.typography = _extends({}, theme.typography);
16442
- const typography = theme.typography; // Convert between css lengths e.g. em->px or px->rem
16631
+ const typography = theme.typography; // Convert between CSS lengths e.g. em->px or px->rem
16443
16632
  // Set the baseFontSize for your project. Defaults to 16px (also the browser default).
16444
16633
 
16445
16634
  const convert = convertLength(typography.htmlFontSize);
@@ -16706,7 +16895,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
16706
16895
  /**
16707
16896
  * The system prop that allows defining system overrides as well as additional CSS styles.
16708
16897
  */
16709
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
16898
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
16710
16899
 
16711
16900
  /**
16712
16901
  * Provides a human-readable title for the element that contains it.
@@ -18130,7 +18319,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18130
18319
  /**
18131
18320
  * The system prop that allows defining system overrides as well as additional CSS styles.
18132
18321
  */
18133
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18322
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18134
18323
 
18135
18324
  /**
18136
18325
  * The duration for the transition, in milliseconds.
@@ -18302,7 +18491,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18302
18491
  /**
18303
18492
  * The system prop that allows defining system overrides as well as additional CSS styles.
18304
18493
  */
18305
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18494
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18306
18495
 
18307
18496
  /**
18308
18497
  * The variant to use.
@@ -18579,7 +18768,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18579
18768
  /**
18580
18769
  * The system prop that allows defining system overrides as well as additional CSS styles.
18581
18770
  */
18582
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18771
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18583
18772
 
18584
18773
  /**
18585
18774
  * The component used for the transition.
@@ -18590,7 +18779,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18590
18779
 
18591
18780
  /**
18592
18781
  * Props applied to the transition element.
18593
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
18782
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
18594
18783
  */
18595
18784
  TransitionProps: propTypes.object
18596
18785
  } ;
@@ -18691,7 +18880,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18691
18880
  /**
18692
18881
  * The system prop that allows defining system overrides as well as additional CSS styles.
18693
18882
  */
18694
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18883
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
18695
18884
  } ;
18696
18885
  var AccordionActions$1 = AccordionActions;
18697
18886
 
@@ -18767,7 +18956,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18767
18956
  /**
18768
18957
  * The system prop that allows defining system overrides as well as additional CSS styles.
18769
18958
  */
18770
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18959
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
18771
18960
  } ;
18772
18961
  var AccordionDetails$1 = AccordionDetails;
18773
18962
 
@@ -19613,7 +19802,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19613
19802
  * This prop can help identify which element has keyboard focus.
19614
19803
  * The class name will be applied when the element gains the focus through keyboard interaction.
19615
19804
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
19616
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
19805
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
19617
19806
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
19618
19807
  * if needed.
19619
19808
  */
@@ -19706,7 +19895,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19706
19895
  /**
19707
19896
  * The system prop that allows defining system overrides as well as additional CSS styles.
19708
19897
  */
19709
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
19898
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
19710
19899
 
19711
19900
  /**
19712
19901
  * @default 0
@@ -19910,7 +20099,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19910
20099
  * This prop can help identify which element has keyboard focus.
19911
20100
  * The class name will be applied when the element gains the focus through keyboard interaction.
19912
20101
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
19913
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
20102
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
19914
20103
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
19915
20104
  * if needed.
19916
20105
  */
@@ -19924,7 +20113,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19924
20113
  /**
19925
20114
  * The system prop that allows defining system overrides as well as additional CSS styles.
19926
20115
  */
19927
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20116
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19928
20117
  } ;
19929
20118
  var AccordionSummary$1 = AccordionSummary;
19930
20119
 
@@ -20142,7 +20331,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20142
20331
  /**
20143
20332
  * The system prop that allows defining system overrides as well as additional CSS styles.
20144
20333
  */
20145
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20334
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20146
20335
  } ;
20147
20336
  var IconButton$1 = IconButton;
20148
20337
 
@@ -20203,7 +20392,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20203
20392
  const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
20204
20393
  const color = ownerState.color || ownerState.severity;
20205
20394
  return _extends({}, theme.typography.body2, {
20206
- borderRadius: theme.shape.borderRadius,
20207
20395
  backgroundColor: 'transparent',
20208
20396
  display: 'flex',
20209
20397
  padding: '6px 16px'
@@ -20298,7 +20486,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20298
20486
  const classes = useUtilityClasses$1B(ownerState);
20299
20487
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
20300
20488
  role: role,
20301
- square: true,
20302
20489
  elevation: 0,
20303
20490
  ownerState: ownerState,
20304
20491
  className: clsx(classes.root, className),
@@ -20416,7 +20603,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20416
20603
  /**
20417
20604
  * The system prop that allows defining system overrides as well as additional CSS styles.
20418
20605
  */
20419
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20606
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
20420
20607
 
20421
20608
  /**
20422
20609
  * The variant to use.
@@ -20604,7 +20791,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20604
20791
  /**
20605
20792
  * The system prop that allows defining system overrides as well as additional CSS styles.
20606
20793
  */
20607
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20794
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
20608
20795
 
20609
20796
  /**
20610
20797
  * Applies the theme typography styles.
@@ -20716,7 +20903,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20716
20903
  /**
20717
20904
  * The system prop that allows defining system overrides as well as additional CSS styles.
20718
20905
  */
20719
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20906
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20720
20907
  } ;
20721
20908
  var AlertTitle$1 = AlertTitle;
20722
20909
 
@@ -20884,7 +21071,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20884
21071
  /**
20885
21072
  * The system prop that allows defining system overrides as well as additional CSS styles.
20886
21073
  */
20887
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21074
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20888
21075
  } ;
20889
21076
  var AppBar$1 = AppBar;
20890
21077
 
@@ -21159,7 +21346,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21159
21346
  /**
21160
21347
  * The system prop that allows defining system overrides as well as additional CSS styles.
21161
21348
  */
21162
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21349
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
21163
21350
  } ;
21164
21351
  var ListSubheader$1 = ListSubheader;
21165
21352
 
@@ -21673,7 +21860,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21673
21860
  /**
21674
21861
  * The system prop that allows defining system overrides as well as additional CSS styles.
21675
21862
  */
21676
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
21863
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
21677
21864
 
21678
21865
  /**
21679
21866
  * The variant to use.
@@ -22740,7 +22927,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22740
22927
  /**
22741
22928
  * The system prop that allows defining system overrides as well as additional CSS styles.
22742
22929
  */
22743
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22930
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
22744
22931
 
22745
22932
  /**
22746
22933
  * The value of the autocomplete.
@@ -23014,7 +23201,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23014
23201
  /**
23015
23202
  * The system prop that allows defining system overrides as well as additional CSS styles.
23016
23203
  */
23017
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23204
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23018
23205
 
23019
23206
  /**
23020
23207
  * The shape of the avatar.
@@ -23032,7 +23219,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23032
23219
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
23033
23220
  var avatarGroupClasses$1 = avatarGroupClasses;
23034
23221
 
23035
- const _excluded$1N = ["children", "className", "max", "spacing", "variant"];
23222
+ const _excluded$1N = ["children", "className", "max", "spacing", "total", "variant"];
23036
23223
  const SPACINGS$1 = {
23037
23224
  small: -16,
23038
23225
  medium: null
@@ -23094,11 +23281,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23094
23281
  className,
23095
23282
  max = 5,
23096
23283
  spacing = 'medium',
23284
+ total,
23097
23285
  variant = 'circular'
23098
23286
  } = props,
23099
23287
  other = _objectWithoutPropertiesLoose(props, _excluded$1N);
23100
23288
 
23101
- const clampedMax = max < 2 ? 2 : max;
23289
+ let clampedMax = max < 2 ? 2 : max;
23102
23290
 
23103
23291
  const ownerState = _extends({}, props, {
23104
23292
  max,
@@ -23116,7 +23304,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23116
23304
 
23117
23305
  return /*#__PURE__*/React__namespace.isValidElement(child);
23118
23306
  });
23119
- const extraAvatars = children.length > clampedMax ? children.length - clampedMax + 1 : 0;
23307
+ const totalAvatars = total || children.length;
23308
+
23309
+ if (totalAvatars === clampedMax) {
23310
+ clampedMax += 1;
23311
+ }
23312
+
23313
+ clampedMax = Math.min(totalAvatars + 1, clampedMax);
23314
+ const maxAvatars = Math.min(children.length, clampedMax - 1);
23315
+ const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
23120
23316
  const marginLeft = spacing && SPACINGS$1[spacing] !== undefined ? SPACINGS$1[spacing] : -spacing;
23121
23317
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
23122
23318
  ownerState: ownerState,
@@ -23131,7 +23327,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23131
23327
  },
23132
23328
  variant: variant,
23133
23329
  children: ["+", extraAvatars]
23134
- }) : null, children.slice(0, children.length - extraAvatars).reverse().map(child => {
23330
+ }) : null, children.slice(0, maxAvatars).reverse().map(child => {
23135
23331
  return /*#__PURE__*/React__namespace.cloneElement(child, {
23136
23332
  className: clsx(child.props.className, classes.avatar),
23137
23333
  style: _extends({
@@ -23186,7 +23382,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23186
23382
  /**
23187
23383
  * The system prop that allows defining system overrides as well as additional CSS styles.
23188
23384
  */
23189
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23385
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23386
+
23387
+ /**
23388
+ * The total number of avatars. Used for calculating the number of extra avatars.
23389
+ * @default children.length
23390
+ */
23391
+ total: propTypes.number,
23190
23392
 
23191
23393
  /**
23192
23394
  * The variant to use.
@@ -23548,7 +23750,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23548
23750
  /**
23549
23751
  * The system prop that allows defining system overrides as well as additional CSS styles.
23550
23752
  */
23551
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23753
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23552
23754
 
23553
23755
  /**
23554
23756
  * The duration for the transition, in milliseconds.
@@ -23562,7 +23764,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23562
23764
  } ;
23563
23765
  var Backdrop$1 = Backdrop;
23564
23766
 
23565
- const _excluded$1K = ["components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
23767
+ const _excluded$1K = ["component", "components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
23566
23768
  const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning']));
23567
23769
  const RADIUS_STANDARD = 10;
23568
23770
  const RADIUS_DOT = 4;
@@ -23701,6 +23903,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23701
23903
  duration: theme.transitions.duration.leavingScreen
23702
23904
  })
23703
23905
  }));
23906
+
23907
+ const shouldSpreadAdditionalProps = Slot => {
23908
+ return !Slot || !isHostComponent(Slot);
23909
+ };
23910
+
23704
23911
  const Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
23705
23912
  var _componentsProps$root, _componentsProps$badg;
23706
23913
 
@@ -23710,6 +23917,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23710
23917
  });
23711
23918
 
23712
23919
  const {
23920
+ component = 'span',
23713
23921
  components = {},
23714
23922
  componentsProps = {},
23715
23923
  color: colorProp = 'default',
@@ -23750,12 +23958,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23750
23958
  Badge: BadgeBadge
23751
23959
  }, components),
23752
23960
  componentsProps: {
23753
- root: _extends({}, componentsProps.root, (!components.Root || !isHostComponent(components.Root)) && {
23961
+ root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
23962
+ as: component,
23754
23963
  ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
23755
23964
  color
23756
23965
  })
23757
23966
  }),
23758
- badge: _extends({}, componentsProps.badge, (!components.Thumb || !isHostComponent(components.Thumb)) && {
23967
+ badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
23759
23968
  ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
23760
23969
  color
23761
23970
  })
@@ -23808,6 +24017,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23808
24017
  /* @typescript-to-proptypes-ignore */
23809
24018
  .oneOfType([propTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), propTypes.string]),
23810
24019
 
24020
+ /**
24021
+ * The component used for the root node.
24022
+ * Either a string to use a HTML element or a component.
24023
+ */
24024
+ component: propTypes.elementType,
24025
+
23811
24026
  /**
23812
24027
  * The components used for each slot inside the Badge.
23813
24028
  * Either a string to use a HTML element or a component.
@@ -23850,7 +24065,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23850
24065
  /**
23851
24066
  * The system prop that allows defining system overrides as well as additional CSS styles.
23852
24067
  */
23853
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24068
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23854
24069
 
23855
24070
  /**
23856
24071
  * The variant to use.
@@ -23988,7 +24203,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23988
24203
  /**
23989
24204
  * The system prop that allows defining system overrides as well as additional CSS styles.
23990
24205
  */
23991
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24206
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23992
24207
 
23993
24208
  /**
23994
24209
  * The value of the currently selected `BottomNavigationAction`.
@@ -24168,7 +24383,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24168
24383
  /**
24169
24384
  * The system prop that allows defining system overrides as well as additional CSS styles.
24170
24385
  */
24171
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24386
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24172
24387
 
24173
24388
  /**
24174
24389
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -24477,7 +24692,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24477
24692
  /**
24478
24693
  * The system prop that allows defining system overrides as well as additional CSS styles.
24479
24694
  */
24480
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24695
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24481
24696
  } ;
24482
24697
  var Breadcrumbs$1 = Breadcrumbs;
24483
24698
 
@@ -24498,7 +24713,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24498
24713
 
24499
24714
  var ButtonGroupContext$1 = ButtonGroupContext;
24500
24715
 
24501
- const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24716
+ const _excluded$1G = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24502
24717
 
24503
24718
  const useUtilityClasses$1p = ownerState => {
24504
24719
  const {
@@ -24699,51 +24914,32 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24699
24914
  marginRight: -2
24700
24915
  }, commonIconStyles(ownerState)));
24701
24916
  const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
24917
+ // props priority: `inProps` > `contextProps` > `themeDefaultProps`
24918
+ const contextProps = React__namespace.useContext(ButtonGroupContext$1);
24919
+ const resolvedProps = resolveProps(contextProps, inProps);
24702
24920
  const props = useThemeProps({
24703
- props: inProps,
24921
+ props: resolvedProps,
24704
24922
  name: 'MuiButton'
24705
24923
  });
24706
- const {
24707
- className: classNameContext,
24708
- color: colorContext,
24709
- disabled: disabledContext,
24710
- disableElevation: disableElevationContext,
24711
- disableFocusRipple: disableFocusRippleContext,
24712
- disableRipple: disableRippleContext,
24713
- fullWidth: fullWidthContext,
24714
- size: sizeContext,
24715
- variant: variantContext
24716
- } = React__namespace.useContext(ButtonGroupContext$1);
24717
24924
 
24718
24925
  const {
24719
24926
  children,
24720
- className,
24721
- color: colorProp,
24927
+ color = 'primary',
24722
24928
  component = 'button',
24723
- disabled: disabledProp,
24724
- disableElevation: disableElevationProp,
24725
- disableFocusRipple: disableFocusRippleProp,
24726
- disableRipple: disableRippleProp,
24929
+ className,
24930
+ disabled = false,
24931
+ disableElevation = false,
24932
+ disableFocusRipple = false,
24727
24933
  endIcon: endIconProp,
24728
24934
  focusVisibleClassName,
24729
- fullWidth: fullWidthProp,
24730
- size: sizeProp,
24935
+ fullWidth = false,
24936
+ size = 'medium',
24731
24937
  startIcon: startIconProp,
24732
24938
  type,
24733
- variant: variantProp
24939
+ variant = 'text'
24734
24940
  } = props,
24735
24941
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24736
24942
 
24737
- const color = colorProp || colorContext || 'primary'; // TODO v6: Use nullish coalescing (??) instead of OR operator for these boolean props so that these boolean props for Button with ButtonGroup context take priority. See conversation from https://github.com/mui-org/material-ui/pull/28645#discussion_r738380902.
24738
-
24739
- const disabled = disabledProp || disabledContext || false;
24740
- const disableElevation = disableElevationProp || disableElevationContext || false;
24741
- const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
24742
- const fullWidth = fullWidthProp || fullWidthContext || false;
24743
- const size = sizeProp || sizeContext || 'medium';
24744
- const variant = variantProp || variantContext || 'text';
24745
- const disableRipple = disableRippleProp || disableRippleContext || false;
24746
-
24747
24943
  const ownerState = _extends({}, props, {
24748
24944
  color,
24749
24945
  component,
@@ -24772,10 +24968,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24772
24968
 
24773
24969
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
24774
24970
  ownerState: ownerState,
24775
- className: clsx(className, classNameContext),
24971
+ className: clsx(className, contextProps.className),
24776
24972
  component: component,
24777
24973
  disabled: disabled,
24778
- disableRipple: disableRipple,
24779
24974
  focusRipple: !disableFocusRipple,
24780
24975
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
24781
24976
  ref: ref,
@@ -24888,7 +25083,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24888
25083
  /**
24889
25084
  * The system prop that allows defining system overrides as well as additional CSS styles.
24890
25085
  */
24891
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25086
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24892
25087
 
24893
25088
  /**
24894
25089
  * @ignore
@@ -25166,7 +25361,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25166
25361
  /**
25167
25362
  * The system prop that allows defining system overrides as well as additional CSS styles.
25168
25363
  */
25169
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25364
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25170
25365
 
25171
25366
  /**
25172
25367
  * The variant to use.
@@ -25267,7 +25462,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25267
25462
  /**
25268
25463
  * The system prop that allows defining system overrides as well as additional CSS styles.
25269
25464
  */
25270
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25465
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25271
25466
  } ;
25272
25467
  var Card$1 = Card;
25273
25468
 
@@ -25389,7 +25584,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25389
25584
  /**
25390
25585
  * The system prop that allows defining system overrides as well as additional CSS styles.
25391
25586
  */
25392
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25587
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25393
25588
  } ;
25394
25589
  var CardActionArea$1 = CardActionArea;
25395
25590
 
@@ -25487,7 +25682,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25487
25682
  /**
25488
25683
  * The system prop that allows defining system overrides as well as additional CSS styles.
25489
25684
  */
25490
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25685
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25491
25686
  } ;
25492
25687
  var CardActions$1 = CardActions;
25493
25688
 
@@ -25577,7 +25772,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25577
25772
  /**
25578
25773
  * The system prop that allows defining system overrides as well as additional CSS styles.
25579
25774
  */
25580
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25775
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25581
25776
  } ;
25582
25777
  var CardContent$1 = CardContent;
25583
25778
 
@@ -25780,7 +25975,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25780
25975
  /**
25781
25976
  * The system prop that allows defining system overrides as well as additional CSS styles.
25782
25977
  */
25783
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25978
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25784
25979
 
25785
25980
  /**
25786
25981
  * The content of the component.
@@ -25940,7 +26135,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25940
26135
  /**
25941
26136
  * The system prop that allows defining system overrides as well as additional CSS styles.
25942
26137
  */
25943
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26138
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25944
26139
  } ;
25945
26140
  var CardMedia$1 = CardMedia;
25946
26141
 
@@ -26486,7 +26681,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26486
26681
  /**
26487
26682
  * The system prop that allows defining system overrides as well as additional CSS styles.
26488
26683
  */
26489
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26684
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
26490
26685
 
26491
26686
  /**
26492
26687
  * The value of the component. The DOM API casts this to a string.
@@ -26738,7 +26933,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26738
26933
  /**
26739
26934
  * The system prop that allows defining system overrides as well as additional CSS styles.
26740
26935
  */
26741
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26936
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
26742
26937
 
26743
26938
  /**
26744
26939
  * The thickness of the circle.
@@ -26762,192 +26957,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26762
26957
  } ;
26763
26958
  var CircularProgress$1 = CircularProgress;
26764
26959
 
26765
- function mapEventPropToEvent(eventProp) {
26766
- return eventProp.substring(2).toLowerCase();
26767
- }
26768
-
26769
- function clickedRootScrollbar(event, doc) {
26770
- return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
26771
- }
26772
-
26773
- /**
26774
- * Listen for click events that occur somewhere in the document, outside of the element itself.
26775
- * For instance, if you need to hide a menu when people click anywhere else on your page.
26776
- *
26777
- * Demos:
26778
- *
26779
- * - [Click Away Listener](https://mui.com/components/click-away-listener/)
26780
- * - [Menus](https://mui.com/components/menus/)
26781
- *
26782
- * API:
26783
- *
26784
- * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
26785
- */
26786
- function ClickAwayListener(props) {
26787
- const {
26788
- children,
26789
- disableReactTree = false,
26790
- mouseEvent = 'onClick',
26791
- onClickAway,
26792
- touchEvent = 'onTouchEnd'
26793
- } = props;
26794
- const movedRef = React__namespace.useRef(false);
26795
- const nodeRef = React__namespace.useRef(null);
26796
- const activatedRef = React__namespace.useRef(false);
26797
- const syntheticEventRef = React__namespace.useRef(false);
26798
- React__namespace.useEffect(() => {
26799
- // Ensure that this component is not "activated" synchronously.
26800
- // https://github.com/facebook/react/issues/20074
26801
- setTimeout(() => {
26802
- activatedRef.current = true;
26803
- }, 0);
26804
- return () => {
26805
- activatedRef.current = false;
26806
- };
26807
- }, []);
26808
- const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
26809
- children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
26810
- //
26811
- // event.preventDefault() is meant to stop default behaviors like
26812
- // clicking a checkbox to check it, hitting a button to submit a form,
26813
- // and hitting left arrow to move the cursor in a text input etc.
26814
- // Only special HTML elements have these default behaviors.
26815
-
26816
- const handleClickAway = useEventCallback(event => {
26817
- // Given developers can stop the propagation of the synthetic event,
26818
- // we can only be confident with a positive value.
26819
- const insideReactTree = syntheticEventRef.current;
26820
- syntheticEventRef.current = false;
26821
- const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
26822
- // 2. The child might render null.
26823
- // 3. Behave like a blur listener.
26824
-
26825
- if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
26826
- return;
26827
- } // Do not act if user performed touchmove
26828
-
26829
-
26830
- if (movedRef.current) {
26831
- movedRef.current = false;
26832
- return;
26833
- }
26834
-
26835
- let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
26836
-
26837
- if (event.composedPath) {
26838
- insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
26839
- } else {
26840
- insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
26841
- event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
26842
- event.target);
26843
- }
26844
-
26845
- if (!insideDOM && (disableReactTree || !insideReactTree)) {
26846
- onClickAway(event);
26847
- }
26848
- }); // Keep track of mouse/touch events that bubbled up through the portal.
26849
-
26850
- const createHandleSynthetic = handlerName => event => {
26851
- syntheticEventRef.current = true;
26852
- const childrenPropsHandler = children.props[handlerName];
26853
-
26854
- if (childrenPropsHandler) {
26855
- childrenPropsHandler(event);
26856
- }
26857
- };
26858
-
26859
- const childrenProps = {
26860
- ref: handleRef
26861
- };
26862
-
26863
- if (touchEvent !== false) {
26864
- childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
26865
- }
26866
-
26867
- React__namespace.useEffect(() => {
26868
- if (touchEvent !== false) {
26869
- const mappedTouchEvent = mapEventPropToEvent(touchEvent);
26870
- const doc = ownerDocument(nodeRef.current);
26871
-
26872
- const handleTouchMove = () => {
26873
- movedRef.current = true;
26874
- };
26875
-
26876
- doc.addEventListener(mappedTouchEvent, handleClickAway);
26877
- doc.addEventListener('touchmove', handleTouchMove);
26878
- return () => {
26879
- doc.removeEventListener(mappedTouchEvent, handleClickAway);
26880
- doc.removeEventListener('touchmove', handleTouchMove);
26881
- };
26882
- }
26883
-
26884
- return undefined;
26885
- }, [handleClickAway, touchEvent]);
26886
-
26887
- if (mouseEvent !== false) {
26888
- childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
26889
- }
26890
-
26891
- React__namespace.useEffect(() => {
26892
- if (mouseEvent !== false) {
26893
- const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
26894
- const doc = ownerDocument(nodeRef.current);
26895
- doc.addEventListener(mappedMouseEvent, handleClickAway);
26896
- return () => {
26897
- doc.removeEventListener(mappedMouseEvent, handleClickAway);
26898
- };
26899
- }
26900
-
26901
- return undefined;
26902
- }, [handleClickAway, mouseEvent]);
26903
- return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
26904
- children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
26905
- });
26906
- }
26907
-
26908
- ClickAwayListener.propTypes
26909
- /* remove-proptypes */
26910
- = {
26911
- // ----------------------------- Warning --------------------------------
26912
- // | These PropTypes are generated from the TypeScript type definitions |
26913
- // | To update them edit TypeScript types and run "yarn proptypes" |
26914
- // ----------------------------------------------------------------------
26915
-
26916
- /**
26917
- * The wrapped element.
26918
- */
26919
- children: elementAcceptingRef$1.isRequired,
26920
-
26921
- /**
26922
- * If `true`, the React tree is ignored and only the DOM tree is considered.
26923
- * This prop changes how portaled elements are handled.
26924
- * @default false
26925
- */
26926
- disableReactTree: propTypes.bool,
26927
-
26928
- /**
26929
- * The mouse event to listen to. You can disable the listener by providing `false`.
26930
- * @default 'onClick'
26931
- */
26932
- mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
26933
-
26934
- /**
26935
- * Callback fired when a "click away" event is detected.
26936
- */
26937
- onClickAway: propTypes.func.isRequired,
26938
-
26939
- /**
26940
- * The touch event to listen to. You can disable the listener by providing `false`.
26941
- * @default 'onTouchEnd'
26942
- */
26943
- touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
26944
- } ;
26945
-
26946
- {
26947
- // eslint-disable-next-line
26948
- ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
26949
- }
26950
-
26951
26960
  function getContainerUtilityClass(slot) {
26952
26961
  return generateUtilityClass('MuiContainer', slot);
26953
26962
  }
@@ -27106,7 +27115,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27106
27115
  /**
27107
27116
  * The system prop that allows defining system overrides as well as additional CSS styles.
27108
27117
  */
27109
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27118
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27110
27119
  } ;
27111
27120
  var Container$1 = Container;
27112
27121
 
@@ -27217,7 +27226,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27217
27226
  children: propTypes.node,
27218
27227
 
27219
27228
  /**
27220
- * Enable `color-scheme` css property to use `theme.palette.mode`.
27229
+ * Enable `color-scheme` CSS property to use `theme.palette.mode`.
27221
27230
  * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
27222
27231
  * For browser support, check out https://caniuse.com/?search=color-scheme
27223
27232
  * @default false
@@ -27522,7 +27531,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27522
27531
  /**
27523
27532
  * The system prop that allows defining system overrides as well as additional CSS styles.
27524
27533
  */
27525
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27534
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27526
27535
  } ;
27527
27536
  var Modal$1 = Modal;
27528
27537
 
@@ -27741,7 +27750,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27741
27750
  }
27742
27751
  };
27743
27752
 
27744
- const ariaLabelledby = useReactId(ariaLabelledbyProp);
27753
+ const ariaLabelledby = useId(ariaLabelledbyProp);
27745
27754
  const dialogContextValue = React__namespace.useMemo(() => {
27746
27755
  return {
27747
27756
  titleId: ariaLabelledby
@@ -27911,7 +27920,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27911
27920
  /**
27912
27921
  * The system prop that allows defining system overrides as well as additional CSS styles.
27913
27922
  */
27914
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
27923
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
27915
27924
 
27916
27925
  /**
27917
27926
  * The component used for the transition.
@@ -27933,7 +27942,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27933
27942
 
27934
27943
  /**
27935
27944
  * Props applied to the transition element.
27936
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
27945
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
27937
27946
  */
27938
27947
  TransitionProps: propTypes.object
27939
27948
  } ;
@@ -28035,7 +28044,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28035
28044
  /**
28036
28045
  * The system prop that allows defining system overrides as well as additional CSS styles.
28037
28046
  */
28038
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28047
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28039
28048
  } ;
28040
28049
  var DialogActions$1 = DialogActions;
28041
28050
 
@@ -28146,7 +28155,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28146
28155
  /**
28147
28156
  * The system prop that allows defining system overrides as well as additional CSS styles.
28148
28157
  */
28149
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28158
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28150
28159
  } ;
28151
28160
  var DialogContent$1 = DialogContent;
28152
28161
 
@@ -28215,7 +28224,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28215
28224
  /**
28216
28225
  * The system prop that allows defining system overrides as well as additional CSS styles.
28217
28226
  */
28218
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28227
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28219
28228
  } ;
28220
28229
  var DialogContentText$1 = DialogContentText;
28221
28230
 
@@ -28296,7 +28305,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28296
28305
  /**
28297
28306
  * The system prop that allows defining system overrides as well as additional CSS styles.
28298
28307
  */
28299
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28308
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28300
28309
  } ;
28301
28310
  var DialogTitle$1 = DialogTitle;
28302
28311
 
@@ -28544,7 +28553,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28544
28553
  /**
28545
28554
  * The system prop that allows defining system overrides as well as additional CSS styles.
28546
28555
  */
28547
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
28556
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
28548
28557
 
28549
28558
  /**
28550
28559
  * The text alignment.
@@ -29223,7 +29232,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29223
29232
  /**
29224
29233
  * The system prop that allows defining system overrides as well as additional CSS styles.
29225
29234
  */
29226
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29235
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29227
29236
 
29228
29237
  /**
29229
29238
  * The duration for the transition, in milliseconds.
@@ -29478,7 +29487,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29478
29487
  /**
29479
29488
  * The system prop that allows defining system overrides as well as additional CSS styles.
29480
29489
  */
29481
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29490
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29482
29491
 
29483
29492
  /**
29484
29493
  * The variant to use.
@@ -29537,7 +29546,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29537
29546
  return obj.startAdornment;
29538
29547
  }
29539
29548
 
29540
- const _excluded$1k = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
29549
+ const _excluded$1k = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
29541
29550
  const rootOverridesResolver = (props, styles) => {
29542
29551
  const {
29543
29552
  ownerState
@@ -29738,6 +29747,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29738
29747
  componentsProps = {},
29739
29748
  defaultValue,
29740
29749
  disabled,
29750
+ disableInjectingGlobalStyles,
29741
29751
  endAdornment,
29742
29752
  fullWidth = false,
29743
29753
  id,
@@ -29968,7 +29978,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29968
29978
  const Input = components.Input || InputBaseComponent;
29969
29979
  inputProps = _extends({}, inputProps, componentsProps.input);
29970
29980
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
29971
- children: [inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
29981
+ children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
29972
29982
  ownerState: _extends({}, ownerState, rootProps.ownerState)
29973
29983
  }, {
29974
29984
  ref: ref,
@@ -30082,6 +30092,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30082
30092
  */
30083
30093
  disabled: propTypes.bool,
30084
30094
 
30095
+ /**
30096
+ * If `true`, GlobalStyles for the auto-fill keyframes will not be injected/removed on mount/unmount. Make sure to inject them at the top of your application.
30097
+ * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
30098
+ * @default false
30099
+ */
30100
+ disableInjectingGlobalStyles: propTypes.bool,
30101
+
30085
30102
  /**
30086
30103
  * End `InputAdornment` for this component.
30087
30104
  */
@@ -30227,7 +30244,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30227
30244
  /**
30228
30245
  * The system prop that allows defining system overrides as well as additional CSS styles.
30229
30246
  */
30230
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30247
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30231
30248
 
30232
30249
  /**
30233
30250
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
@@ -30621,7 +30638,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30621
30638
  /**
30622
30639
  * The system prop that allows defining system overrides as well as additional CSS styles.
30623
30640
  */
30624
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30641
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30625
30642
 
30626
30643
  /**
30627
30644
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
@@ -30945,7 +30962,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30945
30962
  /**
30946
30963
  * The system prop that allows defining system overrides as well as additional CSS styles.
30947
30964
  */
30948
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30965
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30949
30966
 
30950
30967
  /**
30951
30968
  * The variant to use.
@@ -31159,7 +31176,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31159
31176
  /**
31160
31177
  * The system prop that allows defining system overrides as well as additional CSS styles.
31161
31178
  */
31162
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31179
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
31163
31180
 
31164
31181
  /**
31165
31182
  * The value of the component.
@@ -31266,7 +31283,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31266
31283
  /**
31267
31284
  * The system prop that allows defining system overrides as well as additional CSS styles.
31268
31285
  */
31269
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31286
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
31270
31287
  } ;
31271
31288
  var FormGroup$1 = FormGroup;
31272
31289
 
@@ -31443,7 +31460,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31443
31460
  /**
31444
31461
  * The system prop that allows defining system overrides as well as additional CSS styles.
31445
31462
  */
31446
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31463
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
31447
31464
 
31448
31465
  /**
31449
31466
  * The variant to use.
@@ -31624,7 +31641,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31624
31641
  /**
31625
31642
  * The system prop that allows defining system overrides as well as additional CSS styles.
31626
31643
  */
31627
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31644
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
31628
31645
  } ;
31629
31646
  var FormLabel$1 = FormLabel;
31630
31647
 
@@ -31661,69 +31678,84 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31661
31678
  return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
31662
31679
  }
31663
31680
 
31664
- function generateGrid(globalStyles, theme, breakpoint, ownerState) {
31665
- const size = ownerState[breakpoint];
31681
+ function generateGrid({
31682
+ theme,
31683
+ ownerState
31684
+ }) {
31685
+ let size;
31686
+ return theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
31687
+ // Use side effect over immutability for better performance.
31688
+ let styles = {};
31666
31689
 
31667
- if (!size) {
31668
- return;
31669
- }
31690
+ if (ownerState[breakpoint]) {
31691
+ size = ownerState[breakpoint];
31692
+ }
31670
31693
 
31671
- let styles = {};
31694
+ if (!size) {
31695
+ return globalStyles;
31696
+ }
31672
31697
 
31673
- if (size === true) {
31674
- // For the auto layouting
31675
- styles = {
31676
- flexBasis: 0,
31677
- flexGrow: 1,
31678
- maxWidth: '100%'
31679
- };
31680
- } else if (size === 'auto') {
31681
- styles = {
31682
- flexBasis: 'auto',
31683
- flexGrow: 0,
31684
- flexShrink: 0,
31685
- maxWidth: 'none',
31686
- width: 'auto'
31687
- };
31688
- } else {
31689
- const columnsBreakpointValues = resolveBreakpointValues({
31690
- values: ownerState.columns,
31691
- breakpoints: theme.breakpoints.values
31692
- });
31693
- const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
31698
+ if (size === true) {
31699
+ // For the auto layouting
31700
+ styles = {
31701
+ flexBasis: 0,
31702
+ flexGrow: 1,
31703
+ maxWidth: '100%'
31704
+ };
31705
+ } else if (size === 'auto') {
31706
+ styles = {
31707
+ flexBasis: 'auto',
31708
+ flexGrow: 0,
31709
+ flexShrink: 0,
31710
+ maxWidth: 'none',
31711
+ width: 'auto'
31712
+ };
31713
+ } else {
31714
+ const columnsBreakpointValues = resolveBreakpointValues({
31715
+ values: ownerState.columns,
31716
+ breakpoints: theme.breakpoints.values
31717
+ });
31718
+ const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
31694
31719
 
31695
- const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
31696
- let more = {};
31720
+ if (columnValue === undefined || columnValue === null) {
31721
+ return globalStyles;
31722
+ } // Keep 7 significant numbers.
31697
31723
 
31698
- if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
31699
- const themeSpacing = theme.spacing(ownerState.columnSpacing);
31700
31724
 
31701
- if (themeSpacing !== '0px') {
31702
- const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
31703
- more = {
31704
- flexBasis: fullWidth,
31705
- maxWidth: fullWidth
31706
- };
31707
- }
31708
- } // Close to the bootstrap implementation:
31709
- // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
31725
+ const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
31726
+ let more = {};
31727
+
31728
+ if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
31729
+ const themeSpacing = theme.spacing(ownerState.columnSpacing);
31710
31730
 
31731
+ if (themeSpacing !== '0px') {
31732
+ const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
31733
+ more = {
31734
+ flexBasis: fullWidth,
31735
+ maxWidth: fullWidth
31736
+ };
31737
+ }
31738
+ } // Close to the bootstrap implementation:
31739
+ // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
31711
31740
 
31712
- styles = _extends({
31713
- flexBasis: width,
31714
- flexGrow: 0,
31715
- maxWidth: width
31716
- }, more);
31717
- } // No need for a media query for the first size.
31718
31741
 
31742
+ styles = _extends({
31743
+ flexBasis: width,
31744
+ flexGrow: 0,
31745
+ maxWidth: width
31746
+ }, more);
31747
+ } // No need for a media query for the first size.
31719
31748
 
31720
- if (theme.breakpoints.values[breakpoint] === 0) {
31721
- Object.assign(globalStyles, styles);
31722
- } else {
31723
- globalStyles[theme.breakpoints.up(breakpoint)] = styles;
31724
- }
31725
- }
31726
31749
 
31750
+ if (theme.breakpoints.values[breakpoint] === 0) {
31751
+ Object.assign(globalStyles, styles);
31752
+ } else {
31753
+ globalStyles[theme.breakpoints.up(breakpoint)] = styles;
31754
+ }
31755
+
31756
+ return globalStyles;
31757
+ }, {});
31758
+ }
31727
31759
  function generateDirection({
31728
31760
  theme,
31729
31761
  ownerState
@@ -31818,6 +31850,27 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31818
31850
  }
31819
31851
 
31820
31852
  return styles;
31853
+ }
31854
+ function resolveSpacingClasses(spacing, container, styles = {}) {
31855
+ // in case of grid item or undefined/null or `spacing` <= 0
31856
+ if (!container || !spacing || spacing <= 0) {
31857
+ return [];
31858
+ } // in case of string/number `spacing`
31859
+
31860
+
31861
+ if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
31862
+ return [styles[`spacing-xs-${String(spacing)}`] || `spacing-xs-${String(spacing)}`];
31863
+ } // in case of object `spacing`
31864
+
31865
+
31866
+ const {
31867
+ xs,
31868
+ sm,
31869
+ md,
31870
+ lg,
31871
+ xl
31872
+ } = spacing;
31873
+ return [Number(xs) > 0 && (styles[`spacing-xs-${String(xs)}`] || `spacing-xs-${String(xs)}`), Number(sm) > 0 && (styles[`spacing-sm-${String(sm)}`] || `spacing-sm-${String(sm)}`), Number(md) > 0 && (styles[`spacing-md-${String(md)}`] || `spacing-md-${String(md)}`), Number(lg) > 0 && (styles[`spacing-lg-${String(lg)}`] || `spacing-lg-${String(lg)}`), Number(xl) > 0 && (styles[`spacing-xl-${String(xl)}`] || `spacing-xl-${String(xl)}`)];
31821
31874
  } // Default CSS values
31822
31875
  // flex: '0 1 auto',
31823
31876
  // flexDirection: 'row',
@@ -31842,7 +31895,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31842
31895
  xs,
31843
31896
  zeroMinWidth
31844
31897
  } = props.ownerState;
31845
- return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth, container && spacing !== 0 && styles[`spacing-xs-${String(spacing)}`], direction !== 'row' && styles[`direction-xs-${String(direction)}`], wrap !== 'wrap' && styles[`wrap-xs-${String(wrap)}`], xs !== false && styles[`grid-xs-${String(xs)}`], sm !== false && styles[`grid-sm-${String(sm)}`], md !== false && styles[`grid-md-${String(md)}`], lg !== false && styles[`grid-lg-${String(lg)}`], xl !== false && styles[`grid-xl-${String(xl)}`]];
31898
+ return [styles.root, container && styles.container, item && styles.item, zeroMinWidth && styles.zeroMinWidth, ...resolveSpacingClasses(spacing, container, styles), direction !== 'row' && styles[`direction-xs-${String(direction)}`], wrap !== 'wrap' && styles[`wrap-xs-${String(wrap)}`], xs !== false && styles[`grid-xs-${String(xs)}`], sm !== false && styles[`grid-sm-${String(sm)}`], md !== false && styles[`grid-md-${String(md)}`], lg !== false && styles[`grid-lg-${String(lg)}`], xl !== false && styles[`grid-xl-${String(xl)}`]];
31846
31899
  }
31847
31900
  })(({
31848
31901
  ownerState
@@ -31861,14 +31914,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31861
31914
  flexWrap: 'nowrap'
31862
31915
  }, ownerState.wrap === 'reverse' && {
31863
31916
  flexWrap: 'wrap-reverse'
31864
- }), generateDirection, generateRowGap, generateColumnGap, ({
31865
- theme,
31866
- ownerState
31867
- }) => theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
31868
- // Use side effect over immutability for better performance.
31869
- generateGrid(globalStyles, theme, breakpoint, ownerState);
31870
- return globalStyles;
31871
- }, {}));
31917
+ }), generateDirection, generateRowGap, generateColumnGap, generateGrid);
31872
31918
 
31873
31919
  const useUtilityClasses$_ = ownerState => {
31874
31920
  const {
@@ -31886,7 +31932,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31886
31932
  zeroMinWidth
31887
31933
  } = ownerState;
31888
31934
  const slots = {
31889
- root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth', container && spacing !== 0 && `spacing-xs-${String(spacing)}`, direction !== 'row' && `direction-xs-${String(direction)}`, wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, xs !== false && `grid-xs-${String(xs)}`, sm !== false && `grid-sm-${String(sm)}`, md !== false && `grid-md-${String(md)}`, lg !== false && `grid-lg-${String(lg)}`, xl !== false && `grid-xl-${String(xl)}`]
31935
+ root: ['root', container && 'container', item && 'item', zeroMinWidth && 'zeroMinWidth', ...resolveSpacingClasses(spacing, container), direction !== 'row' && `direction-xs-${String(direction)}`, wrap !== 'wrap' && `wrap-xs-${String(wrap)}`, xs !== false && `grid-xs-${String(xs)}`, sm !== false && `grid-sm-${String(sm)}`, md !== false && `grid-md-${String(md)}`, lg !== false && `grid-lg-${String(lg)}`, xl !== false && `grid-xl-${String(xl)}`]
31890
31936
  };
31891
31937
  return composeClasses(slots, getGridUtilityClass, classes);
31892
31938
  };
@@ -32066,7 +32112,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32066
32112
  /**
32067
32113
  * The system prop that allows defining system overrides as well as additional CSS styles.
32068
32114
  */
32069
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32115
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
32070
32116
 
32071
32117
  /**
32072
32118
  * Defines the `flex-wrap` style property.
@@ -32397,8 +32443,32 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32397
32443
  * @deprecated Not used internally. Use `MediaQueryListEvent` from lib.dom.d.ts instead.
32398
32444
  */
32399
32445
 
32400
- function useMediaQueryOld(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr) {
32446
+ function useMediaQuery(queryInput, options = {}) {
32447
+ const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
32448
+ // All the browsers MUI support have this built-in.
32449
+ // This defensive check is here for simplicity.
32450
+ // Most of the time, the match media logic isn't central to people tests.
32451
+
32401
32452
  const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
32453
+ const {
32454
+ defaultMatches = false,
32455
+ matchMedia = supportMatchMedia ? window.matchMedia : null,
32456
+ noSsr = false,
32457
+ ssrMatchMedia = null
32458
+ } = getThemeProps({
32459
+ name: 'MuiUseMediaQuery',
32460
+ props: options,
32461
+ theme
32462
+ });
32463
+
32464
+ {
32465
+ if (typeof queryInput === 'function' && theme === null) {
32466
+ console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
32467
+ }
32468
+ }
32469
+
32470
+ let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
32471
+ query = query.replace(/^@media( ?)/m, '');
32402
32472
  const [match, setMatch] = React__namespace.useState(() => {
32403
32473
  if (noSsr && supportMatchMedia) {
32404
32474
  return matchMedia(query).matches;
@@ -32430,76 +32500,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32430
32500
  }
32431
32501
  };
32432
32502
 
32433
- updateMatch(); // TODO: Use `addEventListener` once support for Safari < 14 is dropped
32434
-
32503
+ updateMatch();
32435
32504
  queryList.addListener(updateMatch);
32436
32505
  return () => {
32437
32506
  active = false;
32438
32507
  queryList.removeListener(updateMatch);
32439
32508
  };
32440
32509
  }, [query, matchMedia, supportMatchMedia]);
32441
- return match;
32442
- }
32443
-
32444
- function useMediaQueryNew(query, defaultMatches, matchMedia, ssrMatchMedia) {
32445
- const getDefaultSnapshot = React__namespace.useCallback(() => defaultMatches, [defaultMatches]);
32446
- const getServerSnapshot = React__namespace.useMemo(() => {
32447
- if (ssrMatchMedia !== null) {
32448
- const {
32449
- matches
32450
- } = ssrMatchMedia(query);
32451
- return () => matches;
32452
- }
32453
-
32454
- return getDefaultSnapshot;
32455
- }, [getDefaultSnapshot, query, ssrMatchMedia]);
32456
- const [getSnapshot, subscribe] = React__namespace.useMemo(() => {
32457
- if (matchMedia === null) {
32458
- return [getDefaultSnapshot, () => () => {}];
32459
- }
32460
-
32461
- const mediaQueryList = matchMedia(query);
32462
- return [() => mediaQueryList.matches, notify => {
32463
- // TODO: Use `addEventListener` once support for Safari < 14 is dropped
32464
- mediaQueryList.addListener(notify);
32465
- return () => {
32466
- mediaQueryList.removeListener(notify);
32467
- };
32468
- }];
32469
- }, [getDefaultSnapshot, matchMedia, query]);
32470
- const match = React__namespace.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
32471
- return match;
32472
- }
32473
-
32474
- function useMediaQuery(queryInput, options = {}) {
32475
- const theme = useTheme$2(); // Wait for jsdom to support the match media feature.
32476
- // All the browsers MUI support have this built-in.
32477
- // This defensive check is here for simplicity.
32478
- // Most of the time, the match media logic isn't central to people tests.
32479
-
32480
- const supportMatchMedia = typeof window !== 'undefined' && typeof window.matchMedia !== 'undefined';
32481
- const {
32482
- defaultMatches = false,
32483
- matchMedia = supportMatchMedia ? window.matchMedia : null,
32484
- ssrMatchMedia = null,
32485
- noSsr
32486
- } = getThemeProps({
32487
- name: 'MuiUseMediaQuery',
32488
- props: options,
32489
- theme
32490
- });
32491
-
32492
- {
32493
- if (typeof queryInput === 'function' && theme === null) {
32494
- console.error(['MUI: The `query` argument provided is invalid.', 'You are providing a function without a theme in the context.', 'One of the parent elements needs to use a ThemeProvider.'].join('\n'));
32495
- }
32496
- }
32497
-
32498
- let query = typeof queryInput === 'function' ? queryInput(theme) : queryInput;
32499
- query = query.replace(/^@media( ?)/m, ''); // TODO: Drop `useMediaQueryOld` and use `use-sync-external-store` shim in `useMediaQueryNew` once the package is stable
32500
-
32501
- const useMediaQueryImplementation = React__namespace.useSyncExternalStore !== undefined ? useMediaQueryNew : useMediaQueryOld;
32502
- const match = useMediaQueryImplementation(query, defaultMatches, matchMedia, ssrMatchMedia, noSsr);
32503
32510
 
32504
32511
  {
32505
32512
  // eslint-disable-next-line react-hooks/rules-of-hooks
@@ -33266,7 +33273,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33266
33273
  /**
33267
33274
  * The system prop that allows defining system overrides as well as additional CSS styles.
33268
33275
  */
33269
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33276
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
33270
33277
  } ;
33271
33278
  Icon.muiName = 'Icon';
33272
33279
  var Icon$1 = Icon;
@@ -33443,7 +33450,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33443
33450
  /**
33444
33451
  * The system prop that allows defining system overrides as well as additional CSS styles.
33445
33452
  */
33446
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33453
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33447
33454
 
33448
33455
  /**
33449
33456
  * The variant to use.
@@ -33631,7 +33638,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33631
33638
  /**
33632
33639
  * The system prop that allows defining system overrides as well as additional CSS styles.
33633
33640
  */
33634
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33641
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
33635
33642
  } ;
33636
33643
  var ImageListItem$1 = ImageListItem;
33637
33644
 
@@ -33857,7 +33864,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33857
33864
  /**
33858
33865
  * The system prop that allows defining system overrides as well as additional CSS styles.
33859
33866
  */
33860
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33867
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33861
33868
 
33862
33869
  /**
33863
33870
  * Title to be displayed.
@@ -34172,7 +34179,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34172
34179
  /**
34173
34180
  * The system prop that allows defining system overrides as well as additional CSS styles.
34174
34181
  */
34175
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34182
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34176
34183
 
34177
34184
  /**
34178
34185
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
@@ -34367,7 +34374,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34367
34374
  /**
34368
34375
  * The system prop that allows defining system overrides as well as additional CSS styles.
34369
34376
  */
34370
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34377
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34371
34378
 
34372
34379
  /**
34373
34380
  * The variant to use.
@@ -34580,7 +34587,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34580
34587
  /**
34581
34588
  * The system prop that allows defining system overrides as well as additional CSS styles.
34582
34589
  */
34583
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34590
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34584
34591
 
34585
34592
  /**
34586
34593
  * The variant to use.
@@ -34929,7 +34936,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34929
34936
  /**
34930
34937
  * The system prop that allows defining system overrides as well as additional CSS styles.
34931
34938
  */
34932
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34939
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34933
34940
 
34934
34941
  /**
34935
34942
  * The value of the progress indicator for the determinate and buffer variants.
@@ -35162,7 +35169,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35162
35169
  /**
35163
35170
  * The system prop that allows defining system overrides as well as additional CSS styles.
35164
35171
  */
35165
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
35172
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
35166
35173
 
35167
35174
  /**
35168
35175
  * `classes` prop applied to the [`Typography`](/api/typography/) element.
@@ -35330,7 +35337,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35330
35337
  /**
35331
35338
  * The system prop that allows defining system overrides as well as additional CSS styles.
35332
35339
  */
35333
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35340
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35334
35341
  } ;
35335
35342
  var List$1 = List;
35336
35343
 
@@ -35558,7 +35565,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35558
35565
  * This prop can help identify which element has keyboard focus.
35559
35566
  * The class name will be applied when the element gains the focus through keyboard interaction.
35560
35567
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
35561
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
35568
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
35562
35569
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
35563
35570
  * if needed.
35564
35571
  */
@@ -35573,7 +35580,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35573
35580
  /**
35574
35581
  * The system prop that allows defining system overrides as well as additional CSS styles.
35575
35582
  */
35576
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35583
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35577
35584
  } ;
35578
35585
  var ListItemButton$1 = ListItemButton;
35579
35586
 
@@ -35669,7 +35676,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35669
35676
  /**
35670
35677
  * The system prop that allows defining system overrides as well as additional CSS styles.
35671
35678
  */
35672
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35679
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35673
35680
  } ;
35674
35681
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
35675
35682
  var ListItemSecondaryAction$1 = ListItemSecondaryAction;
@@ -36070,7 +36077,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36070
36077
  /**
36071
36078
  * The system prop that allows defining system overrides as well as additional CSS styles.
36072
36079
  */
36073
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36080
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36074
36081
  } ;
36075
36082
  var ListItem$1 = ListItem;
36076
36083
 
@@ -36164,7 +36171,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36164
36171
  /**
36165
36172
  * The system prop that allows defining system overrides as well as additional CSS styles.
36166
36173
  */
36167
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36174
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36168
36175
  } ;
36169
36176
  var ListItemAvatar$1 = ListItemAvatar;
36170
36177
 
@@ -36262,7 +36269,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36262
36269
  /**
36263
36270
  * The system prop that allows defining system overrides as well as additional CSS styles.
36264
36271
  */
36265
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36272
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36266
36273
  } ;
36267
36274
  var ListItemIcon$1 = ListItemIcon;
36268
36275
 
@@ -36444,7 +36451,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36444
36451
  /**
36445
36452
  * The system prop that allows defining system overrides as well as additional CSS styles.
36446
36453
  */
36447
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36454
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36448
36455
  } ;
36449
36456
  var ListItemText$1 = ListItemText;
36450
36457
 
@@ -37198,7 +37205,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37198
37205
  /**
37199
37206
  * The system prop that allows defining system overrides as well as additional CSS styles.
37200
37207
  */
37201
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37208
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37202
37209
 
37203
37210
  /**
37204
37211
  * This is the point on the popover which
@@ -37236,7 +37243,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37236
37243
 
37237
37244
  /**
37238
37245
  * Props applied to the transition element.
37239
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37246
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
37240
37247
  * @default {}
37241
37248
  */
37242
37249
  TransitionProps: propTypes.object
@@ -37501,7 +37508,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37501
37508
  /**
37502
37509
  * The system prop that allows defining system overrides as well as additional CSS styles.
37503
37510
  */
37504
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37511
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37505
37512
 
37506
37513
  /**
37507
37514
  * The length of the transition in `ms`, or 'auto'
@@ -37515,7 +37522,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37515
37522
 
37516
37523
  /**
37517
37524
  * Props applied to the transition element.
37518
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37525
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
37519
37526
  * @default {}
37520
37527
  */
37521
37528
  TransitionProps: propTypes.object,
@@ -37763,7 +37770,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37763
37770
  * This prop can help identify which element has keyboard focus.
37764
37771
  * The class name will be applied when the element gains the focus through keyboard interaction.
37765
37772
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
37766
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
37773
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
37767
37774
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
37768
37775
  * if needed.
37769
37776
  */
@@ -37784,7 +37791,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37784
37791
  /**
37785
37792
  * The system prop that allows defining system overrides as well as additional CSS styles.
37786
37793
  */
37787
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37794
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37788
37795
 
37789
37796
  /**
37790
37797
  * @default 0
@@ -37997,7 +38004,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37997
38004
  /**
37998
38005
  * The system prop that allows defining system overrides as well as additional CSS styles.
37999
38006
  */
38000
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38007
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38001
38008
 
38002
38009
  /**
38003
38010
  * The variant to use.
@@ -38345,7 +38352,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38345
38352
  /**
38346
38353
  * The system prop that allows defining system overrides as well as additional CSS styles.
38347
38354
  */
38348
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38355
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38349
38356
 
38350
38357
  /**
38351
38358
  * The `input` value. The DOM API casts this to a string.
@@ -38584,6 +38591,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38584
38591
  paddingRight: 0
38585
38592
  }));
38586
38593
  const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
38594
+ var _React$Fragment;
38595
+
38587
38596
  const props = useThemeProps({
38588
38597
  props: inProps,
38589
38598
  name: 'MuiOutlinedInput'
@@ -38601,6 +38610,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38601
38610
  other = _objectWithoutPropertiesLoose(props, _excluded$M);
38602
38611
 
38603
38612
  const classes = useUtilityClasses$C(props);
38613
+ const muiFormControl = useFormControl();
38614
+ const fcs = formControlState({
38615
+ props,
38616
+ muiFormControl,
38617
+ states: ['required']
38618
+ });
38604
38619
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
38605
38620
  components: _extends({
38606
38621
  Root: OutlinedInputRoot,
@@ -38608,7 +38623,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38608
38623
  }, components),
38609
38624
  renderSuffix: state => /*#__PURE__*/jsxRuntime_1(NotchedOutlineRoot, {
38610
38625
  className: classes.notchedOutline,
38611
- label: label,
38626
+ label: label && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
38627
+ children: [label, "\xA0", '*']
38628
+ })) : label,
38612
38629
  notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
38613
38630
  }),
38614
38631
  fullWidth: fullWidth,
@@ -38793,7 +38810,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38793
38810
  /**
38794
38811
  * The system prop that allows defining system overrides as well as additional CSS styles.
38795
38812
  */
38796
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38813
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38797
38814
 
38798
38815
  /**
38799
38816
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
@@ -39290,7 +39307,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39290
39307
  /**
39291
39308
  * The system prop that allows defining system overrides as well as additional CSS styles.
39292
39309
  */
39293
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39310
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39294
39311
 
39295
39312
  /**
39296
39313
  * The type of pagination item.
@@ -39556,7 +39573,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39556
39573
  /**
39557
39574
  * The system prop that allows defining system overrides as well as additional CSS styles.
39558
39575
  */
39559
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39576
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39560
39577
 
39561
39578
  /**
39562
39579
  * The variant to use.
@@ -39886,7 +39903,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39886
39903
  /**
39887
39904
  * The system prop that allows defining system overrides as well as additional CSS styles.
39888
39905
  */
39889
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39906
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39890
39907
 
39891
39908
  /**
39892
39909
  * The value of the component. The DOM API casts this to a string.
@@ -39938,7 +39955,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39938
39955
  }
39939
39956
  };
39940
39957
 
39941
- const name = useReactId(nameProp);
39958
+ const name = useId(nameProp);
39942
39959
  return /*#__PURE__*/jsxRuntime_1(RadioGroupContext$1.Provider, {
39943
39960
  value: {
39944
39961
  name,
@@ -40196,7 +40213,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40196
40213
  const isHovered = itemValue <= hover;
40197
40214
  const isFocused = itemValue <= focus;
40198
40215
  const isChecked = itemValue === ratingValueRounded;
40199
- const id = useReactId();
40216
+ const id = useId();
40200
40217
 
40201
40218
  const container = /*#__PURE__*/jsxRuntime_1(RatingIcon, {
40202
40219
  as: IconContainerComponent,
@@ -40310,7 +40327,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40310
40327
  } = props,
40311
40328
  other = _objectWithoutPropertiesLoose(props, _excluded2$3);
40312
40329
 
40313
- const name = useReactId(nameProp);
40330
+ const name = useId(nameProp);
40314
40331
  const [valueDerived, setValueState] = useControlled({
40315
40332
  controlled: valueProp,
40316
40333
  default: defaultValue,
@@ -40703,7 +40720,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40703
40720
  /**
40704
40721
  * The system prop that allows defining system overrides as well as additional CSS styles.
40705
40722
  */
40706
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
40723
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
40707
40724
 
40708
40725
  /**
40709
40726
  * The rating value.
@@ -40801,7 +40818,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40801
40818
  component: propTypes.elementType,
40802
40819
 
40803
40820
  /**
40804
- * Enable `color-scheme` css property to use `theme.palette.mode`.
40821
+ * Enable `color-scheme` CSS property to use `theme.palette.mode`.
40805
40822
  * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
40806
40823
  * For browser support, check out https://caniuse.com/?search=color-scheme
40807
40824
  */
@@ -41201,7 +41218,23 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41201
41218
  }
41202
41219
 
41203
41220
  if (computeDisplay) {
41204
- display = multiple ? displayMultiple.join(', ') : displaySingle;
41221
+ if (multiple) {
41222
+ if (displayMultiple.length === 0) {
41223
+ display = null;
41224
+ } else {
41225
+ display = displayMultiple.reduce((output, child, index) => {
41226
+ output.push(child);
41227
+
41228
+ if (index < displayMultiple.length - 1) {
41229
+ output.push(', ');
41230
+ }
41231
+
41232
+ return output;
41233
+ }, []);
41234
+ }
41235
+ } else {
41236
+ display = displaySingle;
41237
+ }
41205
41238
  } // Avoid performing a layout computation in the render method.
41206
41239
 
41207
41240
 
@@ -41715,7 +41748,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41715
41748
  /**
41716
41749
  * The system prop that allows defining system overrides as well as additional CSS styles.
41717
41750
  */
41718
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41751
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41719
41752
 
41720
41753
  /**
41721
41754
  * The `input` value. Providing an empty string will select no options.
@@ -41945,7 +41978,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41945
41978
  /**
41946
41979
  * The system prop that allows defining system overrides as well as additional CSS styles.
41947
41980
  */
41948
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41981
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41949
41982
 
41950
41983
  /**
41951
41984
  * The type of content that will be rendered.
@@ -42584,7 +42617,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42584
42617
  /**
42585
42618
  * The system prop that allows defining system overrides as well as additional CSS styles.
42586
42619
  */
42587
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
42620
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
42588
42621
 
42589
42622
  /**
42590
42623
  * Tab index attribute of the hidden `input` element.
@@ -42766,7 +42799,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42766
42799
  /**
42767
42800
  * The system prop that allows defining system overrides as well as additional CSS styles.
42768
42801
  */
42769
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
42802
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
42770
42803
  } ;
42771
42804
  var SnackbarContent$1 = SnackbarContent;
42772
42805
 
@@ -42777,7 +42810,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42777
42810
  var snackbarClasses$1 = snackbarClasses;
42778
42811
 
42779
42812
  const _excluded$z = ["onEnter", "onExited"],
42780
- _excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onClose", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
42813
+ _excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onBlur", "onClose", "onFocus", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
42781
42814
 
42782
42815
  const useUtilityClasses$s = ownerState => {
42783
42816
  const {
@@ -42871,7 +42904,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42871
42904
  ContentProps,
42872
42905
  disableWindowBlurListener = false,
42873
42906
  message,
42907
+ onBlur,
42874
42908
  onClose,
42909
+ onFocus,
42875
42910
  onMouseEnter,
42876
42911
  onMouseLeave,
42877
42912
  open,
@@ -42941,6 +42976,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42941
42976
  }
42942
42977
  }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);
42943
42978
 
42979
+ const handleFocus = event => {
42980
+ if (onFocus) {
42981
+ onFocus(event);
42982
+ }
42983
+
42984
+ handlePause();
42985
+ };
42986
+
42944
42987
  const handleMouseEnter = event => {
42945
42988
  if (onMouseEnter) {
42946
42989
  onMouseEnter(event);
@@ -42949,6 +42992,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42949
42992
  handlePause();
42950
42993
  };
42951
42994
 
42995
+ const handleBlur = event => {
42996
+ if (onBlur) {
42997
+ onBlur(event);
42998
+ }
42999
+
43000
+ handleResume();
43001
+ };
43002
+
42952
43003
  const handleMouseLeave = event => {
42953
43004
  if (onMouseLeave) {
42954
43005
  onMouseLeave(event);
@@ -42991,7 +43042,33 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42991
43042
  }
42992
43043
 
42993
43044
  return undefined;
42994
- }, [disableWindowBlurListener, handleResume, open]); // So we only render active snackbars.
43045
+ }, [disableWindowBlurListener, handleResume, open]);
43046
+ React__namespace.useEffect(() => {
43047
+ if (!open) {
43048
+ return undefined;
43049
+ }
43050
+ /**
43051
+ * @param {KeyboardEvent} nativeEvent
43052
+ */
43053
+
43054
+
43055
+ function handleKeyDown(nativeEvent) {
43056
+ if (!nativeEvent.defaultPrevented) {
43057
+ // IE11, Edge (prior to using Bink?) use 'Esc'
43058
+ if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
43059
+ // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
43060
+ if (onClose) {
43061
+ onClose(nativeEvent, 'escapeKeyDown');
43062
+ }
43063
+ }
43064
+ }
43065
+ }
43066
+
43067
+ document.addEventListener('keydown', handleKeyDown);
43068
+ return () => {
43069
+ document.removeEventListener('keydown', handleKeyDown);
43070
+ };
43071
+ }, [exited, open, onClose]); // So we only render active snackbars.
42995
43072
 
42996
43073
  if (!open && exited) {
42997
43074
  return null;
@@ -43002,6 +43079,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43002
43079
  }, ClickAwayListenerProps, {
43003
43080
  children: /*#__PURE__*/jsxRuntime_1(SnackbarRoot, _extends({
43004
43081
  className: clsx(classes.root, className),
43082
+ onBlur: handleBlur,
43083
+ onFocus: handleFocus,
43005
43084
  onMouseEnter: handleMouseEnter,
43006
43085
  onMouseLeave: handleMouseLeave,
43007
43086
  ownerState: ownerState,
@@ -43100,6 +43179,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43100
43179
  */
43101
43180
  message: propTypes.node,
43102
43181
 
43182
+ /**
43183
+ * @ignore
43184
+ */
43185
+ onBlur: propTypes.func,
43186
+
43103
43187
  /**
43104
43188
  * Callback fired when the component requests to be closed.
43105
43189
  * Typically `onClose` is used to set state in the parent component,
@@ -43107,11 +43191,16 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43107
43191
  * The `reason` parameter can optionally be used to control the response to `onClose`,
43108
43192
  * for example ignoring `clickaway`.
43109
43193
  *
43110
- * @param {React.SyntheticEvent<any>} event The event source of the callback.
43111
- * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`.
43194
+ * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
43195
+ * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
43112
43196
  */
43113
43197
  onClose: propTypes.func,
43114
43198
 
43199
+ /**
43200
+ * @ignore
43201
+ */
43202
+ onFocus: propTypes.func,
43203
+
43115
43204
  /**
43116
43205
  * @ignore
43117
43206
  */
@@ -43138,7 +43227,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43138
43227
  /**
43139
43228
  * The system prop that allows defining system overrides as well as additional CSS styles.
43140
43229
  */
43141
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43230
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
43142
43231
 
43143
43232
  /**
43144
43233
  * The component used for the transition.
@@ -43163,7 +43252,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43163
43252
 
43164
43253
  /**
43165
43254
  * Props applied to the transition element.
43166
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
43255
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43167
43256
  * @default {}
43168
43257
  */
43169
43258
  TransitionProps: propTypes.object
@@ -43904,7 +43993,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43904
43993
  /**
43905
43994
  * The system prop that allows defining system overrides as well as additional CSS styles.
43906
43995
  */
43907
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43996
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
43908
43997
 
43909
43998
  /**
43910
43999
  * The component used for the transition.
@@ -43929,7 +44018,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43929
44018
 
43930
44019
  /**
43931
44020
  * Props applied to the transition element.
43932
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
44021
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43933
44022
  */
43934
44023
  TransitionProps: propTypes.object
43935
44024
  } ;
@@ -44199,7 +44288,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44199
44288
  }, [title, childNode, isControlled]);
44200
44289
  }
44201
44290
 
44202
- const id = useReactId(idProp);
44291
+ const id = useId(idProp);
44203
44292
  const prevUserSelect = React__namespace.useRef();
44204
44293
  const stopTouchInteraction = React__namespace.useCallback(() => {
44205
44294
  if (prevUserSelect.current !== undefined) {
@@ -44716,7 +44805,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44716
44805
  /**
44717
44806
  * The system prop that allows defining system overrides as well as additional CSS styles.
44718
44807
  */
44719
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
44808
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
44720
44809
 
44721
44810
  /**
44722
44811
  * Tooltip title. Zero-length titles string are never displayed.
@@ -44734,7 +44823,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44734
44823
 
44735
44824
  /**
44736
44825
  * Props applied to the transition element.
44737
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
44826
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
44738
44827
  */
44739
44828
  TransitionProps: propTypes.object
44740
44829
  } ;
@@ -44975,7 +45064,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44975
45064
  /**
44976
45065
  * The system prop that allows defining system overrides as well as additional CSS styles.
44977
45066
  */
44978
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
45067
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
44979
45068
 
44980
45069
  /**
44981
45070
  * `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
@@ -45145,7 +45234,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45145
45234
  /**
45146
45235
  * The system prop that allows defining system overrides as well as additional CSS styles.
45147
45236
  */
45148
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45237
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45149
45238
  } ;
45150
45239
  SpeedDialIcon.muiName = 'SpeedDialIcon';
45151
45240
  var SpeedDialIcon$1 = SpeedDialIcon;
@@ -45300,7 +45389,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45300
45389
  /**
45301
45390
  * The system prop, which allows defining system overrides as well as additional CSS styles.
45302
45391
  */
45303
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45392
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45304
45393
  } ;
45305
45394
  var Stack$1 = Stack;
45306
45395
 
@@ -45498,7 +45587,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45498
45587
  /**
45499
45588
  * The system prop that allows defining system overrides as well as additional CSS styles.
45500
45589
  */
45501
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45590
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45502
45591
  } ;
45503
45592
  var Step$1 = Step;
45504
45593
 
@@ -45677,7 +45766,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45677
45766
  /**
45678
45767
  * The system prop that allows defining system overrides as well as additional CSS styles.
45679
45768
  */
45680
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45769
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45681
45770
  } ;
45682
45771
  var StepIcon$1 = StepIcon;
45683
45772
 
@@ -45911,7 +46000,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45911
46000
  /**
45912
46001
  * The system prop that allows defining system overrides as well as additional CSS styles.
45913
46002
  */
45914
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46003
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45915
46004
  } ;
45916
46005
  StepLabel.muiName = 'StepLabel';
45917
46006
  var StepLabel$1 = StepLabel;
@@ -46045,7 +46134,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46045
46134
  /**
46046
46135
  * The system prop that allows defining system overrides as well as additional CSS styles.
46047
46136
  */
46048
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46137
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46049
46138
  } ;
46050
46139
  var StepButton$1 = StepButton;
46051
46140
 
@@ -46180,7 +46269,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46180
46269
  /**
46181
46270
  * The system prop that allows defining system overrides as well as additional CSS styles.
46182
46271
  */
46183
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46272
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46184
46273
  } ;
46185
46274
  var StepConnector$1 = StepConnector;
46186
46275
 
@@ -46316,7 +46405,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46316
46405
  /**
46317
46406
  * The system prop that allows defining system overrides as well as additional CSS styles.
46318
46407
  */
46319
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46408
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
46320
46409
 
46321
46410
  /**
46322
46411
  * The component used for the transition.
@@ -46340,7 +46429,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46340
46429
 
46341
46430
  /**
46342
46431
  * Props applied to the transition element.
46343
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
46432
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
46344
46433
  */
46345
46434
  TransitionProps: propTypes.object
46346
46435
  } ;
@@ -46496,7 +46585,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46496
46585
  /**
46497
46586
  * The system prop that allows defining system overrides as well as additional CSS styles.
46498
46587
  */
46499
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46588
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46500
46589
  } ;
46501
46590
  var Stepper$1 = Stepper;
46502
46591
 
@@ -47507,7 +47596,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47507
47596
  /**
47508
47597
  * The system prop that allows defining system overrides as well as additional CSS styles.
47509
47598
  */
47510
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47599
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47511
47600
 
47512
47601
  /**
47513
47602
  * The value of the component. The DOM API casts this to a string.
@@ -47782,7 +47871,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47782
47871
  /**
47783
47872
  * The system prop that allows defining system overrides as well as additional CSS styles.
47784
47873
  */
47785
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47874
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47786
47875
 
47787
47876
  /**
47788
47877
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -47949,7 +48038,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47949
48038
  /**
47950
48039
  * The system prop that allows defining system overrides as well as additional CSS styles.
47951
48040
  */
47952
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48041
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
47953
48042
  } ;
47954
48043
  var Table$1 = Table;
47955
48044
 
@@ -48054,7 +48143,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48054
48143
  /**
48055
48144
  * The system prop that allows defining system overrides as well as additional CSS styles.
48056
48145
  */
48057
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48146
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48058
48147
  } ;
48059
48148
  var TableBody$1 = TableBody;
48060
48149
 
@@ -48274,7 +48363,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48274
48363
  /**
48275
48364
  * The system prop that allows defining system overrides as well as additional CSS styles.
48276
48365
  */
48277
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48366
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
48278
48367
 
48279
48368
  /**
48280
48369
  * Specify the cell type.
@@ -48366,7 +48455,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48366
48455
  /**
48367
48456
  * The system prop that allows defining system overrides as well as additional CSS styles.
48368
48457
  */
48369
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48458
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48370
48459
  } ;
48371
48460
  var TableContainer$1 = TableContainer;
48372
48461
 
@@ -48459,7 +48548,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48459
48548
  /**
48460
48549
  * The system prop that allows defining system overrides as well as additional CSS styles.
48461
48550
  */
48462
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48551
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48463
48552
  } ;
48464
48553
  var TableFooter$1 = TableFooter;
48465
48554
 
@@ -48552,7 +48641,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48552
48641
  /**
48553
48642
  * The system prop that allows defining system overrides as well as additional CSS styles.
48554
48643
  */
48555
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48644
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48556
48645
  } ;
48557
48646
  var TableHead$1 = TableHead;
48558
48647
 
@@ -48672,7 +48761,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48672
48761
  /**
48673
48762
  * The system prop that allows defining system overrides as well as additional CSS styles.
48674
48763
  */
48675
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48764
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
48676
48765
 
48677
48766
  /**
48678
48767
  * The variant to use.
@@ -48989,8 +49078,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48989
49078
  colSpan = colSpanProp || 1000; // col-span over everything
48990
49079
  }
48991
49080
 
48992
- const selectId = useReactId(SelectProps.id);
48993
- const labelId = useReactId(SelectProps.labelId);
49081
+ const selectId = useId(SelectProps.id);
49082
+ const labelId = useId(SelectProps.labelId);
48994
49083
 
48995
49084
  const getLabelDisplayedRowsTo = () => {
48996
49085
  if (count === -1) {
@@ -49222,7 +49311,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49222
49311
  /**
49223
49312
  * The system prop that allows defining system overrides as well as additional CSS styles.
49224
49313
  */
49225
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49314
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49226
49315
  } ;
49227
49316
  var TablePagination$1 = TablePagination;
49228
49317
 
@@ -49358,7 +49447,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49358
49447
  /**
49359
49448
  * The system prop that allows defining system overrides as well as additional CSS styles.
49360
49449
  */
49361
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49450
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49362
49451
  } ;
49363
49452
  var TableRow$1 = TableRow;
49364
49453
 
@@ -49539,7 +49628,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49539
49628
  /**
49540
49629
  * The system prop that allows defining system overrides as well as additional CSS styles.
49541
49630
  */
49542
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49631
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49543
49632
  } ;
49544
49633
  var TableSortLabel$1 = TableSortLabel;
49545
49634
 
@@ -49772,7 +49861,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49772
49861
  /**
49773
49862
  * The system prop that allows defining system overrides as well as additional CSS styles.
49774
49863
  */
49775
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49864
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49776
49865
  } ;
49777
49866
  var TabScrollButton$1 = TabScrollButton;
49778
49867
 
@@ -50566,7 +50655,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50566
50655
  /**
50567
50656
  * The system prop that allows defining system overrides as well as additional CSS styles.
50568
50657
  */
50569
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
50658
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
50570
50659
 
50571
50660
  /**
50572
50661
  * Props applied to the tab indicator element.
@@ -50692,7 +50781,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50692
50781
  FormHelperTextProps,
50693
50782
  fullWidth = false,
50694
50783
  helperText,
50695
- id,
50784
+ id: idOverride,
50696
50785
  InputLabelProps,
50697
50786
  inputProps,
50698
50787
  InputProps,
@@ -50743,14 +50832,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50743
50832
  InputMore.notched = InputLabelProps.shrink;
50744
50833
  }
50745
50834
 
50746
- if (label) {
50747
- var _InputLabelProps$requ;
50748
-
50749
- const displayRequired = (_InputLabelProps$requ = InputLabelProps == null ? void 0 : InputLabelProps.required) != null ? _InputLabelProps$requ : required;
50750
- InputMore.label = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
50751
- children: [label, displayRequired && '\u00a0*']
50752
- });
50753
- }
50835
+ InputMore.label = label;
50754
50836
  }
50755
50837
 
50756
50838
  if (select) {
@@ -50762,6 +50844,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50762
50844
  InputMore['aria-describedby'] = undefined;
50763
50845
  }
50764
50846
 
50847
+ const id = useId(idOverride);
50765
50848
  const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
50766
50849
  const inputLabelId = label && id ? `${id}-label` : undefined;
50767
50850
  const InputComponent = variantComponent[variant];
@@ -51013,7 +51096,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51013
51096
  /**
51014
51097
  * The system prop that allows defining system overrides as well as additional CSS styles.
51015
51098
  */
51016
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51099
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51017
51100
 
51018
51101
  /**
51019
51102
  * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
@@ -51255,7 +51338,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51255
51338
  /**
51256
51339
  * The system prop that allows defining system overrides as well as additional CSS styles.
51257
51340
  */
51258
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51341
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51259
51342
 
51260
51343
  /**
51261
51344
  * The value to associate with the button when selected in a
@@ -51517,7 +51600,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51517
51600
  /**
51518
51601
  * The system prop that allows defining system overrides as well as additional CSS styles.
51519
51602
  */
51520
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51603
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51521
51604
 
51522
51605
  /**
51523
51606
  * The currently selected value within the group or an array of selected
@@ -51797,6 +51880,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51797
51880
  exports.easing = easing;
51798
51881
  exports.emphasize = emphasize;
51799
51882
  exports.experimentalStyled = styled$1;
51883
+ exports.experimental_sx = sx;
51800
51884
  exports.extractEventHandlers = extractEventHandlers;
51801
51885
  exports.fabClasses = fabClasses$1;
51802
51886
  exports.filledInputClasses = filledInputClasses$1;
@@ -52030,7 +52114,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
52030
52114
  exports.unstable_getUnit = getUnit;
52031
52115
  exports.unstable_toUnitless = toUnitless;
52032
52116
  exports.unstable_useEnhancedEffect = useEnhancedEffect$1;
52033
- exports.unstable_useId = useReactId;
52117
+ exports.unstable_useId = useId;
52034
52118
  exports.unsupportedProp = unsupportedProp;
52035
52119
  exports.useAutocomplete = useAutocomplete;
52036
52120
  exports.useButton = useButton;