@mui/material 5.4.2 → 5.4.3
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/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- 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 +76 -76
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/ButtonBase.js +1 -1
- 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 +47 -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 +80 -80
- 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 +22 -22
- package/Dialog/Dialog.d.ts +4 -1
- package/Dialog/Dialog.js +10 -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/Drawer.d.ts +4 -1
- package/Drawer/Drawer.js +11 -9
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/Fade/Fade.d.ts +2 -2
- package/Fade/Fade.js +8 -8
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- 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/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- 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/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- 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 +17 -17
- 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/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Slide/Slide.d.ts +4 -4
- package/Slide/Slide.js +14 -14
- package/Snackbar/Snackbar.d.ts +2 -2
- package/Snackbar/Snackbar.js +8 -8
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.d.ts +2 -2
- package/SpeedDial/SpeedDial.js +9 -7
- 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 -0
- package/Step/StepContext.js +10 -2
- package/Step/index.d.ts +3 -0
- package/Step/index.js +3 -1
- 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/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SwipeableDrawer/SwipeableDrawer.js +8 -6
- 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/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Zoom/Zoom.d.ts +2 -2
- package/Zoom/Zoom.js +8 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/ButtonBase/ButtonBase.js +1 -1
- package/legacy/Dialog/Dialog.js +10 -6
- package/legacy/Drawer/Drawer.js +11 -9
- package/legacy/Fade/Fade.js +8 -8
- package/legacy/Slide/Slide.js +14 -14
- package/legacy/Snackbar/Snackbar.js +8 -8
- package/legacy/SpeedDial/SpeedDial.js +9 -7
- package/legacy/Step/StepContext.js +10 -2
- package/legacy/Step/index.js +3 -1
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +8 -6
- package/legacy/Zoom/Zoom.js +8 -8
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +86 -78
- package/locale/index.d.ts +68 -68
- package/locale/index.js +12 -6
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/ButtonBase/ButtonBase.js +1 -1
- package/modern/Dialog/Dialog.js +10 -6
- package/modern/Drawer/Drawer.js +11 -9
- package/modern/Fade/Fade.js +8 -8
- package/modern/Slide/Slide.js +14 -14
- package/modern/Snackbar/Snackbar.js +8 -8
- package/modern/SpeedDial/SpeedDial.js +9 -7
- package/modern/Step/StepContext.js +10 -2
- package/modern/Step/index.js +3 -1
- package/modern/SwipeableDrawer/SwipeableDrawer.js +8 -6
- package/modern/Zoom/Zoom.js +8 -8
- package/modern/index.js +1 -1
- package/modern/locale/index.js +12 -6
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/ButtonBase/ButtonBase.js +1 -1
- package/node/Dialog/Dialog.js +11 -7
- package/node/Drawer/Drawer.js +11 -10
- package/node/Fade/Fade.js +7 -9
- package/node/Slide/Slide.js +14 -16
- package/node/Snackbar/Snackbar.js +8 -9
- package/node/SpeedDial/SpeedDial.js +9 -7
- package/node/Step/StepContext.js +11 -1
- package/node/Step/index.js +22 -1
- package/node/SwipeableDrawer/SwipeableDrawer.js +8 -7
- package/node/Zoom/Zoom.js +7 -9
- package/node/index.js +1 -1
- package/node/locale/index.js +12 -6
- package/package.json +2 -2
- 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 +90 -66
- package/umd/material-ui.production.min.js +16 -16
- 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,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.4.
|
|
1
|
+
/** @license MUI v5.4.3
|
|
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.
|
|
@@ -17956,7 +17956,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17956
17956
|
TouchRippleProps: PropTypes.object,
|
|
17957
17957
|
|
|
17958
17958
|
/**
|
|
17959
|
-
* A ref that points to the `
|
|
17959
|
+
* A ref that points to the `TouchRipple` element.
|
|
17960
17960
|
*/
|
|
17961
17961
|
touchRippleRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
17962
17962
|
current: PropTypes.shape({
|
|
@@ -21492,16 +21492,18 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21492
21492
|
opacity: 1
|
|
21493
21493
|
}
|
|
21494
21494
|
};
|
|
21495
|
-
const defaultTimeout$2 = {
|
|
21496
|
-
enter: duration.enteringScreen,
|
|
21497
|
-
exit: duration.leavingScreen
|
|
21498
|
-
};
|
|
21499
21495
|
/**
|
|
21500
21496
|
* The Fade transition is used by the [Modal](/components/modal/) component.
|
|
21501
21497
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
21502
21498
|
*/
|
|
21503
21499
|
|
|
21504
21500
|
const Fade = /*#__PURE__*/React__namespace.forwardRef(function Fade(props, ref) {
|
|
21501
|
+
const theme = useTheme();
|
|
21502
|
+
const defaultTimeout = {
|
|
21503
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
21504
|
+
exit: theme.transitions.duration.leavingScreen
|
|
21505
|
+
};
|
|
21506
|
+
|
|
21505
21507
|
const {
|
|
21506
21508
|
addEndListener,
|
|
21507
21509
|
appear = true,
|
|
@@ -21515,13 +21517,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21515
21517
|
onExited,
|
|
21516
21518
|
onExiting,
|
|
21517
21519
|
style,
|
|
21518
|
-
timeout = defaultTimeout
|
|
21520
|
+
timeout = defaultTimeout,
|
|
21519
21521
|
// eslint-disable-next-line react/prop-types
|
|
21520
21522
|
TransitionComponent = Transition$1
|
|
21521
21523
|
} = props,
|
|
21522
21524
|
other = _objectWithoutPropertiesLoose(props, _excluded$1M);
|
|
21523
|
-
|
|
21524
|
-
const theme = useTheme();
|
|
21525
21525
|
const nodeRef = React__namespace.useRef(null);
|
|
21526
21526
|
const foreignRef = useForkRef(children.ref, ref);
|
|
21527
21527
|
const handleRef = useForkRef(nodeRef, foreignRef);
|
|
@@ -21686,8 +21686,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21686
21686
|
* The duration for the transition, in milliseconds.
|
|
21687
21687
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
21688
21688
|
* @default {
|
|
21689
|
-
* enter: duration.enteringScreen,
|
|
21690
|
-
* exit: duration.leavingScreen,
|
|
21689
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
21690
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
21691
21691
|
* }
|
|
21692
21692
|
*/
|
|
21693
21693
|
timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
@@ -25782,10 +25782,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25782
25782
|
maxWidth: '100%'
|
|
25783
25783
|
}
|
|
25784
25784
|
}));
|
|
25785
|
-
const defaultTransitionDuration$1 = {
|
|
25786
|
-
enter: duration.enteringScreen,
|
|
25787
|
-
exit: duration.leavingScreen
|
|
25788
|
-
};
|
|
25789
25785
|
/**
|
|
25790
25786
|
* Dialogs are overlaid modal paper based components with a backdrop.
|
|
25791
25787
|
*/
|
|
@@ -25795,6 +25791,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25795
25791
|
props: inProps,
|
|
25796
25792
|
name: 'MuiDialog'
|
|
25797
25793
|
});
|
|
25794
|
+
const theme = useTheme();
|
|
25795
|
+
const defaultTransitionDuration = {
|
|
25796
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
25797
|
+
exit: theme.transitions.duration.leavingScreen
|
|
25798
|
+
};
|
|
25798
25799
|
|
|
25799
25800
|
const {
|
|
25800
25801
|
'aria-describedby': ariaDescribedby,
|
|
@@ -25814,7 +25815,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25814
25815
|
PaperProps = {},
|
|
25815
25816
|
scroll = 'paper',
|
|
25816
25817
|
TransitionComponent = Fade$1,
|
|
25817
|
-
transitionDuration = defaultTransitionDuration
|
|
25818
|
+
transitionDuration = defaultTransitionDuration,
|
|
25818
25819
|
TransitionProps
|
|
25819
25820
|
} = props,
|
|
25820
25821
|
other = _objectWithoutPropertiesLoose(props, _excluded$1t);
|
|
@@ -26035,7 +26036,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26035
26036
|
/**
|
|
26036
26037
|
* The duration for the transition, in milliseconds.
|
|
26037
26038
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
26038
|
-
* @default {
|
|
26039
|
+
* @default {
|
|
26040
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
26041
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
26042
|
+
* }
|
|
26039
26043
|
*/
|
|
26040
26044
|
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
26041
26045
|
appear: PropTypes.number,
|
|
@@ -26743,20 +26747,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26743
26747
|
node.style.transform = transform;
|
|
26744
26748
|
}
|
|
26745
26749
|
}
|
|
26746
|
-
const defaultEasing = {
|
|
26747
|
-
enter: easing.easeOut,
|
|
26748
|
-
exit: easing.sharp
|
|
26749
|
-
};
|
|
26750
|
-
const defaultTimeout$1 = {
|
|
26751
|
-
enter: duration.enteringScreen,
|
|
26752
|
-
exit: duration.leavingScreen
|
|
26753
|
-
};
|
|
26754
26750
|
/**
|
|
26755
26751
|
* The Slide transition is used by the [Drawer](/components/drawers/) component.
|
|
26756
26752
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
26757
26753
|
*/
|
|
26758
26754
|
|
|
26759
26755
|
const Slide = /*#__PURE__*/React__namespace.forwardRef(function Slide(props, ref) {
|
|
26756
|
+
const theme = useTheme();
|
|
26757
|
+
const defaultEasing = {
|
|
26758
|
+
enter: theme.transitions.easing.easeOut,
|
|
26759
|
+
exit: theme.transitions.easing.sharp
|
|
26760
|
+
};
|
|
26761
|
+
const defaultTimeout = {
|
|
26762
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
26763
|
+
exit: theme.transitions.duration.leavingScreen
|
|
26764
|
+
};
|
|
26765
|
+
|
|
26760
26766
|
const {
|
|
26761
26767
|
addEndListener,
|
|
26762
26768
|
appear = true,
|
|
@@ -26772,13 +26778,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26772
26778
|
onExited,
|
|
26773
26779
|
onExiting,
|
|
26774
26780
|
style,
|
|
26775
|
-
timeout = defaultTimeout
|
|
26781
|
+
timeout = defaultTimeout,
|
|
26776
26782
|
// eslint-disable-next-line react/prop-types
|
|
26777
26783
|
TransitionComponent = Transition$1
|
|
26778
26784
|
} = props,
|
|
26779
26785
|
other = _objectWithoutPropertiesLoose(props, _excluded$1n);
|
|
26780
26786
|
|
|
26781
|
-
const theme = useTheme();
|
|
26782
26787
|
const childrenRef = React__namespace.useRef(null);
|
|
26783
26788
|
const handleRefIntermediary = useForkRef(children.ref, childrenRef);
|
|
26784
26789
|
const handleRef = useForkRef(handleRefIntermediary, ref);
|
|
@@ -26966,8 +26971,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26966
26971
|
* The transition timing function.
|
|
26967
26972
|
* You may specify a single easing or a object containing enter and exit values.
|
|
26968
26973
|
* @default {
|
|
26969
|
-
* enter: easing.easeOut,
|
|
26970
|
-
* exit: easing.sharp,
|
|
26974
|
+
* enter: theme.transitions.easing.easeOut,
|
|
26975
|
+
* exit: theme.transitions.easing.sharp,
|
|
26971
26976
|
* }
|
|
26972
26977
|
*/
|
|
26973
26978
|
easing: PropTypes.oneOfType([PropTypes.shape({
|
|
@@ -27019,8 +27024,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27019
27024
|
* The duration for the transition, in milliseconds.
|
|
27020
27025
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
27021
27026
|
* @default {
|
|
27022
|
-
* enter: duration.enteringScreen,
|
|
27023
|
-
* exit: duration.leavingScreen,
|
|
27027
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
27028
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
27024
27029
|
* }
|
|
27025
27030
|
*/
|
|
27026
27031
|
timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
@@ -27146,10 +27151,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27146
27151
|
function getAnchor(theme, anchor) {
|
|
27147
27152
|
return theme.direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
|
|
27148
27153
|
}
|
|
27149
|
-
const defaultTransitionDuration = {
|
|
27150
|
-
enter: duration.enteringScreen,
|
|
27151
|
-
exit: duration.leavingScreen
|
|
27152
|
-
};
|
|
27153
27154
|
/**
|
|
27154
27155
|
* The props of the [Modal](/api/modal/) component are available
|
|
27155
27156
|
* when `variant="temporary"` is set.
|
|
@@ -27160,6 +27161,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27160
27161
|
props: inProps,
|
|
27161
27162
|
name: 'MuiDrawer'
|
|
27162
27163
|
});
|
|
27164
|
+
const theme = useTheme();
|
|
27165
|
+
const defaultTransitionDuration = {
|
|
27166
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
27167
|
+
exit: theme.transitions.duration.leavingScreen
|
|
27168
|
+
};
|
|
27163
27169
|
|
|
27164
27170
|
const {
|
|
27165
27171
|
anchor: anchorProp = 'left',
|
|
@@ -27181,12 +27187,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27181
27187
|
variant = 'temporary'
|
|
27182
27188
|
} = props,
|
|
27183
27189
|
ModalProps = _objectWithoutPropertiesLoose(props.ModalProps, _excluded$1m),
|
|
27184
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2$8);
|
|
27185
|
-
|
|
27186
|
-
const theme = useTheme(); // Let's assume that the Drawer will always be rendered on user space.
|
|
27190
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$8); // Let's assume that the Drawer will always be rendered on user space.
|
|
27187
27191
|
// We use this state is order to skip the appear transition during the
|
|
27188
27192
|
// initial mount of the component.
|
|
27189
27193
|
|
|
27194
|
+
|
|
27190
27195
|
const mounted = React__namespace.useRef(false);
|
|
27191
27196
|
React__namespace.useEffect(() => {
|
|
27192
27197
|
mounted.current = true;
|
|
@@ -27340,7 +27345,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27340
27345
|
/**
|
|
27341
27346
|
* The duration for the transition, in milliseconds.
|
|
27342
27347
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
27343
|
-
* @default {
|
|
27348
|
+
* @default {
|
|
27349
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
27350
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
27351
|
+
* }
|
|
27344
27352
|
*/
|
|
27345
27353
|
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
27346
27354
|
appear: PropTypes.number,
|
|
@@ -41148,6 +41156,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41148
41156
|
props: inProps,
|
|
41149
41157
|
name: 'MuiSnackbar'
|
|
41150
41158
|
});
|
|
41159
|
+
const theme = useTheme();
|
|
41160
|
+
const defaultTransitionDuration = {
|
|
41161
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
41162
|
+
exit: theme.transitions.duration.leavingScreen
|
|
41163
|
+
};
|
|
41151
41164
|
|
|
41152
41165
|
const {
|
|
41153
41166
|
action,
|
|
@@ -41173,10 +41186,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41173
41186
|
open,
|
|
41174
41187
|
resumeHideDuration,
|
|
41175
41188
|
TransitionComponent = Grow$1,
|
|
41176
|
-
transitionDuration =
|
|
41177
|
-
enter: duration.enteringScreen,
|
|
41178
|
-
exit: duration.leavingScreen
|
|
41179
|
-
},
|
|
41189
|
+
transitionDuration = defaultTransitionDuration,
|
|
41180
41190
|
TransitionProps: {
|
|
41181
41191
|
onEnter,
|
|
41182
41192
|
onExited
|
|
@@ -41185,7 +41195,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41185
41195
|
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$z),
|
|
41186
41196
|
other = _objectWithoutPropertiesLoose(props, _excluded2$2);
|
|
41187
41197
|
|
|
41188
|
-
const theme = useTheme();
|
|
41189
41198
|
const isRtl = theme.direction === 'rtl';
|
|
41190
41199
|
|
|
41191
41200
|
const ownerState = _extends({}, props, {
|
|
@@ -41504,8 +41513,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41504
41513
|
* The duration for the transition, in milliseconds.
|
|
41505
41514
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
41506
41515
|
* @default {
|
|
41507
|
-
* enter: duration.enteringScreen,
|
|
41508
|
-
* exit: duration.leavingScreen,
|
|
41516
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
41517
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
41509
41518
|
* }
|
|
41510
41519
|
*/
|
|
41511
41520
|
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
@@ -41532,10 +41541,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41532
41541
|
transform: 'none'
|
|
41533
41542
|
}
|
|
41534
41543
|
};
|
|
41535
|
-
const defaultTimeout = {
|
|
41536
|
-
enter: duration.enteringScreen,
|
|
41537
|
-
exit: duration.leavingScreen
|
|
41538
|
-
};
|
|
41539
41544
|
/**
|
|
41540
41545
|
* The Zoom transition can be used for the floating variant of the
|
|
41541
41546
|
* [Button](/components/buttons/#floating-action-buttons) component.
|
|
@@ -41543,6 +41548,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41543
41548
|
*/
|
|
41544
41549
|
|
|
41545
41550
|
const Zoom = /*#__PURE__*/React__namespace.forwardRef(function Zoom(props, ref) {
|
|
41551
|
+
const theme = useTheme();
|
|
41552
|
+
const defaultTimeout = {
|
|
41553
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
41554
|
+
exit: theme.transitions.duration.leavingScreen
|
|
41555
|
+
};
|
|
41556
|
+
|
|
41546
41557
|
const {
|
|
41547
41558
|
addEndListener,
|
|
41548
41559
|
appear = true,
|
|
@@ -41562,7 +41573,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41562
41573
|
} = props,
|
|
41563
41574
|
other = _objectWithoutPropertiesLoose(props, _excluded$y);
|
|
41564
41575
|
|
|
41565
|
-
const theme = useTheme();
|
|
41566
41576
|
const nodeRef = React__namespace.useRef(null);
|
|
41567
41577
|
const foreignRef = useForkRef(children.ref, ref);
|
|
41568
41578
|
const handleRef = useForkRef(nodeRef, foreignRef);
|
|
@@ -41727,8 +41737,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41727
41737
|
* The duration for the transition, in milliseconds.
|
|
41728
41738
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
41729
41739
|
* @default {
|
|
41730
|
-
* enter: duration.enteringScreen,
|
|
41731
|
-
* exit: duration.leavingScreen,
|
|
41740
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
41741
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
41732
41742
|
* }
|
|
41733
41743
|
*/
|
|
41734
41744
|
timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
@@ -41865,6 +41875,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41865
41875
|
props: inProps,
|
|
41866
41876
|
name: 'MuiSpeedDial'
|
|
41867
41877
|
});
|
|
41878
|
+
const theme = useTheme();
|
|
41879
|
+
const defaultTransitionDuration = {
|
|
41880
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
41881
|
+
exit: theme.transitions.duration.leavingScreen
|
|
41882
|
+
};
|
|
41868
41883
|
|
|
41869
41884
|
const {
|
|
41870
41885
|
ariaLabel,
|
|
@@ -41885,10 +41900,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41885
41900
|
onOpen,
|
|
41886
41901
|
open: openProp,
|
|
41887
41902
|
TransitionComponent = Zoom$1,
|
|
41888
|
-
transitionDuration =
|
|
41889
|
-
enter: duration.enteringScreen,
|
|
41890
|
-
exit: duration.leavingScreen
|
|
41891
|
-
},
|
|
41903
|
+
transitionDuration = defaultTransitionDuration,
|
|
41892
41904
|
TransitionProps
|
|
41893
41905
|
} = props,
|
|
41894
41906
|
FabProps = _objectWithoutPropertiesLoose(props.FabProps, _excluded$x),
|
|
@@ -42270,8 +42282,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42270
42282
|
* The duration for the transition, in milliseconds.
|
|
42271
42283
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
42272
42284
|
* @default {
|
|
42273
|
-
* enter: duration.enteringScreen,
|
|
42274
|
-
* exit: duration.leavingScreen,
|
|
42285
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
42286
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
42275
42287
|
* }
|
|
42276
42288
|
*/
|
|
42277
42289
|
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
@@ -43675,15 +43687,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43675
43687
|
var StepperContext$1 = StepperContext;
|
|
43676
43688
|
|
|
43677
43689
|
/**
|
|
43678
|
-
*
|
|
43690
|
+
* Provides information about the current step in Stepper.
|
|
43679
43691
|
*/
|
|
43680
|
-
|
|
43681
43692
|
const StepContext = /*#__PURE__*/React__namespace.createContext({});
|
|
43682
43693
|
|
|
43683
43694
|
{
|
|
43684
43695
|
StepContext.displayName = 'StepContext';
|
|
43685
43696
|
}
|
|
43697
|
+
/**
|
|
43698
|
+
* Returns the current StepContext or an empty object if no StepContext
|
|
43699
|
+
* has been defined in the component tree.
|
|
43700
|
+
*/
|
|
43686
43701
|
|
|
43702
|
+
|
|
43703
|
+
function useStepContext() {
|
|
43704
|
+
return React__namespace.useContext(StepContext);
|
|
43705
|
+
}
|
|
43687
43706
|
var StepContext$1 = StepContext;
|
|
43688
43707
|
|
|
43689
43708
|
function getStepUtilityClass(slot) {
|
|
@@ -45038,16 +45057,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45038
45057
|
}
|
|
45039
45058
|
|
|
45040
45059
|
const iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
45041
|
-
const transitionDurationDefault = {
|
|
45042
|
-
enter: duration.enteringScreen,
|
|
45043
|
-
exit: duration.leavingScreen
|
|
45044
|
-
};
|
|
45045
45060
|
const SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
45046
45061
|
const props = useThemeProps$1({
|
|
45047
45062
|
name: 'MuiSwipeableDrawer',
|
|
45048
45063
|
props: inProps
|
|
45049
45064
|
});
|
|
45050
45065
|
const theme = useTheme();
|
|
45066
|
+
const transitionDurationDefault = {
|
|
45067
|
+
enter: theme.transitions.duration.enteringScreen,
|
|
45068
|
+
exit: theme.transitions.duration.leavingScreen
|
|
45069
|
+
};
|
|
45051
45070
|
|
|
45052
45071
|
const {
|
|
45053
45072
|
anchor = 'left',
|
|
@@ -45525,7 +45544,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45525
45544
|
/**
|
|
45526
45545
|
* The duration for the transition, in milliseconds.
|
|
45527
45546
|
* You may specify a single timeout for all transitions, or individually with an object.
|
|
45528
|
-
* @default {
|
|
45547
|
+
* @default {
|
|
45548
|
+
* enter: theme.transitions.duration.enteringScreen,
|
|
45549
|
+
* exit: theme.transitions.duration.leavingScreen,
|
|
45550
|
+
* }
|
|
45529
45551
|
*/
|
|
45530
45552
|
transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
45531
45553
|
appear: PropTypes.number,
|
|
@@ -50051,6 +50073,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50051
50073
|
exports.StepButton = StepButton$1;
|
|
50052
50074
|
exports.StepConnector = StepConnector$1;
|
|
50053
50075
|
exports.StepContent = StepContent$1;
|
|
50076
|
+
exports.StepContext = StepContext$1;
|
|
50054
50077
|
exports.StepIcon = StepIcon$1;
|
|
50055
50078
|
exports.StepLabel = StepLabel$1;
|
|
50056
50079
|
exports.Stepper = Stepper$1;
|
|
@@ -50358,6 +50381,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50358
50381
|
exports.usePagination = usePagination;
|
|
50359
50382
|
exports.useRadioGroup = useRadioGroup;
|
|
50360
50383
|
exports.useScrollTrigger = useScrollTrigger;
|
|
50384
|
+
exports.useStepContext = useStepContext;
|
|
50361
50385
|
exports.useTheme = useTheme;
|
|
50362
50386
|
exports.useThemeProps = useThemeProps;
|
|
50363
50387
|
exports.withStyles = withStyles;
|