@mui/material 5.2.2 → 5.2.6

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 (492) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/AccordionActions/AccordionActions.js +1 -1
  4. package/AccordionDetails/AccordionDetails.js +1 -1
  5. package/AccordionSummary/AccordionSummary.js +2 -2
  6. package/Alert/Alert.js +1 -3
  7. package/AlertTitle/AlertTitle.js +1 -1
  8. package/AppBar/AppBar.js +1 -1
  9. package/Autocomplete/Autocomplete.js +1 -1
  10. package/Avatar/Avatar.d.ts +1 -1
  11. package/Avatar/Avatar.js +1 -1
  12. package/AvatarGroup/AvatarGroup.d.ts +5 -0
  13. package/AvatarGroup/AvatarGroup.js +20 -5
  14. package/Backdrop/Backdrop.js +1 -1
  15. package/Badge/Badge.d.ts +25 -0
  16. package/Badge/Badge.js +41 -11
  17. package/BottomNavigation/BottomNavigation.js +1 -1
  18. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  19. package/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  20. package/Breadcrumbs/Breadcrumbs.js +1 -1
  21. package/Button/Button.js +16 -35
  22. package/ButtonBase/ButtonBase.d.ts +1 -1
  23. package/ButtonBase/ButtonBase.js +2 -2
  24. package/ButtonGroup/ButtonGroup.js +1 -1
  25. package/ButtonGroup/ButtonGroupContext.d.ts +1 -1
  26. package/CHANGELOG.md +271 -0
  27. package/Card/Card.js +1 -1
  28. package/CardActionArea/CardActionArea.js +1 -1
  29. package/CardActions/CardActions.js +1 -1
  30. package/CardContent/CardContent.js +1 -1
  31. package/CardHeader/CardHeader.js +1 -1
  32. package/CardMedia/CardMedia.js +1 -1
  33. package/Checkbox/Checkbox.js +1 -1
  34. package/Chip/Chip.js +1 -1
  35. package/CircularProgress/CircularProgress.js +1 -1
  36. package/Collapse/Collapse.d.ts +1 -1
  37. package/Collapse/Collapse.js +1 -1
  38. package/Container/Container.js +1 -1
  39. package/CssBaseline/CssBaseline.d.ts +1 -1
  40. package/Dialog/Dialog.d.ts +1 -1
  41. package/Dialog/Dialog.js +2 -2
  42. package/DialogActions/DialogActions.js +1 -1
  43. package/DialogContent/DialogContent.js +1 -1
  44. package/DialogContentText/DialogContentText.js +1 -1
  45. package/DialogTitle/DialogTitle.js +1 -1
  46. package/Divider/Divider.js +1 -1
  47. package/Drawer/Drawer.js +1 -1
  48. package/Fab/Fab.js +1 -1
  49. package/Fade/Fade.d.ts +1 -1
  50. package/FilledInput/FilledInput.js +1 -1
  51. package/FormControl/FormControl.js +1 -1
  52. package/FormControlLabel/FormControlLabel.js +1 -1
  53. package/FormGroup/FormGroup.js +1 -1
  54. package/FormHelperText/FormHelperText.js +1 -1
  55. package/FormLabel/FormLabel.js +1 -1
  56. package/GlobalStyles/GlobalStyles.d.ts +2 -1
  57. package/Grid/Grid.js +98 -69
  58. package/Grow/Grow.d.ts +1 -1
  59. package/Icon/Icon.js +1 -1
  60. package/IconButton/IconButton.js +1 -1
  61. package/ImageList/ImageList.js +1 -1
  62. package/ImageListItem/ImageListItem.js +1 -1
  63. package/ImageListItemBar/ImageListItemBar.js +1 -1
  64. package/Input/Input.js +1 -1
  65. package/InputAdornment/InputAdornment.js +1 -1
  66. package/InputBase/InputBase.d.ts +6 -0
  67. package/InputBase/InputBase.js +11 -3
  68. package/InputLabel/InputLabel.js +1 -1
  69. package/LinearProgress/LinearProgress.js +1 -1
  70. package/Link/Link.js +1 -1
  71. package/List/List.js +1 -1
  72. package/ListItem/ListItem.d.ts +1 -1
  73. package/ListItem/ListItem.js +1 -1
  74. package/ListItemAvatar/ListItemAvatar.js +1 -1
  75. package/ListItemButton/ListItemButton.d.ts +1 -1
  76. package/ListItemButton/ListItemButton.js +2 -2
  77. package/ListItemIcon/ListItemIcon.js +1 -1
  78. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  79. package/ListItemText/ListItemText.js +1 -1
  80. package/ListSubheader/ListSubheader.js +1 -1
  81. package/Menu/Menu.d.ts +1 -1
  82. package/Menu/Menu.js +2 -2
  83. package/MenuItem/MenuItem.d.ts +1 -1
  84. package/MenuItem/MenuItem.js +2 -2
  85. package/MobileStepper/MobileStepper.js +1 -1
  86. package/Modal/Modal.js +1 -1
  87. package/NativeSelect/NativeSelect.js +1 -1
  88. package/OutlinedInput/OutlinedInput.js +15 -2
  89. package/Pagination/Pagination.js +1 -1
  90. package/PaginationItem/PaginationItem.js +1 -1
  91. package/Paper/Paper.js +1 -1
  92. package/Popover/Popover.d.ts +1 -1
  93. package/Popover/Popover.js +2 -2
  94. package/README.md +19 -31
  95. package/Radio/Radio.js +1 -1
  96. package/Rating/Rating.js +1 -1
  97. package/Select/Select.js +1 -1
  98. package/Select/SelectInput.js +13 -1
  99. package/Skeleton/Skeleton.js +1 -1
  100. package/Slide/Slide.d.ts +1 -1
  101. package/Slider/Slider.js +1 -1
  102. package/Snackbar/Snackbar.d.ts +1 -1
  103. package/Snackbar/Snackbar.js +2 -2
  104. package/SnackbarContent/SnackbarContent.js +1 -1
  105. package/SpeedDial/SpeedDial.d.ts +1 -1
  106. package/SpeedDial/SpeedDial.js +2 -2
  107. package/SpeedDialAction/SpeedDialAction.js +1 -1
  108. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  109. package/Stack/Stack.js +1 -1
  110. package/Step/Step.js +1 -1
  111. package/StepButton/StepButton.js +1 -1
  112. package/StepConnector/StepConnector.js +1 -1
  113. package/StepContent/StepContent.d.ts +1 -1
  114. package/StepContent/StepContent.js +2 -2
  115. package/StepIcon/StepIcon.js +1 -1
  116. package/StepLabel/StepLabel.js +1 -1
  117. package/Stepper/Stepper.js +1 -1
  118. package/SvgIcon/SvgIcon.js +1 -1
  119. package/Switch/Switch.js +1 -1
  120. package/Tab/Tab.js +1 -1
  121. package/TabScrollButton/TabScrollButton.js +1 -1
  122. package/Table/Table.js +1 -1
  123. package/TableBody/TableBody.js +1 -1
  124. package/TableCell/TableCell.js +1 -1
  125. package/TableContainer/TableContainer.js +1 -1
  126. package/TableFooter/TableFooter.js +1 -1
  127. package/TableHead/TableHead.js +1 -1
  128. package/TablePagination/TablePagination.js +1 -1
  129. package/TableRow/TableRow.js +1 -1
  130. package/TableSortLabel/TableSortLabel.js +1 -1
  131. package/Tabs/Tabs.d.ts +1 -1
  132. package/Tabs/Tabs.js +1 -1
  133. package/TextField/TextField.js +3 -10
  134. package/ToggleButton/ToggleButton.js +1 -1
  135. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  136. package/Toolbar/Toolbar.js +1 -1
  137. package/Tooltip/Tooltip.d.ts +1 -1
  138. package/Tooltip/Tooltip.js +2 -2
  139. package/Typography/Typography.js +1 -1
  140. package/Zoom/Zoom.d.ts +1 -1
  141. package/index.js +1 -1
  142. package/legacy/Accordion/Accordion.js +2 -2
  143. package/legacy/AccordionActions/AccordionActions.js +1 -1
  144. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  145. package/legacy/AccordionSummary/AccordionSummary.js +2 -2
  146. package/legacy/Alert/Alert.js +1 -3
  147. package/legacy/AlertTitle/AlertTitle.js +1 -1
  148. package/legacy/AppBar/AppBar.js +1 -1
  149. package/legacy/Autocomplete/Autocomplete.js +1 -1
  150. package/legacy/Avatar/Avatar.js +1 -1
  151. package/legacy/AvatarGroup/AvatarGroup.js +19 -4
  152. package/legacy/Backdrop/Backdrop.js +1 -1
  153. package/legacy/Badge/Badge.js +47 -12
  154. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  155. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  156. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  157. package/legacy/Button/Button.js +23 -35
  158. package/legacy/ButtonBase/ButtonBase.js +2 -2
  159. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  160. package/legacy/Card/Card.js +1 -1
  161. package/legacy/CardActionArea/CardActionArea.js +1 -1
  162. package/legacy/CardActions/CardActions.js +1 -1
  163. package/legacy/CardContent/CardContent.js +1 -1
  164. package/legacy/CardHeader/CardHeader.js +1 -1
  165. package/legacy/CardMedia/CardMedia.js +1 -1
  166. package/legacy/Checkbox/Checkbox.js +1 -1
  167. package/legacy/Chip/Chip.js +1 -1
  168. package/legacy/CircularProgress/CircularProgress.js +1 -1
  169. package/legacy/Collapse/Collapse.js +1 -1
  170. package/legacy/Container/Container.js +1 -1
  171. package/legacy/Dialog/Dialog.js +2 -2
  172. package/legacy/DialogActions/DialogActions.js +1 -1
  173. package/legacy/DialogContent/DialogContent.js +1 -1
  174. package/legacy/DialogContentText/DialogContentText.js +1 -1
  175. package/legacy/DialogTitle/DialogTitle.js +1 -1
  176. package/legacy/Divider/Divider.js +1 -1
  177. package/legacy/Drawer/Drawer.js +1 -1
  178. package/legacy/Fab/Fab.js +1 -1
  179. package/legacy/FilledInput/FilledInput.js +1 -1
  180. package/legacy/FormControl/FormControl.js +1 -1
  181. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  182. package/legacy/FormGroup/FormGroup.js +1 -1
  183. package/legacy/FormHelperText/FormHelperText.js +1 -1
  184. package/legacy/FormLabel/FormLabel.js +1 -1
  185. package/legacy/Grid/Grid.js +109 -81
  186. package/legacy/Icon/Icon.js +1 -1
  187. package/legacy/IconButton/IconButton.js +1 -1
  188. package/legacy/ImageList/ImageList.js +1 -1
  189. package/legacy/ImageListItem/ImageListItem.js +1 -1
  190. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  191. package/legacy/Input/Input.js +1 -1
  192. package/legacy/InputAdornment/InputAdornment.js +1 -1
  193. package/legacy/InputBase/InputBase.js +11 -3
  194. package/legacy/InputLabel/InputLabel.js +1 -1
  195. package/legacy/LinearProgress/LinearProgress.js +1 -1
  196. package/legacy/Link/Link.js +1 -1
  197. package/legacy/List/List.js +1 -1
  198. package/legacy/ListItem/ListItem.js +1 -1
  199. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  200. package/legacy/ListItemButton/ListItemButton.js +2 -2
  201. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  202. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  203. package/legacy/ListItemText/ListItemText.js +1 -1
  204. package/legacy/ListSubheader/ListSubheader.js +1 -1
  205. package/legacy/Menu/Menu.js +2 -2
  206. package/legacy/MenuItem/MenuItem.js +2 -2
  207. package/legacy/MobileStepper/MobileStepper.js +1 -1
  208. package/legacy/Modal/Modal.js +1 -1
  209. package/legacy/NativeSelect/NativeSelect.js +1 -1
  210. package/legacy/OutlinedInput/OutlinedInput.js +15 -2
  211. package/legacy/Pagination/Pagination.js +1 -1
  212. package/legacy/PaginationItem/PaginationItem.js +1 -1
  213. package/legacy/Paper/Paper.js +1 -1
  214. package/legacy/Popover/Popover.js +2 -2
  215. package/legacy/Radio/Radio.js +1 -1
  216. package/legacy/Rating/Rating.js +1 -1
  217. package/legacy/Select/Select.js +1 -1
  218. package/legacy/Select/SelectInput.js +13 -3
  219. package/legacy/Skeleton/Skeleton.js +1 -1
  220. package/legacy/Slider/Slider.js +1 -1
  221. package/legacy/Snackbar/Snackbar.js +2 -2
  222. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  223. package/legacy/SpeedDial/SpeedDial.js +2 -2
  224. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  225. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  226. package/legacy/Stack/Stack.js +1 -1
  227. package/legacy/Step/Step.js +1 -1
  228. package/legacy/StepButton/StepButton.js +1 -1
  229. package/legacy/StepConnector/StepConnector.js +1 -1
  230. package/legacy/StepContent/StepContent.js +2 -2
  231. package/legacy/StepIcon/StepIcon.js +1 -1
  232. package/legacy/StepLabel/StepLabel.js +1 -1
  233. package/legacy/Stepper/Stepper.js +1 -1
  234. package/legacy/SvgIcon/SvgIcon.js +1 -1
  235. package/legacy/Switch/Switch.js +1 -1
  236. package/legacy/Tab/Tab.js +1 -1
  237. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  238. package/legacy/Table/Table.js +1 -1
  239. package/legacy/TableBody/TableBody.js +1 -1
  240. package/legacy/TableCell/TableCell.js +1 -1
  241. package/legacy/TableContainer/TableContainer.js +1 -1
  242. package/legacy/TableFooter/TableFooter.js +1 -1
  243. package/legacy/TableHead/TableHead.js +1 -1
  244. package/legacy/TablePagination/TablePagination.js +1 -1
  245. package/legacy/TableRow/TableRow.js +1 -1
  246. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  247. package/legacy/Tabs/Tabs.js +1 -1
  248. package/legacy/TextField/TextField.js +3 -10
  249. package/legacy/ToggleButton/ToggleButton.js +1 -1
  250. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  251. package/legacy/Toolbar/Toolbar.js +1 -1
  252. package/legacy/Tooltip/Tooltip.js +2 -2
  253. package/legacy/Typography/Typography.js +1 -1
  254. package/legacy/index.js +1 -1
  255. package/legacy/locale/index.js +264 -98
  256. package/locale/index.d.ts +2 -0
  257. package/locale/index.js +166 -6
  258. package/modern/Accordion/Accordion.js +2 -2
  259. package/modern/AccordionActions/AccordionActions.js +1 -1
  260. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  261. package/modern/AccordionSummary/AccordionSummary.js +2 -2
  262. package/modern/Alert/Alert.js +1 -3
  263. package/modern/AlertTitle/AlertTitle.js +1 -1
  264. package/modern/AppBar/AppBar.js +1 -1
  265. package/modern/Autocomplete/Autocomplete.js +1 -1
  266. package/modern/Avatar/Avatar.js +1 -1
  267. package/modern/AvatarGroup/AvatarGroup.js +20 -5
  268. package/modern/Backdrop/Backdrop.js +1 -1
  269. package/modern/Badge/Badge.js +41 -11
  270. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  271. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  272. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  273. package/modern/Button/Button.js +16 -35
  274. package/modern/ButtonBase/ButtonBase.js +2 -2
  275. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  276. package/modern/Card/Card.js +1 -1
  277. package/modern/CardActionArea/CardActionArea.js +1 -1
  278. package/modern/CardActions/CardActions.js +1 -1
  279. package/modern/CardContent/CardContent.js +1 -1
  280. package/modern/CardHeader/CardHeader.js +1 -1
  281. package/modern/CardMedia/CardMedia.js +1 -1
  282. package/modern/Checkbox/Checkbox.js +1 -1
  283. package/modern/Chip/Chip.js +1 -1
  284. package/modern/CircularProgress/CircularProgress.js +1 -1
  285. package/modern/Collapse/Collapse.js +1 -1
  286. package/modern/Container/Container.js +1 -1
  287. package/modern/Dialog/Dialog.js +2 -2
  288. package/modern/DialogActions/DialogActions.js +1 -1
  289. package/modern/DialogContent/DialogContent.js +1 -1
  290. package/modern/DialogContentText/DialogContentText.js +1 -1
  291. package/modern/DialogTitle/DialogTitle.js +1 -1
  292. package/modern/Divider/Divider.js +1 -1
  293. package/modern/Drawer/Drawer.js +1 -1
  294. package/modern/Fab/Fab.js +1 -1
  295. package/modern/FilledInput/FilledInput.js +1 -1
  296. package/modern/FormControl/FormControl.js +1 -1
  297. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  298. package/modern/FormGroup/FormGroup.js +1 -1
  299. package/modern/FormHelperText/FormHelperText.js +1 -1
  300. package/modern/FormLabel/FormLabel.js +1 -1
  301. package/modern/Grid/Grid.js +98 -69
  302. package/modern/Icon/Icon.js +1 -1
  303. package/modern/IconButton/IconButton.js +1 -1
  304. package/modern/ImageList/ImageList.js +1 -1
  305. package/modern/ImageListItem/ImageListItem.js +1 -1
  306. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  307. package/modern/Input/Input.js +1 -1
  308. package/modern/InputAdornment/InputAdornment.js +1 -1
  309. package/modern/InputBase/InputBase.js +11 -3
  310. package/modern/InputLabel/InputLabel.js +1 -1
  311. package/modern/LinearProgress/LinearProgress.js +1 -1
  312. package/modern/Link/Link.js +1 -1
  313. package/modern/List/List.js +1 -1
  314. package/modern/ListItem/ListItem.js +1 -1
  315. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  316. package/modern/ListItemButton/ListItemButton.js +2 -2
  317. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  318. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  319. package/modern/ListItemText/ListItemText.js +1 -1
  320. package/modern/ListSubheader/ListSubheader.js +1 -1
  321. package/modern/Menu/Menu.js +2 -2
  322. package/modern/MenuItem/MenuItem.js +2 -2
  323. package/modern/MobileStepper/MobileStepper.js +1 -1
  324. package/modern/Modal/Modal.js +1 -1
  325. package/modern/NativeSelect/NativeSelect.js +1 -1
  326. package/modern/OutlinedInput/OutlinedInput.js +15 -2
  327. package/modern/Pagination/Pagination.js +1 -1
  328. package/modern/PaginationItem/PaginationItem.js +1 -1
  329. package/modern/Paper/Paper.js +1 -1
  330. package/modern/Popover/Popover.js +2 -2
  331. package/modern/Radio/Radio.js +1 -1
  332. package/modern/Rating/Rating.js +1 -1
  333. package/modern/Select/Select.js +1 -1
  334. package/modern/Select/SelectInput.js +13 -1
  335. package/modern/Skeleton/Skeleton.js +1 -1
  336. package/modern/Slider/Slider.js +1 -1
  337. package/modern/Snackbar/Snackbar.js +2 -2
  338. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  339. package/modern/SpeedDial/SpeedDial.js +2 -2
  340. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  341. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  342. package/modern/Stack/Stack.js +1 -1
  343. package/modern/Step/Step.js +1 -1
  344. package/modern/StepButton/StepButton.js +1 -1
  345. package/modern/StepConnector/StepConnector.js +1 -1
  346. package/modern/StepContent/StepContent.js +2 -2
  347. package/modern/StepIcon/StepIcon.js +1 -1
  348. package/modern/StepLabel/StepLabel.js +1 -1
  349. package/modern/Stepper/Stepper.js +1 -1
  350. package/modern/SvgIcon/SvgIcon.js +1 -1
  351. package/modern/Switch/Switch.js +1 -1
  352. package/modern/Tab/Tab.js +1 -1
  353. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  354. package/modern/Table/Table.js +1 -1
  355. package/modern/TableBody/TableBody.js +1 -1
  356. package/modern/TableCell/TableCell.js +1 -1
  357. package/modern/TableContainer/TableContainer.js +1 -1
  358. package/modern/TableFooter/TableFooter.js +1 -1
  359. package/modern/TableHead/TableHead.js +1 -1
  360. package/modern/TablePagination/TablePagination.js +1 -1
  361. package/modern/TableRow/TableRow.js +1 -1
  362. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  363. package/modern/Tabs/Tabs.js +1 -1
  364. package/modern/TextField/TextField.js +3 -8
  365. package/modern/ToggleButton/ToggleButton.js +1 -1
  366. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  367. package/modern/Toolbar/Toolbar.js +1 -1
  368. package/modern/Tooltip/Tooltip.js +2 -2
  369. package/modern/Typography/Typography.js +1 -1
  370. package/modern/index.js +1 -1
  371. package/modern/locale/index.js +166 -6
  372. package/node/Accordion/Accordion.js +2 -2
  373. package/node/AccordionActions/AccordionActions.js +1 -1
  374. package/node/AccordionDetails/AccordionDetails.js +1 -1
  375. package/node/AccordionSummary/AccordionSummary.js +2 -2
  376. package/node/Alert/Alert.js +1 -3
  377. package/node/AlertTitle/AlertTitle.js +1 -1
  378. package/node/AppBar/AppBar.js +1 -1
  379. package/node/Autocomplete/Autocomplete.js +1 -1
  380. package/node/Avatar/Avatar.js +1 -1
  381. package/node/AvatarGroup/AvatarGroup.js +20 -5
  382. package/node/Backdrop/Backdrop.js +1 -1
  383. package/node/Badge/Badge.js +41 -11
  384. package/node/BottomNavigation/BottomNavigation.js +1 -1
  385. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  386. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  387. package/node/Button/Button.js +17 -34
  388. package/node/ButtonBase/ButtonBase.js +2 -2
  389. package/node/ButtonGroup/ButtonGroup.js +1 -1
  390. package/node/Card/Card.js +1 -1
  391. package/node/CardActionArea/CardActionArea.js +1 -1
  392. package/node/CardActions/CardActions.js +1 -1
  393. package/node/CardContent/CardContent.js +1 -1
  394. package/node/CardHeader/CardHeader.js +1 -1
  395. package/node/CardMedia/CardMedia.js +1 -1
  396. package/node/Checkbox/Checkbox.js +1 -1
  397. package/node/Chip/Chip.js +1 -1
  398. package/node/CircularProgress/CircularProgress.js +1 -1
  399. package/node/Collapse/Collapse.js +1 -1
  400. package/node/Container/Container.js +1 -1
  401. package/node/Dialog/Dialog.js +2 -2
  402. package/node/DialogActions/DialogActions.js +1 -1
  403. package/node/DialogContent/DialogContent.js +1 -1
  404. package/node/DialogContentText/DialogContentText.js +1 -1
  405. package/node/DialogTitle/DialogTitle.js +1 -1
  406. package/node/Divider/Divider.js +1 -1
  407. package/node/Drawer/Drawer.js +1 -1
  408. package/node/Fab/Fab.js +1 -1
  409. package/node/FilledInput/FilledInput.js +1 -1
  410. package/node/FormControl/FormControl.js +1 -1
  411. package/node/FormControlLabel/FormControlLabel.js +1 -1
  412. package/node/FormGroup/FormGroup.js +1 -1
  413. package/node/FormHelperText/FormHelperText.js +1 -1
  414. package/node/FormLabel/FormLabel.js +1 -1
  415. package/node/Grid/Grid.js +101 -68
  416. package/node/Icon/Icon.js +1 -1
  417. package/node/IconButton/IconButton.js +1 -1
  418. package/node/ImageList/ImageList.js +1 -1
  419. package/node/ImageListItem/ImageListItem.js +1 -1
  420. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  421. package/node/Input/Input.js +1 -1
  422. package/node/InputAdornment/InputAdornment.js +1 -1
  423. package/node/InputBase/InputBase.js +11 -3
  424. package/node/InputLabel/InputLabel.js +1 -1
  425. package/node/LinearProgress/LinearProgress.js +1 -1
  426. package/node/Link/Link.js +1 -1
  427. package/node/List/List.js +1 -1
  428. package/node/ListItem/ListItem.js +1 -1
  429. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  430. package/node/ListItemButton/ListItemButton.js +2 -2
  431. package/node/ListItemIcon/ListItemIcon.js +1 -1
  432. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  433. package/node/ListItemText/ListItemText.js +1 -1
  434. package/node/ListSubheader/ListSubheader.js +1 -1
  435. package/node/Menu/Menu.js +2 -2
  436. package/node/MenuItem/MenuItem.js +2 -2
  437. package/node/MobileStepper/MobileStepper.js +1 -1
  438. package/node/Modal/Modal.js +1 -1
  439. package/node/NativeSelect/NativeSelect.js +1 -1
  440. package/node/OutlinedInput/OutlinedInput.js +16 -2
  441. package/node/Pagination/Pagination.js +1 -1
  442. package/node/PaginationItem/PaginationItem.js +1 -1
  443. package/node/Paper/Paper.js +1 -1
  444. package/node/Popover/Popover.js +2 -2
  445. package/node/Radio/Radio.js +1 -1
  446. package/node/Rating/Rating.js +1 -1
  447. package/node/Select/Select.js +1 -1
  448. package/node/Select/SelectInput.js +13 -1
  449. package/node/Skeleton/Skeleton.js +1 -1
  450. package/node/Slider/Slider.js +1 -1
  451. package/node/Snackbar/Snackbar.js +2 -2
  452. package/node/SnackbarContent/SnackbarContent.js +1 -1
  453. package/node/SpeedDial/SpeedDial.js +2 -2
  454. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  455. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  456. package/node/Stack/Stack.js +1 -1
  457. package/node/Step/Step.js +1 -1
  458. package/node/StepButton/StepButton.js +1 -1
  459. package/node/StepConnector/StepConnector.js +1 -1
  460. package/node/StepContent/StepContent.js +2 -2
  461. package/node/StepIcon/StepIcon.js +1 -1
  462. package/node/StepLabel/StepLabel.js +1 -1
  463. package/node/Stepper/Stepper.js +1 -1
  464. package/node/SvgIcon/SvgIcon.js +1 -1
  465. package/node/Switch/Switch.js +1 -1
  466. package/node/Tab/Tab.js +1 -1
  467. package/node/TabScrollButton/TabScrollButton.js +1 -1
  468. package/node/Table/Table.js +1 -1
  469. package/node/TableBody/TableBody.js +1 -1
  470. package/node/TableCell/TableCell.js +1 -1
  471. package/node/TableContainer/TableContainer.js +1 -1
  472. package/node/TableFooter/TableFooter.js +1 -1
  473. package/node/TableHead/TableHead.js +1 -1
  474. package/node/TablePagination/TablePagination.js +1 -1
  475. package/node/TableRow/TableRow.js +1 -1
  476. package/node/TableSortLabel/TableSortLabel.js +1 -1
  477. package/node/Tabs/Tabs.js +1 -1
  478. package/node/TextField/TextField.js +2 -9
  479. package/node/ToggleButton/ToggleButton.js +1 -1
  480. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  481. package/node/Toolbar/Toolbar.js +1 -1
  482. package/node/Tooltip/Tooltip.js +2 -2
  483. package/node/Typography/Typography.js +1 -1
  484. package/node/index.js +1 -1
  485. package/node/locale/index.js +169 -7
  486. package/package.json +5 -5
  487. package/styles/createTheme.d.ts +1 -1
  488. package/styles/cssUtils.d.ts +32 -0
  489. package/styles/index.d.ts +1 -0
  490. package/transitions/transition.d.ts +1 -2
  491. package/umd/material-ui.development.js +1086 -978
  492. package/umd/material-ui.production.min.js +21 -21
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.2.2
1
+ /** @license MUI v5.2.6
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,20 +743,21 @@
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
 
756
756
  var fixedElements = /* #__PURE__ */new WeakMap();
757
757
  var compat = function compat(element) {
758
- if (element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not
759
- !element.length) {
758
+ if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
759
+ // negative .length indicates that this rule has been already prefixed
760
+ element.length < 1) {
760
761
  return;
761
762
  }
762
763
 
@@ -879,7 +880,7 @@
879
880
  };
880
881
  });
881
882
  });
882
- var defaultStylisPlugins = [ve];
883
+ var defaultStylisPlugins = [he];
883
884
 
884
885
  var createCache = function createCache(options) {
885
886
  var key = options.key;
@@ -955,7 +956,7 @@
955
956
 
956
957
  if (isBrowser$4) {
957
958
  var currentSheet;
958
- var finalizingPlugins = [fe, function (element) {
959
+ var finalizingPlugins = [oe, function (element) {
959
960
  if (!element.root) {
960
961
  if (element["return"]) {
961
962
  currentSheet.insert(element["return"]);
@@ -966,10 +967,10 @@
966
967
  }
967
968
  }
968
969
  } ];
969
- var serializer = oe(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
970
+ var serializer = le(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
970
971
 
971
972
  var stylis = function stylis(styles) {
972
- return ie(ae(styles), serializer);
973
+ return fe(ce(styles), serializer);
973
974
  };
974
975
 
975
976
  _insert = function insert(selector, serialized, sheet, shouldCache) {
@@ -990,12 +991,12 @@
990
991
  }
991
992
  };
992
993
  } else {
993
- var _finalizingPlugins = [fe];
994
+ var _finalizingPlugins = [oe];
994
995
 
995
- var _serializer = oe(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
996
+ var _serializer = le(omnipresentPlugins.concat(stylisPlugins, _finalizingPlugins));
996
997
 
997
998
  var _stylis = function _stylis(styles) {
998
- return ie(ae(styles), _serializer);
999
+ return fe(ce(styles), _serializer);
999
1000
  }; // $FlowFixMe
1000
1001
 
1001
1002
 
@@ -2008,7 +2009,7 @@
2008
2009
 
2009
2010
  var pkg = {
2010
2011
  name: "@emotion/react",
2011
- version: "11.7.0",
2012
+ version: "11.7.1",
2012
2013
  main: "dist/emotion-react.cjs.js",
2013
2014
  module: "dist/emotion-react.esm.js",
2014
2015
  browser: {
@@ -2035,7 +2036,7 @@
2035
2036
  },
2036
2037
  dependencies: {
2037
2038
  "@babel/runtime": "^7.13.10",
2038
- "@emotion/cache": "^11.6.0",
2039
+ "@emotion/cache": "^11.7.1",
2039
2040
  "@emotion/serialize": "^1.0.2",
2040
2041
  "@emotion/sheet": "^1.1.0",
2041
2042
  "@emotion/utils": "^1.0.0",
@@ -2056,8 +2057,8 @@
2056
2057
  },
2057
2058
  devDependencies: {
2058
2059
  "@babel/core": "^7.13.10",
2059
- "@emotion/css": "11.5.0",
2060
- "@emotion/css-prettifier": "1.0.0",
2060
+ "@emotion/css": "11.7.1",
2061
+ "@emotion/css-prettifier": "1.0.1",
2061
2062
  "@emotion/server": "11.4.0",
2062
2063
  "@emotion/styled": "11.6.0",
2063
2064
  "@types/react": "^16.9.11",
@@ -5434,6 +5435,23 @@
5434
5435
  validator.isRequired = requiredInteger;
5435
5436
  var integerPropType = validator;
5436
5437
 
5438
+ /**
5439
+ * Add keys, values of `defaultProps` that does not exist in `props`
5440
+ * @param {object} defaultProps
5441
+ * @param {object} props
5442
+ * @returns {object} resolved props
5443
+ */
5444
+ function resolveProps(defaultProps, props) {
5445
+ const output = _extends({}, props);
5446
+
5447
+ Object.keys(defaultProps).forEach(propName => {
5448
+ if (output[propName] === undefined) {
5449
+ output[propName] = defaultProps[propName];
5450
+ }
5451
+ });
5452
+ return output;
5453
+ }
5454
+
5437
5455
  function merge(acc, item) {
5438
5456
  if (!item) {
5439
5457
  return acc;
@@ -6446,6 +6464,21 @@
6446
6464
  return up(key);
6447
6465
  }
6448
6466
 
6467
+ function not(key) {
6468
+ // handle first and last key separately, for better readability
6469
+ const keyIndex = keys.indexOf(key);
6470
+
6471
+ if (keyIndex === 0) {
6472
+ return up(keys[1]);
6473
+ }
6474
+
6475
+ if (keyIndex === keys.length - 1) {
6476
+ return down(keys[keyIndex]);
6477
+ }
6478
+
6479
+ return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
6480
+ }
6481
+
6449
6482
  return _extends({
6450
6483
  keys,
6451
6484
  values,
@@ -6453,6 +6486,7 @@
6453
6486
  down,
6454
6487
  between,
6455
6488
  only,
6489
+ not,
6456
6490
  unit
6457
6491
  }, other);
6458
6492
  }
@@ -6906,7 +6940,6 @@
6906
6940
  };
6907
6941
  }
6908
6942
 
6909
- /* eslint-disable no-restricted-syntax */
6910
6943
  function getThemeProps(params) {
6911
6944
  const {
6912
6945
  theme,
@@ -6918,20 +6951,7 @@
6918
6951
  return props;
6919
6952
  }
6920
6953
 
6921
- const output = _extends({}, props); // Resolve default props, code borrow from React source.
6922
- // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221
6923
-
6924
-
6925
- const defaultProps = theme.components[name].defaultProps;
6926
- let propName;
6927
-
6928
- for (propName in defaultProps) {
6929
- if (output[propName] === undefined) {
6930
- output[propName] = defaultProps[propName];
6931
- }
6932
- }
6933
-
6934
- return output;
6954
+ return resolveProps(theme.components[name].defaultProps, props);
6935
6955
  }
6936
6956
 
6937
6957
  function useThemeProps$1({
@@ -7369,6 +7389,49 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7369
7389
  return theme;
7370
7390
  }
7371
7391
 
7392
+ /**
7393
+ * Determines if a given element is a DOM element name (i.e. not a React component).
7394
+ */
7395
+ function isHostComponent(element) {
7396
+ return typeof element === 'string';
7397
+ }
7398
+
7399
+ /**
7400
+ * Appends the ownerState object to the props, merging with the existing one if necessary.
7401
+ *
7402
+ * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
7403
+ * @param existingProps Props of the element.
7404
+ * @param ownerState
7405
+ */
7406
+
7407
+ function appendOwnerState(elementType, existingProps = {}, ownerState) {
7408
+ if (isHostComponent(elementType)) {
7409
+ return existingProps;
7410
+ }
7411
+
7412
+ return _extends({}, existingProps, {
7413
+ ownerState: _extends({}, existingProps.ownerState, ownerState)
7414
+ });
7415
+ }
7416
+
7417
+ /**
7418
+ * Extracts event handlers from a given object.
7419
+ * A prop is considered an event handler if it is a function and its name starts with `on`.
7420
+ *
7421
+ * @param object An object to extract event handlers from.
7422
+ */
7423
+ function extractEventHandlers(object, excludeKeys = []) {
7424
+ if (object === undefined) {
7425
+ return {};
7426
+ }
7427
+
7428
+ const result = {};
7429
+ Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
7430
+ result[prop] = object[prop];
7431
+ });
7432
+ return result;
7433
+ }
7434
+
7372
7435
  // Give up on IE11 support for this feature
7373
7436
 
7374
7437
  function stripDiacritics(string) {
@@ -8328,7 +8391,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8328
8391
  // only have an opinion about this when closed
8329
8392
  'aria-activedescendant': popupOpen ? '' : null,
8330
8393
  'aria-autocomplete': autoComplete ? 'both' : 'list',
8331
- 'aria-controls': listboxAvailable ? `${id}-listbox` : null,
8394
+ 'aria-controls': listboxAvailable ? `${id}-listbox` : undefined,
8332
8395
  // Disable browser's suggestion that might overlap with the popup.
8333
8396
  // Handle autocomplete but not autofill.
8334
8397
  autoComplete: 'off',
@@ -8414,13 +8477,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8414
8477
  return output;
8415
8478
  }
8416
8479
 
8417
- /**
8418
- * Determines if a given element is a DOM element name (i.e. not a React component).
8419
- */
8420
- function isHostComponent(element) {
8421
- return typeof element === 'string';
8422
- }
8423
-
8424
8480
  const defaultGenerator = componentName => componentName;
8425
8481
 
8426
8482
  const createClassNameGenerator = () => {
@@ -8575,25 +8631,70 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8575
8631
  } ;
8576
8632
  var BackdropUnstyled$1 = BackdropUnstyled;
8577
8633
 
8634
+ function useBadge(props) {
8635
+ const {
8636
+ anchorOrigin: anchorOriginProp = {
8637
+ vertical: 'top',
8638
+ horizontal: 'right'
8639
+ },
8640
+ badgeContent: badgeContentProp,
8641
+ invisible: invisibleProp,
8642
+ max: maxProp = 99,
8643
+ showZero = false,
8644
+ variant: variantProp = 'standard'
8645
+ } = props;
8646
+ const prevProps = usePreviousProps$1({
8647
+ anchorOrigin: anchorOriginProp,
8648
+ badgeContent: badgeContentProp,
8649
+ max: maxProp,
8650
+ variant: variantProp
8651
+ });
8652
+ let invisible = invisibleProp;
8653
+
8654
+ if (invisibleProp == null && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
8655
+ invisible = true;
8656
+ }
8657
+
8658
+ const {
8659
+ anchorOrigin = anchorOriginProp,
8660
+ badgeContent,
8661
+ max = maxProp,
8662
+ variant = variantProp
8663
+ } = invisible ? prevProps : props;
8664
+ let displayValue = '';
8665
+
8666
+ if (variant !== 'dot') {
8667
+ displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
8668
+ }
8669
+
8670
+ return {
8671
+ anchorOrigin,
8672
+ badgeContent,
8673
+ invisible,
8674
+ max,
8675
+ variant,
8676
+ displayValue
8677
+ };
8678
+ }
8679
+
8578
8680
  function getBadgeUtilityClass(slot) {
8579
8681
  return generateUtilityClass('MuiBadge', slot);
8580
8682
  }
8581
- const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
8683
+ const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeft', 'anchorOriginTopRight', 'anchorOriginBottomLeft', 'anchorOriginBottomRight', 'invisible']);
8582
8684
  var badgeUnstyledClasses$1 = badgeUnstyledClasses;
8583
8685
 
8584
- const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
8686
+ const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero", "variant"];
8585
8687
 
8586
8688
  const useUtilityClasses$1S = ownerState => {
8587
8689
  const {
8588
8690
  variant,
8589
8691
  anchorOrigin,
8590
- overlap,
8591
8692
  invisible,
8592
8693
  classes
8593
8694
  } = ownerState;
8594
8695
  const slots = {
8595
8696
  root: ['root'],
8596
- badge: ['badge', variant, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`, invisible && 'invisible']
8697
+ badge: ['badge', variant, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, invisible && 'invisible']
8597
8698
  };
8598
8699
  return composeClasses(slots, getBadgeUtilityClass, classes);
8599
8700
  };
@@ -8605,43 +8706,29 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8605
8706
  horizontal: 'right'
8606
8707
  },
8607
8708
  classes: classesProp,
8608
- badgeContent: badgeContentProp,
8609
- component = 'span',
8709
+ component,
8610
8710
  children,
8611
8711
  className,
8612
8712
  components = {},
8613
8713
  componentsProps = {},
8614
- invisible: invisibleProp,
8615
8714
  max: maxProp = 99,
8616
- overlap: overlapProp = 'rectangular',
8617
8715
  showZero = false,
8618
- variant: variantProp = 'standard',
8619
-
8620
- /* eslint-disable react/prop-types */
8621
- theme
8716
+ variant: variantProp = 'standard'
8622
8717
  } = props,
8623
8718
  other = _objectWithoutPropertiesLoose(props, _excluded$2l);
8624
8719
 
8625
- const prevProps = usePreviousProps$1({
8720
+ const {
8721
+ anchorOrigin,
8722
+ badgeContent,
8723
+ max,
8724
+ variant,
8725
+ displayValue,
8726
+ invisible
8727
+ } = useBadge(_extends({}, props, {
8626
8728
  anchorOrigin: anchorOriginProp,
8627
- badgeContent: badgeContentProp,
8628
8729
  max: maxProp,
8629
- overlap: overlapProp,
8630
8730
  variant: variantProp
8631
- });
8632
- let invisible = invisibleProp;
8633
-
8634
- if (invisibleProp == null && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
8635
- invisible = true;
8636
- }
8637
-
8638
- const {
8639
- anchorOrigin = anchorOriginProp,
8640
- badgeContent,
8641
- max = maxProp,
8642
- overlap = overlapProp,
8643
- variant = variantProp
8644
- } = invisible ? prevProps : props;
8731
+ }));
8645
8732
 
8646
8733
  const ownerState = _extends({}, props, {
8647
8734
  anchorOrigin,
@@ -8649,33 +8736,20 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8649
8736
  classes: classesProp,
8650
8737
  invisible,
8651
8738
  max,
8652
- overlap,
8653
- variant
8739
+ variant,
8740
+ showZero
8654
8741
  });
8655
8742
 
8656
- let displayValue = '';
8657
-
8658
- if (variant !== 'dot') {
8659
- displayValue = badgeContent > max ? `${max}+` : badgeContent;
8660
- }
8661
-
8662
8743
  const classes = useUtilityClasses$1S(ownerState);
8663
- const Root = components.Root || component;
8664
- const rootProps = componentsProps.root || {};
8744
+ const Root = component || components.Root || 'span';
8745
+ const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
8665
8746
  const Badge = components.Badge || 'span';
8666
- const badgeProps = componentsProps.badge || {};
8667
- return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
8668
- as: component,
8669
- ownerState: _extends({}, ownerState, rootProps.ownerState),
8670
- theme
8671
- }, {
8747
+ const badgeProps = appendOwnerState(Badge, componentsProps.badge, ownerState);
8748
+ return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
8672
8749
  ref: ref
8673
8750
  }, other, {
8674
8751
  className: clsx(classes.root, rootProps.className, className),
8675
- children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, !isHostComponent(Badge) && {
8676
- ownerState: _extends({}, ownerState, badgeProps.ownerState),
8677
- theme
8678
- }, {
8752
+ children: [children, /*#__PURE__*/jsxRuntime_1(Badge, _extends({}, badgeProps, {
8679
8753
  className: clsx(classes.badge, badgeProps.className),
8680
8754
  children: displayValue
8681
8755
  }))]
@@ -8754,12 +8828,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8754
8828
  */
8755
8829
  max: propTypes.number,
8756
8830
 
8757
- /**
8758
- * Wrapped shape the badge should overlap.
8759
- * @default 'rectangular'
8760
- */
8761
- overlap: propTypes.oneOf(['circular', 'rectangular']),
8762
-
8763
8831
  /**
8764
8832
  * Controls whether the badge is hidden when `badgeContent` is zero.
8765
8833
  * @default false
@@ -8780,24 +8848,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8780
8848
  const buttonUnstyledClasses = generateUtilityClasses('ButtonUnstyled', ['root', 'active', 'disabled', 'focusVisible']);
8781
8849
  var buttonUnstyledClasses$1 = buttonUnstyledClasses;
8782
8850
 
8783
- /**
8784
- * Extracts event handlers from a given object.
8785
- * A prop is considered an event handler if it is a function and its name starts with `on`.
8786
- *
8787
- * @param object An object to extract event handlers from.
8788
- */
8789
- function extractEventHandlers(object, excludeKeys = []) {
8790
- if (object === undefined) {
8791
- return {};
8792
- }
8793
-
8794
- const result = {};
8795
- Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
8796
- result[prop] = object[prop];
8797
- });
8798
- return result;
8799
- }
8800
-
8801
8851
  function useButton(props) {
8802
8852
  var _ref;
8803
8853
 
@@ -8999,24 +9049,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8999
9049
  };
9000
9050
  }
9001
9051
 
9002
- /**
9003
- * Appends the ownerState object to the props, merging with the existing one if necessary.
9004
- *
9005
- * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
9006
- * @param existingProps Props of the element.
9007
- * @param ownerState
9008
- */
9009
-
9010
- function appendOwnerState(elementType, existingProps, ownerState) {
9011
- if (isHostComponent(elementType)) {
9012
- return existingProps;
9013
- }
9014
-
9015
- return _extends({}, existingProps, {
9016
- ownerState: _extends({}, existingProps.ownerState, ownerState)
9017
- });
9018
- }
9019
-
9020
9052
  const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
9021
9053
 
9022
9054
  const useUtilityClasses$1R = ownerState => {
@@ -9153,6 +9185,192 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9153
9185
  } ;
9154
9186
  var ButtonUnstyled$1 = ButtonUnstyled;
9155
9187
 
9188
+ function mapEventPropToEvent(eventProp) {
9189
+ return eventProp.substring(2).toLowerCase();
9190
+ }
9191
+
9192
+ function clickedRootScrollbar(event, doc) {
9193
+ return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
9194
+ }
9195
+
9196
+ /**
9197
+ * Listen for click events that occur somewhere in the document, outside of the element itself.
9198
+ * For instance, if you need to hide a menu when people click anywhere else on your page.
9199
+ *
9200
+ * Demos:
9201
+ *
9202
+ * - [Click Away Listener](https://mui.com/components/click-away-listener/)
9203
+ * - [Menus](https://mui.com/components/menus/)
9204
+ *
9205
+ * API:
9206
+ *
9207
+ * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
9208
+ */
9209
+ function ClickAwayListener(props) {
9210
+ const {
9211
+ children,
9212
+ disableReactTree = false,
9213
+ mouseEvent = 'onClick',
9214
+ onClickAway,
9215
+ touchEvent = 'onTouchEnd'
9216
+ } = props;
9217
+ const movedRef = React__namespace.useRef(false);
9218
+ const nodeRef = React__namespace.useRef(null);
9219
+ const activatedRef = React__namespace.useRef(false);
9220
+ const syntheticEventRef = React__namespace.useRef(false);
9221
+ React__namespace.useEffect(() => {
9222
+ // Ensure that this component is not "activated" synchronously.
9223
+ // https://github.com/facebook/react/issues/20074
9224
+ setTimeout(() => {
9225
+ activatedRef.current = true;
9226
+ }, 0);
9227
+ return () => {
9228
+ activatedRef.current = false;
9229
+ };
9230
+ }, []);
9231
+ const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
9232
+ children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
9233
+ //
9234
+ // event.preventDefault() is meant to stop default behaviors like
9235
+ // clicking a checkbox to check it, hitting a button to submit a form,
9236
+ // and hitting left arrow to move the cursor in a text input etc.
9237
+ // Only special HTML elements have these default behaviors.
9238
+
9239
+ const handleClickAway = useEventCallback(event => {
9240
+ // Given developers can stop the propagation of the synthetic event,
9241
+ // we can only be confident with a positive value.
9242
+ const insideReactTree = syntheticEventRef.current;
9243
+ syntheticEventRef.current = false;
9244
+ const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
9245
+ // 2. The child might render null.
9246
+ // 3. Behave like a blur listener.
9247
+
9248
+ if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
9249
+ return;
9250
+ } // Do not act if user performed touchmove
9251
+
9252
+
9253
+ if (movedRef.current) {
9254
+ movedRef.current = false;
9255
+ return;
9256
+ }
9257
+
9258
+ let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
9259
+
9260
+ if (event.composedPath) {
9261
+ insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
9262
+ } else {
9263
+ insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9264
+ event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9265
+ event.target);
9266
+ }
9267
+
9268
+ if (!insideDOM && (disableReactTree || !insideReactTree)) {
9269
+ onClickAway(event);
9270
+ }
9271
+ }); // Keep track of mouse/touch events that bubbled up through the portal.
9272
+
9273
+ const createHandleSynthetic = handlerName => event => {
9274
+ syntheticEventRef.current = true;
9275
+ const childrenPropsHandler = children.props[handlerName];
9276
+
9277
+ if (childrenPropsHandler) {
9278
+ childrenPropsHandler(event);
9279
+ }
9280
+ };
9281
+
9282
+ const childrenProps = {
9283
+ ref: handleRef
9284
+ };
9285
+
9286
+ if (touchEvent !== false) {
9287
+ childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
9288
+ }
9289
+
9290
+ React__namespace.useEffect(() => {
9291
+ if (touchEvent !== false) {
9292
+ const mappedTouchEvent = mapEventPropToEvent(touchEvent);
9293
+ const doc = ownerDocument(nodeRef.current);
9294
+
9295
+ const handleTouchMove = () => {
9296
+ movedRef.current = true;
9297
+ };
9298
+
9299
+ doc.addEventListener(mappedTouchEvent, handleClickAway);
9300
+ doc.addEventListener('touchmove', handleTouchMove);
9301
+ return () => {
9302
+ doc.removeEventListener(mappedTouchEvent, handleClickAway);
9303
+ doc.removeEventListener('touchmove', handleTouchMove);
9304
+ };
9305
+ }
9306
+
9307
+ return undefined;
9308
+ }, [handleClickAway, touchEvent]);
9309
+
9310
+ if (mouseEvent !== false) {
9311
+ childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
9312
+ }
9313
+
9314
+ React__namespace.useEffect(() => {
9315
+ if (mouseEvent !== false) {
9316
+ const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
9317
+ const doc = ownerDocument(nodeRef.current);
9318
+ doc.addEventListener(mappedMouseEvent, handleClickAway);
9319
+ return () => {
9320
+ doc.removeEventListener(mappedMouseEvent, handleClickAway);
9321
+ };
9322
+ }
9323
+
9324
+ return undefined;
9325
+ }, [handleClickAway, mouseEvent]);
9326
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
9327
+ children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
9328
+ });
9329
+ }
9330
+
9331
+ ClickAwayListener.propTypes
9332
+ /* remove-proptypes */
9333
+ = {
9334
+ // ----------------------------- Warning --------------------------------
9335
+ // | These PropTypes are generated from the TypeScript type definitions |
9336
+ // | To update them edit TypeScript types and run "yarn proptypes" |
9337
+ // ----------------------------------------------------------------------
9338
+
9339
+ /**
9340
+ * The wrapped element.
9341
+ */
9342
+ children: elementAcceptingRef$1.isRequired,
9343
+
9344
+ /**
9345
+ * If `true`, the React tree is ignored and only the DOM tree is considered.
9346
+ * This prop changes how portaled elements are handled.
9347
+ * @default false
9348
+ */
9349
+ disableReactTree: propTypes.bool,
9350
+
9351
+ /**
9352
+ * The mouse event to listen to. You can disable the listener by providing `false`.
9353
+ * @default 'onClick'
9354
+ */
9355
+ mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
9356
+
9357
+ /**
9358
+ * Callback fired when a "click away" event is detected.
9359
+ */
9360
+ onClickAway: propTypes.func.isRequired,
9361
+
9362
+ /**
9363
+ * The touch event to listen to. You can disable the listener by providing `false`.
9364
+ * @default 'onTouchEnd'
9365
+ */
9366
+ touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
9367
+ } ;
9368
+
9369
+ {
9370
+ // eslint-disable-next-line
9371
+ ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
9372
+ }
9373
+
9156
9374
  /**
9157
9375
  * @ignore - internal component.
9158
9376
  */
@@ -9652,7 +9870,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9652
9870
  if (rows) {
9653
9871
  {
9654
9872
  if (minRows || maxRows) {
9655
- console.warn('Material-UI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
9873
+ console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
9656
9874
  }
9657
9875
  }
9658
9876
 
@@ -14556,220 +14774,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14556
14774
  } ;
14557
14775
  var SwitchUnstyled$1 = SwitchUnstyled;
14558
14776
 
14559
- const _excluded$2d = ["onChange", "maxRows", "minRows", "style", "value"];
14560
-
14561
- function getStyleValue(computedStyle, property) {
14562
- return parseInt(computedStyle[property], 10) || 0;
14777
+ function getTabPanelUnstyledUtilityClass(slot) {
14778
+ return generateUtilityClass('TabPanelUnstyled', slot);
14563
14779
  }
14564
-
14565
- const styles$5 = {
14566
- shadow: {
14567
- // Visibility needed to hide the extra text area on iPads
14568
- visibility: 'hidden',
14569
- // Remove from the content flow
14570
- position: 'absolute',
14571
- // Ignore the scrollbar width
14572
- overflow: 'hidden',
14573
- height: 0,
14574
- top: 0,
14575
- left: 0,
14576
- // Create a new layer, increase the isolation of the computed values
14577
- transform: 'translateZ(0)'
14578
- }
14579
- };
14580
- const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function TextareaAutosize(props, ref) {
14581
- const {
14582
- onChange,
14583
- maxRows,
14584
- minRows = 1,
14585
- style,
14586
- value
14587
- } = props,
14588
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
14589
-
14590
- const {
14591
- current: isControlled
14592
- } = React__namespace.useRef(value != null);
14593
- const inputRef = React__namespace.useRef(null);
14594
- const handleRef = useForkRef(ref, inputRef);
14595
- const shadowRef = React__namespace.useRef(null);
14596
- const renders = React__namespace.useRef(0);
14597
- const [state, setState] = React__namespace.useState({});
14598
- const syncHeight = React__namespace.useCallback(() => {
14599
- const input = inputRef.current;
14600
- const containerWindow = ownerWindow(input);
14601
- const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.
14602
-
14603
- if (computedStyle.width === '0px') {
14604
- return;
14605
- }
14606
-
14607
- const inputShallow = shadowRef.current;
14608
- inputShallow.style.width = computedStyle.width;
14609
- inputShallow.value = input.value || props.placeholder || 'x';
14610
-
14611
- if (inputShallow.value.slice(-1) === '\n') {
14612
- // Certain fonts which overflow the line height will cause the textarea
14613
- // to report a different scrollHeight depending on whether the last line
14614
- // is empty. Make it non-empty to avoid this issue.
14615
- inputShallow.value += ' ';
14616
- }
14617
-
14618
- const boxSizing = computedStyle['box-sizing'];
14619
- const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
14620
- const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content
14621
-
14622
- const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row
14623
-
14624
- inputShallow.value = 'x';
14625
- const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content
14626
-
14627
- let outerHeight = innerHeight;
14628
-
14629
- if (minRows) {
14630
- outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
14631
- }
14632
-
14633
- if (maxRows) {
14634
- outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
14635
- }
14636
-
14637
- outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.
14638
-
14639
- const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
14640
- const overflow = Math.abs(outerHeight - innerHeight) <= 1;
14641
- setState(prevState => {
14642
- // Need a large enough difference to update the height.
14643
- // This prevents infinite rendering loop.
14644
- if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {
14645
- renders.current += 1;
14646
- return {
14647
- overflow,
14648
- outerHeightStyle
14649
- };
14650
- }
14651
-
14652
- {
14653
- if (renders.current === 20) {
14654
- console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
14655
- }
14656
- }
14657
-
14658
- return prevState;
14659
- });
14660
- }, [maxRows, minRows, props.placeholder]);
14661
- React__namespace.useEffect(() => {
14662
- const handleResize = debounce$1(() => {
14663
- renders.current = 0;
14664
- syncHeight();
14665
- });
14666
- const containerWindow = ownerWindow(inputRef.current);
14667
- containerWindow.addEventListener('resize', handleResize);
14668
- let resizeObserver;
14669
-
14670
- if (typeof ResizeObserver !== 'undefined') {
14671
- resizeObserver = new ResizeObserver(handleResize);
14672
- resizeObserver.observe(inputRef.current);
14673
- }
14674
-
14675
- return () => {
14676
- handleResize.clear();
14677
- containerWindow.removeEventListener('resize', handleResize);
14678
-
14679
- if (resizeObserver) {
14680
- resizeObserver.disconnect();
14681
- }
14682
- };
14683
- }, [syncHeight]);
14684
- useEnhancedEffect$1(() => {
14685
- syncHeight();
14686
- });
14687
- React__namespace.useEffect(() => {
14688
- renders.current = 0;
14689
- }, [value]);
14690
-
14691
- const handleChange = event => {
14692
- renders.current = 0;
14693
-
14694
- if (!isControlled) {
14695
- syncHeight();
14696
- }
14697
-
14698
- if (onChange) {
14699
- onChange(event);
14700
- }
14701
- };
14702
-
14703
- return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
14704
- children: [/*#__PURE__*/jsxRuntime_1("textarea", _extends({
14705
- value: value,
14706
- onChange: handleChange,
14707
- ref: handleRef // Apply the rows prop to get a "correct" first SSR paint
14708
- ,
14709
- rows: minRows,
14710
- style: _extends({
14711
- height: state.outerHeightStyle,
14712
- // Need a large enough difference to allow scrolling.
14713
- // This prevents infinite rendering loop.
14714
- overflow: state.overflow ? 'hidden' : null
14715
- }, style)
14716
- }, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
14717
- "aria-hidden": true,
14718
- className: props.className,
14719
- readOnly: true,
14720
- ref: shadowRef,
14721
- tabIndex: -1,
14722
- style: _extends({}, styles$5.shadow, style, {
14723
- padding: 0
14724
- })
14725
- })]
14726
- });
14727
- });
14728
- TextareaAutosize.propTypes
14729
- /* remove-proptypes */
14730
- = {
14731
- // ----------------------------- Warning --------------------------------
14732
- // | These PropTypes are generated from the TypeScript type definitions |
14733
- // | To update them edit the d.ts file and run "yarn proptypes" |
14734
- // ----------------------------------------------------------------------
14735
-
14736
- /**
14737
- * @ignore
14738
- */
14739
- className: propTypes.string,
14740
-
14741
- /**
14742
- * Maximum number of rows to display.
14743
- */
14744
- maxRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
14745
-
14746
- /**
14747
- * Minimum number of rows to display.
14748
- * @default 1
14749
- */
14750
- minRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
14751
-
14752
- /**
14753
- * @ignore
14754
- */
14755
- onChange: propTypes.func,
14756
-
14757
- /**
14758
- * @ignore
14759
- */
14760
- placeholder: propTypes.string,
14761
-
14762
- /**
14763
- * @ignore
14764
- */
14765
- style: propTypes.object,
14766
-
14767
- /**
14768
- * @ignore
14769
- */
14770
- value: propTypes.oneOfType([propTypes.arrayOf(propTypes.string), propTypes.number, propTypes.string])
14771
- } ;
14772
- var TextareaAutosize$1 = TextareaAutosize;
14780
+ const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
14781
+ var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
14773
14782
 
14774
14783
  function getTabsUnstyledUtilityClass(slot) {
14775
14784
  return generateUtilityClass('TabsUnstyled', slot);
@@ -14863,7 +14872,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14863
14872
  }
14864
14873
  var Context$1 = Context;
14865
14874
 
14866
- const _excluded$2c = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
14875
+ const _excluded$2d = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
14867
14876
 
14868
14877
  const useUtilityClasses$1O = ownerState => {
14869
14878
  const {
@@ -14898,7 +14907,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14898
14907
  components = {},
14899
14908
  componentsProps = {}
14900
14909
  } = props,
14901
- other = _objectWithoutPropertiesLoose(props, _excluded$2c);
14910
+ other = _objectWithoutPropertiesLoose(props, _excluded$2d);
14902
14911
 
14903
14912
  const {
14904
14913
  tabsContextValue,
@@ -14997,101 +15006,46 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14997
15006
  } ;
14998
15007
  var TabsUnstyled$1 = TabsUnstyled;
14999
15008
 
15000
- function getTabUnstyledUtilityClass(slot) {
15001
- return generateUtilityClass('TabUnstyled', slot);
15002
- }
15003
- const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
15004
- var tabUnstyledClasses$1 = tabUnstyledClasses;
15005
-
15006
- const _excluded$2b = ["getRootProps"];
15007
-
15008
- const useTab = props => {
15009
+ const useTabPanel = props => {
15009
15010
  const {
15010
- value: valueProp,
15011
- onChange,
15012
- onClick,
15013
- onFocus
15011
+ value
15014
15012
  } = props;
15015
-
15016
- const _useButton = useButton(props),
15017
- {
15018
- getRootProps: getRootPropsButton
15019
- } = _useButton,
15020
- otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2b);
15021
-
15022
15013
  const context = useTabContext();
15023
15014
 
15024
15015
  if (context === null) {
15025
15016
  throw new Error('No TabContext provided');
15026
15017
  }
15027
15018
 
15028
- const value = valueProp != null ? valueProp : 0;
15029
- const selected = context.value === value;
15030
- const selectionFollowsFocus = context.selectionFollowsFocus;
15031
- const a11yAttributes = {
15032
- role: 'tab',
15033
- 'aria-controls': getPanelId(context, value),
15034
- id: getTabId(context, value),
15035
- 'aria-selected': selected,
15036
- disabled: otherButtonProps.disabled
15037
- };
15038
-
15039
- const handleFocus = event => {
15040
- if (selectionFollowsFocus && !selected) {
15041
- if (onChange) {
15042
- onChange(event, value);
15043
- }
15044
-
15045
- context.onSelected(event, value);
15046
- }
15047
-
15048
- if (onFocus) {
15049
- onFocus(event);
15050
- }
15051
- };
15052
-
15053
- const handleClick = event => {
15054
- if (!selected) {
15055
- if (onChange) {
15056
- onChange(event, value);
15057
- }
15058
-
15059
- context.onSelected(event, value);
15060
- }
15061
-
15062
- if (onClick) {
15063
- onClick(event);
15064
- }
15065
- };
15019
+ const hidden = value !== context.value;
15020
+ const id = getPanelId(context, value);
15021
+ const tabId = getTabId(context, value);
15066
15022
 
15067
- const getRootProps = otherHandlers => {
15068
- const buttonResolvedProps = getRootPropsButton(_extends({
15069
- onClick: handleClick,
15070
- onFocus: handleFocus
15071
- }, otherHandlers));
15072
- return _extends({}, buttonResolvedProps, a11yAttributes);
15023
+ const getRootProps = () => {
15024
+ return {
15025
+ 'aria-labelledby': tabId,
15026
+ hidden,
15027
+ id
15028
+ };
15073
15029
  };
15074
15030
 
15075
- return _extends({
15031
+ return {
15032
+ hidden,
15076
15033
  getRootProps
15077
- }, otherButtonProps, {
15078
- selected
15079
- });
15034
+ };
15080
15035
  };
15081
15036
 
15082
- var useTab$1 = useTab;
15037
+ var useTabPanel$1 = useTabPanel;
15083
15038
 
15084
- const _excluded$2a = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
15039
+ const _excluded$2c = ["children", "className", "value", "components", "componentsProps", "component"];
15085
15040
 
15086
15041
  const useUtilityClasses$1N = ownerState => {
15087
15042
  const {
15088
- selected,
15089
- disabled
15043
+ hidden
15090
15044
  } = ownerState;
15091
15045
  const slots = {
15092
- root: ['root', selected && 'selected', disabled && 'disabled']
15046
+ root: ['root', hidden && 'hidden']
15093
15047
  };
15094
- return composeClasses(slots, getTabUnstyledUtilityClass, {});
15048
+ return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
15095
15049
  };
15096
15050
  /**
15097
15051
  *
@@ -15101,59 +15055,43 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15101
15055
  *
15102
15056
  * API:
15103
15057
  *
15104
- * - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
15058
+ * - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
15105
15059
  */
15106
15060
 
15107
15061
 
15108
- const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
15062
+ const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
15109
15063
  var _ref, _componentsProps$root;
15110
15064
 
15111
15065
  const {
15112
- action,
15113
15066
  children,
15114
15067
  className,
15115
- disabled = false,
15116
- component,
15117
15068
  components = {},
15118
- componentsProps = {}
15069
+ componentsProps = {},
15070
+ component
15119
15071
  } = props,
15120
- other = _objectWithoutPropertiesLoose(props, _excluded$2a);
15072
+ other = _objectWithoutPropertiesLoose(props, _excluded$2c);
15121
15073
 
15122
- const tabRef = React__namespace.useRef();
15123
- const handleRef = useForkRef(tabRef, ref);
15124
15074
  const {
15125
- active,
15126
- focusVisible,
15127
- setFocusVisible,
15128
- selected,
15075
+ hidden,
15129
15076
  getRootProps
15130
- } = useTab$1(_extends({}, props, {
15131
- ref: handleRef
15132
- }));
15133
- React__namespace.useImperativeHandle(action, () => ({
15134
- focusVisible: () => {
15135
- setFocusVisible(true);
15136
- tabRef.current.focus();
15137
- }
15138
- }), [setFocusVisible]);
15077
+ } = useTabPanel$1(props);
15139
15078
 
15140
15079
  const ownerState = _extends({}, props, {
15141
- active,
15142
- focusVisible,
15143
- disabled,
15144
- selected
15080
+ hidden
15145
15081
  });
15146
15082
 
15147
15083
  const classes = useUtilityClasses$1N(ownerState);
15148
- const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
15149
- const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
15150
- return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
15151
- className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15084
+ const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15085
+ const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
15086
+ return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
15152
15087
  ref: ref,
15153
- children: children
15088
+ role: "tabpanel"
15089
+ }, tabPanelRootProps, {
15090
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15091
+ children: !hidden && children
15154
15092
  }));
15155
15093
  });
15156
- TabUnstyled.propTypes
15094
+ TabPanelUnstyled.propTypes
15157
15095
  /* remove-proptypes */
15158
15096
  = {
15159
15097
  // ----------------------------- Warning --------------------------------
@@ -15162,16 +15100,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15162
15100
  // ----------------------------------------------------------------------
15163
15101
 
15164
15102
  /**
15165
- * A ref for imperative actions. It currently only supports `focusVisible()` action.
15166
- */
15167
- action: propTypes.oneOfType([propTypes.func, propTypes.shape({
15168
- current: propTypes.shape({
15169
- focusVisible: propTypes.func.isRequired
15170
- })
15171
- })]),
15172
-
15173
- /**
15174
- * @ignore
15103
+ * The content of the component.
15175
15104
  */
15176
15105
  children: propTypes.node,
15177
15106
 
@@ -15187,7 +15116,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15187
15116
  component: propTypes.elementType,
15188
15117
 
15189
15118
  /**
15190
- * The components used for each slot inside the Tab.
15119
+ * The components used for each slot inside the TabPanel.
15191
15120
  * Either a string to use a HTML element or a component.
15192
15121
  * @default {}
15193
15122
  */
@@ -15196,38 +15125,17 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15196
15125
  }),
15197
15126
 
15198
15127
  /**
15199
- * The props used for each slot inside the Tab.
15128
+ * The props used for each slot inside the TabPanel.
15200
15129
  * @default {}
15201
15130
  */
15202
15131
  componentsProps: propTypes.object,
15203
15132
 
15204
15133
  /**
15205
- * If `true`, the component is disabled.
15206
- * @default false
15207
- */
15208
- disabled: propTypes.bool,
15209
-
15210
- /**
15211
- * Callback invoked when new value is being set.
15212
- */
15213
- onChange: propTypes.func,
15214
-
15215
- /**
15216
- * @ignore
15217
- */
15218
- onClick: propTypes.func,
15219
-
15220
- /**
15221
- * @ignore
15222
- */
15223
- onFocus: propTypes.func,
15224
-
15225
- /**
15226
- * You can provide your own value. Otherwise, we fall back to the child position index.
15134
+ * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
15227
15135
  */
15228
- value: propTypes.oneOfType([propTypes.number, propTypes.string])
15136
+ value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
15229
15137
  } ;
15230
- var TabUnstyled$1 = TabUnstyled;
15138
+ var TabPanelUnstyled$1 = TabPanelUnstyled;
15231
15139
 
15232
15140
  function getTabsListUnstyledUtilityClass(slot) {
15233
15141
  return generateUtilityClass('TabsListUnstyled', slot);
@@ -15425,7 +15333,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15425
15333
 
15426
15334
  var useTabsList$1 = useTabsList;
15427
15335
 
15428
- const _excluded$29 = ["className", "children", "component", "components", "componentsProps"];
15336
+ const _excluded$2b = ["className", "children", "component", "components", "componentsProps"];
15429
15337
 
15430
15338
  const useUtilityClasses$1M = ownerState => {
15431
15339
  const {
@@ -15457,7 +15365,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15457
15365
  components = {},
15458
15366
  componentsProps = {}
15459
15367
  } = props,
15460
- other = _objectWithoutPropertiesLoose(props, _excluded$29);
15368
+ other = _objectWithoutPropertiesLoose(props, _excluded$2b);
15461
15369
 
15462
15370
  const {
15463
15371
  isRtl,
@@ -15523,52 +15431,101 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15523
15431
  } ;
15524
15432
  var TabsListUnstyled$1 = TabsListUnstyled;
15525
15433
 
15526
- function getTabPanelUnstyledUtilityClass(slot) {
15527
- return generateUtilityClass('TabPanelUnstyled', slot);
15434
+ function getTabUnstyledUtilityClass(slot) {
15435
+ return generateUtilityClass('TabUnstyled', slot);
15528
15436
  }
15529
- const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
15530
- var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
15437
+ const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
15438
+ var tabUnstyledClasses$1 = tabUnstyledClasses;
15531
15439
 
15532
- const useTabPanel = props => {
15440
+ const _excluded$2a = ["getRootProps"];
15441
+
15442
+ const useTab = props => {
15533
15443
  const {
15534
- value
15444
+ value: valueProp,
15445
+ onChange,
15446
+ onClick,
15447
+ onFocus
15535
15448
  } = props;
15449
+
15450
+ const _useButton = useButton(props),
15451
+ {
15452
+ getRootProps: getRootPropsButton
15453
+ } = _useButton,
15454
+ otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2a);
15455
+
15536
15456
  const context = useTabContext();
15537
15457
 
15538
15458
  if (context === null) {
15539
15459
  throw new Error('No TabContext provided');
15540
15460
  }
15541
15461
 
15542
- const hidden = value !== context.value;
15543
- const id = getPanelId(context, value);
15544
- const tabId = getTabId(context, value);
15462
+ const value = valueProp != null ? valueProp : 0;
15463
+ const selected = context.value === value;
15464
+ const selectionFollowsFocus = context.selectionFollowsFocus;
15465
+ const a11yAttributes = {
15466
+ role: 'tab',
15467
+ 'aria-controls': getPanelId(context, value),
15468
+ id: getTabId(context, value),
15469
+ 'aria-selected': selected,
15470
+ disabled: otherButtonProps.disabled
15471
+ };
15545
15472
 
15546
- const getRootProps = () => {
15547
- return {
15548
- 'aria-labelledby': tabId,
15549
- hidden,
15550
- id
15551
- };
15473
+ const handleFocus = event => {
15474
+ if (selectionFollowsFocus && !selected) {
15475
+ if (onChange) {
15476
+ onChange(event, value);
15477
+ }
15478
+
15479
+ context.onSelected(event, value);
15480
+ }
15481
+
15482
+ if (onFocus) {
15483
+ onFocus(event);
15484
+ }
15552
15485
  };
15553
15486
 
15554
- return {
15555
- hidden,
15556
- getRootProps
15487
+ const handleClick = event => {
15488
+ if (!selected) {
15489
+ if (onChange) {
15490
+ onChange(event, value);
15491
+ }
15492
+
15493
+ context.onSelected(event, value);
15494
+ }
15495
+
15496
+ if (onClick) {
15497
+ onClick(event);
15498
+ }
15557
15499
  };
15500
+
15501
+ const getRootProps = otherHandlers => {
15502
+ const buttonResolvedProps = getRootPropsButton(_extends({
15503
+ onClick: handleClick,
15504
+ onFocus: handleFocus
15505
+ }, otherHandlers));
15506
+ return _extends({}, buttonResolvedProps, a11yAttributes);
15507
+ };
15508
+
15509
+ return _extends({
15510
+ getRootProps
15511
+ }, otherButtonProps, {
15512
+ selected
15513
+ });
15558
15514
  };
15559
15515
 
15560
- var useTabPanel$1 = useTabPanel;
15516
+ var useTab$1 = useTab;
15561
15517
 
15562
- const _excluded$28 = ["children", "className", "value", "components", "componentsProps", "component"];
15518
+ const _excluded$29 = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
15563
15519
 
15564
15520
  const useUtilityClasses$1L = ownerState => {
15565
15521
  const {
15566
- hidden
15522
+ selected,
15523
+ disabled
15567
15524
  } = ownerState;
15568
15525
  const slots = {
15569
- root: ['root', hidden && 'hidden']
15526
+ root: ['root', selected && 'selected', disabled && 'disabled']
15570
15527
  };
15571
- return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
15528
+ return composeClasses(slots, getTabUnstyledUtilityClass, {});
15572
15529
  };
15573
15530
  /**
15574
15531
  *
@@ -15578,43 +15535,59 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15578
15535
  *
15579
15536
  * API:
15580
15537
  *
15581
- * - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
15538
+ * - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
15582
15539
  */
15583
15540
 
15584
15541
 
15585
- const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
15542
+ const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
15586
15543
  var _ref, _componentsProps$root;
15587
15544
 
15588
15545
  const {
15546
+ action,
15589
15547
  children,
15590
15548
  className,
15549
+ disabled = false,
15550
+ component,
15591
15551
  components = {},
15592
- componentsProps = {},
15593
- component
15552
+ componentsProps = {}
15594
15553
  } = props,
15595
- other = _objectWithoutPropertiesLoose(props, _excluded$28);
15554
+ other = _objectWithoutPropertiesLoose(props, _excluded$29);
15596
15555
 
15556
+ const tabRef = React__namespace.useRef();
15557
+ const handleRef = useForkRef(tabRef, ref);
15597
15558
  const {
15598
- hidden,
15559
+ active,
15560
+ focusVisible,
15561
+ setFocusVisible,
15562
+ selected,
15599
15563
  getRootProps
15600
- } = useTabPanel$1(props);
15564
+ } = useTab$1(_extends({}, props, {
15565
+ ref: handleRef
15566
+ }));
15567
+ React__namespace.useImperativeHandle(action, () => ({
15568
+ focusVisible: () => {
15569
+ setFocusVisible(true);
15570
+ tabRef.current.focus();
15571
+ }
15572
+ }), [setFocusVisible]);
15601
15573
 
15602
15574
  const ownerState = _extends({}, props, {
15603
- hidden
15575
+ active,
15576
+ focusVisible,
15577
+ disabled,
15578
+ selected
15604
15579
  });
15605
15580
 
15606
15581
  const classes = useUtilityClasses$1L(ownerState);
15607
- const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15608
- const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
15609
- return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
15610
- ref: ref,
15611
- role: "tabpanel"
15612
- }, tabPanelRootProps, {
15582
+ const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
15583
+ const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
15584
+ return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
15613
15585
  className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15614
- children: !hidden && children
15586
+ ref: ref,
15587
+ children: children
15615
15588
  }));
15616
15589
  });
15617
- TabPanelUnstyled.propTypes
15590
+ TabUnstyled.propTypes
15618
15591
  /* remove-proptypes */
15619
15592
  = {
15620
15593
  // ----------------------------- Warning --------------------------------
@@ -15623,7 +15596,16 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15623
15596
  // ----------------------------------------------------------------------
15624
15597
 
15625
15598
  /**
15626
- * The content of the component.
15599
+ * A ref for imperative actions. It currently only supports `focusVisible()` action.
15600
+ */
15601
+ action: propTypes.oneOfType([propTypes.func, propTypes.shape({
15602
+ current: propTypes.shape({
15603
+ focusVisible: propTypes.func.isRequired
15604
+ })
15605
+ })]),
15606
+
15607
+ /**
15608
+ * @ignore
15627
15609
  */
15628
15610
  children: propTypes.node,
15629
15611
 
@@ -15639,7 +15621,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15639
15621
  component: propTypes.elementType,
15640
15622
 
15641
15623
  /**
15642
- * The components used for each slot inside the TabPanel.
15624
+ * The components used for each slot inside the Tab.
15643
15625
  * Either a string to use a HTML element or a component.
15644
15626
  * @default {}
15645
15627
  */
@@ -15648,17 +15630,253 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
15648
15630
  }),
15649
15631
 
15650
15632
  /**
15651
- * The props used for each slot inside the TabPanel.
15633
+ * The props used for each slot inside the Tab.
15652
15634
  * @default {}
15653
15635
  */
15654
15636
  componentsProps: propTypes.object,
15655
15637
 
15656
15638
  /**
15657
- * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
15639
+ * If `true`, the component is disabled.
15640
+ * @default false
15658
15641
  */
15659
- value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
15642
+ disabled: propTypes.bool,
15643
+
15644
+ /**
15645
+ * Callback invoked when new value is being set.
15646
+ */
15647
+ onChange: propTypes.func,
15648
+
15649
+ /**
15650
+ * @ignore
15651
+ */
15652
+ onClick: propTypes.func,
15653
+
15654
+ /**
15655
+ * @ignore
15656
+ */
15657
+ onFocus: propTypes.func,
15658
+
15659
+ /**
15660
+ * You can provide your own value. Otherwise, we fall back to the child position index.
15661
+ */
15662
+ value: propTypes.oneOfType([propTypes.number, propTypes.string])
15660
15663
  } ;
15661
- var TabPanelUnstyled$1 = TabPanelUnstyled;
15664
+ var TabUnstyled$1 = TabUnstyled;
15665
+
15666
+ const _excluded$28 = ["onChange", "maxRows", "minRows", "style", "value"];
15667
+
15668
+ function getStyleValue(computedStyle, property) {
15669
+ return parseInt(computedStyle[property], 10) || 0;
15670
+ }
15671
+
15672
+ const styles$5 = {
15673
+ shadow: {
15674
+ // Visibility needed to hide the extra text area on iPads
15675
+ visibility: 'hidden',
15676
+ // Remove from the content flow
15677
+ position: 'absolute',
15678
+ // Ignore the scrollbar width
15679
+ overflow: 'hidden',
15680
+ height: 0,
15681
+ top: 0,
15682
+ left: 0,
15683
+ // Create a new layer, increase the isolation of the computed values
15684
+ transform: 'translateZ(0)'
15685
+ }
15686
+ };
15687
+ const TextareaAutosize = /*#__PURE__*/React__namespace.forwardRef(function TextareaAutosize(props, ref) {
15688
+ const {
15689
+ onChange,
15690
+ maxRows,
15691
+ minRows = 1,
15692
+ style,
15693
+ value
15694
+ } = props,
15695
+ other = _objectWithoutPropertiesLoose(props, _excluded$28);
15696
+
15697
+ const {
15698
+ current: isControlled
15699
+ } = React__namespace.useRef(value != null);
15700
+ const inputRef = React__namespace.useRef(null);
15701
+ const handleRef = useForkRef(ref, inputRef);
15702
+ const shadowRef = React__namespace.useRef(null);
15703
+ const renders = React__namespace.useRef(0);
15704
+ const [state, setState] = React__namespace.useState({});
15705
+ const syncHeight = React__namespace.useCallback(() => {
15706
+ const input = inputRef.current;
15707
+ const containerWindow = ownerWindow(input);
15708
+ const computedStyle = containerWindow.getComputedStyle(input); // If input's width is shrunk and it's not visible, don't sync height.
15709
+
15710
+ if (computedStyle.width === '0px') {
15711
+ return;
15712
+ }
15713
+
15714
+ const inputShallow = shadowRef.current;
15715
+ inputShallow.style.width = computedStyle.width;
15716
+ inputShallow.value = input.value || props.placeholder || 'x';
15717
+
15718
+ if (inputShallow.value.slice(-1) === '\n') {
15719
+ // Certain fonts which overflow the line height will cause the textarea
15720
+ // to report a different scrollHeight depending on whether the last line
15721
+ // is empty. Make it non-empty to avoid this issue.
15722
+ inputShallow.value += ' ';
15723
+ }
15724
+
15725
+ const boxSizing = computedStyle['box-sizing'];
15726
+ const padding = getStyleValue(computedStyle, 'padding-bottom') + getStyleValue(computedStyle, 'padding-top');
15727
+ const border = getStyleValue(computedStyle, 'border-bottom-width') + getStyleValue(computedStyle, 'border-top-width'); // The height of the inner content
15728
+
15729
+ const innerHeight = inputShallow.scrollHeight; // Measure height of a textarea with a single row
15730
+
15731
+ inputShallow.value = 'x';
15732
+ const singleRowHeight = inputShallow.scrollHeight; // The height of the outer content
15733
+
15734
+ let outerHeight = innerHeight;
15735
+
15736
+ if (minRows) {
15737
+ outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
15738
+ }
15739
+
15740
+ if (maxRows) {
15741
+ outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
15742
+ }
15743
+
15744
+ outerHeight = Math.max(outerHeight, singleRowHeight); // Take the box sizing into account for applying this value as a style.
15745
+
15746
+ const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);
15747
+ const overflow = Math.abs(outerHeight - innerHeight) <= 1;
15748
+ setState(prevState => {
15749
+ // Need a large enough difference to update the height.
15750
+ // This prevents infinite rendering loop.
15751
+ if (renders.current < 20 && (outerHeightStyle > 0 && Math.abs((prevState.outerHeightStyle || 0) - outerHeightStyle) > 1 || prevState.overflow !== overflow)) {
15752
+ renders.current += 1;
15753
+ return {
15754
+ overflow,
15755
+ outerHeightStyle
15756
+ };
15757
+ }
15758
+
15759
+ {
15760
+ if (renders.current === 20) {
15761
+ console.error(['MUI: Too many re-renders. The layout is unstable.', 'TextareaAutosize limits the number of renders to prevent an infinite loop.'].join('\n'));
15762
+ }
15763
+ }
15764
+
15765
+ return prevState;
15766
+ });
15767
+ }, [maxRows, minRows, props.placeholder]);
15768
+ React__namespace.useEffect(() => {
15769
+ const handleResize = debounce$1(() => {
15770
+ renders.current = 0;
15771
+ syncHeight();
15772
+ });
15773
+ const containerWindow = ownerWindow(inputRef.current);
15774
+ containerWindow.addEventListener('resize', handleResize);
15775
+ let resizeObserver;
15776
+
15777
+ if (typeof ResizeObserver !== 'undefined') {
15778
+ resizeObserver = new ResizeObserver(handleResize);
15779
+ resizeObserver.observe(inputRef.current);
15780
+ }
15781
+
15782
+ return () => {
15783
+ handleResize.clear();
15784
+ containerWindow.removeEventListener('resize', handleResize);
15785
+
15786
+ if (resizeObserver) {
15787
+ resizeObserver.disconnect();
15788
+ }
15789
+ };
15790
+ }, [syncHeight]);
15791
+ useEnhancedEffect$1(() => {
15792
+ syncHeight();
15793
+ });
15794
+ React__namespace.useEffect(() => {
15795
+ renders.current = 0;
15796
+ }, [value]);
15797
+
15798
+ const handleChange = event => {
15799
+ renders.current = 0;
15800
+
15801
+ if (!isControlled) {
15802
+ syncHeight();
15803
+ }
15804
+
15805
+ if (onChange) {
15806
+ onChange(event);
15807
+ }
15808
+ };
15809
+
15810
+ return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
15811
+ children: [/*#__PURE__*/jsxRuntime_1("textarea", _extends({
15812
+ value: value,
15813
+ onChange: handleChange,
15814
+ ref: handleRef // Apply the rows prop to get a "correct" first SSR paint
15815
+ ,
15816
+ rows: minRows,
15817
+ style: _extends({
15818
+ height: state.outerHeightStyle,
15819
+ // Need a large enough difference to allow scrolling.
15820
+ // This prevents infinite rendering loop.
15821
+ overflow: state.overflow ? 'hidden' : null
15822
+ }, style)
15823
+ }, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
15824
+ "aria-hidden": true,
15825
+ className: props.className,
15826
+ readOnly: true,
15827
+ ref: shadowRef,
15828
+ tabIndex: -1,
15829
+ style: _extends({}, styles$5.shadow, style, {
15830
+ padding: 0
15831
+ })
15832
+ })]
15833
+ });
15834
+ });
15835
+ TextareaAutosize.propTypes
15836
+ /* remove-proptypes */
15837
+ = {
15838
+ // ----------------------------- Warning --------------------------------
15839
+ // | These PropTypes are generated from the TypeScript type definitions |
15840
+ // | To update them edit the d.ts file and run "yarn proptypes" |
15841
+ // ----------------------------------------------------------------------
15842
+
15843
+ /**
15844
+ * @ignore
15845
+ */
15846
+ className: propTypes.string,
15847
+
15848
+ /**
15849
+ * Maximum number of rows to display.
15850
+ */
15851
+ maxRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
15852
+
15853
+ /**
15854
+ * Minimum number of rows to display.
15855
+ * @default 1
15856
+ */
15857
+ minRows: propTypes.oneOfType([propTypes.number, propTypes.string]),
15858
+
15859
+ /**
15860
+ * @ignore
15861
+ */
15862
+ onChange: propTypes.func,
15863
+
15864
+ /**
15865
+ * @ignore
15866
+ */
15867
+ placeholder: propTypes.string,
15868
+
15869
+ /**
15870
+ * @ignore
15871
+ */
15872
+ style: propTypes.object,
15873
+
15874
+ /**
15875
+ * @ignore
15876
+ */
15877
+ value: propTypes.oneOfType([propTypes.arrayOf(propTypes.string), propTypes.number, propTypes.string])
15878
+ } ;
15879
+ var TextareaAutosize$1 = TextareaAutosize;
15662
15880
 
15663
15881
  function createMixins(breakpoints, spacing, mixins) {
15664
15882
  return _extends({
@@ -16700,7 +16918,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
16700
16918
  /**
16701
16919
  * The system prop that allows defining system overrides as well as additional CSS styles.
16702
16920
  */
16703
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
16921
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
16704
16922
 
16705
16923
  /**
16706
16924
  * Provides a human-readable title for the element that contains it.
@@ -18124,7 +18342,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18124
18342
  /**
18125
18343
  * The system prop that allows defining system overrides as well as additional CSS styles.
18126
18344
  */
18127
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18345
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18128
18346
 
18129
18347
  /**
18130
18348
  * The duration for the transition, in milliseconds.
@@ -18296,7 +18514,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18296
18514
  /**
18297
18515
  * The system prop that allows defining system overrides as well as additional CSS styles.
18298
18516
  */
18299
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18517
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18300
18518
 
18301
18519
  /**
18302
18520
  * The variant to use.
@@ -18573,7 +18791,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18573
18791
  /**
18574
18792
  * The system prop that allows defining system overrides as well as additional CSS styles.
18575
18793
  */
18576
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18794
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18577
18795
 
18578
18796
  /**
18579
18797
  * The component used for the transition.
@@ -18584,7 +18802,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18584
18802
 
18585
18803
  /**
18586
18804
  * Props applied to the transition element.
18587
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
18805
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
18588
18806
  */
18589
18807
  TransitionProps: propTypes.object
18590
18808
  } ;
@@ -18685,7 +18903,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18685
18903
  /**
18686
18904
  * The system prop that allows defining system overrides as well as additional CSS styles.
18687
18905
  */
18688
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18906
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
18689
18907
  } ;
18690
18908
  var AccordionActions$1 = AccordionActions;
18691
18909
 
@@ -18761,7 +18979,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18761
18979
  /**
18762
18980
  * The system prop that allows defining system overrides as well as additional CSS styles.
18763
18981
  */
18764
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18982
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
18765
18983
  } ;
18766
18984
  var AccordionDetails$1 = AccordionDetails;
18767
18985
 
@@ -19607,7 +19825,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19607
19825
  * This prop can help identify which element has keyboard focus.
19608
19826
  * The class name will be applied when the element gains the focus through keyboard interaction.
19609
19827
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
19610
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
19828
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
19611
19829
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
19612
19830
  * if needed.
19613
19831
  */
@@ -19700,7 +19918,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19700
19918
  /**
19701
19919
  * The system prop that allows defining system overrides as well as additional CSS styles.
19702
19920
  */
19703
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
19921
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
19704
19922
 
19705
19923
  /**
19706
19924
  * @default 0
@@ -19904,7 +20122,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19904
20122
  * This prop can help identify which element has keyboard focus.
19905
20123
  * The class name will be applied when the element gains the focus through keyboard interaction.
19906
20124
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
19907
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
20125
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
19908
20126
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
19909
20127
  * if needed.
19910
20128
  */
@@ -19918,7 +20136,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19918
20136
  /**
19919
20137
  * The system prop that allows defining system overrides as well as additional CSS styles.
19920
20138
  */
19921
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20139
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19922
20140
  } ;
19923
20141
  var AccordionSummary$1 = AccordionSummary;
19924
20142
 
@@ -20136,7 +20354,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20136
20354
  /**
20137
20355
  * The system prop that allows defining system overrides as well as additional CSS styles.
20138
20356
  */
20139
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20357
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20140
20358
  } ;
20141
20359
  var IconButton$1 = IconButton;
20142
20360
 
@@ -20197,7 +20415,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20197
20415
  const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
20198
20416
  const color = ownerState.color || ownerState.severity;
20199
20417
  return _extends({}, theme.typography.body2, {
20200
- borderRadius: theme.shape.borderRadius,
20201
20418
  backgroundColor: 'transparent',
20202
20419
  display: 'flex',
20203
20420
  padding: '6px 16px'
@@ -20292,7 +20509,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20292
20509
  const classes = useUtilityClasses$1B(ownerState);
20293
20510
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
20294
20511
  role: role,
20295
- square: true,
20296
20512
  elevation: 0,
20297
20513
  ownerState: ownerState,
20298
20514
  className: clsx(classes.root, className),
@@ -20410,7 +20626,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20410
20626
  /**
20411
20627
  * The system prop that allows defining system overrides as well as additional CSS styles.
20412
20628
  */
20413
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20629
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
20414
20630
 
20415
20631
  /**
20416
20632
  * The variant to use.
@@ -20598,7 +20814,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20598
20814
  /**
20599
20815
  * The system prop that allows defining system overrides as well as additional CSS styles.
20600
20816
  */
20601
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20817
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
20602
20818
 
20603
20819
  /**
20604
20820
  * Applies the theme typography styles.
@@ -20710,7 +20926,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20710
20926
  /**
20711
20927
  * The system prop that allows defining system overrides as well as additional CSS styles.
20712
20928
  */
20713
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20929
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20714
20930
  } ;
20715
20931
  var AlertTitle$1 = AlertTitle;
20716
20932
 
@@ -20878,7 +21094,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20878
21094
  /**
20879
21095
  * The system prop that allows defining system overrides as well as additional CSS styles.
20880
21096
  */
20881
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21097
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20882
21098
  } ;
20883
21099
  var AppBar$1 = AppBar;
20884
21100
 
@@ -21153,7 +21369,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21153
21369
  /**
21154
21370
  * The system prop that allows defining system overrides as well as additional CSS styles.
21155
21371
  */
21156
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21372
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
21157
21373
  } ;
21158
21374
  var ListSubheader$1 = ListSubheader;
21159
21375
 
@@ -21667,7 +21883,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21667
21883
  /**
21668
21884
  * The system prop that allows defining system overrides as well as additional CSS styles.
21669
21885
  */
21670
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
21886
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
21671
21887
 
21672
21888
  /**
21673
21889
  * The variant to use.
@@ -22734,7 +22950,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22734
22950
  /**
22735
22951
  * The system prop that allows defining system overrides as well as additional CSS styles.
22736
22952
  */
22737
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22953
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
22738
22954
 
22739
22955
  /**
22740
22956
  * The value of the autocomplete.
@@ -23008,7 +23224,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23008
23224
  /**
23009
23225
  * The system prop that allows defining system overrides as well as additional CSS styles.
23010
23226
  */
23011
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23227
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23012
23228
 
23013
23229
  /**
23014
23230
  * The shape of the avatar.
@@ -23026,7 +23242,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23026
23242
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
23027
23243
  var avatarGroupClasses$1 = avatarGroupClasses;
23028
23244
 
23029
- const _excluded$1N = ["children", "className", "max", "spacing", "variant"];
23245
+ const _excluded$1N = ["children", "className", "max", "spacing", "total", "variant"];
23030
23246
  const SPACINGS$1 = {
23031
23247
  small: -16,
23032
23248
  medium: null
@@ -23088,11 +23304,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23088
23304
  className,
23089
23305
  max = 5,
23090
23306
  spacing = 'medium',
23307
+ total,
23091
23308
  variant = 'circular'
23092
23309
  } = props,
23093
23310
  other = _objectWithoutPropertiesLoose(props, _excluded$1N);
23094
23311
 
23095
- const clampedMax = max < 2 ? 2 : max;
23312
+ let clampedMax = max < 2 ? 2 : max;
23096
23313
 
23097
23314
  const ownerState = _extends({}, props, {
23098
23315
  max,
@@ -23110,7 +23327,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23110
23327
 
23111
23328
  return /*#__PURE__*/React__namespace.isValidElement(child);
23112
23329
  });
23113
- const extraAvatars = children.length > clampedMax ? children.length - clampedMax + 1 : 0;
23330
+ const totalAvatars = total || children.length;
23331
+
23332
+ if (totalAvatars === clampedMax) {
23333
+ clampedMax += 1;
23334
+ }
23335
+
23336
+ clampedMax = Math.min(totalAvatars + 1, clampedMax);
23337
+ const maxAvatars = Math.min(children.length, clampedMax - 1);
23338
+ const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
23114
23339
  const marginLeft = spacing && SPACINGS$1[spacing] !== undefined ? SPACINGS$1[spacing] : -spacing;
23115
23340
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
23116
23341
  ownerState: ownerState,
@@ -23125,7 +23350,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23125
23350
  },
23126
23351
  variant: variant,
23127
23352
  children: ["+", extraAvatars]
23128
- }) : null, children.slice(0, children.length - extraAvatars).reverse().map(child => {
23353
+ }) : null, children.slice(0, maxAvatars).reverse().map(child => {
23129
23354
  return /*#__PURE__*/React__namespace.cloneElement(child, {
23130
23355
  className: clsx(child.props.className, classes.avatar),
23131
23356
  style: _extends({
@@ -23180,7 +23405,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23180
23405
  /**
23181
23406
  * The system prop that allows defining system overrides as well as additional CSS styles.
23182
23407
  */
23183
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23408
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23409
+
23410
+ /**
23411
+ * The total number of avatars. Used for calculating the number of extra avatars.
23412
+ * @default children.length
23413
+ */
23414
+ total: propTypes.number,
23184
23415
 
23185
23416
  /**
23186
23417
  * The variant to use.
@@ -23542,7 +23773,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23542
23773
  /**
23543
23774
  * The system prop that allows defining system overrides as well as additional CSS styles.
23544
23775
  */
23545
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23776
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23546
23777
 
23547
23778
  /**
23548
23779
  * The duration for the transition, in milliseconds.
@@ -23556,18 +23787,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23556
23787
  } ;
23557
23788
  var Backdrop$1 = Backdrop;
23558
23789
 
23559
- const _excluded$1K = ["components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
23560
- const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning']));
23790
+ const _excluded$1K = ["anchorOrigin", "component", "components", "componentsProps", "overlap", "color", "invisible", "badgeContent", "showZero", "variant"];
23791
+ const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular', // TODO: v6 remove the overlap value from these class keys
23792
+ 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']));
23561
23793
  const RADIUS_STANDARD = 10;
23562
23794
  const RADIUS_DOT = 4;
23563
23795
 
23564
23796
  const extendUtilityClasses$2 = ownerState => {
23565
23797
  const {
23566
23798
  color,
23799
+ anchorOrigin,
23800
+ overlap,
23567
23801
  classes = {}
23568
23802
  } = ownerState;
23569
23803
  return _extends({}, classes, {
23570
- badge: clsx(classes.badge, color !== 'default' && [getBadgeUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`]])
23804
+ badge: clsx(classes.badge, getBadgeUtilityClass(`anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`), getBadgeUtilityClass(`overlap${capitalize(overlap)}`), color !== 'default' && [getBadgeUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`]])
23571
23805
  });
23572
23806
  };
23573
23807
 
@@ -23695,6 +23929,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23695
23929
  duration: theme.transitions.duration.leavingScreen
23696
23930
  })
23697
23931
  }));
23932
+
23933
+ const shouldSpreadAdditionalProps = Slot => {
23934
+ return !Slot || !isHostComponent(Slot);
23935
+ };
23936
+
23698
23937
  const Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
23699
23938
  var _componentsProps$root, _componentsProps$badg;
23700
23939
 
@@ -23704,8 +23943,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23704
23943
  });
23705
23944
 
23706
23945
  const {
23946
+ anchorOrigin: anchorOriginProp = {
23947
+ vertical: 'top',
23948
+ horizontal: 'right'
23949
+ },
23950
+ component = 'span',
23707
23951
  components = {},
23708
23952
  componentsProps = {},
23953
+ overlap: overlapProp = 'rectangular',
23709
23954
  color: colorProp = 'default',
23710
23955
  invisible: invisibleProp,
23711
23956
  badgeContent: badgeContentProp,
@@ -23715,7 +23960,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23715
23960
  other = _objectWithoutPropertiesLoose(props, _excluded$1K);
23716
23961
 
23717
23962
  const prevProps = usePreviousProps$1({
23718
- color: colorProp
23963
+ anchorOrigin: anchorOriginProp,
23964
+ color: colorProp,
23965
+ overlap: overlapProp
23719
23966
  });
23720
23967
  let invisible = invisibleProp;
23721
23968
 
@@ -23724,16 +23971,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23724
23971
  }
23725
23972
 
23726
23973
  const {
23727
- color = colorProp
23974
+ color = colorProp,
23975
+ overlap = overlapProp,
23976
+ anchorOrigin = anchorOriginProp
23728
23977
  } = invisible ? prevProps : props;
23729
23978
 
23730
23979
  const ownerState = _extends({}, props, {
23980
+ anchorOrigin,
23731
23981
  invisible,
23732
- color
23982
+ color,
23983
+ overlap
23733
23984
  });
23734
23985
 
23735
23986
  const classes = extendUtilityClasses$2(ownerState);
23736
23987
  return /*#__PURE__*/jsxRuntime_1(BadgeUnstyled$1, _extends({
23988
+ anchorOrigin: anchorOrigin,
23737
23989
  invisible: invisibleProp,
23738
23990
  badgeContent: badgeContentProp,
23739
23991
  showZero: showZero,
@@ -23744,14 +23996,17 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23744
23996
  Badge: BadgeBadge
23745
23997
  }, components),
23746
23998
  componentsProps: {
23747
- root: _extends({}, componentsProps.root, (!components.Root || !isHostComponent(components.Root)) && {
23999
+ root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
24000
+ as: component,
23748
24001
  ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
23749
- color
24002
+ color,
24003
+ overlap
23750
24004
  })
23751
24005
  }),
23752
- badge: _extends({}, componentsProps.badge, (!components.Thumb || !isHostComponent(components.Thumb)) && {
24006
+ badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
23753
24007
  ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
23754
- color
24008
+ color,
24009
+ overlap
23755
24010
  })
23756
24011
  })
23757
24012
  },
@@ -23802,6 +24057,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23802
24057
  /* @typescript-to-proptypes-ignore */
23803
24058
  .oneOfType([propTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), propTypes.string]),
23804
24059
 
24060
+ /**
24061
+ * The component used for the root node.
24062
+ * Either a string to use a HTML element or a component.
24063
+ */
24064
+ component: propTypes.elementType,
24065
+
23805
24066
  /**
23806
24067
  * The components used for each slot inside the Badge.
23807
24068
  * Either a string to use a HTML element or a component.
@@ -23844,7 +24105,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23844
24105
  /**
23845
24106
  * The system prop that allows defining system overrides as well as additional CSS styles.
23846
24107
  */
23847
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24108
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23848
24109
 
23849
24110
  /**
23850
24111
  * The variant to use.
@@ -23982,7 +24243,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23982
24243
  /**
23983
24244
  * The system prop that allows defining system overrides as well as additional CSS styles.
23984
24245
  */
23985
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24246
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23986
24247
 
23987
24248
  /**
23988
24249
  * The value of the currently selected `BottomNavigationAction`.
@@ -24162,7 +24423,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24162
24423
  /**
24163
24424
  * The system prop that allows defining system overrides as well as additional CSS styles.
24164
24425
  */
24165
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24426
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24166
24427
 
24167
24428
  /**
24168
24429
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -24471,7 +24732,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24471
24732
  /**
24472
24733
  * The system prop that allows defining system overrides as well as additional CSS styles.
24473
24734
  */
24474
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24735
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24475
24736
  } ;
24476
24737
  var Breadcrumbs$1 = Breadcrumbs;
24477
24738
 
@@ -24492,7 +24753,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24492
24753
 
24493
24754
  var ButtonGroupContext$1 = ButtonGroupContext;
24494
24755
 
24495
- const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24756
+ const _excluded$1G = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24496
24757
 
24497
24758
  const useUtilityClasses$1p = ownerState => {
24498
24759
  const {
@@ -24693,51 +24954,32 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24693
24954
  marginRight: -2
24694
24955
  }, commonIconStyles(ownerState)));
24695
24956
  const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
24957
+ // props priority: `inProps` > `contextProps` > `themeDefaultProps`
24958
+ const contextProps = React__namespace.useContext(ButtonGroupContext$1);
24959
+ const resolvedProps = resolveProps(contextProps, inProps);
24696
24960
  const props = useThemeProps({
24697
- props: inProps,
24961
+ props: resolvedProps,
24698
24962
  name: 'MuiButton'
24699
24963
  });
24700
- const {
24701
- className: classNameContext,
24702
- color: colorContext,
24703
- disabled: disabledContext,
24704
- disableElevation: disableElevationContext,
24705
- disableFocusRipple: disableFocusRippleContext,
24706
- disableRipple: disableRippleContext,
24707
- fullWidth: fullWidthContext,
24708
- size: sizeContext,
24709
- variant: variantContext
24710
- } = React__namespace.useContext(ButtonGroupContext$1);
24711
24964
 
24712
24965
  const {
24713
24966
  children,
24714
- className,
24715
- color: colorProp,
24967
+ color = 'primary',
24716
24968
  component = 'button',
24717
- disabled: disabledProp,
24718
- disableElevation: disableElevationProp,
24719
- disableFocusRipple: disableFocusRippleProp,
24720
- disableRipple: disableRippleProp,
24969
+ className,
24970
+ disabled = false,
24971
+ disableElevation = false,
24972
+ disableFocusRipple = false,
24721
24973
  endIcon: endIconProp,
24722
24974
  focusVisibleClassName,
24723
- fullWidth: fullWidthProp,
24724
- size: sizeProp,
24975
+ fullWidth = false,
24976
+ size = 'medium',
24725
24977
  startIcon: startIconProp,
24726
24978
  type,
24727
- variant: variantProp
24979
+ variant = 'text'
24728
24980
  } = props,
24729
24981
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
24730
24982
 
24731
- 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.
24732
-
24733
- const disabled = disabledProp || disabledContext || false;
24734
- const disableElevation = disableElevationProp || disableElevationContext || false;
24735
- const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
24736
- const fullWidth = fullWidthProp || fullWidthContext || false;
24737
- const size = sizeProp || sizeContext || 'medium';
24738
- const variant = variantProp || variantContext || 'text';
24739
- const disableRipple = disableRippleProp || disableRippleContext || false;
24740
-
24741
24983
  const ownerState = _extends({}, props, {
24742
24984
  color,
24743
24985
  component,
@@ -24766,10 +25008,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24766
25008
 
24767
25009
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
24768
25010
  ownerState: ownerState,
24769
- className: clsx(className, classNameContext),
25011
+ className: clsx(className, contextProps.className),
24770
25012
  component: component,
24771
25013
  disabled: disabled,
24772
- disableRipple: disableRipple,
24773
25014
  focusRipple: !disableFocusRipple,
24774
25015
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
24775
25016
  ref: ref,
@@ -24882,7 +25123,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24882
25123
  /**
24883
25124
  * The system prop that allows defining system overrides as well as additional CSS styles.
24884
25125
  */
24885
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25126
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24886
25127
 
24887
25128
  /**
24888
25129
  * @ignore
@@ -25160,7 +25401,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25160
25401
  /**
25161
25402
  * The system prop that allows defining system overrides as well as additional CSS styles.
25162
25403
  */
25163
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25404
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25164
25405
 
25165
25406
  /**
25166
25407
  * The variant to use.
@@ -25261,7 +25502,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25261
25502
  /**
25262
25503
  * The system prop that allows defining system overrides as well as additional CSS styles.
25263
25504
  */
25264
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25505
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25265
25506
  } ;
25266
25507
  var Card$1 = Card;
25267
25508
 
@@ -25383,7 +25624,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25383
25624
  /**
25384
25625
  * The system prop that allows defining system overrides as well as additional CSS styles.
25385
25626
  */
25386
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25627
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25387
25628
  } ;
25388
25629
  var CardActionArea$1 = CardActionArea;
25389
25630
 
@@ -25481,7 +25722,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25481
25722
  /**
25482
25723
  * The system prop that allows defining system overrides as well as additional CSS styles.
25483
25724
  */
25484
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25725
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25485
25726
  } ;
25486
25727
  var CardActions$1 = CardActions;
25487
25728
 
@@ -25571,7 +25812,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25571
25812
  /**
25572
25813
  * The system prop that allows defining system overrides as well as additional CSS styles.
25573
25814
  */
25574
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25815
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25575
25816
  } ;
25576
25817
  var CardContent$1 = CardContent;
25577
25818
 
@@ -25774,7 +26015,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25774
26015
  /**
25775
26016
  * The system prop that allows defining system overrides as well as additional CSS styles.
25776
26017
  */
25777
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26018
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25778
26019
 
25779
26020
  /**
25780
26021
  * The content of the component.
@@ -25934,7 +26175,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25934
26175
  /**
25935
26176
  * The system prop that allows defining system overrides as well as additional CSS styles.
25936
26177
  */
25937
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26178
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25938
26179
  } ;
25939
26180
  var CardMedia$1 = CardMedia;
25940
26181
 
@@ -26480,7 +26721,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26480
26721
  /**
26481
26722
  * The system prop that allows defining system overrides as well as additional CSS styles.
26482
26723
  */
26483
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26724
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
26484
26725
 
26485
26726
  /**
26486
26727
  * The value of the component. The DOM API casts this to a string.
@@ -26732,7 +26973,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26732
26973
  /**
26733
26974
  * The system prop that allows defining system overrides as well as additional CSS styles.
26734
26975
  */
26735
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26976
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
26736
26977
 
26737
26978
  /**
26738
26979
  * The thickness of the circle.
@@ -26756,192 +26997,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26756
26997
  } ;
26757
26998
  var CircularProgress$1 = CircularProgress;
26758
26999
 
26759
- function mapEventPropToEvent(eventProp) {
26760
- return eventProp.substring(2).toLowerCase();
26761
- }
26762
-
26763
- function clickedRootScrollbar(event, doc) {
26764
- return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
26765
- }
26766
-
26767
- /**
26768
- * Listen for click events that occur somewhere in the document, outside of the element itself.
26769
- * For instance, if you need to hide a menu when people click anywhere else on your page.
26770
- *
26771
- * Demos:
26772
- *
26773
- * - [Click Away Listener](https://mui.com/components/click-away-listener/)
26774
- * - [Menus](https://mui.com/components/menus/)
26775
- *
26776
- * API:
26777
- *
26778
- * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
26779
- */
26780
- function ClickAwayListener(props) {
26781
- const {
26782
- children,
26783
- disableReactTree = false,
26784
- mouseEvent = 'onClick',
26785
- onClickAway,
26786
- touchEvent = 'onTouchEnd'
26787
- } = props;
26788
- const movedRef = React__namespace.useRef(false);
26789
- const nodeRef = React__namespace.useRef(null);
26790
- const activatedRef = React__namespace.useRef(false);
26791
- const syntheticEventRef = React__namespace.useRef(false);
26792
- React__namespace.useEffect(() => {
26793
- // Ensure that this component is not "activated" synchronously.
26794
- // https://github.com/facebook/react/issues/20074
26795
- setTimeout(() => {
26796
- activatedRef.current = true;
26797
- }, 0);
26798
- return () => {
26799
- activatedRef.current = false;
26800
- };
26801
- }, []);
26802
- const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
26803
- children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
26804
- //
26805
- // event.preventDefault() is meant to stop default behaviors like
26806
- // clicking a checkbox to check it, hitting a button to submit a form,
26807
- // and hitting left arrow to move the cursor in a text input etc.
26808
- // Only special HTML elements have these default behaviors.
26809
-
26810
- const handleClickAway = useEventCallback(event => {
26811
- // Given developers can stop the propagation of the synthetic event,
26812
- // we can only be confident with a positive value.
26813
- const insideReactTree = syntheticEventRef.current;
26814
- syntheticEventRef.current = false;
26815
- const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
26816
- // 2. The child might render null.
26817
- // 3. Behave like a blur listener.
26818
-
26819
- if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
26820
- return;
26821
- } // Do not act if user performed touchmove
26822
-
26823
-
26824
- if (movedRef.current) {
26825
- movedRef.current = false;
26826
- return;
26827
- }
26828
-
26829
- let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
26830
-
26831
- if (event.composedPath) {
26832
- insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
26833
- } else {
26834
- insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
26835
- event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
26836
- event.target);
26837
- }
26838
-
26839
- if (!insideDOM && (disableReactTree || !insideReactTree)) {
26840
- onClickAway(event);
26841
- }
26842
- }); // Keep track of mouse/touch events that bubbled up through the portal.
26843
-
26844
- const createHandleSynthetic = handlerName => event => {
26845
- syntheticEventRef.current = true;
26846
- const childrenPropsHandler = children.props[handlerName];
26847
-
26848
- if (childrenPropsHandler) {
26849
- childrenPropsHandler(event);
26850
- }
26851
- };
26852
-
26853
- const childrenProps = {
26854
- ref: handleRef
26855
- };
26856
-
26857
- if (touchEvent !== false) {
26858
- childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
26859
- }
26860
-
26861
- React__namespace.useEffect(() => {
26862
- if (touchEvent !== false) {
26863
- const mappedTouchEvent = mapEventPropToEvent(touchEvent);
26864
- const doc = ownerDocument(nodeRef.current);
26865
-
26866
- const handleTouchMove = () => {
26867
- movedRef.current = true;
26868
- };
26869
-
26870
- doc.addEventListener(mappedTouchEvent, handleClickAway);
26871
- doc.addEventListener('touchmove', handleTouchMove);
26872
- return () => {
26873
- doc.removeEventListener(mappedTouchEvent, handleClickAway);
26874
- doc.removeEventListener('touchmove', handleTouchMove);
26875
- };
26876
- }
26877
-
26878
- return undefined;
26879
- }, [handleClickAway, touchEvent]);
26880
-
26881
- if (mouseEvent !== false) {
26882
- childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
26883
- }
26884
-
26885
- React__namespace.useEffect(() => {
26886
- if (mouseEvent !== false) {
26887
- const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
26888
- const doc = ownerDocument(nodeRef.current);
26889
- doc.addEventListener(mappedMouseEvent, handleClickAway);
26890
- return () => {
26891
- doc.removeEventListener(mappedMouseEvent, handleClickAway);
26892
- };
26893
- }
26894
-
26895
- return undefined;
26896
- }, [handleClickAway, mouseEvent]);
26897
- return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
26898
- children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
26899
- });
26900
- }
26901
-
26902
- ClickAwayListener.propTypes
26903
- /* remove-proptypes */
26904
- = {
26905
- // ----------------------------- Warning --------------------------------
26906
- // | These PropTypes are generated from the TypeScript type definitions |
26907
- // | To update them edit TypeScript types and run "yarn proptypes" |
26908
- // ----------------------------------------------------------------------
26909
-
26910
- /**
26911
- * The wrapped element.
26912
- */
26913
- children: elementAcceptingRef$1.isRequired,
26914
-
26915
- /**
26916
- * If `true`, the React tree is ignored and only the DOM tree is considered.
26917
- * This prop changes how portaled elements are handled.
26918
- * @default false
26919
- */
26920
- disableReactTree: propTypes.bool,
26921
-
26922
- /**
26923
- * The mouse event to listen to. You can disable the listener by providing `false`.
26924
- * @default 'onClick'
26925
- */
26926
- mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
26927
-
26928
- /**
26929
- * Callback fired when a "click away" event is detected.
26930
- */
26931
- onClickAway: propTypes.func.isRequired,
26932
-
26933
- /**
26934
- * The touch event to listen to. You can disable the listener by providing `false`.
26935
- * @default 'onTouchEnd'
26936
- */
26937
- touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
26938
- } ;
26939
-
26940
- {
26941
- // eslint-disable-next-line
26942
- ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
26943
- }
26944
-
26945
27000
  function getContainerUtilityClass(slot) {
26946
27001
  return generateUtilityClass('MuiContainer', slot);
26947
27002
  }
@@ -27100,7 +27155,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27100
27155
  /**
27101
27156
  * The system prop that allows defining system overrides as well as additional CSS styles.
27102
27157
  */
27103
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27158
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27104
27159
  } ;
27105
27160
  var Container$1 = Container;
27106
27161
 
@@ -27516,7 +27571,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27516
27571
  /**
27517
27572
  * The system prop that allows defining system overrides as well as additional CSS styles.
27518
27573
  */
27519
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27574
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27520
27575
  } ;
27521
27576
  var Modal$1 = Modal;
27522
27577
 
@@ -27905,7 +27960,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27905
27960
  /**
27906
27961
  * The system prop that allows defining system overrides as well as additional CSS styles.
27907
27962
  */
27908
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
27963
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
27909
27964
 
27910
27965
  /**
27911
27966
  * The component used for the transition.
@@ -27927,7 +27982,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27927
27982
 
27928
27983
  /**
27929
27984
  * Props applied to the transition element.
27930
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
27985
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
27931
27986
  */
27932
27987
  TransitionProps: propTypes.object
27933
27988
  } ;
@@ -28029,7 +28084,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28029
28084
  /**
28030
28085
  * The system prop that allows defining system overrides as well as additional CSS styles.
28031
28086
  */
28032
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28087
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28033
28088
  } ;
28034
28089
  var DialogActions$1 = DialogActions;
28035
28090
 
@@ -28140,7 +28195,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28140
28195
  /**
28141
28196
  * The system prop that allows defining system overrides as well as additional CSS styles.
28142
28197
  */
28143
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28198
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28144
28199
  } ;
28145
28200
  var DialogContent$1 = DialogContent;
28146
28201
 
@@ -28209,7 +28264,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28209
28264
  /**
28210
28265
  * The system prop that allows defining system overrides as well as additional CSS styles.
28211
28266
  */
28212
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28267
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28213
28268
  } ;
28214
28269
  var DialogContentText$1 = DialogContentText;
28215
28270
 
@@ -28290,7 +28345,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28290
28345
  /**
28291
28346
  * The system prop that allows defining system overrides as well as additional CSS styles.
28292
28347
  */
28293
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28348
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
28294
28349
  } ;
28295
28350
  var DialogTitle$1 = DialogTitle;
28296
28351
 
@@ -28538,7 +28593,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28538
28593
  /**
28539
28594
  * The system prop that allows defining system overrides as well as additional CSS styles.
28540
28595
  */
28541
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
28596
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
28542
28597
 
28543
28598
  /**
28544
28599
  * The text alignment.
@@ -29217,7 +29272,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29217
29272
  /**
29218
29273
  * The system prop that allows defining system overrides as well as additional CSS styles.
29219
29274
  */
29220
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29275
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29221
29276
 
29222
29277
  /**
29223
29278
  * The duration for the transition, in milliseconds.
@@ -29472,7 +29527,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29472
29527
  /**
29473
29528
  * The system prop that allows defining system overrides as well as additional CSS styles.
29474
29529
  */
29475
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29530
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29476
29531
 
29477
29532
  /**
29478
29533
  * The variant to use.
@@ -29531,7 +29586,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29531
29586
  return obj.startAdornment;
29532
29587
  }
29533
29588
 
29534
- 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"];
29589
+ 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"];
29535
29590
  const rootOverridesResolver = (props, styles) => {
29536
29591
  const {
29537
29592
  ownerState
@@ -29732,6 +29787,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29732
29787
  componentsProps = {},
29733
29788
  defaultValue,
29734
29789
  disabled,
29790
+ disableInjectingGlobalStyles,
29735
29791
  endAdornment,
29736
29792
  fullWidth = false,
29737
29793
  id,
@@ -29962,7 +30018,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29962
30018
  const Input = components.Input || InputBaseComponent;
29963
30019
  inputProps = _extends({}, inputProps, componentsProps.input);
29964
30020
  return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
29965
- children: [inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
30021
+ children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, !isHostComponent(Root) && {
29966
30022
  ownerState: _extends({}, ownerState, rootProps.ownerState)
29967
30023
  }, {
29968
30024
  ref: ref,
@@ -30076,6 +30132,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30076
30132
  */
30077
30133
  disabled: propTypes.bool,
30078
30134
 
30135
+ /**
30136
+ * 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.
30137
+ * This option is intended to help with boosting the initial rendering performance if you are loading a big amount of Input components at once.
30138
+ * @default false
30139
+ */
30140
+ disableInjectingGlobalStyles: propTypes.bool,
30141
+
30079
30142
  /**
30080
30143
  * End `InputAdornment` for this component.
30081
30144
  */
@@ -30221,7 +30284,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30221
30284
  /**
30222
30285
  * The system prop that allows defining system overrides as well as additional CSS styles.
30223
30286
  */
30224
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30287
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30225
30288
 
30226
30289
  /**
30227
30290
  * 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).
@@ -30615,7 +30678,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30615
30678
  /**
30616
30679
  * The system prop that allows defining system overrides as well as additional CSS styles.
30617
30680
  */
30618
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30681
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30619
30682
 
30620
30683
  /**
30621
30684
  * 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).
@@ -30939,7 +31002,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30939
31002
  /**
30940
31003
  * The system prop that allows defining system overrides as well as additional CSS styles.
30941
31004
  */
30942
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31005
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30943
31006
 
30944
31007
  /**
30945
31008
  * The variant to use.
@@ -31153,7 +31216,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31153
31216
  /**
31154
31217
  * The system prop that allows defining system overrides as well as additional CSS styles.
31155
31218
  */
31156
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31219
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
31157
31220
 
31158
31221
  /**
31159
31222
  * The value of the component.
@@ -31260,7 +31323,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31260
31323
  /**
31261
31324
  * The system prop that allows defining system overrides as well as additional CSS styles.
31262
31325
  */
31263
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31326
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
31264
31327
  } ;
31265
31328
  var FormGroup$1 = FormGroup;
31266
31329
 
@@ -31437,7 +31500,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31437
31500
  /**
31438
31501
  * The system prop that allows defining system overrides as well as additional CSS styles.
31439
31502
  */
31440
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31503
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
31441
31504
 
31442
31505
  /**
31443
31506
  * The variant to use.
@@ -31618,7 +31681,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31618
31681
  /**
31619
31682
  * The system prop that allows defining system overrides as well as additional CSS styles.
31620
31683
  */
31621
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31684
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
31622
31685
  } ;
31623
31686
  var FormLabel$1 = FormLabel;
31624
31687
 
@@ -31655,69 +31718,84 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31655
31718
  return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
31656
31719
  }
31657
31720
 
31658
- function generateGrid(globalStyles, theme, breakpoint, ownerState) {
31659
- const size = ownerState[breakpoint];
31721
+ function generateGrid({
31722
+ theme,
31723
+ ownerState
31724
+ }) {
31725
+ let size;
31726
+ return theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
31727
+ // Use side effect over immutability for better performance.
31728
+ let styles = {};
31660
31729
 
31661
- if (!size) {
31662
- return;
31663
- }
31730
+ if (ownerState[breakpoint]) {
31731
+ size = ownerState[breakpoint];
31732
+ }
31664
31733
 
31665
- let styles = {};
31734
+ if (!size) {
31735
+ return globalStyles;
31736
+ }
31666
31737
 
31667
- if (size === true) {
31668
- // For the auto layouting
31669
- styles = {
31670
- flexBasis: 0,
31671
- flexGrow: 1,
31672
- maxWidth: '100%'
31673
- };
31674
- } else if (size === 'auto') {
31675
- styles = {
31676
- flexBasis: 'auto',
31677
- flexGrow: 0,
31678
- flexShrink: 0,
31679
- maxWidth: 'none',
31680
- width: 'auto'
31681
- };
31682
- } else {
31683
- const columnsBreakpointValues = resolveBreakpointValues({
31684
- values: ownerState.columns,
31685
- breakpoints: theme.breakpoints.values
31686
- });
31687
- const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues; // Keep 7 significant numbers.
31738
+ if (size === true) {
31739
+ // For the auto layouting
31740
+ styles = {
31741
+ flexBasis: 0,
31742
+ flexGrow: 1,
31743
+ maxWidth: '100%'
31744
+ };
31745
+ } else if (size === 'auto') {
31746
+ styles = {
31747
+ flexBasis: 'auto',
31748
+ flexGrow: 0,
31749
+ flexShrink: 0,
31750
+ maxWidth: 'none',
31751
+ width: 'auto'
31752
+ };
31753
+ } else {
31754
+ const columnsBreakpointValues = resolveBreakpointValues({
31755
+ values: ownerState.columns,
31756
+ breakpoints: theme.breakpoints.values
31757
+ });
31758
+ const columnValue = typeof columnsBreakpointValues === 'object' ? columnsBreakpointValues[breakpoint] : columnsBreakpointValues;
31688
31759
 
31689
- const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
31690
- let more = {};
31760
+ if (columnValue === undefined || columnValue === null) {
31761
+ return globalStyles;
31762
+ } // Keep 7 significant numbers.
31691
31763
 
31692
- if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
31693
- const themeSpacing = theme.spacing(ownerState.columnSpacing);
31694
31764
 
31695
- if (themeSpacing !== '0px') {
31696
- const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
31697
- more = {
31698
- flexBasis: fullWidth,
31699
- maxWidth: fullWidth
31700
- };
31701
- }
31702
- } // Close to the bootstrap implementation:
31703
- // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
31765
+ const width = `${Math.round(size / columnValue * 10e7) / 10e5}%`;
31766
+ let more = {};
31704
31767
 
31768
+ if (ownerState.container && ownerState.item && ownerState.columnSpacing !== 0) {
31769
+ const themeSpacing = theme.spacing(ownerState.columnSpacing);
31770
+
31771
+ if (themeSpacing !== '0px') {
31772
+ const fullWidth = `calc(${width} + ${getOffset(themeSpacing)})`;
31773
+ more = {
31774
+ flexBasis: fullWidth,
31775
+ maxWidth: fullWidth
31776
+ };
31777
+ }
31778
+ } // Close to the bootstrap implementation:
31779
+ // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41
31705
31780
 
31706
- styles = _extends({
31707
- flexBasis: width,
31708
- flexGrow: 0,
31709
- maxWidth: width
31710
- }, more);
31711
- } // No need for a media query for the first size.
31712
31781
 
31782
+ styles = _extends({
31783
+ flexBasis: width,
31784
+ flexGrow: 0,
31785
+ maxWidth: width
31786
+ }, more);
31787
+ } // No need for a media query for the first size.
31713
31788
 
31714
- if (theme.breakpoints.values[breakpoint] === 0) {
31715
- Object.assign(globalStyles, styles);
31716
- } else {
31717
- globalStyles[theme.breakpoints.up(breakpoint)] = styles;
31718
- }
31719
- }
31720
31789
 
31790
+ if (theme.breakpoints.values[breakpoint] === 0) {
31791
+ Object.assign(globalStyles, styles);
31792
+ } else {
31793
+ globalStyles[theme.breakpoints.up(breakpoint)] = styles;
31794
+ }
31795
+
31796
+ return globalStyles;
31797
+ }, {});
31798
+ }
31721
31799
  function generateDirection({
31722
31800
  theme,
31723
31801
  ownerState
@@ -31812,6 +31890,27 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31812
31890
  }
31813
31891
 
31814
31892
  return styles;
31893
+ }
31894
+ function resolveSpacingClasses(spacing, container, styles = {}) {
31895
+ // in case of grid item or undefined/null or `spacing` <= 0
31896
+ if (!container || !spacing || spacing <= 0) {
31897
+ return [];
31898
+ } // in case of string/number `spacing`
31899
+
31900
+
31901
+ if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
31902
+ return [styles[`spacing-xs-${String(spacing)}`] || `spacing-xs-${String(spacing)}`];
31903
+ } // in case of object `spacing`
31904
+
31905
+
31906
+ const {
31907
+ xs,
31908
+ sm,
31909
+ md,
31910
+ lg,
31911
+ xl
31912
+ } = spacing;
31913
+ 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)}`)];
31815
31914
  } // Default CSS values
31816
31915
  // flex: '0 1 auto',
31817
31916
  // flexDirection: 'row',
@@ -31836,7 +31935,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31836
31935
  xs,
31837
31936
  zeroMinWidth
31838
31937
  } = props.ownerState;
31839
- 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)}`]];
31938
+ 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)}`]];
31840
31939
  }
31841
31940
  })(({
31842
31941
  ownerState
@@ -31855,14 +31954,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31855
31954
  flexWrap: 'nowrap'
31856
31955
  }, ownerState.wrap === 'reverse' && {
31857
31956
  flexWrap: 'wrap-reverse'
31858
- }), generateDirection, generateRowGap, generateColumnGap, ({
31859
- theme,
31860
- ownerState
31861
- }) => theme.breakpoints.keys.reduce((globalStyles, breakpoint) => {
31862
- // Use side effect over immutability for better performance.
31863
- generateGrid(globalStyles, theme, breakpoint, ownerState);
31864
- return globalStyles;
31865
- }, {}));
31957
+ }), generateDirection, generateRowGap, generateColumnGap, generateGrid);
31866
31958
 
31867
31959
  const useUtilityClasses$_ = ownerState => {
31868
31960
  const {
@@ -31880,7 +31972,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31880
31972
  zeroMinWidth
31881
31973
  } = ownerState;
31882
31974
  const slots = {
31883
- 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)}`]
31975
+ 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)}`]
31884
31976
  };
31885
31977
  return composeClasses(slots, getGridUtilityClass, classes);
31886
31978
  };
@@ -32060,7 +32152,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32060
32152
  /**
32061
32153
  * The system prop that allows defining system overrides as well as additional CSS styles.
32062
32154
  */
32063
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32155
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
32064
32156
 
32065
32157
  /**
32066
32158
  * Defines the `flex-wrap` style property.
@@ -33221,7 +33313,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33221
33313
  /**
33222
33314
  * The system prop that allows defining system overrides as well as additional CSS styles.
33223
33315
  */
33224
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33316
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
33225
33317
  } ;
33226
33318
  Icon.muiName = 'Icon';
33227
33319
  var Icon$1 = Icon;
@@ -33398,7 +33490,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33398
33490
  /**
33399
33491
  * The system prop that allows defining system overrides as well as additional CSS styles.
33400
33492
  */
33401
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33493
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33402
33494
 
33403
33495
  /**
33404
33496
  * The variant to use.
@@ -33586,7 +33678,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33586
33678
  /**
33587
33679
  * The system prop that allows defining system overrides as well as additional CSS styles.
33588
33680
  */
33589
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33681
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
33590
33682
  } ;
33591
33683
  var ImageListItem$1 = ImageListItem;
33592
33684
 
@@ -33812,7 +33904,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33812
33904
  /**
33813
33905
  * The system prop that allows defining system overrides as well as additional CSS styles.
33814
33906
  */
33815
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33907
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33816
33908
 
33817
33909
  /**
33818
33910
  * Title to be displayed.
@@ -34127,7 +34219,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34127
34219
  /**
34128
34220
  * The system prop that allows defining system overrides as well as additional CSS styles.
34129
34221
  */
34130
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34222
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34131
34223
 
34132
34224
  /**
34133
34225
  * 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).
@@ -34322,7 +34414,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34322
34414
  /**
34323
34415
  * The system prop that allows defining system overrides as well as additional CSS styles.
34324
34416
  */
34325
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34417
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34326
34418
 
34327
34419
  /**
34328
34420
  * The variant to use.
@@ -34535,7 +34627,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34535
34627
  /**
34536
34628
  * The system prop that allows defining system overrides as well as additional CSS styles.
34537
34629
  */
34538
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34630
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34539
34631
 
34540
34632
  /**
34541
34633
  * The variant to use.
@@ -34884,7 +34976,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34884
34976
  /**
34885
34977
  * The system prop that allows defining system overrides as well as additional CSS styles.
34886
34978
  */
34887
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34979
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34888
34980
 
34889
34981
  /**
34890
34982
  * The value of the progress indicator for the determinate and buffer variants.
@@ -35117,7 +35209,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35117
35209
  /**
35118
35210
  * The system prop that allows defining system overrides as well as additional CSS styles.
35119
35211
  */
35120
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
35212
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
35121
35213
 
35122
35214
  /**
35123
35215
  * `classes` prop applied to the [`Typography`](/api/typography/) element.
@@ -35285,7 +35377,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35285
35377
  /**
35286
35378
  * The system prop that allows defining system overrides as well as additional CSS styles.
35287
35379
  */
35288
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35380
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35289
35381
  } ;
35290
35382
  var List$1 = List;
35291
35383
 
@@ -35513,7 +35605,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35513
35605
  * This prop can help identify which element has keyboard focus.
35514
35606
  * The class name will be applied when the element gains the focus through keyboard interaction.
35515
35607
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
35516
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
35608
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
35517
35609
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
35518
35610
  * if needed.
35519
35611
  */
@@ -35528,7 +35620,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35528
35620
  /**
35529
35621
  * The system prop that allows defining system overrides as well as additional CSS styles.
35530
35622
  */
35531
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35623
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35532
35624
  } ;
35533
35625
  var ListItemButton$1 = ListItemButton;
35534
35626
 
@@ -35624,7 +35716,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35624
35716
  /**
35625
35717
  * The system prop that allows defining system overrides as well as additional CSS styles.
35626
35718
  */
35627
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35719
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35628
35720
  } ;
35629
35721
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
35630
35722
  var ListItemSecondaryAction$1 = ListItemSecondaryAction;
@@ -36025,7 +36117,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36025
36117
  /**
36026
36118
  * The system prop that allows defining system overrides as well as additional CSS styles.
36027
36119
  */
36028
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36120
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36029
36121
  } ;
36030
36122
  var ListItem$1 = ListItem;
36031
36123
 
@@ -36119,7 +36211,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36119
36211
  /**
36120
36212
  * The system prop that allows defining system overrides as well as additional CSS styles.
36121
36213
  */
36122
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36214
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36123
36215
  } ;
36124
36216
  var ListItemAvatar$1 = ListItemAvatar;
36125
36217
 
@@ -36217,7 +36309,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36217
36309
  /**
36218
36310
  * The system prop that allows defining system overrides as well as additional CSS styles.
36219
36311
  */
36220
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36312
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36221
36313
  } ;
36222
36314
  var ListItemIcon$1 = ListItemIcon;
36223
36315
 
@@ -36399,7 +36491,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36399
36491
  /**
36400
36492
  * The system prop that allows defining system overrides as well as additional CSS styles.
36401
36493
  */
36402
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36494
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
36403
36495
  } ;
36404
36496
  var ListItemText$1 = ListItemText;
36405
36497
 
@@ -37153,7 +37245,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37153
37245
  /**
37154
37246
  * The system prop that allows defining system overrides as well as additional CSS styles.
37155
37247
  */
37156
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37248
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37157
37249
 
37158
37250
  /**
37159
37251
  * This is the point on the popover which
@@ -37191,7 +37283,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37191
37283
 
37192
37284
  /**
37193
37285
  * Props applied to the transition element.
37194
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37286
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
37195
37287
  * @default {}
37196
37288
  */
37197
37289
  TransitionProps: propTypes.object
@@ -37456,7 +37548,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37456
37548
  /**
37457
37549
  * The system prop that allows defining system overrides as well as additional CSS styles.
37458
37550
  */
37459
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37551
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37460
37552
 
37461
37553
  /**
37462
37554
  * The length of the transition in `ms`, or 'auto'
@@ -37470,7 +37562,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37470
37562
 
37471
37563
  /**
37472
37564
  * Props applied to the transition element.
37473
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37565
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
37474
37566
  * @default {}
37475
37567
  */
37476
37568
  TransitionProps: propTypes.object,
@@ -37718,7 +37810,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37718
37810
  * This prop can help identify which element has keyboard focus.
37719
37811
  * The class name will be applied when the element gains the focus through keyboard interaction.
37720
37812
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
37721
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
37813
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
37722
37814
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
37723
37815
  * if needed.
37724
37816
  */
@@ -37739,7 +37831,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37739
37831
  /**
37740
37832
  * The system prop that allows defining system overrides as well as additional CSS styles.
37741
37833
  */
37742
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37834
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37743
37835
 
37744
37836
  /**
37745
37837
  * @default 0
@@ -37952,7 +38044,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37952
38044
  /**
37953
38045
  * The system prop that allows defining system overrides as well as additional CSS styles.
37954
38046
  */
37955
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38047
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37956
38048
 
37957
38049
  /**
37958
38050
  * The variant to use.
@@ -38300,7 +38392,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38300
38392
  /**
38301
38393
  * The system prop that allows defining system overrides as well as additional CSS styles.
38302
38394
  */
38303
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38395
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38304
38396
 
38305
38397
  /**
38306
38398
  * The `input` value. The DOM API casts this to a string.
@@ -38539,6 +38631,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38539
38631
  paddingRight: 0
38540
38632
  }));
38541
38633
  const OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
38634
+ var _React$Fragment;
38635
+
38542
38636
  const props = useThemeProps({
38543
38637
  props: inProps,
38544
38638
  name: 'MuiOutlinedInput'
@@ -38556,6 +38650,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38556
38650
  other = _objectWithoutPropertiesLoose(props, _excluded$M);
38557
38651
 
38558
38652
  const classes = useUtilityClasses$C(props);
38653
+ const muiFormControl = useFormControl();
38654
+ const fcs = formControlState({
38655
+ props,
38656
+ muiFormControl,
38657
+ states: ['required']
38658
+ });
38559
38659
  return /*#__PURE__*/jsxRuntime_1(InputBase$1, _extends({
38560
38660
  components: _extends({
38561
38661
  Root: OutlinedInputRoot,
@@ -38563,7 +38663,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38563
38663
  }, components),
38564
38664
  renderSuffix: state => /*#__PURE__*/jsxRuntime_1(NotchedOutlineRoot, {
38565
38665
  className: classes.notchedOutline,
38566
- label: label,
38666
+ label: label && fcs.required ? _React$Fragment || (_React$Fragment = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
38667
+ children: [label, "\xA0", '*']
38668
+ })) : label,
38567
38669
  notched: typeof notched !== 'undefined' ? notched : Boolean(state.startAdornment || state.filled || state.focused)
38568
38670
  }),
38569
38671
  fullWidth: fullWidth,
@@ -38748,7 +38850,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38748
38850
  /**
38749
38851
  * The system prop that allows defining system overrides as well as additional CSS styles.
38750
38852
  */
38751
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38853
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38752
38854
 
38753
38855
  /**
38754
38856
  * 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).
@@ -39245,7 +39347,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39245
39347
  /**
39246
39348
  * The system prop that allows defining system overrides as well as additional CSS styles.
39247
39349
  */
39248
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39350
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39249
39351
 
39250
39352
  /**
39251
39353
  * The type of pagination item.
@@ -39511,7 +39613,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39511
39613
  /**
39512
39614
  * The system prop that allows defining system overrides as well as additional CSS styles.
39513
39615
  */
39514
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39616
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39515
39617
 
39516
39618
  /**
39517
39619
  * The variant to use.
@@ -39841,7 +39943,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39841
39943
  /**
39842
39944
  * The system prop that allows defining system overrides as well as additional CSS styles.
39843
39945
  */
39844
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39946
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39845
39947
 
39846
39948
  /**
39847
39949
  * The value of the component. The DOM API casts this to a string.
@@ -40658,7 +40760,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40658
40760
  /**
40659
40761
  * The system prop that allows defining system overrides as well as additional CSS styles.
40660
40762
  */
40661
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
40763
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
40662
40764
 
40663
40765
  /**
40664
40766
  * The rating value.
@@ -41157,7 +41259,19 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41157
41259
 
41158
41260
  if (computeDisplay) {
41159
41261
  if (multiple) {
41160
- display = displayMultiple.reduce((prev, curr) => [prev, ', ', curr]);
41262
+ if (displayMultiple.length === 0) {
41263
+ display = null;
41264
+ } else {
41265
+ display = displayMultiple.reduce((output, child, index) => {
41266
+ output.push(child);
41267
+
41268
+ if (index < displayMultiple.length - 1) {
41269
+ output.push(', ');
41270
+ }
41271
+
41272
+ return output;
41273
+ }, []);
41274
+ }
41161
41275
  } else {
41162
41276
  display = displaySingle;
41163
41277
  }
@@ -41674,7 +41788,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41674
41788
  /**
41675
41789
  * The system prop that allows defining system overrides as well as additional CSS styles.
41676
41790
  */
41677
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41791
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41678
41792
 
41679
41793
  /**
41680
41794
  * The `input` value. Providing an empty string will select no options.
@@ -41904,7 +42018,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41904
42018
  /**
41905
42019
  * The system prop that allows defining system overrides as well as additional CSS styles.
41906
42020
  */
41907
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
42021
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41908
42022
 
41909
42023
  /**
41910
42024
  * The type of content that will be rendered.
@@ -42543,7 +42657,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42543
42657
  /**
42544
42658
  * The system prop that allows defining system overrides as well as additional CSS styles.
42545
42659
  */
42546
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
42660
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
42547
42661
 
42548
42662
  /**
42549
42663
  * Tab index attribute of the hidden `input` element.
@@ -42725,7 +42839,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42725
42839
  /**
42726
42840
  * The system prop that allows defining system overrides as well as additional CSS styles.
42727
42841
  */
42728
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
42842
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
42729
42843
  } ;
42730
42844
  var SnackbarContent$1 = SnackbarContent;
42731
42845
 
@@ -43153,7 +43267,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43153
43267
  /**
43154
43268
  * The system prop that allows defining system overrides as well as additional CSS styles.
43155
43269
  */
43156
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43270
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
43157
43271
 
43158
43272
  /**
43159
43273
  * The component used for the transition.
@@ -43178,7 +43292,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43178
43292
 
43179
43293
  /**
43180
43294
  * Props applied to the transition element.
43181
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
43295
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43182
43296
  * @default {}
43183
43297
  */
43184
43298
  TransitionProps: propTypes.object
@@ -43919,7 +44033,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43919
44033
  /**
43920
44034
  * The system prop that allows defining system overrides as well as additional CSS styles.
43921
44035
  */
43922
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
44036
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
43923
44037
 
43924
44038
  /**
43925
44039
  * The component used for the transition.
@@ -43944,7 +44058,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43944
44058
 
43945
44059
  /**
43946
44060
  * Props applied to the transition element.
43947
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
44061
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43948
44062
  */
43949
44063
  TransitionProps: propTypes.object
43950
44064
  } ;
@@ -44731,7 +44845,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44731
44845
  /**
44732
44846
  * The system prop that allows defining system overrides as well as additional CSS styles.
44733
44847
  */
44734
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
44848
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
44735
44849
 
44736
44850
  /**
44737
44851
  * Tooltip title. Zero-length titles string are never displayed.
@@ -44749,7 +44863,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44749
44863
 
44750
44864
  /**
44751
44865
  * Props applied to the transition element.
44752
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
44866
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
44753
44867
  */
44754
44868
  TransitionProps: propTypes.object
44755
44869
  } ;
@@ -44990,7 +45104,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44990
45104
  /**
44991
45105
  * The system prop that allows defining system overrides as well as additional CSS styles.
44992
45106
  */
44993
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
45107
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
44994
45108
 
44995
45109
  /**
44996
45110
  * `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
@@ -45160,7 +45274,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45160
45274
  /**
45161
45275
  * The system prop that allows defining system overrides as well as additional CSS styles.
45162
45276
  */
45163
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45277
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45164
45278
  } ;
45165
45279
  SpeedDialIcon.muiName = 'SpeedDialIcon';
45166
45280
  var SpeedDialIcon$1 = SpeedDialIcon;
@@ -45315,7 +45429,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45315
45429
  /**
45316
45430
  * The system prop, which allows defining system overrides as well as additional CSS styles.
45317
45431
  */
45318
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45432
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45319
45433
  } ;
45320
45434
  var Stack$1 = Stack;
45321
45435
 
@@ -45513,7 +45627,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45513
45627
  /**
45514
45628
  * The system prop that allows defining system overrides as well as additional CSS styles.
45515
45629
  */
45516
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45630
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45517
45631
  } ;
45518
45632
  var Step$1 = Step;
45519
45633
 
@@ -45692,7 +45806,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45692
45806
  /**
45693
45807
  * The system prop that allows defining system overrides as well as additional CSS styles.
45694
45808
  */
45695
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45809
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45696
45810
  } ;
45697
45811
  var StepIcon$1 = StepIcon;
45698
45812
 
@@ -45926,7 +46040,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45926
46040
  /**
45927
46041
  * The system prop that allows defining system overrides as well as additional CSS styles.
45928
46042
  */
45929
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46043
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45930
46044
  } ;
45931
46045
  StepLabel.muiName = 'StepLabel';
45932
46046
  var StepLabel$1 = StepLabel;
@@ -46060,7 +46174,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46060
46174
  /**
46061
46175
  * The system prop that allows defining system overrides as well as additional CSS styles.
46062
46176
  */
46063
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46177
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46064
46178
  } ;
46065
46179
  var StepButton$1 = StepButton;
46066
46180
 
@@ -46195,7 +46309,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46195
46309
  /**
46196
46310
  * The system prop that allows defining system overrides as well as additional CSS styles.
46197
46311
  */
46198
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46312
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46199
46313
  } ;
46200
46314
  var StepConnector$1 = StepConnector;
46201
46315
 
@@ -46331,7 +46445,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46331
46445
  /**
46332
46446
  * The system prop that allows defining system overrides as well as additional CSS styles.
46333
46447
  */
46334
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46448
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
46335
46449
 
46336
46450
  /**
46337
46451
  * The component used for the transition.
@@ -46355,7 +46469,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46355
46469
 
46356
46470
  /**
46357
46471
  * Props applied to the transition element.
46358
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
46472
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
46359
46473
  */
46360
46474
  TransitionProps: propTypes.object
46361
46475
  } ;
@@ -46511,7 +46625,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46511
46625
  /**
46512
46626
  * The system prop that allows defining system overrides as well as additional CSS styles.
46513
46627
  */
46514
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46628
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
46515
46629
  } ;
46516
46630
  var Stepper$1 = Stepper;
46517
46631
 
@@ -47522,7 +47636,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47522
47636
  /**
47523
47637
  * The system prop that allows defining system overrides as well as additional CSS styles.
47524
47638
  */
47525
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47639
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47526
47640
 
47527
47641
  /**
47528
47642
  * The value of the component. The DOM API casts this to a string.
@@ -47797,7 +47911,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47797
47911
  /**
47798
47912
  * The system prop that allows defining system overrides as well as additional CSS styles.
47799
47913
  */
47800
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47914
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47801
47915
 
47802
47916
  /**
47803
47917
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -47964,7 +48078,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47964
48078
  /**
47965
48079
  * The system prop that allows defining system overrides as well as additional CSS styles.
47966
48080
  */
47967
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48081
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
47968
48082
  } ;
47969
48083
  var Table$1 = Table;
47970
48084
 
@@ -48069,7 +48183,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48069
48183
  /**
48070
48184
  * The system prop that allows defining system overrides as well as additional CSS styles.
48071
48185
  */
48072
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48186
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48073
48187
  } ;
48074
48188
  var TableBody$1 = TableBody;
48075
48189
 
@@ -48289,7 +48403,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48289
48403
  /**
48290
48404
  * The system prop that allows defining system overrides as well as additional CSS styles.
48291
48405
  */
48292
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48406
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
48293
48407
 
48294
48408
  /**
48295
48409
  * Specify the cell type.
@@ -48381,7 +48495,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48381
48495
  /**
48382
48496
  * The system prop that allows defining system overrides as well as additional CSS styles.
48383
48497
  */
48384
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48498
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48385
48499
  } ;
48386
48500
  var TableContainer$1 = TableContainer;
48387
48501
 
@@ -48474,7 +48588,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48474
48588
  /**
48475
48589
  * The system prop that allows defining system overrides as well as additional CSS styles.
48476
48590
  */
48477
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48591
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48478
48592
  } ;
48479
48593
  var TableFooter$1 = TableFooter;
48480
48594
 
@@ -48567,7 +48681,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48567
48681
  /**
48568
48682
  * The system prop that allows defining system overrides as well as additional CSS styles.
48569
48683
  */
48570
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48684
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48571
48685
  } ;
48572
48686
  var TableHead$1 = TableHead;
48573
48687
 
@@ -48687,7 +48801,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48687
48801
  /**
48688
48802
  * The system prop that allows defining system overrides as well as additional CSS styles.
48689
48803
  */
48690
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48804
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
48691
48805
 
48692
48806
  /**
48693
48807
  * The variant to use.
@@ -49237,7 +49351,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49237
49351
  /**
49238
49352
  * The system prop that allows defining system overrides as well as additional CSS styles.
49239
49353
  */
49240
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49354
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49241
49355
  } ;
49242
49356
  var TablePagination$1 = TablePagination;
49243
49357
 
@@ -49373,7 +49487,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49373
49487
  /**
49374
49488
  * The system prop that allows defining system overrides as well as additional CSS styles.
49375
49489
  */
49376
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49490
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49377
49491
  } ;
49378
49492
  var TableRow$1 = TableRow;
49379
49493
 
@@ -49554,7 +49668,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49554
49668
  /**
49555
49669
  * The system prop that allows defining system overrides as well as additional CSS styles.
49556
49670
  */
49557
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49671
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49558
49672
  } ;
49559
49673
  var TableSortLabel$1 = TableSortLabel;
49560
49674
 
@@ -49787,7 +49901,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49787
49901
  /**
49788
49902
  * The system prop that allows defining system overrides as well as additional CSS styles.
49789
49903
  */
49790
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49904
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
49791
49905
  } ;
49792
49906
  var TabScrollButton$1 = TabScrollButton;
49793
49907
 
@@ -50581,7 +50695,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50581
50695
  /**
50582
50696
  * The system prop that allows defining system overrides as well as additional CSS styles.
50583
50697
  */
50584
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
50698
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
50585
50699
 
50586
50700
  /**
50587
50701
  * Props applied to the tab indicator element.
@@ -50758,14 +50872,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50758
50872
  InputMore.notched = InputLabelProps.shrink;
50759
50873
  }
50760
50874
 
50761
- if (label) {
50762
- var _InputLabelProps$requ;
50763
-
50764
- const displayRequired = (_InputLabelProps$requ = InputLabelProps == null ? void 0 : InputLabelProps.required) != null ? _InputLabelProps$requ : required;
50765
- InputMore.label = /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
50766
- children: [label, displayRequired && '\u00a0*']
50767
- });
50768
- }
50875
+ InputMore.label = label;
50769
50876
  }
50770
50877
 
50771
50878
  if (select) {
@@ -51029,7 +51136,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51029
51136
  /**
51030
51137
  * The system prop that allows defining system overrides as well as additional CSS styles.
51031
51138
  */
51032
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51139
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51033
51140
 
51034
51141
  /**
51035
51142
  * 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).
@@ -51271,7 +51378,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51271
51378
  /**
51272
51379
  * The system prop that allows defining system overrides as well as additional CSS styles.
51273
51380
  */
51274
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51381
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51275
51382
 
51276
51383
  /**
51277
51384
  * The value to associate with the button when selected in a
@@ -51533,7 +51640,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51533
51640
  /**
51534
51641
  * The system prop that allows defining system overrides as well as additional CSS styles.
51535
51642
  */
51536
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51643
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
51537
51644
 
51538
51645
  /**
51539
51646
  * The currently selected value within the group or an array of selected
@@ -52050,6 +52157,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
52050
52157
  exports.unstable_useId = useId;
52051
52158
  exports.unsupportedProp = unsupportedProp;
52052
52159
  exports.useAutocomplete = useAutocomplete;
52160
+ exports.useBadge = useBadge;
52053
52161
  exports.useButton = useButton;
52054
52162
  exports.useControlled = useControlled;
52055
52163
  exports.useEventCallback = useEventCallback;