@mui/material 5.1.1 → 5.2.3

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 (634) hide show
  1. package/Accordion/Accordion.d.ts +1 -1
  2. package/Accordion/Accordion.js +2 -2
  3. package/Accordion/accordionClasses.d.ts +18 -18
  4. package/AccordionActions/AccordionActions.js +1 -1
  5. package/AccordionActions/accordionActionsClasses.d.ts +10 -10
  6. package/AccordionDetails/AccordionDetails.js +1 -1
  7. package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
  8. package/AccordionSummary/AccordionSummary.js +2 -2
  9. package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
  10. package/Alert/Alert.js +1 -3
  11. package/Alert/alertClasses.d.ts +44 -44
  12. package/AlertTitle/AlertTitle.js +1 -1
  13. package/AlertTitle/alertTitleClasses.d.ts +8 -8
  14. package/AppBar/AppBar.js +1 -1
  15. package/AppBar/appBarClasses.d.ts +28 -28
  16. package/Autocomplete/Autocomplete.js +1 -1
  17. package/Autocomplete/autocompleteClasses.d.ts +54 -54
  18. package/Avatar/Avatar.js +1 -1
  19. package/Avatar/avatarClasses.d.ts +20 -20
  20. package/AvatarGroup/AvatarGroup.d.ts +5 -0
  21. package/AvatarGroup/AvatarGroup.js +20 -5
  22. package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
  23. package/Backdrop/Backdrop.js +1 -1
  24. package/Badge/Badge.js +1 -1
  25. package/BottomNavigation/BottomNavigation.js +1 -1
  26. package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
  27. package/BottomNavigationAction/BottomNavigationAction.js +1 -1
  28. package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
  29. package/Breadcrumbs/Breadcrumbs.js +1 -1
  30. package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
  31. package/Button/Button.js +16 -35
  32. package/Button/buttonClasses.d.ts +76 -76
  33. package/ButtonBase/ButtonBase.d.ts +1 -1
  34. package/ButtonBase/ButtonBase.js +2 -2
  35. package/ButtonBase/buttonBaseClasses.d.ts +12 -12
  36. package/ButtonBase/touchRippleClasses.d.ts +20 -20
  37. package/ButtonGroup/ButtonGroup.js +1 -1
  38. package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
  39. package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
  40. package/CHANGELOG.md +265 -3
  41. package/Card/Card.js +1 -1
  42. package/Card/cardClasses.d.ts +8 -8
  43. package/CardActionArea/CardActionArea.js +1 -1
  44. package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
  45. package/CardActions/CardActions.js +1 -1
  46. package/CardActions/cardActionsClasses.d.ts +10 -10
  47. package/CardContent/CardContent.js +1 -1
  48. package/CardContent/cardContentClasses.d.ts +8 -8
  49. package/CardHeader/CardHeader.js +1 -1
  50. package/CardHeader/cardHeaderClasses.d.ts +18 -18
  51. package/CardMedia/CardMedia.js +1 -1
  52. package/CardMedia/cardMediaClasses.d.ts +12 -12
  53. package/Checkbox/Checkbox.js +1 -1
  54. package/Checkbox/checkboxClasses.d.ts +18 -18
  55. package/Chip/Chip.js +1 -1
  56. package/Chip/chipClasses.d.ts +80 -80
  57. package/CircularProgress/CircularProgress.js +1 -1
  58. package/CircularProgress/circularProgressClasses.d.ts +26 -26
  59. package/ClickAwayListener/index.d.ts +2 -2
  60. package/Collapse/Collapse.d.ts +1 -1
  61. package/Collapse/Collapse.js +1 -1
  62. package/Collapse/collapseClasses.d.ts +18 -18
  63. package/Container/Container.js +1 -1
  64. package/Container/containerClasses.d.ts +22 -22
  65. package/CssBaseline/CssBaseline.d.ts +1 -1
  66. package/CssBaseline/CssBaseline.js +1 -1
  67. package/Dialog/Dialog.d.ts +1 -1
  68. package/Dialog/Dialog.js +2 -2
  69. package/Dialog/DialogContext.d.ts +6 -6
  70. package/Dialog/dialogClasses.d.ts +36 -36
  71. package/DialogActions/DialogActions.js +1 -1
  72. package/DialogActions/dialogActionsClasses.d.ts +10 -10
  73. package/DialogContent/DialogContent.js +1 -1
  74. package/DialogContent/dialogContentClasses.d.ts +10 -10
  75. package/DialogContentText/DialogContentText.js +1 -1
  76. package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
  77. package/DialogTitle/DialogTitle.js +1 -1
  78. package/DialogTitle/dialogTitleClasses.d.ts +8 -8
  79. package/Divider/Divider.js +1 -1
  80. package/Divider/dividerClasses.d.ts +34 -34
  81. package/Drawer/Drawer.js +1 -1
  82. package/Drawer/drawerClasses.d.ts +30 -30
  83. package/Fab/Fab.js +1 -1
  84. package/Fab/fabClasses.d.ts +26 -26
  85. package/Fade/Fade.d.ts +1 -1
  86. package/FilledInput/FilledInput.js +1 -1
  87. package/FilledInput/filledInputClasses.d.ts +40 -40
  88. package/FormControl/FormControl.js +1 -1
  89. package/FormControl/formControlClasses.d.ts +14 -14
  90. package/FormControlLabel/FormControlLabel.js +1 -1
  91. package/FormControlLabel/formControlLabelClasses.d.ts +18 -18
  92. package/FormGroup/FormGroup.js +1 -1
  93. package/FormGroup/formGroupClasses.d.ts +10 -10
  94. package/FormHelperText/FormHelperText.js +1 -1
  95. package/FormHelperText/formHelperTextClasses.d.ts +22 -22
  96. package/FormLabel/FormLabel.js +1 -1
  97. package/FormLabel/formLabelClasses.d.ts +22 -22
  98. package/Grid/Grid.js +24 -3
  99. package/Grid/gridClasses.d.ts +48 -48
  100. package/Grow/Grow.d.ts +1 -1
  101. package/Icon/Icon.js +1 -1
  102. package/Icon/iconClasses.d.ts +24 -24
  103. package/IconButton/IconButton.js +7 -5
  104. package/IconButton/iconButtonClasses.d.ts +26 -26
  105. package/ImageList/ImageList.js +1 -1
  106. package/ImageList/imageListClasses.d.ts +16 -16
  107. package/ImageListItem/ImageListItem.js +1 -1
  108. package/ImageListItem/imageListItemClasses.d.ts +18 -18
  109. package/ImageListItemBar/ImageListItemBar.js +1 -1
  110. package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
  111. package/Input/Input.js +1 -1
  112. package/Input/inputClasses.d.ts +34 -34
  113. package/InputAdornment/InputAdornment.js +1 -1
  114. package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
  115. package/InputBase/InputBase.js +1 -1
  116. package/InputBase/inputBaseClasses.d.ts +44 -44
  117. package/InputLabel/InputLabel.js +1 -1
  118. package/InputLabel/inputLabelClasses.d.ts +32 -32
  119. package/LinearProgress/LinearProgress.js +1 -1
  120. package/LinearProgress/linearProgressClasses.d.ts +42 -42
  121. package/Link/Link.js +1 -1
  122. package/Link/linkClasses.d.ts +18 -18
  123. package/List/List.d.ts +12 -2
  124. package/List/List.js +1 -1
  125. package/List/listClasses.d.ts +14 -14
  126. package/ListItem/ListItem.js +1 -1
  127. package/ListItem/listItemClasses.d.ts +30 -30
  128. package/ListItemAvatar/ListItemAvatar.js +1 -1
  129. package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
  130. package/ListItemButton/ListItemButton.js +2 -2
  131. package/ListItemButton/listItemButtonClasses.d.ts +22 -22
  132. package/ListItemIcon/ListItemIcon.js +1 -1
  133. package/ListItemIcon/listItemIconClasses.d.ts +10 -10
  134. package/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  135. package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
  136. package/ListItemText/ListItemText.js +1 -1
  137. package/ListItemText/listItemTextClasses.d.ts +18 -18
  138. package/ListSubheader/ListSubheader.js +1 -1
  139. package/ListSubheader/listSubheaderClasses.d.ts +18 -18
  140. package/Menu/Menu.d.ts +1 -1
  141. package/Menu/Menu.js +2 -2
  142. package/Menu/menuClasses.d.ts +12 -12
  143. package/MenuItem/MenuItem.js +2 -2
  144. package/MenuItem/menuItemClasses.d.ts +20 -20
  145. package/MenuList/MenuList.d.ts +47 -36
  146. package/MobileStepper/MobileStepper.js +1 -1
  147. package/MobileStepper/mobileStepperClasses.d.ts +22 -22
  148. package/Modal/Modal.js +1 -1
  149. package/NativeSelect/NativeSelect.js +1 -1
  150. package/NativeSelect/nativeSelectClasses.d.ts +32 -32
  151. package/OutlinedInput/OutlinedInput.js +1 -1
  152. package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
  153. package/Pagination/Pagination.js +1 -1
  154. package/Pagination/paginationClasses.d.ts +14 -14
  155. package/PaginationItem/PaginationItem.js +1 -1
  156. package/PaginationItem/paginationItemClasses.d.ts +42 -42
  157. package/Paper/Paper.js +1 -1
  158. package/Paper/paperClasses.d.ts +39 -39
  159. package/Popover/Popover.d.ts +1 -1
  160. package/Popover/Popover.js +2 -2
  161. package/Popover/popoverClasses.d.ts +10 -10
  162. package/Popper/Popper.d.ts +17 -17
  163. package/Popper/Popper.js +4 -23
  164. package/README.md +9 -7
  165. package/Radio/Radio.js +1 -1
  166. package/Radio/radioClasses.d.ts +16 -16
  167. package/RadioGroup/RadioGroupContext.d.ts +11 -11
  168. package/RadioGroup/useRadioGroup.d.ts +4 -4
  169. package/Rating/Rating.js +1 -1
  170. package/Rating/ratingClasses.d.ts +40 -40
  171. package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
  172. package/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  173. package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
  174. package/Select/Select.js +1 -1
  175. package/Select/SelectInput.js +10 -2
  176. package/Select/selectClasses.d.ts +30 -30
  177. package/Skeleton/Skeleton.js +1 -1
  178. package/Skeleton/skeletonClasses.d.ts +24 -24
  179. package/Slide/Slide.d.ts +1 -1
  180. package/Slider/Slider.js +1 -1
  181. package/Snackbar/Snackbar.d.ts +5 -5
  182. package/Snackbar/Snackbar.js +62 -6
  183. package/Snackbar/snackbarClasses.d.ts +20 -20
  184. package/SnackbarContent/SnackbarContent.js +1 -1
  185. package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
  186. package/SpeedDial/SpeedDial.d.ts +1 -1
  187. package/SpeedDial/SpeedDial.js +2 -2
  188. package/SpeedDial/speedDialClasses.d.ts +22 -22
  189. package/SpeedDialAction/SpeedDialAction.js +1 -1
  190. package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
  191. package/SpeedDialIcon/SpeedDialIcon.js +1 -1
  192. package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
  193. package/Stack/Stack.js +1 -1
  194. package/Step/Step.js +1 -1
  195. package/Step/stepClasses.d.ts +16 -16
  196. package/StepButton/StepButton.js +1 -1
  197. package/StepButton/stepButtonClasses.d.ts +14 -14
  198. package/StepConnector/StepConnector.js +1 -1
  199. package/StepConnector/stepConnectorClasses.d.ts +26 -26
  200. package/StepContent/StepContent.d.ts +1 -1
  201. package/StepContent/StepContent.js +2 -2
  202. package/StepContent/stepContentClasses.d.ts +12 -12
  203. package/StepIcon/StepIcon.js +1 -1
  204. package/StepIcon/stepIconClasses.d.ts +16 -16
  205. package/StepLabel/StepLabel.js +1 -1
  206. package/StepLabel/stepLabelClasses.d.ts +28 -28
  207. package/Stepper/Stepper.js +1 -1
  208. package/Stepper/stepperClasses.d.ts +14 -14
  209. package/SvgIcon/SvgIcon.js +1 -1
  210. package/SvgIcon/svgIconClasses.d.ts +24 -24
  211. package/Switch/Switch.js +1 -1
  212. package/Switch/switchClasses.d.ts +32 -32
  213. package/Tab/Tab.js +1 -1
  214. package/Tab/tabClasses.d.ts +26 -26
  215. package/TabScrollButton/TabScrollButton.js +1 -1
  216. package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
  217. package/Table/Table.js +1 -1
  218. package/Table/tableClasses.d.ts +10 -10
  219. package/TableBody/TableBody.js +1 -1
  220. package/TableBody/tableBodyClasses.d.ts +8 -8
  221. package/TableCell/TableCell.js +1 -1
  222. package/TableCell/tableCellClasses.d.ts +32 -32
  223. package/TableContainer/TableContainer.js +1 -1
  224. package/TableContainer/tableContainerClasses.d.ts +8 -8
  225. package/TableFooter/TableFooter.js +1 -1
  226. package/TableFooter/tableFooterClasses.d.ts +8 -8
  227. package/TableHead/TableHead.js +1 -1
  228. package/TableHead/tableHeadClasses.d.ts +8 -8
  229. package/TablePagination/TablePagination.js +1 -1
  230. package/TablePagination/tablePaginationClasses.d.ts +28 -28
  231. package/TableRow/TableRow.js +1 -1
  232. package/TableRow/tableRowClasses.d.ts +16 -16
  233. package/TableSortLabel/TableSortLabel.js +1 -1
  234. package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
  235. package/Tabs/Tabs.js +1 -1
  236. package/Tabs/tabsClasses.d.ts +32 -32
  237. package/TextField/TextField.js +4 -3
  238. package/TextField/textFieldClasses.d.ts +8 -8
  239. package/ToggleButton/ToggleButton.js +1 -1
  240. package/ToggleButton/toggleButtonClasses.d.ts +24 -24
  241. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  242. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
  243. package/Toolbar/Toolbar.js +1 -1
  244. package/Toolbar/toolbarClasses.d.ts +14 -14
  245. package/Tooltip/Tooltip.d.ts +1 -1
  246. package/Tooltip/Tooltip.js +2 -2
  247. package/Tooltip/tooltipClasses.d.ts +30 -30
  248. package/Typography/Typography.js +1 -1
  249. package/Typography/typographyClasses.d.ts +50 -50
  250. package/Zoom/Zoom.d.ts +1 -1
  251. package/darkScrollbar/index.d.ts +28 -28
  252. package/index.js +1 -1
  253. package/internal/switchBaseClasses.d.ts +12 -12
  254. package/legacy/Accordion/Accordion.js +2 -2
  255. package/legacy/AccordionActions/AccordionActions.js +1 -1
  256. package/legacy/AccordionDetails/AccordionDetails.js +1 -1
  257. package/legacy/AccordionSummary/AccordionSummary.js +2 -2
  258. package/legacy/Alert/Alert.js +1 -3
  259. package/legacy/AlertTitle/AlertTitle.js +1 -1
  260. package/legacy/AppBar/AppBar.js +1 -1
  261. package/legacy/Autocomplete/Autocomplete.js +1 -1
  262. package/legacy/Avatar/Avatar.js +1 -1
  263. package/legacy/AvatarGroup/AvatarGroup.js +19 -4
  264. package/legacy/Backdrop/Backdrop.js +1 -1
  265. package/legacy/Badge/Badge.js +1 -1
  266. package/legacy/BottomNavigation/BottomNavigation.js +1 -1
  267. package/legacy/BottomNavigationAction/BottomNavigationAction.js +1 -1
  268. package/legacy/Breadcrumbs/Breadcrumbs.js +1 -1
  269. package/legacy/Button/Button.js +23 -35
  270. package/legacy/ButtonBase/ButtonBase.js +2 -2
  271. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  272. package/legacy/Card/Card.js +1 -1
  273. package/legacy/CardActionArea/CardActionArea.js +1 -1
  274. package/legacy/CardActions/CardActions.js +1 -1
  275. package/legacy/CardContent/CardContent.js +1 -1
  276. package/legacy/CardHeader/CardHeader.js +1 -1
  277. package/legacy/CardMedia/CardMedia.js +1 -1
  278. package/legacy/Checkbox/Checkbox.js +1 -1
  279. package/legacy/Chip/Chip.js +1 -1
  280. package/legacy/CircularProgress/CircularProgress.js +1 -1
  281. package/legacy/Collapse/Collapse.js +1 -1
  282. package/legacy/Container/Container.js +1 -1
  283. package/legacy/CssBaseline/CssBaseline.js +1 -1
  284. package/legacy/Dialog/Dialog.js +2 -2
  285. package/legacy/DialogActions/DialogActions.js +1 -1
  286. package/legacy/DialogContent/DialogContent.js +1 -1
  287. package/legacy/DialogContentText/DialogContentText.js +1 -1
  288. package/legacy/DialogTitle/DialogTitle.js +1 -1
  289. package/legacy/Divider/Divider.js +1 -1
  290. package/legacy/Drawer/Drawer.js +1 -1
  291. package/legacy/Fab/Fab.js +1 -1
  292. package/legacy/FilledInput/FilledInput.js +1 -1
  293. package/legacy/FormControl/FormControl.js +1 -1
  294. package/legacy/FormControlLabel/FormControlLabel.js +1 -1
  295. package/legacy/FormGroup/FormGroup.js +1 -1
  296. package/legacy/FormHelperText/FormHelperText.js +1 -1
  297. package/legacy/FormLabel/FormLabel.js +1 -1
  298. package/legacy/Grid/Grid.js +25 -3
  299. package/legacy/Icon/Icon.js +1 -1
  300. package/legacy/IconButton/IconButton.js +7 -5
  301. package/legacy/ImageList/ImageList.js +1 -1
  302. package/legacy/ImageListItem/ImageListItem.js +1 -1
  303. package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
  304. package/legacy/Input/Input.js +1 -1
  305. package/legacy/InputAdornment/InputAdornment.js +1 -1
  306. package/legacy/InputBase/InputBase.js +1 -1
  307. package/legacy/InputLabel/InputLabel.js +1 -1
  308. package/legacy/LinearProgress/LinearProgress.js +1 -1
  309. package/legacy/Link/Link.js +1 -1
  310. package/legacy/List/List.js +1 -1
  311. package/legacy/ListItem/ListItem.js +1 -1
  312. package/legacy/ListItemAvatar/ListItemAvatar.js +1 -1
  313. package/legacy/ListItemButton/ListItemButton.js +2 -2
  314. package/legacy/ListItemIcon/ListItemIcon.js +1 -1
  315. package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  316. package/legacy/ListItemText/ListItemText.js +1 -1
  317. package/legacy/ListSubheader/ListSubheader.js +1 -1
  318. package/legacy/Menu/Menu.js +2 -2
  319. package/legacy/MenuItem/MenuItem.js +2 -2
  320. package/legacy/MobileStepper/MobileStepper.js +1 -1
  321. package/legacy/Modal/Modal.js +1 -1
  322. package/legacy/NativeSelect/NativeSelect.js +1 -1
  323. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  324. package/legacy/Pagination/Pagination.js +1 -1
  325. package/legacy/PaginationItem/PaginationItem.js +1 -1
  326. package/legacy/Paper/Paper.js +1 -1
  327. package/legacy/Popover/Popover.js +2 -2
  328. package/legacy/Popper/Popper.js +4 -23
  329. package/legacy/Radio/Radio.js +1 -1
  330. package/legacy/Rating/Rating.js +1 -1
  331. package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  332. package/legacy/Select/Select.js +1 -1
  333. package/legacy/Select/SelectInput.js +12 -2
  334. package/legacy/Skeleton/Skeleton.js +1 -1
  335. package/legacy/Slider/Slider.js +1 -1
  336. package/legacy/Snackbar/Snackbar.js +62 -6
  337. package/legacy/SnackbarContent/SnackbarContent.js +1 -1
  338. package/legacy/SpeedDial/SpeedDial.js +2 -2
  339. package/legacy/SpeedDialAction/SpeedDialAction.js +1 -1
  340. package/legacy/SpeedDialIcon/SpeedDialIcon.js +1 -1
  341. package/legacy/Stack/Stack.js +1 -1
  342. package/legacy/Step/Step.js +1 -1
  343. package/legacy/StepButton/StepButton.js +1 -1
  344. package/legacy/StepConnector/StepConnector.js +1 -1
  345. package/legacy/StepContent/StepContent.js +2 -2
  346. package/legacy/StepIcon/StepIcon.js +1 -1
  347. package/legacy/StepLabel/StepLabel.js +1 -1
  348. package/legacy/Stepper/Stepper.js +1 -1
  349. package/legacy/SvgIcon/SvgIcon.js +1 -1
  350. package/legacy/Switch/Switch.js +1 -1
  351. package/legacy/Tab/Tab.js +1 -1
  352. package/legacy/TabScrollButton/TabScrollButton.js +1 -1
  353. package/legacy/Table/Table.js +1 -1
  354. package/legacy/TableBody/TableBody.js +1 -1
  355. package/legacy/TableCell/TableCell.js +1 -1
  356. package/legacy/TableContainer/TableContainer.js +1 -1
  357. package/legacy/TableFooter/TableFooter.js +1 -1
  358. package/legacy/TableHead/TableHead.js +1 -1
  359. package/legacy/TablePagination/TablePagination.js +1 -1
  360. package/legacy/TableRow/TableRow.js +1 -1
  361. package/legacy/TableSortLabel/TableSortLabel.js +1 -1
  362. package/legacy/Tabs/Tabs.js +1 -1
  363. package/legacy/TextField/TextField.js +4 -3
  364. package/legacy/ToggleButton/ToggleButton.js +1 -1
  365. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  366. package/legacy/Toolbar/Toolbar.js +1 -1
  367. package/legacy/Tooltip/Tooltip.js +2 -2
  368. package/legacy/Typography/Typography.js +1 -1
  369. package/legacy/index.js +1 -1
  370. package/legacy/locale/index.js +191 -108
  371. package/legacy/styles/adaptV4Theme.js +1 -1
  372. package/legacy/styles/index.js +1 -1
  373. package/legacy/styles/responsiveFontSizes.js +1 -1
  374. package/locale/index.d.ts +66 -65
  375. package/locale/index.js +80 -0
  376. package/modern/Accordion/Accordion.js +2 -2
  377. package/modern/AccordionActions/AccordionActions.js +1 -1
  378. package/modern/AccordionDetails/AccordionDetails.js +1 -1
  379. package/modern/AccordionSummary/AccordionSummary.js +2 -2
  380. package/modern/Alert/Alert.js +1 -3
  381. package/modern/AlertTitle/AlertTitle.js +1 -1
  382. package/modern/AppBar/AppBar.js +1 -1
  383. package/modern/Autocomplete/Autocomplete.js +1 -1
  384. package/modern/Avatar/Avatar.js +1 -1
  385. package/modern/AvatarGroup/AvatarGroup.js +20 -5
  386. package/modern/Backdrop/Backdrop.js +1 -1
  387. package/modern/Badge/Badge.js +1 -1
  388. package/modern/BottomNavigation/BottomNavigation.js +1 -1
  389. package/modern/BottomNavigationAction/BottomNavigationAction.js +1 -1
  390. package/modern/Breadcrumbs/Breadcrumbs.js +1 -1
  391. package/modern/Button/Button.js +16 -35
  392. package/modern/ButtonBase/ButtonBase.js +2 -2
  393. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  394. package/modern/Card/Card.js +1 -1
  395. package/modern/CardActionArea/CardActionArea.js +1 -1
  396. package/modern/CardActions/CardActions.js +1 -1
  397. package/modern/CardContent/CardContent.js +1 -1
  398. package/modern/CardHeader/CardHeader.js +1 -1
  399. package/modern/CardMedia/CardMedia.js +1 -1
  400. package/modern/Checkbox/Checkbox.js +1 -1
  401. package/modern/Chip/Chip.js +1 -1
  402. package/modern/CircularProgress/CircularProgress.js +1 -1
  403. package/modern/Collapse/Collapse.js +1 -1
  404. package/modern/Container/Container.js +1 -1
  405. package/modern/CssBaseline/CssBaseline.js +1 -1
  406. package/modern/Dialog/Dialog.js +2 -2
  407. package/modern/DialogActions/DialogActions.js +1 -1
  408. package/modern/DialogContent/DialogContent.js +1 -1
  409. package/modern/DialogContentText/DialogContentText.js +1 -1
  410. package/modern/DialogTitle/DialogTitle.js +1 -1
  411. package/modern/Divider/Divider.js +1 -1
  412. package/modern/Drawer/Drawer.js +1 -1
  413. package/modern/Fab/Fab.js +1 -1
  414. package/modern/FilledInput/FilledInput.js +1 -1
  415. package/modern/FormControl/FormControl.js +1 -1
  416. package/modern/FormControlLabel/FormControlLabel.js +1 -1
  417. package/modern/FormGroup/FormGroup.js +1 -1
  418. package/modern/FormHelperText/FormHelperText.js +1 -1
  419. package/modern/FormLabel/FormLabel.js +1 -1
  420. package/modern/Grid/Grid.js +24 -3
  421. package/modern/Icon/Icon.js +1 -1
  422. package/modern/IconButton/IconButton.js +7 -5
  423. package/modern/ImageList/ImageList.js +1 -1
  424. package/modern/ImageListItem/ImageListItem.js +1 -1
  425. package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
  426. package/modern/Input/Input.js +1 -1
  427. package/modern/InputAdornment/InputAdornment.js +1 -1
  428. package/modern/InputBase/InputBase.js +1 -1
  429. package/modern/InputLabel/InputLabel.js +1 -1
  430. package/modern/LinearProgress/LinearProgress.js +1 -1
  431. package/modern/Link/Link.js +1 -1
  432. package/modern/List/List.js +1 -1
  433. package/modern/ListItem/ListItem.js +1 -1
  434. package/modern/ListItemAvatar/ListItemAvatar.js +1 -1
  435. package/modern/ListItemButton/ListItemButton.js +2 -2
  436. package/modern/ListItemIcon/ListItemIcon.js +1 -1
  437. package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  438. package/modern/ListItemText/ListItemText.js +1 -1
  439. package/modern/ListSubheader/ListSubheader.js +1 -1
  440. package/modern/Menu/Menu.js +2 -2
  441. package/modern/MenuItem/MenuItem.js +2 -2
  442. package/modern/MobileStepper/MobileStepper.js +1 -1
  443. package/modern/Modal/Modal.js +1 -1
  444. package/modern/NativeSelect/NativeSelect.js +1 -1
  445. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  446. package/modern/Pagination/Pagination.js +1 -1
  447. package/modern/PaginationItem/PaginationItem.js +1 -1
  448. package/modern/Paper/Paper.js +1 -1
  449. package/modern/Popover/Popover.js +2 -2
  450. package/modern/Popper/Popper.js +4 -23
  451. package/modern/Radio/Radio.js +1 -1
  452. package/modern/Rating/Rating.js +1 -1
  453. package/modern/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  454. package/modern/Select/Select.js +1 -1
  455. package/modern/Select/SelectInput.js +10 -2
  456. package/modern/Skeleton/Skeleton.js +1 -1
  457. package/modern/Slider/Slider.js +1 -1
  458. package/modern/Snackbar/Snackbar.js +62 -6
  459. package/modern/SnackbarContent/SnackbarContent.js +1 -1
  460. package/modern/SpeedDial/SpeedDial.js +2 -2
  461. package/modern/SpeedDialAction/SpeedDialAction.js +1 -1
  462. package/modern/SpeedDialIcon/SpeedDialIcon.js +1 -1
  463. package/modern/Stack/Stack.js +1 -1
  464. package/modern/Step/Step.js +1 -1
  465. package/modern/StepButton/StepButton.js +1 -1
  466. package/modern/StepConnector/StepConnector.js +1 -1
  467. package/modern/StepContent/StepContent.js +2 -2
  468. package/modern/StepIcon/StepIcon.js +1 -1
  469. package/modern/StepLabel/StepLabel.js +1 -1
  470. package/modern/Stepper/Stepper.js +1 -1
  471. package/modern/SvgIcon/SvgIcon.js +1 -1
  472. package/modern/Switch/Switch.js +1 -1
  473. package/modern/Tab/Tab.js +1 -1
  474. package/modern/TabScrollButton/TabScrollButton.js +1 -1
  475. package/modern/Table/Table.js +1 -1
  476. package/modern/TableBody/TableBody.js +1 -1
  477. package/modern/TableCell/TableCell.js +1 -1
  478. package/modern/TableContainer/TableContainer.js +1 -1
  479. package/modern/TableFooter/TableFooter.js +1 -1
  480. package/modern/TableHead/TableHead.js +1 -1
  481. package/modern/TablePagination/TablePagination.js +1 -1
  482. package/modern/TableRow/TableRow.js +1 -1
  483. package/modern/TableSortLabel/TableSortLabel.js +1 -1
  484. package/modern/Tabs/Tabs.js +1 -1
  485. package/modern/TextField/TextField.js +4 -3
  486. package/modern/ToggleButton/ToggleButton.js +1 -1
  487. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  488. package/modern/Toolbar/Toolbar.js +1 -1
  489. package/modern/Tooltip/Tooltip.js +2 -2
  490. package/modern/Typography/Typography.js +1 -1
  491. package/modern/index.js +1 -1
  492. package/modern/locale/index.js +80 -0
  493. package/modern/styles/adaptV4Theme.js +1 -1
  494. package/modern/styles/index.js +1 -1
  495. package/modern/styles/responsiveFontSizes.js +1 -1
  496. package/node/Accordion/Accordion.js +2 -2
  497. package/node/AccordionActions/AccordionActions.js +1 -1
  498. package/node/AccordionDetails/AccordionDetails.js +1 -1
  499. package/node/AccordionSummary/AccordionSummary.js +2 -2
  500. package/node/Alert/Alert.js +1 -3
  501. package/node/AlertTitle/AlertTitle.js +1 -1
  502. package/node/AppBar/AppBar.js +1 -1
  503. package/node/Autocomplete/Autocomplete.js +1 -1
  504. package/node/Avatar/Avatar.js +1 -1
  505. package/node/AvatarGroup/AvatarGroup.js +20 -5
  506. package/node/Backdrop/Backdrop.js +1 -1
  507. package/node/Badge/Badge.js +1 -1
  508. package/node/BottomNavigation/BottomNavigation.js +1 -1
  509. package/node/BottomNavigationAction/BottomNavigationAction.js +1 -1
  510. package/node/Breadcrumbs/Breadcrumbs.js +1 -1
  511. package/node/Button/Button.js +17 -34
  512. package/node/ButtonBase/ButtonBase.js +2 -2
  513. package/node/ButtonGroup/ButtonGroup.js +1 -1
  514. package/node/Card/Card.js +1 -1
  515. package/node/CardActionArea/CardActionArea.js +1 -1
  516. package/node/CardActions/CardActions.js +1 -1
  517. package/node/CardContent/CardContent.js +1 -1
  518. package/node/CardHeader/CardHeader.js +1 -1
  519. package/node/CardMedia/CardMedia.js +1 -1
  520. package/node/Checkbox/Checkbox.js +1 -1
  521. package/node/Chip/Chip.js +1 -1
  522. package/node/CircularProgress/CircularProgress.js +1 -1
  523. package/node/Collapse/Collapse.js +1 -1
  524. package/node/Container/Container.js +1 -1
  525. package/node/CssBaseline/CssBaseline.js +1 -1
  526. package/node/Dialog/Dialog.js +2 -2
  527. package/node/DialogActions/DialogActions.js +1 -1
  528. package/node/DialogContent/DialogContent.js +1 -1
  529. package/node/DialogContentText/DialogContentText.js +1 -1
  530. package/node/DialogTitle/DialogTitle.js +1 -1
  531. package/node/Divider/Divider.js +1 -1
  532. package/node/Drawer/Drawer.js +1 -1
  533. package/node/Fab/Fab.js +1 -1
  534. package/node/FilledInput/FilledInput.js +1 -1
  535. package/node/FormControl/FormControl.js +1 -1
  536. package/node/FormControlLabel/FormControlLabel.js +1 -1
  537. package/node/FormGroup/FormGroup.js +1 -1
  538. package/node/FormHelperText/FormHelperText.js +1 -1
  539. package/node/FormLabel/FormLabel.js +1 -1
  540. package/node/Grid/Grid.js +26 -3
  541. package/node/Icon/Icon.js +1 -1
  542. package/node/IconButton/IconButton.js +7 -5
  543. package/node/ImageList/ImageList.js +1 -1
  544. package/node/ImageListItem/ImageListItem.js +1 -1
  545. package/node/ImageListItemBar/ImageListItemBar.js +1 -1
  546. package/node/Input/Input.js +1 -1
  547. package/node/InputAdornment/InputAdornment.js +1 -1
  548. package/node/InputBase/InputBase.js +1 -1
  549. package/node/InputLabel/InputLabel.js +1 -1
  550. package/node/LinearProgress/LinearProgress.js +1 -1
  551. package/node/Link/Link.js +1 -1
  552. package/node/List/List.js +1 -1
  553. package/node/ListItem/ListItem.js +1 -1
  554. package/node/ListItemAvatar/ListItemAvatar.js +1 -1
  555. package/node/ListItemButton/ListItemButton.js +2 -2
  556. package/node/ListItemIcon/ListItemIcon.js +1 -1
  557. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  558. package/node/ListItemText/ListItemText.js +1 -1
  559. package/node/ListSubheader/ListSubheader.js +1 -1
  560. package/node/Menu/Menu.js +2 -2
  561. package/node/MenuItem/MenuItem.js +2 -2
  562. package/node/MobileStepper/MobileStepper.js +1 -1
  563. package/node/Modal/Modal.js +1 -1
  564. package/node/NativeSelect/NativeSelect.js +1 -1
  565. package/node/OutlinedInput/OutlinedInput.js +1 -1
  566. package/node/Pagination/Pagination.js +1 -1
  567. package/node/PaginationItem/PaginationItem.js +1 -1
  568. package/node/Paper/Paper.js +1 -1
  569. package/node/Popover/Popover.js +2 -2
  570. package/node/Popper/Popper.js +3 -22
  571. package/node/Radio/Radio.js +1 -1
  572. package/node/Rating/Rating.js +1 -1
  573. package/node/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
  574. package/node/Select/Select.js +1 -1
  575. package/node/Select/SelectInput.js +10 -2
  576. package/node/Skeleton/Skeleton.js +1 -1
  577. package/node/Slider/Slider.js +1 -1
  578. package/node/Snackbar/Snackbar.js +62 -6
  579. package/node/SnackbarContent/SnackbarContent.js +1 -1
  580. package/node/SpeedDial/SpeedDial.js +2 -2
  581. package/node/SpeedDialAction/SpeedDialAction.js +1 -1
  582. package/node/SpeedDialIcon/SpeedDialIcon.js +1 -1
  583. package/node/Stack/Stack.js +1 -1
  584. package/node/Step/Step.js +1 -1
  585. package/node/StepButton/StepButton.js +1 -1
  586. package/node/StepConnector/StepConnector.js +1 -1
  587. package/node/StepContent/StepContent.js +2 -2
  588. package/node/StepIcon/StepIcon.js +1 -1
  589. package/node/StepLabel/StepLabel.js +1 -1
  590. package/node/Stepper/Stepper.js +1 -1
  591. package/node/SvgIcon/SvgIcon.js +1 -1
  592. package/node/Switch/Switch.js +1 -1
  593. package/node/Tab/Tab.js +1 -1
  594. package/node/TabScrollButton/TabScrollButton.js +1 -1
  595. package/node/Table/Table.js +1 -1
  596. package/node/TableBody/TableBody.js +1 -1
  597. package/node/TableCell/TableCell.js +1 -1
  598. package/node/TableContainer/TableContainer.js +1 -1
  599. package/node/TableFooter/TableFooter.js +1 -1
  600. package/node/TableHead/TableHead.js +1 -1
  601. package/node/TablePagination/TablePagination.js +1 -1
  602. package/node/TableRow/TableRow.js +1 -1
  603. package/node/TableSortLabel/TableSortLabel.js +1 -1
  604. package/node/Tabs/Tabs.js +1 -1
  605. package/node/TextField/TextField.js +3 -2
  606. package/node/ToggleButton/ToggleButton.js +1 -1
  607. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  608. package/node/Toolbar/Toolbar.js +1 -1
  609. package/node/Tooltip/Tooltip.js +2 -2
  610. package/node/Typography/Typography.js +1 -1
  611. package/node/index.js +1 -1
  612. package/node/locale/index.js +82 -1
  613. package/node/styles/adaptV4Theme.js +1 -1
  614. package/node/styles/index.js +6 -0
  615. package/node/styles/responsiveFontSizes.js +1 -1
  616. package/package.json +6 -6
  617. package/styles/adaptV4Theme.js +1 -1
  618. package/styles/cssUtils.d.ts +32 -0
  619. package/styles/index.d.ts +4 -1
  620. package/styles/index.js +1 -1
  621. package/styles/responsiveFontSizes.js +1 -1
  622. package/styles/variants.d.ts +3 -2
  623. package/transitions/index.d.ts +1 -1
  624. package/transitions/transition.d.ts +14 -14
  625. package/transitions/utils.d.ts +23 -23
  626. package/umd/material-ui.development.js +1509 -522
  627. package/umd/material-ui.production.min.js +21 -21
  628. package/useMediaQuery/useMediaQuery.d.ts +27 -27
  629. package/useTouchRipple/index.d.ts +1 -1
  630. package/useTouchRipple/useTouchRipple.d.ts +28 -28
  631. package/utils/getScrollbarSize.d.ts +2 -2
  632. package/utils/ownerDocument.d.ts +2 -2
  633. package/utils/ownerWindow.d.ts +2 -2
  634. package/utils/setRef.d.ts +2 -2
@@ -1,4 +1,4 @@
1
- /** @license MUI v5.1.1
1
+ /** @license MUI v5.2.3
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.
@@ -2008,7 +2008,7 @@
2008
2008
 
2009
2009
  var pkg = {
2010
2010
  name: "@emotion/react",
2011
- version: "11.6.0",
2011
+ version: "11.7.0",
2012
2012
  main: "dist/emotion-react.cjs.js",
2013
2013
  module: "dist/emotion-react.esm.js",
2014
2014
  browser: {
@@ -4659,9 +4659,7 @@
4659
4659
  }
4660
4660
 
4661
4661
  function isPlainObject(item) {
4662
- return item !== null && typeof item === 'object' && // TS thinks `item is possibly null` even though this was our first guard.
4663
- // @ts-expect-error
4664
- item.constructor === Object;
4662
+ return item !== null && typeof item === 'object' && item.constructor === Object;
4665
4663
  }
4666
4664
  function deepmerge(target, source, options = {
4667
4665
  clone: true
@@ -5000,15 +4998,18 @@
5000
4998
  const useEnhancedEffect = typeof window !== 'undefined' ? React__namespace.useLayoutEffect : React__namespace.useEffect;
5001
4999
  var useEnhancedEffect$1 = useEnhancedEffect;
5002
5000
 
5001
+ let globalId = 0;
5003
5002
  function useId(idOverride) {
5004
5003
  const [defaultId, setDefaultId] = React__namespace.useState(idOverride);
5005
5004
  const id = idOverride || defaultId;
5006
5005
  React__namespace.useEffect(() => {
5007
5006
  if (defaultId == null) {
5008
5007
  // Fallback to this default id when possible.
5009
- // Use the random value for client-side rendering only.
5008
+ // Use the incrementing value for client-side rendering only.
5010
5009
  // We can't use it server-side.
5011
- setDefaultId(`mui-${Math.round(Math.random() * 1e9)}`);
5010
+ // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem
5011
+ globalId += 1;
5012
+ setDefaultId(`mui-${globalId}`);
5012
5013
  }
5013
5014
  }, [defaultId]);
5014
5015
  return id;
@@ -5097,7 +5098,7 @@
5097
5098
  // based on https://github.com/WICG/focus-visible/blob/v4.1.5/src/focus-visible.js
5098
5099
  let hadKeyboardEvent = true;
5099
5100
  let hadFocusVisibleRecently = false;
5100
- let hadFocusVisibleRecentlyTimeout = null;
5101
+ let hadFocusVisibleRecentlyTimeout;
5101
5102
  const inputTypesWhitelist = {
5102
5103
  text: true,
5103
5104
  search: true,
@@ -5433,6 +5434,23 @@
5433
5434
  validator.isRequired = requiredInteger;
5434
5435
  var integerPropType = validator;
5435
5436
 
5437
+ /**
5438
+ * Add keys, values of `defaultProps` that does not exist in `props`
5439
+ * @param {object} defaultProps
5440
+ * @param {object} props
5441
+ * @returns {object} resolved props
5442
+ */
5443
+ function resolveProps(defaultProps, props) {
5444
+ const output = _extends({}, props);
5445
+
5446
+ Object.keys(defaultProps).forEach(propName => {
5447
+ if (output[propName] === undefined) {
5448
+ output[propName] = defaultProps[propName];
5449
+ }
5450
+ });
5451
+ return output;
5452
+ }
5453
+
5436
5454
  function merge(acc, item) {
5437
5455
  if (!item) {
5438
5456
  return acc;
@@ -5508,7 +5526,7 @@
5508
5526
  function removeUnusedBreakpoints(breakpointKeys, style) {
5509
5527
  return breakpointKeys.reduce((acc, key) => {
5510
5528
  const breakpointOutput = acc[key];
5511
- const isBreakpointUnused = Object.keys(breakpointOutput).length === 0;
5529
+ const isBreakpointUnused = !breakpointOutput || Object.keys(breakpointOutput).length === 0;
5512
5530
 
5513
5531
  if (isBreakpointUnused) {
5514
5532
  delete acc[key];
@@ -6264,27 +6282,29 @@
6264
6282
  Object.keys(sxObject).forEach(styleKey => {
6265
6283
  const value = callIfFn(sxObject[styleKey], theme);
6266
6284
 
6267
- if (typeof value === 'object') {
6268
- if (propToStyleFunction[styleKey]) {
6269
- css = merge(css, getThemeValue(styleKey, value, theme));
6270
- } else {
6271
- const breakpointsValues = handleBreakpoints({
6272
- theme
6273
- }, value, x => ({
6274
- [styleKey]: x
6275
- }));
6276
-
6277
- if (objectsHaveSameKeys(breakpointsValues, value)) {
6278
- css[styleKey] = styleFunctionSx({
6279
- sx: value,
6280
- theme
6281
- });
6285
+ if (value !== null && value !== undefined) {
6286
+ if (typeof value === 'object') {
6287
+ if (propToStyleFunction[styleKey]) {
6288
+ css = merge(css, getThemeValue(styleKey, value, theme));
6282
6289
  } else {
6283
- css = merge(css, breakpointsValues);
6290
+ const breakpointsValues = handleBreakpoints({
6291
+ theme
6292
+ }, value, x => ({
6293
+ [styleKey]: x
6294
+ }));
6295
+
6296
+ if (objectsHaveSameKeys(breakpointsValues, value)) {
6297
+ css[styleKey] = styleFunctionSx({
6298
+ sx: value,
6299
+ theme
6300
+ });
6301
+ } else {
6302
+ css = merge(css, breakpointsValues);
6303
+ }
6284
6304
  }
6305
+ } else {
6306
+ css = merge(css, getThemeValue(styleKey, value, theme));
6285
6307
  }
6286
- } else {
6287
- css = merge(css, getThemeValue(styleKey, value, theme));
6288
6308
  }
6289
6309
  });
6290
6310
  return removeUnusedBreakpoints(breakpointsKeys, css);
@@ -6295,7 +6315,7 @@
6295
6315
 
6296
6316
  styleFunctionSx.filterProps = ['sx'];
6297
6317
 
6298
- const _excluded$2o = ["sx"];
6318
+ const _excluded$2t = ["sx"];
6299
6319
 
6300
6320
  const splitProps = props => {
6301
6321
  const result = {
@@ -6316,7 +6336,7 @@
6316
6336
  const {
6317
6337
  sx: inSx
6318
6338
  } = props,
6319
- other = _objectWithoutPropertiesLoose(props, _excluded$2o);
6339
+ other = _objectWithoutPropertiesLoose(props, _excluded$2t);
6320
6340
 
6321
6341
  const {
6322
6342
  systemProps,
@@ -6345,6 +6365,15 @@
6345
6365
  });
6346
6366
  }
6347
6367
 
6368
+ function sx(styles) {
6369
+ return ({
6370
+ theme
6371
+ }) => styleFunctionSx({
6372
+ sx: styles,
6373
+ theme
6374
+ });
6375
+ }
6376
+
6348
6377
  function toVal(mix) {
6349
6378
  var k, y, str='';
6350
6379
 
@@ -6386,7 +6415,7 @@
6386
6415
  return str;
6387
6416
  }
6388
6417
 
6389
- const _excluded$2n = ["values", "unit", "step"];
6418
+ const _excluded$2s = ["values", "unit", "step"];
6390
6419
 
6391
6420
  function createBreakpoints(breakpoints) {
6392
6421
  const {
@@ -6407,7 +6436,7 @@
6407
6436
  unit = 'px',
6408
6437
  step = 5
6409
6438
  } = breakpoints,
6410
- other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2n);
6439
+ other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2s);
6411
6440
 
6412
6441
  const keys = Object.keys(values);
6413
6442
 
@@ -6482,7 +6511,7 @@
6482
6511
  return spacing;
6483
6512
  }
6484
6513
 
6485
- const _excluded$2m = ["breakpoints", "palette", "spacing", "shape"];
6514
+ const _excluded$2r = ["breakpoints", "palette", "spacing", "shape"];
6486
6515
 
6487
6516
  function createTheme$1(options = {}, ...args) {
6488
6517
  const {
@@ -6491,7 +6520,7 @@
6491
6520
  spacing: spacingInput,
6492
6521
  shape: shapeInput = {}
6493
6522
  } = options,
6494
- other = _objectWithoutPropertiesLoose(options, _excluded$2m);
6523
+ other = _objectWithoutPropertiesLoose(options, _excluded$2r);
6495
6524
 
6496
6525
  const breakpoints = createBreakpoints(breakpointsInput);
6497
6526
  const spacing = createSpacing(spacingInput);
@@ -6613,7 +6642,7 @@
6613
6642
  return useTheme$2(defaultTheme);
6614
6643
  }
6615
6644
 
6616
- const _excluded$2l = ["className", "component"];
6645
+ const _excluded$2q = ["className", "component"];
6617
6646
  function createBox(options = {}) {
6618
6647
  const {
6619
6648
  defaultTheme,
@@ -6629,7 +6658,7 @@
6629
6658
  className,
6630
6659
  component = 'div'
6631
6660
  } = _extendSxProp,
6632
- other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2l);
6661
+ other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2q);
6633
6662
 
6634
6663
  return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
6635
6664
  as: component,
@@ -6660,12 +6689,12 @@
6660
6689
  /**
6661
6690
  * @ignore
6662
6691
  */
6663
- sx: propTypes.oneOfType([propTypes.object, propTypes.array])
6692
+ sx: propTypes.oneOfType([propTypes.object, propTypes.array, propTypes.func])
6664
6693
  } ;
6665
6694
  return Box;
6666
6695
  }
6667
6696
 
6668
- const _excluded$2k = ["variant"];
6697
+ const _excluded$2p = ["variant"];
6669
6698
 
6670
6699
  function isEmpty$2(string) {
6671
6700
  return string.length === 0;
@@ -6681,7 +6710,7 @@
6681
6710
  const {
6682
6711
  variant
6683
6712
  } = props,
6684
- other = _objectWithoutPropertiesLoose(props, _excluded$2k);
6713
+ other = _objectWithoutPropertiesLoose(props, _excluded$2p);
6685
6714
 
6686
6715
  let classKey = variant || '';
6687
6716
  Object.keys(other).sort().forEach(key => {
@@ -6694,7 +6723,7 @@
6694
6723
  return classKey;
6695
6724
  }
6696
6725
 
6697
- const _excluded$2j = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6726
+ const _excluded$2o = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
6698
6727
  _excluded2$b = ["theme"],
6699
6728
  _excluded3$1 = ["theme"];
6700
6729
 
@@ -6775,7 +6804,7 @@
6775
6804
  skipSx: inputSkipSx,
6776
6805
  overridesResolver
6777
6806
  } = inputOptions,
6778
- options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2j); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6807
+ options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2o); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
6779
6808
 
6780
6809
 
6781
6810
  const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
@@ -6894,7 +6923,6 @@
6894
6923
  };
6895
6924
  }
6896
6925
 
6897
- /* eslint-disable no-restricted-syntax */
6898
6926
  function getThemeProps(params) {
6899
6927
  const {
6900
6928
  theme,
@@ -6906,20 +6934,7 @@
6906
6934
  return props;
6907
6935
  }
6908
6936
 
6909
- const output = _extends({}, props); // Resolve default props, code borrow from React source.
6910
- // https://github.com/facebook/react/blob/15a8f031838a553e41c0b66eb1bcf1da8448104d/packages/react/src/ReactElement.js#L221
6911
-
6912
-
6913
- const defaultProps = theme.components[name].defaultProps;
6914
- let propName;
6915
-
6916
- for (propName in defaultProps) {
6917
- if (output[propName] === undefined) {
6918
- output[propName] = defaultProps[propName];
6919
- }
6920
- }
6921
-
6922
- return output;
6937
+ return resolveProps(theme.components[name].defaultProps, props);
6923
6938
  }
6924
6939
 
6925
6940
  function useThemeProps$1({
@@ -7277,7 +7292,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7277
7292
  ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
7278
7293
  }
7279
7294
 
7280
- const _excluded$2i = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7295
+ const _excluded$2n = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
7281
7296
  _excluded2$a = ["type", "mode"];
7282
7297
  function adaptV4Theme(inputTheme) {
7283
7298
  {
@@ -7292,7 +7307,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7292
7307
  props = {},
7293
7308
  styleOverrides = {}
7294
7309
  } = inputTheme,
7295
- other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2i);
7310
+ other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2n);
7296
7311
 
7297
7312
  const theme = _extends({}, other, {
7298
7313
  components: {}
@@ -7308,7 +7323,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7308
7323
  const componentValue = theme.components[component] || {};
7309
7324
  componentValue.defaultProps = props[component];
7310
7325
  theme.components[component] = componentValue;
7311
- }); // css overrides
7326
+ }); // CSS overrides
7312
7327
 
7313
7328
  Object.keys(styleOverrides).forEach(component => {
7314
7329
  const componentValue = theme.components[component] || {};
@@ -7357,6 +7372,49 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
7357
7372
  return theme;
7358
7373
  }
7359
7374
 
7375
+ /**
7376
+ * Determines if a given element is a DOM element name (i.e. not a React component).
7377
+ */
7378
+ function isHostComponent(element) {
7379
+ return typeof element === 'string';
7380
+ }
7381
+
7382
+ /**
7383
+ * Appends the ownerState object to the props, merging with the existing one if necessary.
7384
+ *
7385
+ * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
7386
+ * @param existingProps Props of the element.
7387
+ * @param ownerState
7388
+ */
7389
+
7390
+ function appendOwnerState(elementType, existingProps = {}, ownerState) {
7391
+ if (isHostComponent(elementType)) {
7392
+ return existingProps;
7393
+ }
7394
+
7395
+ return _extends({}, existingProps, {
7396
+ ownerState: _extends({}, existingProps.ownerState, ownerState)
7397
+ });
7398
+ }
7399
+
7400
+ /**
7401
+ * Extracts event handlers from a given object.
7402
+ * A prop is considered an event handler if it is a function and its name starts with `on`.
7403
+ *
7404
+ * @param object An object to extract event handlers from.
7405
+ */
7406
+ function extractEventHandlers(object, excludeKeys = []) {
7407
+ if (object === undefined) {
7408
+ return {};
7409
+ }
7410
+
7411
+ const result = {};
7412
+ Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
7413
+ result[prop] = object[prop];
7414
+ });
7415
+ return result;
7416
+ }
7417
+
7360
7418
  // Give up on IE11 support for this feature
7361
7419
 
7362
7420
  function stripDiacritics(string) {
@@ -8402,13 +8460,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8402
8460
  return output;
8403
8461
  }
8404
8462
 
8405
- /**
8406
- * Determines if a given element is a DOM element name (i.e. not a React component).
8407
- */
8408
- function isHostComponent(element) {
8409
- return typeof element === 'string';
8410
- }
8411
-
8412
8463
  const defaultGenerator = componentName => componentName;
8413
8464
 
8414
8465
  const createClassNameGenerator = () => {
@@ -8463,9 +8514,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8463
8514
  const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
8464
8515
  var backdropUnstyledClasses$1 = backdropUnstyledClasses;
8465
8516
 
8466
- const _excluded$2h = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
8517
+ const _excluded$2m = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
8467
8518
 
8468
- const useUtilityClasses$1P = ownerState => {
8519
+ const useUtilityClasses$1T = ownerState => {
8469
8520
  const {
8470
8521
  classes,
8471
8522
  invisible
@@ -8488,14 +8539,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8488
8539
  /* eslint-disable react/prop-types */
8489
8540
  theme
8490
8541
  } = props,
8491
- other = _objectWithoutPropertiesLoose(props, _excluded$2h);
8542
+ other = _objectWithoutPropertiesLoose(props, _excluded$2m);
8492
8543
 
8493
8544
  const ownerState = _extends({}, props, {
8494
8545
  classes: classesProp,
8495
8546
  invisible
8496
8547
  });
8497
8548
 
8498
- const classes = useUtilityClasses$1P(ownerState);
8549
+ const classes = useUtilityClasses$1T(ownerState);
8499
8550
  const Root = components.Root || component;
8500
8551
  const rootProps = componentsProps.root || {};
8501
8552
  return /*#__PURE__*/jsxRuntime_1(Root, _extends({
@@ -8569,9 +8620,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8569
8620
  const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular', 'invisible']);
8570
8621
  var badgeUnstyledClasses$1 = badgeUnstyledClasses;
8571
8622
 
8572
- const _excluded$2g = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
8623
+ const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "overlap", "showZero", "variant", "theme"];
8573
8624
 
8574
- const useUtilityClasses$1O = ownerState => {
8625
+ const useUtilityClasses$1S = ownerState => {
8575
8626
  const {
8576
8627
  variant,
8577
8628
  anchorOrigin,
@@ -8608,7 +8659,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8608
8659
  /* eslint-disable react/prop-types */
8609
8660
  theme
8610
8661
  } = props,
8611
- other = _objectWithoutPropertiesLoose(props, _excluded$2g);
8662
+ other = _objectWithoutPropertiesLoose(props, _excluded$2l);
8612
8663
 
8613
8664
  const prevProps = usePreviousProps$1({
8614
8665
  anchorOrigin: anchorOriginProp,
@@ -8647,7 +8698,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8647
8698
  displayValue = badgeContent > max ? `${max}+` : badgeContent;
8648
8699
  }
8649
8700
 
8650
- const classes = useUtilityClasses$1O(ownerState);
8701
+ const classes = useUtilityClasses$1S(ownerState);
8651
8702
  const Root = components.Root || component;
8652
8703
  const rootProps = componentsProps.root || {};
8653
8704
  const Badge = components.Badge || 'span';
@@ -8768,24 +8819,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8768
8819
  const buttonUnstyledClasses = generateUtilityClasses('ButtonUnstyled', ['root', 'active', 'disabled', 'focusVisible']);
8769
8820
  var buttonUnstyledClasses$1 = buttonUnstyledClasses;
8770
8821
 
8771
- /**
8772
- * Extracts event handlers from a given object.
8773
- * A prop is considered an event handler if it is a function and its name starts with `on`.
8774
- *
8775
- * @param object An object to extract event handlers from.
8776
- */
8777
- function extractEventHandlers(object, excludeKeys = []) {
8778
- if (object === undefined) {
8779
- return {};
8780
- }
8781
-
8782
- const result = {};
8783
- Object.keys(object).filter(prop => prop.match(/^on[A-Z]/) && typeof object[prop] === 'function' && !excludeKeys.includes(prop)).forEach(prop => {
8784
- result[prop] = object[prop];
8785
- });
8786
- return result;
8787
- }
8788
-
8789
8822
  function useButton(props) {
8790
8823
  var _ref;
8791
8824
 
@@ -8987,27 +9020,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
8987
9020
  };
8988
9021
  }
8989
9022
 
8990
- /**
8991
- * Appends the ownerState object to the props, merging with the existing one if necessary.
8992
- *
8993
- * @param elementType Type of the element that owns the `existingProps`. If the element is a DOM node, `ownerState` are not applied.
8994
- * @param existingProps Props of the element.
8995
- * @param ownerState
8996
- */
8997
-
8998
- function appendOwnerState(elementType, existingProps, ownerState) {
8999
- if (isHostComponent(elementType)) {
9000
- return existingProps;
9001
- }
9002
-
9003
- return _extends({}, existingProps, {
9004
- ownerState: _extends({}, existingProps.ownerState, ownerState)
9005
- });
9006
- }
9007
-
9008
- const _excluded$2f = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
9023
+ const _excluded$2k = ["className", "component", "components", "componentsProps", "children", "disabled", "action", "onBlur", "onClick", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseLeave"];
9009
9024
 
9010
- const useUtilityClasses$1N = ownerState => {
9025
+ const useUtilityClasses$1R = ownerState => {
9011
9026
  const {
9012
9027
  active,
9013
9028
  disabled,
@@ -9042,7 +9057,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9042
9057
  children,
9043
9058
  action
9044
9059
  } = props,
9045
- other = _objectWithoutPropertiesLoose(props, _excluded$2f);
9060
+ other = _objectWithoutPropertiesLoose(props, _excluded$2k);
9046
9061
 
9047
9062
  const buttonRef = React__namespace.useRef();
9048
9063
  const handleRef = useForkRef(buttonRef, ref);
@@ -9068,7 +9083,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9068
9083
 
9069
9084
  const ButtonRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
9070
9085
  const buttonRootProps = appendOwnerState(ButtonRoot, _extends({}, other, componentsProps.root), ownerState);
9071
- const classes = useUtilityClasses$1N(ownerState);
9086
+ const classes = useUtilityClasses$1R(ownerState);
9072
9087
  return /*#__PURE__*/jsxRuntime_1(ButtonRoot, _extends({}, getRootProps(), buttonRootProps, {
9073
9088
  className: clsx(classes.root, className, buttonRootProps.className),
9074
9089
  children: children
@@ -9141,6 +9156,192 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9141
9156
  } ;
9142
9157
  var ButtonUnstyled$1 = ButtonUnstyled;
9143
9158
 
9159
+ function mapEventPropToEvent(eventProp) {
9160
+ return eventProp.substring(2).toLowerCase();
9161
+ }
9162
+
9163
+ function clickedRootScrollbar(event, doc) {
9164
+ return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
9165
+ }
9166
+
9167
+ /**
9168
+ * Listen for click events that occur somewhere in the document, outside of the element itself.
9169
+ * For instance, if you need to hide a menu when people click anywhere else on your page.
9170
+ *
9171
+ * Demos:
9172
+ *
9173
+ * - [Click Away Listener](https://mui.com/components/click-away-listener/)
9174
+ * - [Menus](https://mui.com/components/menus/)
9175
+ *
9176
+ * API:
9177
+ *
9178
+ * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
9179
+ */
9180
+ function ClickAwayListener(props) {
9181
+ const {
9182
+ children,
9183
+ disableReactTree = false,
9184
+ mouseEvent = 'onClick',
9185
+ onClickAway,
9186
+ touchEvent = 'onTouchEnd'
9187
+ } = props;
9188
+ const movedRef = React__namespace.useRef(false);
9189
+ const nodeRef = React__namespace.useRef(null);
9190
+ const activatedRef = React__namespace.useRef(false);
9191
+ const syntheticEventRef = React__namespace.useRef(false);
9192
+ React__namespace.useEffect(() => {
9193
+ // Ensure that this component is not "activated" synchronously.
9194
+ // https://github.com/facebook/react/issues/20074
9195
+ setTimeout(() => {
9196
+ activatedRef.current = true;
9197
+ }, 0);
9198
+ return () => {
9199
+ activatedRef.current = false;
9200
+ };
9201
+ }, []);
9202
+ const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
9203
+ children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
9204
+ //
9205
+ // event.preventDefault() is meant to stop default behaviors like
9206
+ // clicking a checkbox to check it, hitting a button to submit a form,
9207
+ // and hitting left arrow to move the cursor in a text input etc.
9208
+ // Only special HTML elements have these default behaviors.
9209
+
9210
+ const handleClickAway = useEventCallback(event => {
9211
+ // Given developers can stop the propagation of the synthetic event,
9212
+ // we can only be confident with a positive value.
9213
+ const insideReactTree = syntheticEventRef.current;
9214
+ syntheticEventRef.current = false;
9215
+ const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
9216
+ // 2. The child might render null.
9217
+ // 3. Behave like a blur listener.
9218
+
9219
+ if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
9220
+ return;
9221
+ } // Do not act if user performed touchmove
9222
+
9223
+
9224
+ if (movedRef.current) {
9225
+ movedRef.current = false;
9226
+ return;
9227
+ }
9228
+
9229
+ let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
9230
+
9231
+ if (event.composedPath) {
9232
+ insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
9233
+ } else {
9234
+ insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9235
+ event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
9236
+ event.target);
9237
+ }
9238
+
9239
+ if (!insideDOM && (disableReactTree || !insideReactTree)) {
9240
+ onClickAway(event);
9241
+ }
9242
+ }); // Keep track of mouse/touch events that bubbled up through the portal.
9243
+
9244
+ const createHandleSynthetic = handlerName => event => {
9245
+ syntheticEventRef.current = true;
9246
+ const childrenPropsHandler = children.props[handlerName];
9247
+
9248
+ if (childrenPropsHandler) {
9249
+ childrenPropsHandler(event);
9250
+ }
9251
+ };
9252
+
9253
+ const childrenProps = {
9254
+ ref: handleRef
9255
+ };
9256
+
9257
+ if (touchEvent !== false) {
9258
+ childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
9259
+ }
9260
+
9261
+ React__namespace.useEffect(() => {
9262
+ if (touchEvent !== false) {
9263
+ const mappedTouchEvent = mapEventPropToEvent(touchEvent);
9264
+ const doc = ownerDocument(nodeRef.current);
9265
+
9266
+ const handleTouchMove = () => {
9267
+ movedRef.current = true;
9268
+ };
9269
+
9270
+ doc.addEventListener(mappedTouchEvent, handleClickAway);
9271
+ doc.addEventListener('touchmove', handleTouchMove);
9272
+ return () => {
9273
+ doc.removeEventListener(mappedTouchEvent, handleClickAway);
9274
+ doc.removeEventListener('touchmove', handleTouchMove);
9275
+ };
9276
+ }
9277
+
9278
+ return undefined;
9279
+ }, [handleClickAway, touchEvent]);
9280
+
9281
+ if (mouseEvent !== false) {
9282
+ childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
9283
+ }
9284
+
9285
+ React__namespace.useEffect(() => {
9286
+ if (mouseEvent !== false) {
9287
+ const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
9288
+ const doc = ownerDocument(nodeRef.current);
9289
+ doc.addEventListener(mappedMouseEvent, handleClickAway);
9290
+ return () => {
9291
+ doc.removeEventListener(mappedMouseEvent, handleClickAway);
9292
+ };
9293
+ }
9294
+
9295
+ return undefined;
9296
+ }, [handleClickAway, mouseEvent]);
9297
+ return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
9298
+ children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
9299
+ });
9300
+ }
9301
+
9302
+ ClickAwayListener.propTypes
9303
+ /* remove-proptypes */
9304
+ = {
9305
+ // ----------------------------- Warning --------------------------------
9306
+ // | These PropTypes are generated from the TypeScript type definitions |
9307
+ // | To update them edit TypeScript types and run "yarn proptypes" |
9308
+ // ----------------------------------------------------------------------
9309
+
9310
+ /**
9311
+ * The wrapped element.
9312
+ */
9313
+ children: elementAcceptingRef$1.isRequired,
9314
+
9315
+ /**
9316
+ * If `true`, the React tree is ignored and only the DOM tree is considered.
9317
+ * This prop changes how portaled elements are handled.
9318
+ * @default false
9319
+ */
9320
+ disableReactTree: propTypes.bool,
9321
+
9322
+ /**
9323
+ * The mouse event to listen to. You can disable the listener by providing `false`.
9324
+ * @default 'onClick'
9325
+ */
9326
+ mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
9327
+
9328
+ /**
9329
+ * Callback fired when a "click away" event is detected.
9330
+ */
9331
+ onClickAway: propTypes.func.isRequired,
9332
+
9333
+ /**
9334
+ * The touch event to listen to. You can disable the listener by providing `false`.
9335
+ * @default 'onTouchEnd'
9336
+ */
9337
+ touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
9338
+ } ;
9339
+
9340
+ {
9341
+ // eslint-disable-next-line
9342
+ ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
9343
+ }
9344
+
9144
9345
  /**
9145
9346
  * @ignore - internal component.
9146
9347
  */
@@ -9158,7 +9359,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9158
9359
  const formControlUnstyledClasses = generateUtilityClasses('MuiFormControl', ['root', 'disabled']);
9159
9360
  var classes$2 = formControlUnstyledClasses;
9160
9361
 
9161
- const _excluded$2e = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
9362
+ const _excluded$2j = ["defaultValue", "children", "className", "component", "components", "componentsProps", "disabled", "error", "focused", "onChange", "required", "value"];
9162
9363
 
9163
9364
  function hasValue$1(value) {
9164
9365
  return value != null && !(Array.isArray(value) && value.length === 0) && value !== '';
@@ -9208,12 +9409,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9208
9409
  componentsProps = {},
9209
9410
  disabled = false,
9210
9411
  error = false,
9211
- focused: visuallyFocused = false,
9412
+ focused: visuallyFocused,
9212
9413
  onChange,
9213
9414
  required = false,
9214
9415
  value: incomingValue
9215
9416
  } = props,
9216
- other = _objectWithoutPropertiesLoose(props, _excluded$2e);
9417
+ other = _objectWithoutPropertiesLoose(props, _excluded$2j);
9217
9418
 
9218
9419
  const [value, setValue] = useControlled({
9219
9420
  controlled: incomingValue,
@@ -9540,7 +9741,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9540
9741
  };
9541
9742
  }
9542
9743
 
9543
- const _excluded$2d = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
9744
+ const _excluded$2i = ["aria-describedby", "aria-label", "aria-labelledby", "autoComplete", "autoFocus", "className", "component", "components", "componentsProps", "defaultValue", "disabled", "endAdornment", "error", "id", "maxRows", "minRows", "multiline", "name", "onClick", "onChange", "onKeyDown", "onKeyUp", "onFocus", "onBlur", "placeholder", "readOnly", "required", "rows", "type", "startAdornment", "value"];
9544
9745
  const InputUnstyled = /*#__PURE__*/React__namespace.forwardRef(function InputUnstyled(props, ref) {
9545
9746
  var _componentsProps$inpu, _ref, _componentsProps$root, _components$Input, _componentsProps$inpu2;
9546
9747
 
@@ -9577,7 +9778,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
9577
9778
  startAdornment,
9578
9779
  value
9579
9780
  } = props,
9580
- other = _objectWithoutPropertiesLoose(props, _excluded$2d);
9781
+ other = _objectWithoutPropertiesLoose(props, _excluded$2i);
9581
9782
 
9582
9783
  const {
9583
9784
  getRootProps,
@@ -10521,9 +10722,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10521
10722
  const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
10522
10723
  var modalUnstyledClasses$1 = modalUnstyledClasses;
10523
10724
 
10524
- const _excluded$2c = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
10725
+ const _excluded$2h = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
10525
10726
 
10526
- const useUtilityClasses$1M = ownerState => {
10727
+ const useUtilityClasses$1Q = ownerState => {
10527
10728
  const {
10528
10729
  open,
10529
10730
  exited,
@@ -10593,7 +10794,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10593
10794
  onTransitionEnter,
10594
10795
  onTransitionExited
10595
10796
  } = props,
10596
- other = _objectWithoutPropertiesLoose(props, _excluded$2c);
10797
+ other = _objectWithoutPropertiesLoose(props, _excluded$2h);
10597
10798
 
10598
10799
  const [exited, setExited] = React__namespace.useState(true);
10599
10800
  const modal = React__namespace.useRef({});
@@ -10670,7 +10871,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
10670
10871
  keepMounted
10671
10872
  });
10672
10873
 
10673
- const classes = useUtilityClasses$1M(ownerState);
10874
+ const classes = useUtilityClasses$1Q(ownerState);
10674
10875
 
10675
10876
  if (!keepMounted && !open && (!hasTransition || exited)) {
10676
10877
  return null;
@@ -12852,7 +13053,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12852
13053
  defaultModifiers: defaultModifiers
12853
13054
  }); // eslint-disable-next-line import/no-unused-modules
12854
13055
 
12855
- const _excluded$2b = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "TransitionProps"],
13056
+ const _excluded$2g = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "TransitionProps"],
12856
13057
  _excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
12857
13058
 
12858
13059
  function flipPlacement(placement, direction) {
@@ -12878,7 +13079,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12878
13079
  }
12879
13080
  }
12880
13081
 
12881
- function resolveAnchorEl$2(anchorEl) {
13082
+ function resolveAnchorEl$1(anchorEl) {
12882
13083
  return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
12883
13084
  }
12884
13085
 
@@ -12898,7 +13099,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12898
13099
  popperRef: popperRefProp,
12899
13100
  TransitionProps
12900
13101
  } = props,
12901
- other = _objectWithoutPropertiesLoose(props, _excluded$2b);
13102
+ other = _objectWithoutPropertiesLoose(props, _excluded$2g);
12902
13103
 
12903
13104
  const tooltipRef = React__namespace.useRef(null);
12904
13105
  const ownRef = useForkRef(tooltipRef, ref);
@@ -12930,7 +13131,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12930
13131
  setPlacement(data.placement);
12931
13132
  };
12932
13133
 
12933
- const resolvedAnchorEl = resolveAnchorEl$2(anchorEl);
13134
+ const resolvedAnchorEl = resolveAnchorEl$1(anchorEl);
12934
13135
 
12935
13136
  {
12936
13137
  if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
@@ -12971,7 +13172,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
12971
13172
  popperModifiers = popperModifiers.concat(popperOptions.modifiers);
12972
13173
  }
12973
13174
 
12974
- const popper = createPopper(resolveAnchorEl$2(anchorEl), tooltipRef.current, _extends({
13175
+ const popper = createPopper(resolveAnchorEl$1(anchorEl), tooltipRef.current, _extends({
12975
13176
  placement: rtlPlacement
12976
13177
  }, popperOptions, {
12977
13178
  modifiers: popperModifiers
@@ -13038,7 +13239,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13038
13239
  // If neither are provided let the Modal take care of choosing the container
13039
13240
 
13040
13241
 
13041
- const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl$2(anchorEl)).body : undefined);
13242
+ const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl$1(anchorEl)).body : undefined);
13042
13243
  return /*#__PURE__*/jsxRuntime_1(Portal$1, {
13043
13244
  disablePortal: disablePortal,
13044
13245
  container: container,
@@ -13086,7 +13287,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13086
13287
  */
13087
13288
  anchorEl: chainPropTypes(propTypes.oneOfType([HTMLElementType, propTypes.object, propTypes.func]), props => {
13088
13289
  if (props.open) {
13089
- const resolvedAnchorEl = resolveAnchorEl$2(props.anchorEl);
13290
+ const resolvedAnchorEl = resolveAnchorEl$1(props.anchorEl);
13090
13291
 
13091
13292
  if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
13092
13293
  const box = resolvedAnchorEl.getBoundingClientRect();
@@ -13256,7 +13457,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13256
13457
  value: propTypes.node
13257
13458
  } ;
13258
13459
 
13259
- const _excluded$2a = ["aria-label", "aria-labelledby", "aria-valuetext", "className", "component", "classes", "defaultValue", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
13460
+ const _excluded$2f = ["aria-label", "aria-labelledby", "aria-valuetext", "className", "component", "classes", "defaultValue", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
13260
13461
  const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
13261
13462
 
13262
13463
  function asc(a, b) {
@@ -13416,7 +13617,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13416
13617
  return cachedSupportsTouchActionNone;
13417
13618
  }
13418
13619
 
13419
- const useUtilityClasses$1L = ownerState => {
13620
+ const useUtilityClasses$1P = ownerState => {
13420
13621
  const {
13421
13622
  disabled,
13422
13623
  dragging,
@@ -13478,7 +13679,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13478
13679
  components = {},
13479
13680
  componentsProps = {}
13480
13681
  } = props,
13481
- other = _objectWithoutPropertiesLoose(props, _excluded$2a);
13682
+ other = _objectWithoutPropertiesLoose(props, _excluded$2f);
13482
13683
 
13483
13684
  const touchId = React__namespace.useRef(); // We can't use the :active browser pseudo-classes.
13484
13685
  // - The active state isn't triggered when clicking on the rail.
@@ -13908,7 +14109,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
13908
14109
  valueLabelFormat
13909
14110
  });
13910
14111
 
13911
- const classes = useUtilityClasses$1L(ownerState);
14112
+ const classes = useUtilityClasses$1P(ownerState);
13912
14113
  return /*#__PURE__*/jsxRuntime_2(Root, _extends({
13913
14114
  ref: handleRef,
13914
14115
  onMouseDown: handleMouseDown
@@ -14374,7 +14575,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14374
14575
  const switchUnstyledClasses = generateUtilityClasses('MuiSwitch', ['root', 'input', 'track', 'thumb', 'checked', 'disabled', 'focusVisible', 'readOnly']);
14375
14576
  var classes = switchUnstyledClasses;
14376
14577
 
14377
- const _excluded$29 = ["checked", "className", "component", "components", "componentsProps", "defaultChecked", "disabled", "onBlur", "onChange", "onFocus", "onFocusVisible", "readOnly", "required"];
14578
+ const _excluded$2e = ["checked", "className", "component", "components", "componentsProps", "defaultChecked", "disabled", "onBlur", "onChange", "onFocus", "onFocusVisible", "readOnly", "required"];
14378
14579
 
14379
14580
  /**
14380
14581
  * The foundation for building custom-styled switches.
@@ -14404,7 +14605,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14404
14605
  onFocusVisible,
14405
14606
  readOnly: readOnlyProp
14406
14607
  } = props,
14407
- otherProps = _objectWithoutPropertiesLoose(props, _excluded$29);
14608
+ otherProps = _objectWithoutPropertiesLoose(props, _excluded$2e);
14408
14609
 
14409
14610
  const useSwitchProps = {
14410
14611
  checked: checkedProp,
@@ -14544,6 +14745,895 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
14544
14745
  } ;
14545
14746
  var SwitchUnstyled$1 = SwitchUnstyled;
14546
14747
 
14748
+ function getTabPanelUnstyledUtilityClass(slot) {
14749
+ return generateUtilityClass('TabPanelUnstyled', slot);
14750
+ }
14751
+ const tabPanelUnstyledClasses = generateUtilityClasses('TabPanelUnstyled', ['root', 'hidden']);
14752
+ var tabPanelUnstyledClasses$1 = tabPanelUnstyledClasses;
14753
+
14754
+ function getTabsUnstyledUtilityClass(slot) {
14755
+ return generateUtilityClass('TabsUnstyled', slot);
14756
+ }
14757
+ const tabsUnstyledClasses = generateUtilityClasses('TabsUnstyled', ['root', 'horizontal', 'vertical']);
14758
+ var tabsUnstyledClasses$1 = tabsUnstyledClasses;
14759
+
14760
+ const useTabs = props => {
14761
+ const {
14762
+ value: valueProp,
14763
+ defaultValue,
14764
+ onChange,
14765
+ orientation,
14766
+ direction,
14767
+ selectionFollowsFocus
14768
+ } = props;
14769
+ const [value, setValue] = useControlled({
14770
+ controlled: valueProp,
14771
+ default: defaultValue,
14772
+ name: 'Tabs',
14773
+ state: 'value'
14774
+ });
14775
+ const idPrefix = useId();
14776
+ const onSelected = React__namespace.useCallback((e, newValue) => {
14777
+ setValue(newValue);
14778
+
14779
+ if (onChange) {
14780
+ onChange(e, newValue);
14781
+ }
14782
+ }, [onChange, setValue]);
14783
+
14784
+ const getRootProps = () => {
14785
+ return {};
14786
+ };
14787
+
14788
+ const tabsContextValue = React__namespace.useMemo(() => {
14789
+ return {
14790
+ idPrefix,
14791
+ value,
14792
+ onSelected,
14793
+ orientation,
14794
+ direction,
14795
+ selectionFollowsFocus
14796
+ };
14797
+ }, [idPrefix, value, onSelected, orientation, direction, selectionFollowsFocus]);
14798
+ return {
14799
+ getRootProps,
14800
+ tabsContextValue
14801
+ };
14802
+ };
14803
+
14804
+ var useTabs$1 = useTabs;
14805
+
14806
+ /**
14807
+ * @ignore - internal component.
14808
+ */
14809
+ const Context = /*#__PURE__*/React__namespace.createContext(null);
14810
+
14811
+ {
14812
+ Context.displayName = 'TabsContext';
14813
+ }
14814
+ /**
14815
+ * @returns {unknown}
14816
+ */
14817
+
14818
+
14819
+ function useTabContext() {
14820
+ return React__namespace.useContext(Context);
14821
+ }
14822
+ function getPanelId(context, value) {
14823
+ const {
14824
+ idPrefix
14825
+ } = context;
14826
+
14827
+ if (idPrefix === null) {
14828
+ return null;
14829
+ }
14830
+
14831
+ return `${context.idPrefix}-P-${value}`;
14832
+ }
14833
+ function getTabId(context, value) {
14834
+ const {
14835
+ idPrefix
14836
+ } = context;
14837
+
14838
+ if (idPrefix === null) {
14839
+ return null;
14840
+ }
14841
+
14842
+ return `${context.idPrefix}-T-${value}`;
14843
+ }
14844
+ var Context$1 = Context;
14845
+
14846
+ const _excluded$2d = ["children", "className", "value", "defaultValue", "orientation", "direction", "component", "components", "componentsProps", "onChange", "selectionFollowsFocus"];
14847
+
14848
+ const useUtilityClasses$1O = ownerState => {
14849
+ const {
14850
+ orientation
14851
+ } = ownerState;
14852
+ const slots = {
14853
+ root: ['root', orientation]
14854
+ };
14855
+ return composeClasses(slots, getTabsUnstyledUtilityClass, {});
14856
+ };
14857
+ /**
14858
+ *
14859
+ * Demos:
14860
+ *
14861
+ * - [Tabs](https://mui.com/components/tabs/)
14862
+ *
14863
+ * API:
14864
+ *
14865
+ * - [TabsUnstyled API](https://mui.com/api/tabs-unstyled/)
14866
+ */
14867
+
14868
+
14869
+ const TabsUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
14870
+ var _ref, _componentsProps$root;
14871
+
14872
+ const {
14873
+ children,
14874
+ className,
14875
+ orientation = 'horizontal',
14876
+ direction = 'ltr',
14877
+ component,
14878
+ components = {},
14879
+ componentsProps = {}
14880
+ } = props,
14881
+ other = _objectWithoutPropertiesLoose(props, _excluded$2d);
14882
+
14883
+ const {
14884
+ tabsContextValue,
14885
+ getRootProps
14886
+ } = useTabs$1(props);
14887
+
14888
+ const ownerState = _extends({}, props, {
14889
+ orientation,
14890
+ direction
14891
+ });
14892
+
14893
+ const classes = useUtilityClasses$1O(ownerState);
14894
+ const TabsRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
14895
+ const tabsRootProps = appendOwnerState(TabsRoot, _extends({}, other, componentsProps.root), ownerState);
14896
+ return /*#__PURE__*/jsxRuntime_1(TabsRoot, _extends({}, getRootProps(), tabsRootProps, {
14897
+ ref: ref,
14898
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
14899
+ children: /*#__PURE__*/jsxRuntime_1(Context$1.Provider, {
14900
+ value: tabsContextValue,
14901
+ children: children
14902
+ })
14903
+ }));
14904
+ });
14905
+ TabsUnstyled.propTypes
14906
+ /* remove-proptypes */
14907
+ = {
14908
+ // ----------------------------- Warning --------------------------------
14909
+ // | These PropTypes are generated from the TypeScript type definitions |
14910
+ // | To update them edit TypeScript types and run "yarn proptypes" |
14911
+ // ----------------------------------------------------------------------
14912
+
14913
+ /**
14914
+ * The content of the component.
14915
+ */
14916
+ children: propTypes.node,
14917
+
14918
+ /**
14919
+ * @ignore
14920
+ */
14921
+ className: propTypes.string,
14922
+
14923
+ /**
14924
+ * The component used for the root node.
14925
+ * Either a string to use a HTML element or a component.
14926
+ */
14927
+ component: propTypes.elementType,
14928
+
14929
+ /**
14930
+ * The components used for each slot inside the Tabs.
14931
+ * Either a string to use a HTML element or a component.
14932
+ * @default {}
14933
+ */
14934
+ components: propTypes.shape({
14935
+ Root: propTypes.elementType
14936
+ }),
14937
+
14938
+ /**
14939
+ * The props used for each slot inside the Tabs.
14940
+ * @default {}
14941
+ */
14942
+ componentsProps: propTypes.object,
14943
+
14944
+ /**
14945
+ * The default value. Use when the component is not controlled.
14946
+ */
14947
+ defaultValue: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string]),
14948
+
14949
+ /**
14950
+ * The direction of the text.
14951
+ * @default 'ltr'
14952
+ */
14953
+ direction: propTypes.oneOf(['ltr', 'rtl']),
14954
+
14955
+ /**
14956
+ * Callback invoked when new value is being set.
14957
+ */
14958
+ onChange: propTypes.func,
14959
+
14960
+ /**
14961
+ * The component orientation (layout flow direction).
14962
+ * @default 'horizontal'
14963
+ */
14964
+ orientation: propTypes.oneOf(['horizontal', 'vertical']),
14965
+
14966
+ /**
14967
+ * If `true` the selected tab changes on focus. Otherwise it only
14968
+ * changes on activation.
14969
+ */
14970
+ selectionFollowsFocus: propTypes.bool,
14971
+
14972
+ /**
14973
+ * The value of the currently selected `Tab`.
14974
+ * If you don't want any selected `Tab`, you can set this prop to `false`.
14975
+ */
14976
+ value: propTypes.oneOfType([propTypes.oneOf([false]), propTypes.number, propTypes.string])
14977
+ } ;
14978
+ var TabsUnstyled$1 = TabsUnstyled;
14979
+
14980
+ const useTabPanel = props => {
14981
+ const {
14982
+ value
14983
+ } = props;
14984
+ const context = useTabContext();
14985
+
14986
+ if (context === null) {
14987
+ throw new Error('No TabContext provided');
14988
+ }
14989
+
14990
+ const hidden = value !== context.value;
14991
+ const id = getPanelId(context, value);
14992
+ const tabId = getTabId(context, value);
14993
+
14994
+ const getRootProps = () => {
14995
+ return {
14996
+ 'aria-labelledby': tabId,
14997
+ hidden,
14998
+ id
14999
+ };
15000
+ };
15001
+
15002
+ return {
15003
+ hidden,
15004
+ getRootProps
15005
+ };
15006
+ };
15007
+
15008
+ var useTabPanel$1 = useTabPanel;
15009
+
15010
+ const _excluded$2c = ["children", "className", "value", "components", "componentsProps", "component"];
15011
+
15012
+ const useUtilityClasses$1N = ownerState => {
15013
+ const {
15014
+ hidden
15015
+ } = ownerState;
15016
+ const slots = {
15017
+ root: ['root', hidden && 'hidden']
15018
+ };
15019
+ return composeClasses(slots, getTabPanelUnstyledUtilityClass, {});
15020
+ };
15021
+ /**
15022
+ *
15023
+ * Demos:
15024
+ *
15025
+ * - [Tabs](https://mui.com/components/tabs/)
15026
+ *
15027
+ * API:
15028
+ *
15029
+ * - [TabPanelUnstyled API](https://mui.com/api/tab-panel-unstyled/)
15030
+ */
15031
+
15032
+
15033
+ const TabPanelUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabPanelUnstyled(props, ref) {
15034
+ var _ref, _componentsProps$root;
15035
+
15036
+ const {
15037
+ children,
15038
+ className,
15039
+ components = {},
15040
+ componentsProps = {},
15041
+ component
15042
+ } = props,
15043
+ other = _objectWithoutPropertiesLoose(props, _excluded$2c);
15044
+
15045
+ const {
15046
+ hidden,
15047
+ getRootProps
15048
+ } = useTabPanel$1(props);
15049
+
15050
+ const ownerState = _extends({}, props, {
15051
+ hidden
15052
+ });
15053
+
15054
+ const classes = useUtilityClasses$1N(ownerState);
15055
+ const TabPanelRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15056
+ const tabPanelRootProps = appendOwnerState(TabPanelRoot, _extends({}, other, componentsProps.root), ownerState);
15057
+ return /*#__PURE__*/jsxRuntime_1(TabPanelRoot, _extends({}, getRootProps(), {
15058
+ ref: ref,
15059
+ role: "tabpanel"
15060
+ }, tabPanelRootProps, {
15061
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15062
+ children: !hidden && children
15063
+ }));
15064
+ });
15065
+ TabPanelUnstyled.propTypes
15066
+ /* remove-proptypes */
15067
+ = {
15068
+ // ----------------------------- Warning --------------------------------
15069
+ // | These PropTypes are generated from the TypeScript type definitions |
15070
+ // | To update them edit TypeScript types and run "yarn proptypes" |
15071
+ // ----------------------------------------------------------------------
15072
+
15073
+ /**
15074
+ * The content of the component.
15075
+ */
15076
+ children: propTypes.node,
15077
+
15078
+ /**
15079
+ * @ignore
15080
+ */
15081
+ className: propTypes.string,
15082
+
15083
+ /**
15084
+ * The component used for the root node.
15085
+ * Either a string to use a HTML element or a component.
15086
+ */
15087
+ component: propTypes.elementType,
15088
+
15089
+ /**
15090
+ * The components used for each slot inside the TabPanel.
15091
+ * Either a string to use a HTML element or a component.
15092
+ * @default {}
15093
+ */
15094
+ components: propTypes.shape({
15095
+ Root: propTypes.elementType
15096
+ }),
15097
+
15098
+ /**
15099
+ * The props used for each slot inside the TabPanel.
15100
+ * @default {}
15101
+ */
15102
+ componentsProps: propTypes.object,
15103
+
15104
+ /**
15105
+ * The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
15106
+ */
15107
+ value: propTypes.oneOfType([propTypes.number, propTypes.string]).isRequired
15108
+ } ;
15109
+ var TabPanelUnstyled$1 = TabPanelUnstyled;
15110
+
15111
+ function getTabsListUnstyledUtilityClass(slot) {
15112
+ return generateUtilityClass('TabsListUnstyled', slot);
15113
+ }
15114
+ const tabsListUnstyledClasses = generateUtilityClasses('TabsListUnstyled', ['root', 'horizontal', 'vertical']);
15115
+ var tabsListUnstyledClasses$1 = tabsListUnstyledClasses;
15116
+
15117
+ const nextItem$2 = (list, item) => {
15118
+ if (!list) {
15119
+ return null;
15120
+ }
15121
+
15122
+ if (list === item) {
15123
+ return list.firstChild;
15124
+ }
15125
+
15126
+ if (item && item.nextElementSibling) {
15127
+ return item.nextElementSibling;
15128
+ }
15129
+
15130
+ return list.firstChild;
15131
+ };
15132
+
15133
+ const previousItem$2 = (list, item) => {
15134
+ if (!list) {
15135
+ return null;
15136
+ }
15137
+
15138
+ if (list === item) {
15139
+ return list.lastChild;
15140
+ }
15141
+
15142
+ if (item && item.previousElementSibling) {
15143
+ return item.previousElementSibling;
15144
+ }
15145
+
15146
+ return list.lastChild;
15147
+ };
15148
+
15149
+ const moveFocus$2 = (list, currentFocus, traversalFunction) => {
15150
+ let wrappedOnce = false;
15151
+ let nextFocus = traversalFunction(list, currentFocus);
15152
+
15153
+ while (list && nextFocus) {
15154
+ // Prevent infinite loop.
15155
+ if (nextFocus === list.firstChild) {
15156
+ if (wrappedOnce) {
15157
+ return;
15158
+ }
15159
+
15160
+ wrappedOnce = true;
15161
+ } // Same logic as useAutocomplete.js
15162
+
15163
+
15164
+ const nextFocusDisabled = nextFocus.disabled || nextFocus.getAttribute('aria-disabled') === 'true';
15165
+
15166
+ if (!nextFocus.hasAttribute('tabindex') || nextFocusDisabled) {
15167
+ // Move to the next element.
15168
+ nextFocus = traversalFunction(list, nextFocus);
15169
+ } else {
15170
+ nextFocus.focus();
15171
+ return;
15172
+ }
15173
+ }
15174
+ };
15175
+
15176
+ const useTabsList = props => {
15177
+ const {
15178
+ 'aria-label': ariaLabel,
15179
+ 'aria-labelledby': ariaLabelledBy,
15180
+ children,
15181
+ ref
15182
+ } = props;
15183
+ const tabsListRef = /*#__PURE__*/React__namespace.createRef();
15184
+ const handleRef = useForkRef(tabsListRef, ref);
15185
+ const context = useTabContext();
15186
+
15187
+ if (context === null) {
15188
+ throw new Error('No TabContext provided');
15189
+ }
15190
+
15191
+ const {
15192
+ value,
15193
+ orientation = 'horizontal',
15194
+ direction = 'ltr'
15195
+ } = context;
15196
+ const isRtl = direction === 'rtl';
15197
+
15198
+ const handleKeyDown = event => {
15199
+ const list = tabsListRef.current;
15200
+ const currentFocus = ownerDocument(list).activeElement; // Keyboard navigation assumes that [role="tab"] are siblings
15201
+ // though we might warn in the future about nested, interactive elements
15202
+ // as a a11y violation
15203
+
15204
+ const role = currentFocus == null ? void 0 : currentFocus.getAttribute('role');
15205
+
15206
+ if (role !== 'tab') {
15207
+ return;
15208
+ }
15209
+
15210
+ let previousItemKey = orientation === 'horizontal' ? 'ArrowLeft' : 'ArrowUp';
15211
+ let nextItemKey = orientation === 'horizontal' ? 'ArrowRight' : 'ArrowDown';
15212
+
15213
+ if (orientation === 'horizontal' && isRtl) {
15214
+ // swap previousItemKey with nextItemKey
15215
+ previousItemKey = 'ArrowRight';
15216
+ nextItemKey = 'ArrowLeft';
15217
+ }
15218
+
15219
+ switch (event.key) {
15220
+ case previousItemKey:
15221
+ event.preventDefault();
15222
+ moveFocus$2(list, currentFocus, previousItem$2);
15223
+ break;
15224
+
15225
+ case nextItemKey:
15226
+ event.preventDefault();
15227
+ moveFocus$2(list, currentFocus, nextItem$2);
15228
+ break;
15229
+
15230
+ case 'Home':
15231
+ event.preventDefault();
15232
+ moveFocus$2(list, null, nextItem$2);
15233
+ break;
15234
+
15235
+ case 'End':
15236
+ event.preventDefault();
15237
+ moveFocus$2(list, null, previousItem$2);
15238
+ break;
15239
+ }
15240
+ };
15241
+
15242
+ const createHandleKeyDown = otherHandlers => event => {
15243
+ var _otherHandlers$onKeyD;
15244
+
15245
+ handleKeyDown(event);
15246
+ (_otherHandlers$onKeyD = otherHandlers.onKeyDown) == null ? void 0 : _otherHandlers$onKeyD.call(otherHandlers, event);
15247
+ };
15248
+
15249
+ const getRootProps = otherHandlers => {
15250
+ const propsEventHandlers = extractEventHandlers(props);
15251
+
15252
+ const externalEventHandlers = _extends({}, propsEventHandlers, otherHandlers);
15253
+
15254
+ const ownEventHandlers = {
15255
+ onKeyDown: createHandleKeyDown(externalEventHandlers)
15256
+ };
15257
+
15258
+ const mergedEventHandlers = _extends({}, externalEventHandlers, ownEventHandlers);
15259
+
15260
+ return _extends({
15261
+ 'aria-label': ariaLabel,
15262
+ 'aria-labelledby': ariaLabelledBy,
15263
+ 'aria-orientation': orientation === 'vertical' ? 'vertical' : null,
15264
+ role: 'tablist',
15265
+ ref: handleRef
15266
+ }, mergedEventHandlers);
15267
+ };
15268
+
15269
+ const processChildren = React__namespace.useCallback(() => {
15270
+ const valueToIndex = new Map();
15271
+ let childIndex = 0;
15272
+ const processedChildren = React__namespace.Children.map(children, child => {
15273
+ if (! /*#__PURE__*/React__namespace.isValidElement(child)) {
15274
+ return null;
15275
+ }
15276
+
15277
+ {
15278
+ if (reactIs_2(child)) {
15279
+ console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", 'Consider providing an array instead.'].join('\n'));
15280
+ }
15281
+ }
15282
+
15283
+ const childValue = child.props.value === undefined ? childIndex : child.props.value;
15284
+ valueToIndex.set(childValue, childIndex);
15285
+ childIndex += 1;
15286
+ return /*#__PURE__*/React__namespace.cloneElement(child, _extends({
15287
+ value: childValue
15288
+ }, childIndex === 1 && value === false && !child.props.tabIndex || value === childValue ? {
15289
+ tabIndex: 0
15290
+ } : {
15291
+ tabIndex: -1
15292
+ }));
15293
+ });
15294
+ return processedChildren;
15295
+ }, [children, value]);
15296
+ return {
15297
+ isRtl,
15298
+ orientation,
15299
+ value,
15300
+ processChildren,
15301
+ getRootProps
15302
+ };
15303
+ };
15304
+
15305
+ var useTabsList$1 = useTabsList;
15306
+
15307
+ const _excluded$2b = ["className", "children", "component", "components", "componentsProps"];
15308
+
15309
+ const useUtilityClasses$1M = ownerState => {
15310
+ const {
15311
+ orientation
15312
+ } = ownerState;
15313
+ const slots = {
15314
+ root: ['root', orientation]
15315
+ };
15316
+ return composeClasses(slots, getTabsListUnstyledUtilityClass, {});
15317
+ };
15318
+ /**
15319
+ *
15320
+ * Demos:
15321
+ *
15322
+ * - [Tabs](https://mui.com/components/tabs/)
15323
+ *
15324
+ * API:
15325
+ *
15326
+ * - [TabsListUnstyled API](https://mui.com/api/tabs-list-unstyled/)
15327
+ */
15328
+
15329
+
15330
+ const TabsListUnstyled = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
15331
+ var _ref, _componentsProps$root;
15332
+
15333
+ const {
15334
+ className,
15335
+ component,
15336
+ components = {},
15337
+ componentsProps = {}
15338
+ } = props,
15339
+ other = _objectWithoutPropertiesLoose(props, _excluded$2b);
15340
+
15341
+ const {
15342
+ isRtl,
15343
+ orientation,
15344
+ getRootProps,
15345
+ processChildren
15346
+ } = useTabsList$1(_extends({}, props, {
15347
+ ref
15348
+ }));
15349
+
15350
+ const ownerState = _extends({}, props, {
15351
+ isRtl,
15352
+ orientation
15353
+ });
15354
+
15355
+ const classes = useUtilityClasses$1M(ownerState);
15356
+ const TabsListRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
15357
+ const tabsListRootProps = appendOwnerState(TabsListRoot, _extends({}, other, componentsProps.root), ownerState);
15358
+ const processedChildren = processChildren();
15359
+ return /*#__PURE__*/jsxRuntime_1(TabsListRoot, _extends({}, getRootProps(), tabsListRootProps, {
15360
+ className: clsx(className, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, classes.root),
15361
+ children: processedChildren
15362
+ }));
15363
+ });
15364
+ TabsListUnstyled.propTypes
15365
+ /* remove-proptypes */
15366
+ = {
15367
+ // ----------------------------- Warning --------------------------------
15368
+ // | These PropTypes are generated from the TypeScript type definitions |
15369
+ // | To update them edit TypeScript types and run "yarn proptypes" |
15370
+ // ----------------------------------------------------------------------
15371
+
15372
+ /**
15373
+ * The content of the component.
15374
+ */
15375
+ children: propTypes.node,
15376
+
15377
+ /**
15378
+ * @ignore
15379
+ */
15380
+ className: propTypes.string,
15381
+
15382
+ /**
15383
+ * The component used for the root node.
15384
+ * Either a string to use a HTML element or a component.
15385
+ */
15386
+ component: propTypes.elementType,
15387
+
15388
+ /**
15389
+ * The components used for each slot inside the TabsList.
15390
+ * Either a string to use a HTML element or a component.
15391
+ * @default {}
15392
+ */
15393
+ components: propTypes.shape({
15394
+ Root: propTypes.elementType
15395
+ }),
15396
+
15397
+ /**
15398
+ * The props used for each slot inside the TabsList.
15399
+ * @default {}
15400
+ */
15401
+ componentsProps: propTypes.object
15402
+ } ;
15403
+ var TabsListUnstyled$1 = TabsListUnstyled;
15404
+
15405
+ function getTabUnstyledUtilityClass(slot) {
15406
+ return generateUtilityClass('TabUnstyled', slot);
15407
+ }
15408
+ const tabUnstyledClasses = generateUtilityClasses('TabUnstyled', ['root', 'selected', 'disabled']);
15409
+ var tabUnstyledClasses$1 = tabUnstyledClasses;
15410
+
15411
+ const _excluded$2a = ["getRootProps"];
15412
+
15413
+ const useTab = props => {
15414
+ const {
15415
+ value: valueProp,
15416
+ onChange,
15417
+ onClick,
15418
+ onFocus
15419
+ } = props;
15420
+
15421
+ const _useButton = useButton(props),
15422
+ {
15423
+ getRootProps: getRootPropsButton
15424
+ } = _useButton,
15425
+ otherButtonProps = _objectWithoutPropertiesLoose(_useButton, _excluded$2a);
15426
+
15427
+ const context = useTabContext();
15428
+
15429
+ if (context === null) {
15430
+ throw new Error('No TabContext provided');
15431
+ }
15432
+
15433
+ const value = valueProp != null ? valueProp : 0;
15434
+ const selected = context.value === value;
15435
+ const selectionFollowsFocus = context.selectionFollowsFocus;
15436
+ const a11yAttributes = {
15437
+ role: 'tab',
15438
+ 'aria-controls': getPanelId(context, value),
15439
+ id: getTabId(context, value),
15440
+ 'aria-selected': selected,
15441
+ disabled: otherButtonProps.disabled
15442
+ };
15443
+
15444
+ const handleFocus = event => {
15445
+ if (selectionFollowsFocus && !selected) {
15446
+ if (onChange) {
15447
+ onChange(event, value);
15448
+ }
15449
+
15450
+ context.onSelected(event, value);
15451
+ }
15452
+
15453
+ if (onFocus) {
15454
+ onFocus(event);
15455
+ }
15456
+ };
15457
+
15458
+ const handleClick = event => {
15459
+ if (!selected) {
15460
+ if (onChange) {
15461
+ onChange(event, value);
15462
+ }
15463
+
15464
+ context.onSelected(event, value);
15465
+ }
15466
+
15467
+ if (onClick) {
15468
+ onClick(event);
15469
+ }
15470
+ };
15471
+
15472
+ const getRootProps = otherHandlers => {
15473
+ const buttonResolvedProps = getRootPropsButton(_extends({
15474
+ onClick: handleClick,
15475
+ onFocus: handleFocus
15476
+ }, otherHandlers));
15477
+ return _extends({}, buttonResolvedProps, a11yAttributes);
15478
+ };
15479
+
15480
+ return _extends({
15481
+ getRootProps
15482
+ }, otherButtonProps, {
15483
+ selected
15484
+ });
15485
+ };
15486
+
15487
+ var useTab$1 = useTab;
15488
+
15489
+ const _excluded$29 = ["action", "children", "value", "className", "disabled", "onChange", "onClick", "onFocus", "component", "components", "componentsProps"];
15490
+
15491
+ const useUtilityClasses$1L = ownerState => {
15492
+ const {
15493
+ selected,
15494
+ disabled
15495
+ } = ownerState;
15496
+ const slots = {
15497
+ root: ['root', selected && 'selected', disabled && 'disabled']
15498
+ };
15499
+ return composeClasses(slots, getTabUnstyledUtilityClass, {});
15500
+ };
15501
+ /**
15502
+ *
15503
+ * Demos:
15504
+ *
15505
+ * - [Tabs](https://mui.com/components/tabs/)
15506
+ *
15507
+ * API:
15508
+ *
15509
+ * - [TabUnstyled API](https://mui.com/api/tab-unstyled/)
15510
+ */
15511
+
15512
+
15513
+ const TabUnstyled = /*#__PURE__*/React__namespace.forwardRef(function TabUnstyled(props, ref) {
15514
+ var _ref, _componentsProps$root;
15515
+
15516
+ const {
15517
+ action,
15518
+ children,
15519
+ className,
15520
+ disabled = false,
15521
+ component,
15522
+ components = {},
15523
+ componentsProps = {}
15524
+ } = props,
15525
+ other = _objectWithoutPropertiesLoose(props, _excluded$29);
15526
+
15527
+ const tabRef = React__namespace.useRef();
15528
+ const handleRef = useForkRef(tabRef, ref);
15529
+ const {
15530
+ active,
15531
+ focusVisible,
15532
+ setFocusVisible,
15533
+ selected,
15534
+ getRootProps
15535
+ } = useTab$1(_extends({}, props, {
15536
+ ref: handleRef
15537
+ }));
15538
+ React__namespace.useImperativeHandle(action, () => ({
15539
+ focusVisible: () => {
15540
+ setFocusVisible(true);
15541
+ tabRef.current.focus();
15542
+ }
15543
+ }), [setFocusVisible]);
15544
+
15545
+ const ownerState = _extends({}, props, {
15546
+ active,
15547
+ focusVisible,
15548
+ disabled,
15549
+ selected
15550
+ });
15551
+
15552
+ const classes = useUtilityClasses$1L(ownerState);
15553
+ const TabRoot = (_ref = component != null ? component : components.Root) != null ? _ref : 'button';
15554
+ const tabRootProps = appendOwnerState(TabRoot, _extends({}, other, componentsProps.root), ownerState);
15555
+ return /*#__PURE__*/jsxRuntime_1(TabRoot, _extends({}, getRootProps(), tabRootProps, {
15556
+ className: clsx(classes.root, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.className, className),
15557
+ ref: ref,
15558
+ children: children
15559
+ }));
15560
+ });
15561
+ TabUnstyled.propTypes
15562
+ /* remove-proptypes */
15563
+ = {
15564
+ // ----------------------------- Warning --------------------------------
15565
+ // | These PropTypes are generated from the TypeScript type definitions |
15566
+ // | To update them edit TypeScript types and run "yarn proptypes" |
15567
+ // ----------------------------------------------------------------------
15568
+
15569
+ /**
15570
+ * A ref for imperative actions. It currently only supports `focusVisible()` action.
15571
+ */
15572
+ action: propTypes.oneOfType([propTypes.func, propTypes.shape({
15573
+ current: propTypes.shape({
15574
+ focusVisible: propTypes.func.isRequired
15575
+ })
15576
+ })]),
15577
+
15578
+ /**
15579
+ * @ignore
15580
+ */
15581
+ children: propTypes.node,
15582
+
15583
+ /**
15584
+ * @ignore
15585
+ */
15586
+ className: propTypes.string,
15587
+
15588
+ /**
15589
+ * The component used for the root node.
15590
+ * Either a string to use a HTML element or a component.
15591
+ */
15592
+ component: propTypes.elementType,
15593
+
15594
+ /**
15595
+ * The components used for each slot inside the Tab.
15596
+ * Either a string to use a HTML element or a component.
15597
+ * @default {}
15598
+ */
15599
+ components: propTypes.shape({
15600
+ Root: propTypes.elementType
15601
+ }),
15602
+
15603
+ /**
15604
+ * The props used for each slot inside the Tab.
15605
+ * @default {}
15606
+ */
15607
+ componentsProps: propTypes.object,
15608
+
15609
+ /**
15610
+ * If `true`, the component is disabled.
15611
+ * @default false
15612
+ */
15613
+ disabled: propTypes.bool,
15614
+
15615
+ /**
15616
+ * Callback invoked when new value is being set.
15617
+ */
15618
+ onChange: propTypes.func,
15619
+
15620
+ /**
15621
+ * @ignore
15622
+ */
15623
+ onClick: propTypes.func,
15624
+
15625
+ /**
15626
+ * @ignore
15627
+ */
15628
+ onFocus: propTypes.func,
15629
+
15630
+ /**
15631
+ * You can provide your own value. Otherwise, we fall back to the child position index.
15632
+ */
15633
+ value: propTypes.oneOfType([propTypes.number, propTypes.string])
15634
+ } ;
15635
+ var TabUnstyled$1 = TabUnstyled;
15636
+
14547
15637
  const _excluded$28 = ["onChange", "maxRows", "minRows", "style", "value"];
14548
15638
 
14549
15639
  function getStyleValue(computedStyle, property) {
@@ -15532,7 +16622,7 @@ const theme2 = createTheme({ palette: {
15532
16622
  const theme = _extends({}, themeInput);
15533
16623
 
15534
16624
  theme.typography = _extends({}, theme.typography);
15535
- const typography = theme.typography; // Convert between css lengths e.g. em->px or px->rem
16625
+ const typography = theme.typography; // Convert between CSS lengths e.g. em->px or px->rem
15536
16626
  // Set the baseFontSize for your project. Defaults to 16px (also the browser default).
15537
16627
 
15538
16628
  const convert = convertLength(typography.htmlFontSize);
@@ -15799,7 +16889,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
15799
16889
  /**
15800
16890
  * The system prop that allows defining system overrides as well as additional CSS styles.
15801
16891
  */
15802
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
16892
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
15803
16893
 
15804
16894
  /**
15805
16895
  * Provides a human-readable title for the element that contains it.
@@ -17223,7 +18313,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17223
18313
  /**
17224
18314
  * The system prop that allows defining system overrides as well as additional CSS styles.
17225
18315
  */
17226
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18316
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
17227
18317
 
17228
18318
  /**
17229
18319
  * The duration for the transition, in milliseconds.
@@ -17395,7 +18485,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17395
18485
  /**
17396
18486
  * The system prop that allows defining system overrides as well as additional CSS styles.
17397
18487
  */
17398
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18488
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
17399
18489
 
17400
18490
  /**
17401
18491
  * The variant to use.
@@ -17672,7 +18762,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17672
18762
  /**
17673
18763
  * The system prop that allows defining system overrides as well as additional CSS styles.
17674
18764
  */
17675
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
18765
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
17676
18766
 
17677
18767
  /**
17678
18768
  * The component used for the transition.
@@ -17683,7 +18773,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17683
18773
 
17684
18774
  /**
17685
18775
  * Props applied to the transition element.
17686
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
18776
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
17687
18777
  */
17688
18778
  TransitionProps: propTypes.object
17689
18779
  } ;
@@ -17784,7 +18874,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17784
18874
  /**
17785
18875
  * The system prop that allows defining system overrides as well as additional CSS styles.
17786
18876
  */
17787
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18877
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
17788
18878
  } ;
17789
18879
  var AccordionActions$1 = AccordionActions;
17790
18880
 
@@ -17860,7 +18950,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
17860
18950
  /**
17861
18951
  * The system prop that allows defining system overrides as well as additional CSS styles.
17862
18952
  */
17863
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
18953
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
17864
18954
  } ;
17865
18955
  var AccordionDetails$1 = AccordionDetails;
17866
18956
 
@@ -18706,7 +19796,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18706
19796
  * This prop can help identify which element has keyboard focus.
18707
19797
  * The class name will be applied when the element gains the focus through keyboard interaction.
18708
19798
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
18709
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
19799
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
18710
19800
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
18711
19801
  * if needed.
18712
19802
  */
@@ -18799,7 +19889,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
18799
19889
  /**
18800
19890
  * The system prop that allows defining system overrides as well as additional CSS styles.
18801
19891
  */
18802
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
19892
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
18803
19893
 
18804
19894
  /**
18805
19895
  * @default 0
@@ -19003,7 +20093,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19003
20093
  * This prop can help identify which element has keyboard focus.
19004
20094
  * The class name will be applied when the element gains the focus through keyboard interaction.
19005
20095
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
19006
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
20096
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
19007
20097
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
19008
20098
  * if needed.
19009
20099
  */
@@ -19017,7 +20107,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19017
20107
  /**
19018
20108
  * The system prop that allows defining system overrides as well as additional CSS styles.
19019
20109
  */
19020
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20110
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19021
20111
  } ;
19022
20112
  var AccordionSummary$1 = AccordionSummary;
19023
20113
 
@@ -19072,7 +20162,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19072
20162
  color: theme.palette.action.active,
19073
20163
  transition: theme.transitions.create('background-color', {
19074
20164
  duration: theme.transitions.duration.shortest
19075
- }),
20165
+ })
20166
+ }, !ownerState.disableRipple && {
19076
20167
  '&:hover': {
19077
20168
  backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
19078
20169
  // Reset on touch devices, it doesn't add specificity
@@ -19089,8 +20180,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19089
20180
  ownerState
19090
20181
  }) => _extends({}, ownerState.color === 'inherit' && {
19091
20182
  color: 'inherit'
19092
- }, ownerState.color !== 'inherit' && ownerState.color !== 'default' && {
19093
- color: theme.palette[ownerState.color].main,
20183
+ }, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
20184
+ color: theme.palette[ownerState.color].main
20185
+ }, !ownerState.disableRipple && {
19094
20186
  '&:hover': {
19095
20187
  backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
19096
20188
  // Reset on touch devices, it doesn't add specificity
@@ -19098,7 +20190,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19098
20190
  backgroundColor: 'transparent'
19099
20191
  }
19100
20192
  }
19101
- }, ownerState.size === 'small' && {
20193
+ }), ownerState.size === 'small' && {
19102
20194
  padding: 5,
19103
20195
  fontSize: theme.typography.pxToRem(18)
19104
20196
  }, ownerState.size === 'large' && {
@@ -19233,7 +20325,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19233
20325
  /**
19234
20326
  * The system prop that allows defining system overrides as well as additional CSS styles.
19235
20327
  */
19236
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20328
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19237
20329
  } ;
19238
20330
  var IconButton$1 = IconButton;
19239
20331
 
@@ -19294,7 +20386,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19294
20386
  const getBackgroundColor = theme.palette.mode === 'light' ? lighten : darken;
19295
20387
  const color = ownerState.color || ownerState.severity;
19296
20388
  return _extends({}, theme.typography.body2, {
19297
- borderRadius: theme.shape.borderRadius,
19298
20389
  backgroundColor: 'transparent',
19299
20390
  display: 'flex',
19300
20391
  padding: '6px 16px'
@@ -19389,7 +20480,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19389
20480
  const classes = useUtilityClasses$1B(ownerState);
19390
20481
  return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
19391
20482
  role: role,
19392
- square: true,
19393
20483
  elevation: 0,
19394
20484
  ownerState: ownerState,
19395
20485
  className: clsx(classes.root, className),
@@ -19507,7 +20597,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19507
20597
  /**
19508
20598
  * The system prop that allows defining system overrides as well as additional CSS styles.
19509
20599
  */
19510
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20600
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
19511
20601
 
19512
20602
  /**
19513
20603
  * The variant to use.
@@ -19695,7 +20785,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19695
20785
  /**
19696
20786
  * The system prop that allows defining system overrides as well as additional CSS styles.
19697
20787
  */
19698
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
20788
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
19699
20789
 
19700
20790
  /**
19701
20791
  * Applies the theme typography styles.
@@ -19807,7 +20897,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19807
20897
  /**
19808
20898
  * The system prop that allows defining system overrides as well as additional CSS styles.
19809
20899
  */
19810
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
20900
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19811
20901
  } ;
19812
20902
  var AlertTitle$1 = AlertTitle;
19813
20903
 
@@ -19975,7 +21065,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19975
21065
  /**
19976
21066
  * The system prop that allows defining system overrides as well as additional CSS styles.
19977
21067
  */
19978
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21068
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
19979
21069
  } ;
19980
21070
  var AppBar$1 = AppBar;
19981
21071
 
@@ -19999,11 +21089,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
19999
21089
  ref: ref
20000
21090
  }));
20001
21091
  });
20002
-
20003
- function resolveAnchorEl$1(anchorEl) {
20004
- return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
20005
- }
20006
-
20007
21092
  Popper.propTypes
20008
21093
  /* remove-proptypes */
20009
21094
  = {
@@ -20018,23 +21103,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20018
21103
  * It's used to set the position of the popper.
20019
21104
  * The return value will passed as the reference object of the Popper instance.
20020
21105
  */
20021
- anchorEl: chainPropTypes(propTypes.oneOfType([HTMLElementType, propTypes.object, propTypes.func]), props => {
20022
- if (props.open) {
20023
- const resolvedAnchorEl = resolveAnchorEl$1(props.anchorEl);
20024
-
20025
- if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
20026
- const box = resolvedAnchorEl.getBoundingClientRect();
20027
-
20028
- if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
20029
- return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', "Make sure the element is present in the document or that it's not display none."].join('\n'));
20030
- }
20031
- } else if (!resolvedAnchorEl || typeof resolvedAnchorEl.getBoundingClientRect !== 'function' || resolvedAnchorEl.contextElement != null && resolvedAnchorEl.contextElement.nodeType !== 1) {
20032
- return new Error(['MUI: The `anchorEl` prop provided to the component is invalid.', 'It should be an HTML element instance or a virtualElement ', '(https://popper.js.org/docs/v2/virtual-elements/).'].join('\n'));
20033
- }
20034
- }
20035
-
20036
- return null;
20037
- }),
21106
+ anchorEl: propTypes
21107
+ /* @typescript-to-proptypes-ignore */
21108
+ .oneOfType([HTMLElementType, propTypes.object, propTypes.func]),
20038
21109
 
20039
21110
  /**
20040
21111
  * Popper render function or node.
@@ -20269,7 +21340,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20269
21340
  /**
20270
21341
  * The system prop that allows defining system overrides as well as additional CSS styles.
20271
21342
  */
20272
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
21343
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
20273
21344
  } ;
20274
21345
  var ListSubheader$1 = ListSubheader;
20275
21346
 
@@ -20783,7 +21854,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
20783
21854
  /**
20784
21855
  * The system prop that allows defining system overrides as well as additional CSS styles.
20785
21856
  */
20786
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
21857
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
20787
21858
 
20788
21859
  /**
20789
21860
  * The variant to use.
@@ -21850,7 +22921,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
21850
22921
  /**
21851
22922
  * The system prop that allows defining system overrides as well as additional CSS styles.
21852
22923
  */
21853
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
22924
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
21854
22925
 
21855
22926
  /**
21856
22927
  * The value of the autocomplete.
@@ -22124,7 +23195,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22124
23195
  /**
22125
23196
  * The system prop that allows defining system overrides as well as additional CSS styles.
22126
23197
  */
22127
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23198
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
22128
23199
 
22129
23200
  /**
22130
23201
  * The shape of the avatar.
@@ -22142,7 +23213,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22142
23213
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
22143
23214
  var avatarGroupClasses$1 = avatarGroupClasses;
22144
23215
 
22145
- const _excluded$1N = ["children", "className", "max", "spacing", "variant"];
23216
+ const _excluded$1N = ["children", "className", "max", "spacing", "total", "variant"];
22146
23217
  const SPACINGS$1 = {
22147
23218
  small: -16,
22148
23219
  medium: null
@@ -22204,11 +23275,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22204
23275
  className,
22205
23276
  max = 5,
22206
23277
  spacing = 'medium',
23278
+ total,
22207
23279
  variant = 'circular'
22208
23280
  } = props,
22209
23281
  other = _objectWithoutPropertiesLoose(props, _excluded$1N);
22210
23282
 
22211
- const clampedMax = max < 2 ? 2 : max;
23283
+ let clampedMax = max < 2 ? 2 : max;
22212
23284
 
22213
23285
  const ownerState = _extends({}, props, {
22214
23286
  max,
@@ -22226,7 +23298,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22226
23298
 
22227
23299
  return /*#__PURE__*/React__namespace.isValidElement(child);
22228
23300
  });
22229
- const extraAvatars = children.length > clampedMax ? children.length - clampedMax + 1 : 0;
23301
+ const totalAvatars = total || children.length;
23302
+
23303
+ if (totalAvatars === clampedMax) {
23304
+ clampedMax += 1;
23305
+ }
23306
+
23307
+ clampedMax = Math.min(totalAvatars + 1, clampedMax);
23308
+ const maxAvatars = Math.min(children.length, clampedMax - 1);
23309
+ const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
22230
23310
  const marginLeft = spacing && SPACINGS$1[spacing] !== undefined ? SPACINGS$1[spacing] : -spacing;
22231
23311
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
22232
23312
  ownerState: ownerState,
@@ -22241,7 +23321,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22241
23321
  },
22242
23322
  variant: variant,
22243
23323
  children: ["+", extraAvatars]
22244
- }) : null, children.slice(0, children.length - extraAvatars).reverse().map(child => {
23324
+ }) : null, children.slice(0, maxAvatars).reverse().map(child => {
22245
23325
  return /*#__PURE__*/React__namespace.cloneElement(child, {
22246
23326
  className: clsx(child.props.className, classes.avatar),
22247
23327
  style: _extends({
@@ -22296,7 +23376,13 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22296
23376
  /**
22297
23377
  * The system prop that allows defining system overrides as well as additional CSS styles.
22298
23378
  */
22299
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23379
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23380
+
23381
+ /**
23382
+ * The total number of avatars. Used for calculating the number of extra avatars.
23383
+ * @default children.length
23384
+ */
23385
+ total: propTypes.number,
22300
23386
 
22301
23387
  /**
22302
23388
  * The variant to use.
@@ -22658,7 +23744,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22658
23744
  /**
22659
23745
  * The system prop that allows defining system overrides as well as additional CSS styles.
22660
23746
  */
22661
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
23747
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
22662
23748
 
22663
23749
  /**
22664
23750
  * The duration for the transition, in milliseconds.
@@ -22960,7 +24046,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
22960
24046
  /**
22961
24047
  * The system prop that allows defining system overrides as well as additional CSS styles.
22962
24048
  */
22963
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24049
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
22964
24050
 
22965
24051
  /**
22966
24052
  * The variant to use.
@@ -23098,7 +24184,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23098
24184
  /**
23099
24185
  * The system prop that allows defining system overrides as well as additional CSS styles.
23100
24186
  */
23101
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24187
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23102
24188
 
23103
24189
  /**
23104
24190
  * The value of the currently selected `BottomNavigationAction`.
@@ -23278,7 +24364,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23278
24364
  /**
23279
24365
  * The system prop that allows defining system overrides as well as additional CSS styles.
23280
24366
  */
23281
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
24367
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
23282
24368
 
23283
24369
  /**
23284
24370
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -23587,7 +24673,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23587
24673
  /**
23588
24674
  * The system prop that allows defining system overrides as well as additional CSS styles.
23589
24675
  */
23590
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
24676
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
23591
24677
  } ;
23592
24678
  var Breadcrumbs$1 = Breadcrumbs;
23593
24679
 
@@ -23608,7 +24694,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23608
24694
 
23609
24695
  var ButtonGroupContext$1 = ButtonGroupContext;
23610
24696
 
23611
- const _excluded$1G = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
24697
+ const _excluded$1G = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
23612
24698
 
23613
24699
  const useUtilityClasses$1p = ownerState => {
23614
24700
  const {
@@ -23809,51 +24895,32 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23809
24895
  marginRight: -2
23810
24896
  }, commonIconStyles(ownerState)));
23811
24897
  const Button = /*#__PURE__*/React__namespace.forwardRef(function Button(inProps, ref) {
24898
+ // props priority: `inProps` > `contextProps` > `themeDefaultProps`
24899
+ const contextProps = React__namespace.useContext(ButtonGroupContext$1);
24900
+ const resolvedProps = resolveProps(contextProps, inProps);
23812
24901
  const props = useThemeProps({
23813
- props: inProps,
24902
+ props: resolvedProps,
23814
24903
  name: 'MuiButton'
23815
24904
  });
23816
- const {
23817
- className: classNameContext,
23818
- color: colorContext,
23819
- disabled: disabledContext,
23820
- disableElevation: disableElevationContext,
23821
- disableFocusRipple: disableFocusRippleContext,
23822
- disableRipple: disableRippleContext,
23823
- fullWidth: fullWidthContext,
23824
- size: sizeContext,
23825
- variant: variantContext
23826
- } = React__namespace.useContext(ButtonGroupContext$1);
23827
24905
 
23828
24906
  const {
23829
24907
  children,
23830
- className,
23831
- color: colorProp,
24908
+ color = 'primary',
23832
24909
  component = 'button',
23833
- disabled: disabledProp,
23834
- disableElevation: disableElevationProp,
23835
- disableFocusRipple: disableFocusRippleProp,
23836
- disableRipple: disableRippleProp,
24910
+ className,
24911
+ disabled = false,
24912
+ disableElevation = false,
24913
+ disableFocusRipple = false,
23837
24914
  endIcon: endIconProp,
23838
24915
  focusVisibleClassName,
23839
- fullWidth: fullWidthProp,
23840
- size: sizeProp,
24916
+ fullWidth = false,
24917
+ size = 'medium',
23841
24918
  startIcon: startIconProp,
23842
24919
  type,
23843
- variant: variantProp
24920
+ variant = 'text'
23844
24921
  } = props,
23845
24922
  other = _objectWithoutPropertiesLoose(props, _excluded$1G);
23846
24923
 
23847
- 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.
23848
-
23849
- const disabled = disabledProp || disabledContext || false;
23850
- const disableElevation = disableElevationProp || disableElevationContext || false;
23851
- const disableFocusRipple = disableFocusRippleProp || disableFocusRippleContext || false;
23852
- const fullWidth = fullWidthProp || fullWidthContext || false;
23853
- const size = sizeProp || sizeContext || 'medium';
23854
- const variant = variantProp || variantContext || 'text';
23855
- const disableRipple = disableRippleProp || disableRippleContext || false;
23856
-
23857
24924
  const ownerState = _extends({}, props, {
23858
24925
  color,
23859
24926
  component,
@@ -23882,10 +24949,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23882
24949
 
23883
24950
  return /*#__PURE__*/jsxRuntime_2(ButtonRoot, _extends({
23884
24951
  ownerState: ownerState,
23885
- className: clsx(className, classNameContext),
24952
+ className: clsx(className, contextProps.className),
23886
24953
  component: component,
23887
24954
  disabled: disabled,
23888
- disableRipple: disableRipple,
23889
24955
  focusRipple: !disableFocusRipple,
23890
24956
  focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
23891
24957
  ref: ref,
@@ -23998,7 +25064,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
23998
25064
  /**
23999
25065
  * The system prop that allows defining system overrides as well as additional CSS styles.
24000
25066
  */
24001
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25067
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24002
25068
 
24003
25069
  /**
24004
25070
  * @ignore
@@ -24276,7 +25342,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24276
25342
  /**
24277
25343
  * The system prop that allows defining system overrides as well as additional CSS styles.
24278
25344
  */
24279
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25345
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24280
25346
 
24281
25347
  /**
24282
25348
  * The variant to use.
@@ -24377,7 +25443,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24377
25443
  /**
24378
25444
  * The system prop that allows defining system overrides as well as additional CSS styles.
24379
25445
  */
24380
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25446
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24381
25447
  } ;
24382
25448
  var Card$1 = Card;
24383
25449
 
@@ -24499,7 +25565,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24499
25565
  /**
24500
25566
  * The system prop that allows defining system overrides as well as additional CSS styles.
24501
25567
  */
24502
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25568
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24503
25569
  } ;
24504
25570
  var CardActionArea$1 = CardActionArea;
24505
25571
 
@@ -24597,7 +25663,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24597
25663
  /**
24598
25664
  * The system prop that allows defining system overrides as well as additional CSS styles.
24599
25665
  */
24600
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25666
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24601
25667
  } ;
24602
25668
  var CardActions$1 = CardActions;
24603
25669
 
@@ -24687,7 +25753,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24687
25753
  /**
24688
25754
  * The system prop that allows defining system overrides as well as additional CSS styles.
24689
25755
  */
24690
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
25756
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
24691
25757
  } ;
24692
25758
  var CardContent$1 = CardContent;
24693
25759
 
@@ -24890,7 +25956,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
24890
25956
  /**
24891
25957
  * The system prop that allows defining system overrides as well as additional CSS styles.
24892
25958
  */
24893
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
25959
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
24894
25960
 
24895
25961
  /**
24896
25962
  * The content of the component.
@@ -25050,7 +26116,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25050
26116
  /**
25051
26117
  * The system prop that allows defining system overrides as well as additional CSS styles.
25052
26118
  */
25053
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
26119
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
25054
26120
  } ;
25055
26121
  var CardMedia$1 = CardMedia;
25056
26122
 
@@ -25596,7 +26662,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25596
26662
  /**
25597
26663
  * The system prop that allows defining system overrides as well as additional CSS styles.
25598
26664
  */
25599
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26665
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25600
26666
 
25601
26667
  /**
25602
26668
  * The value of the component. The DOM API casts this to a string.
@@ -25848,7 +26914,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25848
26914
  /**
25849
26915
  * The system prop that allows defining system overrides as well as additional CSS styles.
25850
26916
  */
25851
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
26917
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
25852
26918
 
25853
26919
  /**
25854
26920
  * The thickness of the circle.
@@ -25872,192 +26938,6 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
25872
26938
  } ;
25873
26939
  var CircularProgress$1 = CircularProgress;
25874
26940
 
25875
- function mapEventPropToEvent(eventProp) {
25876
- return eventProp.substring(2).toLowerCase();
25877
- }
25878
-
25879
- function clickedRootScrollbar(event, doc) {
25880
- return doc.documentElement.clientWidth < event.clientX || doc.documentElement.clientHeight < event.clientY;
25881
- }
25882
-
25883
- /**
25884
- * Listen for click events that occur somewhere in the document, outside of the element itself.
25885
- * For instance, if you need to hide a menu when people click anywhere else on your page.
25886
- *
25887
- * Demos:
25888
- *
25889
- * - [Click Away Listener](https://mui.com/components/click-away-listener/)
25890
- * - [Menus](https://mui.com/components/menus/)
25891
- *
25892
- * API:
25893
- *
25894
- * - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
25895
- */
25896
- function ClickAwayListener(props) {
25897
- const {
25898
- children,
25899
- disableReactTree = false,
25900
- mouseEvent = 'onClick',
25901
- onClickAway,
25902
- touchEvent = 'onTouchEnd'
25903
- } = props;
25904
- const movedRef = React__namespace.useRef(false);
25905
- const nodeRef = React__namespace.useRef(null);
25906
- const activatedRef = React__namespace.useRef(false);
25907
- const syntheticEventRef = React__namespace.useRef(false);
25908
- React__namespace.useEffect(() => {
25909
- // Ensure that this component is not "activated" synchronously.
25910
- // https://github.com/facebook/react/issues/20074
25911
- setTimeout(() => {
25912
- activatedRef.current = true;
25913
- }, 0);
25914
- return () => {
25915
- activatedRef.current = false;
25916
- };
25917
- }, []);
25918
- const handleRef = useForkRef( // @ts-expect-error TODO upstream fix
25919
- children.ref, nodeRef); // The handler doesn't take event.defaultPrevented into account:
25920
- //
25921
- // event.preventDefault() is meant to stop default behaviors like
25922
- // clicking a checkbox to check it, hitting a button to submit a form,
25923
- // and hitting left arrow to move the cursor in a text input etc.
25924
- // Only special HTML elements have these default behaviors.
25925
-
25926
- const handleClickAway = useEventCallback(event => {
25927
- // Given developers can stop the propagation of the synthetic event,
25928
- // we can only be confident with a positive value.
25929
- const insideReactTree = syntheticEventRef.current;
25930
- syntheticEventRef.current = false;
25931
- const doc = ownerDocument(nodeRef.current); // 1. IE11 support, which trigger the handleClickAway even after the unbind
25932
- // 2. The child might render null.
25933
- // 3. Behave like a blur listener.
25934
-
25935
- if (!activatedRef.current || !nodeRef.current || 'clientX' in event && clickedRootScrollbar(event, doc)) {
25936
- return;
25937
- } // Do not act if user performed touchmove
25938
-
25939
-
25940
- if (movedRef.current) {
25941
- movedRef.current = false;
25942
- return;
25943
- }
25944
-
25945
- let insideDOM; // If not enough, can use https://github.com/DieterHolvoet/event-propagation-path/blob/master/propagationPath.js
25946
-
25947
- if (event.composedPath) {
25948
- insideDOM = event.composedPath().indexOf(nodeRef.current) > -1;
25949
- } else {
25950
- insideDOM = !doc.documentElement.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
25951
- event.target) || nodeRef.current.contains( // @ts-expect-error returns `false` as intended when not dispatched from a Node
25952
- event.target);
25953
- }
25954
-
25955
- if (!insideDOM && (disableReactTree || !insideReactTree)) {
25956
- onClickAway(event);
25957
- }
25958
- }); // Keep track of mouse/touch events that bubbled up through the portal.
25959
-
25960
- const createHandleSynthetic = handlerName => event => {
25961
- syntheticEventRef.current = true;
25962
- const childrenPropsHandler = children.props[handlerName];
25963
-
25964
- if (childrenPropsHandler) {
25965
- childrenPropsHandler(event);
25966
- }
25967
- };
25968
-
25969
- const childrenProps = {
25970
- ref: handleRef
25971
- };
25972
-
25973
- if (touchEvent !== false) {
25974
- childrenProps[touchEvent] = createHandleSynthetic(touchEvent);
25975
- }
25976
-
25977
- React__namespace.useEffect(() => {
25978
- if (touchEvent !== false) {
25979
- const mappedTouchEvent = mapEventPropToEvent(touchEvent);
25980
- const doc = ownerDocument(nodeRef.current);
25981
-
25982
- const handleTouchMove = () => {
25983
- movedRef.current = true;
25984
- };
25985
-
25986
- doc.addEventListener(mappedTouchEvent, handleClickAway);
25987
- doc.addEventListener('touchmove', handleTouchMove);
25988
- return () => {
25989
- doc.removeEventListener(mappedTouchEvent, handleClickAway);
25990
- doc.removeEventListener('touchmove', handleTouchMove);
25991
- };
25992
- }
25993
-
25994
- return undefined;
25995
- }, [handleClickAway, touchEvent]);
25996
-
25997
- if (mouseEvent !== false) {
25998
- childrenProps[mouseEvent] = createHandleSynthetic(mouseEvent);
25999
- }
26000
-
26001
- React__namespace.useEffect(() => {
26002
- if (mouseEvent !== false) {
26003
- const mappedMouseEvent = mapEventPropToEvent(mouseEvent);
26004
- const doc = ownerDocument(nodeRef.current);
26005
- doc.addEventListener(mappedMouseEvent, handleClickAway);
26006
- return () => {
26007
- doc.removeEventListener(mappedMouseEvent, handleClickAway);
26008
- };
26009
- }
26010
-
26011
- return undefined;
26012
- }, [handleClickAway, mouseEvent]);
26013
- return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
26014
- children: /*#__PURE__*/React__namespace.cloneElement(children, childrenProps)
26015
- });
26016
- }
26017
-
26018
- ClickAwayListener.propTypes
26019
- /* remove-proptypes */
26020
- = {
26021
- // ----------------------------- Warning --------------------------------
26022
- // | These PropTypes are generated from the TypeScript type definitions |
26023
- // | To update them edit TypeScript types and run "yarn proptypes" |
26024
- // ----------------------------------------------------------------------
26025
-
26026
- /**
26027
- * The wrapped element.
26028
- */
26029
- children: elementAcceptingRef$1.isRequired,
26030
-
26031
- /**
26032
- * If `true`, the React tree is ignored and only the DOM tree is considered.
26033
- * This prop changes how portaled elements are handled.
26034
- * @default false
26035
- */
26036
- disableReactTree: propTypes.bool,
26037
-
26038
- /**
26039
- * The mouse event to listen to. You can disable the listener by providing `false`.
26040
- * @default 'onClick'
26041
- */
26042
- mouseEvent: propTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
26043
-
26044
- /**
26045
- * Callback fired when a "click away" event is detected.
26046
- */
26047
- onClickAway: propTypes.func.isRequired,
26048
-
26049
- /**
26050
- * The touch event to listen to. You can disable the listener by providing `false`.
26051
- * @default 'onTouchEnd'
26052
- */
26053
- touchEvent: propTypes.oneOf(['onTouchEnd', 'onTouchStart', false])
26054
- } ;
26055
-
26056
- {
26057
- // eslint-disable-next-line
26058
- ClickAwayListener['propTypes' + ''] = exactProp(ClickAwayListener.propTypes);
26059
- }
26060
-
26061
26941
  function getContainerUtilityClass(slot) {
26062
26942
  return generateUtilityClass('MuiContainer', slot);
26063
26943
  }
@@ -26216,7 +27096,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26216
27096
  /**
26217
27097
  * The system prop that allows defining system overrides as well as additional CSS styles.
26218
27098
  */
26219
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27099
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
26220
27100
  } ;
26221
27101
  var Container$1 = Container;
26222
27102
 
@@ -26327,7 +27207,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26327
27207
  children: propTypes.node,
26328
27208
 
26329
27209
  /**
26330
- * Enable `color-scheme` css property to use `theme.palette.mode`.
27210
+ * Enable `color-scheme` CSS property to use `theme.palette.mode`.
26331
27211
  * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
26332
27212
  * For browser support, check out https://caniuse.com/?search=color-scheme
26333
27213
  * @default false
@@ -26632,7 +27512,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
26632
27512
  /**
26633
27513
  * The system prop that allows defining system overrides as well as additional CSS styles.
26634
27514
  */
26635
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
27515
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
26636
27516
  } ;
26637
27517
  var Modal$1 = Modal;
26638
27518
 
@@ -27021,7 +27901,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27021
27901
  /**
27022
27902
  * The system prop that allows defining system overrides as well as additional CSS styles.
27023
27903
  */
27024
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
27904
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
27025
27905
 
27026
27906
  /**
27027
27907
  * The component used for the transition.
@@ -27043,7 +27923,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27043
27923
 
27044
27924
  /**
27045
27925
  * Props applied to the transition element.
27046
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
27926
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
27047
27927
  */
27048
27928
  TransitionProps: propTypes.object
27049
27929
  } ;
@@ -27145,7 +28025,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27145
28025
  /**
27146
28026
  * The system prop that allows defining system overrides as well as additional CSS styles.
27147
28027
  */
27148
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28028
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27149
28029
  } ;
27150
28030
  var DialogActions$1 = DialogActions;
27151
28031
 
@@ -27256,7 +28136,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27256
28136
  /**
27257
28137
  * The system prop that allows defining system overrides as well as additional CSS styles.
27258
28138
  */
27259
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28139
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27260
28140
  } ;
27261
28141
  var DialogContent$1 = DialogContent;
27262
28142
 
@@ -27325,7 +28205,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27325
28205
  /**
27326
28206
  * The system prop that allows defining system overrides as well as additional CSS styles.
27327
28207
  */
27328
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28208
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27329
28209
  } ;
27330
28210
  var DialogContentText$1 = DialogContentText;
27331
28211
 
@@ -27406,7 +28286,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27406
28286
  /**
27407
28287
  * The system prop that allows defining system overrides as well as additional CSS styles.
27408
28288
  */
27409
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
28289
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
27410
28290
  } ;
27411
28291
  var DialogTitle$1 = DialogTitle;
27412
28292
 
@@ -27654,7 +28534,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
27654
28534
  /**
27655
28535
  * The system prop that allows defining system overrides as well as additional CSS styles.
27656
28536
  */
27657
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
28537
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
27658
28538
 
27659
28539
  /**
27660
28540
  * The text alignment.
@@ -28333,7 +29213,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28333
29213
  /**
28334
29214
  * The system prop that allows defining system overrides as well as additional CSS styles.
28335
29215
  */
28336
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29216
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
28337
29217
 
28338
29218
  /**
28339
29219
  * The duration for the transition, in milliseconds.
@@ -28588,7 +29468,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
28588
29468
  /**
28589
29469
  * The system prop that allows defining system overrides as well as additional CSS styles.
28590
29470
  */
28591
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
29471
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
28592
29472
 
28593
29473
  /**
28594
29474
  * The variant to use.
@@ -29337,7 +30217,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29337
30217
  /**
29338
30218
  * The system prop that allows defining system overrides as well as additional CSS styles.
29339
30219
  */
29340
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30220
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29341
30221
 
29342
30222
  /**
29343
30223
  * 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).
@@ -29731,7 +30611,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
29731
30611
  /**
29732
30612
  * The system prop that allows defining system overrides as well as additional CSS styles.
29733
30613
  */
29734
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30614
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
29735
30615
 
29736
30616
  /**
29737
30617
  * 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).
@@ -30055,7 +30935,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30055
30935
  /**
30056
30936
  * The system prop that allows defining system overrides as well as additional CSS styles.
30057
30937
  */
30058
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
30938
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30059
30939
 
30060
30940
  /**
30061
30941
  * The variant to use.
@@ -30269,7 +31149,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30269
31149
  /**
30270
31150
  * The system prop that allows defining system overrides as well as additional CSS styles.
30271
31151
  */
30272
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31152
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30273
31153
 
30274
31154
  /**
30275
31155
  * The value of the component.
@@ -30376,7 +31256,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30376
31256
  /**
30377
31257
  * The system prop that allows defining system overrides as well as additional CSS styles.
30378
31258
  */
30379
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31259
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
30380
31260
  } ;
30381
31261
  var FormGroup$1 = FormGroup;
30382
31262
 
@@ -30553,7 +31433,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30553
31433
  /**
30554
31434
  * The system prop that allows defining system overrides as well as additional CSS styles.
30555
31435
  */
30556
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
31436
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
30557
31437
 
30558
31438
  /**
30559
31439
  * The variant to use.
@@ -30734,7 +31614,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30734
31614
  /**
30735
31615
  * The system prop that allows defining system overrides as well as additional CSS styles.
30736
31616
  */
30737
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
31617
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
30738
31618
  } ;
30739
31619
  var FormLabel$1 = FormLabel;
30740
31620
 
@@ -30928,6 +31808,27 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30928
31808
  }
30929
31809
 
30930
31810
  return styles;
31811
+ }
31812
+ function resolveSpacingClasses(spacing, container, styles = {}) {
31813
+ // in case of grid item or undefined/null or `spacing` <= 0
31814
+ if (!container || !spacing || spacing <= 0) {
31815
+ return [];
31816
+ } // in case of string/number `spacing`
31817
+
31818
+
31819
+ if (typeof spacing === 'string' && !Number.isNaN(Number(spacing)) || typeof spacing === 'number') {
31820
+ return [styles[`spacing-xs-${String(spacing)}`] || `spacing-xs-${String(spacing)}`];
31821
+ } // in case of object `spacing`
31822
+
31823
+
31824
+ const {
31825
+ xs,
31826
+ sm,
31827
+ md,
31828
+ lg,
31829
+ xl
31830
+ } = spacing;
31831
+ 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)}`)];
30931
31832
  } // Default CSS values
30932
31833
  // flex: '0 1 auto',
30933
31834
  // flexDirection: 'row',
@@ -30952,7 +31853,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30952
31853
  xs,
30953
31854
  zeroMinWidth
30954
31855
  } = props.ownerState;
30955
- 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)}`]];
31856
+ 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)}`]];
30956
31857
  }
30957
31858
  })(({
30958
31859
  ownerState
@@ -30996,7 +31897,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
30996
31897
  zeroMinWidth
30997
31898
  } = ownerState;
30998
31899
  const slots = {
30999
- 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)}`]
31900
+ 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)}`]
31000
31901
  };
31001
31902
  return composeClasses(slots, getGridUtilityClass, classes);
31002
31903
  };
@@ -31176,7 +32077,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
31176
32077
  /**
31177
32078
  * The system prop that allows defining system overrides as well as additional CSS styles.
31178
32079
  */
31179
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
32080
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
31180
32081
 
31181
32082
  /**
31182
32083
  * Defines the `flex-wrap` style property.
@@ -32337,7 +33238,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32337
33238
  /**
32338
33239
  * The system prop that allows defining system overrides as well as additional CSS styles.
32339
33240
  */
32340
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33241
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
32341
33242
  } ;
32342
33243
  Icon.muiName = 'Icon';
32343
33244
  var Icon$1 = Icon;
@@ -32514,7 +33415,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32514
33415
  /**
32515
33416
  * The system prop that allows defining system overrides as well as additional CSS styles.
32516
33417
  */
32517
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33418
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
32518
33419
 
32519
33420
  /**
32520
33421
  * The variant to use.
@@ -32702,7 +33603,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32702
33603
  /**
32703
33604
  * The system prop that allows defining system overrides as well as additional CSS styles.
32704
33605
  */
32705
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
33606
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
32706
33607
  } ;
32707
33608
  var ImageListItem$1 = ImageListItem;
32708
33609
 
@@ -32928,7 +33829,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
32928
33829
  /**
32929
33830
  * The system prop that allows defining system overrides as well as additional CSS styles.
32930
33831
  */
32931
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
33832
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
32932
33833
 
32933
33834
  /**
32934
33835
  * Title to be displayed.
@@ -33243,7 +34144,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33243
34144
  /**
33244
34145
  * The system prop that allows defining system overrides as well as additional CSS styles.
33245
34146
  */
33246
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34147
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33247
34148
 
33248
34149
  /**
33249
34150
  * 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).
@@ -33438,7 +34339,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33438
34339
  /**
33439
34340
  * The system prop that allows defining system overrides as well as additional CSS styles.
33440
34341
  */
33441
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34342
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33442
34343
 
33443
34344
  /**
33444
34345
  * The variant to use.
@@ -33651,7 +34552,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
33651
34552
  /**
33652
34553
  * The system prop that allows defining system overrides as well as additional CSS styles.
33653
34554
  */
33654
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34555
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
33655
34556
 
33656
34557
  /**
33657
34558
  * The variant to use.
@@ -34000,7 +34901,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34000
34901
  /**
34001
34902
  * The system prop that allows defining system overrides as well as additional CSS styles.
34002
34903
  */
34003
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
34904
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34004
34905
 
34005
34906
  /**
34006
34907
  * The value of the progress indicator for the determinate and buffer variants.
@@ -34233,7 +35134,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34233
35134
  /**
34234
35135
  * The system prop that allows defining system overrides as well as additional CSS styles.
34235
35136
  */
34236
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
35137
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
34237
35138
 
34238
35139
  /**
34239
35140
  * `classes` prop applied to the [`Typography`](/api/typography/) element.
@@ -34401,7 +35302,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34401
35302
  /**
34402
35303
  * The system prop that allows defining system overrides as well as additional CSS styles.
34403
35304
  */
34404
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35305
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
34405
35306
  } ;
34406
35307
  var List$1 = List;
34407
35308
 
@@ -34629,7 +35530,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34629
35530
  * This prop can help identify which element has keyboard focus.
34630
35531
  * The class name will be applied when the element gains the focus through keyboard interaction.
34631
35532
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
34632
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
35533
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
34633
35534
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
34634
35535
  * if needed.
34635
35536
  */
@@ -34644,7 +35545,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34644
35545
  /**
34645
35546
  * The system prop that allows defining system overrides as well as additional CSS styles.
34646
35547
  */
34647
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35548
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
34648
35549
  } ;
34649
35550
  var ListItemButton$1 = ListItemButton;
34650
35551
 
@@ -34740,7 +35641,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
34740
35641
  /**
34741
35642
  * The system prop that allows defining system overrides as well as additional CSS styles.
34742
35643
  */
34743
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
35644
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
34744
35645
  } ;
34745
35646
  ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
34746
35647
  var ListItemSecondaryAction$1 = ListItemSecondaryAction;
@@ -35141,7 +36042,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35141
36042
  /**
35142
36043
  * The system prop that allows defining system overrides as well as additional CSS styles.
35143
36044
  */
35144
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36045
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35145
36046
  } ;
35146
36047
  var ListItem$1 = ListItem;
35147
36048
 
@@ -35235,7 +36136,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35235
36136
  /**
35236
36137
  * The system prop that allows defining system overrides as well as additional CSS styles.
35237
36138
  */
35238
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36139
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35239
36140
  } ;
35240
36141
  var ListItemAvatar$1 = ListItemAvatar;
35241
36142
 
@@ -35333,7 +36234,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35333
36234
  /**
35334
36235
  * The system prop that allows defining system overrides as well as additional CSS styles.
35335
36236
  */
35336
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36237
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35337
36238
  } ;
35338
36239
  var ListItemIcon$1 = ListItemIcon;
35339
36240
 
@@ -35515,7 +36416,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
35515
36416
  /**
35516
36417
  * The system prop that allows defining system overrides as well as additional CSS styles.
35517
36418
  */
35518
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
36419
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
35519
36420
  } ;
35520
36421
  var ListItemText$1 = ListItemText;
35521
36422
 
@@ -36269,7 +37170,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36269
37170
  /**
36270
37171
  * The system prop that allows defining system overrides as well as additional CSS styles.
36271
37172
  */
36272
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37173
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
36273
37174
 
36274
37175
  /**
36275
37176
  * This is the point on the popover which
@@ -36307,7 +37208,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36307
37208
 
36308
37209
  /**
36309
37210
  * Props applied to the transition element.
36310
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37211
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
36311
37212
  * @default {}
36312
37213
  */
36313
37214
  TransitionProps: propTypes.object
@@ -36572,7 +37473,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36572
37473
  /**
36573
37474
  * The system prop that allows defining system overrides as well as additional CSS styles.
36574
37475
  */
36575
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37476
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
36576
37477
 
36577
37478
  /**
36578
37479
  * The length of the transition in `ms`, or 'auto'
@@ -36586,7 +37487,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36586
37487
 
36587
37488
  /**
36588
37489
  * Props applied to the transition element.
36589
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
37490
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
36590
37491
  * @default {}
36591
37492
  */
36592
37493
  TransitionProps: propTypes.object,
@@ -36834,7 +37735,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36834
37735
  * This prop can help identify which element has keyboard focus.
36835
37736
  * The class name will be applied when the element gains the focus through keyboard interaction.
36836
37737
  * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
36837
- * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/master/explainer.md).
37738
+ * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
36838
37739
  * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
36839
37740
  * if needed.
36840
37741
  */
@@ -36855,7 +37756,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
36855
37756
  /**
36856
37757
  * The system prop that allows defining system overrides as well as additional CSS styles.
36857
37758
  */
36858
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37759
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
36859
37760
 
36860
37761
  /**
36861
37762
  * @default 0
@@ -37068,7 +37969,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37068
37969
  /**
37069
37970
  * The system prop that allows defining system overrides as well as additional CSS styles.
37070
37971
  */
37071
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
37972
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37072
37973
 
37073
37974
  /**
37074
37975
  * The variant to use.
@@ -37416,7 +38317,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37416
38317
  /**
37417
38318
  * The system prop that allows defining system overrides as well as additional CSS styles.
37418
38319
  */
37419
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38320
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37420
38321
 
37421
38322
  /**
37422
38323
  * The `input` value. The DOM API casts this to a string.
@@ -37864,7 +38765,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
37864
38765
  /**
37865
38766
  * The system prop that allows defining system overrides as well as additional CSS styles.
37866
38767
  */
37867
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
38768
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
37868
38769
 
37869
38770
  /**
37870
38771
  * 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).
@@ -38361,7 +39262,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38361
39262
  /**
38362
39263
  * The system prop that allows defining system overrides as well as additional CSS styles.
38363
39264
  */
38364
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39265
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38365
39266
 
38366
39267
  /**
38367
39268
  * The type of pagination item.
@@ -38627,7 +39528,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38627
39528
  /**
38628
39529
  * The system prop that allows defining system overrides as well as additional CSS styles.
38629
39530
  */
38630
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39531
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38631
39532
 
38632
39533
  /**
38633
39534
  * The variant to use.
@@ -38957,7 +39858,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
38957
39858
  /**
38958
39859
  * The system prop that allows defining system overrides as well as additional CSS styles.
38959
39860
  */
38960
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
39861
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
38961
39862
 
38962
39863
  /**
38963
39864
  * The value of the component. The DOM API casts this to a string.
@@ -39774,7 +40675,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39774
40675
  /**
39775
40676
  * The system prop that allows defining system overrides as well as additional CSS styles.
39776
40677
  */
39777
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
40678
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
39778
40679
 
39779
40680
  /**
39780
40681
  * The rating value.
@@ -39872,7 +40773,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
39872
40773
  component: propTypes.elementType,
39873
40774
 
39874
40775
  /**
39875
- * Enable `color-scheme` css property to use `theme.palette.mode`.
40776
+ * Enable `color-scheme` CSS property to use `theme.palette.mode`.
39876
40777
  * For more details, check out https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme
39877
40778
  * For browser support, check out https://caniuse.com/?search=color-scheme
39878
40779
  */
@@ -40238,7 +41139,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40238
41139
  }
40239
41140
 
40240
41141
  return /*#__PURE__*/React__namespace.cloneElement(child, {
40241
- 'aria-selected': selected ? 'true' : undefined,
41142
+ 'aria-selected': selected ? 'true' : 'false',
40242
41143
  onClick: handleItemClick(child),
40243
41144
  onKeyUp: event => {
40244
41145
  if (event.key === ' ') {
@@ -40272,7 +41173,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40272
41173
  }
40273
41174
 
40274
41175
  if (computeDisplay) {
40275
- display = multiple ? displayMultiple.join(', ') : displaySingle;
41176
+ if (multiple) {
41177
+ if (value.length === 0) {
41178
+ display = '';
41179
+ } else {
41180
+ display = displayMultiple.reduce((prev, curr) => [prev, ', ', curr]);
41181
+ }
41182
+ } else {
41183
+ display = displaySingle;
41184
+ }
40276
41185
  } // Avoid performing a layout computation in the render method.
40277
41186
 
40278
41187
 
@@ -40786,7 +41695,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
40786
41695
  /**
40787
41696
  * The system prop that allows defining system overrides as well as additional CSS styles.
40788
41697
  */
40789
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41698
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
40790
41699
 
40791
41700
  /**
40792
41701
  * The `input` value. Providing an empty string will select no options.
@@ -41016,7 +41925,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41016
41925
  /**
41017
41926
  * The system prop that allows defining system overrides as well as additional CSS styles.
41018
41927
  */
41019
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
41928
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41020
41929
 
41021
41930
  /**
41022
41931
  * The type of content that will be rendered.
@@ -41655,7 +42564,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41655
42564
  /**
41656
42565
  * The system prop that allows defining system overrides as well as additional CSS styles.
41657
42566
  */
41658
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
42567
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
41659
42568
 
41660
42569
  /**
41661
42570
  * Tab index attribute of the hidden `input` element.
@@ -41837,7 +42746,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41837
42746
  /**
41838
42747
  * The system prop that allows defining system overrides as well as additional CSS styles.
41839
42748
  */
41840
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
42749
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
41841
42750
  } ;
41842
42751
  var SnackbarContent$1 = SnackbarContent;
41843
42752
 
@@ -41848,7 +42757,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41848
42757
  var snackbarClasses$1 = snackbarClasses;
41849
42758
 
41850
42759
  const _excluded$z = ["onEnter", "onExited"],
41851
- _excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onClose", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
42760
+ _excluded2$2 = ["action", "anchorOrigin", "autoHideDuration", "children", "className", "ClickAwayListenerProps", "ContentProps", "disableWindowBlurListener", "message", "onBlur", "onClose", "onFocus", "onMouseEnter", "onMouseLeave", "open", "resumeHideDuration", "TransitionComponent", "transitionDuration", "TransitionProps"];
41852
42761
 
41853
42762
  const useUtilityClasses$s = ownerState => {
41854
42763
  const {
@@ -41942,7 +42851,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
41942
42851
  ContentProps,
41943
42852
  disableWindowBlurListener = false,
41944
42853
  message,
42854
+ onBlur,
41945
42855
  onClose,
42856
+ onFocus,
41946
42857
  onMouseEnter,
41947
42858
  onMouseLeave,
41948
42859
  open,
@@ -42012,6 +42923,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42012
42923
  }
42013
42924
  }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);
42014
42925
 
42926
+ const handleFocus = event => {
42927
+ if (onFocus) {
42928
+ onFocus(event);
42929
+ }
42930
+
42931
+ handlePause();
42932
+ };
42933
+
42015
42934
  const handleMouseEnter = event => {
42016
42935
  if (onMouseEnter) {
42017
42936
  onMouseEnter(event);
@@ -42020,6 +42939,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42020
42939
  handlePause();
42021
42940
  };
42022
42941
 
42942
+ const handleBlur = event => {
42943
+ if (onBlur) {
42944
+ onBlur(event);
42945
+ }
42946
+
42947
+ handleResume();
42948
+ };
42949
+
42023
42950
  const handleMouseLeave = event => {
42024
42951
  if (onMouseLeave) {
42025
42952
  onMouseLeave(event);
@@ -42062,7 +42989,33 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42062
42989
  }
42063
42990
 
42064
42991
  return undefined;
42065
- }, [disableWindowBlurListener, handleResume, open]); // So we only render active snackbars.
42992
+ }, [disableWindowBlurListener, handleResume, open]);
42993
+ React__namespace.useEffect(() => {
42994
+ if (!open) {
42995
+ return undefined;
42996
+ }
42997
+ /**
42998
+ * @param {KeyboardEvent} nativeEvent
42999
+ */
43000
+
43001
+
43002
+ function handleKeyDown(nativeEvent) {
43003
+ if (!nativeEvent.defaultPrevented) {
43004
+ // IE11, Edge (prior to using Bink?) use 'Esc'
43005
+ if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
43006
+ // not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
43007
+ if (onClose) {
43008
+ onClose(nativeEvent, 'escapeKeyDown');
43009
+ }
43010
+ }
43011
+ }
43012
+ }
43013
+
43014
+ document.addEventListener('keydown', handleKeyDown);
43015
+ return () => {
43016
+ document.removeEventListener('keydown', handleKeyDown);
43017
+ };
43018
+ }, [exited, open, onClose]); // So we only render active snackbars.
42066
43019
 
42067
43020
  if (!open && exited) {
42068
43021
  return null;
@@ -42073,6 +43026,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42073
43026
  }, ClickAwayListenerProps, {
42074
43027
  children: /*#__PURE__*/jsxRuntime_1(SnackbarRoot, _extends({
42075
43028
  className: clsx(classes.root, className),
43029
+ onBlur: handleBlur,
43030
+ onFocus: handleFocus,
42076
43031
  onMouseEnter: handleMouseEnter,
42077
43032
  onMouseLeave: handleMouseLeave,
42078
43033
  ownerState: ownerState,
@@ -42171,6 +43126,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42171
43126
  */
42172
43127
  message: propTypes.node,
42173
43128
 
43129
+ /**
43130
+ * @ignore
43131
+ */
43132
+ onBlur: propTypes.func,
43133
+
42174
43134
  /**
42175
43135
  * Callback fired when the component requests to be closed.
42176
43136
  * Typically `onClose` is used to set state in the parent component,
@@ -42178,11 +43138,16 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42178
43138
  * The `reason` parameter can optionally be used to control the response to `onClose`,
42179
43139
  * for example ignoring `clickaway`.
42180
43140
  *
42181
- * @param {React.SyntheticEvent<any>} event The event source of the callback.
42182
- * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`.
43141
+ * @param {React.SyntheticEvent<any> | Event} event The event source of the callback.
43142
+ * @param {string} reason Can be: `"timeout"` (`autoHideDuration` expired), `"clickaway"`, or `"escapeKeyDown"`.
42183
43143
  */
42184
43144
  onClose: propTypes.func,
42185
43145
 
43146
+ /**
43147
+ * @ignore
43148
+ */
43149
+ onFocus: propTypes.func,
43150
+
42186
43151
  /**
42187
43152
  * @ignore
42188
43153
  */
@@ -42209,7 +43174,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42209
43174
  /**
42210
43175
  * The system prop that allows defining system overrides as well as additional CSS styles.
42211
43176
  */
42212
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43177
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
42213
43178
 
42214
43179
  /**
42215
43180
  * The component used for the transition.
@@ -42234,7 +43199,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42234
43199
 
42235
43200
  /**
42236
43201
  * Props applied to the transition element.
42237
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
43202
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
42238
43203
  * @default {}
42239
43204
  */
42240
43205
  TransitionProps: propTypes.object
@@ -42975,7 +43940,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
42975
43940
  /**
42976
43941
  * The system prop that allows defining system overrides as well as additional CSS styles.
42977
43942
  */
42978
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
43943
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
42979
43944
 
42980
43945
  /**
42981
43946
  * The component used for the transition.
@@ -43000,7 +43965,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43000
43965
 
43001
43966
  /**
43002
43967
  * Props applied to the transition element.
43003
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
43968
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43004
43969
  */
43005
43970
  TransitionProps: propTypes.object
43006
43971
  } ;
@@ -43787,7 +44752,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43787
44752
  /**
43788
44753
  * The system prop that allows defining system overrides as well as additional CSS styles.
43789
44754
  */
43790
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
44755
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
43791
44756
 
43792
44757
  /**
43793
44758
  * Tooltip title. Zero-length titles string are never displayed.
@@ -43805,7 +44770,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
43805
44770
 
43806
44771
  /**
43807
44772
  * Props applied to the transition element.
43808
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
44773
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
43809
44774
  */
43810
44775
  TransitionProps: propTypes.object
43811
44776
  } ;
@@ -44046,7 +45011,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44046
45011
  /**
44047
45012
  * The system prop that allows defining system overrides as well as additional CSS styles.
44048
45013
  */
44049
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
45014
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
44050
45015
 
44051
45016
  /**
44052
45017
  * `classes` prop applied to the [`Tooltip`](/api/tooltip/) element.
@@ -44216,7 +45181,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44216
45181
  /**
44217
45182
  * The system prop that allows defining system overrides as well as additional CSS styles.
44218
45183
  */
44219
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45184
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
44220
45185
  } ;
44221
45186
  SpeedDialIcon.muiName = 'SpeedDialIcon';
44222
45187
  var SpeedDialIcon$1 = SpeedDialIcon;
@@ -44371,7 +45336,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44371
45336
  /**
44372
45337
  * The system prop, which allows defining system overrides as well as additional CSS styles.
44373
45338
  */
44374
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45339
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
44375
45340
  } ;
44376
45341
  var Stack$1 = Stack;
44377
45342
 
@@ -44569,7 +45534,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44569
45534
  /**
44570
45535
  * The system prop that allows defining system overrides as well as additional CSS styles.
44571
45536
  */
44572
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45537
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
44573
45538
  } ;
44574
45539
  var Step$1 = Step;
44575
45540
 
@@ -44748,7 +45713,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44748
45713
  /**
44749
45714
  * The system prop that allows defining system overrides as well as additional CSS styles.
44750
45715
  */
44751
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45716
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
44752
45717
  } ;
44753
45718
  var StepIcon$1 = StepIcon;
44754
45719
 
@@ -44982,7 +45947,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
44982
45947
  /**
44983
45948
  * The system prop that allows defining system overrides as well as additional CSS styles.
44984
45949
  */
44985
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
45950
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
44986
45951
  } ;
44987
45952
  StepLabel.muiName = 'StepLabel';
44988
45953
  var StepLabel$1 = StepLabel;
@@ -45116,7 +46081,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45116
46081
  /**
45117
46082
  * The system prop that allows defining system overrides as well as additional CSS styles.
45118
46083
  */
45119
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46084
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45120
46085
  } ;
45121
46086
  var StepButton$1 = StepButton;
45122
46087
 
@@ -45251,7 +46216,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45251
46216
  /**
45252
46217
  * The system prop that allows defining system overrides as well as additional CSS styles.
45253
46218
  */
45254
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46219
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45255
46220
  } ;
45256
46221
  var StepConnector$1 = StepConnector;
45257
46222
 
@@ -45387,7 +46352,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45387
46352
  /**
45388
46353
  * The system prop that allows defining system overrides as well as additional CSS styles.
45389
46354
  */
45390
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
46355
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
45391
46356
 
45392
46357
  /**
45393
46358
  * The component used for the transition.
@@ -45411,7 +46376,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45411
46376
 
45412
46377
  /**
45413
46378
  * Props applied to the transition element.
45414
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition) component.
46379
+ * By default, the element is based on this [`Transition`](http://reactcommunity.org/react-transition-group/transition/) component.
45415
46380
  */
45416
46381
  TransitionProps: propTypes.object
45417
46382
  } ;
@@ -45567,7 +46532,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
45567
46532
  /**
45568
46533
  * The system prop that allows defining system overrides as well as additional CSS styles.
45569
46534
  */
45570
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
46535
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
45571
46536
  } ;
45572
46537
  var Stepper$1 = Stepper;
45573
46538
 
@@ -46578,7 +47543,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46578
47543
  /**
46579
47544
  * The system prop that allows defining system overrides as well as additional CSS styles.
46580
47545
  */
46581
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47546
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
46582
47547
 
46583
47548
  /**
46584
47549
  * The value of the component. The DOM API casts this to a string.
@@ -46853,7 +47818,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
46853
47818
  /**
46854
47819
  * The system prop that allows defining system overrides as well as additional CSS styles.
46855
47820
  */
46856
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
47821
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
46857
47822
 
46858
47823
  /**
46859
47824
  * You can provide your own value. Otherwise, we fallback to the child position index.
@@ -47020,7 +47985,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47020
47985
  /**
47021
47986
  * The system prop that allows defining system overrides as well as additional CSS styles.
47022
47987
  */
47023
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
47988
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
47024
47989
  } ;
47025
47990
  var Table$1 = Table;
47026
47991
 
@@ -47125,7 +48090,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47125
48090
  /**
47126
48091
  * The system prop that allows defining system overrides as well as additional CSS styles.
47127
48092
  */
47128
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48093
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
47129
48094
  } ;
47130
48095
  var TableBody$1 = TableBody;
47131
48096
 
@@ -47345,7 +48310,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47345
48310
  /**
47346
48311
  * The system prop that allows defining system overrides as well as additional CSS styles.
47347
48312
  */
47348
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48313
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47349
48314
 
47350
48315
  /**
47351
48316
  * Specify the cell type.
@@ -47437,7 +48402,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47437
48402
  /**
47438
48403
  * The system prop that allows defining system overrides as well as additional CSS styles.
47439
48404
  */
47440
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
48405
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
47441
48406
  } ;
47442
48407
  var TableContainer$1 = TableContainer;
47443
48408
 
@@ -47530,7 +48495,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47530
48495
  /**
47531
48496
  * The system prop that allows defining system overrides as well as additional CSS styles.
47532
48497
  */
47533
- 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])
47534
48499
  } ;
47535
48500
  var TableFooter$1 = TableFooter;
47536
48501
 
@@ -47623,7 +48588,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47623
48588
  /**
47624
48589
  * The system prop that allows defining system overrides as well as additional CSS styles.
47625
48590
  */
47626
- 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])
47627
48592
  } ;
47628
48593
  var TableHead$1 = TableHead;
47629
48594
 
@@ -47743,7 +48708,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
47743
48708
  /**
47744
48709
  * The system prop that allows defining system overrides as well as additional CSS styles.
47745
48710
  */
47746
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
48711
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
47747
48712
 
47748
48713
  /**
47749
48714
  * The variant to use.
@@ -48293,7 +49258,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48293
49258
  /**
48294
49259
  * The system prop that allows defining system overrides as well as additional CSS styles.
48295
49260
  */
48296
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49261
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48297
49262
  } ;
48298
49263
  var TablePagination$1 = TablePagination;
48299
49264
 
@@ -48429,7 +49394,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48429
49394
  /**
48430
49395
  * The system prop that allows defining system overrides as well as additional CSS styles.
48431
49396
  */
48432
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49397
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48433
49398
  } ;
48434
49399
  var TableRow$1 = TableRow;
48435
49400
 
@@ -48610,7 +49575,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48610
49575
  /**
48611
49576
  * The system prop that allows defining system overrides as well as additional CSS styles.
48612
49577
  */
48613
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49578
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48614
49579
  } ;
48615
49580
  var TableSortLabel$1 = TableSortLabel;
48616
49581
 
@@ -48843,7 +49808,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
48843
49808
  /**
48844
49809
  * The system prop that allows defining system overrides as well as additional CSS styles.
48845
49810
  */
48846
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object])
49811
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object])
48847
49812
  } ;
48848
49813
  var TabScrollButton$1 = TabScrollButton;
48849
49814
 
@@ -49637,7 +50602,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49637
50602
  /**
49638
50603
  * The system prop that allows defining system overrides as well as additional CSS styles.
49639
50604
  */
49640
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
50605
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
49641
50606
 
49642
50607
  /**
49643
50608
  * Props applied to the tab indicator element.
@@ -49763,7 +50728,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49763
50728
  FormHelperTextProps,
49764
50729
  fullWidth = false,
49765
50730
  helperText,
49766
- id,
50731
+ id: idOverride,
49767
50732
  InputLabelProps,
49768
50733
  inputProps,
49769
50734
  InputProps,
@@ -49833,6 +50798,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
49833
50798
  InputMore['aria-describedby'] = undefined;
49834
50799
  }
49835
50800
 
50801
+ const id = useId(idOverride);
49836
50802
  const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
49837
50803
  const inputLabelId = label && id ? `${id}-label` : undefined;
49838
50804
  const InputComponent = variantComponent[variant];
@@ -50084,7 +51050,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50084
51050
  /**
50085
51051
  * The system prop that allows defining system overrides as well as additional CSS styles.
50086
51052
  */
50087
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51053
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
50088
51054
 
50089
51055
  /**
50090
51056
  * 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).
@@ -50326,7 +51292,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50326
51292
  /**
50327
51293
  * The system prop that allows defining system overrides as well as additional CSS styles.
50328
51294
  */
50329
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51295
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
50330
51296
 
50331
51297
  /**
50332
51298
  * The value to associate with the button when selected in a
@@ -50588,7 +51554,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50588
51554
  /**
50589
51555
  * The system prop that allows defining system overrides as well as additional CSS styles.
50590
51556
  */
50591
- sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object])), propTypes.func, propTypes.object]),
51557
+ sx: propTypes.oneOfType([propTypes.arrayOf(propTypes.oneOfType([propTypes.func, propTypes.object, propTypes.bool])), propTypes.func, propTypes.object]),
50592
51558
 
50593
51559
  /**
50594
51560
  * The currently selected value within the group or an array of selected
@@ -50782,7 +51748,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50782
51748
  exports.Switch = Switch$1;
50783
51749
  exports.SwitchUnstyled = SwitchUnstyled$1;
50784
51750
  exports.Tab = Tab$1;
51751
+ exports.TabPanelUnstyled = TabPanelUnstyled$1;
50785
51752
  exports.TabScrollButton = TabScrollButton$1;
51753
+ exports.TabUnstyled = TabUnstyled$1;
50786
51754
  exports.Table = Table$1;
50787
51755
  exports.TableBody = TableBody$1;
50788
51756
  exports.TableCell = TableCell$1;
@@ -50793,6 +51761,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50793
51761
  exports.TableRow = TableRow$1;
50794
51762
  exports.TableSortLabel = TableSortLabel$1;
50795
51763
  exports.Tabs = Tabs$1;
51764
+ exports.TabsContext = Context$1;
51765
+ exports.TabsListUnstyled = TabsListUnstyled$1;
51766
+ exports.TabsUnstyled = TabsUnstyled$1;
50796
51767
  exports.TextField = TextField$1;
50797
51768
  exports.TextareaAutosize = TextareaAutosize$1;
50798
51769
  exports.ThemeProvider = ThemeProvider;
@@ -50863,6 +51834,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50863
51834
  exports.easing = easing;
50864
51835
  exports.emphasize = emphasize;
50865
51836
  exports.experimentalStyled = styled$1;
51837
+ exports.experimental_sx = sx;
50866
51838
  exports.extractEventHandlers = extractEventHandlers;
50867
51839
  exports.fabClasses = fabClasses$1;
50868
51840
  exports.filledInputClasses = filledInputClasses$1;
@@ -50950,6 +51922,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50950
51922
  exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
50951
51923
  exports.getPaginationItemUtilityClass = getPaginationItemUtilityClass;
50952
51924
  exports.getPaginationUtilityClass = getPaginationUtilityClass;
51925
+ exports.getPanelId = getPanelId;
50953
51926
  exports.getPaperUtilityClass = getPaperUtilityClass;
50954
51927
  exports.getPopoverUtilityClass = getPopoverUtilityClass;
50955
51928
  exports.getRadioUtilityClass = getRadioUtilityClass;
@@ -50973,7 +51946,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50973
51946
  exports.getSvgIconUtilityClass = getSvgIconUtilityClass;
50974
51947
  exports.getSwitchUnstyledUtilityClass = getSwitchUnstyledUtilityClass;
50975
51948
  exports.getSwitchUtilityClass = getSwitchUtilityClass;
51949
+ exports.getTabId = getTabId;
51950
+ exports.getTabPanelUnstyledUtilityClass = getTabPanelUnstyledUtilityClass;
50976
51951
  exports.getTabScrollButtonUtilityClass = getTabScrollButtonUtilityClass;
51952
+ exports.getTabUnstyledUtilityClass = getTabUnstyledUtilityClass;
50977
51953
  exports.getTabUtilityClass = getTabUtilityClass;
50978
51954
  exports.getTableBodyUtilityClass = getTableBodyUtilityClass;
50979
51955
  exports.getTableCellUtilityClass = getTableCellUtilityClass;
@@ -50984,6 +51960,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
50984
51960
  exports.getTableRowUtilityClass = getTableRowUtilityClass;
50985
51961
  exports.getTableSortLabelUtilityClass = getTableSortLabelUtilityClass;
50986
51962
  exports.getTableUtilityClass = getTableUtilityClass;
51963
+ exports.getTabsListUnstyledUtilityClass = getTabsListUnstyledUtilityClass;
51964
+ exports.getTabsUnstyledUtilityClass = getTabsUnstyledUtilityClass;
50987
51965
  exports.getTabsUtilityClass = getTabsUtilityClass;
50988
51966
  exports.getTextFieldUtilityClass = getTextFieldUtilityClass;
50989
51967
  exports.getToggleButtonGroupUtilityClass = getToggleButtonGroupUtilityClass;
@@ -51062,7 +52040,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51062
52040
  exports.switchClasses = switchClasses$1;
51063
52041
  exports.switchUnstyledClasses = classes;
51064
52042
  exports.tabClasses = tabClasses$1;
52043
+ exports.tabPanelUnstyledClasses = tabPanelUnstyledClasses$1;
51065
52044
  exports.tabScrollButtonClasses = tabScrollButtonClasses$1;
52045
+ exports.tabUnstyledClasses = tabUnstyledClasses$1;
51066
52046
  exports.tableBodyClasses = tableBodyClasses$1;
51067
52047
  exports.tableCellClasses = tableCellClasses$1;
51068
52048
  exports.tableClasses = tableClasses$1;
@@ -51073,6 +52053,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51073
52053
  exports.tableRowClasses = tableRowClasses$1;
51074
52054
  exports.tableSortLabelClasses = tableSortLabelClasses$1;
51075
52055
  exports.tabsClasses = tabsClasses$1;
52056
+ exports.tabsListUnstyledClasses = tabsListUnstyledClasses$1;
52057
+ exports.tabsUnstyledClasses = tabsUnstyledClasses$1;
51076
52058
  exports.textFieldClasses = textFieldClasses$1;
51077
52059
  exports.toggleButtonClasses = toggleButtonClasses$1;
51078
52060
  exports.toggleButtonGroupClasses = toggleButtonGroupClasses$1;
@@ -51102,6 +52084,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
51102
52084
  exports.useRadioGroup = useRadioGroup;
51103
52085
  exports.useScrollTrigger = useScrollTrigger;
51104
52086
  exports.useSwitch = useSwitch;
52087
+ exports.useTab = useTab$1;
52088
+ exports.useTabContext = useTabContext;
52089
+ exports.useTabPanel = useTabPanel$1;
52090
+ exports.useTabs = useTabs$1;
52091
+ exports.useTabsList = useTabsList$1;
51105
52092
  exports.useTheme = useTheme;
51106
52093
  exports.useThemeProps = useThemeProps;
51107
52094
  exports.withStyles = withStyles;