@mui/material 5.10.5 → 5.10.7
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.
- package/Button/Button.js +3 -10
- package/CHANGELOG.md +153 -0
- package/CardHeader/CardHeader.js +1 -3
- package/Checkbox/Checkbox.js +12 -3
- package/Chip/chipClasses.d.ts +8 -0
- package/Chip/chipClasses.js +1 -1
- package/DialogContentText/DialogContentText.js +14 -3
- package/InputLabel/InputLabel.js +12 -3
- package/ListItemButton/ListItemButton.js +10 -3
- package/MenuItem/MenuItem.js +10 -3
- package/OutlinedInput/NotchedOutline.js +2 -2
- package/README.md +1 -0
- package/Radio/Radio.js +12 -3
- package/StepLabel/StepLabel.js +5 -3
- package/SvgIcon/SvgIcon.js +2 -2
- package/SvgIcon/svgIconClasses.d.ts +2 -0
- package/Tooltip/Tooltip.d.ts +2 -2
- package/Tooltip/Tooltip.js +3 -5
- package/Unstable_TrapFocus/index.d.ts +2 -2
- package/Unstable_TrapFocus/index.js +2 -2
- package/esm/Button/Button.js +3 -8
- package/esm/CardHeader/CardHeader.js +1 -3
- package/esm/Checkbox/Checkbox.js +11 -3
- package/esm/Chip/chipClasses.js +1 -1
- package/esm/DialogContentText/DialogContentText.js +13 -3
- package/esm/InputLabel/InputLabel.js +11 -3
- package/esm/ListItemButton/ListItemButton.js +10 -3
- package/esm/MenuItem/MenuItem.js +10 -3
- package/esm/OutlinedInput/NotchedOutline.js +2 -2
- package/esm/Radio/Radio.js +11 -3
- package/esm/StepLabel/StepLabel.js +5 -3
- package/esm/SvgIcon/SvgIcon.js +2 -2
- package/esm/Tooltip/Tooltip.js +3 -5
- package/esm/Unstable_TrapFocus/index.js +1 -1
- package/esm/index.js +2 -1
- package/esm/styles/CssVarsProvider.js +3 -1
- package/esm/styles/excludeVariablesFromRoot.js +6 -0
- package/index.d.ts +3 -0
- package/index.js +11 -2
- package/legacy/Button/Button.js +2 -4
- package/legacy/CardHeader/CardHeader.js +1 -3
- package/legacy/Checkbox/Checkbox.js +10 -2
- package/legacy/Chip/chipClasses.js +1 -1
- package/legacy/DialogContentText/DialogContentText.js +10 -2
- package/legacy/InputLabel/InputLabel.js +10 -2
- package/legacy/ListItemButton/ListItemButton.js +9 -2
- package/legacy/MenuItem/MenuItem.js +9 -2
- package/legacy/OutlinedInput/NotchedOutline.js +2 -2
- package/legacy/Radio/Radio.js +10 -2
- package/legacy/StepLabel/StepLabel.js +5 -4
- package/legacy/SvgIcon/SvgIcon.js +2 -2
- package/legacy/Tooltip/Tooltip.js +3 -5
- package/legacy/Unstable_TrapFocus/index.js +1 -1
- package/legacy/index.js +3 -2
- package/legacy/styles/CssVarsProvider.js +3 -1
- package/legacy/styles/excludeVariablesFromRoot.js +12 -0
- package/modern/Button/Button.js +3 -8
- package/modern/CardHeader/CardHeader.js +1 -3
- package/modern/Checkbox/Checkbox.js +11 -3
- package/modern/Chip/chipClasses.js +1 -1
- package/modern/DialogContentText/DialogContentText.js +13 -3
- package/modern/InputLabel/InputLabel.js +11 -3
- package/modern/ListItemButton/ListItemButton.js +10 -3
- package/modern/MenuItem/MenuItem.js +10 -3
- package/modern/OutlinedInput/NotchedOutline.js +2 -2
- package/modern/Radio/Radio.js +11 -3
- package/modern/StepLabel/StepLabel.js +5 -3
- package/modern/SvgIcon/SvgIcon.js +2 -2
- package/modern/Tooltip/Tooltip.js +3 -5
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/index.js +3 -2
- package/modern/styles/CssVarsProvider.js +3 -1
- package/modern/styles/excludeVariablesFromRoot.js +6 -0
- package/package.json +7 -7
- package/styles/CssVarsProvider.js +4 -1
- package/styles/excludeVariablesFromRoot.d.ts +5 -0
- package/styles/excludeVariablesFromRoot.js +14 -0
- package/umd/material-ui.development.js +512 -479
- package/umd/material-ui.production.min.js +20 -20
|
@@ -8,8 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
Object.defineProperty(exports, "default", {
|
|
9
9
|
enumerable: true,
|
|
10
10
|
get: function () {
|
|
11
|
-
return
|
|
11
|
+
return _FocusTrap.default;
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _FocusTrap = _interopRequireDefault(require("@mui/base/FocusTrap"));
|
package/esm/Button/Button.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"]
|
|
4
|
-
_excluded2 = ["root"];
|
|
3
|
+
const _excluded = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
5
4
|
import * as React from 'react';
|
|
6
5
|
import PropTypes from 'prop-types';
|
|
7
6
|
import clsx from 'clsx';
|
|
@@ -259,11 +258,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
259
258
|
variant
|
|
260
259
|
});
|
|
261
260
|
|
|
262
|
-
const
|
|
263
|
-
{
|
|
264
|
-
root: classesRoot
|
|
265
|
-
} = _useUtilityClasses,
|
|
266
|
-
classes = _objectWithoutPropertiesLoose(_useUtilityClasses, _excluded2);
|
|
261
|
+
const classes = useUtilityClasses(ownerState);
|
|
267
262
|
|
|
268
263
|
const startIcon = startIconProp && /*#__PURE__*/_jsx(ButtonStartIcon, {
|
|
269
264
|
className: classes.startIcon,
|
|
@@ -279,7 +274,7 @@ const Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
279
274
|
|
|
280
275
|
return /*#__PURE__*/_jsxs(ButtonRoot, _extends({
|
|
281
276
|
ownerState: ownerState,
|
|
282
|
-
className: clsx(contextProps.className,
|
|
277
|
+
className: clsx(contextProps.className, classes.root, className),
|
|
283
278
|
component: component,
|
|
284
279
|
disabled: disabled,
|
|
285
280
|
focusRipple: !disableFocusRipple,
|
|
@@ -176,9 +176,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
176
176
|
* The component used for the root node.
|
|
177
177
|
* Either a string to use a HTML element or a component.
|
|
178
178
|
*/
|
|
179
|
-
component: PropTypes
|
|
180
|
-
/* @typescript-to-proptypes-ignore */
|
|
181
|
-
.elementType,
|
|
179
|
+
component: PropTypes.elementType,
|
|
182
180
|
|
|
183
181
|
/**
|
|
184
182
|
* If `true`, `subheader` and `title` won't be wrapped by a Typography component.
|
package/esm/Checkbox/Checkbox.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"];
|
|
3
|
+
const _excluded = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import clsx from 'clsx';
|
|
6
7
|
import { refType } from '@mui/utils';
|
|
7
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
9
|
import { alpha } from '@mui/system';
|
|
@@ -82,7 +83,8 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
|
|
|
82
83
|
indeterminate = false,
|
|
83
84
|
indeterminateIcon: indeterminateIconProp = defaultIndeterminateIcon,
|
|
84
85
|
inputProps,
|
|
85
|
-
size = 'medium'
|
|
86
|
+
size = 'medium',
|
|
87
|
+
className
|
|
86
88
|
} = props,
|
|
87
89
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
88
90
|
|
|
@@ -108,7 +110,8 @@ const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
|
|
|
108
110
|
fontSize: (_indeterminateIcon$pr = indeterminateIcon.props.fontSize) != null ? _indeterminateIcon$pr : size
|
|
109
111
|
}),
|
|
110
112
|
ownerState: ownerState,
|
|
111
|
-
ref: ref
|
|
113
|
+
ref: ref,
|
|
114
|
+
className: clsx(classes.root, className)
|
|
112
115
|
}, other, {
|
|
113
116
|
classes: classes
|
|
114
117
|
}));
|
|
@@ -137,6 +140,11 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
137
140
|
*/
|
|
138
141
|
classes: PropTypes.object,
|
|
139
142
|
|
|
143
|
+
/**
|
|
144
|
+
* @ignore
|
|
145
|
+
*/
|
|
146
|
+
className: PropTypes.string,
|
|
147
|
+
|
|
140
148
|
/**
|
|
141
149
|
* The color of the component.
|
|
142
150
|
* It supports both default and custom theme colors, which can be added as shown in the
|
package/esm/Chip/chipClasses.js
CHANGED
|
@@ -2,5 +2,5 @@ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
|
|
|
2
2
|
export function getChipUtilityClass(slot) {
|
|
3
3
|
return generateUtilityClass('MuiChip', slot);
|
|
4
4
|
}
|
|
5
|
-
const chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorPrimary', 'colorSecondary', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
5
|
+
const chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
6
6
|
export default chipClasses;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["children"];
|
|
3
|
+
const _excluded = ["children", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import clsx from 'clsx';
|
|
6
7
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
7
8
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
8
9
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -33,7 +34,10 @@ const DialogContentText = /*#__PURE__*/React.forwardRef(function DialogContentTe
|
|
|
33
34
|
name: 'MuiDialogContentText'
|
|
34
35
|
});
|
|
35
36
|
|
|
36
|
-
const
|
|
37
|
+
const {
|
|
38
|
+
className
|
|
39
|
+
} = props,
|
|
40
|
+
ownerState = _objectWithoutPropertiesLoose(props, _excluded);
|
|
37
41
|
|
|
38
42
|
const classes = useUtilityClasses(ownerState);
|
|
39
43
|
return /*#__PURE__*/_jsx(DialogContentTextRoot, _extends({
|
|
@@ -41,7 +45,8 @@ const DialogContentText = /*#__PURE__*/React.forwardRef(function DialogContentTe
|
|
|
41
45
|
variant: "body1",
|
|
42
46
|
color: "text.secondary",
|
|
43
47
|
ref: ref,
|
|
44
|
-
ownerState: ownerState
|
|
48
|
+
ownerState: ownerState,
|
|
49
|
+
className: clsx(classes.root, className)
|
|
45
50
|
}, props, {
|
|
46
51
|
classes: classes
|
|
47
52
|
}));
|
|
@@ -64,6 +69,11 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
64
69
|
*/
|
|
65
70
|
classes: PropTypes.object,
|
|
66
71
|
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
75
|
+
className: PropTypes.string,
|
|
76
|
+
|
|
67
77
|
/**
|
|
68
78
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
69
79
|
*/
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["disableAnimation", "margin", "shrink", "variant"];
|
|
3
|
+
const _excluded = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
7
|
+
import clsx from 'clsx';
|
|
7
8
|
import formControlState from '../FormControl/formControlState';
|
|
8
9
|
import useFormControl from '../FormControl/useFormControl';
|
|
9
10
|
import FormLabel, { formLabelClasses } from '../FormLabel';
|
|
@@ -110,7 +111,8 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
110
111
|
|
|
111
112
|
const {
|
|
112
113
|
disableAnimation = false,
|
|
113
|
-
shrink: shrinkProp
|
|
114
|
+
shrink: shrinkProp,
|
|
115
|
+
className
|
|
114
116
|
} = props,
|
|
115
117
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
116
118
|
|
|
@@ -140,7 +142,8 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
140
142
|
return /*#__PURE__*/_jsx(InputLabelRoot, _extends({
|
|
141
143
|
"data-shrink": shrink,
|
|
142
144
|
ownerState: ownerState,
|
|
143
|
-
ref: ref
|
|
145
|
+
ref: ref,
|
|
146
|
+
className: clsx(classes.root, className)
|
|
144
147
|
}, other, {
|
|
145
148
|
classes: classes
|
|
146
149
|
}));
|
|
@@ -163,6 +166,11 @@ process.env.NODE_ENV !== "production" ? InputLabel.propTypes
|
|
|
163
166
|
*/
|
|
164
167
|
classes: PropTypes.object,
|
|
165
168
|
|
|
169
|
+
/**
|
|
170
|
+
* @ignore
|
|
171
|
+
*/
|
|
172
|
+
className: PropTypes.string,
|
|
173
|
+
|
|
166
174
|
/**
|
|
167
175
|
* The color of the component.
|
|
168
176
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected"];
|
|
3
|
+
const _excluded = ["alignItems", "autoFocus", "component", "children", "dense", "disableGutters", "divider", "focusVisibleClassName", "selected", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -115,7 +115,8 @@ const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inP
|
|
|
115
115
|
disableGutters = false,
|
|
116
116
|
divider = false,
|
|
117
117
|
focusVisibleClassName,
|
|
118
|
-
selected = false
|
|
118
|
+
selected = false,
|
|
119
|
+
className
|
|
119
120
|
} = props,
|
|
120
121
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
121
122
|
|
|
@@ -153,7 +154,8 @@ const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inP
|
|
|
153
154
|
href: other.href || other.to,
|
|
154
155
|
component: (other.href || other.to) && component === 'div' ? 'a' : component,
|
|
155
156
|
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
156
|
-
ownerState: ownerState
|
|
157
|
+
ownerState: ownerState,
|
|
158
|
+
className: clsx(classes.root, className)
|
|
157
159
|
}, other, {
|
|
158
160
|
classes: classes,
|
|
159
161
|
children: children
|
|
@@ -192,6 +194,11 @@ process.env.NODE_ENV !== "production" ? ListItemButton.propTypes
|
|
|
192
194
|
*/
|
|
193
195
|
classes: PropTypes.object,
|
|
194
196
|
|
|
197
|
+
/**
|
|
198
|
+
* @ignore
|
|
199
|
+
*/
|
|
200
|
+
className: PropTypes.string,
|
|
201
|
+
|
|
195
202
|
/**
|
|
196
203
|
* The component used for the root node.
|
|
197
204
|
* Either a string to use a HTML element or a component.
|
package/esm/MenuItem/MenuItem.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex"];
|
|
3
|
+
const _excluded = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -138,7 +138,8 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
|
|
|
138
138
|
disableGutters = false,
|
|
139
139
|
focusVisibleClassName,
|
|
140
140
|
role = 'menuitem',
|
|
141
|
-
tabIndex: tabIndexProp
|
|
141
|
+
tabIndex: tabIndexProp,
|
|
142
|
+
className
|
|
142
143
|
} = props,
|
|
143
144
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
144
145
|
|
|
@@ -179,7 +180,8 @@ const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {
|
|
|
179
180
|
role: role,
|
|
180
181
|
tabIndex: tabIndex,
|
|
181
182
|
component: component,
|
|
182
|
-
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName)
|
|
183
|
+
focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),
|
|
184
|
+
className: clsx(classes.root, className)
|
|
183
185
|
}, other, {
|
|
184
186
|
ownerState: ownerState,
|
|
185
187
|
classes: classes
|
|
@@ -211,6 +213,11 @@ process.env.NODE_ENV !== "production" ? MenuItem.propTypes
|
|
|
211
213
|
*/
|
|
212
214
|
classes: PropTypes.object,
|
|
213
215
|
|
|
216
|
+
/**
|
|
217
|
+
* @ignore
|
|
218
|
+
*/
|
|
219
|
+
className: PropTypes.string,
|
|
220
|
+
|
|
214
221
|
/**
|
|
215
222
|
* The component used for the root node.
|
|
216
223
|
* Either a string to use a HTML element or a component.
|
|
@@ -30,6 +30,8 @@ const NotchedOutlineLegend = styled('legend')(({
|
|
|
30
30
|
}) => _extends({
|
|
31
31
|
float: 'unset',
|
|
32
32
|
// Fix conflict with bootstrap
|
|
33
|
+
width: 'auto',
|
|
34
|
+
// Fix conflict with bootstrap
|
|
33
35
|
overflow: 'hidden'
|
|
34
36
|
}, !ownerState.withLabel && {
|
|
35
37
|
padding: 0,
|
|
@@ -42,8 +44,6 @@ const NotchedOutlineLegend = styled('legend')(({
|
|
|
42
44
|
}, ownerState.withLabel && _extends({
|
|
43
45
|
display: 'block',
|
|
44
46
|
// Fix conflict with normalize.css and sanitize.css
|
|
45
|
-
width: 'auto',
|
|
46
|
-
// Fix conflict with bootstrap
|
|
47
47
|
padding: 0,
|
|
48
48
|
height: 11,
|
|
49
49
|
// sync with `lineHeight` in `legend` styles
|
package/esm/Radio/Radio.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size"];
|
|
3
|
+
const _excluded = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import clsx from 'clsx';
|
|
6
7
|
import { refType } from '@mui/utils';
|
|
7
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
9
|
import { alpha } from '@mui/system';
|
|
@@ -89,7 +90,8 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
|
89
90
|
icon = defaultIcon,
|
|
90
91
|
name: nameProp,
|
|
91
92
|
onChange: onChangeProp,
|
|
92
|
-
size = 'medium'
|
|
93
|
+
size = 'medium',
|
|
94
|
+
className
|
|
93
95
|
} = props,
|
|
94
96
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
95
97
|
|
|
@@ -127,7 +129,8 @@ const Radio = /*#__PURE__*/React.forwardRef(function Radio(inProps, ref) {
|
|
|
127
129
|
name: name,
|
|
128
130
|
checked: checked,
|
|
129
131
|
onChange: onChange,
|
|
130
|
-
ref: ref
|
|
132
|
+
ref: ref,
|
|
133
|
+
className: clsx(classes.root, className)
|
|
131
134
|
}, other));
|
|
132
135
|
});
|
|
133
136
|
process.env.NODE_ENV !== "production" ? Radio.propTypes
|
|
@@ -154,6 +157,11 @@ process.env.NODE_ENV !== "production" ? Radio.propTypes
|
|
|
154
157
|
*/
|
|
155
158
|
classes: PropTypes.object,
|
|
156
159
|
|
|
160
|
+
/**
|
|
161
|
+
* @ignore
|
|
162
|
+
*/
|
|
163
|
+
className: PropTypes.string,
|
|
164
|
+
|
|
157
165
|
/**
|
|
158
166
|
* The color of the component.
|
|
159
167
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -28,7 +28,7 @@ const useUtilityClasses = ownerState => {
|
|
|
28
28
|
root: ['root', orientation, error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
29
29
|
label: ['label', active && 'active', completed && 'completed', error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
30
30
|
iconContainer: ['iconContainer', active && 'active', completed && 'completed', error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
31
|
-
labelContainer: ['labelContainer']
|
|
31
|
+
labelContainer: ['labelContainer', alternativeLabel && 'alternativeLabel']
|
|
32
32
|
};
|
|
33
33
|
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
34
34
|
};
|
|
@@ -77,7 +77,6 @@ const StepLabelLabel = styled('span', {
|
|
|
77
77
|
fontWeight: 500
|
|
78
78
|
},
|
|
79
79
|
[`&.${stepLabelClasses.alternativeLabel}`]: {
|
|
80
|
-
textAlign: 'center',
|
|
81
80
|
marginTop: 16
|
|
82
81
|
},
|
|
83
82
|
[`&.${stepLabelClasses.error}`]: {
|
|
@@ -105,7 +104,10 @@ const StepLabelLabelContainer = styled('span', {
|
|
|
105
104
|
theme
|
|
106
105
|
}) => ({
|
|
107
106
|
width: '100%',
|
|
108
|
-
color: (theme.vars || theme).palette.text.secondary
|
|
107
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
108
|
+
[`&.${stepLabelClasses.alternativeLabel}`]: {
|
|
109
|
+
textAlign: 'center'
|
|
110
|
+
}
|
|
109
111
|
}));
|
|
110
112
|
const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref) {
|
|
111
113
|
const props = useThemeProps({
|
package/esm/SvgIcon/SvgIcon.js
CHANGED
|
@@ -53,7 +53,7 @@ const SvgIconRoot = styled('svg', {
|
|
|
53
53
|
inherit: 'inherit',
|
|
54
54
|
small: ((_theme$typography = theme.typography) == null ? void 0 : (_theme$typography$pxT = _theme$typography.pxToRem) == null ? void 0 : _theme$typography$pxT.call(_theme$typography, 20)) || '1.25rem',
|
|
55
55
|
medium: ((_theme$typography2 = theme.typography) == null ? void 0 : (_theme$typography2$px = _theme$typography2.pxToRem) == null ? void 0 : _theme$typography2$px.call(_theme$typography2, 24)) || '1.5rem',
|
|
56
|
-
large: ((_theme$typography3 = theme.typography) == null ? void 0 : (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.
|
|
56
|
+
large: ((_theme$typography3 = theme.typography) == null ? void 0 : (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875rem'
|
|
57
57
|
}[ownerState.fontSize],
|
|
58
58
|
// TODO v5 deprecate, v6 remove for sx
|
|
59
59
|
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null ? void 0 : (_palette$ownerState$c2 = _palette[ownerState.color]) == null ? void 0 : _palette$ownerState$c2.main) != null ? _palette$ownerState$c : {
|
|
@@ -101,13 +101,13 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
101
101
|
return /*#__PURE__*/_jsxs(SvgIconRoot, _extends({
|
|
102
102
|
as: component,
|
|
103
103
|
className: clsx(classes.root, className),
|
|
104
|
-
ownerState: ownerState,
|
|
105
104
|
focusable: "false",
|
|
106
105
|
color: htmlColor,
|
|
107
106
|
"aria-hidden": titleAccess ? undefined : true,
|
|
108
107
|
role: titleAccess ? 'img' : undefined,
|
|
109
108
|
ref: ref
|
|
110
109
|
}, more, other, {
|
|
110
|
+
ownerState: ownerState,
|
|
111
111
|
children: [children, titleAccess ? /*#__PURE__*/_jsx("title", {
|
|
112
112
|
children: titleAccess
|
|
113
113
|
}) : null]
|
package/esm/Tooltip/Tooltip.js
CHANGED
|
@@ -465,7 +465,7 @@ const Tooltip = /*#__PURE__*/React.forwardRef(function Tooltip(inProps, ref) {
|
|
|
465
465
|
const handleFocusRef = useForkRef(focusVisibleRef, handleUseRef);
|
|
466
466
|
const handleRef = useForkRef(children.ref, handleFocusRef); // There is no point in displaying an empty tooltip.
|
|
467
467
|
|
|
468
|
-
if (title
|
|
468
|
+
if (typeof title !== 'number' && !title) {
|
|
469
469
|
open = false;
|
|
470
470
|
}
|
|
471
471
|
|
|
@@ -807,11 +807,9 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
807
807
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
808
808
|
|
|
809
809
|
/**
|
|
810
|
-
* Tooltip title. Zero-length titles string are never displayed.
|
|
810
|
+
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
|
|
811
811
|
*/
|
|
812
|
-
title: PropTypes
|
|
813
|
-
/* @typescript-to-proptypes-ignore */
|
|
814
|
-
.node.isRequired,
|
|
812
|
+
title: PropTypes.node,
|
|
815
813
|
|
|
816
814
|
/**
|
|
817
815
|
* The component used for the transition.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from '@mui/base/
|
|
1
|
+
export { default } from '@mui/base/FocusTrap';
|
package/esm/index.js
CHANGED
|
@@ -275,4 +275,5 @@ export { StyledEngineProvider } from './styles';
|
|
|
275
275
|
export { default as unstable_composeClasses } from '@mui/base/composeClasses';
|
|
276
276
|
export { default as generateUtilityClass } from '@mui/base/generateUtilityClass';
|
|
277
277
|
export * from '@mui/base/generateUtilityClass';
|
|
278
|
-
export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
|
|
278
|
+
export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
|
|
279
|
+
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
|
|
|
2
2
|
import { unstable_createCssVarsProvider as createCssVarsProvider } from '@mui/system';
|
|
3
3
|
import experimental_extendTheme from './experimental_extendTheme';
|
|
4
4
|
import createTypography from './createTypography';
|
|
5
|
+
import excludeVariablesFromRoot from './excludeVariablesFromRoot';
|
|
5
6
|
|
|
6
7
|
const shouldSkipGeneratingVar = keys => {
|
|
7
8
|
var _keys$;
|
|
@@ -30,6 +31,7 @@ const {
|
|
|
30
31
|
|
|
31
32
|
return newTheme;
|
|
32
33
|
},
|
|
33
|
-
shouldSkipGeneratingVar
|
|
34
|
+
shouldSkipGeneratingVar,
|
|
35
|
+
excludeVariablesFromRoot
|
|
34
36
|
});
|
|
35
37
|
export { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
3
|
+
*/
|
|
4
|
+
const excludeVariablesFromRoot = cssVarPrefix => [...[...Array(24)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index + 1}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];
|
|
5
|
+
|
|
6
|
+
export default excludeVariablesFromRoot;
|
package/index.d.ts
CHANGED
|
@@ -487,3 +487,6 @@ export { default as generateUtilityClass } from '@mui/base/generateUtilityClass'
|
|
|
487
487
|
export * from '@mui/base/generateUtilityClass';
|
|
488
488
|
|
|
489
489
|
export { default as generateUtilityClasses } from '@mui/base/generateUtilityClasses';
|
|
490
|
+
|
|
491
|
+
export { default as Unstable_TrapFocus } from './Unstable_TrapFocus';
|
|
492
|
+
export * from './Unstable_TrapFocus';
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.7
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -149,7 +149,8 @@ var _exportNames = {
|
|
|
149
149
|
GlobalStyles: true,
|
|
150
150
|
unstable_composeClasses: true,
|
|
151
151
|
generateUtilityClass: true,
|
|
152
|
-
generateUtilityClasses: true
|
|
152
|
+
generateUtilityClasses: true,
|
|
153
|
+
Unstable_TrapFocus: true
|
|
153
154
|
};
|
|
154
155
|
Object.defineProperty(exports, "Accordion", {
|
|
155
156
|
enumerable: true,
|
|
@@ -925,6 +926,12 @@ Object.defineProperty(exports, "Unstable_Grid2", {
|
|
|
925
926
|
return _Unstable_Grid.default;
|
|
926
927
|
}
|
|
927
928
|
});
|
|
929
|
+
Object.defineProperty(exports, "Unstable_TrapFocus", {
|
|
930
|
+
enumerable: true,
|
|
931
|
+
get: function () {
|
|
932
|
+
return _Unstable_TrapFocus.default;
|
|
933
|
+
}
|
|
934
|
+
});
|
|
928
935
|
Object.defineProperty(exports, "Zoom", {
|
|
929
936
|
enumerable: true,
|
|
930
937
|
get: function () {
|
|
@@ -2895,6 +2902,8 @@ Object.keys(_generateUtilityClass).forEach(function (key) {
|
|
|
2895
2902
|
|
|
2896
2903
|
var _generateUtilityClasses = _interopRequireDefault(require("@mui/base/generateUtilityClasses"));
|
|
2897
2904
|
|
|
2905
|
+
var _Unstable_TrapFocus = _interopRequireDefault(require("./Unstable_TrapFocus"));
|
|
2906
|
+
|
|
2898
2907
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
2899
2908
|
|
|
2900
2909
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
package/legacy/Button/Button.js
CHANGED
|
@@ -259,9 +259,7 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
259
259
|
variant: variant
|
|
260
260
|
});
|
|
261
261
|
|
|
262
|
-
var
|
|
263
|
-
classesRoot = _useUtilityClasses.root,
|
|
264
|
-
classes = _objectWithoutProperties(_useUtilityClasses, ["root"]);
|
|
262
|
+
var classes = useUtilityClasses(ownerState);
|
|
265
263
|
|
|
266
264
|
var startIcon = startIconProp && /*#__PURE__*/_jsx(ButtonStartIcon, {
|
|
267
265
|
className: classes.startIcon,
|
|
@@ -277,7 +275,7 @@ var Button = /*#__PURE__*/React.forwardRef(function Button(inProps, ref) {
|
|
|
277
275
|
|
|
278
276
|
return /*#__PURE__*/_jsxs(ButtonRoot, _extends({
|
|
279
277
|
ownerState: ownerState,
|
|
280
|
-
className: clsx(contextProps.className,
|
|
278
|
+
className: clsx(contextProps.className, classes.root, className),
|
|
281
279
|
component: component,
|
|
282
280
|
disabled: disabled,
|
|
283
281
|
focusRipple: !disableFocusRipple,
|
|
@@ -181,9 +181,7 @@ process.env.NODE_ENV !== "production" ? CardHeader.propTypes
|
|
|
181
181
|
* The component used for the root node.
|
|
182
182
|
* Either a string to use a HTML element or a component.
|
|
183
183
|
*/
|
|
184
|
-
component: PropTypes
|
|
185
|
-
/* @typescript-to-proptypes-ignore */
|
|
186
|
-
.elementType,
|
|
184
|
+
component: PropTypes.elementType,
|
|
187
185
|
|
|
188
186
|
/**
|
|
189
187
|
* If `true`, `subheader` and `title` won't be wrapped by a Typography component.
|
|
@@ -3,6 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
|
+
import clsx from 'clsx';
|
|
6
7
|
import { refType } from '@mui/utils';
|
|
7
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
8
9
|
import { alpha } from '@mui/system';
|
|
@@ -86,7 +87,8 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
|
|
|
86
87
|
inputProps = props.inputProps,
|
|
87
88
|
_props$size = props.size,
|
|
88
89
|
size = _props$size === void 0 ? 'medium' : _props$size,
|
|
89
|
-
|
|
90
|
+
className = props.className,
|
|
91
|
+
other = _objectWithoutProperties(props, ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"]);
|
|
90
92
|
|
|
91
93
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
92
94
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
@@ -110,7 +112,8 @@ var Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox(inProps, ref) {
|
|
|
110
112
|
fontSize: (_indeterminateIcon$pr = indeterminateIcon.props.fontSize) != null ? _indeterminateIcon$pr : size
|
|
111
113
|
}),
|
|
112
114
|
ownerState: ownerState,
|
|
113
|
-
ref: ref
|
|
115
|
+
ref: ref,
|
|
116
|
+
className: clsx(classes.root, className)
|
|
114
117
|
}, other, {
|
|
115
118
|
classes: classes
|
|
116
119
|
}));
|
|
@@ -139,6 +142,11 @@ process.env.NODE_ENV !== "production" ? Checkbox.propTypes
|
|
|
139
142
|
*/
|
|
140
143
|
classes: PropTypes.object,
|
|
141
144
|
|
|
145
|
+
/**
|
|
146
|
+
* @ignore
|
|
147
|
+
*/
|
|
148
|
+
className: PropTypes.string,
|
|
149
|
+
|
|
142
150
|
/**
|
|
143
151
|
* The color of the component.
|
|
144
152
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -2,5 +2,5 @@ import { generateUtilityClass, generateUtilityClasses } from '@mui/base';
|
|
|
2
2
|
export function getChipUtilityClass(slot) {
|
|
3
3
|
return generateUtilityClass('MuiChip', slot);
|
|
4
4
|
}
|
|
5
|
-
var chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorPrimary', 'colorSecondary', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
5
|
+
var chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
6
6
|
export default chipClasses;
|
|
@@ -2,6 +2,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutPr
|
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
5
|
+
import clsx from 'clsx';
|
|
5
6
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
6
7
|
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
7
8
|
import useThemeProps from '../styles/useThemeProps';
|
|
@@ -35,7 +36,8 @@ var DialogContentText = /*#__PURE__*/React.forwardRef(function DialogContentText
|
|
|
35
36
|
});
|
|
36
37
|
|
|
37
38
|
var children = props.children,
|
|
38
|
-
|
|
39
|
+
className = props.className,
|
|
40
|
+
ownerState = _objectWithoutProperties(props, ["children", "className"]);
|
|
39
41
|
|
|
40
42
|
var classes = useUtilityClasses(ownerState);
|
|
41
43
|
return /*#__PURE__*/_jsx(DialogContentTextRoot, _extends({
|
|
@@ -43,7 +45,8 @@ var DialogContentText = /*#__PURE__*/React.forwardRef(function DialogContentText
|
|
|
43
45
|
variant: "body1",
|
|
44
46
|
color: "text.secondary",
|
|
45
47
|
ref: ref,
|
|
46
|
-
ownerState: ownerState
|
|
48
|
+
ownerState: ownerState,
|
|
49
|
+
className: clsx(classes.root, className)
|
|
47
50
|
}, props, {
|
|
48
51
|
classes: classes
|
|
49
52
|
}));
|
|
@@ -66,6 +69,11 @@ process.env.NODE_ENV !== "production" ? DialogContentText.propTypes
|
|
|
66
69
|
*/
|
|
67
70
|
classes: PropTypes.object,
|
|
68
71
|
|
|
72
|
+
/**
|
|
73
|
+
* @ignore
|
|
74
|
+
*/
|
|
75
|
+
className: PropTypes.string,
|
|
76
|
+
|
|
69
77
|
/**
|
|
70
78
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
71
79
|
*/
|