@mui/material 5.2.4 → 5.2.8
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.js +3 -1
- package/Avatar/Avatar.d.ts +3 -1
- package/Backdrop/Backdrop.js +3 -1
- package/Badge/Badge.d.ts +25 -0
- package/Badge/Badge.js +29 -9
- package/ButtonGroup/ButtonGroupContext.d.ts +1 -1
- package/CHANGELOG.md +230 -32
- 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 +17 -28
- package/Slider/Slider.d.ts +2 -0
- package/Slider/Slider.js +21 -3
- package/StepLabel/StepLabel.js +3 -1
- package/SvgIcon/SvgIcon.d.ts +8 -0
- package/SvgIcon/SvgIcon.js +19 -3
- package/Tabs/Tabs.d.ts +1 -1
- 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 +3 -1
- package/legacy/Backdrop/Backdrop.js +3 -1
- package/legacy/Badge/Badge.js +34 -10
- 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/Slider/Slider.js +21 -3
- package/legacy/StepLabel/StepLabel.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +20 -3
- 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 +319 -142
- package/locale/index.d.ts +2 -0
- package/locale/index.js +220 -50
- package/modern/Autocomplete/Autocomplete.js +3 -1
- package/modern/Backdrop/Backdrop.js +3 -1
- package/modern/Badge/Badge.js +29 -9
- 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/Slider/Slider.js +21 -3
- package/modern/StepLabel/StepLabel.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +19 -3
- 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 +220 -50
- package/node/Autocomplete/Autocomplete.js +3 -1
- package/node/Backdrop/Backdrop.js +3 -1
- package/node/Badge/Badge.js +29 -9
- 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/Slider/Slider.js +21 -3
- package/node/StepLabel/StepLabel.js +3 -1
- package/node/SvgIcon/SvgIcon.js +19 -3
- 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 +223 -51
- package/package.json +3 -3
- package/umd/material-ui.development.js +251 -89
- package/umd/material-ui.production.min.js +21 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.2.
|
|
1
|
+
/** @license MUI v5.2.8
|
|
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.
|
|
@@ -755,8 +755,9 @@
|
|
|
755
755
|
|
|
756
756
|
var fixedElements = /* #__PURE__ */new WeakMap();
|
|
757
757
|
var compat = function compat(element) {
|
|
758
|
-
if (element.type !== 'rule' || !element.parent || // .length indicates
|
|
759
|
-
|
|
758
|
+
if (element.type !== 'rule' || !element.parent || // positive .length indicates that this rule contains pseudo
|
|
759
|
+
// negative .length indicates that this rule has been already prefixed
|
|
760
|
+
element.length < 1) {
|
|
760
761
|
return;
|
|
761
762
|
}
|
|
762
763
|
|
|
@@ -2008,7 +2009,7 @@
|
|
|
2008
2009
|
|
|
2009
2010
|
var pkg = {
|
|
2010
2011
|
name: "@emotion/react",
|
|
2011
|
-
version: "11.7.
|
|
2012
|
+
version: "11.7.1",
|
|
2012
2013
|
main: "dist/emotion-react.cjs.js",
|
|
2013
2014
|
module: "dist/emotion-react.esm.js",
|
|
2014
2015
|
browser: {
|
|
@@ -2035,7 +2036,7 @@
|
|
|
2035
2036
|
},
|
|
2036
2037
|
dependencies: {
|
|
2037
2038
|
"@babel/runtime": "^7.13.10",
|
|
2038
|
-
"@emotion/cache": "^11.
|
|
2039
|
+
"@emotion/cache": "^11.7.1",
|
|
2039
2040
|
"@emotion/serialize": "^1.0.2",
|
|
2040
2041
|
"@emotion/sheet": "^1.1.0",
|
|
2041
2042
|
"@emotion/utils": "^1.0.0",
|
|
@@ -2056,8 +2057,8 @@
|
|
|
2056
2057
|
},
|
|
2057
2058
|
devDependencies: {
|
|
2058
2059
|
"@babel/core": "^7.13.10",
|
|
2059
|
-
"@emotion/css": "11.
|
|
2060
|
-
"@emotion/css-prettifier": "1.0.
|
|
2060
|
+
"@emotion/css": "11.7.1",
|
|
2061
|
+
"@emotion/css-prettifier": "1.0.1",
|
|
2061
2062
|
"@emotion/server": "11.4.0",
|
|
2062
2063
|
"@emotion/styled": "11.6.0",
|
|
2063
2064
|
"@types/react": "^16.9.11",
|
|
@@ -7942,7 +7943,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7942
7943
|
};
|
|
7943
7944
|
|
|
7944
7945
|
const handleValue = (event, newValue, reason, details) => {
|
|
7945
|
-
if (value
|
|
7946
|
+
if (Array.isArray(value)) {
|
|
7947
|
+
if (value.length === newValue.length && value.every((val, i) => val === newValue[i])) {
|
|
7948
|
+
return;
|
|
7949
|
+
}
|
|
7950
|
+
} else if (value === newValue) {
|
|
7946
7951
|
return;
|
|
7947
7952
|
}
|
|
7948
7953
|
|
|
@@ -8390,7 +8395,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8390
8395
|
// only have an opinion about this when closed
|
|
8391
8396
|
'aria-activedescendant': popupOpen ? '' : null,
|
|
8392
8397
|
'aria-autocomplete': autoComplete ? 'both' : 'list',
|
|
8393
|
-
'aria-controls': listboxAvailable ? `${id}-listbox` :
|
|
8398
|
+
'aria-controls': listboxAvailable ? `${id}-listbox` : undefined,
|
|
8394
8399
|
// Disable browser's suggestion that might overlap with the popup.
|
|
8395
8400
|
// Handle autocomplete but not autofill.
|
|
8396
8401
|
autoComplete: 'off',
|
|
@@ -8619,7 +8624,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8619
8624
|
* The props used for each slot inside the Backdrop.
|
|
8620
8625
|
* @default {}
|
|
8621
8626
|
*/
|
|
8622
|
-
componentsProps: propTypes.
|
|
8627
|
+
componentsProps: propTypes.shape({
|
|
8628
|
+
root: propTypes.object
|
|
8629
|
+
}),
|
|
8623
8630
|
|
|
8624
8631
|
/**
|
|
8625
8632
|
* If `true`, the backdrop is invisible.
|
|
@@ -8630,25 +8637,70 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8630
8637
|
} ;
|
|
8631
8638
|
var BackdropUnstyled$1 = BackdropUnstyled;
|
|
8632
8639
|
|
|
8640
|
+
function useBadge(props) {
|
|
8641
|
+
const {
|
|
8642
|
+
anchorOrigin: anchorOriginProp = {
|
|
8643
|
+
vertical: 'top',
|
|
8644
|
+
horizontal: 'right'
|
|
8645
|
+
},
|
|
8646
|
+
badgeContent: badgeContentProp,
|
|
8647
|
+
invisible: invisibleProp,
|
|
8648
|
+
max: maxProp = 99,
|
|
8649
|
+
showZero = false,
|
|
8650
|
+
variant: variantProp = 'standard'
|
|
8651
|
+
} = props;
|
|
8652
|
+
const prevProps = usePreviousProps$1({
|
|
8653
|
+
anchorOrigin: anchorOriginProp,
|
|
8654
|
+
badgeContent: badgeContentProp,
|
|
8655
|
+
max: maxProp,
|
|
8656
|
+
variant: variantProp
|
|
8657
|
+
});
|
|
8658
|
+
let invisible = invisibleProp;
|
|
8659
|
+
|
|
8660
|
+
if (invisibleProp == null && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
|
|
8661
|
+
invisible = true;
|
|
8662
|
+
}
|
|
8663
|
+
|
|
8664
|
+
const {
|
|
8665
|
+
anchorOrigin = anchorOriginProp,
|
|
8666
|
+
badgeContent,
|
|
8667
|
+
max = maxProp,
|
|
8668
|
+
variant = variantProp
|
|
8669
|
+
} = invisible ? prevProps : props;
|
|
8670
|
+
let displayValue = '';
|
|
8671
|
+
|
|
8672
|
+
if (variant !== 'dot') {
|
|
8673
|
+
displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8676
|
+
return {
|
|
8677
|
+
anchorOrigin,
|
|
8678
|
+
badgeContent,
|
|
8679
|
+
invisible,
|
|
8680
|
+
max,
|
|
8681
|
+
variant,
|
|
8682
|
+
displayValue
|
|
8683
|
+
};
|
|
8684
|
+
}
|
|
8685
|
+
|
|
8633
8686
|
function getBadgeUtilityClass(slot) {
|
|
8634
8687
|
return generateUtilityClass('MuiBadge', slot);
|
|
8635
8688
|
}
|
|
8636
|
-
const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', '
|
|
8689
|
+
const badgeUnstyledClasses = generateUtilityClasses('MuiBadge', ['root', 'badge', 'dot', 'standard', 'anchorOriginTopLeft', 'anchorOriginTopRight', 'anchorOriginBottomLeft', 'anchorOriginBottomRight', 'invisible']);
|
|
8637
8690
|
var badgeUnstyledClasses$1 = badgeUnstyledClasses;
|
|
8638
8691
|
|
|
8639
|
-
const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "
|
|
8692
|
+
const _excluded$2l = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero", "variant"];
|
|
8640
8693
|
|
|
8641
8694
|
const useUtilityClasses$1S = ownerState => {
|
|
8642
8695
|
const {
|
|
8643
8696
|
variant,
|
|
8644
8697
|
anchorOrigin,
|
|
8645
|
-
overlap,
|
|
8646
8698
|
invisible,
|
|
8647
8699
|
classes
|
|
8648
8700
|
} = ownerState;
|
|
8649
8701
|
const slots = {
|
|
8650
8702
|
root: ['root'],
|
|
8651
|
-
badge: ['badge', variant, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}
|
|
8703
|
+
badge: ['badge', variant, `anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}`, invisible && 'invisible']
|
|
8652
8704
|
};
|
|
8653
8705
|
return composeClasses(slots, getBadgeUtilityClass, classes);
|
|
8654
8706
|
};
|
|
@@ -8660,40 +8712,29 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8660
8712
|
horizontal: 'right'
|
|
8661
8713
|
},
|
|
8662
8714
|
classes: classesProp,
|
|
8663
|
-
badgeContent: badgeContentProp,
|
|
8664
8715
|
component,
|
|
8665
8716
|
children,
|
|
8666
8717
|
className,
|
|
8667
8718
|
components = {},
|
|
8668
8719
|
componentsProps = {},
|
|
8669
|
-
invisible: invisibleProp,
|
|
8670
8720
|
max: maxProp = 99,
|
|
8671
|
-
overlap: overlapProp = 'rectangular',
|
|
8672
8721
|
showZero = false,
|
|
8673
8722
|
variant: variantProp = 'standard'
|
|
8674
8723
|
} = props,
|
|
8675
8724
|
other = _objectWithoutPropertiesLoose(props, _excluded$2l);
|
|
8676
8725
|
|
|
8677
|
-
const
|
|
8726
|
+
const {
|
|
8727
|
+
anchorOrigin,
|
|
8728
|
+
badgeContent,
|
|
8729
|
+
max,
|
|
8730
|
+
variant,
|
|
8731
|
+
displayValue,
|
|
8732
|
+
invisible
|
|
8733
|
+
} = useBadge(_extends({}, props, {
|
|
8678
8734
|
anchorOrigin: anchorOriginProp,
|
|
8679
|
-
badgeContent: badgeContentProp,
|
|
8680
8735
|
max: maxProp,
|
|
8681
|
-
overlap: overlapProp,
|
|
8682
8736
|
variant: variantProp
|
|
8683
|
-
});
|
|
8684
|
-
let invisible = invisibleProp;
|
|
8685
|
-
|
|
8686
|
-
if (invisibleProp == null && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
|
|
8687
|
-
invisible = true;
|
|
8688
|
-
}
|
|
8689
|
-
|
|
8690
|
-
const {
|
|
8691
|
-
anchorOrigin = anchorOriginProp,
|
|
8692
|
-
badgeContent,
|
|
8693
|
-
max = maxProp,
|
|
8694
|
-
overlap = overlapProp,
|
|
8695
|
-
variant = variantProp
|
|
8696
|
-
} = invisible ? prevProps : props;
|
|
8737
|
+
}));
|
|
8697
8738
|
|
|
8698
8739
|
const ownerState = _extends({}, props, {
|
|
8699
8740
|
anchorOrigin,
|
|
@@ -8701,16 +8742,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8701
8742
|
classes: classesProp,
|
|
8702
8743
|
invisible,
|
|
8703
8744
|
max,
|
|
8704
|
-
|
|
8705
|
-
|
|
8745
|
+
variant,
|
|
8746
|
+
showZero
|
|
8706
8747
|
});
|
|
8707
8748
|
|
|
8708
|
-
let displayValue = '';
|
|
8709
|
-
|
|
8710
|
-
if (variant !== 'dot') {
|
|
8711
|
-
displayValue = badgeContent > max ? `${max}+` : badgeContent;
|
|
8712
|
-
}
|
|
8713
|
-
|
|
8714
8749
|
const classes = useUtilityClasses$1S(ownerState);
|
|
8715
8750
|
const Root = component || components.Root || 'span';
|
|
8716
8751
|
const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
|
|
@@ -8786,7 +8821,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8786
8821
|
* The props used for each slot inside the Badge.
|
|
8787
8822
|
* @default {}
|
|
8788
8823
|
*/
|
|
8789
|
-
componentsProps: propTypes.
|
|
8824
|
+
componentsProps: propTypes.shape({
|
|
8825
|
+
badge: propTypes.object,
|
|
8826
|
+
root: propTypes.object
|
|
8827
|
+
}),
|
|
8790
8828
|
|
|
8791
8829
|
/**
|
|
8792
8830
|
* If `true`, the badge is invisible.
|
|
@@ -8799,12 +8837,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8799
8837
|
*/
|
|
8800
8838
|
max: propTypes.number,
|
|
8801
8839
|
|
|
8802
|
-
/**
|
|
8803
|
-
* Wrapped shape the badge should overlap.
|
|
8804
|
-
* @default 'rectangular'
|
|
8805
|
-
*/
|
|
8806
|
-
overlap: propTypes.oneOf(['circular', 'rectangular']),
|
|
8807
|
-
|
|
8808
8840
|
/**
|
|
8809
8841
|
* Controls whether the badge is hidden when `badgeContent` is zero.
|
|
8810
8842
|
* @default false
|
|
@@ -9142,7 +9174,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9142
9174
|
/**
|
|
9143
9175
|
* @ignore
|
|
9144
9176
|
*/
|
|
9145
|
-
componentsProps: propTypes.
|
|
9177
|
+
componentsProps: propTypes.shape({
|
|
9178
|
+
root: propTypes.object
|
|
9179
|
+
}),
|
|
9146
9180
|
|
|
9147
9181
|
/**
|
|
9148
9182
|
* If `true`, the component is disabled.
|
|
@@ -9532,7 +9566,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9532
9566
|
/**
|
|
9533
9567
|
* @ignore
|
|
9534
9568
|
*/
|
|
9535
|
-
componentsProps: propTypes.
|
|
9569
|
+
componentsProps: propTypes.shape({
|
|
9570
|
+
root: propTypes.object
|
|
9571
|
+
}),
|
|
9536
9572
|
|
|
9537
9573
|
/**
|
|
9538
9574
|
* @ignore
|
|
@@ -9847,7 +9883,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9847
9883
|
if (rows) {
|
|
9848
9884
|
{
|
|
9849
9885
|
if (minRows || maxRows) {
|
|
9850
|
-
console.warn('
|
|
9886
|
+
console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
|
|
9851
9887
|
}
|
|
9852
9888
|
}
|
|
9853
9889
|
|
|
@@ -9938,7 +9974,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9938
9974
|
* The props used for each slot inside the Input.
|
|
9939
9975
|
* @default {}
|
|
9940
9976
|
*/
|
|
9941
|
-
componentsProps: propTypes.
|
|
9977
|
+
componentsProps: propTypes.shape({
|
|
9978
|
+
input: propTypes.object,
|
|
9979
|
+
root: propTypes.object
|
|
9980
|
+
}),
|
|
9942
9981
|
|
|
9943
9982
|
/**
|
|
9944
9983
|
* The default value. Use when the component is not controlled.
|
|
@@ -11042,7 +11081,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11042
11081
|
* The props used for each slot inside the Modal.
|
|
11043
11082
|
* @default {}
|
|
11044
11083
|
*/
|
|
11045
|
-
componentsProps: propTypes.
|
|
11084
|
+
componentsProps: propTypes.shape({
|
|
11085
|
+
root: propTypes.object
|
|
11086
|
+
}),
|
|
11046
11087
|
|
|
11047
11088
|
/**
|
|
11048
11089
|
* An HTML element or function that returns one.
|
|
@@ -14096,7 +14137,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14096
14137
|
const Mark = components.Mark || 'span';
|
|
14097
14138
|
const markProps = componentsProps.mark || {};
|
|
14098
14139
|
const MarkLabel = components.MarkLabel || 'span';
|
|
14099
|
-
const markLabelProps = componentsProps.markLabel || {};
|
|
14140
|
+
const markLabelProps = componentsProps.markLabel || {};
|
|
14141
|
+
const Input = components.Input || 'input';
|
|
14142
|
+
const inputProps = componentsProps.input || {}; // all props with defaults
|
|
14100
14143
|
// consider extracting to hook an reusing the lint rule for the varints
|
|
14101
14144
|
|
|
14102
14145
|
const ownerState = _extends({}, props, {
|
|
@@ -14194,7 +14237,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14194
14237
|
style: _extends({}, style, {
|
|
14195
14238
|
pointerEvents: disableSwap && active !== index ? 'none' : undefined
|
|
14196
14239
|
}, thumbProps.style),
|
|
14197
|
-
children: /*#__PURE__*/jsxRuntime_1(
|
|
14240
|
+
children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
|
|
14198
14241
|
tabIndex: tabIndex,
|
|
14199
14242
|
"data-index": index,
|
|
14200
14243
|
"aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
|
|
@@ -14219,8 +14262,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14219
14262
|
// So that VoiceOver's focus indicator matches the thumb's dimensions
|
|
14220
14263
|
width: '100%',
|
|
14221
14264
|
height: '100%'
|
|
14222
|
-
})
|
|
14223
|
-
})
|
|
14265
|
+
}, inputProps.style)
|
|
14266
|
+
}, !isHostComponent(Input) && {
|
|
14267
|
+
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
14268
|
+
}, inputProps))
|
|
14224
14269
|
}))
|
|
14225
14270
|
}))
|
|
14226
14271
|
}, index);
|
|
@@ -14293,6 +14338,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14293
14338
|
* @default {}
|
|
14294
14339
|
*/
|
|
14295
14340
|
components: propTypes.shape({
|
|
14341
|
+
Input: propTypes.elementType,
|
|
14296
14342
|
Mark: propTypes.elementType,
|
|
14297
14343
|
MarkLabel: propTypes.elementType,
|
|
14298
14344
|
Rail: propTypes.elementType,
|
|
@@ -14306,7 +14352,24 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14306
14352
|
* The props used for each slot inside the Slider.
|
|
14307
14353
|
* @default {}
|
|
14308
14354
|
*/
|
|
14309
|
-
componentsProps: propTypes.
|
|
14355
|
+
componentsProps: propTypes.shape({
|
|
14356
|
+
input: propTypes.object,
|
|
14357
|
+
mark: propTypes.object,
|
|
14358
|
+
markLabel: propTypes.object,
|
|
14359
|
+
rail: propTypes.object,
|
|
14360
|
+
root: propTypes.object,
|
|
14361
|
+
thumb: propTypes.object,
|
|
14362
|
+
track: propTypes.object,
|
|
14363
|
+
valueLabel: propTypes.shape({
|
|
14364
|
+
className: propTypes.string,
|
|
14365
|
+
components: propTypes.shape({
|
|
14366
|
+
Root: propTypes.elementType
|
|
14367
|
+
}),
|
|
14368
|
+
style: propTypes.object,
|
|
14369
|
+
value: propTypes.oneOfType([propTypes.arrayOf(propTypes.number), propTypes.number]),
|
|
14370
|
+
valueLabelDisplay: propTypes.oneOf(['auto', 'off', 'on'])
|
|
14371
|
+
})
|
|
14372
|
+
}),
|
|
14310
14373
|
|
|
14311
14374
|
/**
|
|
14312
14375
|
* The default value. Use when the component is not controlled.
|
|
@@ -14703,7 +14766,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14703
14766
|
* The props used for each slot inside the Switch.
|
|
14704
14767
|
* @default {}
|
|
14705
14768
|
*/
|
|
14706
|
-
componentsProps: propTypes.
|
|
14769
|
+
componentsProps: propTypes.shape({
|
|
14770
|
+
input: propTypes.object,
|
|
14771
|
+
root: propTypes.object,
|
|
14772
|
+
thumb: propTypes.object,
|
|
14773
|
+
track: propTypes.object
|
|
14774
|
+
}),
|
|
14707
14775
|
|
|
14708
14776
|
/**
|
|
14709
14777
|
* The default checked state. Use when the component is not controlled.
|
|
@@ -14945,7 +15013,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14945
15013
|
* The props used for each slot inside the Tabs.
|
|
14946
15014
|
* @default {}
|
|
14947
15015
|
*/
|
|
14948
|
-
componentsProps: propTypes.
|
|
15016
|
+
componentsProps: propTypes.shape({
|
|
15017
|
+
root: propTypes.object
|
|
15018
|
+
}),
|
|
14949
15019
|
|
|
14950
15020
|
/**
|
|
14951
15021
|
* The default value. Use when the component is not controlled.
|
|
@@ -15105,7 +15175,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
15105
15175
|
* The props used for each slot inside the TabPanel.
|
|
15106
15176
|
* @default {}
|
|
15107
15177
|
*/
|
|
15108
|
-
componentsProps: propTypes.
|
|
15178
|
+
componentsProps: propTypes.shape({
|
|
15179
|
+
root: propTypes.object
|
|
15180
|
+
}),
|
|
15109
15181
|
|
|
15110
15182
|
/**
|
|
15111
15183
|
* The value of the TabPanel. It will be shown when the Tab with the corresponding value is selected.
|
|
@@ -15404,7 +15476,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
15404
15476
|
* The props used for each slot inside the TabsList.
|
|
15405
15477
|
* @default {}
|
|
15406
15478
|
*/
|
|
15407
|
-
componentsProps: propTypes.
|
|
15479
|
+
componentsProps: propTypes.shape({
|
|
15480
|
+
root: propTypes.object
|
|
15481
|
+
})
|
|
15408
15482
|
} ;
|
|
15409
15483
|
var TabsListUnstyled$1 = TabsListUnstyled;
|
|
15410
15484
|
|
|
@@ -15610,7 +15684,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
15610
15684
|
* The props used for each slot inside the Tab.
|
|
15611
15685
|
* @default {}
|
|
15612
15686
|
*/
|
|
15613
|
-
componentsProps: propTypes.
|
|
15687
|
+
componentsProps: propTypes.shape({
|
|
15688
|
+
root: propTypes.object
|
|
15689
|
+
}),
|
|
15614
15690
|
|
|
15615
15691
|
/**
|
|
15616
15692
|
* If `true`, the component is disabled.
|
|
@@ -16739,7 +16815,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
16739
16815
|
const svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
16740
16816
|
var svgIconClasses$1 = svgIconClasses;
|
|
16741
16817
|
|
|
16742
|
-
const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"];
|
|
16818
|
+
const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
16743
16819
|
|
|
16744
16820
|
const useUtilityClasses$1K = ownerState => {
|
|
16745
16821
|
const {
|
|
@@ -16805,6 +16881,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
16805
16881
|
component = 'svg',
|
|
16806
16882
|
fontSize = 'medium',
|
|
16807
16883
|
htmlColor,
|
|
16884
|
+
inheritViewBox = false,
|
|
16808
16885
|
titleAccess,
|
|
16809
16886
|
viewBox = '0 0 24 24'
|
|
16810
16887
|
} = props,
|
|
@@ -16814,21 +16891,27 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
16814
16891
|
color,
|
|
16815
16892
|
component,
|
|
16816
16893
|
fontSize,
|
|
16894
|
+
inheritViewBox,
|
|
16817
16895
|
viewBox
|
|
16818
16896
|
});
|
|
16819
16897
|
|
|
16898
|
+
const more = {};
|
|
16899
|
+
|
|
16900
|
+
if (!inheritViewBox) {
|
|
16901
|
+
more.viewBox = viewBox;
|
|
16902
|
+
}
|
|
16903
|
+
|
|
16820
16904
|
const classes = useUtilityClasses$1K(ownerState);
|
|
16821
16905
|
return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
|
|
16822
16906
|
as: component,
|
|
16823
16907
|
className: clsx(classes.root, className),
|
|
16824
16908
|
ownerState: ownerState,
|
|
16825
16909
|
focusable: "false",
|
|
16826
|
-
viewBox: viewBox,
|
|
16827
16910
|
color: htmlColor,
|
|
16828
16911
|
"aria-hidden": titleAccess ? undefined : true,
|
|
16829
16912
|
role: titleAccess ? 'img' : undefined,
|
|
16830
16913
|
ref: ref
|
|
16831
|
-
}, other, {
|
|
16914
|
+
}, more, other, {
|
|
16832
16915
|
children: [children, titleAccess ? /*#__PURE__*/jsxRuntime_1("title", {
|
|
16833
16916
|
children: titleAccess
|
|
16834
16917
|
}) : null]
|
|
@@ -16885,6 +16968,15 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
16885
16968
|
*/
|
|
16886
16969
|
htmlColor: propTypes.string,
|
|
16887
16970
|
|
|
16971
|
+
/**
|
|
16972
|
+
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
16973
|
+
* prop will be ignored.
|
|
16974
|
+
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
16975
|
+
* `component`'s viewBox to the root node.
|
|
16976
|
+
* @default false
|
|
16977
|
+
*/
|
|
16978
|
+
inheritViewBox: propTypes.bool,
|
|
16979
|
+
|
|
16888
16980
|
/**
|
|
16889
16981
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
16890
16982
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
@@ -22586,7 +22678,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
22586
22678
|
* The props used for each slot inside.
|
|
22587
22679
|
* @default {}
|
|
22588
22680
|
*/
|
|
22589
|
-
componentsProps: propTypes.
|
|
22681
|
+
componentsProps: propTypes.shape({
|
|
22682
|
+
clearIndicator: propTypes.object
|
|
22683
|
+
}),
|
|
22590
22684
|
|
|
22591
22685
|
/**
|
|
22592
22686
|
* The default value. Use when the component is not controlled.
|
|
@@ -23733,7 +23827,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23733
23827
|
* The props used for each slot inside the Backdrop.
|
|
23734
23828
|
* @default {}
|
|
23735
23829
|
*/
|
|
23736
|
-
componentsProps: propTypes.
|
|
23830
|
+
componentsProps: propTypes.shape({
|
|
23831
|
+
root: propTypes.object
|
|
23832
|
+
}),
|
|
23737
23833
|
|
|
23738
23834
|
/**
|
|
23739
23835
|
* If `true`, the backdrop is invisible.
|
|
@@ -23764,18 +23860,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23764
23860
|
} ;
|
|
23765
23861
|
var Backdrop$1 = Backdrop;
|
|
23766
23862
|
|
|
23767
|
-
const _excluded$1K = ["component", "components", "componentsProps", "color", "invisible", "badgeContent", "showZero", "variant"];
|
|
23768
|
-
const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning'
|
|
23863
|
+
const _excluded$1K = ["anchorOrigin", "component", "components", "componentsProps", "overlap", "color", "invisible", "badgeContent", "showZero", "variant"];
|
|
23864
|
+
const badgeClasses = _extends({}, badgeUnstyledClasses$1, generateUtilityClasses('MuiBadge', ['colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'overlapRectangular', 'overlapCircular', // TODO: v6 remove the overlap value from these class keys
|
|
23865
|
+
'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']));
|
|
23769
23866
|
const RADIUS_STANDARD = 10;
|
|
23770
23867
|
const RADIUS_DOT = 4;
|
|
23771
23868
|
|
|
23772
23869
|
const extendUtilityClasses$2 = ownerState => {
|
|
23773
23870
|
const {
|
|
23774
23871
|
color,
|
|
23872
|
+
anchorOrigin,
|
|
23873
|
+
overlap,
|
|
23775
23874
|
classes = {}
|
|
23776
23875
|
} = ownerState;
|
|
23777
23876
|
return _extends({}, classes, {
|
|
23778
|
-
badge: clsx(classes.badge, color !== 'default' && [getBadgeUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`]])
|
|
23877
|
+
badge: clsx(classes.badge, getBadgeUtilityClass(`anchorOrigin${capitalize(anchorOrigin.vertical)}${capitalize(anchorOrigin.horizontal)}${capitalize(overlap)}`), getBadgeUtilityClass(`overlap${capitalize(overlap)}`), color !== 'default' && [getBadgeUtilityClass(`color${capitalize(color)}`), classes[`color${capitalize(color)}`]])
|
|
23779
23878
|
});
|
|
23780
23879
|
};
|
|
23781
23880
|
|
|
@@ -23917,9 +24016,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23917
24016
|
});
|
|
23918
24017
|
|
|
23919
24018
|
const {
|
|
24019
|
+
anchorOrigin: anchorOriginProp = {
|
|
24020
|
+
vertical: 'top',
|
|
24021
|
+
horizontal: 'right'
|
|
24022
|
+
},
|
|
23920
24023
|
component = 'span',
|
|
23921
24024
|
components = {},
|
|
23922
24025
|
componentsProps = {},
|
|
24026
|
+
overlap: overlapProp = 'rectangular',
|
|
23923
24027
|
color: colorProp = 'default',
|
|
23924
24028
|
invisible: invisibleProp,
|
|
23925
24029
|
badgeContent: badgeContentProp,
|
|
@@ -23929,7 +24033,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23929
24033
|
other = _objectWithoutPropertiesLoose(props, _excluded$1K);
|
|
23930
24034
|
|
|
23931
24035
|
const prevProps = usePreviousProps$1({
|
|
23932
|
-
|
|
24036
|
+
anchorOrigin: anchorOriginProp,
|
|
24037
|
+
color: colorProp,
|
|
24038
|
+
overlap: overlapProp
|
|
23933
24039
|
});
|
|
23934
24040
|
let invisible = invisibleProp;
|
|
23935
24041
|
|
|
@@ -23938,16 +24044,21 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23938
24044
|
}
|
|
23939
24045
|
|
|
23940
24046
|
const {
|
|
23941
|
-
color = colorProp
|
|
24047
|
+
color = colorProp,
|
|
24048
|
+
overlap = overlapProp,
|
|
24049
|
+
anchorOrigin = anchorOriginProp
|
|
23942
24050
|
} = invisible ? prevProps : props;
|
|
23943
24051
|
|
|
23944
24052
|
const ownerState = _extends({}, props, {
|
|
24053
|
+
anchorOrigin,
|
|
23945
24054
|
invisible,
|
|
23946
|
-
color
|
|
24055
|
+
color,
|
|
24056
|
+
overlap
|
|
23947
24057
|
});
|
|
23948
24058
|
|
|
23949
24059
|
const classes = extendUtilityClasses$2(ownerState);
|
|
23950
24060
|
return /*#__PURE__*/jsxRuntime_1(BadgeUnstyled$1, _extends({
|
|
24061
|
+
anchorOrigin: anchorOrigin,
|
|
23951
24062
|
invisible: invisibleProp,
|
|
23952
24063
|
badgeContent: badgeContentProp,
|
|
23953
24064
|
showZero: showZero,
|
|
@@ -23961,12 +24072,14 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
23961
24072
|
root: _extends({}, componentsProps.root, shouldSpreadAdditionalProps(components.Root) && {
|
|
23962
24073
|
as: component,
|
|
23963
24074
|
ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState, {
|
|
23964
|
-
color
|
|
24075
|
+
color,
|
|
24076
|
+
overlap
|
|
23965
24077
|
})
|
|
23966
24078
|
}),
|
|
23967
24079
|
badge: _extends({}, componentsProps.badge, shouldSpreadAdditionalProps(components.Badge) && {
|
|
23968
24080
|
ownerState: _extends({}, (_componentsProps$badg = componentsProps.badge) == null ? void 0 : _componentsProps$badg.ownerState, {
|
|
23969
|
-
color
|
|
24081
|
+
color,
|
|
24082
|
+
overlap
|
|
23970
24083
|
})
|
|
23971
24084
|
})
|
|
23972
24085
|
},
|
|
@@ -24037,7 +24150,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
24037
24150
|
* The props used for each slot inside the Badge.
|
|
24038
24151
|
* @default {}
|
|
24039
24152
|
*/
|
|
24040
|
-
componentsProps: propTypes.
|
|
24153
|
+
componentsProps: propTypes.shape({
|
|
24154
|
+
badge: propTypes.object,
|
|
24155
|
+
root: propTypes.object
|
|
24156
|
+
}),
|
|
24041
24157
|
|
|
24042
24158
|
/**
|
|
24043
24159
|
* If `true`, the badge is invisible.
|
|
@@ -27437,7 +27553,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
27437
27553
|
* The props used for each slot inside the Modal.
|
|
27438
27554
|
* @default {}
|
|
27439
27555
|
*/
|
|
27440
|
-
componentsProps: propTypes.
|
|
27556
|
+
componentsProps: propTypes.shape({
|
|
27557
|
+
root: propTypes.object
|
|
27558
|
+
}),
|
|
27441
27559
|
|
|
27442
27560
|
/**
|
|
27443
27561
|
* An HTML element or function that returns one.
|
|
@@ -30079,7 +30197,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30079
30197
|
* The props used for each slot inside the Input.
|
|
30080
30198
|
* @default {}
|
|
30081
30199
|
*/
|
|
30082
|
-
componentsProps: propTypes.
|
|
30200
|
+
componentsProps: propTypes.shape({
|
|
30201
|
+
input: propTypes.object,
|
|
30202
|
+
root: propTypes.object
|
|
30203
|
+
}),
|
|
30083
30204
|
|
|
30084
30205
|
/**
|
|
30085
30206
|
* The default value. Use when the component is not controlled.
|
|
@@ -30506,7 +30627,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
30506
30627
|
* The props used for each slot inside the Input.
|
|
30507
30628
|
* @default {}
|
|
30508
30629
|
*/
|
|
30509
|
-
componentsProps: propTypes.
|
|
30630
|
+
componentsProps: propTypes.shape({
|
|
30631
|
+
input: propTypes.object,
|
|
30632
|
+
root: propTypes.object
|
|
30633
|
+
}),
|
|
30510
30634
|
|
|
30511
30635
|
/**
|
|
30512
30636
|
* The default value. Use when the component is not controlled.
|
|
@@ -31127,7 +31251,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
31127
31251
|
* The props used for each slot inside.
|
|
31128
31252
|
* @default {}
|
|
31129
31253
|
*/
|
|
31130
|
-
componentsProps: propTypes.
|
|
31254
|
+
componentsProps: propTypes.shape({
|
|
31255
|
+
typography: propTypes.object
|
|
31256
|
+
}),
|
|
31131
31257
|
|
|
31132
31258
|
/**
|
|
31133
31259
|
* A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
|
|
@@ -34055,7 +34181,10 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34055
34181
|
* The props used for each slot inside the Input.
|
|
34056
34182
|
* @default {}
|
|
34057
34183
|
*/
|
|
34058
|
-
componentsProps: propTypes.
|
|
34184
|
+
componentsProps: propTypes.shape({
|
|
34185
|
+
input: propTypes.object,
|
|
34186
|
+
root: propTypes.object
|
|
34187
|
+
}),
|
|
34059
34188
|
|
|
34060
34189
|
/**
|
|
34061
34190
|
* The default value. Use when the component is not controlled.
|
|
@@ -34463,6 +34592,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34463
34592
|
}, ownerState.size === 'small' && {
|
|
34464
34593
|
transform: 'translate(12px, 13px) scale(1)'
|
|
34465
34594
|
}, ownerState.shrink && _extends({
|
|
34595
|
+
userSelect: 'none',
|
|
34596
|
+
pointerEvents: 'auto',
|
|
34466
34597
|
transform: 'translate(12px, 7px) scale(0.75)',
|
|
34467
34598
|
maxWidth: 'calc(133% - 24px)'
|
|
34468
34599
|
}, ownerState.size === 'small' && {
|
|
@@ -34476,6 +34607,8 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
34476
34607
|
}, ownerState.size === 'small' && {
|
|
34477
34608
|
transform: 'translate(14px, 9px) scale(1)'
|
|
34478
34609
|
}, ownerState.shrink && {
|
|
34610
|
+
userSelect: 'none',
|
|
34611
|
+
pointerEvents: 'auto',
|
|
34479
34612
|
maxWidth: 'calc(133% - 24px)',
|
|
34480
34613
|
transform: 'translate(14px, -9px) scale(0.75)'
|
|
34481
34614
|
})));
|
|
@@ -36009,7 +36142,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
36009
36142
|
* The props used for each slot inside the Input.
|
|
36010
36143
|
* @default {}
|
|
36011
36144
|
*/
|
|
36012
|
-
componentsProps: propTypes.
|
|
36145
|
+
componentsProps: propTypes.shape({
|
|
36146
|
+
root: propTypes.object
|
|
36147
|
+
}),
|
|
36013
36148
|
|
|
36014
36149
|
/**
|
|
36015
36150
|
* The container component used when a `ListItemSecondaryAction` is the last child.
|
|
@@ -42354,11 +42489,11 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42354
42489
|
return !Component || !isHostComponent(Component);
|
|
42355
42490
|
};
|
|
42356
42491
|
|
|
42357
|
-
const Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(
|
|
42492
|
+
const Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(sliderProps, ref) {
|
|
42358
42493
|
var _componentsProps$root, _componentsProps$thum, _componentsProps$trac, _componentsProps$valu;
|
|
42359
42494
|
|
|
42360
42495
|
const props = useThemeProps({
|
|
42361
|
-
props:
|
|
42496
|
+
props: sliderProps,
|
|
42362
42497
|
name: 'MuiSlider'
|
|
42363
42498
|
});
|
|
42364
42499
|
const theme = useTheme();
|
|
@@ -42482,6 +42617,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42482
42617
|
* @default {}
|
|
42483
42618
|
*/
|
|
42484
42619
|
components: propTypes.shape({
|
|
42620
|
+
Input: propTypes.elementType,
|
|
42485
42621
|
Mark: propTypes.elementType,
|
|
42486
42622
|
MarkLabel: propTypes.elementType,
|
|
42487
42623
|
Rail: propTypes.elementType,
|
|
@@ -42495,7 +42631,24 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
42495
42631
|
* The props used for each slot inside the Slider.
|
|
42496
42632
|
* @default {}
|
|
42497
42633
|
*/
|
|
42498
|
-
componentsProps: propTypes.
|
|
42634
|
+
componentsProps: propTypes.shape({
|
|
42635
|
+
input: propTypes.object,
|
|
42636
|
+
mark: propTypes.object,
|
|
42637
|
+
markLabel: propTypes.object,
|
|
42638
|
+
rail: propTypes.object,
|
|
42639
|
+
root: propTypes.object,
|
|
42640
|
+
thumb: propTypes.object,
|
|
42641
|
+
track: propTypes.object,
|
|
42642
|
+
valueLabel: propTypes.shape({
|
|
42643
|
+
className: propTypes.string,
|
|
42644
|
+
components: propTypes.shape({
|
|
42645
|
+
Root: propTypes.elementType
|
|
42646
|
+
}),
|
|
42647
|
+
style: propTypes.object,
|
|
42648
|
+
value: propTypes.oneOfType([propTypes.arrayOf(propTypes.number), propTypes.number]),
|
|
42649
|
+
valueLabelDisplay: propTypes.oneOf(['auto', 'off', 'on'])
|
|
42650
|
+
})
|
|
42651
|
+
}),
|
|
42499
42652
|
|
|
42500
42653
|
/**
|
|
42501
42654
|
* The default value. Use when the component is not controlled.
|
|
@@ -44687,7 +44840,12 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
44687
44840
|
* and `componentsProps.transition` prop values win over `TransitionProps` if both are applied.
|
|
44688
44841
|
* @default {}
|
|
44689
44842
|
*/
|
|
44690
|
-
componentsProps: propTypes.
|
|
44843
|
+
componentsProps: propTypes.shape({
|
|
44844
|
+
arrow: propTypes.object,
|
|
44845
|
+
popper: propTypes.object,
|
|
44846
|
+
tooltip: propTypes.object,
|
|
44847
|
+
transition: propTypes.object
|
|
44848
|
+
}),
|
|
44691
44849
|
|
|
44692
44850
|
/**
|
|
44693
44851
|
* Set to `true` if the `title` acts as an accessible description.
|
|
@@ -45969,7 +46127,9 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
45969
46127
|
* The props used for each slot inside.
|
|
45970
46128
|
* @default {}
|
|
45971
46129
|
*/
|
|
45972
|
-
componentsProps: propTypes.
|
|
46130
|
+
componentsProps: propTypes.shape({
|
|
46131
|
+
label: propTypes.object
|
|
46132
|
+
}),
|
|
45973
46133
|
|
|
45974
46134
|
/**
|
|
45975
46135
|
* If `true`, the step is marked as failed.
|
|
@@ -50987,6 +51147,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
50987
51147
|
|
|
50988
51148
|
/**
|
|
50989
51149
|
* Props applied to the [`InputLabel`](/api/input-label/) element.
|
|
51150
|
+
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
50990
51151
|
*/
|
|
50991
51152
|
InputLabelProps: propTypes.object,
|
|
50992
51153
|
|
|
@@ -52117,6 +52278,7 @@ See https://mui.com/r/migration-v4/#material-ui-core-styles for more details.` )
|
|
|
52117
52278
|
exports.unstable_useId = useId;
|
|
52118
52279
|
exports.unsupportedProp = unsupportedProp;
|
|
52119
52280
|
exports.useAutocomplete = useAutocomplete;
|
|
52281
|
+
exports.useBadge = useBadge;
|
|
52120
52282
|
exports.useButton = useButton;
|
|
52121
52283
|
exports.useControlled = useControlled;
|
|
52122
52284
|
exports.useEventCallback = useEventCallback;
|