@mui/material 5.9.3 → 5.10.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/Autocomplete.js +2 -2
- 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 +179 -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 +88 -88
- 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/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/Grid.d.ts +1 -1
- package/Grid/Grid.js +6 -2
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.js +1 -1
- 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 +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/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 +24 -24
- package/README.md +9 -8
- 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/Skeleton.d.ts +1 -1
- package/Skeleton/Skeleton.js +3 -1
- package/Skeleton/skeletonClasses.d.ts +26 -24
- package/Skeleton/skeletonClasses.js +1 -1
- 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.js +1 -1
- 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/TableCell.d.ts +6 -2
- package/TableCell/TableCell.js +6 -2
- 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.js +1 -1
- 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/Autocomplete/Autocomplete.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Grid/Grid.js +6 -2
- package/legacy/IconButton/IconButton.js +1 -1
- package/legacy/Skeleton/Skeleton.js +3 -1
- package/legacy/Skeleton/skeletonClasses.js +1 -1
- package/legacy/StepLabel/StepLabel.js +1 -1
- package/legacy/TableCell/TableCell.js +6 -2
- package/legacy/Tooltip/Tooltip.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/useScrollTrigger/useScrollTrigger.js +6 -2
- package/locale/index.d.ts +71 -71
- package/modern/Autocomplete/Autocomplete.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Grid/Grid.js +2 -2
- package/modern/IconButton/IconButton.js +1 -1
- package/modern/Skeleton/Skeleton.js +3 -1
- package/modern/Skeleton/skeletonClasses.js +1 -1
- package/modern/StepLabel/StepLabel.js +1 -1
- package/modern/TableCell/TableCell.js +6 -2
- package/modern/Tooltip/Tooltip.js +1 -1
- package/modern/index.js +1 -1
- package/modern/useScrollTrigger/useScrollTrigger.js +6 -2
- package/node/Autocomplete/Autocomplete.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Grid/Grid.js +6 -2
- package/node/IconButton/IconButton.js +1 -1
- package/node/Skeleton/Skeleton.js +3 -1
- package/node/Skeleton/skeletonClasses.js +1 -1
- package/node/StepLabel/StepLabel.js +1 -1
- package/node/TableCell/TableCell.js +6 -2
- package/node/Tooltip/Tooltip.js +1 -1
- package/node/index.js +1 -1
- package/node/useScrollTrigger/useScrollTrigger.js +6 -2
- package/package.json +4 -3
- 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 +216 -109
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useScrollTrigger/useScrollTrigger.js +6 -2
- 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.
|
|
1
|
+
/** @license MUI v5.10.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.
|
|
@@ -1952,13 +1952,49 @@
|
|
|
1952
1952
|
|
|
1953
1953
|
var pkg = {
|
|
1954
1954
|
name: "@emotion/react",
|
|
1955
|
-
version: "11.
|
|
1955
|
+
version: "11.10.0",
|
|
1956
1956
|
main: "dist/emotion-react.cjs.js",
|
|
1957
1957
|
module: "dist/emotion-react.esm.js",
|
|
1958
1958
|
browser: {
|
|
1959
|
-
"./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js",
|
|
1960
1959
|
"./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js"
|
|
1961
1960
|
},
|
|
1961
|
+
exports: {
|
|
1962
|
+
".": {
|
|
1963
|
+
module: {
|
|
1964
|
+
worker: "./dist/emotion-react.worker.esm.js",
|
|
1965
|
+
browser: "./dist/emotion-react.browser.esm.js",
|
|
1966
|
+
"default": "./dist/emotion-react.esm.js"
|
|
1967
|
+
},
|
|
1968
|
+
"default": "./dist/emotion-react.cjs.js"
|
|
1969
|
+
},
|
|
1970
|
+
"./jsx-runtime": {
|
|
1971
|
+
module: {
|
|
1972
|
+
worker: "./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",
|
|
1973
|
+
browser: "./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",
|
|
1974
|
+
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"
|
|
1975
|
+
},
|
|
1976
|
+
"default": "./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"
|
|
1977
|
+
},
|
|
1978
|
+
"./_isolated-hnrs": {
|
|
1979
|
+
module: {
|
|
1980
|
+
worker: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",
|
|
1981
|
+
browser: "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",
|
|
1982
|
+
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"
|
|
1983
|
+
},
|
|
1984
|
+
"default": "./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"
|
|
1985
|
+
},
|
|
1986
|
+
"./jsx-dev-runtime": {
|
|
1987
|
+
module: {
|
|
1988
|
+
worker: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",
|
|
1989
|
+
browser: "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",
|
|
1990
|
+
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"
|
|
1991
|
+
},
|
|
1992
|
+
"default": "./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"
|
|
1993
|
+
},
|
|
1994
|
+
"./package.json": "./package.json",
|
|
1995
|
+
"./types/css-prop": "./types/css-prop.d.ts",
|
|
1996
|
+
"./macro": "./macro.js"
|
|
1997
|
+
},
|
|
1962
1998
|
types: "types/index.d.ts",
|
|
1963
1999
|
files: [
|
|
1964
2000
|
"src",
|
|
@@ -1978,12 +2014,12 @@
|
|
|
1978
2014
|
"test:typescript": "dtslint types"
|
|
1979
2015
|
},
|
|
1980
2016
|
dependencies: {
|
|
1981
|
-
"@babel/runtime": "^7.
|
|
1982
|
-
"@emotion/babel-plugin": "^11.
|
|
1983
|
-
"@emotion/cache": "^11.
|
|
1984
|
-
"@emotion/serialize": "^1.0
|
|
1985
|
-
"@emotion/utils": "^1.
|
|
1986
|
-
"@emotion/weak-memoize": "^0.
|
|
2017
|
+
"@babel/runtime": "^7.18.3",
|
|
2018
|
+
"@emotion/babel-plugin": "^11.10.0",
|
|
2019
|
+
"@emotion/cache": "^11.10.0",
|
|
2020
|
+
"@emotion/serialize": "^1.1.0",
|
|
2021
|
+
"@emotion/utils": "^1.2.0",
|
|
2022
|
+
"@emotion/weak-memoize": "^0.3.0",
|
|
1987
2023
|
"hoist-non-react-statics": "^3.3.1"
|
|
1988
2024
|
},
|
|
1989
2025
|
peerDependencies: {
|
|
@@ -1999,12 +2035,12 @@
|
|
|
1999
2035
|
}
|
|
2000
2036
|
},
|
|
2001
2037
|
devDependencies: {
|
|
2002
|
-
"@babel/core": "^7.
|
|
2038
|
+
"@babel/core": "^7.18.5",
|
|
2003
2039
|
"@definitelytyped/dtslint": "0.0.112",
|
|
2004
|
-
"@emotion/css": "11.
|
|
2005
|
-
"@emotion/css-prettifier": "1.0
|
|
2006
|
-
"@emotion/server": "11.
|
|
2007
|
-
"@emotion/styled": "11.
|
|
2040
|
+
"@emotion/css": "11.10.0",
|
|
2041
|
+
"@emotion/css-prettifier": "1.1.0",
|
|
2042
|
+
"@emotion/server": "11.10.0",
|
|
2043
|
+
"@emotion/styled": "11.10.0",
|
|
2008
2044
|
"html-tag-names": "^1.1.2",
|
|
2009
2045
|
react: "16.14.0",
|
|
2010
2046
|
"svg-tag-names": "^1.1.1",
|
|
@@ -2022,7 +2058,17 @@
|
|
|
2022
2058
|
"./jsx-dev-runtime.js",
|
|
2023
2059
|
"./_isolated-hnrs.js"
|
|
2024
2060
|
],
|
|
2025
|
-
umdName: "emotionReact"
|
|
2061
|
+
umdName: "emotionReact",
|
|
2062
|
+
exports: {
|
|
2063
|
+
envConditions: [
|
|
2064
|
+
"browser",
|
|
2065
|
+
"worker"
|
|
2066
|
+
],
|
|
2067
|
+
extra: {
|
|
2068
|
+
"./types/css-prop": "./types/css-prop.d.ts",
|
|
2069
|
+
"./macro": "./macro.js"
|
|
2070
|
+
}
|
|
2071
|
+
}
|
|
2026
2072
|
}
|
|
2027
2073
|
};
|
|
2028
2074
|
|
|
@@ -4738,7 +4784,15 @@
|
|
|
4738
4784
|
return stylesFactory(...styles);
|
|
4739
4785
|
};
|
|
4740
4786
|
}
|
|
4741
|
-
}
|
|
4787
|
+
} // eslint-disable-next-line @typescript-eslint/naming-convention
|
|
4788
|
+
|
|
4789
|
+
const internal_processStyles = (tag, processor) => {
|
|
4790
|
+
// Emotion attaches all the styles as `__emotion_styles`.
|
|
4791
|
+
// Ref: https://github.com/emotion-js/emotion/blob/16d971d0da229596d6bcc39d282ba9753c9ee7cf/packages/styled/src/base.js#L186
|
|
4792
|
+
if (Array.isArray(tag.__emotion_styles)) {
|
|
4793
|
+
tag.__emotion_styles = processor(tag.__emotion_styles);
|
|
4794
|
+
}
|
|
4795
|
+
};
|
|
4742
4796
|
|
|
4743
4797
|
const responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) ;
|
|
4744
4798
|
var responsivePropType$1 = responsivePropType;
|
|
@@ -6872,7 +6926,9 @@
|
|
|
6872
6926
|
generateClassName,
|
|
6873
6927
|
styleFunctionSx = defaultStyleFunctionSx
|
|
6874
6928
|
} = options;
|
|
6875
|
-
const BoxRoot = styled$3('div'
|
|
6929
|
+
const BoxRoot = styled$3('div', {
|
|
6930
|
+
shouldForwardProp: prop => prop !== 'theme' && prop !== 'sx' && prop !== 'as'
|
|
6931
|
+
})(styleFunctionSx);
|
|
6876
6932
|
const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
|
|
6877
6933
|
const theme = useTheme$1(defaultTheme);
|
|
6878
6934
|
|
|
@@ -6928,6 +6984,14 @@
|
|
|
6928
6984
|
|
|
6929
6985
|
function isEmpty$2(obj) {
|
|
6930
6986
|
return Object.keys(obj).length === 0;
|
|
6987
|
+
} // https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40
|
|
6988
|
+
|
|
6989
|
+
|
|
6990
|
+
function isStringTag(tag) {
|
|
6991
|
+
return typeof tag === 'string' && // 96 is one less than the char code
|
|
6992
|
+
// for "a" so this is checking that
|
|
6993
|
+
// it's a lowercase character
|
|
6994
|
+
tag.charCodeAt(0) > 96;
|
|
6931
6995
|
}
|
|
6932
6996
|
|
|
6933
6997
|
const getStyleOverrides = (name, theme) => {
|
|
@@ -6997,7 +7061,19 @@
|
|
|
6997
7061
|
slotShouldForwardProp = shouldForwardProp,
|
|
6998
7062
|
styleFunctionSx = defaultStyleFunctionSx
|
|
6999
7063
|
} = input;
|
|
7064
|
+
|
|
7065
|
+
const systemSx = props => {
|
|
7066
|
+
const theme = isEmpty$2(props.theme) ? defaultTheme : props.theme;
|
|
7067
|
+
return styleFunctionSx(_extends({}, props, {
|
|
7068
|
+
theme
|
|
7069
|
+
}));
|
|
7070
|
+
};
|
|
7071
|
+
|
|
7072
|
+
systemSx.__mui_systemSx = true;
|
|
7000
7073
|
return (tag, inputOptions = {}) => {
|
|
7074
|
+
// Filter out the `sx` style function from the previous styled component to prevent unnecessary styles generated by the composite components.
|
|
7075
|
+
internal_processStyles(tag, styles => styles.filter(style => !(style != null && style.__mui_systemSx)));
|
|
7076
|
+
|
|
7001
7077
|
const {
|
|
7002
7078
|
name: componentName,
|
|
7003
7079
|
slot: componentSlot,
|
|
@@ -7025,6 +7101,9 @@
|
|
|
7025
7101
|
} else if (componentSlot) {
|
|
7026
7102
|
// any other slot specified
|
|
7027
7103
|
shouldForwardPropOption = slotShouldForwardProp;
|
|
7104
|
+
} else if (isStringTag(tag)) {
|
|
7105
|
+
// for string (html) tag, preserve the behavior in emotion & styled-components.
|
|
7106
|
+
shouldForwardPropOption = undefined;
|
|
7028
7107
|
}
|
|
7029
7108
|
|
|
7030
7109
|
const defaultStyledResolver = styled$3(tag, _extends({
|
|
@@ -7037,7 +7116,6 @@
|
|
|
7037
7116
|
// On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
7038
7117
|
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
7039
7118
|
// which are basically components used as a selectors.
|
|
7040
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
7041
7119
|
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? _ref => {
|
|
7042
7120
|
let {
|
|
7043
7121
|
theme: themeInput
|
|
@@ -7078,12 +7156,7 @@
|
|
|
7078
7156
|
}
|
|
7079
7157
|
|
|
7080
7158
|
if (!skipSx) {
|
|
7081
|
-
expressionsWithDefaultTheme.push(
|
|
7082
|
-
const theme = isEmpty$2(props.theme) ? defaultTheme : props.theme;
|
|
7083
|
-
return styleFunctionSx(_extends({}, props, {
|
|
7084
|
-
theme
|
|
7085
|
-
}));
|
|
7086
|
-
});
|
|
7159
|
+
expressionsWithDefaultTheme.push(systemSx);
|
|
7087
7160
|
}
|
|
7088
7161
|
|
|
7089
7162
|
const numOfCustomFnsApplied = expressionsWithDefaultTheme.length - expressions.length;
|
|
@@ -7096,7 +7169,6 @@
|
|
|
7096
7169
|
} else if (typeof styleArg === 'function' && // On the server Emotion doesn't use React.forwardRef for creating components, so the created
|
|
7097
7170
|
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
7098
7171
|
// which are basically components used as a selectors.
|
|
7099
|
-
// eslint-disable-next-line no-underscore-dangle
|
|
7100
7172
|
styleArg.__emotion_real !== styleArg) {
|
|
7101
7173
|
// If the type is function, we need to define the default theme.
|
|
7102
7174
|
transformedStyleArg = _ref2 => {
|
|
@@ -7800,8 +7872,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7800
7872
|
return currentState;
|
|
7801
7873
|
}
|
|
7802
7874
|
|
|
7803
|
-
|
|
7875
|
+
try {
|
|
7804
7876
|
localStorage.setItem(modeStorageKey, newMode);
|
|
7877
|
+
} catch (e) {// Unsupported
|
|
7805
7878
|
}
|
|
7806
7879
|
|
|
7807
7880
|
return _extends({}, currentState, {
|
|
@@ -7826,7 +7899,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7826
7899
|
}
|
|
7827
7900
|
|
|
7828
7901
|
processState(currentState, mode => {
|
|
7829
|
-
|
|
7902
|
+
try {
|
|
7903
|
+
localStorage.setItem(`${colorSchemeStorageKey}-${mode}`, value);
|
|
7904
|
+
} catch (e) {// Unsupported
|
|
7905
|
+
}
|
|
7830
7906
|
|
|
7831
7907
|
if (mode === 'light') {
|
|
7832
7908
|
newState.lightColorScheme = value;
|
|
@@ -7856,12 +7932,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7856
7932
|
return newState;
|
|
7857
7933
|
});
|
|
7858
7934
|
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
|
|
7935
|
+
try {
|
|
7936
|
+
if (value.light) {
|
|
7937
|
+
localStorage.setItem(`${colorSchemeStorageKey}-light`, value.light);
|
|
7938
|
+
}
|
|
7862
7939
|
|
|
7863
|
-
|
|
7864
|
-
|
|
7940
|
+
if (value.dark) {
|
|
7941
|
+
localStorage.setItem(`${colorSchemeStorageKey}-dark`, value.dark);
|
|
7942
|
+
}
|
|
7943
|
+
} catch (e) {// Unsupported
|
|
7865
7944
|
}
|
|
7866
7945
|
}
|
|
7867
7946
|
}, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);
|
|
@@ -7887,19 +7966,22 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7887
7966
|
}, []); // Save mode, lightColorScheme & darkColorScheme to localStorage
|
|
7888
7967
|
|
|
7889
7968
|
React__namespace.useEffect(() => {
|
|
7890
|
-
|
|
7891
|
-
|
|
7892
|
-
|
|
7893
|
-
|
|
7894
|
-
processState(state, mode => {
|
|
7895
|
-
if (mode === 'light') {
|
|
7896
|
-
localStorage.setItem(`${colorSchemeStorageKey}-light`, state.lightColorScheme);
|
|
7969
|
+
try {
|
|
7970
|
+
if (state.mode) {
|
|
7971
|
+
localStorage.setItem(modeStorageKey, state.mode);
|
|
7897
7972
|
}
|
|
7898
7973
|
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7974
|
+
processState(state, mode => {
|
|
7975
|
+
if (mode === 'light') {
|
|
7976
|
+
localStorage.setItem(`${colorSchemeStorageKey}-light`, state.lightColorScheme);
|
|
7977
|
+
}
|
|
7978
|
+
|
|
7979
|
+
if (mode === 'dark') {
|
|
7980
|
+
localStorage.setItem(`${colorSchemeStorageKey}-dark`, state.darkColorScheme);
|
|
7981
|
+
}
|
|
7982
|
+
});
|
|
7983
|
+
} catch (e) {// Unsupported
|
|
7984
|
+
}
|
|
7903
7985
|
}, [state, colorSchemeStorageKey, modeStorageKey]); // Handle when localStorage has changed
|
|
7904
7986
|
|
|
7905
7987
|
React__namespace.useEffect(() => {
|
|
@@ -10646,38 +10728,57 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10646
10728
|
var min = Math.min;
|
|
10647
10729
|
var round$2 = Math.round;
|
|
10648
10730
|
|
|
10649
|
-
function
|
|
10731
|
+
function getUAString() {
|
|
10732
|
+
var uaData = navigator.userAgentData;
|
|
10733
|
+
|
|
10734
|
+
if (uaData != null && uaData.brands) {
|
|
10735
|
+
return uaData.brands.map(function (item) {
|
|
10736
|
+
return item.brand + "/" + item.version;
|
|
10737
|
+
}).join(' ');
|
|
10738
|
+
}
|
|
10739
|
+
|
|
10740
|
+
return navigator.userAgent;
|
|
10741
|
+
}
|
|
10742
|
+
|
|
10743
|
+
function isLayoutViewport() {
|
|
10744
|
+
return !/^((?!chrome|android).)*safari/i.test(getUAString());
|
|
10745
|
+
}
|
|
10746
|
+
|
|
10747
|
+
function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
10650
10748
|
if (includeScale === void 0) {
|
|
10651
10749
|
includeScale = false;
|
|
10652
10750
|
}
|
|
10653
10751
|
|
|
10654
|
-
|
|
10752
|
+
if (isFixedStrategy === void 0) {
|
|
10753
|
+
isFixedStrategy = false;
|
|
10754
|
+
}
|
|
10755
|
+
|
|
10756
|
+
var clientRect = element.getBoundingClientRect();
|
|
10655
10757
|
var scaleX = 1;
|
|
10656
10758
|
var scaleY = 1;
|
|
10657
10759
|
|
|
10658
|
-
if (isHTMLElement(element)
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
// Fallback to 1 in case both values are `0`
|
|
10662
|
-
|
|
10663
|
-
if (offsetWidth > 0) {
|
|
10664
|
-
scaleX = round$2(rect.width) / offsetWidth || 1;
|
|
10665
|
-
}
|
|
10666
|
-
|
|
10667
|
-
if (offsetHeight > 0) {
|
|
10668
|
-
scaleY = round$2(rect.height) / offsetHeight || 1;
|
|
10669
|
-
}
|
|
10760
|
+
if (includeScale && isHTMLElement(element)) {
|
|
10761
|
+
scaleX = element.offsetWidth > 0 ? round$2(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
10762
|
+
scaleY = element.offsetHeight > 0 ? round$2(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
10670
10763
|
}
|
|
10671
10764
|
|
|
10765
|
+
var _ref = isElement(element) ? getWindow(element) : window,
|
|
10766
|
+
visualViewport = _ref.visualViewport;
|
|
10767
|
+
|
|
10768
|
+
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
10769
|
+
var x = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
10770
|
+
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
10771
|
+
var width = clientRect.width / scaleX;
|
|
10772
|
+
var height = clientRect.height / scaleY;
|
|
10672
10773
|
return {
|
|
10673
|
-
width:
|
|
10674
|
-
height:
|
|
10675
|
-
top:
|
|
10676
|
-
right:
|
|
10677
|
-
bottom:
|
|
10678
|
-
left:
|
|
10679
|
-
x:
|
|
10680
|
-
y:
|
|
10774
|
+
width: width,
|
|
10775
|
+
height: height,
|
|
10776
|
+
top: y,
|
|
10777
|
+
right: x + width,
|
|
10778
|
+
bottom: y + height,
|
|
10779
|
+
left: x,
|
|
10780
|
+
x: x,
|
|
10781
|
+
y: y
|
|
10681
10782
|
};
|
|
10682
10783
|
}
|
|
10683
10784
|
|
|
@@ -10772,8 +10873,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10772
10873
|
|
|
10773
10874
|
|
|
10774
10875
|
function getContainingBlock(element) {
|
|
10775
|
-
var isFirefox =
|
|
10776
|
-
var isIE =
|
|
10876
|
+
var isFirefox = /firefox/i.test(getUAString());
|
|
10877
|
+
var isIE = /Trident/i.test(getUAString());
|
|
10777
10878
|
|
|
10778
10879
|
if (isIE && isHTMLElement(element)) {
|
|
10779
10880
|
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
@@ -11213,31 +11314,21 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11213
11314
|
return getBoundingClientRect(getDocumentElement(element)).left + getWindowScroll(element).scrollLeft;
|
|
11214
11315
|
}
|
|
11215
11316
|
|
|
11216
|
-
function getViewportRect(element) {
|
|
11317
|
+
function getViewportRect(element, strategy) {
|
|
11217
11318
|
var win = getWindow(element);
|
|
11218
11319
|
var html = getDocumentElement(element);
|
|
11219
11320
|
var visualViewport = win.visualViewport;
|
|
11220
11321
|
var width = html.clientWidth;
|
|
11221
11322
|
var height = html.clientHeight;
|
|
11222
11323
|
var x = 0;
|
|
11223
|
-
var y = 0;
|
|
11224
|
-
// can be obscured underneath it.
|
|
11225
|
-
// Also, `html.clientHeight` adds the bottom bar height in Safari iOS, even
|
|
11226
|
-
// if it isn't open, so if this isn't available, the popper will be detected
|
|
11227
|
-
// to overflow the bottom of the screen too early.
|
|
11324
|
+
var y = 0;
|
|
11228
11325
|
|
|
11229
11326
|
if (visualViewport) {
|
|
11230
11327
|
width = visualViewport.width;
|
|
11231
|
-
height = visualViewport.height;
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11235
|
-
// Feature detection fails in mobile emulation mode in Chrome.
|
|
11236
|
-
// Math.abs(win.innerWidth / visualViewport.scale - visualViewport.width) <
|
|
11237
|
-
// 0.001
|
|
11238
|
-
// Fallback here: "Not Safari" userAgent
|
|
11239
|
-
|
|
11240
|
-
if (!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)) {
|
|
11328
|
+
height = visualViewport.height;
|
|
11329
|
+
var layoutViewport = isLayoutViewport();
|
|
11330
|
+
|
|
11331
|
+
if (layoutViewport || !layoutViewport && strategy === 'fixed') {
|
|
11241
11332
|
x = visualViewport.offsetLeft;
|
|
11242
11333
|
y = visualViewport.offsetTop;
|
|
11243
11334
|
}
|
|
@@ -11331,8 +11422,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11331
11422
|
});
|
|
11332
11423
|
}
|
|
11333
11424
|
|
|
11334
|
-
function getInnerBoundingClientRect(element) {
|
|
11335
|
-
var rect = getBoundingClientRect(element);
|
|
11425
|
+
function getInnerBoundingClientRect(element, strategy) {
|
|
11426
|
+
var rect = getBoundingClientRect(element, false, strategy === 'fixed');
|
|
11336
11427
|
rect.top = rect.top + element.clientTop;
|
|
11337
11428
|
rect.left = rect.left + element.clientLeft;
|
|
11338
11429
|
rect.bottom = rect.top + element.clientHeight;
|
|
@@ -11344,8 +11435,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11344
11435
|
return rect;
|
|
11345
11436
|
}
|
|
11346
11437
|
|
|
11347
|
-
function getClientRectFromMixedType(element, clippingParent) {
|
|
11348
|
-
return clippingParent === viewport ? rectToClientRect(getViewportRect(element)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
11438
|
+
function getClientRectFromMixedType(element, clippingParent, strategy) {
|
|
11439
|
+
return clippingParent === viewport ? rectToClientRect(getViewportRect(element, strategy)) : isElement(clippingParent) ? getInnerBoundingClientRect(clippingParent, strategy) : rectToClientRect(getDocumentRect(getDocumentElement(element)));
|
|
11349
11440
|
} // A "clipping parent" is an overflowable container with the characteristic of
|
|
11350
11441
|
// clipping (or hiding) overflowing elements with a position different from
|
|
11351
11442
|
// `initial`
|
|
@@ -11368,18 +11459,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11368
11459
|
// clipping parents
|
|
11369
11460
|
|
|
11370
11461
|
|
|
11371
|
-
function getClippingRect(element, boundary, rootBoundary) {
|
|
11462
|
+
function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
11372
11463
|
var mainClippingParents = boundary === 'clippingParents' ? getClippingParents(element) : [].concat(boundary);
|
|
11373
11464
|
var clippingParents = [].concat(mainClippingParents, [rootBoundary]);
|
|
11374
11465
|
var firstClippingParent = clippingParents[0];
|
|
11375
11466
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
11376
|
-
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
11467
|
+
var rect = getClientRectFromMixedType(element, clippingParent, strategy);
|
|
11377
11468
|
accRect.top = max(rect.top, accRect.top);
|
|
11378
11469
|
accRect.right = min(rect.right, accRect.right);
|
|
11379
11470
|
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
11380
11471
|
accRect.left = max(rect.left, accRect.left);
|
|
11381
11472
|
return accRect;
|
|
11382
|
-
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
11473
|
+
}, getClientRectFromMixedType(element, firstClippingParent, strategy));
|
|
11383
11474
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
11384
11475
|
clippingRect.height = clippingRect.bottom - clippingRect.top;
|
|
11385
11476
|
clippingRect.x = clippingRect.left;
|
|
@@ -11460,6 +11551,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11460
11551
|
var _options = options,
|
|
11461
11552
|
_options$placement = _options.placement,
|
|
11462
11553
|
placement = _options$placement === void 0 ? state.placement : _options$placement,
|
|
11554
|
+
_options$strategy = _options.strategy,
|
|
11555
|
+
strategy = _options$strategy === void 0 ? state.strategy : _options$strategy,
|
|
11463
11556
|
_options$boundary = _options.boundary,
|
|
11464
11557
|
boundary = _options$boundary === void 0 ? clippingParents : _options$boundary,
|
|
11465
11558
|
_options$rootBoundary = _options.rootBoundary,
|
|
@@ -11474,7 +11567,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11474
11567
|
var altContext = elementContext === popper ? reference : popper;
|
|
11475
11568
|
var popperRect = state.rects.popper;
|
|
11476
11569
|
var element = state.elements[altBoundary ? altContext : elementContext];
|
|
11477
|
-
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary);
|
|
11570
|
+
var clippingClientRect = getClippingRect(isElement(element) ? element : element.contextElement || getDocumentElement(state.elements.popper), boundary, rootBoundary, strategy);
|
|
11478
11571
|
var referenceClientRect = getBoundingClientRect(state.elements.reference);
|
|
11479
11572
|
var popperOffsets = computeOffsets({
|
|
11480
11573
|
reference: referenceClientRect,
|
|
@@ -11992,7 +12085,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11992
12085
|
var isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
11993
12086
|
var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent);
|
|
11994
12087
|
var documentElement = getDocumentElement(offsetParent);
|
|
11995
|
-
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled);
|
|
12088
|
+
var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled, isFixed);
|
|
11996
12089
|
var scroll = {
|
|
11997
12090
|
scrollLeft: 0,
|
|
11998
12091
|
scrollTop: 0
|
|
@@ -13441,18 +13534,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13441
13534
|
|
|
13442
13535
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
13443
13536
|
children: [/*#__PURE__*/jsxRuntime_1("div", {
|
|
13444
|
-
tabIndex: 0,
|
|
13537
|
+
tabIndex: open ? 0 : -1,
|
|
13445
13538
|
onFocus: handleFocusSentinel,
|
|
13446
13539
|
ref: sentinelStart,
|
|
13447
|
-
"data-
|
|
13540
|
+
"data-testid": "sentinelStart"
|
|
13448
13541
|
}), /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
13449
13542
|
ref: handleRef,
|
|
13450
13543
|
onFocus
|
|
13451
13544
|
}), /*#__PURE__*/jsxRuntime_1("div", {
|
|
13452
|
-
tabIndex: 0,
|
|
13545
|
+
tabIndex: open ? 0 : -1,
|
|
13453
13546
|
onFocus: handleFocusSentinel,
|
|
13454
13547
|
ref: sentinelEnd,
|
|
13455
|
-
"data-
|
|
13548
|
+
"data-testid": "sentinelEnd"
|
|
13456
13549
|
})]
|
|
13457
13550
|
});
|
|
13458
13551
|
}
|
|
@@ -20168,7 +20261,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20168
20261
|
})
|
|
20169
20262
|
}, !ownerState.disableRipple && {
|
|
20170
20263
|
'&:hover': {
|
|
20171
|
-
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.
|
|
20264
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
20172
20265
|
// Reset on touch devices, it doesn't add specificity
|
|
20173
20266
|
'@media (hover: none)': {
|
|
20174
20267
|
backgroundColor: 'transparent'
|
|
@@ -23334,7 +23427,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23334
23427
|
readOnly
|
|
23335
23428
|
}, getInputProps())
|
|
23336
23429
|
})
|
|
23337
|
-
})),
|
|
23430
|
+
})), anchorEl ? /*#__PURE__*/jsxRuntime_1(AutocompletePopper, _extends({
|
|
23338
23431
|
as: PopperComponent,
|
|
23339
23432
|
disablePortal: disablePortal,
|
|
23340
23433
|
style: {
|
|
@@ -23343,7 +23436,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23343
23436
|
ownerState: ownerState,
|
|
23344
23437
|
role: "presentation",
|
|
23345
23438
|
anchorEl: anchorEl,
|
|
23346
|
-
open:
|
|
23439
|
+
open: popupOpen
|
|
23347
23440
|
}, componentsProps.popper, {
|
|
23348
23441
|
className: clsx(classes.popper, (_componentsProps$popp = componentsProps.popper) == null ? void 0 : _componentsProps$popp.className),
|
|
23349
23442
|
children: /*#__PURE__*/jsxRuntime_2(AutocompletePaper, _extends({
|
|
@@ -32061,6 +32154,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32061
32154
|
styles = handleBreakpoints({
|
|
32062
32155
|
theme
|
|
32063
32156
|
}, rowSpacingValues, (propValue, breakpoint) => {
|
|
32157
|
+
var _zeroValueBreakpointK;
|
|
32158
|
+
|
|
32064
32159
|
const themeSpacing = theme.spacing(propValue);
|
|
32065
32160
|
|
|
32066
32161
|
if (themeSpacing !== '0px') {
|
|
@@ -32072,7 +32167,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32072
32167
|
};
|
|
32073
32168
|
}
|
|
32074
32169
|
|
|
32075
|
-
if (zeroValueBreakpointKeys.includes(breakpoint)) {
|
|
32170
|
+
if ((_zeroValueBreakpointK = zeroValueBreakpointKeys) != null && _zeroValueBreakpointK.includes(breakpoint)) {
|
|
32076
32171
|
return {};
|
|
32077
32172
|
}
|
|
32078
32173
|
|
|
@@ -32114,6 +32209,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32114
32209
|
styles = handleBreakpoints({
|
|
32115
32210
|
theme
|
|
32116
32211
|
}, columnSpacingValues, (propValue, breakpoint) => {
|
|
32212
|
+
var _zeroValueBreakpointK2;
|
|
32213
|
+
|
|
32117
32214
|
const themeSpacing = theme.spacing(propValue);
|
|
32118
32215
|
|
|
32119
32216
|
if (themeSpacing !== '0px') {
|
|
@@ -32126,7 +32223,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32126
32223
|
};
|
|
32127
32224
|
}
|
|
32128
32225
|
|
|
32129
|
-
if (zeroValueBreakpointKeys.includes(breakpoint)) {
|
|
32226
|
+
if ((_zeroValueBreakpointK2 = zeroValueBreakpointKeys) != null && _zeroValueBreakpointK2.includes(breakpoint)) {
|
|
32130
32227
|
return {};
|
|
32131
32228
|
}
|
|
32132
32229
|
|
|
@@ -42370,7 +42467,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42370
42467
|
function getSkeletonUtilityClass(slot) {
|
|
42371
42468
|
return generateUtilityClass('MuiSkeleton', slot);
|
|
42372
42469
|
}
|
|
42373
|
-
const skeletonClasses = generateUtilityClasses('MuiSkeleton', ['root', 'text', 'rectangular', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);
|
|
42470
|
+
const skeletonClasses = generateUtilityClasses('MuiSkeleton', ['root', 'text', 'rectangular', 'rounded', 'circular', 'pulse', 'wave', 'withChildren', 'fitContent', 'heightAuto']);
|
|
42374
42471
|
var skeletonClasses$1 = skeletonClasses;
|
|
42375
42472
|
|
|
42376
42473
|
const _excluded$C = ["animation", "className", "component", "height", "style", "variant", "width"];
|
|
@@ -42455,6 +42552,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42455
42552
|
}
|
|
42456
42553
|
}, ownerState.variant === 'circular' && {
|
|
42457
42554
|
borderRadius: '50%'
|
|
42555
|
+
}, ownerState.variant === 'rounded' && {
|
|
42556
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
42458
42557
|
}, ownerState.hasChildren && {
|
|
42459
42558
|
'& > *': {
|
|
42460
42559
|
visibility: 'hidden'
|
|
@@ -42590,7 +42689,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42590
42689
|
*/
|
|
42591
42690
|
variant: PropTypes
|
|
42592
42691
|
/* @typescript-to-proptypes-ignore */
|
|
42593
|
-
.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'text']), PropTypes.string]),
|
|
42692
|
+
.oneOfType([PropTypes.oneOf(['circular', 'rectangular', 'rounded', 'text']), PropTypes.string]),
|
|
42594
42693
|
|
|
42595
42694
|
/**
|
|
42596
42695
|
* Width of the skeleton.
|
|
@@ -44873,7 +44972,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44873
44972
|
/* = width / sqrt(2) = (length of the hypotenuse) */
|
|
44874
44973
|
,
|
|
44875
44974
|
boxSizing: 'border-box',
|
|
44876
|
-
color: theme.vars ?
|
|
44975
|
+
color: theme.vars ? theme.vars.palette.Tooltip.bg : alpha(theme.palette.grey[700], 0.9),
|
|
44877
44976
|
'&::before': {
|
|
44878
44977
|
content: '""',
|
|
44879
44978
|
margin: 'auto',
|
|
@@ -46502,7 +46601,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46502
46601
|
const slots = {
|
|
46503
46602
|
root: ['root', orientation, error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
46504
46603
|
label: ['label', active && 'active', completed && 'completed', error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
46505
|
-
iconContainer: ['iconContainer', alternativeLabel && 'alternativeLabel'],
|
|
46604
|
+
iconContainer: ['iconContainer', active && 'active', completed && 'completed', error && 'error', disabled && 'disabled', alternativeLabel && 'alternativeLabel'],
|
|
46506
46605
|
labelContainer: ['labelContainer']
|
|
46507
46606
|
};
|
|
46508
46607
|
return composeClasses(slots, getStepLabelUtilityClass, classes);
|
|
@@ -49072,7 +49171,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49072
49171
|
* Specify the size of the cell.
|
|
49073
49172
|
* The prop defaults to the value (`'medium'`) inherited from the parent Table component.
|
|
49074
49173
|
*/
|
|
49075
|
-
size: PropTypes
|
|
49174
|
+
size: PropTypes
|
|
49175
|
+
/* @typescript-to-proptypes-ignore */
|
|
49176
|
+
.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.string]),
|
|
49076
49177
|
|
|
49077
49178
|
/**
|
|
49078
49179
|
* Set aria-sort direction.
|
|
@@ -49088,7 +49189,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49088
49189
|
* Specify the cell type.
|
|
49089
49190
|
* The prop defaults to the value inherited from the parent TableHead, TableBody, or TableFooter components.
|
|
49090
49191
|
*/
|
|
49091
|
-
variant: PropTypes
|
|
49192
|
+
variant: PropTypes
|
|
49193
|
+
/* @typescript-to-proptypes-ignore */
|
|
49194
|
+
.oneOfType([PropTypes.oneOf(['body', 'footer', 'head']), PropTypes.string])
|
|
49092
49195
|
} ;
|
|
49093
49196
|
var TableCell$1 = TableCell;
|
|
49094
49197
|
|
|
@@ -52410,9 +52513,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
52410
52513
|
|
|
52411
52514
|
handleScroll(); // Re-evaluate trigger when dependencies change
|
|
52412
52515
|
|
|
52413
|
-
target.addEventListener('scroll', handleScroll
|
|
52516
|
+
target.addEventListener('scroll', handleScroll, {
|
|
52517
|
+
passive: true
|
|
52518
|
+
});
|
|
52414
52519
|
return () => {
|
|
52415
|
-
target.removeEventListener('scroll', handleScroll
|
|
52520
|
+
target.removeEventListener('scroll', handleScroll, {
|
|
52521
|
+
passive: true
|
|
52522
|
+
});
|
|
52416
52523
|
}; // See Option 3. https://github.com/facebook/react/issues/14476#issuecomment-471199055
|
|
52417
52524
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
52418
52525
|
}, [target, getTrigger, JSON.stringify(other)]);
|