@mui/material 6.0.0-alpha.4 → 6.0.0-alpha.6
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/Accordion.d.ts +2 -2
- package/Accordion/Accordion.js +2 -2
- package/AccordionSummary/accordionSummaryClasses.d.ts +1 -1
- package/Alert/Alert.d.ts +2 -2
- package/Alert/Alert.js +2 -2
- package/Alert/alertClasses.d.ts +12 -12
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/Avatar.js +1 -1
- package/Backdrop/Backdrop.d.ts +1 -1
- package/Backdrop/Backdrop.js +1 -1
- package/Badge/Badge.d.ts +2 -2
- package/Badge/Badge.js +2 -2
- package/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/Button/Button.js +1 -1
- package/Button/buttonClasses.d.ts +33 -33
- package/ButtonGroup/buttonGroupClasses.d.ts +17 -17
- package/CHANGELOG.md +86 -0
- package/Checkbox/Checkbox.js +3 -1
- package/Chip/chipClasses.d.ts +28 -26
- package/Chip/chipClasses.js +1 -1
- package/Collapse/Collapse.js +66 -35
- package/Dialog/Dialog.js +105 -61
- package/DialogActions/DialogActions.js +16 -12
- package/DialogContent/DialogContent.js +25 -15
- package/DialogContentText/DialogContentText.js +3 -2
- package/DialogTitle/DialogTitle.js +2 -2
- package/Divider/Divider.d.ts +1 -1
- package/Divider/Divider.js +1 -1
- package/Drawer/Drawer.js +73 -32
- package/Fab/Fab.js +1 -1
- package/FilledInput/FilledInput.d.ts +1 -0
- package/FilledInput/FilledInput.js +170 -87
- package/FormControlLabel/FormControlLabel.d.ts +21 -14
- package/FormControlLabel/FormControlLabel.js +22 -4
- package/FormHelperText/FormHelperText.js +2 -2
- package/FormLabel/FormLabel.js +23 -13
- package/Grow/Grow.js +3 -1
- package/Icon/Icon.js +63 -23
- package/ImageList/ImageList.js +2 -2
- package/ImageListItem/ImageListItem.js +2 -2
- package/ImageListItemBar/ImageListItemBar.js +2 -2
- package/Input/Input.d.ts +1 -0
- package/Input/Input.js +84 -61
- package/InputAdornment/InputAdornment.js +37 -21
- package/InputBase/InputBase.js +58 -28
- package/InputLabel/InputLabel.js +120 -58
- package/Link/Link.js +99 -54
- package/Link/getTextDecoration.d.ts +2 -8
- package/Link/getTextDecoration.js +16 -8
- package/List/List.js +22 -13
- package/ListItem/ListItem.js +2 -2
- package/ListItemAvatar/ListItemAvatar.js +2 -2
- package/ListItemButton/ListItemButton.js +3 -2
- package/ListItemIcon/ListItemIcon.js +14 -9
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/ListItemText/ListItemText.js +2 -2
- package/ListSubheader/ListSubheader.js +5 -3
- package/Menu/Menu.js +3 -2
- package/MenuItem/MenuItem.js +47 -27
- package/NativeSelect/NativeSelectInput.js +78 -49
- package/OutlinedInput/NotchedOutline.js +60 -43
- package/OutlinedInput/OutlinedInput.js +97 -39
- package/Pagination/Pagination.js +2 -2
- package/PaginationItem/PaginationItem.d.ts +26 -14
- package/PaginationItem/PaginationItem.js +64 -20
- package/PaginationItem/paginationItemClasses.d.ts +4 -4
- package/Paper/Paper.js +44 -21
- package/Radio/Radio.js +5 -3
- package/Radio/RadioButtonIcon.js +1 -1
- package/Rating/Rating.js +3 -2
- package/Select/Select.js +2 -1
- package/Select/SelectInput.js +8 -6
- package/Skeleton/Skeleton.js +109 -61
- package/Slider/Slider.d.ts +2 -2
- package/Slider/Slider.js +2 -2
- package/Snackbar/Snackbar.js +66 -40
- package/SnackbarContent/SnackbarContent.js +2 -2
- package/SpeedDial/SpeedDial.d.ts +28 -1
- package/SpeedDial/SpeedDial.js +107 -49
- package/SpeedDialAction/SpeedDialAction.js +50 -24
- package/SpeedDialIcon/SpeedDialIcon.js +37 -16
- package/StepConnector/stepConnectorClasses.d.ts +2 -2
- package/StepLabel/StepLabel.d.ts +3 -3
- package/StepLabel/StepLabel.js +3 -3
- package/SvgIcon/SvgIcon.js +73 -21
- package/SwipeableDrawer/SwipeArea.js +39 -18
- package/Tab/Tab.js +127 -55
- package/TabScrollButton/TabScrollButton.js +27 -15
- package/Table/Table.js +2 -2
- package/TableBody/TableBody.js +2 -2
- package/TableCell/TableCell.js +2 -2
- package/TableContainer/TableContainer.js +2 -2
- package/TableFooter/TableFooter.js +2 -2
- package/TableHead/TableHead.js +2 -2
- package/TablePagination/TablePagination.js +2 -2
- package/TableRow/TableRow.js +2 -2
- package/TableSortLabel/TableSortLabel.js +2 -2
- package/Tabs/Tabs.js +107 -54
- package/TextField/TextField.js +2 -2
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +2 -2
- package/Toolbar/Toolbar.js +3 -7
- package/Tooltip/Tooltip.js +185 -88
- package/Typography/Typography.js +89 -39
- package/index.js +1 -1
- package/internal/SwitchBase.js +39 -11
- package/modern/Accordion/Accordion.js +2 -2
- package/modern/Alert/Alert.js +2 -2
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/Backdrop/Backdrop.js +1 -1
- package/modern/Badge/Badge.js +2 -2
- package/modern/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/modern/Button/Button.js +1 -1
- package/modern/Checkbox/Checkbox.js +3 -1
- package/modern/Chip/chipClasses.js +1 -1
- package/modern/Collapse/Collapse.js +66 -35
- package/modern/Dialog/Dialog.js +105 -61
- package/modern/DialogActions/DialogActions.js +16 -12
- package/modern/DialogContent/DialogContent.js +25 -15
- package/modern/DialogContentText/DialogContentText.js +3 -2
- package/modern/DialogTitle/DialogTitle.js +2 -2
- package/modern/Divider/Divider.js +1 -1
- package/modern/Drawer/Drawer.js +73 -32
- package/modern/Fab/Fab.js +1 -1
- package/modern/FilledInput/FilledInput.js +170 -87
- package/modern/FormControlLabel/FormControlLabel.js +22 -4
- package/modern/FormHelperText/FormHelperText.js +2 -2
- package/modern/FormLabel/FormLabel.js +23 -13
- package/modern/Grow/Grow.js +3 -1
- package/modern/Icon/Icon.js +63 -23
- package/modern/ImageList/ImageList.js +2 -2
- package/modern/ImageListItem/ImageListItem.js +2 -2
- package/modern/ImageListItemBar/ImageListItemBar.js +2 -2
- package/modern/Input/Input.js +84 -61
- package/modern/InputAdornment/InputAdornment.js +37 -21
- package/modern/InputBase/InputBase.js +58 -28
- package/modern/InputLabel/InputLabel.js +120 -58
- package/modern/Link/Link.js +99 -54
- package/modern/Link/getTextDecoration.js +16 -8
- package/modern/List/List.js +22 -13
- package/modern/ListItem/ListItem.js +2 -2
- package/modern/ListItemAvatar/ListItemAvatar.js +2 -2
- package/modern/ListItemButton/ListItemButton.js +3 -2
- package/modern/ListItemIcon/ListItemIcon.js +14 -9
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -2
- package/modern/ListItemText/ListItemText.js +2 -2
- package/modern/ListSubheader/ListSubheader.js +5 -3
- package/modern/Menu/Menu.js +3 -2
- package/modern/MenuItem/MenuItem.js +47 -27
- package/modern/NativeSelect/NativeSelectInput.js +78 -49
- package/modern/OutlinedInput/NotchedOutline.js +60 -43
- package/modern/OutlinedInput/OutlinedInput.js +97 -39
- package/modern/Pagination/Pagination.js +2 -2
- package/modern/PaginationItem/PaginationItem.js +64 -20
- package/modern/Paper/Paper.js +44 -21
- package/modern/Radio/Radio.js +5 -3
- package/modern/Radio/RadioButtonIcon.js +1 -1
- package/modern/Rating/Rating.js +3 -2
- package/modern/Select/Select.js +2 -1
- package/modern/Select/SelectInput.js +8 -6
- package/modern/Skeleton/Skeleton.js +109 -61
- package/modern/Slider/Slider.js +2 -2
- package/modern/Snackbar/Snackbar.js +66 -40
- package/modern/SnackbarContent/SnackbarContent.js +2 -2
- package/modern/SpeedDial/SpeedDial.js +107 -49
- package/modern/SpeedDialAction/SpeedDialAction.js +50 -24
- package/modern/SpeedDialIcon/SpeedDialIcon.js +37 -16
- package/modern/StepLabel/StepLabel.js +3 -3
- package/modern/SvgIcon/SvgIcon.js +73 -21
- package/modern/SwipeableDrawer/SwipeArea.js +39 -18
- package/modern/Tab/Tab.js +127 -55
- package/modern/TabScrollButton/TabScrollButton.js +27 -15
- package/modern/Table/Table.js +2 -2
- package/modern/TableBody/TableBody.js +2 -2
- package/modern/TableCell/TableCell.js +2 -2
- package/modern/TableContainer/TableContainer.js +2 -2
- package/modern/TableFooter/TableFooter.js +2 -2
- package/modern/TableHead/TableHead.js +2 -2
- package/modern/TablePagination/TablePagination.js +2 -2
- package/modern/TableRow/TableRow.js +2 -2
- package/modern/TableSortLabel/TableSortLabel.js +2 -2
- package/modern/Tabs/Tabs.js +107 -54
- package/modern/TextField/TextField.js +2 -2
- package/modern/Toolbar/Toolbar.js +3 -7
- package/modern/Tooltip/Tooltip.js +185 -88
- package/modern/Typography/Typography.js +89 -39
- package/modern/index.js +1 -1
- package/modern/internal/SwitchBase.js +39 -11
- package/node/Accordion/Accordion.js +2 -2
- package/node/Alert/Alert.js +2 -2
- package/node/Avatar/Avatar.js +1 -1
- package/node/Backdrop/Backdrop.js +1 -1
- package/node/Badge/Badge.js +2 -2
- package/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -3
- package/node/Button/Button.js +2 -2
- package/node/Checkbox/Checkbox.js +3 -1
- package/node/Chip/chipClasses.js +1 -1
- package/node/Collapse/Collapse.js +70 -39
- package/node/Dialog/Dialog.js +110 -66
- package/node/DialogActions/DialogActions.js +18 -14
- package/node/DialogContent/DialogContent.js +27 -17
- package/node/DialogContentText/DialogContentText.js +6 -5
- package/node/DialogTitle/DialogTitle.js +4 -4
- package/node/Divider/Divider.js +1 -1
- package/node/Drawer/Drawer.js +78 -37
- package/node/Fab/Fab.js +2 -2
- package/node/FilledInput/FilledInput.js +176 -91
- package/node/FormControlLabel/FormControlLabel.js +23 -5
- package/node/FormHelperText/FormHelperText.js +4 -4
- package/node/FormLabel/FormLabel.js +26 -16
- package/node/Grow/Grow.js +3 -1
- package/node/Icon/Icon.js +65 -25
- package/node/ImageList/ImageList.js +4 -4
- package/node/ImageListItem/ImageListItem.js +4 -4
- package/node/ImageListItemBar/ImageListItemBar.js +8 -8
- package/node/Input/Input.js +87 -64
- package/node/InputAdornment/InputAdornment.js +39 -23
- package/node/InputBase/InputBase.js +61 -31
- package/node/InputLabel/InputLabel.js +123 -61
- package/node/Link/Link.js +101 -56
- package/node/Link/getTextDecoration.js +18 -10
- package/node/List/List.js +24 -15
- package/node/ListItem/ListItem.js +5 -5
- package/node/ListItemAvatar/ListItemAvatar.js +4 -4
- package/node/ListItemButton/ListItemButton.js +6 -5
- package/node/ListItemIcon/ListItemIcon.js +16 -11
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +4 -4
- package/node/ListItemText/ListItemText.js +4 -4
- package/node/ListSubheader/ListSubheader.js +7 -5
- package/node/Menu/Menu.js +8 -7
- package/node/MenuItem/MenuItem.js +50 -30
- package/node/NativeSelect/NativeSelectInput.js +80 -53
- package/node/OutlinedInput/NotchedOutline.js +64 -47
- package/node/OutlinedInput/OutlinedInput.js +101 -43
- package/node/Pagination/Pagination.js +5 -5
- package/node/PaginationItem/PaginationItem.js +65 -20
- package/node/Paper/Paper.js +49 -28
- package/node/Radio/Radio.js +6 -4
- package/node/Radio/RadioButtonIcon.js +2 -2
- package/node/Rating/Rating.js +9 -8
- package/node/Select/Select.js +6 -5
- package/node/Select/SelectInput.js +9 -7
- package/node/Skeleton/Skeleton.js +113 -65
- package/node/Slider/Slider.js +2 -2
- package/node/Snackbar/Snackbar.js +68 -42
- package/node/SnackbarContent/SnackbarContent.js +6 -6
- package/node/SpeedDial/SpeedDial.js +111 -53
- package/node/SpeedDialAction/SpeedDialAction.js +54 -28
- package/node/SpeedDialIcon/SpeedDialIcon.js +39 -18
- package/node/StepLabel/StepLabel.js +3 -3
- package/node/SvgIcon/SvgIcon.js +79 -24
- package/node/SwipeableDrawer/SwipeArea.js +41 -20
- package/node/Tab/Tab.js +129 -57
- package/node/TabScrollButton/TabScrollButton.js +29 -17
- package/node/Table/Table.js +4 -4
- package/node/TableBody/TableBody.js +4 -4
- package/node/TableCell/TableCell.js +4 -4
- package/node/TableContainer/TableContainer.js +4 -4
- package/node/TableFooter/TableFooter.js +4 -4
- package/node/TableHead/TableHead.js +4 -4
- package/node/TablePagination/TablePagination.js +10 -10
- package/node/TableRow/TableRow.js +4 -4
- package/node/TableSortLabel/TableSortLabel.js +5 -5
- package/node/Tabs/Tabs.js +113 -60
- package/node/TextField/TextField.js +4 -4
- package/node/Toolbar/Toolbar.js +5 -9
- package/node/Tooltip/Tooltip.js +189 -92
- package/node/Typography/Typography.js +90 -40
- package/node/index.js +1 -1
- package/node/internal/SwitchBase.js +41 -13
- package/package.json +6 -6
- package/umd/material-ui.development.js +2777 -1334
- package/umd/material-ui.production.min.js +4 -4
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _reactIs = require("react-is");
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
@@ -15,8 +15,7 @@ var _clsx = _interopRequireDefault(require("clsx"));
|
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _useTimeout = _interopRequireDefault(require("@mui/utils/useTimeout"));
|
|
17
17
|
var _clamp = _interopRequireDefault(require("@mui/utils/clamp"));
|
|
18
|
-
var
|
|
19
|
-
var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
18
|
+
var _zeroStyled = require("../zero-styled");
|
|
20
19
|
var _useTheme = _interopRequireDefault(require("../styles/useTheme"));
|
|
21
20
|
var _Zoom = _interopRequireDefault(require("../Zoom"));
|
|
22
21
|
var _Fab = _interopRequireDefault(require("../Fab"));
|
|
@@ -25,12 +24,14 @@ var _isMuiElement = _interopRequireDefault(require("../utils/isMuiElement"));
|
|
|
25
24
|
var _useForkRef = _interopRequireDefault(require("../utils/useForkRef"));
|
|
26
25
|
var _useControlled = _interopRequireDefault(require("../utils/useControlled"));
|
|
27
26
|
var _speedDialClasses = _interopRequireWildcard(require("./speedDialClasses"));
|
|
27
|
+
var _useSlot = _interopRequireDefault(require("../utils/useSlot"));
|
|
28
28
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
29
29
|
const _excluded = ["ref"],
|
|
30
|
-
_excluded2 = ["ariaLabel", "FabProps", "children", "className", "direction", "hidden", "icon", "onBlur", "onClose", "onFocus", "onKeyDown", "onMouseEnter", "onMouseLeave", "onOpen", "open", "openIcon", "
|
|
30
|
+
_excluded2 = ["ariaLabel", "FabProps", "children", "className", "direction", "hidden", "icon", "onBlur", "onClose", "onFocus", "onKeyDown", "onMouseEnter", "onMouseLeave", "onOpen", "open", "openIcon", "slots", "slotProps", "TransitionComponent", "TransitionProps", "transitionDuration"],
|
|
31
31
|
_excluded3 = ["ref"];
|
|
32
32
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
33
33
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
34
|
+
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiSpeedDial');
|
|
34
35
|
const useUtilityClasses = ownerState => {
|
|
35
36
|
const {
|
|
36
37
|
classes,
|
|
@@ -55,7 +56,7 @@ function getOrientation(direction) {
|
|
|
55
56
|
}
|
|
56
57
|
const dialRadius = 32;
|
|
57
58
|
const spacingActions = 16;
|
|
58
|
-
const SpeedDialRoot = (0,
|
|
59
|
+
const SpeedDialRoot = (0, _zeroStyled.styled)('div', {
|
|
59
60
|
name: 'MuiSpeedDial',
|
|
60
61
|
slot: 'Root',
|
|
61
62
|
overridesResolver: (props, styles) => {
|
|
@@ -65,50 +66,70 @@ const SpeedDialRoot = (0, _styled.default)('div', {
|
|
|
65
66
|
return [styles.root, styles[`direction${(0, _capitalize.default)(ownerState.direction)}`]];
|
|
66
67
|
}
|
|
67
68
|
})(({
|
|
68
|
-
theme
|
|
69
|
-
|
|
70
|
-
}) => (0, _extends2.default)({
|
|
69
|
+
theme
|
|
70
|
+
}) => ({
|
|
71
71
|
zIndex: (theme.vars || theme).zIndex.speedDial,
|
|
72
72
|
display: 'flex',
|
|
73
73
|
alignItems: 'center',
|
|
74
|
-
pointerEvents: 'none'
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
74
|
+
pointerEvents: 'none',
|
|
75
|
+
variants: [{
|
|
76
|
+
props: {
|
|
77
|
+
direction: 'up'
|
|
78
|
+
},
|
|
79
|
+
style: {
|
|
80
|
+
flexDirection: 'column-reverse',
|
|
81
|
+
[`& .${_speedDialClasses.default.actions}`]: {
|
|
82
|
+
flexDirection: 'column-reverse',
|
|
83
|
+
marginBottom: -dialRadius,
|
|
84
|
+
paddingBottom: spacingActions + dialRadius
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, {
|
|
88
|
+
props: {
|
|
89
|
+
direction: 'down'
|
|
90
|
+
},
|
|
91
|
+
style: {
|
|
92
|
+
flexDirection: 'column',
|
|
93
|
+
[`& .${_speedDialClasses.default.actions}`]: {
|
|
94
|
+
flexDirection: 'column',
|
|
95
|
+
marginTop: -dialRadius,
|
|
96
|
+
paddingTop: spacingActions + dialRadius
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}, {
|
|
100
|
+
props: {
|
|
101
|
+
direction: 'left'
|
|
102
|
+
},
|
|
103
|
+
style: {
|
|
104
|
+
flexDirection: 'row-reverse',
|
|
105
|
+
[`& .${_speedDialClasses.default.actions}`]: {
|
|
106
|
+
flexDirection: 'row-reverse',
|
|
107
|
+
marginRight: -dialRadius,
|
|
108
|
+
paddingRight: spacingActions + dialRadius
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
props: {
|
|
113
|
+
direction: 'right'
|
|
114
|
+
},
|
|
115
|
+
style: {
|
|
116
|
+
flexDirection: 'row',
|
|
117
|
+
[`& .${_speedDialClasses.default.actions}`]: {
|
|
118
|
+
flexDirection: 'row',
|
|
119
|
+
marginLeft: -dialRadius,
|
|
120
|
+
paddingLeft: spacingActions + dialRadius
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}]
|
|
103
124
|
}));
|
|
104
|
-
const SpeedDialFab = (0,
|
|
125
|
+
const SpeedDialFab = (0, _zeroStyled.styled)(_Fab.default, {
|
|
105
126
|
name: 'MuiSpeedDial',
|
|
106
127
|
slot: 'Fab',
|
|
107
128
|
overridesResolver: (props, styles) => styles.fab
|
|
108
129
|
})(() => ({
|
|
109
130
|
pointerEvents: 'auto'
|
|
110
131
|
}));
|
|
111
|
-
const SpeedDialActions = (0,
|
|
132
|
+
const SpeedDialActions = (0, _zeroStyled.styled)('div', {
|
|
112
133
|
name: 'MuiSpeedDial',
|
|
113
134
|
slot: 'Actions',
|
|
114
135
|
overridesResolver: (props, styles) => {
|
|
@@ -117,17 +138,21 @@ const SpeedDialActions = (0, _styled.default)('div', {
|
|
|
117
138
|
} = props;
|
|
118
139
|
return [styles.actions, !ownerState.open && styles.actionsClosed];
|
|
119
140
|
}
|
|
120
|
-
})(
|
|
121
|
-
ownerState
|
|
122
|
-
}) => (0, _extends2.default)({
|
|
141
|
+
})({
|
|
123
142
|
display: 'flex',
|
|
124
|
-
pointerEvents: 'auto'
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
})
|
|
143
|
+
pointerEvents: 'auto',
|
|
144
|
+
variants: [{
|
|
145
|
+
props: ({
|
|
146
|
+
ownerState
|
|
147
|
+
}) => !ownerState.open,
|
|
148
|
+
style: {
|
|
149
|
+
transition: 'top 0s linear 0.2s',
|
|
150
|
+
pointerEvents: 'none'
|
|
151
|
+
}
|
|
152
|
+
}]
|
|
153
|
+
});
|
|
129
154
|
const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref) {
|
|
130
|
-
const props = (
|
|
155
|
+
const props = useThemeProps({
|
|
131
156
|
props: inProps,
|
|
132
157
|
name: 'MuiSpeedDial'
|
|
133
158
|
});
|
|
@@ -154,9 +179,11 @@ const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref)
|
|
|
154
179
|
onMouseLeave,
|
|
155
180
|
onOpen,
|
|
156
181
|
open: openProp,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
182
|
+
slots = {},
|
|
183
|
+
slotProps = {},
|
|
184
|
+
TransitionComponent: TransitionComponentProp,
|
|
185
|
+
TransitionProps: TransitionPropsProp,
|
|
186
|
+
transitionDuration = defaultTransitionDuration
|
|
160
187
|
} = props,
|
|
161
188
|
FabProps = (0, _objectWithoutPropertiesLoose2.default)(props.FabProps, _excluded),
|
|
162
189
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded2);
|
|
@@ -344,6 +371,21 @@ const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref)
|
|
|
344
371
|
id: `${id}-action-${index}`
|
|
345
372
|
});
|
|
346
373
|
});
|
|
374
|
+
const backwardCompatibleSlots = (0, _extends2.default)({
|
|
375
|
+
transition: TransitionComponentProp
|
|
376
|
+
}, slots);
|
|
377
|
+
const backwardCompatibleSlotProps = (0, _extends2.default)({
|
|
378
|
+
transition: TransitionPropsProp
|
|
379
|
+
}, slotProps);
|
|
380
|
+
const externalForwardedProps = {
|
|
381
|
+
slots: backwardCompatibleSlots,
|
|
382
|
+
slotProps: backwardCompatibleSlotProps
|
|
383
|
+
};
|
|
384
|
+
const [TransitionSlot, transitionProps] = (0, _useSlot.default)('transition', {
|
|
385
|
+
elementType: _Zoom.default,
|
|
386
|
+
externalForwardedProps,
|
|
387
|
+
ownerState
|
|
388
|
+
});
|
|
347
389
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(SpeedDialRoot, (0, _extends2.default)({
|
|
348
390
|
className: (0, _clsx.default)(classes.root, className),
|
|
349
391
|
ref: ref,
|
|
@@ -355,11 +397,11 @@ const SpeedDial = /*#__PURE__*/React.forwardRef(function SpeedDial(inProps, ref)
|
|
|
355
397
|
onMouseLeave: handleClose,
|
|
356
398
|
ownerState: ownerState
|
|
357
399
|
}, other, {
|
|
358
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
400
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(TransitionSlot, (0, _extends2.default)({
|
|
359
401
|
in: !hidden,
|
|
360
402
|
timeout: transitionDuration,
|
|
361
403
|
unmountOnExit: true
|
|
362
|
-
},
|
|
404
|
+
}, transitionProps, {
|
|
363
405
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(SpeedDialFab, (0, _extends2.default)({
|
|
364
406
|
color: "primary",
|
|
365
407
|
"aria-label": ariaLabel,
|
|
@@ -469,6 +511,20 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
469
511
|
* The icon to display in the SpeedDial Fab when the SpeedDial is open.
|
|
470
512
|
*/
|
|
471
513
|
openIcon: _propTypes.default.node,
|
|
514
|
+
/**
|
|
515
|
+
* The props used for each slot inside.
|
|
516
|
+
* @default {}
|
|
517
|
+
*/
|
|
518
|
+
slotProps: _propTypes.default.shape({
|
|
519
|
+
transition: _propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object])
|
|
520
|
+
}),
|
|
521
|
+
/**
|
|
522
|
+
* The components used for each slot inside.
|
|
523
|
+
* @default {}
|
|
524
|
+
*/
|
|
525
|
+
slots: _propTypes.default.shape({
|
|
526
|
+
transition: _propTypes.default.elementType
|
|
527
|
+
}),
|
|
472
528
|
/**
|
|
473
529
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
474
530
|
*/
|
|
@@ -477,6 +533,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
477
533
|
* The component used for the transition.
|
|
478
534
|
* [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
479
535
|
* @default Zoom
|
|
536
|
+
* * @deprecated Use `slots.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
480
537
|
*/
|
|
481
538
|
TransitionComponent: _propTypes.default.elementType,
|
|
482
539
|
/**
|
|
@@ -495,6 +552,7 @@ process.env.NODE_ENV !== "production" ? SpeedDial.propTypes /* remove-proptypes
|
|
|
495
552
|
/**
|
|
496
553
|
* Props applied to the transition element.
|
|
497
554
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
555
|
+
* @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/)
|
|
498
556
|
*/
|
|
499
557
|
TransitionProps: _propTypes.default.object
|
|
500
558
|
} : void 0;
|
|
@@ -14,8 +14,7 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
14
14
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
15
15
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
16
16
|
var _colorManipulator = require("@mui/system/colorManipulator");
|
|
17
|
-
var
|
|
18
|
-
var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
17
|
+
var _zeroStyled = require("../zero-styled");
|
|
19
18
|
var _Fab = _interopRequireDefault(require("../Fab"));
|
|
20
19
|
var _Tooltip = _interopRequireDefault(require("../Tooltip"));
|
|
21
20
|
var _capitalize = _interopRequireDefault(require("../utils/capitalize"));
|
|
@@ -24,6 +23,7 @@ var _jsxRuntime = require("react/jsx-runtime");
|
|
|
24
23
|
const _excluded = ["className", "delay", "FabProps", "icon", "id", "open", "TooltipClasses", "tooltipOpen", "tooltipPlacement", "tooltipTitle"];
|
|
25
24
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
26
25
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
26
|
+
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiSpeedDialAction');
|
|
27
27
|
const useUtilityClasses = ownerState => {
|
|
28
28
|
const {
|
|
29
29
|
open,
|
|
@@ -37,7 +37,7 @@ const useUtilityClasses = ownerState => {
|
|
|
37
37
|
};
|
|
38
38
|
return (0, _composeClasses.default)(slots, _speedDialActionClasses.getSpeedDialActionUtilityClass, classes);
|
|
39
39
|
};
|
|
40
|
-
const SpeedDialActionFab = (0,
|
|
40
|
+
const SpeedDialActionFab = (0, _zeroStyled.styled)(_Fab.default, {
|
|
41
41
|
name: 'MuiSpeedDialAction',
|
|
42
42
|
slot: 'Fab',
|
|
43
43
|
skipVariantsResolver: false,
|
|
@@ -48,9 +48,8 @@ const SpeedDialActionFab = (0, _styled.default)(_Fab.default, {
|
|
|
48
48
|
return [styles.fab, !ownerState.open && styles.fabClosed];
|
|
49
49
|
}
|
|
50
50
|
})(({
|
|
51
|
-
theme
|
|
52
|
-
|
|
53
|
-
}) => (0, _extends2.default)({
|
|
51
|
+
theme
|
|
52
|
+
}) => ({
|
|
54
53
|
margin: 8,
|
|
55
54
|
color: (theme.vars || theme).palette.text.secondary,
|
|
56
55
|
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
@@ -60,12 +59,18 @@ const SpeedDialActionFab = (0, _styled.default)(_Fab.default, {
|
|
|
60
59
|
transition: `${theme.transitions.create('transform', {
|
|
61
60
|
duration: theme.transitions.duration.shorter
|
|
62
61
|
})}, opacity 0.8s`,
|
|
63
|
-
opacity: 1
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
opacity: 1,
|
|
63
|
+
variants: [{
|
|
64
|
+
props: ({
|
|
65
|
+
ownerState
|
|
66
|
+
}) => !ownerState.open,
|
|
67
|
+
style: {
|
|
68
|
+
opacity: 0,
|
|
69
|
+
transform: 'scale(0)'
|
|
70
|
+
}
|
|
71
|
+
}]
|
|
67
72
|
}));
|
|
68
|
-
const SpeedDialActionStaticTooltip = (0,
|
|
73
|
+
const SpeedDialActionStaticTooltip = (0, _zeroStyled.styled)('span', {
|
|
69
74
|
name: 'MuiSpeedDialAction',
|
|
70
75
|
slot: 'StaticTooltip',
|
|
71
76
|
overridesResolver: (props, styles) => {
|
|
@@ -75,31 +80,52 @@ const SpeedDialActionStaticTooltip = (0, _styled.default)('span', {
|
|
|
75
80
|
return [styles.staticTooltip, !ownerState.open && styles.staticTooltipClosed, styles[`tooltipPlacement${(0, _capitalize.default)(ownerState.tooltipPlacement)}`]];
|
|
76
81
|
}
|
|
77
82
|
})(({
|
|
78
|
-
theme
|
|
79
|
-
ownerState
|
|
83
|
+
theme
|
|
80
84
|
}) => ({
|
|
81
85
|
position: 'relative',
|
|
82
86
|
display: 'flex',
|
|
83
87
|
alignItems: 'center',
|
|
84
|
-
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]:
|
|
88
|
+
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]: {
|
|
85
89
|
transition: theme.transitions.create(['transform', 'opacity'], {
|
|
86
90
|
duration: theme.transitions.duration.shorter
|
|
87
91
|
}),
|
|
88
92
|
opacity: 1
|
|
89
|
-
},
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}
|
|
93
|
+
},
|
|
94
|
+
variants: [{
|
|
95
|
+
props: ({
|
|
96
|
+
ownerState
|
|
97
|
+
}) => !ownerState.open,
|
|
98
|
+
style: {
|
|
99
|
+
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]: {
|
|
100
|
+
opacity: 0,
|
|
101
|
+
transform: 'scale(0.5)'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}, {
|
|
105
|
+
props: {
|
|
106
|
+
tooltipPlacement: 'left'
|
|
107
|
+
},
|
|
108
|
+
style: {
|
|
109
|
+
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]: {
|
|
110
|
+
transformOrigin: '100% 50%',
|
|
111
|
+
right: '100%',
|
|
112
|
+
marginRight: 8
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}, {
|
|
116
|
+
props: {
|
|
117
|
+
tooltipPlacement: 'right'
|
|
118
|
+
},
|
|
119
|
+
style: {
|
|
120
|
+
[`& .${_speedDialActionClasses.default.staticTooltipLabel}`]: {
|
|
121
|
+
transformOrigin: '0% 50%',
|
|
122
|
+
left: '100%',
|
|
123
|
+
marginLeft: 8
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}]
|
|
101
127
|
}));
|
|
102
|
-
const SpeedDialActionStaticTooltipLabel = (0,
|
|
128
|
+
const SpeedDialActionStaticTooltipLabel = (0, _zeroStyled.styled)('span', {
|
|
103
129
|
name: 'MuiSpeedDialAction',
|
|
104
130
|
slot: 'StaticTooltipLabel',
|
|
105
131
|
overridesResolver: (props, styles) => styles.staticTooltipLabel
|
|
@@ -116,7 +142,7 @@ const SpeedDialActionStaticTooltipLabel = (0, _styled.default)('span', {
|
|
|
116
142
|
wordBreak: 'keep-all'
|
|
117
143
|
}));
|
|
118
144
|
const SpeedDialAction = /*#__PURE__*/React.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
119
|
-
const props = (
|
|
145
|
+
const props = useThemeProps({
|
|
120
146
|
props: inProps,
|
|
121
147
|
name: 'MuiSpeedDialAction'
|
|
122
148
|
});
|
|
@@ -6,20 +6,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
|
-
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
|
+
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
14
|
var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"));
|
|
15
|
-
var
|
|
16
|
-
var _useThemeProps = _interopRequireDefault(require("../styles/useThemeProps"));
|
|
15
|
+
var _zeroStyled = require("../zero-styled");
|
|
17
16
|
var _Add = _interopRequireDefault(require("../internal/svg-icons/Add"));
|
|
18
17
|
var _speedDialIconClasses = _interopRequireWildcard(require("./speedDialIconClasses"));
|
|
19
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
19
|
const _excluded = ["className", "icon", "open", "openIcon"];
|
|
21
20
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
22
21
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
22
|
+
const useThemeProps = (0, _zeroStyled.createUseThemeProps)('MuiSpeedDialIcon');
|
|
23
23
|
const useUtilityClasses = ownerState => {
|
|
24
24
|
const {
|
|
25
25
|
classes,
|
|
@@ -33,7 +33,7 @@ const useUtilityClasses = ownerState => {
|
|
|
33
33
|
};
|
|
34
34
|
return (0, _composeClasses.default)(slots, _speedDialIconClasses.getSpeedDialIconUtilityClass, classes);
|
|
35
35
|
};
|
|
36
|
-
const SpeedDialIconRoot = (0,
|
|
36
|
+
const SpeedDialIconRoot = (0, _zeroStyled.styled)('span', {
|
|
37
37
|
name: 'MuiSpeedDialIcon',
|
|
38
38
|
slot: 'Root',
|
|
39
39
|
overridesResolver: (props, styles) => {
|
|
@@ -53,33 +53,54 @@ const SpeedDialIconRoot = (0, _styled.default)('span', {
|
|
|
53
53
|
}, styles.root];
|
|
54
54
|
}
|
|
55
55
|
})(({
|
|
56
|
-
theme
|
|
57
|
-
ownerState
|
|
56
|
+
theme
|
|
58
57
|
}) => ({
|
|
59
58
|
height: 24,
|
|
60
|
-
[`& .${_speedDialIconClasses.default.icon}`]:
|
|
59
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
61
60
|
transition: theme.transitions.create(['transform', 'opacity'], {
|
|
62
61
|
duration: theme.transitions.duration.short
|
|
63
62
|
})
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
}, ownerState.openIcon && {
|
|
67
|
-
opacity: 0
|
|
68
|
-
})),
|
|
69
|
-
[`& .${_speedDialIconClasses.default.openIcon}`]: (0, _extends2.default)({
|
|
63
|
+
},
|
|
64
|
+
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
|
70
65
|
position: 'absolute',
|
|
71
66
|
transition: theme.transitions.create(['transform', 'opacity'], {
|
|
72
67
|
duration: theme.transitions.duration.short
|
|
73
68
|
}),
|
|
74
69
|
opacity: 0,
|
|
75
70
|
transform: 'rotate(-45deg)'
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
71
|
+
},
|
|
72
|
+
variants: [{
|
|
73
|
+
props: ({
|
|
74
|
+
ownerState
|
|
75
|
+
}) => ownerState.open,
|
|
76
|
+
style: {
|
|
77
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
78
|
+
transform: 'rotate(45deg)'
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
props: ({
|
|
83
|
+
ownerState
|
|
84
|
+
}) => ownerState.open && ownerState.openIcon,
|
|
85
|
+
style: {
|
|
86
|
+
[`& .${_speedDialIconClasses.default.icon}`]: {
|
|
87
|
+
opacity: 0
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}, {
|
|
91
|
+
props: ({
|
|
92
|
+
ownerState
|
|
93
|
+
}) => ownerState.open,
|
|
94
|
+
style: {
|
|
95
|
+
[`& .${_speedDialIconClasses.default.openIcon}`]: {
|
|
96
|
+
transform: 'rotate(0deg)',
|
|
97
|
+
opacity: 1
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}]
|
|
80
101
|
}));
|
|
81
102
|
const SpeedDialIcon = /*#__PURE__*/React.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
82
|
-
const props = (
|
|
103
|
+
const props = useThemeProps({
|
|
83
104
|
props: inProps,
|
|
84
105
|
name: 'MuiSpeedDialIcon'
|
|
85
106
|
});
|
|
@@ -223,7 +223,7 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
223
223
|
/**
|
|
224
224
|
* The props used for each slot inside.
|
|
225
225
|
* @default {}
|
|
226
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. [
|
|
226
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
227
227
|
*/
|
|
228
228
|
componentsProps: _propTypes.default.shape({
|
|
229
229
|
label: _propTypes.default.object
|
|
@@ -259,12 +259,12 @@ process.env.NODE_ENV !== "production" ? StepLabel.propTypes /* remove-proptypes
|
|
|
259
259
|
}),
|
|
260
260
|
/**
|
|
261
261
|
* The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
|
|
262
|
-
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. [
|
|
262
|
+
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
263
263
|
*/
|
|
264
264
|
StepIconComponent: _propTypes.default.elementType,
|
|
265
265
|
/**
|
|
266
266
|
* Props applied to the [`StepIcon`](/material-ui/api/step-icon/) element.
|
|
267
|
-
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. [
|
|
267
|
+
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
268
268
|
*/
|
|
269
269
|
StepIconProps: _propTypes.default.object,
|
|
270
270
|
/**
|