@mui/material 5.10.12 → 5.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/Alert.d.ts +34 -3
- package/Alert/Alert.js +46 -9
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +10 -0
- package/Autocomplete/Autocomplete.js +27 -11
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +18 -1
- package/AvatarGroup/AvatarGroup.js +25 -6
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +33 -3
- package/Backdrop/Backdrop.js +46 -11
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +11 -3
- package/Badge/Badge.js +11 -3
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +58 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +48 -9
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +12 -0
- package/FormControlLabel/FormControlLabel.js +17 -5
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +49 -10
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +34 -3
- package/InputBase/InputBase.js +45 -8
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.d.ts +32 -3
- package/ListItem/ListItem.js +41 -9
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +11 -3
- package/Modal/Modal.js +11 -3
- package/NativeSelect/NativeSelectInput.js +11 -9
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.js +26 -8
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +19 -7
- package/PaginationItem/PaginationItem.js +31 -22
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +37 -37
- package/README.md +1 -0
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +3 -3
- package/Select/Select.js +3 -3
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.d.ts +14 -2
- package/Slider/Slider.js +12 -3
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.d.ts +11 -0
- package/StepLabel/StepLabel.js +15 -3
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +43 -6
- package/Tooltip/Tooltip.js +68 -31
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/esm/Alert/Alert.js +46 -9
- package/esm/Autocomplete/Autocomplete.js +27 -11
- package/esm/AvatarGroup/AvatarGroup.js +25 -6
- package/esm/Backdrop/Backdrop.js +46 -11
- package/esm/Badge/Badge.js +11 -3
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/FilledInput/FilledInput.js +48 -9
- package/esm/FormControlLabel/FormControlLabel.js +17 -5
- package/esm/Input/Input.js +49 -10
- package/esm/InputBase/InputBase.js +45 -8
- package/esm/ListItem/ListItem.js +41 -9
- package/esm/Modal/Modal.js +11 -3
- package/esm/NativeSelect/NativeSelectInput.js +11 -9
- package/esm/OutlinedInput/OutlinedInput.js +26 -8
- package/esm/PaginationItem/PaginationItem.js +31 -22
- package/esm/Select/Select.js +3 -3
- package/esm/Slider/Slider.js +12 -3
- package/esm/StepLabel/StepLabel.js +15 -3
- package/esm/Tooltip/Tooltip.js +68 -31
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +48 -9
- package/legacy/Autocomplete/Autocomplete.js +27 -10
- package/legacy/AvatarGroup/AvatarGroup.js +26 -6
- package/legacy/Backdrop/Backdrop.js +48 -11
- package/legacy/Badge/Badge.js +11 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/FilledInput/FilledInput.js +49 -9
- package/legacy/FormControlLabel/FormControlLabel.js +17 -4
- package/legacy/Input/Input.js +50 -10
- package/legacy/InputBase/InputBase.js +47 -8
- package/legacy/ListItem/ListItem.js +42 -8
- package/legacy/Modal/Modal.js +11 -3
- package/legacy/NativeSelect/NativeSelectInput.js +11 -9
- package/legacy/OutlinedInput/OutlinedInput.js +27 -8
- package/legacy/PaginationItem/PaginationItem.js +32 -22
- package/legacy/Select/Select.js +3 -3
- package/legacy/Slider/Slider.js +12 -3
- package/legacy/StepLabel/StepLabel.js +16 -3
- package/legacy/Tooltip/Tooltip.js +63 -22
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +72 -72
- package/modern/Alert/Alert.js +45 -8
- package/modern/Autocomplete/Autocomplete.js +26 -10
- package/modern/AvatarGroup/AvatarGroup.js +24 -5
- package/modern/Backdrop/Backdrop.js +45 -10
- package/modern/Badge/Badge.js +11 -3
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/FilledInput/FilledInput.js +46 -9
- package/modern/FormControlLabel/FormControlLabel.js +15 -5
- package/modern/Input/Input.js +47 -10
- package/modern/InputBase/InputBase.js +43 -8
- package/modern/ListItem/ListItem.js +41 -9
- package/modern/Modal/Modal.js +11 -3
- package/modern/NativeSelect/NativeSelectInput.js +11 -9
- package/modern/OutlinedInput/OutlinedInput.js +25 -7
- package/modern/PaginationItem/PaginationItem.js +31 -22
- package/modern/Select/Select.js +3 -3
- package/modern/Slider/Slider.js +12 -3
- package/modern/StepLabel/StepLabel.js +13 -3
- package/modern/Tooltip/Tooltip.js +58 -17
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +534 -165
- package/umd/material-ui.production.min.js +14 -14
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
4
|
-
const _excluded = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
|
|
4
|
+
const _excluded = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
@@ -215,6 +215,8 @@ const inputGlobalStyles = /*#__PURE__*/_jsx(GlobalStyles, {
|
|
|
215
215
|
|
|
216
216
|
|
|
217
217
|
const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref) {
|
|
218
|
+
var _slotProps$input;
|
|
219
|
+
|
|
218
220
|
const props = useThemeProps({
|
|
219
221
|
props: inProps,
|
|
220
222
|
name: 'MuiInputBase'
|
|
@@ -250,6 +252,8 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
250
252
|
readOnly,
|
|
251
253
|
renderSuffix,
|
|
252
254
|
rows,
|
|
255
|
+
slotProps = {},
|
|
256
|
+
slots = {},
|
|
253
257
|
startAdornment,
|
|
254
258
|
type = 'text',
|
|
255
259
|
value: valueProp
|
|
@@ -453,10 +457,10 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
453
457
|
});
|
|
454
458
|
|
|
455
459
|
const classes = useUtilityClasses(ownerState);
|
|
456
|
-
const Root = components.Root || InputBaseRoot;
|
|
457
|
-
const rootProps = componentsProps.root || {};
|
|
458
|
-
const Input = components.Input || InputBaseComponent;
|
|
459
|
-
inputProps = _extends({}, inputProps, componentsProps.input);
|
|
460
|
+
const Root = slots.root || components.Root || InputBaseRoot;
|
|
461
|
+
const rootProps = slotProps.root || componentsProps.root || {};
|
|
462
|
+
const Input = slots.input || components.Input || InputBaseComponent;
|
|
463
|
+
inputProps = _extends({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
|
|
460
464
|
return /*#__PURE__*/_jsxs(React.Fragment, {
|
|
461
465
|
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
462
466
|
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
@@ -548,8 +552,11 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
548
552
|
.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
549
553
|
|
|
550
554
|
/**
|
|
551
|
-
* The components used for each slot inside
|
|
552
|
-
*
|
|
555
|
+
* The components used for each slot inside.
|
|
556
|
+
*
|
|
557
|
+
* This prop is an alias for the `slots` prop.
|
|
558
|
+
* It's recommended to use the `slots` prop instead.
|
|
559
|
+
*
|
|
553
560
|
* @default {}
|
|
554
561
|
*/
|
|
555
562
|
components: PropTypes.shape({
|
|
@@ -558,7 +565,12 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
558
565
|
}),
|
|
559
566
|
|
|
560
567
|
/**
|
|
561
|
-
* The props
|
|
568
|
+
* The extra props for the slot components.
|
|
569
|
+
* You can override the existing props or add new ones.
|
|
570
|
+
*
|
|
571
|
+
* This prop is an alias for the `slotProps` prop.
|
|
572
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
573
|
+
*
|
|
562
574
|
* @default {}
|
|
563
575
|
*/
|
|
564
576
|
componentsProps: PropTypes.shape({
|
|
@@ -726,6 +738,31 @@ process.env.NODE_ENV !== "production" ? InputBase.propTypes
|
|
|
726
738
|
/* @typescript-to-proptypes-ignore */
|
|
727
739
|
.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),
|
|
728
740
|
|
|
741
|
+
/**
|
|
742
|
+
* The extra props for the slot components.
|
|
743
|
+
* You can override the existing props or add new ones.
|
|
744
|
+
*
|
|
745
|
+
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
746
|
+
*
|
|
747
|
+
* @default {}
|
|
748
|
+
*/
|
|
749
|
+
slotProps: PropTypes.shape({
|
|
750
|
+
input: PropTypes.object,
|
|
751
|
+
root: PropTypes.object
|
|
752
|
+
}),
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* The components used for each slot inside.
|
|
756
|
+
*
|
|
757
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
758
|
+
*
|
|
759
|
+
* @default {}
|
|
760
|
+
*/
|
|
761
|
+
slots: PropTypes.shape({
|
|
762
|
+
input: PropTypes.elementType,
|
|
763
|
+
root: PropTypes.elementType
|
|
764
|
+
}),
|
|
765
|
+
|
|
729
766
|
/**
|
|
730
767
|
* Start `InputAdornment` for this component.
|
|
731
768
|
*/
|
package/esm/ListItem/ListItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
3
|
const _excluded = ["className"],
|
|
4
|
-
_excluded2 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected"];
|
|
4
|
+
_excluded2 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import clsx from 'clsx';
|
|
@@ -159,7 +159,9 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
159
159
|
divider = false,
|
|
160
160
|
focusVisibleClassName,
|
|
161
161
|
secondaryAction,
|
|
162
|
-
selected = false
|
|
162
|
+
selected = false,
|
|
163
|
+
slotProps = {},
|
|
164
|
+
slots = {}
|
|
163
165
|
} = props,
|
|
164
166
|
ContainerProps = _objectWithoutPropertiesLoose(props.ContainerProps, _excluded),
|
|
165
167
|
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
@@ -199,8 +201,8 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
199
201
|
|
|
200
202
|
const classes = useUtilityClasses(ownerState);
|
|
201
203
|
const handleRef = useForkRef(listItemRef, ref);
|
|
202
|
-
const Root = components.Root || ListItemRoot;
|
|
203
|
-
const rootProps = componentsProps.root || {};
|
|
204
|
+
const Root = slots.root || components.Root || ListItemRoot;
|
|
205
|
+
const rootProps = slotProps.root || componentsProps.root || {};
|
|
204
206
|
|
|
205
207
|
const componentProps = _extends({
|
|
206
208
|
className: clsx(classes.root, rootProps.className, className),
|
|
@@ -250,8 +252,7 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
250
252
|
value: childContext,
|
|
251
253
|
children: /*#__PURE__*/_jsxs(Root, _extends({}, rootProps, {
|
|
252
254
|
as: Component,
|
|
253
|
-
ref: handleRef
|
|
254
|
-
ownerState: ownerState
|
|
255
|
+
ref: handleRef
|
|
255
256
|
}, !isHostComponent(Root) && {
|
|
256
257
|
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
257
258
|
}, componentProps, {
|
|
@@ -334,8 +335,11 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
334
335
|
component: PropTypes.elementType,
|
|
335
336
|
|
|
336
337
|
/**
|
|
337
|
-
* The components used for each slot inside
|
|
338
|
-
*
|
|
338
|
+
* The components used for each slot inside.
|
|
339
|
+
*
|
|
340
|
+
* This prop is an alias for the `slots` prop.
|
|
341
|
+
* It's recommended to use the `slots` prop instead.
|
|
342
|
+
*
|
|
339
343
|
* @default {}
|
|
340
344
|
*/
|
|
341
345
|
components: PropTypes.shape({
|
|
@@ -343,7 +347,12 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
343
347
|
}),
|
|
344
348
|
|
|
345
349
|
/**
|
|
346
|
-
* The props
|
|
350
|
+
* The extra props for the slot components.
|
|
351
|
+
* You can override the existing props or add new ones.
|
|
352
|
+
*
|
|
353
|
+
* This prop is an alias for the `slotProps` prop.
|
|
354
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
355
|
+
*
|
|
347
356
|
* @default {}
|
|
348
357
|
*/
|
|
349
358
|
componentsProps: PropTypes.shape({
|
|
@@ -413,6 +422,29 @@ process.env.NODE_ENV !== "production" ? ListItem.propTypes
|
|
|
413
422
|
*/
|
|
414
423
|
selected: PropTypes.bool,
|
|
415
424
|
|
|
425
|
+
/**
|
|
426
|
+
* The extra props for the slot components.
|
|
427
|
+
* You can override the existing props or add new ones.
|
|
428
|
+
*
|
|
429
|
+
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
430
|
+
*
|
|
431
|
+
* @default {}
|
|
432
|
+
*/
|
|
433
|
+
slotProps: PropTypes.shape({
|
|
434
|
+
root: PropTypes.object
|
|
435
|
+
}),
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* The components used for each slot inside.
|
|
439
|
+
*
|
|
440
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
441
|
+
*
|
|
442
|
+
* @default {}
|
|
443
|
+
*/
|
|
444
|
+
slots: PropTypes.shape({
|
|
445
|
+
root: PropTypes.elementType
|
|
446
|
+
}),
|
|
447
|
+
|
|
416
448
|
/**
|
|
417
449
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
418
450
|
*/
|
package/esm/Modal/Modal.js
CHANGED
|
@@ -188,8 +188,11 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
188
188
|
component: PropTypes.elementType,
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
* The components used for each slot inside
|
|
192
|
-
*
|
|
191
|
+
* The components used for each slot inside.
|
|
192
|
+
*
|
|
193
|
+
* This prop is an alias for the `slots` prop.
|
|
194
|
+
* It's recommended to use the `slots` prop instead.
|
|
195
|
+
*
|
|
193
196
|
* @default {}
|
|
194
197
|
*/
|
|
195
198
|
components: PropTypes.shape({
|
|
@@ -198,7 +201,12 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes
|
|
|
198
201
|
}),
|
|
199
202
|
|
|
200
203
|
/**
|
|
201
|
-
* The props
|
|
204
|
+
* The extra props for the slot components.
|
|
205
|
+
* You can override the existing props or add new ones.
|
|
206
|
+
*
|
|
207
|
+
* This prop is an alias for the `slotProps` prop.
|
|
208
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
209
|
+
*
|
|
202
210
|
* @default {}
|
|
203
211
|
*/
|
|
204
212
|
componentsProps: PropTypes.shape({
|
|
@@ -41,12 +41,14 @@ export const nativeSelectSelectStyles = ({
|
|
|
41
41
|
borderRadius: 0,
|
|
42
42
|
// Reset
|
|
43
43
|
cursor: 'pointer',
|
|
44
|
-
'&:focus': {
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
'&:focus': _extends({}, theme.vars ? {
|
|
45
|
+
backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`
|
|
46
|
+
} : {
|
|
47
|
+
backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'
|
|
48
|
+
}, {
|
|
47
49
|
borderRadius: 0 // Reset Chrome style
|
|
48
50
|
|
|
49
|
-
},
|
|
51
|
+
}),
|
|
50
52
|
// Remove IE11 arrow
|
|
51
53
|
'&::-ms-expand': {
|
|
52
54
|
display: 'none'
|
|
@@ -58,7 +60,7 @@ export const nativeSelectSelectStyles = ({
|
|
|
58
60
|
height: 'auto'
|
|
59
61
|
},
|
|
60
62
|
'&:not([multiple]) option, &:not([multiple]) optgroup': {
|
|
61
|
-
backgroundColor: theme.palette.background.paper
|
|
63
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
62
64
|
},
|
|
63
65
|
// Bump specificity to allow extending custom inputs
|
|
64
66
|
'&&&': {
|
|
@@ -71,9 +73,9 @@ export const nativeSelectSelectStyles = ({
|
|
|
71
73
|
paddingRight: 32
|
|
72
74
|
}
|
|
73
75
|
}, ownerState.variant === 'outlined' && {
|
|
74
|
-
borderRadius: theme.shape.borderRadius,
|
|
76
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
75
77
|
'&:focus': {
|
|
76
|
-
borderRadius: theme.shape.borderRadius // Reset the reset for Chrome style
|
|
78
|
+
borderRadius: (theme.vars || theme).shape.borderRadius // Reset the reset for Chrome style
|
|
77
79
|
|
|
78
80
|
},
|
|
79
81
|
'&&&': {
|
|
@@ -105,9 +107,9 @@ export const nativeSelectIconStyles = ({
|
|
|
105
107
|
// Center vertically, height is 1em
|
|
106
108
|
pointerEvents: 'none',
|
|
107
109
|
// Don't block pointer events on the select under the icon.
|
|
108
|
-
color: theme.palette.action.active,
|
|
110
|
+
color: (theme.vars || theme).palette.action.active,
|
|
109
111
|
[`&.${nativeSelectClasses.disabled}`]: {
|
|
110
|
-
color: theme.palette.action.disabled
|
|
112
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
111
113
|
}
|
|
112
114
|
}, ownerState.open && {
|
|
113
115
|
transform: 'rotate(180deg)'
|
|
@@ -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 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "type"];
|
|
3
|
+
const _excluded = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { refType } from '@mui/utils';
|
|
@@ -119,7 +119,7 @@ const OutlinedInputInput = styled(InputBaseInput, {
|
|
|
119
119
|
paddingRight: 0
|
|
120
120
|
}));
|
|
121
121
|
const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inProps, ref) {
|
|
122
|
-
var _React$Fragment;
|
|
122
|
+
var _ref, _slots$root, _ref2, _slots$input, _React$Fragment;
|
|
123
123
|
|
|
124
124
|
const props = useThemeProps({
|
|
125
125
|
props: inProps,
|
|
@@ -133,6 +133,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
133
133
|
label,
|
|
134
134
|
multiline = false,
|
|
135
135
|
notched,
|
|
136
|
+
slots = {},
|
|
136
137
|
type = 'text'
|
|
137
138
|
} = props,
|
|
138
139
|
other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
@@ -158,11 +159,13 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
158
159
|
type
|
|
159
160
|
});
|
|
160
161
|
|
|
162
|
+
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
|
|
163
|
+
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
|
|
161
164
|
return /*#__PURE__*/_jsx(InputBase, _extends({
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
},
|
|
165
|
+
slots: {
|
|
166
|
+
root: RootSlot,
|
|
167
|
+
input: InputSlot
|
|
168
|
+
},
|
|
166
169
|
renderSuffix: state => /*#__PURE__*/_jsx(NotchedOutlineRoot, {
|
|
167
170
|
ownerState: ownerState,
|
|
168
171
|
className: classes.notchedOutline,
|
|
@@ -218,8 +221,11 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
218
221
|
.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
219
222
|
|
|
220
223
|
/**
|
|
221
|
-
* The components used for each slot inside
|
|
222
|
-
*
|
|
224
|
+
* The components used for each slot inside.
|
|
225
|
+
*
|
|
226
|
+
* This prop is an alias for the `slots` prop.
|
|
227
|
+
* It's recommended to use the `slots` prop instead.
|
|
228
|
+
*
|
|
223
229
|
* @default {}
|
|
224
230
|
*/
|
|
225
231
|
components: PropTypes.shape({
|
|
@@ -347,6 +353,18 @@ process.env.NODE_ENV !== "production" ? OutlinedInput.propTypes
|
|
|
347
353
|
*/
|
|
348
354
|
rows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
349
355
|
|
|
356
|
+
/**
|
|
357
|
+
* The components used for each slot inside.
|
|
358
|
+
*
|
|
359
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
360
|
+
*
|
|
361
|
+
* @default {}
|
|
362
|
+
*/
|
|
363
|
+
slots: PropTypes.shape({
|
|
364
|
+
input: PropTypes.elementType,
|
|
365
|
+
root: PropTypes.elementType
|
|
366
|
+
}),
|
|
367
|
+
|
|
350
368
|
/**
|
|
351
369
|
* Start `InputAdornment` for this component.
|
|
352
370
|
*/
|
|
@@ -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 = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "type", "variant"];
|
|
3
|
+
const _excluded = ["className", "color", "component", "components", "disabled", "page", "selected", "shape", "size", "slots", "type", "variant"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -216,17 +216,13 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
|
|
|
216
216
|
className,
|
|
217
217
|
color = 'standard',
|
|
218
218
|
component,
|
|
219
|
-
components = {
|
|
220
|
-
first: FirstPageIcon,
|
|
221
|
-
last: LastPageIcon,
|
|
222
|
-
next: NavigateNextIcon,
|
|
223
|
-
previous: NavigateBeforeIcon
|
|
224
|
-
},
|
|
219
|
+
components = {},
|
|
225
220
|
disabled = false,
|
|
226
221
|
page,
|
|
227
222
|
selected = false,
|
|
228
223
|
shape = 'circular',
|
|
229
224
|
size = 'medium',
|
|
225
|
+
slots = {},
|
|
230
226
|
type = 'page',
|
|
231
227
|
variant = 'text'
|
|
232
228
|
} = props,
|
|
@@ -245,15 +241,15 @@ const PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inP
|
|
|
245
241
|
const theme = useTheme();
|
|
246
242
|
const classes = useUtilityClasses(ownerState);
|
|
247
243
|
const normalizedIcons = theme.direction === 'rtl' ? {
|
|
248
|
-
previous: components.next || NavigateNextIcon,
|
|
249
|
-
next: components.previous || NavigateBeforeIcon,
|
|
250
|
-
last: components.first || FirstPageIcon,
|
|
251
|
-
first: components.last || LastPageIcon
|
|
244
|
+
previous: slots.next || components.next || NavigateNextIcon,
|
|
245
|
+
next: slots.previous || components.previous || NavigateBeforeIcon,
|
|
246
|
+
last: slots.first || components.first || FirstPageIcon,
|
|
247
|
+
first: slots.last || components.last || LastPageIcon
|
|
252
248
|
} : {
|
|
253
|
-
previous: components.previous || NavigateBeforeIcon,
|
|
254
|
-
next: components.next || NavigateNextIcon,
|
|
255
|
-
first: components.first || FirstPageIcon,
|
|
256
|
-
last: components.last || LastPageIcon
|
|
249
|
+
previous: slots.previous || components.previous || NavigateBeforeIcon,
|
|
250
|
+
next: slots.next || components.next || NavigateNextIcon,
|
|
251
|
+
first: slots.first || components.first || FirstPageIcon,
|
|
252
|
+
last: slots.last || components.last || LastPageIcon
|
|
257
253
|
};
|
|
258
254
|
const Icon = normalizedIcons[type];
|
|
259
255
|
return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/_jsx(PaginationItemEllipsis, {
|
|
@@ -315,13 +311,12 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
315
311
|
component: PropTypes.elementType,
|
|
316
312
|
|
|
317
313
|
/**
|
|
318
|
-
* The components used for
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
* }
|
|
314
|
+
* The components used for each slot inside.
|
|
315
|
+
*
|
|
316
|
+
* This prop is an alias for the `slots` prop.
|
|
317
|
+
* It's recommended to use the `slots` prop instead.
|
|
318
|
+
*
|
|
319
|
+
* @default {}
|
|
325
320
|
*/
|
|
326
321
|
components: PropTypes.shape({
|
|
327
322
|
first: PropTypes.elementType,
|
|
@@ -361,6 +356,20 @@ process.env.NODE_ENV !== "production" ? PaginationItem.propTypes
|
|
|
361
356
|
/* @typescript-to-proptypes-ignore */
|
|
362
357
|
.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
|
|
363
358
|
|
|
359
|
+
/**
|
|
360
|
+
* The components used for each slot inside.
|
|
361
|
+
*
|
|
362
|
+
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
363
|
+
*
|
|
364
|
+
* @default {}
|
|
365
|
+
*/
|
|
366
|
+
slots: PropTypes.shape({
|
|
367
|
+
first: PropTypes.elementType,
|
|
368
|
+
last: PropTypes.elementType,
|
|
369
|
+
next: PropTypes.elementType,
|
|
370
|
+
previous: PropTypes.elementType
|
|
371
|
+
}),
|
|
372
|
+
|
|
364
373
|
/**
|
|
365
374
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
366
375
|
*/
|
package/esm/Select/Select.js
CHANGED
|
@@ -244,14 +244,14 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
|
244
244
|
*
|
|
245
245
|
* @param {SelectChangeEvent<T>} event The event source of the callback.
|
|
246
246
|
* You can pull out the new value by accessing `event.target.value` (any).
|
|
247
|
-
* **Warning**: This is a generic event not a change event unless the change event is caused by browser autofill.
|
|
247
|
+
* **Warning**: This is a generic event, not a change event, unless the change event is caused by browser autofill.
|
|
248
248
|
* @param {object} [child] The react element that was selected when `native` is `false` (default).
|
|
249
249
|
*/
|
|
250
250
|
onChange: PropTypes.func,
|
|
251
251
|
|
|
252
252
|
/**
|
|
253
253
|
* Callback fired when the component requests to be closed.
|
|
254
|
-
* Use in controlled
|
|
254
|
+
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select collapes).
|
|
255
255
|
*
|
|
256
256
|
* @param {object} event The event source of the callback.
|
|
257
257
|
*/
|
|
@@ -259,7 +259,7 @@ process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Callback fired when the component requests to be opened.
|
|
262
|
-
* Use in controlled
|
|
262
|
+
* Use it in either controlled (see the `open` prop), or uncontrolled mode (to detect when the Select expands).
|
|
263
263
|
*
|
|
264
264
|
* @param {object} event The event source of the callback.
|
|
265
265
|
*/
|
package/esm/Slider/Slider.js
CHANGED
|
@@ -583,8 +583,11 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
583
583
|
.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
584
584
|
|
|
585
585
|
/**
|
|
586
|
-
* The components used for each slot inside
|
|
587
|
-
*
|
|
586
|
+
* The components used for each slot inside.
|
|
587
|
+
*
|
|
588
|
+
* This prop is an alias for the `slots` prop.
|
|
589
|
+
* It's recommended to use the `slots` prop instead.
|
|
590
|
+
*
|
|
588
591
|
* @default {}
|
|
589
592
|
*/
|
|
590
593
|
components: PropTypes.shape({
|
|
@@ -599,7 +602,13 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes
|
|
|
599
602
|
}),
|
|
600
603
|
|
|
601
604
|
/**
|
|
602
|
-
*
|
|
605
|
+
* The extra props for the slot components.
|
|
606
|
+
* You can override the existing props or add new ones.
|
|
607
|
+
*
|
|
608
|
+
* This prop is an alias for the `slotProps` prop.
|
|
609
|
+
* It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.
|
|
610
|
+
*
|
|
611
|
+
* @default {}
|
|
603
612
|
*/
|
|
604
613
|
componentsProps: PropTypes.shape({
|
|
605
614
|
input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
@@ -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 = ["children", "className", "componentsProps", "error", "icon", "optional", "StepIconComponent", "StepIconProps"];
|
|
3
|
+
const _excluded = ["children", "className", "componentsProps", "error", "icon", "optional", "slotProps", "StepIconComponent", "StepIconProps"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -110,6 +110,8 @@ const StepLabelLabelContainer = styled('span', {
|
|
|
110
110
|
}
|
|
111
111
|
}));
|
|
112
112
|
const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref) {
|
|
113
|
+
var _slotProps$label;
|
|
114
|
+
|
|
113
115
|
const props = useThemeProps({
|
|
114
116
|
props: inProps,
|
|
115
117
|
name: 'MuiStepLabel'
|
|
@@ -122,6 +124,7 @@ const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref)
|
|
|
122
124
|
error = false,
|
|
123
125
|
icon: iconProp,
|
|
124
126
|
optional,
|
|
127
|
+
slotProps = {},
|
|
125
128
|
StepIconComponent: StepIconComponentProp,
|
|
126
129
|
StepIconProps
|
|
127
130
|
} = props,
|
|
@@ -154,6 +157,7 @@ const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref)
|
|
|
154
157
|
});
|
|
155
158
|
|
|
156
159
|
const classes = useUtilityClasses(ownerState);
|
|
160
|
+
const labelSlotProps = (_slotProps$label = slotProps.label) != null ? _slotProps$label : componentsProps.label;
|
|
157
161
|
return /*#__PURE__*/_jsxs(StepLabelRoot, _extends({
|
|
158
162
|
className: clsx(classes.root, className),
|
|
159
163
|
ref: ref,
|
|
@@ -172,9 +176,9 @@ const StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(inProps, ref)
|
|
|
172
176
|
className: classes.labelContainer,
|
|
173
177
|
ownerState: ownerState,
|
|
174
178
|
children: [children ? /*#__PURE__*/_jsx(StepLabelLabel, _extends({
|
|
175
|
-
className: classes.label,
|
|
176
179
|
ownerState: ownerState
|
|
177
|
-
},
|
|
180
|
+
}, labelSlotProps, {
|
|
181
|
+
className: clsx(classes.label, labelSlotProps == null ? void 0 : labelSlotProps.className),
|
|
178
182
|
children: children
|
|
179
183
|
})) : null, optional]
|
|
180
184
|
})]
|
|
@@ -227,6 +231,14 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes
|
|
|
227
231
|
*/
|
|
228
232
|
optional: PropTypes.node,
|
|
229
233
|
|
|
234
|
+
/**
|
|
235
|
+
* The props used for each slot inside.
|
|
236
|
+
* @default {}
|
|
237
|
+
*/
|
|
238
|
+
slotProps: PropTypes.shape({
|
|
239
|
+
label: PropTypes.object
|
|
240
|
+
}),
|
|
241
|
+
|
|
230
242
|
/**
|
|
231
243
|
* The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
|
|
232
244
|
*/
|