@mui/material 5.9.1 → 5.9.2
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/Backdrop/backdropClasses.d.ts +10 -10
- 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 +66 -4
- 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 +6 -6
- package/Dialog/Dialog.js +2 -1
- 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/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/FormHelperText.d.ts +7 -1
- package/FormHelperText/FormHelperText.js +3 -1
- 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/ImageListItem.js +4 -4
- 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/getTextDecoration.d.ts +15 -15
- 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/Modal/Modal.d.ts +2 -1
- package/Modal/Modal.js +2 -1
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponent.d.ts +4 -0
- 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 +24 -24
- package/Popper/Popper.js +24 -0
- package/README.md +3 -2
- 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/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/Stack/Stack.js +13 -1
- 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/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- 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/Tabs.d.ts +7 -1
- package/Tabs/Tabs.js +3 -1
- 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.js +5 -6
- 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/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Dialog/Dialog.js +2 -1
- package/legacy/FormHelperText/FormHelperText.js +3 -1
- package/legacy/ImageListItem/ImageListItem.js +4 -4
- package/legacy/Modal/Modal.js +2 -1
- package/legacy/Popper/Popper.js +24 -0
- package/legacy/Stack/Stack.js +13 -1
- package/legacy/Tabs/Tabs.js +3 -1
- package/legacy/Tooltip/Tooltip.js +5 -6
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +71 -71
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Dialog/Dialog.js +2 -1
- package/modern/FormHelperText/FormHelperText.js +3 -1
- package/modern/ImageListItem/ImageListItem.js +4 -4
- package/modern/Modal/Modal.js +2 -1
- package/modern/Popper/Popper.js +24 -0
- package/modern/Stack/Stack.js +13 -1
- package/modern/Tabs/Tabs.js +3 -1
- package/modern/Tooltip/Tooltip.js +5 -6
- package/modern/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Dialog/Dialog.js +2 -1
- package/node/FormHelperText/FormHelperText.js +3 -1
- package/node/ImageListItem/ImageListItem.js +4 -4
- package/node/Modal/Modal.js +2 -1
- package/node/Popper/Popper.js +24 -0
- package/node/Stack/Stack.js +13 -1
- package/node/Tabs/Tabs.js +3 -1
- package/node/Tooltip/Tooltip.js +5 -6
- package/node/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- 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 +111 -25
- package/umd/material-ui.production.min.js +20 -20
- 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.9.
|
|
1
|
+
/** @license MUI v5.9.2
|
|
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.
|
|
@@ -8292,7 +8292,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8292
8292
|
defaultTheme: defaultTheme$5
|
|
8293
8293
|
});
|
|
8294
8294
|
|
|
8295
|
-
const useUtilityClasses$
|
|
8295
|
+
const useUtilityClasses$1Q = (ownerState, componentName) => {
|
|
8296
8296
|
const getContainerUtilityClass = slot => {
|
|
8297
8297
|
return generateUtilityClass(componentName, slot);
|
|
8298
8298
|
};
|
|
@@ -8385,7 +8385,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8385
8385
|
}); // @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8386
8386
|
|
|
8387
8387
|
|
|
8388
|
-
const classes = useUtilityClasses$
|
|
8388
|
+
const classes = useUtilityClasses$1Q(ownerState, componentName);
|
|
8389
8389
|
return (
|
|
8390
8390
|
/*#__PURE__*/
|
|
8391
8391
|
// @ts-ignore theme is injected by the styled util
|
|
@@ -10159,7 +10159,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10159
10159
|
|
|
10160
10160
|
const _excluded$2c = ["badgeContent", "component", "children", "components", "componentsProps", "invisible", "max", "showZero"];
|
|
10161
10161
|
|
|
10162
|
-
const useUtilityClasses$
|
|
10162
|
+
const useUtilityClasses$1P = ownerState => {
|
|
10163
10163
|
const {
|
|
10164
10164
|
invisible
|
|
10165
10165
|
} = ownerState;
|
|
@@ -10208,7 +10208,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10208
10208
|
showZero
|
|
10209
10209
|
});
|
|
10210
10210
|
|
|
10211
|
-
const classes = useUtilityClasses$
|
|
10211
|
+
const classes = useUtilityClasses$1P(ownerState);
|
|
10212
10212
|
const Root = component || components.Root || 'span';
|
|
10213
10213
|
const rootProps = useSlotProps({
|
|
10214
10214
|
elementType: Root,
|
|
@@ -12527,7 +12527,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12527
12527
|
|
|
12528
12528
|
var Portal$1 = Portal;
|
|
12529
12529
|
|
|
12530
|
-
|
|
12530
|
+
function getPopperUnstyledUtilityClass(slot) {
|
|
12531
|
+
return generateUtilityClass('MuiPopperUnstyled', slot);
|
|
12532
|
+
}
|
|
12533
|
+
generateUtilityClasses('MuiPopperUnstyled', ['root']);
|
|
12534
|
+
|
|
12535
|
+
const _excluded$2b = ["anchorEl", "children", "component", "components", "componentsProps", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
|
|
12531
12536
|
_excluded2$a = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
|
|
12532
12537
|
|
|
12533
12538
|
function flipPlacement(placement, direction) {
|
|
@@ -12557,17 +12562,30 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12557
12562
|
return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
|
|
12558
12563
|
}
|
|
12559
12564
|
|
|
12565
|
+
const useUtilityClasses$1O = () => {
|
|
12566
|
+
const slots = {
|
|
12567
|
+
root: ['root']
|
|
12568
|
+
};
|
|
12569
|
+
return composeClasses(slots, getPopperUnstyledUtilityClass, {});
|
|
12570
|
+
};
|
|
12571
|
+
|
|
12560
12572
|
const defaultPopperOptions = {};
|
|
12561
12573
|
/* eslint-disable react/prop-types */
|
|
12562
12574
|
|
|
12563
12575
|
const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTooltip(props, ref) {
|
|
12576
|
+
var _ref;
|
|
12577
|
+
|
|
12564
12578
|
const {
|
|
12565
12579
|
anchorEl,
|
|
12566
12580
|
children,
|
|
12581
|
+
component,
|
|
12582
|
+
components = {},
|
|
12583
|
+
componentsProps = {},
|
|
12567
12584
|
direction,
|
|
12568
12585
|
disablePortal,
|
|
12569
12586
|
modifiers,
|
|
12570
12587
|
open,
|
|
12588
|
+
ownerState,
|
|
12571
12589
|
placement: initialPlacement,
|
|
12572
12590
|
popperOptions,
|
|
12573
12591
|
popperRef: popperRefProp,
|
|
@@ -12665,10 +12683,20 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12665
12683
|
childProps.TransitionProps = TransitionProps;
|
|
12666
12684
|
}
|
|
12667
12685
|
|
|
12668
|
-
|
|
12669
|
-
|
|
12670
|
-
|
|
12671
|
-
|
|
12686
|
+
const classes = useUtilityClasses$1O();
|
|
12687
|
+
const Root = (_ref = component != null ? component : components.Root) != null ? _ref : 'div';
|
|
12688
|
+
const rootProps = useSlotProps({
|
|
12689
|
+
elementType: Root,
|
|
12690
|
+
externalSlotProps: componentsProps.root,
|
|
12691
|
+
externalForwardedProps: other,
|
|
12692
|
+
additionalProps: {
|
|
12693
|
+
role: 'tooltip',
|
|
12694
|
+
ref: ownRef
|
|
12695
|
+
},
|
|
12696
|
+
ownerState: _extends({}, props, ownerState),
|
|
12697
|
+
className: classes.root
|
|
12698
|
+
});
|
|
12699
|
+
return /*#__PURE__*/jsxRuntime_1(Root, _extends({}, rootProps, {
|
|
12672
12700
|
children: typeof children === 'function' ? children(childProps) : children
|
|
12673
12701
|
}));
|
|
12674
12702
|
});
|
|
@@ -12784,6 +12812,23 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12784
12812
|
/* @typescript-to-proptypes-ignore */
|
|
12785
12813
|
.oneOfType([PropTypes.node, PropTypes.func]),
|
|
12786
12814
|
|
|
12815
|
+
/**
|
|
12816
|
+
* The components used for each slot inside the Popper.
|
|
12817
|
+
* Either a string to use a HTML element or a component.
|
|
12818
|
+
* @default {}
|
|
12819
|
+
*/
|
|
12820
|
+
components: PropTypes.shape({
|
|
12821
|
+
Root: PropTypes.elementType
|
|
12822
|
+
}),
|
|
12823
|
+
|
|
12824
|
+
/**
|
|
12825
|
+
* The props used for each slot inside the Popper.
|
|
12826
|
+
* @default {}
|
|
12827
|
+
*/
|
|
12828
|
+
componentsProps: PropTypes.shape({
|
|
12829
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
12830
|
+
}),
|
|
12831
|
+
|
|
12787
12832
|
/**
|
|
12788
12833
|
* An HTML element or function that returns one.
|
|
12789
12834
|
* The `container` will have the portal children appended to it.
|
|
@@ -21094,6 +21139,30 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21094
21139
|
/* @typescript-to-proptypes-ignore */
|
|
21095
21140
|
.oneOfType([PropTypes.node, PropTypes.func]),
|
|
21096
21141
|
|
|
21142
|
+
/**
|
|
21143
|
+
* @ignore
|
|
21144
|
+
*/
|
|
21145
|
+
component: PropTypes
|
|
21146
|
+
/* @typescript-to-proptypes-ignore */
|
|
21147
|
+
.elementType,
|
|
21148
|
+
|
|
21149
|
+
/**
|
|
21150
|
+
* The components used for each slot inside the Popper.
|
|
21151
|
+
* Either a string to use a HTML element or a component.
|
|
21152
|
+
* @default {}
|
|
21153
|
+
*/
|
|
21154
|
+
components: PropTypes.shape({
|
|
21155
|
+
Root: PropTypes.elementType
|
|
21156
|
+
}),
|
|
21157
|
+
|
|
21158
|
+
/**
|
|
21159
|
+
* The props used for each slot inside the Popper.
|
|
21160
|
+
* @default {}
|
|
21161
|
+
*/
|
|
21162
|
+
componentsProps: PropTypes.shape({
|
|
21163
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
21164
|
+
}),
|
|
21165
|
+
|
|
21097
21166
|
/**
|
|
21098
21167
|
* An HTML element or function that returns one.
|
|
21099
21168
|
* The `container` will have the portal children appended to it.
|
|
@@ -28208,7 +28277,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28208
28277
|
|
|
28209
28278
|
/**
|
|
28210
28279
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
28211
|
-
* @deprecated Use `components.Backdrop` instead.
|
|
28280
|
+
* @deprecated Use `components.Backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
28281
|
+
* Use the `components.Backdrop` prop to make your application ready for the next version of Material UI.
|
|
28212
28282
|
* @default styled(Backdrop, {
|
|
28213
28283
|
* name: 'MuiModal',
|
|
28214
28284
|
* slot: 'Backdrop',
|
|
@@ -28654,7 +28724,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28654
28724
|
|
|
28655
28725
|
/**
|
|
28656
28726
|
* A backdrop component. This prop enables custom backdrop rendering.
|
|
28657
|
-
* @deprecated Use `components.Backdrop` instead.
|
|
28727
|
+
* @deprecated Use `components.Backdrop` instead. While this prop currently works, it will be removed in the next major version.
|
|
28728
|
+
* Use the `components.Backdrop` prop to make your application ready for the next version of Material UI.
|
|
28658
28729
|
* @default styled(Backdrop, {
|
|
28659
28730
|
* name: 'MuiModal',
|
|
28660
28731
|
* slot: 'Backdrop',
|
|
@@ -31592,7 +31663,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31592
31663
|
/**
|
|
31593
31664
|
* The variant to use.
|
|
31594
31665
|
*/
|
|
31595
|
-
variant: PropTypes
|
|
31666
|
+
variant: PropTypes
|
|
31667
|
+
/* @typescript-to-proptypes-ignore */
|
|
31668
|
+
.oneOfType([PropTypes.oneOf(['filled', 'outlined', 'standard']), PropTypes.string])
|
|
31596
31669
|
} ;
|
|
31597
31670
|
var FormHelperText$1 = FormHelperText;
|
|
31598
31671
|
|
|
@@ -33767,9 +33840,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33767
33840
|
})(({
|
|
33768
33841
|
ownerState
|
|
33769
33842
|
}) => _extends({
|
|
33770
|
-
display: '
|
|
33771
|
-
position: 'relative'
|
|
33772
|
-
lineHeight: 0
|
|
33843
|
+
display: 'block',
|
|
33844
|
+
position: 'relative'
|
|
33773
33845
|
}, ownerState.variant === 'standard' && {
|
|
33774
33846
|
// For titlebar under list item
|
|
33775
33847
|
display: 'flex',
|
|
@@ -33784,7 +33856,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33784
33856
|
[`& .${imageListItemClasses$1.img}`]: _extends({
|
|
33785
33857
|
objectFit: 'cover',
|
|
33786
33858
|
width: '100%',
|
|
33787
|
-
height: '100%'
|
|
33859
|
+
height: '100%',
|
|
33860
|
+
display: 'block'
|
|
33788
33861
|
}, ownerState.variant === 'standard' && {
|
|
33789
33862
|
height: 'auto',
|
|
33790
33863
|
flexGrow: 1
|
|
@@ -44860,15 +44933,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44860
44933
|
const handleEnter = event => {
|
|
44861
44934
|
if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {
|
|
44862
44935
|
return;
|
|
44863
|
-
} // Workaround for https://github.com/facebook/react/issues/7769
|
|
44864
|
-
|
|
44865
|
-
|
|
44866
|
-
if (!childNode) {
|
|
44867
|
-
setChildNode(event.currentTarget);
|
|
44868
44936
|
} // Remove the title ahead of time.
|
|
44869
44937
|
// We don't want to wait for the next render commit.
|
|
44870
44938
|
// We would risk displaying two tooltips at the same time (native + this one).
|
|
44871
|
-
|
|
44939
|
+
|
|
44940
|
+
|
|
44941
|
+
if (childNode) {
|
|
44872
44942
|
childNode.removeAttribute('title');
|
|
44873
44943
|
}
|
|
44874
44944
|
|
|
@@ -44913,6 +44983,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44913
44983
|
|
|
44914
44984
|
const handleFocus = event => {
|
|
44915
44985
|
// Workaround for https://github.com/facebook/react/issues/7769
|
|
44986
|
+
// The autoFocus of React might trigger the event before the componentDidMount.
|
|
44987
|
+
// We need to account for this eventuality.
|
|
44916
44988
|
if (!childNode) {
|
|
44917
44989
|
setChildNode(event.currentTarget);
|
|
44918
44990
|
}
|
|
@@ -45792,7 +45864,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45792
45864
|
theme
|
|
45793
45865
|
}) => {
|
|
45794
45866
|
let styles = _extends({
|
|
45795
|
-
display: 'flex'
|
|
45867
|
+
display: 'flex',
|
|
45868
|
+
flexDirection: 'column'
|
|
45796
45869
|
}, handleBreakpoints({
|
|
45797
45870
|
theme
|
|
45798
45871
|
}, resolveBreakpointValues({
|
|
@@ -45820,6 +45893,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45820
45893
|
base
|
|
45821
45894
|
});
|
|
45822
45895
|
|
|
45896
|
+
if (typeof directionValues === 'object') {
|
|
45897
|
+
Object.keys(directionValues).forEach((breakpoint, index, breakpoints) => {
|
|
45898
|
+
const directionValue = directionValues[breakpoint];
|
|
45899
|
+
|
|
45900
|
+
if (!directionValue) {
|
|
45901
|
+
const previousDirectionValue = index > 0 ? directionValues[breakpoints[index - 1]] : 'column';
|
|
45902
|
+
directionValues[breakpoint] = previousDirectionValue;
|
|
45903
|
+
}
|
|
45904
|
+
});
|
|
45905
|
+
}
|
|
45906
|
+
|
|
45823
45907
|
const styleFromPropValue = (propValue, breakpoint) => {
|
|
45824
45908
|
return {
|
|
45825
45909
|
'& > :not(style) + :not(style)': {
|
|
@@ -51168,7 +51252,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51168
51252
|
* Determines the color of the indicator.
|
|
51169
51253
|
* @default 'primary'
|
|
51170
51254
|
*/
|
|
51171
|
-
indicatorColor: PropTypes
|
|
51255
|
+
indicatorColor: PropTypes
|
|
51256
|
+
/* @typescript-to-proptypes-ignore */
|
|
51257
|
+
.oneOfType([PropTypes.oneOf(['primary', 'secondary']), PropTypes.string]),
|
|
51172
51258
|
|
|
51173
51259
|
/**
|
|
51174
51260
|
* Callback fired when the value changes.
|