@mui/material 5.5.0 → 5.5.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/Alert.d.ts +3 -1
- package/Alert/Alert.js +3 -1
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/AppBar.d.ts +3 -1
- package/AppBar/AppBar.js +3 -1
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.js +1 -1
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/Backdrop.d.ts +32 -15
- package/Backdrop/Backdrop.js +26 -20
- package/Backdrop/backdropClasses.d.ts +10 -0
- package/Backdrop/backdropClasses.js +6 -0
- package/Backdrop/index.d.ts +3 -0
- package/Backdrop/index.js +2 -1
- package/Badge/Badge.d.ts +3 -1
- package/Badge/Badge.js +3 -1
- 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/Button.d.ts +3 -1
- package/Button/Button.js +3 -1
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/ButtonBase.js +7 -7
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.d.ts +3 -1
- package/ButtonGroup/ButtonGroup.js +3 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +206 -0
- package/Card/Card.d.ts +1 -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/Checkbox.d.ts +3 -1
- package/Checkbox/Checkbox.js +3 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.d.ts +3 -1
- package/Chip/Chip.js +3 -1
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/CircularProgress.d.ts +3 -1
- package/CircularProgress/CircularProgress.js +3 -1
- 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/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/Fab.d.ts +3 -1
- package/Fab/Fab.js +4 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +4 -2
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControl.d.ts +3 -1
- package/FormControl/FormControl.js +3 -1
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/FormControlLabel/FormControlLabel.js +14 -9
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.d.ts +3 -1
- package/FormLabel/FormLabel.js +3 -1
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/Grid.js +10 -14
- package/Grid/gridClasses.d.ts +48 -48
- package/Grow/Grow.js +11 -5
- package/Icon/Icon.d.ts +3 -1
- package/Icon/Icon.js +3 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.d.ts +3 -1
- package/IconButton/IconButton.js +3 -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/Input.js +4 -2
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +4 -2
- package/InputBase/InputBase.js +4 -2
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/InputLabel.js +3 -1
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/LinearProgress.d.ts +3 -1
- package/LinearProgress/LinearProgress.js +3 -1
- 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/NotchedOutline.js +3 -1
- package/OutlinedInput/OutlinedInput.js +4 -2
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/Pagination.d.ts +2 -0
- package/Pagination/Pagination.js +2 -0
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.d.ts +2 -0
- package/PaginationItem/PaginationItem.js +2 -0
- 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 +29 -17
- package/Popper/Popper.js +21 -6
- package/README.md +1 -0
- package/Radio/Radio.d.ts +3 -1
- package/Radio/Radio.js +3 -1
- 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/Slider/Slider.d.ts +3 -1
- package/Slider/Slider.js +3 -1
- package/Snackbar/Snackbar.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/stepLabelClasses.d.ts +28 -28
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.d.ts +3 -1
- package/SvgIcon/SvgIcon.js +3 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/Switch.d.ts +3 -1
- package/Switch/Switch.js +3 -1
- 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/TextField.d.ts +3 -1
- package/TextField/TextField.js +3 -1
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.d.ts +2 -0
- package/ToggleButton/ToggleButton.js +2 -0
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -1
- package/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- 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/Unstable_TrapFocus/index.d.ts +2 -2
- package/Unstable_TrapFocus/index.js +1 -1
- package/className/index.d.ts +8 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Alert/Alert.js +3 -1
- package/legacy/AppBar/AppBar.js +3 -1
- package/legacy/Autocomplete/Autocomplete.js +1 -1
- package/legacy/Backdrop/Backdrop.js +27 -20
- package/legacy/Backdrop/backdropClasses.js +6 -0
- package/legacy/Backdrop/index.js +2 -1
- package/legacy/Badge/Badge.js +3 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Button/Button.js +3 -1
- package/legacy/ButtonBase/ButtonBase.js +11 -11
- package/legacy/ButtonGroup/ButtonGroup.js +3 -1
- package/legacy/Checkbox/Checkbox.js +3 -1
- package/legacy/Chip/Chip.js +3 -1
- package/legacy/CircularProgress/CircularProgress.js +3 -1
- package/legacy/Fab/Fab.js +4 -1
- package/legacy/FilledInput/FilledInput.js +4 -2
- package/legacy/FormControl/FormControl.js +3 -1
- package/legacy/FormControlLabel/FormControlLabel.js +14 -9
- package/legacy/FormLabel/FormLabel.js +3 -1
- package/legacy/Grid/Grid.js +11 -17
- package/legacy/Grow/Grow.js +11 -5
- package/legacy/Icon/Icon.js +3 -1
- package/legacy/IconButton/IconButton.js +3 -1
- package/legacy/Input/Input.js +4 -2
- package/legacy/InputBase/InputBase.js +4 -2
- package/legacy/InputLabel/InputLabel.js +3 -1
- package/legacy/LinearProgress/LinearProgress.js +3 -1
- package/legacy/OutlinedInput/NotchedOutline.js +3 -1
- package/legacy/OutlinedInput/OutlinedInput.js +4 -2
- package/legacy/Pagination/Pagination.js +2 -0
- package/legacy/PaginationItem/PaginationItem.js +2 -0
- package/legacy/Popper/Popper.js +23 -6
- package/legacy/Radio/Radio.js +3 -1
- package/legacy/Slider/Slider.js +3 -1
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SvgIcon/SvgIcon.js +3 -1
- package/legacy/Switch/Switch.js +3 -1
- package/legacy/TextField/TextField.js +3 -1
- package/legacy/ToggleButton/ToggleButton.js +2 -0
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/legacy/Unstable_TrapFocus/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +149 -64
- package/legacy/styles/zIndex.js +1 -0
- package/locale/index.d.ts +71 -70
- package/locale/index.js +84 -0
- package/modern/Alert/Alert.js +3 -1
- package/modern/AppBar/AppBar.js +3 -1
- package/modern/Autocomplete/Autocomplete.js +1 -1
- package/modern/Backdrop/Backdrop.js +25 -19
- package/modern/Backdrop/backdropClasses.js +6 -0
- package/modern/Backdrop/index.js +2 -1
- package/modern/Badge/Badge.js +3 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Button/Button.js +3 -1
- package/modern/ButtonBase/ButtonBase.js +7 -7
- package/modern/ButtonGroup/ButtonGroup.js +3 -1
- package/modern/Checkbox/Checkbox.js +3 -1
- package/modern/Chip/Chip.js +3 -1
- package/modern/CircularProgress/CircularProgress.js +3 -1
- package/modern/Fab/Fab.js +4 -1
- package/modern/FilledInput/FilledInput.js +4 -2
- package/modern/FormControl/FormControl.js +3 -1
- package/modern/FormControlLabel/FormControlLabel.js +14 -9
- package/modern/FormLabel/FormLabel.js +3 -1
- package/modern/Grid/Grid.js +10 -14
- package/modern/Grow/Grow.js +11 -5
- package/modern/Icon/Icon.js +3 -1
- package/modern/IconButton/IconButton.js +3 -1
- package/modern/Input/Input.js +4 -2
- package/modern/InputBase/InputBase.js +4 -2
- package/modern/InputLabel/InputLabel.js +3 -1
- package/modern/LinearProgress/LinearProgress.js +3 -1
- package/modern/OutlinedInput/NotchedOutline.js +3 -1
- package/modern/OutlinedInput/OutlinedInput.js +4 -2
- package/modern/Pagination/Pagination.js +2 -0
- package/modern/PaginationItem/PaginationItem.js +2 -0
- package/modern/Popper/Popper.js +21 -6
- package/modern/Radio/Radio.js +3 -1
- package/modern/Slider/Slider.js +3 -1
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SvgIcon/SvgIcon.js +3 -1
- package/modern/Switch/Switch.js +3 -1
- package/modern/TextField/TextField.js +3 -1
- package/modern/ToggleButton/ToggleButton.js +2 -0
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/modern/Unstable_TrapFocus/index.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +84 -0
- package/modern/styles/zIndex.js +1 -0
- package/node/Alert/Alert.js +3 -1
- package/node/AppBar/AppBar.js +3 -1
- package/node/Autocomplete/Autocomplete.js +1 -1
- package/node/Backdrop/Backdrop.js +28 -23
- package/node/Backdrop/backdropClasses.js +17 -0
- package/node/Backdrop/index.js +17 -5
- package/node/Badge/Badge.js +3 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Button/Button.js +3 -1
- package/node/ButtonBase/ButtonBase.js +7 -7
- package/node/ButtonGroup/ButtonGroup.js +3 -1
- package/node/Checkbox/Checkbox.js +3 -1
- package/node/Chip/Chip.js +3 -1
- package/node/CircularProgress/CircularProgress.js +3 -1
- package/node/Fab/Fab.js +4 -1
- package/node/FilledInput/FilledInput.js +4 -2
- package/node/FormControl/FormControl.js +3 -1
- package/node/FormControlLabel/FormControlLabel.js +14 -9
- package/node/FormLabel/FormLabel.js +3 -1
- package/node/Grid/Grid.js +10 -14
- package/node/Grow/Grow.js +10 -4
- package/node/Icon/Icon.js +3 -1
- package/node/IconButton/IconButton.js +3 -1
- package/node/Input/Input.js +4 -2
- package/node/InputBase/InputBase.js +4 -2
- package/node/InputLabel/InputLabel.js +3 -1
- package/node/LinearProgress/LinearProgress.js +3 -1
- package/node/OutlinedInput/NotchedOutline.js +3 -1
- package/node/OutlinedInput/OutlinedInput.js +4 -2
- package/node/Pagination/Pagination.js +2 -0
- package/node/PaginationItem/PaginationItem.js +2 -0
- package/node/Popper/Popper.js +24 -7
- package/node/Radio/Radio.js +3 -1
- package/node/Slider/Slider.js +3 -1
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SvgIcon/SvgIcon.js +3 -1
- package/node/Switch/Switch.js +3 -1
- package/node/TextField/TextField.js +3 -1
- package/node/ToggleButton/ToggleButton.js +2 -0
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +3 -1
- package/node/Unstable_TrapFocus/index.js +2 -2
- package/node/index.js +1 -1
- package/node/locale/index.js +87 -2
- package/node/styles/zIndex.js +1 -0
- package/package.json +5 -5
- package/styles/components.d.ts +3 -0
- package/styles/props.d.ts +2 -0
- package/styles/zIndex.d.ts +1 -0
- package/styles/zIndex.js +1 -0
- 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 +320 -319
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/usePagination/usePagination.d.ts +1 -1
- 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.5.
|
|
1
|
+
/** @license MUI v5.5.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.
|
|
@@ -2042,7 +2042,7 @@
|
|
|
2042
2042
|
|
|
2043
2043
|
var pkg = {
|
|
2044
2044
|
name: "@emotion/react",
|
|
2045
|
-
version: "11.8.
|
|
2045
|
+
version: "11.8.2",
|
|
2046
2046
|
main: "dist/emotion-react.cjs.js",
|
|
2047
2047
|
module: "dist/emotion-react.esm.js",
|
|
2048
2048
|
browser: {
|
|
@@ -2072,7 +2072,6 @@
|
|
|
2072
2072
|
"@emotion/babel-plugin": "^11.7.1",
|
|
2073
2073
|
"@emotion/cache": "^11.7.1",
|
|
2074
2074
|
"@emotion/serialize": "^1.0.2",
|
|
2075
|
-
"@emotion/sheet": "^1.1.0",
|
|
2076
2075
|
"@emotion/utils": "^1.1.0",
|
|
2077
2076
|
"@emotion/weak-memoize": "^0.2.5",
|
|
2078
2077
|
"hoist-non-react-statics": "^3.3.1"
|
|
@@ -2096,10 +2095,11 @@
|
|
|
2096
2095
|
"@emotion/server": "11.4.0",
|
|
2097
2096
|
"@emotion/styled": "11.8.1",
|
|
2098
2097
|
"@types/react": "^16.9.11",
|
|
2099
|
-
dtslint: "^
|
|
2098
|
+
dtslint: "^4.2.1",
|
|
2100
2099
|
"html-tag-names": "^1.1.2",
|
|
2101
2100
|
react: "16.14.0",
|
|
2102
|
-
"svg-tag-names": "^1.1.1"
|
|
2101
|
+
"svg-tag-names": "^1.1.1",
|
|
2102
|
+
typescript: "^4.5.5"
|
|
2103
2103
|
},
|
|
2104
2104
|
repository: "https://github.com/emotion-js/emotion/tree/main/packages/react",
|
|
2105
2105
|
publishConfig: {
|
|
@@ -2169,8 +2169,9 @@
|
|
|
2169
2169
|
|
|
2170
2170
|
var sheetRef = React.useRef();
|
|
2171
2171
|
useInsertionEffect$1(function () {
|
|
2172
|
-
var key = cache.key + "-global";
|
|
2173
|
-
|
|
2172
|
+
var key = cache.key + "-global"; // use case of https://github.com/emotion-js/emotion/issues/2675
|
|
2173
|
+
|
|
2174
|
+
var sheet = new cache.sheet.constructor({
|
|
2174
2175
|
key: key,
|
|
2175
2176
|
nonce: cache.sheet.nonce,
|
|
2176
2177
|
container: cache.sheet.container,
|
|
@@ -6448,7 +6449,7 @@
|
|
|
6448
6449
|
styleFunctionSx.filterProps = ['sx'];
|
|
6449
6450
|
var defaultStyleFunctionSx = styleFunctionSx;
|
|
6450
6451
|
|
|
6451
|
-
const _excluded$
|
|
6452
|
+
const _excluded$2j = ["sx"];
|
|
6452
6453
|
|
|
6453
6454
|
const splitProps = props => {
|
|
6454
6455
|
const result = {
|
|
@@ -6469,7 +6470,7 @@
|
|
|
6469
6470
|
const {
|
|
6470
6471
|
sx: inSx
|
|
6471
6472
|
} = props,
|
|
6472
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6473
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
6473
6474
|
|
|
6474
6475
|
const {
|
|
6475
6476
|
systemProps,
|
|
@@ -6548,7 +6549,7 @@
|
|
|
6548
6549
|
return str;
|
|
6549
6550
|
}
|
|
6550
6551
|
|
|
6551
|
-
const _excluded$
|
|
6552
|
+
const _excluded$2i = ["values", "unit", "step"];
|
|
6552
6553
|
|
|
6553
6554
|
const sortBreakpointsValues = values => {
|
|
6554
6555
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
@@ -6584,7 +6585,7 @@
|
|
|
6584
6585
|
unit = 'px',
|
|
6585
6586
|
step = 5
|
|
6586
6587
|
} = breakpoints,
|
|
6587
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6588
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2i);
|
|
6588
6589
|
|
|
6589
6590
|
const sortedValues = sortBreakpointsValues(values);
|
|
6590
6591
|
const keys = Object.keys(sortedValues);
|
|
@@ -6676,7 +6677,7 @@
|
|
|
6676
6677
|
return spacing;
|
|
6677
6678
|
}
|
|
6678
6679
|
|
|
6679
|
-
const _excluded$
|
|
6680
|
+
const _excluded$2h = ["breakpoints", "palette", "spacing", "shape"];
|
|
6680
6681
|
|
|
6681
6682
|
function createTheme$1(options = {}, ...args) {
|
|
6682
6683
|
const {
|
|
@@ -6685,7 +6686,7 @@
|
|
|
6685
6686
|
spacing: spacingInput,
|
|
6686
6687
|
shape: shapeInput = {}
|
|
6687
6688
|
} = options,
|
|
6688
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
6689
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2h);
|
|
6689
6690
|
|
|
6690
6691
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
6691
6692
|
const spacing = createSpacing(spacingInput);
|
|
@@ -6807,7 +6808,7 @@
|
|
|
6807
6808
|
return useTheme$2(defaultTheme);
|
|
6808
6809
|
}
|
|
6809
6810
|
|
|
6810
|
-
const _excluded$
|
|
6811
|
+
const _excluded$2g = ["className", "component"];
|
|
6811
6812
|
function createBox(options = {}) {
|
|
6812
6813
|
const {
|
|
6813
6814
|
defaultTheme,
|
|
@@ -6824,7 +6825,7 @@
|
|
|
6824
6825
|
className,
|
|
6825
6826
|
component = 'div'
|
|
6826
6827
|
} = _extendSxProp,
|
|
6827
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
6828
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2g);
|
|
6828
6829
|
|
|
6829
6830
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
6830
6831
|
as: component,
|
|
@@ -6860,7 +6861,7 @@
|
|
|
6860
6861
|
return Box;
|
|
6861
6862
|
}
|
|
6862
6863
|
|
|
6863
|
-
const _excluded$
|
|
6864
|
+
const _excluded$2f = ["variant"];
|
|
6864
6865
|
|
|
6865
6866
|
function isEmpty$2(string) {
|
|
6866
6867
|
return string.length === 0;
|
|
@@ -6876,7 +6877,7 @@
|
|
|
6876
6877
|
const {
|
|
6877
6878
|
variant
|
|
6878
6879
|
} = props,
|
|
6879
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6880
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
6880
6881
|
|
|
6881
6882
|
let classKey = variant || '';
|
|
6882
6883
|
Object.keys(other).sort().forEach(key => {
|
|
@@ -6889,7 +6890,7 @@
|
|
|
6889
6890
|
return classKey;
|
|
6890
6891
|
}
|
|
6891
6892
|
|
|
6892
|
-
const _excluded$
|
|
6893
|
+
const _excluded$2e = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6893
6894
|
_excluded2$b = ["theme"],
|
|
6894
6895
|
_excluded3$1 = ["theme"];
|
|
6895
6896
|
|
|
@@ -6972,7 +6973,7 @@
|
|
|
6972
6973
|
skipSx: inputSkipSx,
|
|
6973
6974
|
overridesResolver
|
|
6974
6975
|
} = inputOptions,
|
|
6975
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
6976
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2e); // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
6976
6977
|
|
|
6977
6978
|
|
|
6978
6979
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -7155,7 +7156,7 @@
|
|
|
7155
7156
|
|
|
7156
7157
|
|
|
7157
7158
|
function hexToRgb(color) {
|
|
7158
|
-
color = color.
|
|
7159
|
+
color = color.slice(1);
|
|
7159
7160
|
const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');
|
|
7160
7161
|
let colors = color.match(re);
|
|
7161
7162
|
|
|
@@ -7207,7 +7208,7 @@ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()
|
|
|
7207
7208
|
colorSpace = values.shift();
|
|
7208
7209
|
|
|
7209
7210
|
if (values.length === 4 && values[3].charAt(0) === '/') {
|
|
7210
|
-
values[3] = values[3].
|
|
7211
|
+
values[3] = values[3].slice(1);
|
|
7211
7212
|
}
|
|
7212
7213
|
|
|
7213
7214
|
if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {
|
|
@@ -7472,7 +7473,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7472
7473
|
ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) ;
|
|
7473
7474
|
}
|
|
7474
7475
|
|
|
7475
|
-
const _excluded$
|
|
7476
|
+
const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
7476
7477
|
_excluded2$a = ["type", "mode"];
|
|
7477
7478
|
function adaptV4Theme(inputTheme) {
|
|
7478
7479
|
{
|
|
@@ -7487,7 +7488,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7487
7488
|
props = {},
|
|
7488
7489
|
styleOverrides = {}
|
|
7489
7490
|
} = inputTheme,
|
|
7490
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
7491
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
|
|
7491
7492
|
|
|
7492
7493
|
const theme = _extends({}, other, {
|
|
7493
7494
|
components: {}
|
|
@@ -8632,6 +8633,52 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8632
8633
|
return output;
|
|
8633
8634
|
}
|
|
8634
8635
|
|
|
8636
|
+
function useBadge(props) {
|
|
8637
|
+
const {
|
|
8638
|
+
anchorOrigin: anchorOriginProp = {
|
|
8639
|
+
vertical: 'top',
|
|
8640
|
+
horizontal: 'right'
|
|
8641
|
+
},
|
|
8642
|
+
badgeContent: badgeContentProp,
|
|
8643
|
+
invisible: invisibleProp = false,
|
|
8644
|
+
max: maxProp = 99,
|
|
8645
|
+
showZero = false,
|
|
8646
|
+
variant: variantProp = 'standard'
|
|
8647
|
+
} = props;
|
|
8648
|
+
const prevProps = usePreviousProps$1({
|
|
8649
|
+
anchorOrigin: anchorOriginProp,
|
|
8650
|
+
badgeContent: badgeContentProp,
|
|
8651
|
+
max: maxProp,
|
|
8652
|
+
variant: variantProp
|
|
8653
|
+
});
|
|
8654
|
+
let invisible = invisibleProp;
|
|
8655
|
+
|
|
8656
|
+
if (invisibleProp === false && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
|
|
8657
|
+
invisible = true;
|
|
8658
|
+
}
|
|
8659
|
+
|
|
8660
|
+
const {
|
|
8661
|
+
anchorOrigin = anchorOriginProp,
|
|
8662
|
+
badgeContent,
|
|
8663
|
+
max = maxProp,
|
|
8664
|
+
variant = variantProp
|
|
8665
|
+
} = invisible ? prevProps : props;
|
|
8666
|
+
let displayValue = '';
|
|
8667
|
+
|
|
8668
|
+
if (variant !== 'dot') {
|
|
8669
|
+
displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
|
|
8670
|
+
}
|
|
8671
|
+
|
|
8672
|
+
return {
|
|
8673
|
+
anchorOrigin,
|
|
8674
|
+
badgeContent,
|
|
8675
|
+
invisible,
|
|
8676
|
+
max,
|
|
8677
|
+
variant,
|
|
8678
|
+
displayValue
|
|
8679
|
+
};
|
|
8680
|
+
}
|
|
8681
|
+
|
|
8635
8682
|
const defaultGenerator = componentName => componentName;
|
|
8636
8683
|
|
|
8637
8684
|
const createClassNameGenerator = () => {
|
|
@@ -8680,160 +8727,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8680
8727
|
return result;
|
|
8681
8728
|
}
|
|
8682
8729
|
|
|
8683
|
-
function getBackdropUtilityClass(slot) {
|
|
8684
|
-
return generateUtilityClass('MuiBackdrop', slot);
|
|
8685
|
-
}
|
|
8686
|
-
const backdropUnstyledClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
8687
|
-
var backdropUnstyledClasses$1 = backdropUnstyledClasses;
|
|
8688
|
-
|
|
8689
|
-
const _excluded$2d = ["classes", "className", "invisible", "component", "components", "componentsProps", "theme"];
|
|
8690
|
-
|
|
8691
|
-
const useUtilityClasses$1O = ownerState => {
|
|
8692
|
-
const {
|
|
8693
|
-
classes,
|
|
8694
|
-
invisible
|
|
8695
|
-
} = ownerState;
|
|
8696
|
-
const slots = {
|
|
8697
|
-
root: ['root', invisible && 'invisible']
|
|
8698
|
-
};
|
|
8699
|
-
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
8700
|
-
};
|
|
8701
|
-
|
|
8702
|
-
const BackdropUnstyled = /*#__PURE__*/React__namespace.forwardRef(function BackdropUnstyled(props, ref) {
|
|
8703
|
-
const {
|
|
8704
|
-
classes: classesProp,
|
|
8705
|
-
className,
|
|
8706
|
-
invisible = false,
|
|
8707
|
-
component = 'div',
|
|
8708
|
-
components = {},
|
|
8709
|
-
componentsProps = {},
|
|
8710
|
-
|
|
8711
|
-
/* eslint-disable react/prop-types */
|
|
8712
|
-
theme
|
|
8713
|
-
} = props,
|
|
8714
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$2d);
|
|
8715
|
-
|
|
8716
|
-
const ownerState = _extends({}, props, {
|
|
8717
|
-
classes: classesProp,
|
|
8718
|
-
invisible
|
|
8719
|
-
});
|
|
8720
|
-
|
|
8721
|
-
const classes = useUtilityClasses$1O(ownerState);
|
|
8722
|
-
const Root = components.Root || component;
|
|
8723
|
-
const rootProps = componentsProps.root || {};
|
|
8724
|
-
return /*#__PURE__*/jsxRuntime_1(Root, _extends({
|
|
8725
|
-
"aria-hidden": true
|
|
8726
|
-
}, rootProps, !isHostComponent(Root) && {
|
|
8727
|
-
as: component,
|
|
8728
|
-
ownerState: _extends({}, ownerState, rootProps.ownerState),
|
|
8729
|
-
theme
|
|
8730
|
-
}, {
|
|
8731
|
-
ref: ref
|
|
8732
|
-
}, other, {
|
|
8733
|
-
className: clsx(classes.root, rootProps.className, className)
|
|
8734
|
-
}));
|
|
8735
|
-
});
|
|
8736
|
-
BackdropUnstyled.propTypes
|
|
8737
|
-
/* remove-proptypes */
|
|
8738
|
-
= {
|
|
8739
|
-
// ----------------------------- Warning --------------------------------
|
|
8740
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
8741
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
8742
|
-
// ----------------------------------------------------------------------
|
|
8743
|
-
|
|
8744
|
-
/**
|
|
8745
|
-
* The content of the component.
|
|
8746
|
-
*/
|
|
8747
|
-
children: PropTypes.node,
|
|
8748
|
-
|
|
8749
|
-
/**
|
|
8750
|
-
* Override or extend the styles applied to the component.
|
|
8751
|
-
*/
|
|
8752
|
-
classes: PropTypes.object,
|
|
8753
|
-
|
|
8754
|
-
/**
|
|
8755
|
-
* @ignore
|
|
8756
|
-
*/
|
|
8757
|
-
className: PropTypes.string,
|
|
8758
|
-
|
|
8759
|
-
/**
|
|
8760
|
-
* The component used for the root node.
|
|
8761
|
-
* Either a string to use a HTML element or a component.
|
|
8762
|
-
*/
|
|
8763
|
-
component: PropTypes.elementType,
|
|
8764
|
-
|
|
8765
|
-
/**
|
|
8766
|
-
* The components used for each slot inside the Backdrop.
|
|
8767
|
-
* Either a string to use a HTML element or a component.
|
|
8768
|
-
* @default {}
|
|
8769
|
-
*/
|
|
8770
|
-
components: PropTypes.shape({
|
|
8771
|
-
Root: PropTypes.elementType
|
|
8772
|
-
}),
|
|
8773
|
-
|
|
8774
|
-
/**
|
|
8775
|
-
* The props used for each slot inside the Backdrop.
|
|
8776
|
-
* @default {}
|
|
8777
|
-
*/
|
|
8778
|
-
componentsProps: PropTypes.shape({
|
|
8779
|
-
root: PropTypes.object
|
|
8780
|
-
}),
|
|
8781
|
-
|
|
8782
|
-
/**
|
|
8783
|
-
* If `true`, the backdrop is invisible.
|
|
8784
|
-
* It can be used when rendering a popover or a custom select component.
|
|
8785
|
-
* @default false
|
|
8786
|
-
*/
|
|
8787
|
-
invisible: PropTypes.bool
|
|
8788
|
-
} ;
|
|
8789
|
-
var BackdropUnstyled$1 = BackdropUnstyled;
|
|
8790
|
-
|
|
8791
|
-
function useBadge(props) {
|
|
8792
|
-
const {
|
|
8793
|
-
anchorOrigin: anchorOriginProp = {
|
|
8794
|
-
vertical: 'top',
|
|
8795
|
-
horizontal: 'right'
|
|
8796
|
-
},
|
|
8797
|
-
badgeContent: badgeContentProp,
|
|
8798
|
-
invisible: invisibleProp = false,
|
|
8799
|
-
max: maxProp = 99,
|
|
8800
|
-
showZero = false,
|
|
8801
|
-
variant: variantProp = 'standard'
|
|
8802
|
-
} = props;
|
|
8803
|
-
const prevProps = usePreviousProps$1({
|
|
8804
|
-
anchorOrigin: anchorOriginProp,
|
|
8805
|
-
badgeContent: badgeContentProp,
|
|
8806
|
-
max: maxProp,
|
|
8807
|
-
variant: variantProp
|
|
8808
|
-
});
|
|
8809
|
-
let invisible = invisibleProp;
|
|
8810
|
-
|
|
8811
|
-
if (invisibleProp === false && (badgeContentProp === 0 && !showZero || badgeContentProp == null && variantProp !== 'dot')) {
|
|
8812
|
-
invisible = true;
|
|
8813
|
-
}
|
|
8814
|
-
|
|
8815
|
-
const {
|
|
8816
|
-
anchorOrigin = anchorOriginProp,
|
|
8817
|
-
badgeContent,
|
|
8818
|
-
max = maxProp,
|
|
8819
|
-
variant = variantProp
|
|
8820
|
-
} = invisible ? prevProps : props;
|
|
8821
|
-
let displayValue = '';
|
|
8822
|
-
|
|
8823
|
-
if (variant !== 'dot') {
|
|
8824
|
-
displayValue = badgeContent && Number(badgeContent) > max ? `${max}+` : badgeContent;
|
|
8825
|
-
}
|
|
8826
|
-
|
|
8827
|
-
return {
|
|
8828
|
-
anchorOrigin,
|
|
8829
|
-
badgeContent,
|
|
8830
|
-
invisible,
|
|
8831
|
-
max,
|
|
8832
|
-
variant,
|
|
8833
|
-
displayValue
|
|
8834
|
-
};
|
|
8835
|
-
}
|
|
8836
|
-
|
|
8837
8730
|
function getBadgeUtilityClass(slot) {
|
|
8838
8731
|
return generateUtilityClass('MuiBadge', slot);
|
|
8839
8732
|
}
|
|
@@ -8842,7 +8735,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8842
8735
|
|
|
8843
8736
|
const _excluded$2c = ["anchorOrigin", "classes", "badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero", "variant"];
|
|
8844
8737
|
|
|
8845
|
-
const useUtilityClasses$
|
|
8738
|
+
const useUtilityClasses$1O = ownerState => {
|
|
8846
8739
|
const {
|
|
8847
8740
|
variant,
|
|
8848
8741
|
anchorOrigin,
|
|
@@ -8897,7 +8790,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8897
8790
|
showZero
|
|
8898
8791
|
});
|
|
8899
8792
|
|
|
8900
|
-
const classes = useUtilityClasses$
|
|
8793
|
+
const classes = useUtilityClasses$1O(ownerState);
|
|
8901
8794
|
const Root = component || components.Root || 'span';
|
|
8902
8795
|
const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
|
|
8903
8796
|
const Badge = components.Badge || 'span';
|
|
@@ -9017,12 +8910,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9017
8910
|
*
|
|
9018
8911
|
* Demos:
|
|
9019
8912
|
*
|
|
9020
|
-
* - [Click Away Listener](https://mui.com/components/click-away-listener/)
|
|
9021
|
-
* - [
|
|
8913
|
+
* - [Click Away Listener](https://mui.com/base/components/click-away-listener/)
|
|
8914
|
+
* - [Click Away Listener](https://mui.com/material-ui/react-click-away-listener/)
|
|
8915
|
+
* - [Menus](https://mui.com/material-ui/react-menu/)
|
|
9022
8916
|
*
|
|
9023
8917
|
* API:
|
|
9024
8918
|
*
|
|
9025
|
-
* - [ClickAwayListener API](https://mui.com/api/click-away-listener/)
|
|
8919
|
+
* - [ClickAwayListener API](https://mui.com/base/api/click-away-listener/)
|
|
9026
8920
|
*/
|
|
9027
8921
|
function ClickAwayListener(props) {
|
|
9028
8922
|
const {
|
|
@@ -9489,6 +9383,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9489
9383
|
|
|
9490
9384
|
var currentNode = getParentNode(element);
|
|
9491
9385
|
|
|
9386
|
+
if (isShadowRoot(currentNode)) {
|
|
9387
|
+
currentNode = currentNode.host;
|
|
9388
|
+
}
|
|
9389
|
+
|
|
9492
9390
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
9493
9391
|
var css = getComputedStyle(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
9494
9392
|
// create a containing block.
|
|
@@ -9721,7 +9619,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9721
9619
|
|
|
9722
9620
|
if (placement === top || (placement === left || placement === right) && variation === end) {
|
|
9723
9621
|
sideY = bottom;
|
|
9724
|
-
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
9622
|
+
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]
|
|
9725
9623
|
offsetParent[heightProp];
|
|
9726
9624
|
y -= offsetY - popperRect.height;
|
|
9727
9625
|
y *= gpuAcceleration ? 1 : -1;
|
|
@@ -9729,7 +9627,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9729
9627
|
|
|
9730
9628
|
if (placement === left || (placement === top || placement === bottom) && variation === end) {
|
|
9731
9629
|
sideX = right;
|
|
9732
|
-
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
9630
|
+
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]
|
|
9733
9631
|
offsetParent[widthProp];
|
|
9734
9632
|
x -= offsetX - popperRect.width;
|
|
9735
9633
|
x *= gpuAcceleration ? 1 : -1;
|
|
@@ -11887,7 +11785,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11887
11785
|
*/
|
|
11888
11786
|
|
|
11889
11787
|
|
|
11890
|
-
function
|
|
11788
|
+
function TrapFocus(props) {
|
|
11891
11789
|
const {
|
|
11892
11790
|
children,
|
|
11893
11791
|
disableAutoFocus = false,
|
|
@@ -12092,7 +11990,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12092
11990
|
});
|
|
12093
11991
|
}
|
|
12094
11992
|
|
|
12095
|
-
|
|
11993
|
+
TrapFocus.propTypes
|
|
12096
11994
|
/* remove-proptypes */
|
|
12097
11995
|
= {
|
|
12098
11996
|
// ----------------------------- Warning --------------------------------
|
|
@@ -12158,7 +12056,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12158
12056
|
|
|
12159
12057
|
{
|
|
12160
12058
|
// eslint-disable-next-line
|
|
12161
|
-
|
|
12059
|
+
TrapFocus['propTypes' + ''] = exactProp(TrapFocus.propTypes);
|
|
12162
12060
|
}
|
|
12163
12061
|
|
|
12164
12062
|
function getModalUtilityClass(slot) {
|
|
@@ -12169,7 +12067,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12169
12067
|
|
|
12170
12068
|
const _excluded$2a = ["BackdropComponent", "BackdropProps", "children", "classes", "className", "closeAfterTransition", "component", "components", "componentsProps", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "theme", "onTransitionEnter", "onTransitionExited"];
|
|
12171
12069
|
|
|
12172
|
-
const useUtilityClasses$
|
|
12070
|
+
const useUtilityClasses$1N = ownerState => {
|
|
12173
12071
|
const {
|
|
12174
12072
|
open,
|
|
12175
12073
|
exited,
|
|
@@ -12316,7 +12214,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12316
12214
|
keepMounted
|
|
12317
12215
|
});
|
|
12318
12216
|
|
|
12319
|
-
const classes = useUtilityClasses$
|
|
12217
|
+
const classes = useUtilityClasses$1N(ownerState);
|
|
12320
12218
|
|
|
12321
12219
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
12322
12220
|
return null;
|
|
@@ -12410,9 +12308,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12410
12308
|
onKeyDown: handleKeyDown,
|
|
12411
12309
|
className: clsx(classes.root, rootProps.className, className),
|
|
12412
12310
|
children: [!hideBackdrop && BackdropComponent ? /*#__PURE__*/jsxRuntime_1(BackdropComponent, _extends({
|
|
12311
|
+
"aria-hidden": true,
|
|
12413
12312
|
open: open,
|
|
12414
12313
|
onClick: handleBackdropClick
|
|
12415
|
-
}, BackdropProps)) : null, /*#__PURE__*/jsxRuntime_1(
|
|
12314
|
+
}, BackdropProps)) : null, /*#__PURE__*/jsxRuntime_1(TrapFocus, {
|
|
12416
12315
|
disableEnforceFocus: disableEnforceFocus,
|
|
12417
12316
|
disableAutoFocus: disableAutoFocus,
|
|
12418
12317
|
disableRestoreFocus: disableRestoreFocus,
|
|
@@ -12437,7 +12336,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12437
12336
|
BackdropComponent: PropTypes.elementType,
|
|
12438
12337
|
|
|
12439
12338
|
/**
|
|
12440
|
-
* Props applied to the
|
|
12339
|
+
* Props applied to the backdrop element.
|
|
12441
12340
|
*/
|
|
12442
12341
|
BackdropProps: PropTypes.object,
|
|
12443
12342
|
|
|
@@ -13177,7 +13076,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13177
13076
|
stopListening();
|
|
13178
13077
|
});
|
|
13179
13078
|
const handleTouchStart = useEventCallback(nativeEvent => {
|
|
13180
|
-
|
|
13079
|
+
if (disabled) {
|
|
13080
|
+
return;
|
|
13081
|
+
} // If touch-action: none; is not supported we need to prevent the scroll manually.
|
|
13082
|
+
|
|
13083
|
+
|
|
13181
13084
|
if (!doesSupportTouchActionNone()) {
|
|
13182
13085
|
nativeEvent.preventDefault();
|
|
13183
13086
|
}
|
|
@@ -13249,6 +13152,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13249
13152
|
|
|
13250
13153
|
(_otherHandlers$onMous = otherHandlers.onMouseDown) == null ? void 0 : _otherHandlers$onMous.call(otherHandlers, event);
|
|
13251
13154
|
|
|
13155
|
+
if (disabled) {
|
|
13156
|
+
return;
|
|
13157
|
+
}
|
|
13158
|
+
|
|
13252
13159
|
if (event.defaultPrevented) {
|
|
13253
13160
|
return;
|
|
13254
13161
|
} // Only handle left clicks
|
|
@@ -13382,7 +13289,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13382
13289
|
|
|
13383
13290
|
const Identity = x => x;
|
|
13384
13291
|
|
|
13385
|
-
const useUtilityClasses$
|
|
13292
|
+
const useUtilityClasses$1M = ownerState => {
|
|
13386
13293
|
const {
|
|
13387
13294
|
disabled,
|
|
13388
13295
|
dragging,
|
|
@@ -13498,7 +13405,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13498
13405
|
const Input = components.Input || 'input';
|
|
13499
13406
|
const inputProps = appendOwnerState(Input, componentsProps.input, ownerState);
|
|
13500
13407
|
const hiddenInputProps = getHiddenInputProps();
|
|
13501
|
-
const classes = useUtilityClasses$
|
|
13408
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
13502
13409
|
return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, getRootProps({
|
|
13503
13410
|
onMouseDown
|
|
13504
13411
|
}), {
|
|
@@ -14589,6 +14496,7 @@ const theme2 = createTheme({ palette: {
|
|
|
14589
14496
|
// like global values in the browser.
|
|
14590
14497
|
const zIndex = {
|
|
14591
14498
|
mobileStepper: 1000,
|
|
14499
|
+
fab: 1050,
|
|
14592
14500
|
speedDial: 1050,
|
|
14593
14501
|
appBar: 1100,
|
|
14594
14502
|
drawer: 1200,
|
|
@@ -14939,7 +14847,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14939
14847
|
|
|
14940
14848
|
const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
14941
14849
|
|
|
14942
|
-
const useUtilityClasses$
|
|
14850
|
+
const useUtilityClasses$1L = ownerState => {
|
|
14943
14851
|
const {
|
|
14944
14852
|
color,
|
|
14945
14853
|
fontSize,
|
|
@@ -15024,7 +14932,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15024
14932
|
more.viewBox = viewBox;
|
|
15025
14933
|
}
|
|
15026
14934
|
|
|
15027
|
-
const classes = useUtilityClasses$
|
|
14935
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
15028
14936
|
return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
|
|
15029
14937
|
as: component,
|
|
15030
14938
|
className: clsx(classes.root, className),
|
|
@@ -15064,7 +14972,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15064
14972
|
className: PropTypes.string,
|
|
15065
14973
|
|
|
15066
14974
|
/**
|
|
15067
|
-
* The color of the component.
|
|
14975
|
+
* The color of the component.
|
|
14976
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
14977
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
15068
14978
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
15069
14979
|
* @default 'inherit'
|
|
15070
14980
|
*/
|
|
@@ -16159,7 +16069,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16159
16069
|
|
|
16160
16070
|
const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
|
|
16161
16071
|
|
|
16162
|
-
const useUtilityClasses$
|
|
16072
|
+
const useUtilityClasses$1K = ownerState => {
|
|
16163
16073
|
const {
|
|
16164
16074
|
orientation,
|
|
16165
16075
|
classes
|
|
@@ -16267,7 +16177,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16267
16177
|
collapsedSize: collapsedSizeProp
|
|
16268
16178
|
});
|
|
16269
16179
|
|
|
16270
|
-
const classes = useUtilityClasses$
|
|
16180
|
+
const classes = useUtilityClasses$1K(ownerState);
|
|
16271
16181
|
const theme = useTheme();
|
|
16272
16182
|
const timer = React__namespace.useRef();
|
|
16273
16183
|
const wrapperRef = React__namespace.useRef(null);
|
|
@@ -16581,7 +16491,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16581
16491
|
return (alphaValue / 100).toFixed(2);
|
|
16582
16492
|
};
|
|
16583
16493
|
|
|
16584
|
-
const useUtilityClasses$
|
|
16494
|
+
const useUtilityClasses$1J = ownerState => {
|
|
16585
16495
|
const {
|
|
16586
16496
|
square,
|
|
16587
16497
|
elevation,
|
|
@@ -16641,7 +16551,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16641
16551
|
variant
|
|
16642
16552
|
});
|
|
16643
16553
|
|
|
16644
|
-
const classes = useUtilityClasses$
|
|
16554
|
+
const classes = useUtilityClasses$1J(ownerState);
|
|
16645
16555
|
|
|
16646
16556
|
{
|
|
16647
16557
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -16748,7 +16658,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16748
16658
|
|
|
16749
16659
|
const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
|
|
16750
16660
|
|
|
16751
|
-
const useUtilityClasses$
|
|
16661
|
+
const useUtilityClasses$1I = ownerState => {
|
|
16752
16662
|
const {
|
|
16753
16663
|
classes,
|
|
16754
16664
|
square,
|
|
@@ -16892,7 +16802,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16892
16802
|
expanded
|
|
16893
16803
|
});
|
|
16894
16804
|
|
|
16895
|
-
const classes = useUtilityClasses$
|
|
16805
|
+
const classes = useUtilityClasses$1I(ownerState);
|
|
16896
16806
|
return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
|
|
16897
16807
|
className: clsx(classes.root, className),
|
|
16898
16808
|
ref: ref,
|
|
@@ -17017,7 +16927,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17017
16927
|
|
|
17018
16928
|
const _excluded$1$ = ["className", "disableSpacing"];
|
|
17019
16929
|
|
|
17020
|
-
const useUtilityClasses$
|
|
16930
|
+
const useUtilityClasses$1H = ownerState => {
|
|
17021
16931
|
const {
|
|
17022
16932
|
classes,
|
|
17023
16933
|
disableSpacing
|
|
@@ -17065,7 +16975,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17065
16975
|
disableSpacing
|
|
17066
16976
|
});
|
|
17067
16977
|
|
|
17068
|
-
const classes = useUtilityClasses$
|
|
16978
|
+
const classes = useUtilityClasses$1H(ownerState);
|
|
17069
16979
|
return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
|
|
17070
16980
|
className: clsx(classes.root, className),
|
|
17071
16981
|
ref: ref,
|
|
@@ -17116,7 +17026,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17116
17026
|
|
|
17117
17027
|
const _excluded$1_ = ["className"];
|
|
17118
17028
|
|
|
17119
|
-
const useUtilityClasses$
|
|
17029
|
+
const useUtilityClasses$1G = ownerState => {
|
|
17120
17030
|
const {
|
|
17121
17031
|
classes
|
|
17122
17032
|
} = ownerState;
|
|
@@ -17147,7 +17057,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17147
17057
|
other = _objectWithoutPropertiesLoose(props, _excluded$1_);
|
|
17148
17058
|
|
|
17149
17059
|
const ownerState = props;
|
|
17150
|
-
const classes = useUtilityClasses$
|
|
17060
|
+
const classes = useUtilityClasses$1G(ownerState);
|
|
17151
17061
|
return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
|
|
17152
17062
|
className: clsx(classes.root, className),
|
|
17153
17063
|
ref: ref,
|
|
@@ -17620,7 +17530,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17620
17530
|
|
|
17621
17531
|
const _excluded$1Y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
17622
17532
|
|
|
17623
|
-
const useUtilityClasses$
|
|
17533
|
+
const useUtilityClasses$1F = ownerState => {
|
|
17624
17534
|
const {
|
|
17625
17535
|
disabled,
|
|
17626
17536
|
focusVisible,
|
|
@@ -17748,11 +17658,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17748
17658
|
buttonRef.current.focus();
|
|
17749
17659
|
}
|
|
17750
17660
|
}), []);
|
|
17661
|
+
const [mountedState, setMountedState] = React__namespace.useState(false);
|
|
17662
|
+
React__namespace.useEffect(() => {
|
|
17663
|
+
setMountedState(true);
|
|
17664
|
+
}, []);
|
|
17665
|
+
const enableTouchRipple = mountedState && !disableRipple && !disabled;
|
|
17751
17666
|
React__namespace.useEffect(() => {
|
|
17752
|
-
if (focusVisible && focusRipple && !disableRipple) {
|
|
17667
|
+
if (focusVisible && focusRipple && !disableRipple && mountedState) {
|
|
17753
17668
|
rippleRef.current.pulsate();
|
|
17754
17669
|
}
|
|
17755
|
-
}, [disableRipple, focusRipple, focusVisible]);
|
|
17670
|
+
}, [disableRipple, focusRipple, focusVisible, mountedState]);
|
|
17756
17671
|
|
|
17757
17672
|
function useRippleHandler(rippleAction, eventCallback, skipRippleAction = disableTouchRipple) {
|
|
17758
17673
|
return useEventCallback(event => {
|
|
@@ -17896,11 +17811,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17896
17811
|
|
|
17897
17812
|
const handleOwnRef = useForkRef(focusVisibleRef, buttonRef);
|
|
17898
17813
|
const handleRef = useForkRef(ref, handleOwnRef);
|
|
17899
|
-
const [mountedState, setMountedState] = React__namespace.useState(false);
|
|
17900
|
-
React__namespace.useEffect(() => {
|
|
17901
|
-
setMountedState(true);
|
|
17902
|
-
}, []);
|
|
17903
|
-
const enableTouchRipple = mountedState && !disableRipple && !disabled;
|
|
17904
17814
|
|
|
17905
17815
|
{
|
|
17906
17816
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -17922,7 +17832,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17922
17832
|
focusVisible
|
|
17923
17833
|
});
|
|
17924
17834
|
|
|
17925
|
-
const classes = useUtilityClasses$
|
|
17835
|
+
const classes = useUtilityClasses$1F(ownerState);
|
|
17926
17836
|
return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
|
|
17927
17837
|
as: ComponentProp,
|
|
17928
17838
|
className: clsx(classes.root, className),
|
|
@@ -18158,7 +18068,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18158
18068
|
|
|
18159
18069
|
const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
|
|
18160
18070
|
|
|
18161
|
-
const useUtilityClasses$
|
|
18071
|
+
const useUtilityClasses$1E = ownerState => {
|
|
18162
18072
|
const {
|
|
18163
18073
|
classes,
|
|
18164
18074
|
expanded,
|
|
@@ -18279,7 +18189,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18279
18189
|
disableGutters
|
|
18280
18190
|
});
|
|
18281
18191
|
|
|
18282
|
-
const classes = useUtilityClasses$
|
|
18192
|
+
const classes = useUtilityClasses$1E(ownerState);
|
|
18283
18193
|
return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
|
|
18284
18194
|
focusRipple: false,
|
|
18285
18195
|
disableRipple: true,
|
|
@@ -18367,7 +18277,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18367
18277
|
|
|
18368
18278
|
const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
18369
18279
|
|
|
18370
|
-
const useUtilityClasses$
|
|
18280
|
+
const useUtilityClasses$1D = ownerState => {
|
|
18371
18281
|
const {
|
|
18372
18282
|
classes,
|
|
18373
18283
|
disabled,
|
|
@@ -18474,7 +18384,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18474
18384
|
size
|
|
18475
18385
|
});
|
|
18476
18386
|
|
|
18477
|
-
const classes = useUtilityClasses$
|
|
18387
|
+
const classes = useUtilityClasses$1D(ownerState);
|
|
18478
18388
|
return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
|
|
18479
18389
|
className: clsx(classes.root, className),
|
|
18480
18390
|
centerRipple: true,
|
|
@@ -18518,7 +18428,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18518
18428
|
className: PropTypes.string,
|
|
18519
18429
|
|
|
18520
18430
|
/**
|
|
18521
|
-
* The color of the component.
|
|
18431
|
+
* The color of the component.
|
|
18432
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
18433
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
18522
18434
|
* @default 'default'
|
|
18523
18435
|
*/
|
|
18524
18436
|
color: PropTypes
|
|
@@ -18595,7 +18507,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18595
18507
|
|
|
18596
18508
|
const _excluded$1V = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
|
|
18597
18509
|
|
|
18598
|
-
const useUtilityClasses$
|
|
18510
|
+
const useUtilityClasses$1C = ownerState => {
|
|
18599
18511
|
const {
|
|
18600
18512
|
variant,
|
|
18601
18513
|
color,
|
|
@@ -18719,7 +18631,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18719
18631
|
variant
|
|
18720
18632
|
});
|
|
18721
18633
|
|
|
18722
|
-
const classes = useUtilityClasses$
|
|
18634
|
+
const classes = useUtilityClasses$1C(ownerState);
|
|
18723
18635
|
return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
|
|
18724
18636
|
role: role,
|
|
18725
18637
|
elevation: 0,
|
|
@@ -18791,7 +18703,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18791
18703
|
closeText: PropTypes.string,
|
|
18792
18704
|
|
|
18793
18705
|
/**
|
|
18794
|
-
* The
|
|
18706
|
+
* The color of the component. Unless provided, the value is taken from the `severity` prop.
|
|
18707
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
18708
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
18795
18709
|
*/
|
|
18796
18710
|
color: PropTypes
|
|
18797
18711
|
/* @typescript-to-proptypes-ignore */
|
|
@@ -18859,7 +18773,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18859
18773
|
|
|
18860
18774
|
const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
18861
18775
|
|
|
18862
|
-
const useUtilityClasses$
|
|
18776
|
+
const useUtilityClasses$1B = ownerState => {
|
|
18863
18777
|
const {
|
|
18864
18778
|
align,
|
|
18865
18779
|
gutterBottom,
|
|
@@ -18960,7 +18874,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18960
18874
|
});
|
|
18961
18875
|
|
|
18962
18876
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
|
18963
|
-
const classes = useUtilityClasses$
|
|
18877
|
+
const classes = useUtilityClasses$1B(ownerState);
|
|
18964
18878
|
return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
|
|
18965
18879
|
as: Component,
|
|
18966
18880
|
ref: ref,
|
|
@@ -19070,7 +18984,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19070
18984
|
|
|
19071
18985
|
const _excluded$1T = ["className"];
|
|
19072
18986
|
|
|
19073
|
-
const useUtilityClasses$
|
|
18987
|
+
const useUtilityClasses$1A = ownerState => {
|
|
19074
18988
|
const {
|
|
19075
18989
|
classes
|
|
19076
18990
|
} = ownerState;
|
|
@@ -19104,7 +19018,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19104
19018
|
other = _objectWithoutPropertiesLoose(props, _excluded$1T);
|
|
19105
19019
|
|
|
19106
19020
|
const ownerState = props;
|
|
19107
|
-
const classes = useUtilityClasses$
|
|
19021
|
+
const classes = useUtilityClasses$1A(ownerState);
|
|
19108
19022
|
return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
|
|
19109
19023
|
gutterBottom: true,
|
|
19110
19024
|
component: "div",
|
|
@@ -19151,7 +19065,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19151
19065
|
|
|
19152
19066
|
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
19153
19067
|
|
|
19154
|
-
const useUtilityClasses$
|
|
19068
|
+
const useUtilityClasses$1z = ownerState => {
|
|
19155
19069
|
const {
|
|
19156
19070
|
color,
|
|
19157
19071
|
position,
|
|
@@ -19249,7 +19163,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19249
19163
|
enableColorOnDark
|
|
19250
19164
|
});
|
|
19251
19165
|
|
|
19252
|
-
const classes = useUtilityClasses$
|
|
19166
|
+
const classes = useUtilityClasses$1z(ownerState);
|
|
19253
19167
|
return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
|
|
19254
19168
|
square: true,
|
|
19255
19169
|
component: "header",
|
|
@@ -19283,7 +19197,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19283
19197
|
className: PropTypes.string,
|
|
19284
19198
|
|
|
19285
19199
|
/**
|
|
19286
|
-
* The color of the component.
|
|
19200
|
+
* The color of the component.
|
|
19201
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
19202
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
19287
19203
|
* @default 'primary'
|
|
19288
19204
|
*/
|
|
19289
19205
|
color: PropTypes
|
|
@@ -19311,6 +19227,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19311
19227
|
} ;
|
|
19312
19228
|
var AppBar$1 = AppBar;
|
|
19313
19229
|
|
|
19230
|
+
const PopperRoot = styled$1(PopperUnstyled$1, {
|
|
19231
|
+
name: 'MuiPopper',
|
|
19232
|
+
slot: 'Root',
|
|
19233
|
+
overridesResolver: (props, styles) => styles.root
|
|
19234
|
+
})({});
|
|
19314
19235
|
/**
|
|
19315
19236
|
*
|
|
19316
19237
|
* Demos:
|
|
@@ -19323,9 +19244,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19323
19244
|
*
|
|
19324
19245
|
* - [Popper API](https://mui.com/api/popper/)
|
|
19325
19246
|
*/
|
|
19326
|
-
|
|
19247
|
+
|
|
19248
|
+
const Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
19327
19249
|
const theme = useTheme$2();
|
|
19328
|
-
|
|
19250
|
+
const props = useThemeProps({
|
|
19251
|
+
props: inProps,
|
|
19252
|
+
name: 'MuiPopper'
|
|
19253
|
+
});
|
|
19254
|
+
return /*#__PURE__*/jsxRuntime_1(PopperRoot, _extends({
|
|
19329
19255
|
direction: theme == null ? void 0 : theme.direction
|
|
19330
19256
|
}, props, {
|
|
19331
19257
|
ref: ref
|
|
@@ -19429,6 +19355,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19429
19355
|
*/
|
|
19430
19356
|
popperRef: refType$1,
|
|
19431
19357
|
|
|
19358
|
+
/**
|
|
19359
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
19360
|
+
*/
|
|
19361
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
19362
|
+
|
|
19432
19363
|
/**
|
|
19433
19364
|
* Help supporting a react-transition-group/Transition component.
|
|
19434
19365
|
* @default false
|
|
@@ -19445,7 +19376,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19445
19376
|
|
|
19446
19377
|
const _excluded$1R = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
19447
19378
|
|
|
19448
|
-
const useUtilityClasses$
|
|
19379
|
+
const useUtilityClasses$1y = ownerState => {
|
|
19449
19380
|
const {
|
|
19450
19381
|
classes,
|
|
19451
19382
|
color,
|
|
@@ -19518,7 +19449,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19518
19449
|
inset
|
|
19519
19450
|
});
|
|
19520
19451
|
|
|
19521
|
-
const classes = useUtilityClasses$
|
|
19452
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
19522
19453
|
return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
|
|
19523
19454
|
as: component,
|
|
19524
19455
|
className: clsx(classes.root, className),
|
|
@@ -19598,7 +19529,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19598
19529
|
|
|
19599
19530
|
const _excluded$1Q = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
|
|
19600
19531
|
|
|
19601
|
-
const useUtilityClasses$
|
|
19532
|
+
const useUtilityClasses$1x = ownerState => {
|
|
19602
19533
|
const {
|
|
19603
19534
|
classes,
|
|
19604
19535
|
disabled,
|
|
@@ -19932,7 +19863,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19932
19863
|
variant
|
|
19933
19864
|
});
|
|
19934
19865
|
|
|
19935
|
-
const classes = useUtilityClasses$
|
|
19866
|
+
const classes = useUtilityClasses$1x(ownerState);
|
|
19936
19867
|
const moreProps = component === ButtonBase$1 ? _extends({
|
|
19937
19868
|
component: ComponentProp || 'div',
|
|
19938
19869
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -20031,7 +19962,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20031
19962
|
clickable: PropTypes.bool,
|
|
20032
19963
|
|
|
20033
19964
|
/**
|
|
20034
|
-
* The color of the component.
|
|
19965
|
+
* The color of the component.
|
|
19966
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
19967
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
20035
19968
|
* @default 'default'
|
|
20036
19969
|
*/
|
|
20037
19970
|
color: PropTypes
|
|
@@ -20214,7 +20147,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20214
20147
|
return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
|
|
20215
20148
|
};
|
|
20216
20149
|
|
|
20217
|
-
const useUtilityClasses$
|
|
20150
|
+
const useUtilityClasses$1w = ownerState => {
|
|
20218
20151
|
const {
|
|
20219
20152
|
classes,
|
|
20220
20153
|
color,
|
|
@@ -20626,7 +20559,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20626
20559
|
type
|
|
20627
20560
|
});
|
|
20628
20561
|
|
|
20629
|
-
const classes = useUtilityClasses$
|
|
20562
|
+
const classes = useUtilityClasses$1w(ownerState);
|
|
20630
20563
|
const Root = components.Root || InputBaseRoot;
|
|
20631
20564
|
const rootProps = componentsProps.root || {};
|
|
20632
20565
|
const Input = components.Input || InputBaseComponent;
|
|
@@ -20712,7 +20645,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20712
20645
|
className: PropTypes.string,
|
|
20713
20646
|
|
|
20714
20647
|
/**
|
|
20715
|
-
* The color of the component.
|
|
20648
|
+
* The color of the component.
|
|
20649
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
20650
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
20716
20651
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
20717
20652
|
*/
|
|
20718
20653
|
color: PropTypes
|
|
@@ -20814,7 +20749,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20814
20749
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
20815
20750
|
|
|
20816
20751
|
/**
|
|
20817
|
-
* If `true`, a
|
|
20752
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
20818
20753
|
* @default false
|
|
20819
20754
|
*/
|
|
20820
20755
|
multiline: PropTypes.bool,
|
|
@@ -20954,7 +20889,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20954
20889
|
|
|
20955
20890
|
const _excluded$1O = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "value"];
|
|
20956
20891
|
|
|
20957
|
-
const useUtilityClasses$
|
|
20892
|
+
const useUtilityClasses$1v = ownerState => {
|
|
20958
20893
|
const {
|
|
20959
20894
|
classes,
|
|
20960
20895
|
disablePortal,
|
|
@@ -21377,7 +21312,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21377
21312
|
size
|
|
21378
21313
|
});
|
|
21379
21314
|
|
|
21380
|
-
const classes = useUtilityClasses$
|
|
21315
|
+
const classes = useUtilityClasses$1v(ownerState);
|
|
21381
21316
|
let startAdornment;
|
|
21382
21317
|
|
|
21383
21318
|
if (multiple && value.length > 0) {
|
|
@@ -21687,7 +21622,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21687
21622
|
disablePortal: PropTypes.bool,
|
|
21688
21623
|
|
|
21689
21624
|
/**
|
|
21690
|
-
* A
|
|
21625
|
+
* A function that determines the filtered options to be rendered on search.
|
|
21691
21626
|
*
|
|
21692
21627
|
* @param {T[]} options The options to render.
|
|
21693
21628
|
* @param {object} state The state of the component.
|
|
@@ -22013,7 +21948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22013
21948
|
|
|
22014
21949
|
const _excluded$1N = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
22015
21950
|
|
|
22016
|
-
const useUtilityClasses$
|
|
21951
|
+
const useUtilityClasses$1u = ownerState => {
|
|
22017
21952
|
const {
|
|
22018
21953
|
classes,
|
|
22019
21954
|
variant,
|
|
@@ -22166,7 +22101,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22166
22101
|
variant
|
|
22167
22102
|
});
|
|
22168
22103
|
|
|
22169
|
-
const classes = useUtilityClasses$
|
|
22104
|
+
const classes = useUtilityClasses$1u(ownerState);
|
|
22170
22105
|
|
|
22171
22106
|
if (hasImgNotFailing) {
|
|
22172
22107
|
children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
|
|
@@ -22281,7 +22216,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22281
22216
|
medium: null
|
|
22282
22217
|
};
|
|
22283
22218
|
|
|
22284
|
-
const useUtilityClasses$
|
|
22219
|
+
const useUtilityClasses$1t = ownerState => {
|
|
22285
22220
|
const {
|
|
22286
22221
|
classes
|
|
22287
22222
|
} = ownerState;
|
|
@@ -22353,7 +22288,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22353
22288
|
variant
|
|
22354
22289
|
});
|
|
22355
22290
|
|
|
22356
|
-
const classes = useUtilityClasses$
|
|
22291
|
+
const classes = useUtilityClasses$1t(ownerState);
|
|
22357
22292
|
const children = React__namespace.Children.toArray(childrenProp).filter(child => {
|
|
22358
22293
|
{
|
|
22359
22294
|
if (reactIs_2(child)) {
|
|
@@ -22685,14 +22620,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22685
22620
|
} ;
|
|
22686
22621
|
var Fade$1 = Fade;
|
|
22687
22622
|
|
|
22688
|
-
|
|
22689
|
-
|
|
22623
|
+
function getBackdropUtilityClass(slot) {
|
|
22624
|
+
return generateUtilityClass('MuiBackdrop', slot);
|
|
22625
|
+
}
|
|
22626
|
+
const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
22627
|
+
var backdropClasses$1 = backdropClasses;
|
|
22628
|
+
|
|
22629
|
+
const _excluded$1K = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
|
|
22690
22630
|
|
|
22691
|
-
const
|
|
22631
|
+
const useUtilityClasses$1s = ownerState => {
|
|
22692
22632
|
const {
|
|
22693
|
-
classes
|
|
22633
|
+
classes,
|
|
22634
|
+
invisible
|
|
22694
22635
|
} = ownerState;
|
|
22695
|
-
|
|
22636
|
+
const slots = {
|
|
22637
|
+
root: ['root', invisible && 'invisible']
|
|
22638
|
+
};
|
|
22639
|
+
return composeClasses(slots, getBackdropUtilityClass, classes);
|
|
22696
22640
|
};
|
|
22697
22641
|
|
|
22698
22642
|
const BackdropRoot = styled$1('div', {
|
|
@@ -22721,7 +22665,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22721
22665
|
backgroundColor: 'transparent'
|
|
22722
22666
|
}));
|
|
22723
22667
|
const Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
|
|
22724
|
-
var _componentsProps$root;
|
|
22668
|
+
var _components$Root, _componentsProps$root;
|
|
22725
22669
|
|
|
22726
22670
|
const props = useThemeProps({
|
|
22727
22671
|
props: inProps,
|
|
@@ -22730,6 +22674,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22730
22674
|
|
|
22731
22675
|
const {
|
|
22732
22676
|
children,
|
|
22677
|
+
component = 'div',
|
|
22733
22678
|
components = {},
|
|
22734
22679
|
componentsProps = {},
|
|
22735
22680
|
className,
|
|
@@ -22742,25 +22687,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22742
22687
|
other = _objectWithoutPropertiesLoose(props, _excluded$1K);
|
|
22743
22688
|
|
|
22744
22689
|
const ownerState = _extends({}, props, {
|
|
22690
|
+
component,
|
|
22745
22691
|
invisible
|
|
22746
22692
|
});
|
|
22747
22693
|
|
|
22748
|
-
const classes =
|
|
22694
|
+
const classes = useUtilityClasses$1s(ownerState);
|
|
22749
22695
|
return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
|
|
22750
22696
|
in: open,
|
|
22751
22697
|
timeout: transitionDuration
|
|
22752
22698
|
}, other, {
|
|
22753
|
-
children: /*#__PURE__*/jsxRuntime_1(
|
|
22754
|
-
|
|
22755
|
-
|
|
22756
|
-
|
|
22757
|
-
|
|
22758
|
-
}, components),
|
|
22759
|
-
componentsProps: {
|
|
22760
|
-
root: _extends({}, componentsProps.root, (!components.Root || !isHostComponent(components.Root)) && {
|
|
22761
|
-
ownerState: _extends({}, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState)
|
|
22762
|
-
})
|
|
22763
|
-
},
|
|
22699
|
+
children: /*#__PURE__*/jsxRuntime_1(BackdropRoot, {
|
|
22700
|
+
"aria-hidden": true,
|
|
22701
|
+
as: (_components$Root = components.Root) != null ? _components$Root : component,
|
|
22702
|
+
className: clsx(classes.root, className),
|
|
22703
|
+
ownerState: _extends({}, ownerState, (_componentsProps$root = componentsProps.root) == null ? void 0 : _componentsProps$root.ownerState),
|
|
22764
22704
|
classes: classes,
|
|
22765
22705
|
ref: ref,
|
|
22766
22706
|
children: children
|
|
@@ -22790,6 +22730,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22790
22730
|
*/
|
|
22791
22731
|
className: PropTypes.string,
|
|
22792
22732
|
|
|
22733
|
+
/**
|
|
22734
|
+
* The component used for the root node.
|
|
22735
|
+
* Either a string to use a HTML element or a component.
|
|
22736
|
+
*/
|
|
22737
|
+
component: PropTypes.elementType,
|
|
22738
|
+
|
|
22793
22739
|
/**
|
|
22794
22740
|
* The components used for each slot inside the Backdrop.
|
|
22795
22741
|
* Either a string to use a HTML element or a component.
|
|
@@ -23100,7 +23046,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23100
23046
|
classes: PropTypes.object,
|
|
23101
23047
|
|
|
23102
23048
|
/**
|
|
23103
|
-
* The color of the component.
|
|
23049
|
+
* The color of the component.
|
|
23050
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
23051
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
23104
23052
|
* @default 'default'
|
|
23105
23053
|
*/
|
|
23106
23054
|
color: PropTypes
|
|
@@ -24096,7 +24044,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24096
24044
|
className: PropTypes.string,
|
|
24097
24045
|
|
|
24098
24046
|
/**
|
|
24099
|
-
* The color of the component.
|
|
24047
|
+
* The color of the component.
|
|
24048
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
24049
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
24100
24050
|
* @default 'primary'
|
|
24101
24051
|
*/
|
|
24102
24052
|
color: PropTypes
|
|
@@ -24392,7 +24342,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24392
24342
|
className: PropTypes.string,
|
|
24393
24343
|
|
|
24394
24344
|
/**
|
|
24395
|
-
* The color of the component.
|
|
24345
|
+
* The color of the component.
|
|
24346
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
24347
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
24396
24348
|
* @default 'primary'
|
|
24397
24349
|
*/
|
|
24398
24350
|
color: PropTypes
|
|
@@ -25670,7 +25622,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25670
25622
|
classes: PropTypes.object,
|
|
25671
25623
|
|
|
25672
25624
|
/**
|
|
25673
|
-
* The color of the component.
|
|
25625
|
+
* The color of the component.
|
|
25626
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
25627
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
25674
25628
|
* @default 'primary'
|
|
25675
25629
|
*/
|
|
25676
25630
|
color: PropTypes
|
|
@@ -25969,7 +25923,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25969
25923
|
className: PropTypes.string,
|
|
25970
25924
|
|
|
25971
25925
|
/**
|
|
25972
|
-
* The color of the component.
|
|
25926
|
+
* The color of the component.
|
|
25927
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
25928
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
25973
25929
|
* @default 'primary'
|
|
25974
25930
|
*/
|
|
25975
25931
|
color: PropTypes
|
|
@@ -28356,6 +28312,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28356
28312
|
minWidth: 0,
|
|
28357
28313
|
width: 56,
|
|
28358
28314
|
height: 56,
|
|
28315
|
+
zIndex: theme.zIndex.fab,
|
|
28359
28316
|
boxShadow: theme.shadows[6],
|
|
28360
28317
|
'&:active': {
|
|
28361
28318
|
boxShadow: theme.shadows[12]
|
|
@@ -28484,7 +28441,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28484
28441
|
className: PropTypes.string,
|
|
28485
28442
|
|
|
28486
28443
|
/**
|
|
28487
|
-
* The color of the component.
|
|
28444
|
+
* The color of the component.
|
|
28445
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
28446
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
28488
28447
|
* @default 'default'
|
|
28489
28448
|
*/
|
|
28490
28449
|
color: PropTypes.oneOf(['default', 'error', 'info', 'inherit', 'primary', 'secondary', 'success', 'warning']),
|
|
@@ -28773,7 +28732,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28773
28732
|
classes: PropTypes.object,
|
|
28774
28733
|
|
|
28775
28734
|
/**
|
|
28776
|
-
* The color of the component.
|
|
28735
|
+
* The color of the component.
|
|
28736
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
28737
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
28777
28738
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
28778
28739
|
*/
|
|
28779
28740
|
color: PropTypes
|
|
@@ -28881,7 +28842,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28881
28842
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
28882
28843
|
|
|
28883
28844
|
/**
|
|
28884
|
-
* If `true`, a
|
|
28845
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
28885
28846
|
* @default false
|
|
28886
28847
|
*/
|
|
28887
28848
|
multiline: PropTypes.bool,
|
|
@@ -29186,7 +29147,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29186
29147
|
className: PropTypes.string,
|
|
29187
29148
|
|
|
29188
29149
|
/**
|
|
29189
|
-
* The color of the component.
|
|
29150
|
+
* The color of the component.
|
|
29151
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
29152
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
29190
29153
|
* @default 'primary'
|
|
29191
29154
|
*/
|
|
29192
29155
|
color: PropTypes
|
|
@@ -29347,7 +29310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29347
29310
|
control,
|
|
29348
29311
|
disabled: disabledProp,
|
|
29349
29312
|
disableTypography,
|
|
29350
|
-
label,
|
|
29313
|
+
label: labelProp,
|
|
29351
29314
|
labelPlacement = 'end'
|
|
29352
29315
|
} = props,
|
|
29353
29316
|
other = _objectWithoutPropertiesLoose(props, _excluded$1h);
|
|
@@ -29379,23 +29342,28 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29379
29342
|
|
|
29380
29343
|
const ownerState = _extends({}, props, {
|
|
29381
29344
|
disabled,
|
|
29382
|
-
label,
|
|
29383
29345
|
labelPlacement,
|
|
29384
29346
|
error: fcs.error
|
|
29385
29347
|
});
|
|
29386
29348
|
|
|
29387
29349
|
const classes = useUtilityClasses$12(ownerState);
|
|
29350
|
+
let label = labelProp;
|
|
29351
|
+
|
|
29352
|
+
if (label != null && label.type !== Typography$1 && !disableTypography) {
|
|
29353
|
+
label = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
|
|
29354
|
+
component: "span",
|
|
29355
|
+
className: classes.label
|
|
29356
|
+
}, componentsProps.typography, {
|
|
29357
|
+
children: label
|
|
29358
|
+
}));
|
|
29359
|
+
}
|
|
29360
|
+
|
|
29388
29361
|
return /*#__PURE__*/jsxRuntime_2(FormControlLabelRoot, _extends({
|
|
29389
29362
|
className: clsx(classes.root, className),
|
|
29390
29363
|
ownerState: ownerState,
|
|
29391
29364
|
ref: ref
|
|
29392
29365
|
}, other, {
|
|
29393
|
-
children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), label
|
|
29394
|
-
component: "span",
|
|
29395
|
-
className: classes.label
|
|
29396
|
-
}, componentsProps.typography, {
|
|
29397
|
-
children: label
|
|
29398
|
-
}))]
|
|
29366
|
+
children: [/*#__PURE__*/React__namespace.cloneElement(control, controlProps), label]
|
|
29399
29367
|
}));
|
|
29400
29368
|
});
|
|
29401
29369
|
FormControlLabel.propTypes
|
|
@@ -29452,7 +29420,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29452
29420
|
/**
|
|
29453
29421
|
* A text or an element to be used in an enclosing label element.
|
|
29454
29422
|
*/
|
|
29455
|
-
label: PropTypes.
|
|
29423
|
+
label: PropTypes.node,
|
|
29456
29424
|
|
|
29457
29425
|
/**
|
|
29458
29426
|
* The position of the label.
|
|
@@ -29907,7 +29875,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29907
29875
|
className: PropTypes.string,
|
|
29908
29876
|
|
|
29909
29877
|
/**
|
|
29910
|
-
* The color of the component.
|
|
29878
|
+
* The color of the component.
|
|
29879
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
29880
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
29911
29881
|
*/
|
|
29912
29882
|
color: PropTypes
|
|
29913
29883
|
/* @typescript-to-proptypes-ignore */
|
|
@@ -30270,10 +30240,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30270
30240
|
|
|
30271
30241
|
const rowSpacing = rowSpacingProp || spacing;
|
|
30272
30242
|
const columnSpacing = columnSpacingProp || spacing;
|
|
30273
|
-
const columnsContext = React__namespace.useContext(GridContext$1); //
|
|
30274
|
-
// colums set with default breakpoint unit of 12
|
|
30243
|
+
const columnsContext = React__namespace.useContext(GridContext$1); // columns set with default breakpoint unit of 12
|
|
30275
30244
|
|
|
30276
|
-
const columns = columnsProp ||
|
|
30245
|
+
const columns = container ? columnsProp || 12 : columnsContext;
|
|
30277
30246
|
|
|
30278
30247
|
const ownerState = _extends({}, props, {
|
|
30279
30248
|
columns,
|
|
@@ -30292,18 +30261,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30292
30261
|
});
|
|
30293
30262
|
|
|
30294
30263
|
const classes = useUtilityClasses$_(ownerState);
|
|
30295
|
-
|
|
30296
|
-
const wrapChild = element => columns !== 12 ? /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
|
|
30264
|
+
return /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
|
|
30297
30265
|
value: columns,
|
|
30298
|
-
children:
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
ref: ref
|
|
30306
|
-
}, other)));
|
|
30266
|
+
children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
30267
|
+
ownerState: ownerState,
|
|
30268
|
+
className: clsx(classes.root, className),
|
|
30269
|
+
as: component,
|
|
30270
|
+
ref: ref
|
|
30271
|
+
}, other))
|
|
30272
|
+
});
|
|
30307
30273
|
});
|
|
30308
30274
|
Grid.propTypes
|
|
30309
30275
|
/* remove-proptypes */
|
|
@@ -30488,6 +30454,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30488
30454
|
transform: 'none'
|
|
30489
30455
|
}
|
|
30490
30456
|
};
|
|
30457
|
+
/**
|
|
30458
|
+
* Conditionally apply a workaround for the CSS transition bug in Safari 15.4.
|
|
30459
|
+
* Remove this workaround once the Safari bug is fixed.
|
|
30460
|
+
*/
|
|
30461
|
+
|
|
30462
|
+
const isSafari154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*safari/i.test(navigator.userAgent) && /version\/15\.[4-9]/i.test(navigator.userAgent);
|
|
30491
30463
|
/**
|
|
30492
30464
|
* The Grow transition is used by the [Tooltip](/components/tooltips/) and
|
|
30493
30465
|
* [Popover](/components/popover/) components.
|
|
@@ -30561,7 +30533,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30561
30533
|
duration,
|
|
30562
30534
|
delay
|
|
30563
30535
|
}), theme.transitions.create('transform', {
|
|
30564
|
-
duration: duration * 0.666,
|
|
30536
|
+
duration: isSafari154 ? duration : duration * 0.666,
|
|
30565
30537
|
delay,
|
|
30566
30538
|
easing: transitionTimingFunction
|
|
30567
30539
|
})].join(',');
|
|
@@ -30597,11 +30569,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30597
30569
|
duration,
|
|
30598
30570
|
delay
|
|
30599
30571
|
}), theme.transitions.create('transform', {
|
|
30600
|
-
duration: duration * 0.666,
|
|
30601
|
-
delay: delay || duration * 0.333,
|
|
30572
|
+
duration: isSafari154 ? duration : duration * 0.666,
|
|
30573
|
+
delay: isSafari154 ? delay : delay || duration * 0.333,
|
|
30602
30574
|
easing: transitionTimingFunction
|
|
30603
30575
|
})].join(',');
|
|
30604
|
-
node.style.opacity =
|
|
30576
|
+
node.style.opacity = 0;
|
|
30605
30577
|
node.style.transform = getScale(0.75);
|
|
30606
30578
|
|
|
30607
30579
|
if (onExit) {
|
|
@@ -31595,7 +31567,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31595
31567
|
className: PropTypes.string,
|
|
31596
31568
|
|
|
31597
31569
|
/**
|
|
31598
|
-
* The color of the component.
|
|
31570
|
+
* The color of the component.
|
|
31571
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
31572
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
31599
31573
|
* @default 'inherit'
|
|
31600
31574
|
*/
|
|
31601
31575
|
color: PropTypes
|
|
@@ -32382,7 +32356,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32382
32356
|
classes: PropTypes.object,
|
|
32383
32357
|
|
|
32384
32358
|
/**
|
|
32385
|
-
* The color of the component.
|
|
32359
|
+
* The color of the component.
|
|
32360
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
32361
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
32386
32362
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
32387
32363
|
*/
|
|
32388
32364
|
color: PropTypes
|
|
@@ -32482,7 +32458,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32482
32458
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
32483
32459
|
|
|
32484
32460
|
/**
|
|
32485
|
-
* If `true`, a
|
|
32461
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
32486
32462
|
* @default false
|
|
32487
32463
|
*/
|
|
32488
32464
|
multiline: PropTypes.bool,
|
|
@@ -32892,7 +32868,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32892
32868
|
classes: PropTypes.object,
|
|
32893
32869
|
|
|
32894
32870
|
/**
|
|
32895
|
-
* The color of the component.
|
|
32871
|
+
* The color of the component.
|
|
32872
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
32873
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
32896
32874
|
*/
|
|
32897
32875
|
color: PropTypes
|
|
32898
32876
|
/* @typescript-to-proptypes-ignore */
|
|
@@ -33277,7 +33255,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33277
33255
|
className: PropTypes.string,
|
|
33278
33256
|
|
|
33279
33257
|
/**
|
|
33280
|
-
* The color of the component.
|
|
33258
|
+
* The color of the component.
|
|
33259
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
33260
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
33281
33261
|
* @default 'primary'
|
|
33282
33262
|
*/
|
|
33283
33263
|
color: PropTypes
|
|
@@ -36773,7 +36753,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36773
36753
|
'& > span': {
|
|
36774
36754
|
paddingLeft: 5,
|
|
36775
36755
|
paddingRight: 5,
|
|
36776
|
-
display: 'inline-block'
|
|
36756
|
+
display: 'inline-block',
|
|
36757
|
+
opacity: 0,
|
|
36758
|
+
visibility: 'visible'
|
|
36777
36759
|
}
|
|
36778
36760
|
}, ownerState.notched && {
|
|
36779
36761
|
maxWidth: '100%',
|
|
@@ -37017,7 +36999,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37017
36999
|
classes: PropTypes.object,
|
|
37018
37000
|
|
|
37019
37001
|
/**
|
|
37020
|
-
* The color of the component.
|
|
37002
|
+
* The color of the component.
|
|
37003
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
37004
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
37021
37005
|
* The prop defaults to the value (`'primary'`) inherited from the parent FormControl component.
|
|
37022
37006
|
*/
|
|
37023
37007
|
color: PropTypes
|
|
@@ -37109,7 +37093,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37109
37093
|
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
37110
37094
|
|
|
37111
37095
|
/**
|
|
37112
|
-
* If `true`, a
|
|
37096
|
+
* If `true`, a [TextareaAutosize](/components/textarea-autosize/) element is rendered.
|
|
37113
37097
|
* @default false
|
|
37114
37098
|
*/
|
|
37115
37099
|
multiline: PropTypes.bool,
|
|
@@ -37597,6 +37581,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37597
37581
|
|
|
37598
37582
|
/**
|
|
37599
37583
|
* The active color.
|
|
37584
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
37585
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
37600
37586
|
* @default 'standard'
|
|
37601
37587
|
*/
|
|
37602
37588
|
color: PropTypes
|
|
@@ -37821,6 +37807,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37821
37807
|
|
|
37822
37808
|
/**
|
|
37823
37809
|
* The active color.
|
|
37810
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
37811
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
37824
37812
|
* @default 'standard'
|
|
37825
37813
|
*/
|
|
37826
37814
|
color: PropTypes
|
|
@@ -38182,7 +38170,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38182
38170
|
classes: PropTypes.object,
|
|
38183
38171
|
|
|
38184
38172
|
/**
|
|
38185
|
-
* The color of the component.
|
|
38173
|
+
* The color of the component.
|
|
38174
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
38175
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
38186
38176
|
* @default 'primary'
|
|
38187
38177
|
*/
|
|
38188
38178
|
color: PropTypes
|
|
@@ -40906,7 +40896,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40906
40896
|
classes: PropTypes.object,
|
|
40907
40897
|
|
|
40908
40898
|
/**
|
|
40909
|
-
* The color of the component.
|
|
40899
|
+
* The color of the component.
|
|
40900
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
40901
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
40910
40902
|
* @default 'primary'
|
|
40911
40903
|
*/
|
|
40912
40904
|
color: PropTypes
|
|
@@ -41543,7 +41535,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
41543
41535
|
onMouseLeave: handleMouseLeave,
|
|
41544
41536
|
ownerState: ownerState,
|
|
41545
41537
|
ref: ref // ClickAwayListener adds an `onClick` prop which results in the alert not being announced.
|
|
41546
|
-
// See https://github.com/mui
|
|
41538
|
+
// See https://github.com/mui/material-ui/issues/29080
|
|
41547
41539
|
,
|
|
41548
41540
|
role: "presentation"
|
|
41549
41541
|
}, other, {
|
|
@@ -45998,7 +45990,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45998
45990
|
className: PropTypes.string,
|
|
45999
45991
|
|
|
46000
45992
|
/**
|
|
46001
|
-
* The color of the component.
|
|
45993
|
+
* The color of the component.
|
|
45994
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
45995
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
46002
45996
|
* @default 'primary'
|
|
46003
45997
|
*/
|
|
46004
45998
|
color: PropTypes
|
|
@@ -49418,7 +49412,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49418
49412
|
className: PropTypes.string,
|
|
49419
49413
|
|
|
49420
49414
|
/**
|
|
49421
|
-
* The color of the component.
|
|
49415
|
+
* The color of the component.
|
|
49416
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
49417
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
49422
49418
|
* @default 'primary'
|
|
49423
49419
|
*/
|
|
49424
49420
|
color: PropTypes
|
|
@@ -49758,6 +49754,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49758
49754
|
|
|
49759
49755
|
/**
|
|
49760
49756
|
* The color of the button when it is in an active state.
|
|
49757
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
49758
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
49761
49759
|
* @default 'standard'
|
|
49762
49760
|
*/
|
|
49763
49761
|
color: PropTypes
|
|
@@ -50034,7 +50032,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50034
50032
|
className: PropTypes.string,
|
|
50035
50033
|
|
|
50036
50034
|
/**
|
|
50037
|
-
* The color of
|
|
50035
|
+
* The color of the button when it is selected.
|
|
50036
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
50037
|
+
* [palette customization guide](https://mui.com/customization/palette/#adding-new-colors).
|
|
50038
50038
|
* @default 'standard'
|
|
50039
50039
|
*/
|
|
50040
50040
|
color: PropTypes
|
|
@@ -50302,7 +50302,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50302
50302
|
exports.autocompleteClasses = autocompleteClasses$1;
|
|
50303
50303
|
exports.avatarClasses = avatarClasses$1;
|
|
50304
50304
|
exports.avatarGroupClasses = avatarGroupClasses$1;
|
|
50305
|
-
exports.backdropClasses = backdropClasses;
|
|
50305
|
+
exports.backdropClasses = backdropClasses$1;
|
|
50306
50306
|
exports.badgeClasses = badgeClasses;
|
|
50307
50307
|
exports.bottomNavigationActionClasses = bottomNavigationActionClasses$1;
|
|
50308
50308
|
exports.bottomNavigationClasses = bottomNavigationClasses$1;
|
|
@@ -50366,6 +50366,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50366
50366
|
exports.getAutocompleteUtilityClass = getAutocompleteUtilityClass;
|
|
50367
50367
|
exports.getAvatarGroupUtilityClass = getAvatarGroupUtilityClass;
|
|
50368
50368
|
exports.getAvatarUtilityClass = getAvatarUtilityClass;
|
|
50369
|
+
exports.getBackdropUtilityClass = getBackdropUtilityClass;
|
|
50369
50370
|
exports.getBottomNavigationActionUtilityClass = getBottomNavigationActionUtilityClass;
|
|
50370
50371
|
exports.getBottomNavigationUtilityClass = getBottomNavigationUtilityClass;
|
|
50371
50372
|
exports.getBreadcrumbsUtilityClass = getBreadcrumbsUtilityClass;
|