@mui/material 5.14.12 → 5.14.14

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 (165) hide show
  1. package/Alert/Alert.d.ts +1 -1
  2. package/Alert/Alert.js +1 -1
  3. package/AppBar/AppBar.d.ts +5 -2
  4. package/AppBar/AppBar.js +2 -2
  5. package/AppBar/appBarClasses.d.ts +8 -0
  6. package/AppBar/appBarClasses.js +1 -1
  7. package/AvatarGroup/AvatarGroup.d.ts +6 -0
  8. package/AvatarGroup/AvatarGroup.js +12 -3
  9. package/Badge/Badge.d.ts +1 -1
  10. package/Badge/Badge.js +1 -1
  11. package/Button/Button.d.ts +1 -1
  12. package/Button/Button.js +1 -1
  13. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  14. package/ButtonGroup/ButtonGroup.js +1 -1
  15. package/CHANGELOG.md +139 -0
  16. package/Checkbox/Checkbox.d.ts +1 -1
  17. package/Checkbox/Checkbox.js +2 -2
  18. package/Chip/Chip.d.ts +1 -1
  19. package/Chip/Chip.js +7 -1
  20. package/CircularProgress/CircularProgress.d.ts +1 -1
  21. package/CircularProgress/CircularProgress.js +1 -1
  22. package/Fab/Fab.d.ts +1 -1
  23. package/Fab/Fab.js +1 -1
  24. package/FilledInput/FilledInput.js +1 -1
  25. package/FormControl/FormControl.d.ts +1 -1
  26. package/FormControl/FormControl.js +1 -1
  27. package/FormLabel/FormLabel.d.ts +1 -1
  28. package/FormLabel/FormLabel.js +1 -1
  29. package/Icon/Icon.d.ts +1 -1
  30. package/Icon/Icon.js +1 -1
  31. package/IconButton/IconButton.d.ts +1 -1
  32. package/IconButton/IconButton.js +1 -1
  33. package/Input/Input.js +1 -1
  34. package/InputBase/InputBase.d.ts +1 -1
  35. package/InputBase/InputBase.js +1 -1
  36. package/InputLabel/InputLabel.js +1 -1
  37. package/LinearProgress/LinearProgress.d.ts +1 -1
  38. package/LinearProgress/LinearProgress.js +1 -1
  39. package/OutlinedInput/OutlinedInput.js +1 -1
  40. package/Pagination/Pagination.d.ts +4 -7
  41. package/Pagination/Pagination.js +2 -2
  42. package/PaginationItem/PaginationItem.d.ts +1 -1
  43. package/PaginationItem/PaginationItem.js +3 -3
  44. package/Radio/Radio.d.ts +1 -1
  45. package/Radio/Radio.js +1 -1
  46. package/Slider/Slider.d.ts +5 -2
  47. package/Slider/Slider.js +2 -2
  48. package/Slider/sliderClasses.d.ts +16 -0
  49. package/Slider/sliderClasses.js +1 -1
  50. package/SvgIcon/SvgIcon.d.ts +1 -1
  51. package/SvgIcon/SvgIcon.js +1 -1
  52. package/Switch/Switch.d.ts +1 -1
  53. package/Switch/Switch.js +1 -1
  54. package/Tabs/Tabs.js +30 -5
  55. package/TextField/TextField.d.ts +1 -1
  56. package/TextField/TextField.js +1 -1
  57. package/ToggleButton/ToggleButton.d.ts +1 -1
  58. package/ToggleButton/ToggleButton.js +1 -1
  59. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  60. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  61. package/index.js +1 -1
  62. package/legacy/Alert/Alert.js +1 -1
  63. package/legacy/AppBar/AppBar.js +2 -2
  64. package/legacy/AppBar/appBarClasses.js +1 -1
  65. package/legacy/AvatarGroup/AvatarGroup.js +12 -3
  66. package/legacy/Badge/Badge.js +1 -1
  67. package/legacy/Button/Button.js +1 -1
  68. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  69. package/legacy/Checkbox/Checkbox.js +2 -2
  70. package/legacy/Chip/Chip.js +7 -1
  71. package/legacy/CircularProgress/CircularProgress.js +1 -1
  72. package/legacy/Fab/Fab.js +1 -1
  73. package/legacy/FilledInput/FilledInput.js +1 -1
  74. package/legacy/FormControl/FormControl.js +1 -1
  75. package/legacy/FormLabel/FormLabel.js +1 -1
  76. package/legacy/Icon/Icon.js +1 -1
  77. package/legacy/IconButton/IconButton.js +1 -1
  78. package/legacy/Input/Input.js +1 -1
  79. package/legacy/InputBase/InputBase.js +1 -1
  80. package/legacy/InputLabel/InputLabel.js +1 -1
  81. package/legacy/LinearProgress/LinearProgress.js +1 -1
  82. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  83. package/legacy/Pagination/Pagination.js +2 -2
  84. package/legacy/PaginationItem/PaginationItem.js +3 -3
  85. package/legacy/Radio/Radio.js +1 -1
  86. package/legacy/Slider/Slider.js +2 -2
  87. package/legacy/Slider/sliderClasses.js +1 -1
  88. package/legacy/SvgIcon/SvgIcon.js +1 -1
  89. package/legacy/Switch/Switch.js +1 -1
  90. package/legacy/Tabs/Tabs.js +30 -5
  91. package/legacy/TextField/TextField.js +1 -1
  92. package/legacy/ToggleButton/ToggleButton.js +1 -1
  93. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  94. package/legacy/index.js +1 -1
  95. package/modern/Alert/Alert.js +1 -1
  96. package/modern/AppBar/AppBar.js +2 -2
  97. package/modern/AppBar/appBarClasses.js +1 -1
  98. package/modern/AvatarGroup/AvatarGroup.js +12 -3
  99. package/modern/Badge/Badge.js +1 -1
  100. package/modern/Button/Button.js +1 -1
  101. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  102. package/modern/Checkbox/Checkbox.js +2 -2
  103. package/modern/Chip/Chip.js +7 -1
  104. package/modern/CircularProgress/CircularProgress.js +1 -1
  105. package/modern/Fab/Fab.js +1 -1
  106. package/modern/FilledInput/FilledInput.js +1 -1
  107. package/modern/FormControl/FormControl.js +1 -1
  108. package/modern/FormLabel/FormLabel.js +1 -1
  109. package/modern/Icon/Icon.js +1 -1
  110. package/modern/IconButton/IconButton.js +1 -1
  111. package/modern/Input/Input.js +1 -1
  112. package/modern/InputBase/InputBase.js +1 -1
  113. package/modern/InputLabel/InputLabel.js +1 -1
  114. package/modern/LinearProgress/LinearProgress.js +1 -1
  115. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  116. package/modern/Pagination/Pagination.js +2 -2
  117. package/modern/PaginationItem/PaginationItem.js +3 -3
  118. package/modern/Radio/Radio.js +1 -1
  119. package/modern/Slider/Slider.js +2 -2
  120. package/modern/Slider/sliderClasses.js +1 -1
  121. package/modern/SvgIcon/SvgIcon.js +1 -1
  122. package/modern/Switch/Switch.js +1 -1
  123. package/modern/Tabs/Tabs.js +27 -5
  124. package/modern/TextField/TextField.js +1 -1
  125. package/modern/ToggleButton/ToggleButton.js +1 -1
  126. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  127. package/modern/index.js +1 -1
  128. package/node/Alert/Alert.js +1 -1
  129. package/node/AppBar/AppBar.js +2 -2
  130. package/node/AppBar/appBarClasses.js +1 -1
  131. package/node/AvatarGroup/AvatarGroup.js +11 -3
  132. package/node/Badge/Badge.js +1 -1
  133. package/node/Button/Button.js +1 -1
  134. package/node/ButtonGroup/ButtonGroup.js +1 -1
  135. package/node/Checkbox/Checkbox.js +2 -2
  136. package/node/Chip/Chip.js +7 -1
  137. package/node/CircularProgress/CircularProgress.js +1 -1
  138. package/node/Fab/Fab.js +1 -1
  139. package/node/FilledInput/FilledInput.js +1 -1
  140. package/node/FormControl/FormControl.js +1 -1
  141. package/node/FormLabel/FormLabel.js +1 -1
  142. package/node/Icon/Icon.js +1 -1
  143. package/node/IconButton/IconButton.js +1 -1
  144. package/node/Input/Input.js +1 -1
  145. package/node/InputBase/InputBase.js +1 -1
  146. package/node/InputLabel/InputLabel.js +1 -1
  147. package/node/LinearProgress/LinearProgress.js +1 -1
  148. package/node/OutlinedInput/OutlinedInput.js +1 -1
  149. package/node/Pagination/Pagination.js +2 -2
  150. package/node/PaginationItem/PaginationItem.js +3 -3
  151. package/node/Radio/Radio.js +1 -1
  152. package/node/Slider/Slider.js +2 -2
  153. package/node/Slider/sliderClasses.js +1 -1
  154. package/node/SvgIcon/SvgIcon.js +1 -1
  155. package/node/Switch/Switch.js +1 -1
  156. package/node/Tabs/Tabs.js +30 -5
  157. package/node/TextField/TextField.js +1 -1
  158. package/node/ToggleButton/ToggleButton.js +1 -1
  159. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  160. package/node/index.js +1 -1
  161. package/package.json +7 -7
  162. package/styles/components.d.ts +1 -0
  163. package/styles/overrides.d.ts +2 -0
  164. package/umd/material-ui.development.js +86 -45
  165. package/umd/material-ui.production.min.js +4 -4
package/Alert/Alert.d.ts CHANGED
@@ -30,7 +30,7 @@ export interface AlertProps extends StandardProps<PaperProps, 'variant'> {
30
30
  /**
31
31
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
32
32
  * It supports both default and custom theme colors, which can be added as shown in the
33
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
33
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
34
34
  */
35
35
  color?: OverridableStringUnion<AlertColor, AlertPropsColorOverrides>;
36
36
  /**
package/Alert/Alert.js CHANGED
@@ -228,7 +228,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
228
228
  /**
229
229
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
230
230
  * It supports both default and custom theme colors, which can be added as shown in the
231
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
231
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
232
232
  */
233
233
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
234
234
  /**
@@ -16,10 +16,13 @@ export interface AppBarOwnProps {
16
16
  /**
17
17
  * The color of the component.
18
18
  * It supports both default and custom theme colors, which can be added as shown in the
19
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
19
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
20
20
  * @default 'primary'
21
21
  */
22
- color?: OverridableStringUnion<PropTypes.Color | 'transparent', AppBarPropsColorOverrides>;
22
+ color?: OverridableStringUnion<
23
+ PropTypes.Color | 'transparent' | 'error' | 'info' | 'success' | 'warning',
24
+ AppBarPropsColorOverrides
25
+ >;
23
26
  /**
24
27
  * If true, the `color` prop is applied in dark mode.
25
28
  * @default false
package/AppBar/AppBar.js CHANGED
@@ -154,10 +154,10 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
154
154
  /**
155
155
  * The color of the component.
156
156
  * It supports both default and custom theme colors, which can be added as shown in the
157
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
157
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
158
158
  * @default 'primary'
159
159
  */
160
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
160
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent', 'error', 'info', 'success', 'warning']), PropTypes.string]),
161
161
  /**
162
162
  * If true, the `color` prop is applied in dark mode.
163
163
  * @default false
@@ -21,6 +21,14 @@ export interface AppBarClasses {
21
21
  colorInherit: string;
22
22
  /** Styles applied to the root element if `color="transparent"`. */
23
23
  colorTransparent: string;
24
+ /** Styles applied to the root element if `color="error"`. */
25
+ colorError: string;
26
+ /** Styles applied to the root element if `color="info"`. */
27
+ colorInfo: string;
28
+ /** Styles applied to the root element if `color="success"`. */
29
+ colorSuccess: string;
30
+ /** Styles applied to the root element if `color="warning"`. */
31
+ colorWarning: string;
24
32
  }
25
33
  export type AppBarClassKey = keyof AppBarClasses;
26
34
  export declare function getAppBarUtilityClass(slot: string): string;
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getAppBarUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiAppBar', slot);
5
5
  }
6
- const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
6
+ const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
7
7
  export default appBarClasses;
@@ -40,6 +40,12 @@ export interface AvatarGroupProps extends StandardProps<React.HTMLAttributes<HTM
40
40
  * @default 5
41
41
  */
42
42
  max?: number;
43
+ /**
44
+ * custom renderer of extraAvatars
45
+ * @param {number} surplus number of extra avatars
46
+ * @returns {React.ReactNode} custom element to display
47
+ */
48
+ renderSurplus?: (surplus: number) => React.ReactNode;
43
49
  /**
44
50
  * The extra props for the slot components.
45
51
  * You can override the existing props or add new ones.
@@ -2,7 +2,7 @@
2
2
 
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
4
  import _extends from "@babel/runtime/helpers/esm/extends";
5
- const _excluded = ["children", "className", "component", "componentsProps", "max", "slotProps", "spacing", "total", "variant"];
5
+ const _excluded = ["children", "className", "component", "componentsProps", "max", "renderSurplus", "slotProps", "spacing", "total", "variant"];
6
6
  import * as React from 'react';
7
7
  import PropTypes from 'prop-types';
8
8
  import { isFragment } from 'react-is';
@@ -13,6 +13,7 @@ import styled from '../styles/styled';
13
13
  import useThemeProps from '../styles/useThemeProps';
14
14
  import Avatar, { avatarClasses } from '../Avatar';
15
15
  import avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';
16
+ import { jsx as _jsx } from "react/jsx-runtime";
16
17
  import { jsxs as _jsxs } from "react/jsx-runtime";
17
18
  const SPACINGS = {
18
19
  small: -16,
@@ -74,6 +75,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
74
75
  component = 'div',
75
76
  componentsProps = {},
76
77
  max = 5,
78
+ renderSurplus,
77
79
  slotProps = {},
78
80
  spacing = 'medium',
79
81
  total,
@@ -103,6 +105,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
103
105
  clampedMax = Math.min(totalAvatars + 1, clampedMax);
104
106
  const maxAvatars = Math.min(children.length, clampedMax - 1);
105
107
  const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
108
+ const extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : `+${extraAvatars}`;
106
109
  const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
107
110
  const additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;
108
111
  return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
@@ -111,7 +114,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
111
114
  className: clsx(classes.root, className),
112
115
  ref: ref
113
116
  }, other, {
114
- children: [extraAvatars ? /*#__PURE__*/_jsxs(AvatarGroupAvatar, _extends({
117
+ children: [extraAvatars ? /*#__PURE__*/_jsx(AvatarGroupAvatar, _extends({
115
118
  ownerState: ownerState,
116
119
  variant: variant
117
120
  }, additionalAvatarSlotProps, {
@@ -119,7 +122,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
119
122
  style: _extends({
120
123
  marginLeft
121
124
  }, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
122
- children: ["+", extraAvatars]
125
+ children: extraAvatarsElement
123
126
  })) : null, children.slice(0, maxAvatars).reverse().map((child, index) => {
124
127
  return /*#__PURE__*/React.cloneElement(child, {
125
128
  className: clsx(child.props.className, classes.avatar),
@@ -177,6 +180,12 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes /* remove-proptype
177
180
  }
178
181
  return null;
179
182
  }),
183
+ /**
184
+ * custom renderer of extraAvatars
185
+ * @param {number} surplus number of extra avatars
186
+ * @returns {React.ReactNode} custom element to display
187
+ */
188
+ renderSurplus: PropTypes.func,
180
189
  /**
181
190
  * The extra props for the slot components.
182
191
  * You can override the existing props or add new ones.
package/Badge/Badge.d.ts CHANGED
@@ -61,7 +61,7 @@ export interface BadgeOwnProps {
61
61
  /**
62
62
  * The color of the component.
63
63
  * It supports both default and custom theme colors, which can be added as shown in the
64
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
64
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
65
65
  * @default 'default'
66
66
  */
67
67
  color?: OverridableStringUnion<
package/Badge/Badge.js CHANGED
@@ -286,7 +286,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
286
286
  /**
287
287
  * The color of the component.
288
288
  * It supports both default and custom theme colors, which can be added as shown in the
289
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
289
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
290
290
  * @default 'default'
291
291
  */
292
292
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -24,7 +24,7 @@ export interface ButtonOwnProps {
24
24
  /**
25
25
  * The color of the component.
26
26
  * It supports both default and custom theme colors, which can be added as shown in the
27
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
27
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
28
28
  * @default 'primary'
29
29
  */
30
30
  color?: OverridableStringUnion<
package/Button/Button.js CHANGED
@@ -302,7 +302,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
302
302
  /**
303
303
  * The color of the component.
304
304
  * It supports both default and custom theme colors, which can be added as shown in the
305
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
305
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
306
306
  * @default 'primary'
307
307
  */
308
308
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
@@ -21,7 +21,7 @@ export interface ButtonGroupOwnProps {
21
21
  /**
22
22
  * The color of the component.
23
23
  * It supports both default and custom theme colors, which can be added as shown in the
24
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
24
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
25
25
  * @default 'primary'
26
26
  */
27
27
  color?: OverridableStringUnion<
@@ -235,7 +235,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptype
235
235
  /**
236
236
  * The color of the component.
237
237
  * It supports both default and custom theme colors, which can be added as shown in the
238
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
238
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
239
239
  * @default 'primary'
240
240
  */
241
241
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/CHANGELOG.md CHANGED
@@ -1,5 +1,143 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## 5.14.14
4
+
5
+ <!-- generated comparing v5.14.13..master -->
6
+
7
+ _Oct 17, 2023_
8
+
9
+ A big thanks to the 24 contributors who made this release possible. Here are some highlights ✨:
10
+ This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
11
+
12
+ ### `@mui/material@5.14.14`
13
+
14
+ - &#8203;<!-- 29 -->[material-ui][AppBar] Support all default palette colors in TypeScript (#39389) @BreakBB
15
+ - &#8203;<!-- 28 -->[material-ui][AvatarGroup] Add `renderSurplus` prop (#39283) @uuxxx
16
+ - &#8203;<!-- 25 -->[material-ui][Box] Fix system properties has incorrect `Theme` interface when applied directly (#39404) @Semigradsky
17
+ - &#8203;<!-- 04 -->[material-ui][Pagination] Update `type` parameter of `getItemAriaLabel` prop (#39390) @Simer13
18
+ - &#8203;<!-- 06 -->[material][tab] Show/hide scroll buttons for dynamically added children (#39415) @brijeshb42
19
+
20
+ ### `@mui/base@5.0.0-beta.20`
21
+
22
+ - &#8203;<!-- 26 -->[base-ui][Menu] Do not reopen the menu after clicking on a trigger in Safari (#39393) @michaldudak
23
+
24
+ ### `@mui/material-next@6.0.0-alpha.106`
25
+
26
+ - &#8203;<!-- 23 -->[Divider][material-next] Add Divider component (#39179) @Best-Sardar
27
+
28
+ ### `@mui/joy@5.0.0-beta.11`
29
+
30
+ - &#8203;<!-- 08 -->[joy-ui][List] Add the `marker` prop (#39313) @siriwatknp
31
+ - &#8203;<!-- 07 -->[joy-ui][Skeleton] Fix semi-transparent scenario when with surface components and color inversion (#39400) @TheNatkat
32
+ - &#8203;<!-- 06 -->[joy-ui][Textarea] Fix focus ring for error state (#39391) @vineetjk
33
+
34
+ ### `@mui/icons-material@5.14.14`
35
+
36
+ - &#8203;<!-- 09 -->[icons] Fix VoiceChatOutlined showing the wrong icon (#39418) @devuser200
37
+
38
+ ### `@mui/system@5.14.14`
39
+
40
+ - &#8203;<!-- 03 -->[mui-system][style] bug fix for style value check color in nullable object (#39457) @DarhkVoyd
41
+
42
+ ### `@mui/styled-engine-sc@6.0.0-alpha.2`
43
+
44
+ - &#8203;<!-- 05 -->[styled-engine-sc] Fix TS issues because of missing types (#39395) @mnajdova
45
+
46
+ ### Docs
47
+
48
+ - &#8203;<!-- 27 -->[docs][base-ui] Renaming demos to BaseXxx (#39104) @christophermorin
49
+ - &#8203;<!-- 26 -->[docs] Accessibility in Base UI (#39264) @michaldudak
50
+ - &#8203;<!-- 22 -->[docs] Fix 301 redirection @oliviertassinari
51
+ - &#8203;<!-- 21 -->[docs] Improve Base UI table of contents for APIs (#39412) @ZeeshanTamboli
52
+ - &#8203;<!-- 20 -->[docs] Adjust design kits-related content (#39367) @danilo-leal
53
+ - &#8203;<!-- 19 -->[docs] Revise the Contributing Guide (#39190) @samuelsycamore
54
+ - &#8203;<!-- 12 -->[docs][joy-ui] Fix row hover prop name in the Table page (#39431) @adrienbrault
55
+ - &#8203;<!-- 11 -->[docs][joy-ui] Fix color inversion demos (#39403) @danilo-leal
56
+ - &#8203;<!-- 10 -->[docs][material-ui] Remove irrelevant TODO from Snackbar demo (#39396) @ZeeshanTamboli
57
+ - &#8203;<!-- 06 -->[docs][material-ui][Table] Bug in "Sorting & Selecting" demo (#39426) @codewithrabeeh
58
+ - &#8203;<!-- 05 -->[docs][joy-ui][typography] Update docs after lineHeight changes (#39366) @zanivan
59
+
60
+ ### Core
61
+
62
+ - &#8203;<!-- 24 -->[core] Fix multiple typos across the repo (#39422) @parikshitadhikari
63
+ - &#8203;<!-- 18 -->[docs-infra] Add refinements to the API content design (#39425) @danilo-leal
64
+ - &#8203;<!-- 17 -->[docs-infra] Add a min height to the layout component (#39416) @danilo-leal
65
+ - &#8203;<!-- 16 -->[docs-infra] Prevent horizontal scroll in the TOC (#39417) @danilo-leal
66
+ - &#8203;<!-- 15 -->[docs-infra] Add a collapsible list & table views to the API content display (#38265) @alexfauquette
67
+ - &#8203;<!-- 14 -->[docs-infra] Adjust the `kbd` tag styles (#39397) @danilo-leal
68
+ - &#8203;<!-- 13 -->[docs-infra] Fix strong style regression (#39384) @oliviertassinari
69
+ - &#8203;<!-- 04 -->[website] Add the LinkedIn profile to the contributors section on the About page (#39455) @chhawinder
70
+ - &#8203;<!-- 03 -->[website] Update new role template (#39386) @oliviertassinari
71
+ - &#8203;<!-- 02 -->[website] Add stray design fine-tunning to the Pricing page (#39472) @danilo-leal
72
+ - &#8203;<!-- 01 -->[website] Fix career anchor link to perks & benefits @oliviertassinari
73
+
74
+ All contributors of this release in alphabetical order: @adrienbrault, @alexfauquette, @Best-Sardar, @BreakBB, @brijeshb42, @chhawinder, @christophermorin, @codewithrabeeh, @danilo-leal, @DarhkVoyd, @devuser200, @michaldudak, @mnajdova, @oliviertassinari, @parikshitadhikari, @samuelsycamore, @Semigradsky, @Simer13, @siriwatknp, @TheNatkat, @uuxxx, @vineetjk, @zanivan, @ZeeshanTamboli
75
+
76
+ ## 5.14.13
77
+
78
+ <!-- generated comparing v5.14.12..master -->
79
+
80
+ _Oct 10, 2023_
81
+
82
+ A big thanks to the 22 contributors who made this release possible. Here are some highlights ✨:
83
+
84
+ - 🚀 Added support for `styled-components` v6 (#39042) @mnajdova
85
+
86
+ ### `@mui/material@5.14.13`
87
+
88
+ - [Checkbox] Fix checkbox hover bg with extendTheme (#39319) @brijeshb42
89
+ - [Chip] Outlined Chip variant is wider than the Filled counterpart (#39342) @chirag3003
90
+ - [Select] Add notice about select's a11y improvement on v5.14.12 changelog (#39310) @DiegoAndai
91
+ - [Typography] Color prop check for primitive type (#39071) @DarhkVoyd
92
+ - [Pagination] Fix background color on hover and keyboard focus when using CSS theme variables (#39220) @ValkonX33
93
+ - [Popper] Add missing `styleOverrides` Popper type in theme (#39154) @axelbostrom
94
+ - [Slider] Support all default palette colors in TypeScript (#39058) @gugudwt
95
+
96
+ ### `@mui/base@5.0.0-beta.19`
97
+
98
+ - [Menu] Add the anchor prop (#39297) @michaldudak
99
+
100
+ ### `@mui/material-next@6.0.0-alpha.105`
101
+
102
+ - [Menu] Copy v5 Menu components (#39301) @mnajdova
103
+
104
+ ### `@mui/joy@5.0.0-beta.10`
105
+
106
+ - [Autocomplete] Add `type=button` to clear button (#39263) @brijeshb42
107
+ - [Button] Fix the text wrap issue (#38696) @atharva3333
108
+ - [Drawer] Apply color inversion to content slot instead (#39312) @siriwatknp
109
+ - [Switch] Fix missing class name (#39327) @Bestwebdesign
110
+
111
+ ### `@mui/styled-engine-sc@6.0.0-alpha.1`
112
+
113
+ - &#8203;<!-- 03 -->[system] Add support for `styled-components` v6 (#39042) @mnajdova
114
+
115
+ ### Docs
116
+
117
+ - [joy-ui] Adjust the templates page card design (#39369) @danilo-leal
118
+ - Rename the Data Grid "Quick filter" to "Search" (#37724) @alexfauquette
119
+ - Remove obsolete translations (#39221) @mbrookes
120
+ - Update link to add custom color in palette (#39359) @ZeeshanTamboli
121
+ - Denser code demo @oliviertassinari
122
+ - Set up MD3 experiments pages (#39323) @mj12albert
123
+ - [Drawer] Fix right anchored persistent drawer intercepts click when it is closed (#39318) @ZeeshanTamboli
124
+ - [joy-ui] Revise the Color Inversion page (#39306) @danilo-leal
125
+ - [joy-ui] Remove redundant `error` prop from input validation demo (#39280) @sai6855
126
+ - [material-ui] Rename themed components doc, fix typos (#39368) @samuelsycamore
127
+ - [material-ui] Adjust the Material You Chip section (#39325) @danilo-leal
128
+ - [system] Add documentation on how to augment custom theme types for the `sx` prop callback (#39259) @3xp10it3r
129
+ - [joy-ui][Input] Add debounce input demo (#39300) @sai6855
130
+
131
+ ### Core
132
+
133
+ - [docs-infra] Improve the open diamond sponsor spot callout (#39332) @danilo-leal
134
+ - [docs-infra] Fix Code Sandbox download issue (#39317) @ARJ2160
135
+ - [docs-infra] Remove overflow: hidden for demo gradient bg (#39225) @oliviertassinari
136
+ - [website] Fix footer responsiveness (#39355) @danilo-leal
137
+ - [website] Host Figma redirections in the store for now @oliviertassinari
138
+
139
+ All contributors of this release in alphabetical order: @3xp10it3r, @alexfauquette, @ARJ2160, @atharva3333, @axelbostrom, @Bestwebdesign, @brijeshb42, @chirag3003, @danilo-leal, @DarhkVoyd, @DiegoAndai, @gugudwt, @mbrookes, @michaldudak, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @samuelsycamore, @siriwatknp, @ValkonX33, @ZeeshanTamboli
140
+
3
141
  ## 5.14.12
4
142
 
5
143
  <!-- generated comparing v5.14.11..master -->
@@ -10,6 +148,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
10
148
 
11
149
  - 🎨 Introduced color inversion utilities to Joy UI (#38916) @siriwatknp
12
150
  - 🚀 Added Chip and related TextField components to Material You @DiegoAndai, @mj12albert
151
+ - 🏗️ Improve the Select's component a11y by adding the combobox role and aria-controls attribute (#38785) @xulingzhihou. If your tests require selecting the trigger element by the "button" role, then you'll have to change it to use the "combobox" role instead
13
152
 
14
153
  ### `@mui/material@5.14.12`
15
154
 
@@ -27,7 +27,7 @@ export interface CheckboxProps
27
27
  /**
28
28
  * The color of the component.
29
29
  * It supports both default and custom theme colors, which can be added as shown in the
30
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
30
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
31
31
  * @default 'primary'
32
32
  */
33
33
  color?: OverridableStringUnion<
@@ -48,7 +48,7 @@ const CheckboxRoot = styled(SwitchBase, {
48
48
  color: (theme.vars || theme).palette.text.secondary
49
49
  }, !ownerState.disableRipple && {
50
50
  '&:hover': {
51
- backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
51
+ backgroundColor: theme.vars ? `rgba(${ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
52
52
  // Reset on touch devices, it doesn't add specificity
53
53
  '@media (hover: none)': {
54
54
  backgroundColor: 'transparent'
@@ -133,7 +133,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
133
133
  /**
134
134
  * The color of the component.
135
135
  * It supports both default and custom theme colors, which can be added as shown in the
136
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
136
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
137
137
  * @default 'primary'
138
138
  */
139
139
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/Chip/Chip.d.ts CHANGED
@@ -37,7 +37,7 @@ export interface ChipOwnProps {
37
37
  /**
38
38
  * The color of the component.
39
39
  * It supports both default and custom theme colors, which can be added as shown in the
40
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
40
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
41
41
  * @default 'default'
42
42
  */
43
43
  color?: OverridableStringUnion<
package/Chip/Chip.js CHANGED
@@ -262,9 +262,15 @@ const ChipLabel = styled('span', {
262
262
  paddingLeft: 12,
263
263
  paddingRight: 12,
264
264
  whiteSpace: 'nowrap'
265
+ }, ownerState.variant === 'outlined' && {
266
+ paddingLeft: 11,
267
+ paddingRight: 11
265
268
  }, ownerState.size === 'small' && {
266
269
  paddingLeft: 8,
267
270
  paddingRight: 8
271
+ }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
272
+ paddingLeft: 7,
273
+ paddingRight: 7
268
274
  }));
269
275
  function isDeleteKeyboardEvent(keyboardEvent) {
270
276
  return keyboardEvent.key === 'Backspace' || keyboardEvent.key === 'Delete';
@@ -429,7 +435,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ =
429
435
  /**
430
436
  * The color of the component.
431
437
  * It supports both default and custom theme colors, which can be added as shown in the
432
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
438
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
433
439
  * @default 'default'
434
440
  */
435
441
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -15,7 +15,7 @@ export interface CircularProgressProps
15
15
  /**
16
16
  * The color of the component.
17
17
  * It supports both default and custom theme colors, which can be added as shown in the
18
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
18
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
19
19
  * @default 'primary'
20
20
  */
21
21
  color?: OverridableStringUnion<
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
201
201
  /**
202
202
  * The color of the component.
203
203
  * It supports both default and custom theme colors, which can be added as shown in the
204
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
204
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
205
205
  * @default 'primary'
206
206
  */
207
207
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/Fab/Fab.d.ts CHANGED
@@ -24,7 +24,7 @@ export interface FabOwnProps {
24
24
  /**
25
25
  * The color of the component.
26
26
  * It supports both default and custom theme colors, which can be added as shown in the
27
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
27
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
28
28
  * @default 'default'
29
29
  */
30
30
  color?: OverridableStringUnion<
package/Fab/Fab.js CHANGED
@@ -178,7 +178,7 @@ process.env.NODE_ENV !== "production" ? Fab.propTypes /* remove-proptypes */ = {
178
178
  /**
179
179
  * The color of the component.
180
180
  * It supports both default and custom theme colors, which can be added as shown in the
181
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
181
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
182
182
  * @default 'default'
183
183
  */
184
184
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
@@ -252,7 +252,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
252
252
  /**
253
253
  * The color of the component.
254
254
  * It supports both default and custom theme colors, which can be added as shown in the
255
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
255
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
256
256
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
257
257
  */
258
258
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -20,7 +20,7 @@ export interface FormControlOwnProps {
20
20
  /**
21
21
  * The color of the component.
22
22
  * It supports both default and custom theme colors, which can be added as shown in the
23
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
23
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
24
24
  * @default 'primary'
25
25
  */
26
26
  color?: OverridableStringUnion<
@@ -227,7 +227,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes /* remove-proptype
227
227
  /**
228
228
  * The color of the component.
229
229
  * It supports both default and custom theme colors, which can be added as shown in the
230
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
230
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
231
231
  * @default 'primary'
232
232
  */
233
233
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -24,7 +24,7 @@ export interface FormLabelOwnProps {
24
24
  /**
25
25
  * The color of the component.
26
26
  * It supports both default and custom theme colors, which can be added as shown in the
27
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
27
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
28
28
  */
29
29
  color?: OverridableStringUnion<
30
30
  'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning',
@@ -129,7 +129,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes /* remove-proptypes
129
129
  /**
130
130
  * The color of the component.
131
131
  * It supports both default and custom theme colors, which can be added as shown in the
132
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
132
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
133
133
  */
134
134
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
135
135
  /**
package/Icon/Icon.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface IconOwnProps {
27
27
  /**
28
28
  * The color of the component.
29
29
  * It supports both default and custom theme colors, which can be added as shown in the
30
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
30
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
31
31
  * @default 'inherit'
32
32
  */
33
33
  color?: OverridableStringUnion<
package/Icon/Icon.js CHANGED
@@ -123,7 +123,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes /* remove-proptypes */ =
123
123
  /**
124
124
  * The color of the component.
125
125
  * It supports both default and custom theme colors, which can be added as shown in the
126
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
126
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
127
127
  * @default 'inherit'
128
128
  */
129
129
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22,7 +22,7 @@ export interface IconButtonOwnProps {
22
22
  /**
23
23
  * The color of the component.
24
24
  * It supports both default and custom theme colors, which can be added as shown in the
25
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
25
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
26
26
  * @default 'default'
27
27
  */
28
28
  color?: OverridableStringUnion<
@@ -161,7 +161,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes
161
161
  /**
162
162
  * The color of the component.
163
163
  * It supports both default and custom theme colors, which can be added as shown in the
164
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
164
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
165
165
  * @default 'default'
166
166
  */
167
167
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/Input/Input.js CHANGED
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
175
175
  /**
176
176
  * The color of the component.
177
177
  * It supports both default and custom theme colors, which can be added as shown in the
178
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
178
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
179
179
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
180
180
  */
181
181
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -46,7 +46,7 @@ export interface InputBaseProps
46
46
  /**
47
47
  * The color of the component.
48
48
  * It supports both default and custom theme colors, which can be added as shown in the
49
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
49
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
50
50
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
51
51
  */
52
52
  color?: OverridableStringUnion<
@@ -506,7 +506,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
506
506
  /**
507
507
  * The color of the component.
508
508
  * It supports both default and custom theme colors, which can be added as shown in the
509
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
509
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
510
510
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
511
511
  */
512
512
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -165,7 +165,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes /* remove-proptypes
165
165
  /**
166
166
  * The color of the component.
167
167
  * It supports both default and custom theme colors, which can be added as shown in the
168
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
168
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
169
169
  */
170
170
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
171
171
  /**
@@ -15,7 +15,7 @@ export interface LinearProgressProps
15
15
  /**
16
16
  * The color of the component.
17
17
  * It supports both default and custom theme colors, which can be added as shown in the
18
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
18
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
19
19
  * @default 'primary'
20
20
  */
21
21
  color?: OverridableStringUnion<