@mui/material 5.14.13 → 5.14.15

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 (349) hide show
  1. package/AppBar/AppBar.d.ts +4 -1
  2. package/AppBar/AppBar.js +1 -1
  3. package/AppBar/appBarClasses.d.ts +8 -0
  4. package/AppBar/appBarClasses.js +1 -1
  5. package/AvatarGroup/AvatarGroup.d.ts +6 -0
  6. package/AvatarGroup/AvatarGroup.js +12 -3
  7. package/CHANGELOG.md +146 -0
  8. package/Checkbox/Checkbox.js +1 -1
  9. package/InputLabel/InputLabel.js +4 -3
  10. package/Pagination/Pagination.d.ts +3 -6
  11. package/Pagination/Pagination.js +1 -1
  12. package/Radio/Radio.js +1 -1
  13. package/Tabs/Tabs.js +30 -5
  14. package/ToggleButton/toggleButtonClasses.d.ts +2 -0
  15. package/ToggleButton/toggleButtonClasses.js +1 -1
  16. package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -0
  17. package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  18. package/index.js +1 -1
  19. package/legacy/AppBar/AppBar.js +1 -1
  20. package/legacy/AppBar/appBarClasses.js +1 -1
  21. package/legacy/AvatarGroup/AvatarGroup.js +12 -3
  22. package/legacy/Checkbox/Checkbox.js +1 -1
  23. package/legacy/InputLabel/InputLabel.js +4 -3
  24. package/legacy/Pagination/Pagination.js +1 -1
  25. package/legacy/Radio/Radio.js +1 -1
  26. package/legacy/Tabs/Tabs.js +30 -5
  27. package/legacy/ToggleButton/toggleButtonClasses.js +1 -1
  28. package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  29. package/legacy/index.js +1 -1
  30. package/legacy/locale/index.js +244 -166
  31. package/locale/index.d.ts +1 -0
  32. package/locale/index.js +120 -46
  33. package/modern/AppBar/AppBar.js +1 -1
  34. package/modern/AppBar/appBarClasses.js +1 -1
  35. package/modern/AvatarGroup/AvatarGroup.js +12 -3
  36. package/modern/Checkbox/Checkbox.js +1 -1
  37. package/modern/InputLabel/InputLabel.js +4 -3
  38. package/modern/Pagination/Pagination.js +1 -1
  39. package/modern/Radio/Radio.js +1 -1
  40. package/modern/Tabs/Tabs.js +27 -5
  41. package/modern/ToggleButton/toggleButtonClasses.js +1 -1
  42. package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  43. package/modern/index.js +1 -1
  44. package/modern/locale/index.js +120 -46
  45. package/node/Accordion/Accordion.js +2 -2
  46. package/node/Accordion/AccordionContext.js +2 -2
  47. package/node/Accordion/index.js +2 -2
  48. package/node/AccordionActions/AccordionActions.js +2 -2
  49. package/node/AccordionActions/index.js +2 -2
  50. package/node/AccordionDetails/AccordionDetails.js +2 -2
  51. package/node/AccordionDetails/index.js +2 -2
  52. package/node/AccordionSummary/AccordionSummary.js +2 -2
  53. package/node/AccordionSummary/index.js +2 -2
  54. package/node/Alert/Alert.js +2 -2
  55. package/node/Alert/index.js +2 -2
  56. package/node/AlertTitle/AlertTitle.js +2 -2
  57. package/node/AlertTitle/index.js +2 -2
  58. package/node/AppBar/AppBar.js +3 -3
  59. package/node/AppBar/appBarClasses.js +1 -1
  60. package/node/AppBar/index.js +2 -2
  61. package/node/Autocomplete/Autocomplete.js +2 -2
  62. package/node/Autocomplete/index.js +2 -2
  63. package/node/Avatar/Avatar.js +2 -2
  64. package/node/Avatar/index.js +2 -2
  65. package/node/AvatarGroup/AvatarGroup.js +13 -5
  66. package/node/AvatarGroup/index.js +2 -2
  67. package/node/Backdrop/Backdrop.js +2 -2
  68. package/node/Backdrop/index.js +2 -2
  69. package/node/Badge/Badge.js +2 -2
  70. package/node/Badge/index.js +2 -2
  71. package/node/BottomNavigation/BottomNavigation.js +2 -2
  72. package/node/BottomNavigation/index.js +2 -2
  73. package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
  74. package/node/BottomNavigationAction/index.js +2 -2
  75. package/node/Breadcrumbs/BreadcrumbCollapsed.js +2 -2
  76. package/node/Breadcrumbs/Breadcrumbs.js +2 -2
  77. package/node/Breadcrumbs/index.js +2 -2
  78. package/node/Button/Button.js +2 -2
  79. package/node/Button/index.js +2 -2
  80. package/node/ButtonBase/ButtonBase.js +2 -2
  81. package/node/ButtonBase/Ripple.js +2 -2
  82. package/node/ButtonBase/TouchRipple.js +2 -2
  83. package/node/ButtonBase/index.js +2 -2
  84. package/node/ButtonGroup/ButtonGroup.js +2 -2
  85. package/node/ButtonGroup/ButtonGroupButtonContext.js +2 -2
  86. package/node/ButtonGroup/ButtonGroupContext.js +2 -2
  87. package/node/ButtonGroup/index.js +2 -2
  88. package/node/Card/Card.js +2 -2
  89. package/node/Card/index.js +2 -2
  90. package/node/CardActionArea/CardActionArea.js +2 -2
  91. package/node/CardActionArea/index.js +2 -2
  92. package/node/CardActions/CardActions.js +2 -2
  93. package/node/CardActions/index.js +2 -2
  94. package/node/CardContent/CardContent.js +2 -2
  95. package/node/CardContent/index.js +2 -2
  96. package/node/CardHeader/CardHeader.js +2 -2
  97. package/node/CardHeader/index.js +2 -2
  98. package/node/CardMedia/CardMedia.js +2 -2
  99. package/node/CardMedia/index.js +2 -2
  100. package/node/Checkbox/Checkbox.js +3 -3
  101. package/node/Checkbox/index.js +2 -2
  102. package/node/Chip/Chip.js +2 -2
  103. package/node/Chip/index.js +2 -2
  104. package/node/CircularProgress/CircularProgress.js +2 -2
  105. package/node/CircularProgress/index.js +2 -2
  106. package/node/Collapse/Collapse.js +2 -2
  107. package/node/Collapse/index.js +2 -2
  108. package/node/Container/index.js +2 -2
  109. package/node/CssBaseline/CssBaseline.js +2 -2
  110. package/node/Dialog/Dialog.js +2 -2
  111. package/node/Dialog/DialogContext.js +2 -2
  112. package/node/Dialog/index.js +2 -2
  113. package/node/DialogActions/DialogActions.js +2 -2
  114. package/node/DialogActions/index.js +2 -2
  115. package/node/DialogContent/DialogContent.js +2 -2
  116. package/node/DialogContent/index.js +2 -2
  117. package/node/DialogContentText/DialogContentText.js +2 -2
  118. package/node/DialogContentText/index.js +2 -2
  119. package/node/DialogTitle/DialogTitle.js +2 -2
  120. package/node/DialogTitle/index.js +2 -2
  121. package/node/Divider/Divider.js +2 -2
  122. package/node/Divider/index.js +2 -2
  123. package/node/Drawer/Drawer.js +2 -2
  124. package/node/Drawer/index.js +2 -2
  125. package/node/Fab/Fab.js +2 -2
  126. package/node/Fab/index.js +2 -2
  127. package/node/Fade/Fade.js +2 -2
  128. package/node/FilledInput/FilledInput.js +2 -2
  129. package/node/FilledInput/index.js +2 -2
  130. package/node/FormControl/FormControl.js +2 -2
  131. package/node/FormControl/FormControlContext.js +2 -2
  132. package/node/FormControl/index.js +2 -2
  133. package/node/FormControl/useFormControl.js +2 -2
  134. package/node/FormControlLabel/FormControlLabel.js +2 -2
  135. package/node/FormControlLabel/index.js +2 -2
  136. package/node/FormGroup/FormGroup.js +2 -2
  137. package/node/FormGroup/index.js +2 -2
  138. package/node/FormHelperText/FormHelperText.js +2 -2
  139. package/node/FormHelperText/index.js +2 -2
  140. package/node/FormLabel/FormLabel.js +2 -2
  141. package/node/FormLabel/index.js +2 -2
  142. package/node/GlobalStyles/GlobalStyles.js +2 -2
  143. package/node/Grid/Grid.js +2 -2
  144. package/node/Grid/GridContext.js +2 -2
  145. package/node/Grid/index.js +2 -2
  146. package/node/Grow/Grow.js +2 -2
  147. package/node/Hidden/Hidden.js +2 -2
  148. package/node/Hidden/HiddenCss.js +2 -2
  149. package/node/Hidden/HiddenJs.js +2 -2
  150. package/node/Hidden/withWidth.js +2 -2
  151. package/node/Icon/Icon.js +2 -2
  152. package/node/Icon/index.js +2 -2
  153. package/node/IconButton/IconButton.js +2 -2
  154. package/node/IconButton/index.js +2 -2
  155. package/node/ImageList/ImageList.js +2 -2
  156. package/node/ImageList/ImageListContext.js +2 -2
  157. package/node/ImageList/index.js +2 -2
  158. package/node/ImageListItem/ImageListItem.js +2 -2
  159. package/node/ImageListItem/index.js +2 -2
  160. package/node/ImageListItemBar/ImageListItemBar.js +2 -2
  161. package/node/ImageListItemBar/index.js +2 -2
  162. package/node/Input/Input.js +2 -2
  163. package/node/Input/index.js +2 -2
  164. package/node/InputAdornment/InputAdornment.js +2 -2
  165. package/node/InputAdornment/index.js +2 -2
  166. package/node/InputBase/InputBase.js +2 -2
  167. package/node/InputBase/index.js +2 -2
  168. package/node/InputLabel/InputLabel.js +6 -5
  169. package/node/InputLabel/index.js +2 -2
  170. package/node/LinearProgress/LinearProgress.js +2 -2
  171. package/node/LinearProgress/index.js +2 -2
  172. package/node/Link/Link.js +2 -2
  173. package/node/Link/index.js +2 -2
  174. package/node/List/List.js +2 -2
  175. package/node/List/ListContext.js +2 -2
  176. package/node/List/index.js +2 -2
  177. package/node/ListItem/ListItem.js +2 -2
  178. package/node/ListItem/index.js +2 -2
  179. package/node/ListItemAvatar/ListItemAvatar.js +2 -2
  180. package/node/ListItemAvatar/index.js +2 -2
  181. package/node/ListItemButton/ListItemButton.js +2 -2
  182. package/node/ListItemButton/index.js +2 -2
  183. package/node/ListItemIcon/ListItemIcon.js +2 -2
  184. package/node/ListItemIcon/index.js +2 -2
  185. package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
  186. package/node/ListItemSecondaryAction/index.js +2 -2
  187. package/node/ListItemText/ListItemText.js +2 -2
  188. package/node/ListItemText/index.js +2 -2
  189. package/node/ListSubheader/ListSubheader.js +2 -2
  190. package/node/ListSubheader/index.js +2 -2
  191. package/node/Menu/Menu.js +2 -2
  192. package/node/Menu/index.js +2 -2
  193. package/node/MenuItem/MenuItem.js +2 -2
  194. package/node/MenuItem/index.js +2 -2
  195. package/node/MenuList/MenuList.js +2 -2
  196. package/node/MobileStepper/MobileStepper.js +2 -2
  197. package/node/MobileStepper/index.js +2 -2
  198. package/node/Modal/Modal.js +2 -2
  199. package/node/Modal/index.js +2 -2
  200. package/node/NativeSelect/NativeSelect.js +2 -2
  201. package/node/NativeSelect/NativeSelectInput.js +2 -2
  202. package/node/NativeSelect/index.js +2 -2
  203. package/node/OutlinedInput/NotchedOutline.js +2 -2
  204. package/node/OutlinedInput/OutlinedInput.js +2 -2
  205. package/node/OutlinedInput/index.js +2 -2
  206. package/node/Pagination/Pagination.js +3 -3
  207. package/node/Pagination/index.js +2 -2
  208. package/node/PaginationItem/PaginationItem.js +2 -2
  209. package/node/PaginationItem/index.js +2 -2
  210. package/node/Paper/Paper.js +2 -2
  211. package/node/Paper/index.js +2 -2
  212. package/node/Popover/Popover.js +2 -2
  213. package/node/Popover/index.js +2 -2
  214. package/node/Popper/Popper.js +2 -2
  215. package/node/Radio/Radio.js +3 -3
  216. package/node/Radio/RadioButtonIcon.js +2 -2
  217. package/node/Radio/index.js +2 -2
  218. package/node/RadioGroup/RadioGroup.js +2 -2
  219. package/node/RadioGroup/RadioGroupContext.js +2 -2
  220. package/node/RadioGroup/useRadioGroup.js +2 -2
  221. package/node/Rating/Rating.js +2 -2
  222. package/node/Rating/index.js +2 -2
  223. package/node/ScopedCssBaseline/ScopedCssBaseline.js +2 -2
  224. package/node/ScopedCssBaseline/index.js +2 -2
  225. package/node/Select/Select.js +2 -2
  226. package/node/Select/SelectInput.js +2 -2
  227. package/node/Select/index.js +2 -2
  228. package/node/Skeleton/Skeleton.js +2 -2
  229. package/node/Skeleton/index.js +2 -2
  230. package/node/Slide/Slide.js +2 -2
  231. package/node/Slider/Slider.js +2 -2
  232. package/node/Slider/SliderValueLabel.js +2 -2
  233. package/node/Slider/index.js +2 -2
  234. package/node/Snackbar/Snackbar.js +2 -2
  235. package/node/Snackbar/index.js +2 -2
  236. package/node/SnackbarContent/SnackbarContent.js +2 -2
  237. package/node/SnackbarContent/index.js +2 -2
  238. package/node/SpeedDial/SpeedDial.js +2 -2
  239. package/node/SpeedDial/index.js +2 -2
  240. package/node/SpeedDialAction/SpeedDialAction.js +2 -2
  241. package/node/SpeedDialAction/index.js +2 -2
  242. package/node/SpeedDialIcon/SpeedDialIcon.js +2 -2
  243. package/node/SpeedDialIcon/index.js +2 -2
  244. package/node/Step/Step.js +2 -2
  245. package/node/Step/StepContext.js +2 -2
  246. package/node/Step/index.js +2 -2
  247. package/node/StepButton/StepButton.js +2 -2
  248. package/node/StepButton/index.js +2 -2
  249. package/node/StepConnector/StepConnector.js +2 -2
  250. package/node/StepConnector/index.js +2 -2
  251. package/node/StepContent/StepContent.js +2 -2
  252. package/node/StepContent/index.js +2 -2
  253. package/node/StepIcon/StepIcon.js +2 -2
  254. package/node/StepIcon/index.js +2 -2
  255. package/node/StepLabel/StepLabel.js +2 -2
  256. package/node/StepLabel/index.js +2 -2
  257. package/node/Stepper/Stepper.js +2 -2
  258. package/node/Stepper/StepperContext.js +2 -2
  259. package/node/Stepper/index.js +2 -2
  260. package/node/SvgIcon/SvgIcon.js +2 -2
  261. package/node/SvgIcon/index.js +2 -2
  262. package/node/SwipeableDrawer/SwipeArea.js +2 -2
  263. package/node/SwipeableDrawer/SwipeableDrawer.js +2 -2
  264. package/node/Switch/Switch.js +2 -2
  265. package/node/Switch/index.js +2 -2
  266. package/node/Tab/Tab.js +2 -2
  267. package/node/Tab/index.js +2 -2
  268. package/node/TabScrollButton/TabScrollButton.js +2 -2
  269. package/node/TabScrollButton/index.js +2 -2
  270. package/node/Table/Table.js +2 -2
  271. package/node/Table/TableContext.js +2 -2
  272. package/node/Table/Tablelvl2Context.js +2 -2
  273. package/node/Table/index.js +2 -2
  274. package/node/TableBody/TableBody.js +2 -2
  275. package/node/TableBody/index.js +2 -2
  276. package/node/TableCell/TableCell.js +2 -2
  277. package/node/TableCell/index.js +2 -2
  278. package/node/TableContainer/TableContainer.js +2 -2
  279. package/node/TableContainer/index.js +2 -2
  280. package/node/TableFooter/TableFooter.js +2 -2
  281. package/node/TableFooter/index.js +2 -2
  282. package/node/TableHead/TableHead.js +2 -2
  283. package/node/TableHead/index.js +2 -2
  284. package/node/TablePagination/TablePagination.js +2 -2
  285. package/node/TablePagination/TablePaginationActions.js +2 -2
  286. package/node/TablePagination/index.js +2 -2
  287. package/node/TableRow/TableRow.js +2 -2
  288. package/node/TableRow/index.js +2 -2
  289. package/node/TableSortLabel/TableSortLabel.js +2 -2
  290. package/node/TableSortLabel/index.js +2 -2
  291. package/node/Tabs/ScrollbarSize.js +2 -2
  292. package/node/Tabs/Tabs.js +32 -7
  293. package/node/Tabs/index.js +2 -2
  294. package/node/TextField/TextField.js +2 -2
  295. package/node/TextField/index.js +2 -2
  296. package/node/ToggleButton/ToggleButton.js +2 -2
  297. package/node/ToggleButton/index.js +2 -2
  298. package/node/ToggleButton/toggleButtonClasses.js +1 -1
  299. package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
  300. package/node/ToggleButtonGroup/index.js +2 -2
  301. package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
  302. package/node/Toolbar/Toolbar.js +2 -2
  303. package/node/Toolbar/index.js +2 -2
  304. package/node/Tooltip/Tooltip.js +2 -2
  305. package/node/Tooltip/index.js +2 -2
  306. package/node/Typography/Typography.js +2 -2
  307. package/node/Typography/index.js +2 -2
  308. package/node/Unstable_Grid2/index.js +2 -2
  309. package/node/Zoom/Zoom.js +2 -2
  310. package/node/index.js +3 -3
  311. package/node/internal/SwitchBase.js +2 -2
  312. package/node/internal/svg-icons/Add.js +2 -2
  313. package/node/internal/svg-icons/ArrowDownward.js +2 -2
  314. package/node/internal/svg-icons/ArrowDropDown.js +2 -2
  315. package/node/internal/svg-icons/Cancel.js +2 -2
  316. package/node/internal/svg-icons/CheckBox.js +2 -2
  317. package/node/internal/svg-icons/CheckBoxOutlineBlank.js +2 -2
  318. package/node/internal/svg-icons/CheckCircle.js +2 -2
  319. package/node/internal/svg-icons/Close.js +2 -2
  320. package/node/internal/svg-icons/ErrorOutline.js +2 -2
  321. package/node/internal/svg-icons/FirstPage.js +2 -2
  322. package/node/internal/svg-icons/IndeterminateCheckBox.js +2 -2
  323. package/node/internal/svg-icons/InfoOutlined.js +2 -2
  324. package/node/internal/svg-icons/KeyboardArrowLeft.js +2 -2
  325. package/node/internal/svg-icons/KeyboardArrowRight.js +2 -2
  326. package/node/internal/svg-icons/LastPage.js +2 -2
  327. package/node/internal/svg-icons/MoreHoriz.js +2 -2
  328. package/node/internal/svg-icons/NavigateBefore.js +2 -2
  329. package/node/internal/svg-icons/NavigateNext.js +2 -2
  330. package/node/internal/svg-icons/Person.js +2 -2
  331. package/node/internal/svg-icons/RadioButtonChecked.js +2 -2
  332. package/node/internal/svg-icons/RadioButtonUnchecked.js +2 -2
  333. package/node/internal/svg-icons/ReportProblemOutlined.js +2 -2
  334. package/node/internal/svg-icons/Star.js +2 -2
  335. package/node/internal/svg-icons/StarBorder.js +2 -2
  336. package/node/internal/svg-icons/SuccessOutlined.js +2 -2
  337. package/node/internal/svg-icons/Warning.js +2 -2
  338. package/node/locale/index.js +121 -47
  339. package/node/styles/ThemeProvider.js +2 -2
  340. package/node/styles/index.js +2 -2
  341. package/node/styles/useTheme.js +2 -2
  342. package/node/useAutocomplete/index.js +2 -2
  343. package/node/useMediaQuery/useMediaQuery.js +2 -2
  344. package/node/useScrollTrigger/useScrollTrigger.js +2 -2
  345. package/node/useTouchRipple/useTouchRipple.js +2 -2
  346. package/node/utils/createSvgIcon.js +2 -2
  347. package/package.json +7 -7
  348. package/umd/material-ui.development.js +72 -35
  349. package/umd/material-ui.production.min.js +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/material",
3
- "version": "5.14.13",
3
+ "version": "5.14.15",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "React components that implement Google's Material Design.",
@@ -27,12 +27,12 @@
27
27
  "url": "https://opencollective.com/mui"
28
28
  },
29
29
  "dependencies": {
30
- "@babel/runtime": "^7.23.1",
31
- "@mui/base": "5.0.0-beta.19",
32
- "@mui/core-downloads-tracker": "^5.14.13",
33
- "@mui/system": "^5.14.13",
34
- "@mui/types": "^7.2.6",
35
- "@mui/utils": "^5.14.13",
30
+ "@babel/runtime": "^7.23.2",
31
+ "@mui/base": "5.0.0-beta.21",
32
+ "@mui/core-downloads-tracker": "^5.14.15",
33
+ "@mui/system": "^5.14.15",
34
+ "@mui/types": "^7.2.7",
35
+ "@mui/utils": "^5.14.15",
36
36
  "@types/react-transition-group": "^4.4.7",
37
37
  "clsx": "^2.0.0",
38
38
  "csstype": "^3.1.2",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.13
2
+ * @mui/material v5.14.15
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -2138,10 +2138,10 @@
2138
2138
  useEnhancedEffect$1(() => {
2139
2139
  ref.current = fn;
2140
2140
  });
2141
- return React__namespace.useCallback((...args) =>
2141
+ return React__namespace.useRef((...args) =>
2142
2142
  // @ts-expect-error hide `this`
2143
2143
  // tslint:disable-next-line:ban-comma-operator
2144
- (0, ref.current)(...args), []);
2144
+ (0, ref.current)(...args)).current;
2145
2145
  }
2146
2146
 
2147
2147
  function useForkRef(...refs) {
@@ -6542,11 +6542,6 @@
6542
6542
  } else {
6543
6543
  value = getPath(themeMapping, propValueFinal) || userValue;
6544
6544
  }
6545
- if (typeof value === 'object') {
6546
- {
6547
- console.warn(`MUI: The value found in theme for prop: "${propValueFinal}" is an [Object] instead of string or number. Check if you forgot to add the correct dotted notation, eg, "background.paper" instead of "background".`);
6548
- }
6549
- }
6550
6545
  if (transform) {
6551
6546
  value = transform(value, userValue, themeMapping);
6552
6547
  }
@@ -15193,7 +15188,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15193
15188
  function getAppBarUtilityClass(slot) {
15194
15189
  return generateUtilityClass('MuiAppBar', slot);
15195
15190
  }
15196
- const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
15191
+ const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
15197
15192
  var appBarClasses$1 = appBarClasses;
15198
15193
 
15199
15194
  const _excluded$1V = ["className", "color", "enableColorOnDark", "position"];
@@ -15341,7 +15336,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
15341
15336
  * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
15342
15337
  * @default 'primary'
15343
15338
  */
15344
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
15339
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), PropTypes.string]),
15345
15340
  /**
15346
15341
  * If true, the `color` prop is applied in dark mode.
15347
15342
  * @default false
@@ -20038,25 +20033,33 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
20038
20033
  }
20039
20034
  }, [value, multiple, focusedTag, focusTag]);
20040
20035
  function validOptionIndex(index, direction) {
20041
- if (!listboxRef.current || index === -1) {
20036
+ if (!listboxRef.current || index < 0 || index >= filteredOptions.length) {
20042
20037
  return -1;
20043
20038
  }
20044
20039
  let nextFocus = index;
20045
20040
  while (true) {
20046
- // Out of range
20047
- if (direction === 'next' && nextFocus === filteredOptions.length || direction === 'previous' && nextFocus === -1) {
20048
- return -1;
20049
- }
20050
20041
  const option = listboxRef.current.querySelector(`[data-option-index="${nextFocus}"]`);
20051
20042
 
20052
20043
  // Same logic as MenuList.js
20053
20044
  const nextFocusDisabled = disabledItemsFocusable ? false : !option || option.disabled || option.getAttribute('aria-disabled') === 'true';
20054
- if (option && !option.hasAttribute('tabindex') || nextFocusDisabled) {
20055
- // Move to the next element.
20056
- nextFocus += direction === 'next' ? 1 : -1;
20057
- } else {
20045
+ if (option && option.hasAttribute('tabindex') && !nextFocusDisabled) {
20046
+ // The next option is available
20058
20047
  return nextFocus;
20059
20048
  }
20049
+
20050
+ // The next option is disabled, move to the next element.
20051
+ // with looped index
20052
+ if (direction === 'next') {
20053
+ nextFocus = (nextFocus + 1) % filteredOptions.length;
20054
+ } else {
20055
+ nextFocus = (nextFocus - 1 + filteredOptions.length) % filteredOptions.length;
20056
+ }
20057
+
20058
+ // We end up with initial index, that means we don't have available options.
20059
+ // All of them are disabled
20060
+ if (nextFocus === index) {
20061
+ return -1;
20062
+ }
20060
20063
  }
20061
20064
  }
20062
20065
  const setHighlightedIndex = useEventCallback(({
@@ -23701,7 +23704,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23701
23704
  const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
23702
23705
  var avatarGroupClasses$1 = avatarGroupClasses;
23703
23706
 
23704
- const _excluded$1L = ["children", "className", "component", "componentsProps", "max", "slotProps", "spacing", "total", "variant"];
23707
+ const _excluded$1L = ["children", "className", "component", "componentsProps", "max", "renderSurplus", "slotProps", "spacing", "total", "variant"];
23705
23708
  const SPACINGS$2 = {
23706
23709
  small: -16,
23707
23710
  medium: null
@@ -23762,6 +23765,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23762
23765
  component = 'div',
23763
23766
  componentsProps = {},
23764
23767
  max = 5,
23768
+ renderSurplus,
23765
23769
  slotProps = {},
23766
23770
  spacing = 'medium',
23767
23771
  total,
@@ -23791,6 +23795,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23791
23795
  clampedMax = Math.min(totalAvatars + 1, clampedMax);
23792
23796
  const maxAvatars = Math.min(children.length, clampedMax - 1);
23793
23797
  const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
23798
+ const extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : `+${extraAvatars}`;
23794
23799
  const marginLeft = spacing && SPACINGS$2[spacing] !== undefined ? SPACINGS$2[spacing] : -spacing;
23795
23800
  const additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;
23796
23801
  return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
@@ -23799,7 +23804,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23799
23804
  className: clsx(classes.root, className),
23800
23805
  ref: ref
23801
23806
  }, other, {
23802
- children: [extraAvatars ? /*#__PURE__*/jsxRuntime_2(AvatarGroupAvatar, _extends({
23807
+ children: [extraAvatars ? /*#__PURE__*/jsxRuntime_1(AvatarGroupAvatar, _extends({
23803
23808
  ownerState: ownerState,
23804
23809
  variant: variant
23805
23810
  }, additionalAvatarSlotProps, {
@@ -23807,7 +23812,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23807
23812
  style: _extends({
23808
23813
  marginLeft
23809
23814
  }, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
23810
- children: ["+", extraAvatars]
23815
+ children: extraAvatarsElement
23811
23816
  })) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
23812
23817
  return /*#__PURE__*/React__namespace.cloneElement(child, {
23813
23818
  className: clsx(child.props.className, classes.avatar),
@@ -23865,6 +23870,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
23865
23870
  }
23866
23871
  return null;
23867
23872
  }),
23873
+ /**
23874
+ * custom renderer of extraAvatars
23875
+ * @param {number} surplus number of extra avatars
23876
+ * @returns {React.ReactNode} custom element to display
23877
+ */
23878
+ renderSurplus: PropTypes.func,
23868
23879
  /**
23869
23880
  * The extra props for the slot components.
23870
23881
  * You can override the existing props or add new ones.
@@ -26906,7 +26917,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
26906
26917
  const {
26907
26918
  ownerState
26908
26919
  } = props;
26909
- return [styles.root, ownerState.indeterminate && styles.indeterminate, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
26920
+ return [styles.root, ownerState.indeterminate && styles.indeterminate, styles[`size${capitalize(ownerState.size)}`], ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`]];
26910
26921
  }
26911
26922
  })(({
26912
26923
  theme,
@@ -33777,7 +33788,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33777
33788
  } = props;
33778
33789
  return [{
33779
33790
  [`& .${formLabelClasses$1.asterisk}`]: styles.asterisk
33780
- }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, styles[ownerState.variant]];
33791
+ }, styles.root, ownerState.formControl && styles.formControl, ownerState.size === 'small' && styles.sizeSmall, ownerState.shrink && styles.shrink, !ownerState.disableAnimation && styles.animated, ownerState.focused && styles.focused, styles[ownerState.variant]];
33781
33792
  }
33782
33793
  })(({
33783
33794
  theme,
@@ -33860,7 +33871,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33860
33871
  const fcs = formControlState({
33861
33872
  props,
33862
33873
  muiFormControl,
33863
- states: ['size', 'variant', 'required']
33874
+ states: ['size', 'variant', 'required', 'focused']
33864
33875
  });
33865
33876
  const ownerState = _extends({}, props, {
33866
33877
  disableAnimation,
@@ -33868,7 +33879,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
33868
33879
  shrink,
33869
33880
  size: fcs.size,
33870
33881
  variant: fcs.variant,
33871
- required: fcs.required
33882
+ required: fcs.required,
33883
+ focused: fcs.focused
33872
33884
  });
33873
33885
  const classes = useUtilityClasses$T(ownerState);
33874
33886
  return /*#__PURE__*/jsxRuntime_1(InputLabelRoot, _extends({
@@ -38656,7 +38668,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38656
38668
  * This is important for screen reader users.
38657
38669
  *
38658
38670
  * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).
38659
- * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous'). Defaults to 'page'.
38671
+ * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.
38660
38672
  * @param {number} page The page number to format.
38661
38673
  * @param {bool} selected If true, the current page is selected.
38662
38674
  * @returns {string}
@@ -38844,7 +38856,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
38844
38856
  const {
38845
38857
  ownerState
38846
38858
  } = props;
38847
- return [styles.root, styles[`color${capitalize(ownerState.color)}`]];
38859
+ return [styles.root, ownerState.size !== 'medium' && styles[`size${capitalize(ownerState.size)}`], styles[`color${capitalize(ownerState.color)}`]];
38848
38860
  }
38849
38861
  })(({
38850
38862
  theme,
@@ -48711,23 +48723,48 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
48711
48723
  updateIndicatorState();
48712
48724
  }
48713
48725
  });
48726
+ let resizeObserver;
48727
+
48728
+ /**
48729
+ * @type {MutationCallback}
48730
+ */
48731
+ const handleMutation = records => {
48732
+ records.forEach(record => {
48733
+ record.removedNodes.forEach(item => {
48734
+ var _resizeObserver;
48735
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.unobserve(item);
48736
+ });
48737
+ record.addedNodes.forEach(item => {
48738
+ var _resizeObserver2;
48739
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.observe(item);
48740
+ });
48741
+ });
48742
+ handleResize();
48743
+ updateScrollButtonState();
48744
+ };
48714
48745
  const win = ownerWindow(tabsRef.current);
48715
48746
  win.addEventListener('resize', handleResize);
48716
- let resizeObserver;
48747
+ let mutationObserver;
48717
48748
  if (typeof ResizeObserver !== 'undefined') {
48718
48749
  resizeObserver = new ResizeObserver(handleResize);
48719
48750
  Array.from(tabListRef.current.children).forEach(child => {
48720
48751
  resizeObserver.observe(child);
48721
48752
  });
48722
48753
  }
48754
+ if (typeof MutationObserver !== 'undefined') {
48755
+ mutationObserver = new MutationObserver(handleMutation);
48756
+ mutationObserver.observe(tabListRef.current, {
48757
+ childList: true
48758
+ });
48759
+ }
48723
48760
  return () => {
48761
+ var _mutationObserver, _resizeObserver3;
48724
48762
  handleResize.clear();
48725
48763
  win.removeEventListener('resize', handleResize);
48726
- if (resizeObserver) {
48727
- resizeObserver.disconnect();
48728
- }
48764
+ (_mutationObserver = mutationObserver) == null || _mutationObserver.disconnect();
48765
+ (_resizeObserver3 = resizeObserver) == null || _resizeObserver3.disconnect();
48729
48766
  };
48730
- }, [updateIndicatorState]);
48767
+ }, [updateIndicatorState, updateScrollButtonState]);
48731
48768
 
48732
48769
  /**
48733
48770
  * Toggle visibility of start and end scroll buttons
@@ -49385,7 +49422,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49385
49422
  function getToggleButtonUtilityClass(slot) {
49386
49423
  return generateUtilityClass('MuiToggleButton', slot);
49387
49424
  }
49388
- const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
49425
+ const toggleButtonClasses = generateUtilityClasses('MuiToggleButton', ['root', 'disabled', 'selected', 'standard', 'primary', 'secondary', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'fullWidth']);
49389
49426
  var toggleButtonClasses$1 = toggleButtonClasses;
49390
49427
 
49391
49428
  const _excluded$2 = ["children", "className", "color", "disabled", "disableFocusRipple", "fullWidth", "onChange", "onClick", "selected", "size", "value"];
@@ -49611,7 +49648,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
49611
49648
  function getToggleButtonGroupUtilityClass(slot) {
49612
49649
  return generateUtilityClass('MuiToggleButtonGroup', slot);
49613
49650
  }
49614
- const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical']);
49651
+ const toggleButtonGroupClasses = generateUtilityClasses('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth']);
49615
49652
  var toggleButtonGroupClasses$1 = toggleButtonGroupClasses;
49616
49653
 
49617
49654
  const _excluded$1 = ["children", "className", "color", "disabled", "exclusive", "fullWidth", "onChange", "orientation", "size", "value"];