@mui/material 5.2.6 → 5.3.1
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/Autocomplete/Autocomplete.d.ts +2 -0
- package/Autocomplete/Autocomplete.js +11 -7
- package/Avatar/Avatar.d.ts +3 -1
- package/Backdrop/Backdrop.js +3 -1
- package/Badge/Badge.d.ts +10 -10
- package/Badge/Badge.js +6 -7
- package/Button/buttonClasses.d.ts +1 -1
- package/CHANGELOG.md +240 -33
- package/FilledInput/FilledInput.js +4 -1
- package/FormControlLabel/FormControlLabel.js +3 -1
- package/Input/Input.js +4 -1
- package/InputBase/InputBase.js +4 -1
- package/InputLabel/InputLabel.js +4 -0
- package/ListItem/ListItem.js +3 -1
- package/Modal/Modal.js +3 -1
- package/README.md +5 -4
- package/Select/Select.d.ts +9 -1
- package/Select/Select.js +10 -1
- package/Select/SelectInput.d.ts +1 -0
- package/Select/SelectInput.js +25 -4
- package/Slider/Slider.d.ts +2 -0
- package/Slider/Slider.js +126 -53
- package/StepLabel/StepLabel.js +3 -1
- package/SvgIcon/SvgIcon.d.ts +8 -0
- package/SvgIcon/SvgIcon.js +28 -12
- package/TextField/TextField.d.ts +1 -0
- package/TextField/TextField.js +1 -0
- package/Tooltip/Tooltip.js +6 -1
- package/index.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +11 -7
- package/legacy/Backdrop/Backdrop.js +3 -1
- package/legacy/Badge/Badge.js +6 -7
- package/legacy/FilledInput/FilledInput.js +4 -1
- package/legacy/FormControlLabel/FormControlLabel.js +3 -1
- package/legacy/Input/Input.js +4 -1
- package/legacy/InputBase/InputBase.js +4 -1
- package/legacy/InputLabel/InputLabel.js +4 -0
- package/legacy/ListItem/ListItem.js +3 -1
- package/legacy/Modal/Modal.js +3 -1
- package/legacy/Select/Select.js +11 -1
- package/legacy/Select/SelectInput.js +29 -7
- package/legacy/Slider/Slider.js +127 -54
- package/legacy/StepLabel/StepLabel.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +29 -12
- package/legacy/TextField/TextField.js +1 -0
- package/legacy/Tooltip/Tooltip.js +6 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +139 -128
- package/legacy/utils/shouldSpreadAdditionalProps.js +7 -0
- package/locale/index.js +54 -44
- package/modern/Autocomplete/Autocomplete.js +10 -6
- package/modern/Backdrop/Backdrop.js +3 -1
- package/modern/Badge/Badge.js +6 -7
- package/modern/FilledInput/FilledInput.js +4 -1
- package/modern/FormControlLabel/FormControlLabel.js +3 -1
- package/modern/Input/Input.js +4 -1
- package/modern/InputBase/InputBase.js +4 -1
- package/modern/InputLabel/InputLabel.js +4 -0
- package/modern/ListItem/ListItem.js +3 -1
- package/modern/Modal/Modal.js +3 -1
- package/modern/Select/Select.js +10 -1
- package/modern/Select/SelectInput.js +25 -4
- package/modern/Slider/Slider.js +126 -53
- package/modern/StepLabel/StepLabel.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +27 -11
- package/modern/TextField/TextField.js +1 -0
- package/modern/Tooltip/Tooltip.js +6 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +54 -44
- package/modern/utils/shouldSpreadAdditionalProps.js +7 -0
- package/node/Autocomplete/Autocomplete.js +11 -7
- package/node/Backdrop/Backdrop.js +3 -1
- package/node/Badge/Badge.js +8 -8
- package/node/FilledInput/FilledInput.js +4 -1
- package/node/FormControlLabel/FormControlLabel.js +3 -1
- package/node/Input/Input.js +4 -1
- package/node/InputBase/InputBase.js +4 -1
- package/node/InputLabel/InputLabel.js +4 -0
- package/node/ListItem/ListItem.js +3 -1
- package/node/Modal/Modal.js +3 -1
- package/node/Select/Select.js +10 -1
- package/node/Select/SelectInput.js +25 -4
- package/node/Slider/Slider.js +112 -45
- package/node/StepLabel/StepLabel.js +3 -1
- package/node/SvgIcon/SvgIcon.js +28 -12
- package/node/TextField/TextField.js +1 -0
- package/node/Tooltip/Tooltip.js +6 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +54 -44
- package/node/utils/shouldSpreadAdditionalProps.js +15 -0
- package/package.json +7 -7
- package/styles/components.d.ts +452 -113
- package/styles/createTheme.d.ts +12 -6
- package/styles/overrides.d.ts +16 -4
- package/styles/useThemeProps.d.ts +2 -1
- package/umd/material-ui.development.js +619 -289
- package/umd/material-ui.production.min.js +21 -21
- package/utils/shouldSpreadAdditionalProps.js +7 -0
package/node/Badge/Badge.js
CHANGED
|
@@ -27,6 +27,8 @@ var _styled = _interopRequireDefault(require("../styles/styled"));
|
|
|
27
27
|
|
|
28
28
|
var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
29
29
|
|
|
30
|
+
var _shouldSpreadAdditionalProps = _interopRequireDefault(require("../utils/shouldSpreadAdditionalProps"));
|
|
31
|
+
|
|
30
32
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
31
33
|
|
|
32
34
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -179,11 +181,6 @@ const BadgeBadge = (0, _styled.default)('span', {
|
|
|
179
181
|
duration: theme.transitions.duration.leavingScreen
|
|
180
182
|
})
|
|
181
183
|
}));
|
|
182
|
-
|
|
183
|
-
const shouldSpreadAdditionalProps = Slot => {
|
|
184
|
-
return !Slot || !(0, _base.isHostComponent)(Slot);
|
|
185
|
-
};
|
|
186
|
-
|
|
187
184
|
const Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
188
185
|
var _componentsProps$root, _componentsProps$badg;
|
|
189
186
|
|
|
@@ -242,14 +239,14 @@ const Badge = /*#__PURE__*/React.forwardRef(function Badge(inProps, ref) {
|
|
|
242
239
|
Badge: BadgeBadge
|
|
243
240
|
}, components),
|
|
244
241
|
componentsProps: {
|
|
245
|
-
root: (0, _extends2.default)({}, componentsProps.root,
|
|
242
|
+
root: (0, _extends2.default)({}, componentsProps.root, (0, _shouldSpreadAdditionalProps.default)(components.Root) && {
|
|
246
243
|
as: component,
|
|
247
244
|
ownerState: (0, _extends2.default)({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
|
|
248
245
|
color,
|
|
249
246
|
overlap
|
|
250
247
|
})
|
|
251
248
|
}),
|
|
252
|
-
badge: (0, _extends2.default)({}, componentsProps.badge,
|
|
249
|
+
badge: (0, _extends2.default)({}, componentsProps.badge, (0, _shouldSpreadAdditionalProps.default)(components.Badge) && {
|
|
253
250
|
ownerState: (0, _extends2.default)({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
|
|
254
251
|
color,
|
|
255
252
|
overlap
|
|
@@ -323,7 +320,10 @@ process.env.NODE_ENV !== "production" ? Badge.propTypes
|
|
|
323
320
|
* The props used for each slot inside the Badge.
|
|
324
321
|
* @default {}
|
|
325
322
|
*/
|
|
326
|
-
componentsProps: _propTypes.default.
|
|
323
|
+
componentsProps: _propTypes.default.shape({
|
|
324
|
+
badge: _propTypes.default.object,
|
|
325
|
+
root: _propTypes.default.object
|
|
326
|
+
}),
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* If `true`, the badge is invisible.
|
|
@@ -279,7 +279,10 @@ process.env.NODE_ENV !== "production" ? FilledInput.propTypes
|
|
|
279
279
|
* The props used for each slot inside the Input.
|
|
280
280
|
* @default {}
|
|
281
281
|
*/
|
|
282
|
-
componentsProps: _propTypes.default.
|
|
282
|
+
componentsProps: _propTypes.default.shape({
|
|
283
|
+
input: _propTypes.default.object,
|
|
284
|
+
root: _propTypes.default.object
|
|
285
|
+
}),
|
|
283
286
|
|
|
284
287
|
/**
|
|
285
288
|
* The default value. Use when the component is not controlled.
|
|
@@ -185,7 +185,9 @@ process.env.NODE_ENV !== "production" ? FormControlLabel.propTypes
|
|
|
185
185
|
* The props used for each slot inside.
|
|
186
186
|
* @default {}
|
|
187
187
|
*/
|
|
188
|
-
componentsProps: _propTypes.default.
|
|
188
|
+
componentsProps: _propTypes.default.shape({
|
|
189
|
+
typography: _propTypes.default.object
|
|
190
|
+
}),
|
|
189
191
|
|
|
190
192
|
/**
|
|
191
193
|
* A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
|
package/node/Input/Input.js
CHANGED
|
@@ -215,7 +215,10 @@ process.env.NODE_ENV !== "production" ? Input.propTypes
|
|
|
215
215
|
* The props used for each slot inside the Input.
|
|
216
216
|
* @default {}
|
|
217
217
|
*/
|
|
218
|
-
componentsProps: _propTypes.default.
|
|
218
|
+
componentsProps: _propTypes.default.shape({
|
|
219
|
+
input: _propTypes.default.object,
|
|
220
|
+
root: _propTypes.default.object
|
|
221
|
+
}),
|
|
219
222
|
|
|
220
223
|
/**
|
|
221
224
|
* The default value. Use when the component is not controlled.
|
|
@@ -584,7 +584,10 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
584
584
|
* The props used for each slot inside the Input.
|
|
585
585
|
* @default {}
|
|
586
586
|
*/
|
|
587
|
-
componentsProps: _propTypes.default.
|
|
587
|
+
componentsProps: _propTypes.default.shape({
|
|
588
|
+
input: _propTypes.default.object,
|
|
589
|
+
root: _propTypes.default.object
|
|
590
|
+
}),
|
|
588
591
|
|
|
589
592
|
/**
|
|
590
593
|
* The default value. Use when the component is not controlled.
|
|
@@ -107,6 +107,8 @@ const InputLabelRoot = (0, _styled.default)(_FormLabel.default, {
|
|
|
107
107
|
}, ownerState.size === 'small' && {
|
|
108
108
|
transform: 'translate(12px, 13px) scale(1)'
|
|
109
109
|
}, ownerState.shrink && (0, _extends2.default)({
|
|
110
|
+
userSelect: 'none',
|
|
111
|
+
pointerEvents: 'auto',
|
|
110
112
|
transform: 'translate(12px, 7px) scale(0.75)',
|
|
111
113
|
maxWidth: 'calc(133% - 24px)'
|
|
112
114
|
}, ownerState.size === 'small' && {
|
|
@@ -120,6 +122,8 @@ const InputLabelRoot = (0, _styled.default)(_FormLabel.default, {
|
|
|
120
122
|
}, ownerState.size === 'small' && {
|
|
121
123
|
transform: 'translate(14px, 9px) scale(1)'
|
|
122
124
|
}, ownerState.shrink && {
|
|
125
|
+
userSelect: 'none',
|
|
126
|
+
pointerEvents: 'auto',
|
|
123
127
|
maxWidth: 'calc(133% - 24px)',
|
|
124
128
|
transform: 'translate(14px, -9px) scale(0.75)'
|
|
125
129
|
})));
|
|
@@ -375,7 +375,9 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
375
375
|
* The props used for each slot inside the Input.
|
|
376
376
|
* @default {}
|
|
377
377
|
*/
|
|
378
|
-
componentsProps: _propTypes.default.
|
|
378
|
+
componentsProps: _propTypes.default.shape({
|
|
379
|
+
root: _propTypes.default.object
|
|
380
|
+
}),
|
|
379
381
|
|
|
380
382
|
/**
|
|
381
383
|
* The container component used when a `ListItemSecondaryAction` is the last child.
|
package/node/Modal/Modal.js
CHANGED
|
@@ -201,7 +201,9 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
201
201
|
* The props used for each slot inside the Modal.
|
|
202
202
|
* @default {}
|
|
203
203
|
*/
|
|
204
|
-
componentsProps: _propTypes.default.
|
|
204
|
+
componentsProps: _propTypes.default.shape({
|
|
205
|
+
root: _propTypes.default.object
|
|
206
|
+
}),
|
|
205
207
|
|
|
206
208
|
/**
|
|
207
209
|
* An HTML element or function that returns one.
|
package/node/Select/Select.js
CHANGED
|
@@ -43,7 +43,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
43
43
|
|
|
44
44
|
var _Input, _FilledInput;
|
|
45
45
|
|
|
46
|
-
const _excluded = ["autoWidth", "children", "classes", "className", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
46
|
+
const _excluded = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
47
47
|
|
|
48
48
|
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); }
|
|
49
49
|
|
|
@@ -66,6 +66,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
66
66
|
children,
|
|
67
67
|
classes: classesProp = {},
|
|
68
68
|
className,
|
|
69
|
+
defaultOpen = false,
|
|
69
70
|
displayEmpty = false,
|
|
70
71
|
IconComponent = _ArrowDropDown.default,
|
|
71
72
|
id,
|
|
@@ -119,6 +120,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
119
120
|
id
|
|
120
121
|
} : {
|
|
121
122
|
autoWidth,
|
|
123
|
+
defaultOpen,
|
|
122
124
|
displayEmpty,
|
|
123
125
|
labelId,
|
|
124
126
|
MenuProps,
|
|
@@ -173,6 +175,13 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
|
173
175
|
*/
|
|
174
176
|
className: _propTypes.default.string,
|
|
175
177
|
|
|
178
|
+
/**
|
|
179
|
+
* If `true`, the component is initially open. Use when the component open state is not controlled (i.e. the `open` prop is not defined).
|
|
180
|
+
* You can only use it when the `native` prop is `false` (default).
|
|
181
|
+
* @default false
|
|
182
|
+
*/
|
|
183
|
+
defaultOpen: _propTypes.default.bool,
|
|
184
|
+
|
|
176
185
|
/**
|
|
177
186
|
* The default value. Use when the component is not controlled.
|
|
178
187
|
*/
|
|
@@ -43,7 +43,7 @@ var _selectClasses = _interopRequireWildcard(require("./selectClasses"));
|
|
|
43
43
|
|
|
44
44
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
45
45
|
|
|
46
|
-
const _excluded = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
|
|
46
|
+
const _excluded = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
|
|
47
47
|
|
|
48
48
|
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); }
|
|
49
49
|
|
|
@@ -143,6 +143,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
143
143
|
autoWidth,
|
|
144
144
|
children,
|
|
145
145
|
className,
|
|
146
|
+
defaultOpen,
|
|
146
147
|
defaultValue,
|
|
147
148
|
disabled,
|
|
148
149
|
displayEmpty,
|
|
@@ -171,6 +172,11 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
171
172
|
default: defaultValue,
|
|
172
173
|
name: 'Select'
|
|
173
174
|
});
|
|
175
|
+
const [openState, setOpenState] = (0, _useControlled.default)({
|
|
176
|
+
controlled: openProp,
|
|
177
|
+
default: defaultOpen,
|
|
178
|
+
name: 'Select'
|
|
179
|
+
});
|
|
174
180
|
const inputRef = React.useRef(null);
|
|
175
181
|
const displayRef = React.useRef(null);
|
|
176
182
|
const [displayNode, setDisplayNode] = React.useState(null);
|
|
@@ -178,7 +184,6 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
178
184
|
current: isOpenControlled
|
|
179
185
|
} = React.useRef(openProp != null);
|
|
180
186
|
const [menuMinWidthState, setMenuMinWidthState] = React.useState();
|
|
181
|
-
const [openState, setOpenState] = React.useState(false);
|
|
182
187
|
const handleRef = (0, _useForkRef.default)(ref, inputRefProp);
|
|
183
188
|
const handleDisplayRef = React.useCallback(node => {
|
|
184
189
|
displayRef.current = node;
|
|
@@ -193,7 +198,17 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
193
198
|
},
|
|
194
199
|
node: inputRef.current,
|
|
195
200
|
value
|
|
196
|
-
}), [value]);
|
|
201
|
+
}), [value]); // Resize menu on `defaultOpen` automatic toggle.
|
|
202
|
+
|
|
203
|
+
React.useEffect(() => {
|
|
204
|
+
if (defaultOpen && openState && displayNode && !isOpenControlled) {
|
|
205
|
+
setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);
|
|
206
|
+
displayRef.current.focus();
|
|
207
|
+
} // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
208
|
+
|
|
209
|
+
}, [displayNode, autoWidth]); // `isOpenControlled` is ignored because the component should never switch between controlled and uncontrolled modes.
|
|
210
|
+
// `defaultOpen` and `openState` are ignored to avoid unnecessary callbacks.
|
|
211
|
+
|
|
197
212
|
React.useEffect(() => {
|
|
198
213
|
if (autoFocus) {
|
|
199
214
|
displayRef.current.focus();
|
|
@@ -329,7 +344,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
329
344
|
}
|
|
330
345
|
};
|
|
331
346
|
|
|
332
|
-
const open = displayNode !== null &&
|
|
347
|
+
const open = displayNode !== null && openState;
|
|
333
348
|
|
|
334
349
|
const handleBlur = event => {
|
|
335
350
|
// if open event.stopImmediatePropagation
|
|
@@ -586,6 +601,12 @@ process.env.NODE_ENV !== "production" ? SelectInput.propTypes = {
|
|
|
586
601
|
*/
|
|
587
602
|
className: _propTypes.default.string,
|
|
588
603
|
|
|
604
|
+
/**
|
|
605
|
+
* If `true`, the component is toggled on mount. Use when the component open state is not controlled.
|
|
606
|
+
* You can only use it when the `native` prop is `false` (default).
|
|
607
|
+
*/
|
|
608
|
+
defaultOpen: _propTypes.default.bool,
|
|
609
|
+
|
|
589
610
|
/**
|
|
590
611
|
* The default value. Use when the component is not controlled.
|
|
591
612
|
*/
|
package/node/Slider/Slider.js
CHANGED
|
@@ -31,11 +31,13 @@ var _styled = _interopRequireWildcard(require("../styles/styled"));
|
|
|
31
31
|
|
|
32
32
|
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
|
33
33
|
|
|
34
|
+
var _shouldSpreadAdditionalProps = _interopRequireDefault(require("../utils/shouldSpreadAdditionalProps"));
|
|
35
|
+
|
|
34
36
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
35
37
|
|
|
36
38
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
37
39
|
|
|
38
|
-
const _excluded = ["components", "componentsProps", "color", "size"];
|
|
40
|
+
const _excluded = ["component", "components", "componentsProps", "color", "size"];
|
|
39
41
|
|
|
40
42
|
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); }
|
|
41
43
|
|
|
@@ -110,6 +112,19 @@ const SliderRoot = (0, _styled.default)('span', {
|
|
|
110
112
|
}
|
|
111
113
|
}));
|
|
112
114
|
exports.SliderRoot = SliderRoot;
|
|
115
|
+
process.env.NODE_ENV !== "production" ? SliderRoot.propTypes
|
|
116
|
+
/* remove-proptypes */
|
|
117
|
+
= {
|
|
118
|
+
// ----------------------------- Warning --------------------------------
|
|
119
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
120
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
121
|
+
// ----------------------------------------------------------------------
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @ignore
|
|
125
|
+
*/
|
|
126
|
+
children: _propTypes.default.node
|
|
127
|
+
} : void 0;
|
|
113
128
|
const SliderRail = (0, _styled.default)('span', {
|
|
114
129
|
name: 'MuiSlider',
|
|
115
130
|
slot: 'Rail',
|
|
@@ -136,6 +151,19 @@ const SliderRail = (0, _styled.default)('span', {
|
|
|
136
151
|
opacity: 1
|
|
137
152
|
}));
|
|
138
153
|
exports.SliderRail = SliderRail;
|
|
154
|
+
process.env.NODE_ENV !== "production" ? SliderRail.propTypes
|
|
155
|
+
/* remove-proptypes */
|
|
156
|
+
= {
|
|
157
|
+
// ----------------------------- Warning --------------------------------
|
|
158
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
159
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
160
|
+
// ----------------------------------------------------------------------
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @ignore
|
|
164
|
+
*/
|
|
165
|
+
children: _propTypes.default.node
|
|
166
|
+
} : void 0;
|
|
139
167
|
const SliderTrack = (0, _styled.default)('span', {
|
|
140
168
|
name: 'MuiSlider',
|
|
141
169
|
slot: 'Track',
|
|
@@ -173,6 +201,19 @@ const SliderTrack = (0, _styled.default)('span', {
|
|
|
173
201
|
});
|
|
174
202
|
});
|
|
175
203
|
exports.SliderTrack = SliderTrack;
|
|
204
|
+
process.env.NODE_ENV !== "production" ? SliderTrack.propTypes
|
|
205
|
+
/* remove-proptypes */
|
|
206
|
+
= {
|
|
207
|
+
// ----------------------------- Warning --------------------------------
|
|
208
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
209
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
210
|
+
// ----------------------------------------------------------------------
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @ignore
|
|
214
|
+
*/
|
|
215
|
+
children: _propTypes.default.node
|
|
216
|
+
} : void 0;
|
|
176
217
|
const SliderThumb = (0, _styled.default)('span', {
|
|
177
218
|
name: 'MuiSlider',
|
|
178
219
|
slot: 'Thumb',
|
|
@@ -246,6 +287,19 @@ const SliderThumb = (0, _styled.default)('span', {
|
|
|
246
287
|
}
|
|
247
288
|
}));
|
|
248
289
|
exports.SliderThumb = SliderThumb;
|
|
290
|
+
process.env.NODE_ENV !== "production" ? SliderThumb.propTypes
|
|
291
|
+
/* remove-proptypes */
|
|
292
|
+
= {
|
|
293
|
+
// ----------------------------- Warning --------------------------------
|
|
294
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
295
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
296
|
+
// ----------------------------------------------------------------------
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* @ignore
|
|
300
|
+
*/
|
|
301
|
+
children: _propTypes.default.node
|
|
302
|
+
} : void 0;
|
|
249
303
|
const SliderValueLabel = (0, _styled.default)(_SliderUnstyled.SliderValueLabelUnstyled, {
|
|
250
304
|
name: 'MuiSlider',
|
|
251
305
|
slot: 'ValueLabel',
|
|
@@ -291,6 +345,19 @@ const SliderValueLabel = (0, _styled.default)(_SliderUnstyled.SliderValueLabelUn
|
|
|
291
345
|
}
|
|
292
346
|
}));
|
|
293
347
|
exports.SliderValueLabel = SliderValueLabel;
|
|
348
|
+
process.env.NODE_ENV !== "production" ? SliderValueLabel.propTypes
|
|
349
|
+
/* remove-proptypes */
|
|
350
|
+
= {
|
|
351
|
+
// ----------------------------- Warning --------------------------------
|
|
352
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
353
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
354
|
+
// ----------------------------------------------------------------------
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @ignore
|
|
358
|
+
*/
|
|
359
|
+
children: _propTypes.default.node
|
|
360
|
+
} : void 0;
|
|
294
361
|
const SliderMark = (0, _styled.default)('span', {
|
|
295
362
|
name: 'MuiSlider',
|
|
296
363
|
slot: 'Mark',
|
|
@@ -317,6 +384,19 @@ const SliderMark = (0, _styled.default)('span', {
|
|
|
317
384
|
opacity: 0.8
|
|
318
385
|
}));
|
|
319
386
|
exports.SliderMark = SliderMark;
|
|
387
|
+
process.env.NODE_ENV !== "production" ? SliderMark.propTypes
|
|
388
|
+
/* remove-proptypes */
|
|
389
|
+
= {
|
|
390
|
+
// ----------------------------- Warning --------------------------------
|
|
391
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
392
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
393
|
+
// ----------------------------------------------------------------------
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @ignore
|
|
397
|
+
*/
|
|
398
|
+
children: _propTypes.default.node
|
|
399
|
+
} : void 0;
|
|
320
400
|
const SliderMarkLabel = (0, _styled.default)('span', {
|
|
321
401
|
name: 'MuiSlider',
|
|
322
402
|
slot: 'MarkLabel',
|
|
@@ -346,7 +426,9 @@ const SliderMarkLabel = (0, _styled.default)('span', {
|
|
|
346
426
|
color: theme.palette.text.primary
|
|
347
427
|
}));
|
|
348
428
|
exports.SliderMarkLabel = SliderMarkLabel;
|
|
349
|
-
|
|
429
|
+
process.env.NODE_ENV !== "production" ? SliderMarkLabel.propTypes
|
|
430
|
+
/* remove-proptypes */
|
|
431
|
+
= {
|
|
350
432
|
// ----------------------------- Warning --------------------------------
|
|
351
433
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
352
434
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
@@ -355,40 +437,8 @@ SliderRoot.propTypes = {
|
|
|
355
437
|
/**
|
|
356
438
|
* @ignore
|
|
357
439
|
*/
|
|
358
|
-
children: _propTypes.default.node
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* @ignore
|
|
362
|
-
*/
|
|
363
|
-
ownerState: _propTypes.default.shape({
|
|
364
|
-
'aria-label': _propTypes.default.string,
|
|
365
|
-
'aria-labelledby': _propTypes.default.string,
|
|
366
|
-
'aria-valuetext': _propTypes.default.string,
|
|
367
|
-
classes: _propTypes.default.object,
|
|
368
|
-
color: _propTypes.default.oneOf(['primary', 'secondary']),
|
|
369
|
-
defaultValue: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number]),
|
|
370
|
-
disabled: _propTypes.default.bool,
|
|
371
|
-
getAriaLabel: _propTypes.default.func,
|
|
372
|
-
getAriaValueText: _propTypes.default.func,
|
|
373
|
-
isRtl: _propTypes.default.bool,
|
|
374
|
-
marks: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.shape({
|
|
375
|
-
label: _propTypes.default.node,
|
|
376
|
-
value: _propTypes.default.number.isRequired
|
|
377
|
-
})), _propTypes.default.bool]),
|
|
378
|
-
max: _propTypes.default.number,
|
|
379
|
-
min: _propTypes.default.number,
|
|
380
|
-
name: _propTypes.default.string,
|
|
381
|
-
onChange: _propTypes.default.func,
|
|
382
|
-
onChangeCommitted: _propTypes.default.func,
|
|
383
|
-
orientation: _propTypes.default.oneOf(['horizontal', 'vertical']),
|
|
384
|
-
scale: _propTypes.default.func,
|
|
385
|
-
step: _propTypes.default.number,
|
|
386
|
-
track: _propTypes.default.oneOf(['inverted', 'normal', false]),
|
|
387
|
-
value: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number]),
|
|
388
|
-
valueLabelDisplay: _propTypes.default.oneOf(['auto', 'off', 'on']),
|
|
389
|
-
valueLabelFormat: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.string])
|
|
390
|
-
})
|
|
391
|
-
};
|
|
440
|
+
children: _propTypes.default.node
|
|
441
|
+
} : void 0;
|
|
392
442
|
|
|
393
443
|
const extendUtilityClasses = ownerState => {
|
|
394
444
|
const {
|
|
@@ -402,10 +452,6 @@ const extendUtilityClasses = ownerState => {
|
|
|
402
452
|
});
|
|
403
453
|
};
|
|
404
454
|
|
|
405
|
-
const shouldSpreadOwnerState = Component => {
|
|
406
|
-
return !Component || !(0, _base.isHostComponent)(Component);
|
|
407
|
-
};
|
|
408
|
-
|
|
409
455
|
const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
410
456
|
var _componentsProps$root, _componentsProps$thum, _componentsProps$trac, _componentsProps$valu;
|
|
411
457
|
|
|
@@ -416,6 +462,8 @@ const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
|
416
462
|
const theme = (0, _useTheme.default)();
|
|
417
463
|
const isRtl = theme.direction === 'rtl';
|
|
418
464
|
const {
|
|
465
|
+
// eslint-disable-next-line react/prop-types
|
|
466
|
+
component = 'span',
|
|
419
467
|
components = {},
|
|
420
468
|
componentsProps = {},
|
|
421
469
|
color = 'primary',
|
|
@@ -439,25 +487,26 @@ const Slider = /*#__PURE__*/React.forwardRef(function Slider(inputProps, ref) {
|
|
|
439
487
|
MarkLabel: SliderMarkLabel
|
|
440
488
|
}, components),
|
|
441
489
|
componentsProps: (0, _extends2.default)({}, componentsProps, {
|
|
442
|
-
root: (0, _extends2.default)({}, componentsProps.root,
|
|
490
|
+
root: (0, _extends2.default)({}, componentsProps.root, (0, _shouldSpreadAdditionalProps.default)(components.Root) && {
|
|
491
|
+
as: component,
|
|
443
492
|
ownerState: (0, _extends2.default)({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
|
|
444
493
|
color,
|
|
445
494
|
size
|
|
446
495
|
})
|
|
447
496
|
}),
|
|
448
|
-
thumb: (0, _extends2.default)({}, componentsProps.thumb,
|
|
497
|
+
thumb: (0, _extends2.default)({}, componentsProps.thumb, (0, _shouldSpreadAdditionalProps.default)(components.Thumb) && {
|
|
449
498
|
ownerState: (0, _extends2.default)({}, (_componentsProps$thum = componentsProps.thumb) == null ? void 0 : _componentsProps$thum.ownerState, {
|
|
450
499
|
color,
|
|
451
500
|
size
|
|
452
501
|
})
|
|
453
502
|
}),
|
|
454
|
-
track: (0, _extends2.default)({}, componentsProps.track,
|
|
503
|
+
track: (0, _extends2.default)({}, componentsProps.track, (0, _shouldSpreadAdditionalProps.default)(components.Track) && {
|
|
455
504
|
ownerState: (0, _extends2.default)({}, (_componentsProps$trac = componentsProps.track) == null ? void 0 : _componentsProps$trac.ownerState, {
|
|
456
505
|
color,
|
|
457
506
|
size
|
|
458
507
|
})
|
|
459
508
|
}),
|
|
460
|
-
valueLabel: (0, _extends2.default)({}, componentsProps.valueLabel,
|
|
509
|
+
valueLabel: (0, _extends2.default)({}, componentsProps.valueLabel, (0, _shouldSpreadAdditionalProps.default)(components.ValueLabel) && {
|
|
461
510
|
ownerState: (0, _extends2.default)({}, (_componentsProps$valu = componentsProps.valueLabel) == null ? void 0 : _componentsProps$valu.ownerState, {
|
|
462
511
|
color,
|
|
463
512
|
size
|
|
@@ -531,6 +580,7 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
531
580
|
* @default {}
|
|
532
581
|
*/
|
|
533
582
|
components: _propTypes.default.shape({
|
|
583
|
+
Input: _propTypes.default.elementType,
|
|
534
584
|
Mark: _propTypes.default.elementType,
|
|
535
585
|
MarkLabel: _propTypes.default.elementType,
|
|
536
586
|
Rail: _propTypes.default.elementType,
|
|
@@ -544,7 +594,24 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
544
594
|
* The props used for each slot inside the Slider.
|
|
545
595
|
* @default {}
|
|
546
596
|
*/
|
|
547
|
-
componentsProps: _propTypes.default.
|
|
597
|
+
componentsProps: _propTypes.default.shape({
|
|
598
|
+
input: _propTypes.default.object,
|
|
599
|
+
mark: _propTypes.default.object,
|
|
600
|
+
markLabel: _propTypes.default.object,
|
|
601
|
+
rail: _propTypes.default.object,
|
|
602
|
+
root: _propTypes.default.object,
|
|
603
|
+
thumb: _propTypes.default.object,
|
|
604
|
+
track: _propTypes.default.object,
|
|
605
|
+
valueLabel: _propTypes.default.shape({
|
|
606
|
+
className: _propTypes.default.string,
|
|
607
|
+
components: _propTypes.default.shape({
|
|
608
|
+
Root: _propTypes.default.elementType
|
|
609
|
+
}),
|
|
610
|
+
style: _propTypes.default.object,
|
|
611
|
+
value: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.number), _propTypes.default.number]),
|
|
612
|
+
valueLabelDisplay: _propTypes.default.oneOf(['auto', 'off', 'on'])
|
|
613
|
+
})
|
|
614
|
+
}),
|
|
548
615
|
|
|
549
616
|
/**
|
|
550
617
|
* The default value. Use when the component is not controlled.
|
|
@@ -227,7 +227,9 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
|
|
|
227
227
|
* The props used for each slot inside.
|
|
228
228
|
* @default {}
|
|
229
229
|
*/
|
|
230
|
-
componentsProps: _propTypes.default.
|
|
230
|
+
componentsProps: _propTypes.default.shape({
|
|
231
|
+
label: _propTypes.default.object
|
|
232
|
+
}),
|
|
231
233
|
|
|
232
234
|
/**
|
|
233
235
|
* If `true`, the step is marked as failed.
|
package/node/SvgIcon/SvgIcon.js
CHANGED
|
@@ -29,7 +29,7 @@ var _svgIconClasses = require("./svgIconClasses");
|
|
|
29
29
|
|
|
30
30
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
31
31
|
|
|
32
|
-
const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"];
|
|
32
|
+
const _excluded = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
33
33
|
|
|
34
34
|
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); }
|
|
35
35
|
|
|
@@ -60,7 +60,7 @@ const SvgIconRoot = (0, _styled.default)('svg', {
|
|
|
60
60
|
theme,
|
|
61
61
|
ownerState
|
|
62
62
|
}) => {
|
|
63
|
-
var _theme$palette$ownerS, _theme$palette$ownerS2;
|
|
63
|
+
var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _theme$palette$ownerS, _theme$palette, _theme$palette$ownerS2, _theme$palette2, _theme$palette2$actio, _theme$palette3, _theme$palette3$actio;
|
|
64
64
|
|
|
65
65
|
return {
|
|
66
66
|
userSelect: 'none',
|
|
@@ -69,19 +69,19 @@ const SvgIconRoot = (0, _styled.default)('svg', {
|
|
|
69
69
|
display: 'inline-block',
|
|
70
70
|
fill: 'currentColor',
|
|
71
71
|
flexShrink: 0,
|
|
72
|
-
transition: theme.transitions.create('fill', {
|
|
73
|
-
duration: theme.transitions.duration.shorter
|
|
72
|
+
transition: (_theme$transitions = theme.transitions) == null ? void 0 : (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
|
|
73
|
+
duration: (_theme$transitions2 = theme.transitions) == null ? void 0 : (_theme$transitions2$d = _theme$transitions2.duration) == null ? void 0 : _theme$transitions2$d.shorter
|
|
74
74
|
}),
|
|
75
75
|
fontSize: {
|
|
76
76
|
inherit: 'inherit',
|
|
77
|
-
small: theme.typography.pxToRem(20),
|
|
78
|
-
medium: theme.typography.pxToRem(24),
|
|
79
|
-
large: theme.typography.pxToRem(35)
|
|
77
|
+
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',
|
|
78
|
+
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',
|
|
79
|
+
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.1875'
|
|
80
80
|
}[ownerState.fontSize],
|
|
81
81
|
// TODO v5 deprecate, v6 remove for sx
|
|
82
|
-
color: (_theme$palette$ownerS = (_theme$palette
|
|
83
|
-
action: theme.palette.action.active,
|
|
84
|
-
disabled: theme.palette.action.disabled,
|
|
82
|
+
color: (_theme$palette$ownerS = (_theme$palette = theme.palette) == null ? void 0 : (_theme$palette$ownerS2 = _theme$palette[ownerState.color]) == null ? void 0 : _theme$palette$ownerS2.main) != null ? _theme$palette$ownerS : {
|
|
83
|
+
action: (_theme$palette2 = theme.palette) == null ? void 0 : (_theme$palette2$actio = _theme$palette2.action) == null ? void 0 : _theme$palette2$actio.active,
|
|
84
|
+
disabled: (_theme$palette3 = theme.palette) == null ? void 0 : (_theme$palette3$actio = _theme$palette3.action) == null ? void 0 : _theme$palette3$actio.disabled,
|
|
85
85
|
inherit: undefined
|
|
86
86
|
}[ownerState.color]
|
|
87
87
|
};
|
|
@@ -98,6 +98,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
98
98
|
component = 'svg',
|
|
99
99
|
fontSize = 'medium',
|
|
100
100
|
htmlColor,
|
|
101
|
+
inheritViewBox = false,
|
|
101
102
|
titleAccess,
|
|
102
103
|
viewBox = '0 0 24 24'
|
|
103
104
|
} = props,
|
|
@@ -106,20 +107,26 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
106
107
|
color,
|
|
107
108
|
component,
|
|
108
109
|
fontSize,
|
|
110
|
+
inheritViewBox,
|
|
109
111
|
viewBox
|
|
110
112
|
});
|
|
113
|
+
const more = {};
|
|
114
|
+
|
|
115
|
+
if (!inheritViewBox) {
|
|
116
|
+
more.viewBox = viewBox;
|
|
117
|
+
}
|
|
118
|
+
|
|
111
119
|
const classes = useUtilityClasses(ownerState);
|
|
112
120
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(SvgIconRoot, (0, _extends2.default)({
|
|
113
121
|
as: component,
|
|
114
122
|
className: (0, _clsx.default)(classes.root, className),
|
|
115
123
|
ownerState: ownerState,
|
|
116
124
|
focusable: "false",
|
|
117
|
-
viewBox: viewBox,
|
|
118
125
|
color: htmlColor,
|
|
119
126
|
"aria-hidden": titleAccess ? undefined : true,
|
|
120
127
|
role: titleAccess ? 'img' : undefined,
|
|
121
128
|
ref: ref
|
|
122
|
-
}, other, {
|
|
129
|
+
}, more, other, {
|
|
123
130
|
children: [children, titleAccess ? /*#__PURE__*/(0, _jsxRuntime.jsx)("title", {
|
|
124
131
|
children: titleAccess
|
|
125
132
|
}) : null]
|
|
@@ -176,6 +183,15 @@ process.env.NODE_ENV !== "production" ? SvgIcon.propTypes
|
|
|
176
183
|
*/
|
|
177
184
|
htmlColor: _propTypes.default.string,
|
|
178
185
|
|
|
186
|
+
/**
|
|
187
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
188
|
+
* prop will be ignored.
|
|
189
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
190
|
+
* `component`'s viewBox to the root node.
|
|
191
|
+
* @default false
|
|
192
|
+
*/
|
|
193
|
+
inheritViewBox: _propTypes.default.bool,
|
|
194
|
+
|
|
179
195
|
/**
|
|
180
196
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
181
197
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
@@ -322,6 +322,7 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes
|
|
|
322
322
|
|
|
323
323
|
/**
|
|
324
324
|
* Props applied to the [`InputLabel`](/api/input-label/) element.
|
|
325
|
+
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
325
326
|
*/
|
|
326
327
|
InputLabelProps: _propTypes.default.object,
|
|
327
328
|
|
package/node/Tooltip/Tooltip.js
CHANGED
|
@@ -712,7 +712,12 @@ process.env.NODE_ENV !== "production" ? Tooltip.propTypes
|
|
|
712
712
|
* and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
|
|
713
713
|
* @default {}
|
|
714
714
|
*/
|
|
715
|
-
componentsProps: _propTypes.default.
|
|
715
|
+
componentsProps: _propTypes.default.shape({
|
|
716
|
+
arrow: _propTypes.default.object,
|
|
717
|
+
popper: _propTypes.default.object,
|
|
718
|
+
tooltip: _propTypes.default.object,
|
|
719
|
+
transition: _propTypes.default.object
|
|
720
|
+
}),
|
|
716
721
|
|
|
717
722
|
/**
|
|
718
723
|
* Set to `true` if the `title` acts as an accessible description.
|