@mui/material 5.14.12 → 5.14.13

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 (151) hide show
  1. package/Alert/Alert.d.ts +1 -1
  2. package/Alert/Alert.js +1 -1
  3. package/AppBar/AppBar.d.ts +1 -1
  4. package/AppBar/AppBar.js +1 -1
  5. package/Badge/Badge.d.ts +1 -1
  6. package/Badge/Badge.js +1 -1
  7. package/Button/Button.d.ts +1 -1
  8. package/Button/Button.js +1 -1
  9. package/ButtonGroup/ButtonGroup.d.ts +1 -1
  10. package/ButtonGroup/ButtonGroup.js +1 -1
  11. package/CHANGELOG.md +66 -0
  12. package/Checkbox/Checkbox.d.ts +1 -1
  13. package/Checkbox/Checkbox.js +2 -2
  14. package/Chip/Chip.d.ts +1 -1
  15. package/Chip/Chip.js +7 -1
  16. package/CircularProgress/CircularProgress.d.ts +1 -1
  17. package/CircularProgress/CircularProgress.js +1 -1
  18. package/Fab/Fab.d.ts +1 -1
  19. package/Fab/Fab.js +1 -1
  20. package/FilledInput/FilledInput.js +1 -1
  21. package/FormControl/FormControl.d.ts +1 -1
  22. package/FormControl/FormControl.js +1 -1
  23. package/FormLabel/FormLabel.d.ts +1 -1
  24. package/FormLabel/FormLabel.js +1 -1
  25. package/Icon/Icon.d.ts +1 -1
  26. package/Icon/Icon.js +1 -1
  27. package/IconButton/IconButton.d.ts +1 -1
  28. package/IconButton/IconButton.js +1 -1
  29. package/Input/Input.js +1 -1
  30. package/InputBase/InputBase.d.ts +1 -1
  31. package/InputBase/InputBase.js +1 -1
  32. package/InputLabel/InputLabel.js +1 -1
  33. package/LinearProgress/LinearProgress.d.ts +1 -1
  34. package/LinearProgress/LinearProgress.js +1 -1
  35. package/OutlinedInput/OutlinedInput.js +1 -1
  36. package/Pagination/Pagination.d.ts +1 -1
  37. package/Pagination/Pagination.js +1 -1
  38. package/PaginationItem/PaginationItem.d.ts +1 -1
  39. package/PaginationItem/PaginationItem.js +3 -3
  40. package/Radio/Radio.d.ts +1 -1
  41. package/Radio/Radio.js +1 -1
  42. package/Slider/Slider.d.ts +5 -2
  43. package/Slider/Slider.js +2 -2
  44. package/Slider/sliderClasses.d.ts +16 -0
  45. package/Slider/sliderClasses.js +1 -1
  46. package/SvgIcon/SvgIcon.d.ts +1 -1
  47. package/SvgIcon/SvgIcon.js +1 -1
  48. package/Switch/Switch.d.ts +1 -1
  49. package/Switch/Switch.js +1 -1
  50. package/TextField/TextField.d.ts +1 -1
  51. package/TextField/TextField.js +1 -1
  52. package/ToggleButton/ToggleButton.d.ts +1 -1
  53. package/ToggleButton/ToggleButton.js +1 -1
  54. package/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  55. package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  56. package/index.js +1 -1
  57. package/legacy/Alert/Alert.js +1 -1
  58. package/legacy/AppBar/AppBar.js +1 -1
  59. package/legacy/Badge/Badge.js +1 -1
  60. package/legacy/Button/Button.js +1 -1
  61. package/legacy/ButtonGroup/ButtonGroup.js +1 -1
  62. package/legacy/Checkbox/Checkbox.js +2 -2
  63. package/legacy/Chip/Chip.js +7 -1
  64. package/legacy/CircularProgress/CircularProgress.js +1 -1
  65. package/legacy/Fab/Fab.js +1 -1
  66. package/legacy/FilledInput/FilledInput.js +1 -1
  67. package/legacy/FormControl/FormControl.js +1 -1
  68. package/legacy/FormLabel/FormLabel.js +1 -1
  69. package/legacy/Icon/Icon.js +1 -1
  70. package/legacy/IconButton/IconButton.js +1 -1
  71. package/legacy/Input/Input.js +1 -1
  72. package/legacy/InputBase/InputBase.js +1 -1
  73. package/legacy/InputLabel/InputLabel.js +1 -1
  74. package/legacy/LinearProgress/LinearProgress.js +1 -1
  75. package/legacy/OutlinedInput/OutlinedInput.js +1 -1
  76. package/legacy/Pagination/Pagination.js +1 -1
  77. package/legacy/PaginationItem/PaginationItem.js +3 -3
  78. package/legacy/Radio/Radio.js +1 -1
  79. package/legacy/Slider/Slider.js +2 -2
  80. package/legacy/Slider/sliderClasses.js +1 -1
  81. package/legacy/SvgIcon/SvgIcon.js +1 -1
  82. package/legacy/Switch/Switch.js +1 -1
  83. package/legacy/TextField/TextField.js +1 -1
  84. package/legacy/ToggleButton/ToggleButton.js +1 -1
  85. package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  86. package/legacy/index.js +1 -1
  87. package/modern/Alert/Alert.js +1 -1
  88. package/modern/AppBar/AppBar.js +1 -1
  89. package/modern/Badge/Badge.js +1 -1
  90. package/modern/Button/Button.js +1 -1
  91. package/modern/ButtonGroup/ButtonGroup.js +1 -1
  92. package/modern/Checkbox/Checkbox.js +2 -2
  93. package/modern/Chip/Chip.js +7 -1
  94. package/modern/CircularProgress/CircularProgress.js +1 -1
  95. package/modern/Fab/Fab.js +1 -1
  96. package/modern/FilledInput/FilledInput.js +1 -1
  97. package/modern/FormControl/FormControl.js +1 -1
  98. package/modern/FormLabel/FormLabel.js +1 -1
  99. package/modern/Icon/Icon.js +1 -1
  100. package/modern/IconButton/IconButton.js +1 -1
  101. package/modern/Input/Input.js +1 -1
  102. package/modern/InputBase/InputBase.js +1 -1
  103. package/modern/InputLabel/InputLabel.js +1 -1
  104. package/modern/LinearProgress/LinearProgress.js +1 -1
  105. package/modern/OutlinedInput/OutlinedInput.js +1 -1
  106. package/modern/Pagination/Pagination.js +1 -1
  107. package/modern/PaginationItem/PaginationItem.js +3 -3
  108. package/modern/Radio/Radio.js +1 -1
  109. package/modern/Slider/Slider.js +2 -2
  110. package/modern/Slider/sliderClasses.js +1 -1
  111. package/modern/SvgIcon/SvgIcon.js +1 -1
  112. package/modern/Switch/Switch.js +1 -1
  113. package/modern/TextField/TextField.js +1 -1
  114. package/modern/ToggleButton/ToggleButton.js +1 -1
  115. package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  116. package/modern/index.js +1 -1
  117. package/node/Alert/Alert.js +1 -1
  118. package/node/AppBar/AppBar.js +1 -1
  119. package/node/Badge/Badge.js +1 -1
  120. package/node/Button/Button.js +1 -1
  121. package/node/ButtonGroup/ButtonGroup.js +1 -1
  122. package/node/Checkbox/Checkbox.js +2 -2
  123. package/node/Chip/Chip.js +7 -1
  124. package/node/CircularProgress/CircularProgress.js +1 -1
  125. package/node/Fab/Fab.js +1 -1
  126. package/node/FilledInput/FilledInput.js +1 -1
  127. package/node/FormControl/FormControl.js +1 -1
  128. package/node/FormLabel/FormLabel.js +1 -1
  129. package/node/Icon/Icon.js +1 -1
  130. package/node/IconButton/IconButton.js +1 -1
  131. package/node/Input/Input.js +1 -1
  132. package/node/InputBase/InputBase.js +1 -1
  133. package/node/InputLabel/InputLabel.js +1 -1
  134. package/node/LinearProgress/LinearProgress.js +1 -1
  135. package/node/OutlinedInput/OutlinedInput.js +1 -1
  136. package/node/Pagination/Pagination.js +1 -1
  137. package/node/PaginationItem/PaginationItem.js +3 -3
  138. package/node/Radio/Radio.js +1 -1
  139. package/node/Slider/Slider.js +2 -2
  140. package/node/Slider/sliderClasses.js +1 -1
  141. package/node/SvgIcon/SvgIcon.js +1 -1
  142. package/node/Switch/Switch.js +1 -1
  143. package/node/TextField/TextField.js +1 -1
  144. package/node/ToggleButton/ToggleButton.js +1 -1
  145. package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
  146. package/node/index.js +1 -1
  147. package/package.json +7 -7
  148. package/styles/components.d.ts +1 -0
  149. package/styles/overrides.d.ts +2 -0
  150. package/umd/material-ui.development.js +47 -34
  151. package/umd/material-ui.production.min.js +4 -4
@@ -21,7 +21,7 @@ export interface SvgIconOwnProps {
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
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
26
26
  * @default 'inherit'
27
27
  */
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */
131
131
  /**
132
132
  * The color of the component.
133
133
  * It supports both default and custom theme colors, which can be added as shown in the
134
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
134
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
135
135
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
136
136
  * @default 'inherit'
137
137
  */
@@ -22,7 +22,7 @@ export interface SwitchProps
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 'primary'
27
27
  */
28
28
  color?: OverridableStringUnion<
package/Switch/Switch.js CHANGED
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
246
246
  /**
247
247
  * The color of the component.
248
248
  * It supports both default and custom theme colors, which can be added as shown in the
249
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
249
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
250
250
  * @default 'primary'
251
251
  */
252
252
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -44,7 +44,7 @@ export interface BaseTextFieldProps
44
44
  /**
45
45
  * The color of the component.
46
46
  * It supports both default and custom theme colors, which can be added as shown in the
47
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
47
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
48
48
  * @default 'primary'
49
49
  */
50
50
  color?: OverridableStringUnion<
@@ -230,7 +230,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
230
230
  /**
231
231
  * The color of the component.
232
232
  * It supports both default and custom theme colors, which can be added as shown in the
233
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
233
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
234
234
  * @default 'primary'
235
235
  */
236
236
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22,7 +22,7 @@ export interface ToggleButtonOwnProps {
22
22
  /**
23
23
  * The color of the button when it is in an active state.
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 'standard'
27
27
  */
28
28
  color?: OverridableStringUnion<
@@ -159,7 +159,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes /* remove-proptyp
159
159
  /**
160
160
  * The color of the button when it is in an active state.
161
161
  * It supports both default and custom theme colors, which can be added as shown in the
162
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
162
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
163
163
  * @default 'standard'
164
164
  */
165
165
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -22,7 +22,7 @@ export interface ToggleButtonGroupProps
22
22
  /**
23
23
  * The color of the button when it is selected.
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 'standard'
27
27
  */
28
28
  color?: OverridableStringUnion<
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes /* remove-pr
175
175
  /**
176
176
  * The color of the button when it is selected.
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
  * @default 'standard'
180
180
  */
181
181
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.12
2
+ * @mui/material v5.14.13
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -234,7 +234,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
234
234
  /**
235
235
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
236
236
  * It supports both default and custom theme colors, which can be added as shown in the
237
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
237
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
238
238
  */
239
239
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
240
240
  /**
@@ -151,7 +151,7 @@ process.env.NODE_ENV !== "production" ? AppBar.propTypes /* remove-proptypes */
151
151
  /**
152
152
  * The color of the component.
153
153
  * It supports both default and custom theme colors, which can be added as shown in the
154
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
154
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
155
155
  * @default 'primary'
156
156
  */
157
157
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
@@ -288,7 +288,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
288
288
  /**
289
289
  * The color of the component.
290
290
  * It supports both default and custom theme colors, which can be added as shown in the
291
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
291
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
292
292
  * @default 'default'
293
293
  */
294
294
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -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]),
@@ -219,7 +219,7 @@ process.env.NODE_ENV !== "production" ? ButtonGroup.propTypes /* remove-proptype
219
219
  /**
220
220
  * The color of the component.
221
221
  * It supports both default and custom theme colors, which can be added as shown in the
222
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
222
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
223
223
  * @default 'primary'
224
224
  */
225
225
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -47,7 +47,7 @@ var CheckboxRoot = styled(SwitchBase, {
47
47
  color: (theme.vars || theme).palette.text.secondary
48
48
  }, !ownerState.disableRipple && {
49
49
  '&:hover': {
50
- backgroundColor: theme.vars ? "rgba(".concat(ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette.primary.mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
50
+ backgroundColor: theme.vars ? "rgba(".concat(ownerState.color === 'default' ? theme.vars.palette.action.activeChannel : theme.vars.palette[ownerState.color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(ownerState.color === 'default' ? theme.palette.action.active : theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
51
51
  // Reset on touch devices, it doesn't add specificity
52
52
  '@media (hover: none)': {
53
53
  backgroundColor: 'transparent'
@@ -134,7 +134,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
134
134
  /**
135
135
  * The color of the component.
136
136
  * It supports both default and custom theme colors, which can be added as shown in the
137
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
137
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
138
138
  * @default 'primary'
139
139
  */
140
140
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -210,9 +210,15 @@ var ChipLabel = styled('span', {
210
210
  paddingLeft: 12,
211
211
  paddingRight: 12,
212
212
  whiteSpace: 'nowrap'
213
+ }, ownerState.variant === 'outlined' && {
214
+ paddingLeft: 11,
215
+ paddingRight: 11
213
216
  }, ownerState.size === 'small' && {
214
217
  paddingLeft: 8,
215
218
  paddingRight: 8
219
+ }, ownerState.size === 'small' && ownerState.variant === 'outlined' && {
220
+ paddingLeft: 7,
221
+ paddingRight: 7
216
222
  });
217
223
  });
218
224
  function isDeleteKeyboardEvent(keyboardEvent) {
@@ -381,7 +387,7 @@ process.env.NODE_ENV !== "production" ? Chip.propTypes /* remove-proptypes */ =
381
387
  /**
382
388
  * The color of the component.
383
389
  * It supports both default and custom theme colors, which can be added as shown in the
384
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
390
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
385
391
  * @default 'default'
386
392
  */
387
393
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -174,7 +174,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
174
174
  /**
175
175
  * The color of the component.
176
176
  * It supports both default and custom theme colors, which can be added as shown in the
177
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
177
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
178
178
  * @default 'primary'
179
179
  */
180
180
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/legacy/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]),
@@ -246,7 +246,7 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes /* remove-proptype
246
246
  /**
247
247
  * The color of the component.
248
248
  * It supports both default and custom theme colors, which can be added as shown in the
249
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
249
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
250
250
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
251
251
  */
252
252
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -238,7 +238,7 @@ process.env.NODE_ENV !== "production" ? FormControl.propTypes /* remove-proptype
238
238
  /**
239
239
  * The color of the component.
240
240
  * It supports both default and custom theme colors, which can be added as shown in the
241
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
241
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
242
242
  * @default 'primary'
243
243
  */
244
244
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -131,7 +131,7 @@ process.env.NODE_ENV !== "production" ? FormLabel.propTypes /* remove-proptypes
131
131
  /**
132
132
  * The color of the component.
133
133
  * It supports both default and custom theme colors, which can be added as shown in the
134
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
134
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
135
135
  */
136
136
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
137
137
  /**
@@ -121,7 +121,7 @@ process.env.NODE_ENV !== "production" ? Icon.propTypes /* remove-proptypes */ =
121
121
  /**
122
122
  * The color of the component.
123
123
  * It supports both default and custom theme colors, which can be added as shown in the
124
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
124
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
125
125
  * @default 'inherit'
126
126
  */
127
127
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes
160
160
  /**
161
161
  * The color of the component.
162
162
  * It supports both default and custom theme colors, which can be added as shown in the
163
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
163
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
164
164
  * @default 'default'
165
165
  */
166
166
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -171,7 +171,7 @@ process.env.NODE_ENV !== "production" ? Input.propTypes /* remove-proptypes */ =
171
171
  /**
172
172
  * The color of the component.
173
173
  * It supports both default and custom theme colors, which can be added as shown in the
174
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
174
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
175
175
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
176
176
  */
177
177
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -509,7 +509,7 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes /* remove-proptypes
509
509
  /**
510
510
  * The color of the component.
511
511
  * It supports both default and custom theme colors, which can be added as shown in the
512
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
512
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
513
513
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
514
514
  */
515
515
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -163,7 +163,7 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes /* remove-proptypes
163
163
  /**
164
164
  * The color of the component.
165
165
  * It supports both default and custom theme colors, which can be added as shown in the
166
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
166
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
167
167
  */
168
168
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),
169
169
  /**
@@ -257,7 +257,7 @@ process.env.NODE_ENV !== "production" ? LinearProgress.propTypes /* remove-propt
257
257
  /**
258
258
  * The color of the component.
259
259
  * It supports both default and custom theme colors, which can be added as shown in the
260
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
260
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
261
261
  * @default 'primary'
262
262
  */
263
263
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary']), PropTypes.string]),
@@ -201,7 +201,7 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes /* remove-propty
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
  * The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
206
206
  */
207
207
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
@@ -160,7 +160,7 @@ process.env.NODE_ENV !== "production" ? Pagination.propTypes /* remove-proptypes
160
160
  /**
161
161
  * The active color.
162
162
  * It supports both default and custom theme colors, which can be added as shown in the
163
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
163
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
164
164
  * @default 'standard'
165
165
  */
166
166
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
@@ -109,14 +109,14 @@ var PaginationItemPage = styled(ButtonBase, {
109
109
  }), _defineProperty(_extends3, "&.".concat(paginationItemClasses.selected), (_$concat = {
110
110
  backgroundColor: (theme.vars || theme).palette.action.selected,
111
111
  '&:hover': {
112
- backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selected, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
112
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
113
113
  // Reset on touch devices, it doesn't add specificity
114
114
  '@media (hover: none)': {
115
115
  backgroundColor: (theme.vars || theme).palette.action.selected
116
116
  }
117
117
  }
118
118
  }, _defineProperty(_$concat, "&.".concat(paginationItemClasses.focusVisible), {
119
- backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selected, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
119
+ backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
120
120
  }), _defineProperty(_$concat, "&.".concat(paginationItemClasses.disabled), {
121
121
  opacity: 1,
122
122
  color: (theme.vars || theme).palette.action.disabled,
@@ -280,7 +280,7 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes /* remove-propt
280
280
  /**
281
281
  * The active color.
282
282
  * It supports both default and custom theme colors, which can be added as shown in the
283
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
283
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
284
284
  * @default 'standard'
285
285
  */
286
286
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),
@@ -147,7 +147,7 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes /* remove-proptypes */ =
147
147
  /**
148
148
  * The color of the component.
149
149
  * It supports both default and custom theme colors, which can be added as shown in the
150
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
150
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
151
151
  * @default 'primary'
152
152
  */
153
153
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -646,10 +646,10 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
646
646
  /**
647
647
  * The color of the component.
648
648
  * It supports both default and custom theme colors, which can be added as shown in the
649
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
649
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
650
650
  * @default 'primary'
651
651
  */
652
- color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
652
+ color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
653
653
  /**
654
654
  * The components used for each slot inside.
655
655
  *
@@ -3,5 +3,5 @@ import generateUtilityClass from '../generateUtilityClass';
3
3
  export function getSliderUtilityClass(slot) {
4
4
  return generateUtilityClass('MuiSlider', slot);
5
5
  }
6
- var sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
6
+ var sliderClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'disabled', 'dragging', 'focusVisible', 'mark', 'markActive', 'marked', 'markLabel', 'markLabelActive', 'rail', 'sizeSmall', 'thumb', 'thumbColorPrimary', 'thumbColorSecondary', 'thumbColorError', 'thumbColorSuccess', 'thumbColorInfo', 'thumbColorWarning', 'track', 'trackInverted', 'trackFalse', 'thumbSizeSmall', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel', 'vertical']);
7
7
  export default sliderClasses;
@@ -128,7 +128,7 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */
128
128
  /**
129
129
  * The color of the component.
130
130
  * It supports both default and custom theme colors, which can be added as shown in the
131
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
131
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
132
132
  * You can use the `htmlColor` prop to apply a color attribute to the SVG element.
133
133
  * @default 'inherit'
134
134
  */
@@ -239,7 +239,7 @@ process.env.NODE_ENV !== "production" ? Switch.propTypes /* remove-proptypes */
239
239
  /**
240
240
  * The color of the component.
241
241
  * It supports both default and custom theme colors, which can be added as shown in the
242
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
242
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
243
243
  * @default 'primary'
244
244
  */
245
245
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -236,7 +236,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes /* remove-proptypes
236
236
  /**
237
237
  * The color of the component.
238
238
  * It supports both default and custom theme colors, which can be added as shown in the
239
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
239
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
240
240
  * @default 'primary'
241
241
  */
242
242
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -154,7 +154,7 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes /* remove-proptyp
154
154
  /**
155
155
  * The color of the button when it is in an active state.
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 'standard'
159
159
  */
160
160
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -168,7 +168,7 @@ process.env.NODE_ENV !== "production" ? ToggleButtonGroup.propTypes /* remove-pr
168
168
  /**
169
169
  * The color of the button when it is selected.
170
170
  * It supports both default and custom theme colors, which can be added as shown in the
171
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
171
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
172
172
  * @default 'standard'
173
173
  */
174
174
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v5.14.12
2
+ * @mui/material v5.14.13
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -227,7 +227,7 @@ process.env.NODE_ENV !== "production" ? Alert.propTypes /* remove-proptypes */ =
227
227
  /**
228
228
  * The color of the component. Unless provided, the value is taken from the `severity` prop.
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
  */
232
232
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['error', 'info', 'success', 'warning']), PropTypes.string]),
233
233
  /**
@@ -154,7 +154,7 @@ 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
160
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']), PropTypes.string]),
@@ -285,7 +285,7 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes /* remove-proptypes */ =
285
285
  /**
286
286
  * The color of the component.
287
287
  * It supports both default and custom theme colors, which can be added as shown in the
288
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
288
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
289
289
  * @default 'default'
290
290
  */
291
291
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -301,7 +301,7 @@ process.env.NODE_ENV !== "production" ? Button.propTypes /* remove-proptypes */
301
301
  /**
302
302
  * The color of the component.
303
303
  * It supports both default and custom theme colors, which can be added as shown in the
304
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
304
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
305
305
  * @default 'primary'
306
306
  */
307
307
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'success', 'error', 'info', 'warning']), PropTypes.string]),
@@ -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]),
@@ -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'
@@ -132,7 +132,7 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes /* remove-proptypes *
132
132
  /**
133
133
  * The color of the component.
134
134
  * It supports both default and custom theme colors, which can be added as shown in the
135
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
135
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
136
136
  * @default 'primary'
137
137
  */
138
138
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
@@ -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]),
@@ -196,7 +196,7 @@ process.env.NODE_ENV !== "production" ? CircularProgress.propTypes /* remove-pro
196
196
  /**
197
197
  * The color of the component.
198
198
  * It supports both default and custom theme colors, which can be added as shown in the
199
- * [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
199
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
200
200
  * @default 'primary'
201
201
  */
202
202
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
package/modern/Fab/Fab.js CHANGED
@@ -175,7 +175,7 @@ process.env.NODE_ENV !== "production" ? Fab.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
  * @default 'default'
180
180
  */
181
181
  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']), PropTypes.string]),