@mui/material 5.6.3 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Accordion/Accordion.js +6 -6
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/AccordionSummary.js +3 -3
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +23 -1
- package/Autocomplete/Autocomplete.js +18 -16
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.js +2 -2
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +1 -34
- package/Badge/Badge.js +2 -2
- package/Badge/badgeClasses.d.ts +56 -24
- package/BottomNavigation/BottomNavigation.js +1 -1
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Box/Box.js +1 -1
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +76 -76
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.js +10 -10
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +238 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.js +2 -2
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +80 -80
- package/CircularProgress/CircularProgress.js +1 -1
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/Container.js +17 -106
- package/Container/containerClasses.d.ts +6 -22
- package/CssBaseline/CssBaseline.js +4 -4
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.js +2 -2
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.js +4 -4
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.js +6 -6
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.js +69 -65
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.js +3 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.js +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/FormHelperText.js +3 -3
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.js +5 -5
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/Icon.js +8 -8
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.js +5 -5
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/ImageListItemBar.js +1 -1
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.js +9 -4
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/InputAdornment.js +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.js +16 -8
- package/InputBase/inputBaseClasses.d.ts +44 -44
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/Link.js +3 -8
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/ListItem.js +8 -8
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/ListItemButton.js +8 -8
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/ListItemIcon.js +1 -1
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/ListSubheader.js +3 -3
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.js +8 -8
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/MobileStepper.js +5 -5
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/PaginationItem.js +27 -27
- 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 -29
- package/README.md +2 -3
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/Rating.js +2 -2
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +24 -24
- package/Snackbar/Snackbar.js +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/SpeedDial.js +1 -1
- 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/StepIcon.js +5 -5
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.js +4 -4
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -0
- package/Stepper/StepperContext.js +10 -2
- package/Stepper/index.d.ts +3 -0
- package/Stepper/index.js +3 -1
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.js +4 -4
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/Tab.js +7 -7
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.js +1 -1
- 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/TablePagination.js +1 -1
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.js +3 -3
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.js +4 -4
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/Tabs.d.ts +1 -1
- package/Tabs/Tabs.js +2 -2
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.js +17 -10
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.js +5 -5
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/className/index.d.ts +1 -8
- package/className/index.js +1 -8
- package/darkScrollbar/index.d.ts +28 -28
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/Accordion/Accordion.js +6 -6
- package/legacy/AccordionSummary/AccordionSummary.js +3 -3
- package/legacy/Autocomplete/Autocomplete.js +18 -16
- package/legacy/AvatarGroup/AvatarGroup.js +2 -2
- package/legacy/Badge/Badge.js +2 -2
- package/legacy/BottomNavigation/BottomNavigation.js +1 -1
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/legacy/Box/Box.js +1 -1
- package/legacy/ButtonGroup/ButtonGroup.js +10 -10
- package/legacy/CardActionArea/CardActionArea.js +2 -2
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/Container/Container.js +18 -103
- package/legacy/CssBaseline/CssBaseline.js +4 -4
- package/legacy/DialogContent/DialogContent.js +2 -2
- package/legacy/Divider/Divider.js +4 -4
- package/legacy/Drawer/Drawer.js +6 -6
- package/legacy/Fab/Fab.js +17 -17
- package/legacy/FilledInput/FilledInput.js +2 -2
- package/legacy/FormControlLabel/FormControlLabel.js +1 -1
- package/legacy/FormHelperText/FormHelperText.js +3 -3
- package/legacy/FormLabel/FormLabel.js +5 -5
- package/legacy/Icon/Icon.js +8 -8
- package/legacy/IconButton/IconButton.js +5 -5
- package/legacy/ImageListItemBar/ImageListItemBar.js +1 -1
- package/legacy/Input/Input.js +8 -3
- package/legacy/InputAdornment/InputAdornment.js +1 -1
- package/legacy/InputBase/InputBase.js +16 -8
- package/legacy/Link/Link.js +3 -9
- package/legacy/ListItem/ListItem.js +8 -8
- package/legacy/ListItemButton/ListItemButton.js +8 -8
- package/legacy/ListItemIcon/ListItemIcon.js +1 -1
- package/legacy/ListSubheader/ListSubheader.js +3 -3
- package/legacy/MenuItem/MenuItem.js +8 -8
- package/legacy/MobileStepper/MobileStepper.js +5 -5
- package/legacy/Modal/Modal.js +1 -1
- package/legacy/PaginationItem/PaginationItem.js +27 -27
- package/legacy/Rating/Rating.js +2 -2
- package/legacy/Snackbar/Snackbar.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +1 -1
- package/legacy/StepIcon/StepIcon.js +5 -5
- package/legacy/StepLabel/StepLabel.js +4 -4
- package/legacy/Stepper/StepperContext.js +10 -2
- package/legacy/Stepper/index.js +3 -1
- package/legacy/SvgIcon/SvgIcon.js +4 -4
- package/legacy/Tab/Tab.js +7 -7
- package/legacy/Table/Table.js +1 -1
- package/legacy/TablePagination/TablePagination.js +1 -1
- package/legacy/TableRow/TableRow.js +3 -3
- package/legacy/TableSortLabel/TableSortLabel.js +4 -4
- package/legacy/Tabs/Tabs.js +2 -2
- package/legacy/ToggleButton/ToggleButton.js +16 -9
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/legacy/Tooltip/Tooltip.js +5 -5
- package/legacy/className/index.js +1 -8
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +23 -23
- package/legacy/styles/createMixins.js +1 -1
- package/legacy/styles/createPalette.js +2 -1
- package/legacy/styles/createTheme.js +1 -1
- package/legacy/styles/experimental_extendTheme.js +52 -43
- package/locale/index.d.ts +71 -71
- package/locale/index.js +23 -23
- package/modern/Accordion/Accordion.js +6 -6
- package/modern/AccordionSummary/AccordionSummary.js +3 -3
- package/modern/Autocomplete/Autocomplete.js +18 -16
- package/modern/AvatarGroup/AvatarGroup.js +2 -2
- package/modern/Badge/Badge.js +2 -2
- package/modern/BottomNavigation/BottomNavigation.js +1 -1
- package/modern/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/modern/Box/Box.js +1 -1
- package/modern/ButtonGroup/ButtonGroup.js +10 -10
- package/modern/CardActionArea/CardActionArea.js +2 -2
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/Container/Container.js +17 -106
- package/modern/CssBaseline/CssBaseline.js +4 -4
- package/modern/DialogContent/DialogContent.js +2 -2
- package/modern/Divider/Divider.js +4 -4
- package/modern/Drawer/Drawer.js +6 -6
- package/modern/Fab/Fab.js +16 -16
- package/modern/FilledInput/FilledInput.js +1 -1
- package/modern/FormControlLabel/FormControlLabel.js +1 -1
- package/modern/FormHelperText/FormHelperText.js +3 -3
- package/modern/FormLabel/FormLabel.js +5 -5
- package/modern/Icon/Icon.js +8 -8
- package/modern/IconButton/IconButton.js +5 -5
- package/modern/ImageListItemBar/ImageListItemBar.js +1 -1
- package/modern/Input/Input.js +9 -4
- package/modern/InputAdornment/InputAdornment.js +1 -1
- package/modern/InputBase/InputBase.js +16 -8
- package/modern/Link/Link.js +3 -8
- package/modern/ListItem/ListItem.js +8 -8
- package/modern/ListItemButton/ListItemButton.js +8 -8
- package/modern/ListItemIcon/ListItemIcon.js +1 -1
- package/modern/ListSubheader/ListSubheader.js +3 -3
- package/modern/MenuItem/MenuItem.js +8 -8
- package/modern/MobileStepper/MobileStepper.js +5 -5
- package/modern/Modal/Modal.js +1 -1
- package/modern/PaginationItem/PaginationItem.js +27 -27
- package/modern/Rating/Rating.js +2 -2
- package/modern/Snackbar/Snackbar.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +1 -1
- package/modern/StepIcon/StepIcon.js +5 -5
- package/modern/StepLabel/StepLabel.js +4 -4
- package/modern/Stepper/StepperContext.js +10 -2
- package/modern/Stepper/index.js +3 -1
- package/modern/SvgIcon/SvgIcon.js +3 -3
- package/modern/Tab/Tab.js +7 -7
- package/modern/Table/Table.js +1 -1
- package/modern/TablePagination/TablePagination.js +1 -1
- package/modern/TableRow/TableRow.js +3 -3
- package/modern/TableSortLabel/TableSortLabel.js +4 -4
- package/modern/Tabs/Tabs.js +2 -2
- package/modern/ToggleButton/ToggleButton.js +17 -10
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/modern/Tooltip/Tooltip.js +5 -5
- package/modern/className/index.js +1 -8
- package/modern/index.js +1 -1
- package/modern/locale/index.js +23 -23
- package/modern/styles/createMixins.js +1 -1
- package/modern/styles/createPalette.js +2 -1
- package/modern/styles/createTheme.js +1 -1
- package/modern/styles/experimental_extendTheme.js +56 -45
- package/node/Accordion/Accordion.js +6 -6
- package/node/AccordionSummary/AccordionSummary.js +3 -3
- package/node/Autocomplete/Autocomplete.js +19 -16
- package/node/AvatarGroup/AvatarGroup.js +2 -2
- package/node/Badge/Badge.js +2 -2
- package/node/BottomNavigation/BottomNavigation.js +1 -1
- package/node/BottomNavigationAction/BottomNavigationAction.js +2 -2
- package/node/Box/Box.js +2 -2
- package/node/ButtonGroup/ButtonGroup.js +10 -10
- package/node/CardActionArea/CardActionArea.js +2 -2
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/Container/Container.js +17 -113
- package/node/CssBaseline/CssBaseline.js +4 -4
- package/node/DialogContent/DialogContent.js +2 -2
- package/node/Divider/Divider.js +4 -4
- package/node/Drawer/Drawer.js +6 -6
- package/node/Fab/Fab.js +69 -65
- package/node/FilledInput/FilledInput.js +3 -1
- package/node/FormControlLabel/FormControlLabel.js +1 -1
- package/node/FormHelperText/FormHelperText.js +3 -3
- package/node/FormLabel/FormLabel.js +5 -5
- package/node/Icon/Icon.js +8 -8
- package/node/IconButton/IconButton.js +5 -5
- package/node/ImageListItemBar/ImageListItemBar.js +1 -1
- package/node/Input/Input.js +9 -4
- package/node/InputAdornment/InputAdornment.js +1 -1
- package/node/InputBase/InputBase.js +14 -8
- package/node/Link/Link.js +3 -9
- package/node/ListItem/ListItem.js +8 -8
- package/node/ListItemButton/ListItemButton.js +8 -8
- package/node/ListItemIcon/ListItemIcon.js +1 -1
- package/node/ListSubheader/ListSubheader.js +3 -3
- package/node/MenuItem/MenuItem.js +8 -8
- package/node/MobileStepper/MobileStepper.js +5 -5
- package/node/Modal/Modal.js +1 -1
- package/node/PaginationItem/PaginationItem.js +27 -27
- package/node/Rating/Rating.js +2 -2
- package/node/Snackbar/Snackbar.js +1 -1
- package/node/SpeedDial/SpeedDial.js +1 -1
- package/node/StepIcon/StepIcon.js +5 -5
- package/node/StepLabel/StepLabel.js +4 -4
- package/node/Stepper/StepperContext.js +11 -1
- package/node/Stepper/index.js +22 -1
- package/node/SvgIcon/SvgIcon.js +4 -4
- package/node/Tab/Tab.js +7 -7
- package/node/Table/Table.js +1 -1
- package/node/TablePagination/TablePagination.js +1 -1
- package/node/TableRow/TableRow.js +3 -3
- package/node/TableSortLabel/TableSortLabel.js +4 -4
- package/node/Tabs/Tabs.js +2 -2
- package/node/ToggleButton/ToggleButton.js +17 -10
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/node/Tooltip/Tooltip.js +5 -5
- package/node/className/index.js +2 -2
- package/node/index.js +1 -1
- package/node/locale/index.js +23 -23
- package/node/styles/createMixins.js +1 -1
- package/node/styles/createPalette.js +2 -1
- package/node/styles/createTheme.js +1 -1
- package/node/styles/experimental_extendTheme.js +57 -47
- package/package.json +5 -5
- package/styles/ThemeProvider.d.ts +1 -1
- package/styles/createMixins.d.ts +2 -6
- package/styles/createMixins.js +1 -1
- package/styles/createPalette.d.ts +9 -2
- package/styles/createPalette.js +2 -1
- package/styles/createTheme.js +1 -1
- package/styles/experimental_extendTheme.d.ts +13 -16
- package/styles/experimental_extendTheme.js +57 -46
- 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 +915 -767
- package/umd/material-ui.production.min.js +19 -19
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.
|
|
1
|
+
/** @license MUI v5.8.0
|
|
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.
|
|
@@ -4724,7 +4724,7 @@
|
|
|
4724
4724
|
styles: PropTypes.oneOfType([PropTypes.string, PropTypes.object, PropTypes.func])
|
|
4725
4725
|
} ;
|
|
4726
4726
|
|
|
4727
|
-
function styled$
|
|
4727
|
+
function styled$3(tag, options) {
|
|
4728
4728
|
const stylesFactory = emStyled(tag, options);
|
|
4729
4729
|
|
|
4730
4730
|
{
|
|
@@ -5565,6 +5565,74 @@
|
|
|
5565
5565
|
return output;
|
|
5566
5566
|
}
|
|
5567
5567
|
|
|
5568
|
+
function composeClasses(slots, getUtilityClass, classes) {
|
|
5569
|
+
const output = {};
|
|
5570
|
+
Object.keys(slots).forEach( // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
5571
|
+
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
5572
|
+
slot => {
|
|
5573
|
+
output[slot] = slots[slot].reduce((acc, key) => {
|
|
5574
|
+
if (key) {
|
|
5575
|
+
if (classes && classes[key]) {
|
|
5576
|
+
acc.push(classes[key]);
|
|
5577
|
+
}
|
|
5578
|
+
|
|
5579
|
+
acc.push(getUtilityClass(key));
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
return acc;
|
|
5583
|
+
}, []).join(' ');
|
|
5584
|
+
});
|
|
5585
|
+
return output;
|
|
5586
|
+
}
|
|
5587
|
+
|
|
5588
|
+
const defaultGenerator = componentName => componentName;
|
|
5589
|
+
|
|
5590
|
+
const createClassNameGenerator = () => {
|
|
5591
|
+
let generate = defaultGenerator;
|
|
5592
|
+
return {
|
|
5593
|
+
configure(generator) {
|
|
5594
|
+
generate = generator;
|
|
5595
|
+
},
|
|
5596
|
+
|
|
5597
|
+
generate(componentName) {
|
|
5598
|
+
return generate(componentName);
|
|
5599
|
+
},
|
|
5600
|
+
|
|
5601
|
+
reset() {
|
|
5602
|
+
generate = defaultGenerator;
|
|
5603
|
+
}
|
|
5604
|
+
|
|
5605
|
+
};
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5608
|
+
const ClassNameGenerator = createClassNameGenerator();
|
|
5609
|
+
var ClassNameGenerator$1 = ClassNameGenerator;
|
|
5610
|
+
|
|
5611
|
+
const globalStateClassesMapping = {
|
|
5612
|
+
active: 'Mui-active',
|
|
5613
|
+
checked: 'Mui-checked',
|
|
5614
|
+
completed: 'Mui-completed',
|
|
5615
|
+
disabled: 'Mui-disabled',
|
|
5616
|
+
error: 'Mui-error',
|
|
5617
|
+
expanded: 'Mui-expanded',
|
|
5618
|
+
focused: 'Mui-focused',
|
|
5619
|
+
focusVisible: 'Mui-focusVisible',
|
|
5620
|
+
required: 'Mui-required',
|
|
5621
|
+
selected: 'Mui-selected'
|
|
5622
|
+
};
|
|
5623
|
+
function generateUtilityClass(componentName, slot) {
|
|
5624
|
+
const globalStateClass = globalStateClassesMapping[slot];
|
|
5625
|
+
return globalStateClass || `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
function generateUtilityClasses(componentName, slots) {
|
|
5629
|
+
const result = {};
|
|
5630
|
+
slots.forEach(slot => {
|
|
5631
|
+
result[slot] = generateUtilityClass(componentName, slot);
|
|
5632
|
+
});
|
|
5633
|
+
return result;
|
|
5634
|
+
}
|
|
5635
|
+
|
|
5568
5636
|
function merge(acc, item) {
|
|
5569
5637
|
if (!item) {
|
|
5570
5638
|
return acc;
|
|
@@ -6696,7 +6764,7 @@
|
|
|
6696
6764
|
|
|
6697
6765
|
const _excluded$2j = ["breakpoints", "palette", "spacing", "shape"];
|
|
6698
6766
|
|
|
6699
|
-
function createTheme$
|
|
6767
|
+
function createTheme$1(options = {}, ...args) {
|
|
6700
6768
|
const {
|
|
6701
6769
|
breakpoints: breakpointsInput = {},
|
|
6702
6770
|
palette: paletteInput = {},
|
|
@@ -6819,7 +6887,7 @@
|
|
|
6819
6887
|
return !contextTheme || isObjectEmpty(contextTheme) ? defaultTheme : contextTheme;
|
|
6820
6888
|
}
|
|
6821
6889
|
|
|
6822
|
-
const systemDefaultTheme$1 = createTheme$
|
|
6890
|
+
const systemDefaultTheme$1 = createTheme$1();
|
|
6823
6891
|
|
|
6824
6892
|
function useTheme$1(defaultTheme = systemDefaultTheme$1) {
|
|
6825
6893
|
return useTheme$2(defaultTheme);
|
|
@@ -6833,7 +6901,7 @@
|
|
|
6833
6901
|
generateClassName,
|
|
6834
6902
|
styleFunctionSx = defaultStyleFunctionSx
|
|
6835
6903
|
} = options;
|
|
6836
|
-
const BoxRoot = styled$
|
|
6904
|
+
const BoxRoot = styled$3('div')(styleFunctionSx);
|
|
6837
6905
|
const Box = /*#__PURE__*/React__namespace.forwardRef(function Box(inProps, ref) {
|
|
6838
6906
|
const theme = useTheme$1(defaultTheme);
|
|
6839
6907
|
|
|
@@ -6884,8 +6952,8 @@
|
|
|
6884
6952
|
}
|
|
6885
6953
|
|
|
6886
6954
|
const _excluded$2g = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
6887
|
-
_excluded2$
|
|
6888
|
-
_excluded3$
|
|
6955
|
+
_excluded2$c = ["theme"],
|
|
6956
|
+
_excluded3$1 = ["theme"];
|
|
6889
6957
|
|
|
6890
6958
|
function isEmpty$1(obj) {
|
|
6891
6959
|
return Object.keys(obj).length === 0;
|
|
@@ -6945,7 +7013,7 @@
|
|
|
6945
7013
|
function shouldForwardProp(prop) {
|
|
6946
7014
|
return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';
|
|
6947
7015
|
}
|
|
6948
|
-
const systemDefaultTheme = createTheme$
|
|
7016
|
+
const systemDefaultTheme = createTheme$1();
|
|
6949
7017
|
|
|
6950
7018
|
const lowercaseFirstLetter = string => {
|
|
6951
7019
|
return string.charAt(0).toLowerCase() + string.slice(1);
|
|
@@ -6988,7 +7056,7 @@
|
|
|
6988
7056
|
shouldForwardPropOption = slotShouldForwardProp;
|
|
6989
7057
|
}
|
|
6990
7058
|
|
|
6991
|
-
const defaultStyledResolver = styled$
|
|
7059
|
+
const defaultStyledResolver = styled$3(tag, _extends({
|
|
6992
7060
|
shouldForwardProp: shouldForwardPropOption,
|
|
6993
7061
|
label
|
|
6994
7062
|
}, options));
|
|
@@ -7003,7 +7071,7 @@
|
|
|
7003
7071
|
let {
|
|
7004
7072
|
theme: themeInput
|
|
7005
7073
|
} = _ref,
|
|
7006
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded2$
|
|
7074
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded2$c);
|
|
7007
7075
|
|
|
7008
7076
|
return stylesArg(_extends({
|
|
7009
7077
|
theme: isEmpty$1(themeInput) ? defaultTheme : themeInput
|
|
@@ -7020,7 +7088,9 @@
|
|
|
7020
7088
|
if (styleOverrides) {
|
|
7021
7089
|
const resolvedStyleOverrides = {};
|
|
7022
7090
|
Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
|
|
7023
|
-
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(props
|
|
7091
|
+
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends({}, props, {
|
|
7092
|
+
theme
|
|
7093
|
+
})) : slotStyle;
|
|
7024
7094
|
});
|
|
7025
7095
|
return overridesResolver(props, resolvedStyleOverrides);
|
|
7026
7096
|
}
|
|
@@ -7062,7 +7132,7 @@
|
|
|
7062
7132
|
let {
|
|
7063
7133
|
theme: themeInput
|
|
7064
7134
|
} = _ref2,
|
|
7065
|
-
other = _objectWithoutPropertiesLoose(_ref2, _excluded3$
|
|
7135
|
+
other = _objectWithoutPropertiesLoose(_ref2, _excluded3$1);
|
|
7066
7136
|
|
|
7067
7137
|
return styleArg(_extends({
|
|
7068
7138
|
theme: isEmpty$1(themeInput) ? defaultTheme : themeInput
|
|
@@ -7097,6 +7167,9 @@
|
|
|
7097
7167
|
};
|
|
7098
7168
|
}
|
|
7099
7169
|
|
|
7170
|
+
const styled$2 = createStyled();
|
|
7171
|
+
var systemStyled = styled$2;
|
|
7172
|
+
|
|
7100
7173
|
function getThemeProps(params) {
|
|
7101
7174
|
const {
|
|
7102
7175
|
theme,
|
|
@@ -7501,16 +7574,18 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7501
7574
|
* assignNestedKeys(source, ['palette', 'secondary'], 'var(--palette-secondary)')
|
|
7502
7575
|
* console.log(source) // { palette: { primary: 'var(--palette-primary)', secondary: 'var(--palette-secondary)' } }
|
|
7503
7576
|
*/
|
|
7504
|
-
const assignNestedKeys = (obj, keys, value) => {
|
|
7577
|
+
const assignNestedKeys = (obj, keys, value, arrayKeys = []) => {
|
|
7505
7578
|
let temp = obj;
|
|
7506
7579
|
keys.forEach((k, index) => {
|
|
7507
7580
|
if (index === keys.length - 1) {
|
|
7508
|
-
if (temp
|
|
7581
|
+
if (Array.isArray(temp)) {
|
|
7582
|
+
temp[Number(k)] = value;
|
|
7583
|
+
} else if (temp && typeof temp === 'object') {
|
|
7509
7584
|
temp[k] = value;
|
|
7510
7585
|
}
|
|
7511
7586
|
} else if (temp && typeof temp === 'object') {
|
|
7512
7587
|
if (!temp[k]) {
|
|
7513
|
-
temp[k] = {};
|
|
7588
|
+
temp[k] = arrayKeys.includes(k) ? [] : {};
|
|
7514
7589
|
}
|
|
7515
7590
|
|
|
7516
7591
|
temp = temp[k];
|
|
@@ -7530,14 +7605,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7530
7605
|
*/
|
|
7531
7606
|
|
|
7532
7607
|
const walkObjectDeep = (obj, callback, shouldSkipPaths) => {
|
|
7533
|
-
function recurse(object, parentKeys = []) {
|
|
7608
|
+
function recurse(object, parentKeys = [], arrayKeys = []) {
|
|
7534
7609
|
Object.entries(object).forEach(([key, value]) => {
|
|
7535
7610
|
if (!shouldSkipPaths || shouldSkipPaths && !shouldSkipPaths([...parentKeys, key])) {
|
|
7536
7611
|
if (value !== undefined && value !== null) {
|
|
7537
7612
|
if (typeof value === 'object' && Object.keys(value).length > 0) {
|
|
7538
|
-
recurse(value, [...parentKeys, key]);
|
|
7613
|
+
recurse(value, [...parentKeys, key], Array.isArray(value) ? [...arrayKeys, key] : arrayKeys);
|
|
7539
7614
|
} else {
|
|
7540
|
-
callback([...parentKeys, key], value,
|
|
7615
|
+
callback([...parentKeys, key], value, arrayKeys);
|
|
7541
7616
|
}
|
|
7542
7617
|
}
|
|
7543
7618
|
}
|
|
@@ -7604,7 +7679,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7604
7679
|
const css = {};
|
|
7605
7680
|
const vars = {};
|
|
7606
7681
|
const parsedTheme = {};
|
|
7607
|
-
walkObjectDeep(theme, (keys, value) => {
|
|
7682
|
+
walkObjectDeep(theme, (keys, value, arrayKeys) => {
|
|
7608
7683
|
if (typeof value === 'string' || typeof value === 'number') {
|
|
7609
7684
|
if (typeof value === 'string' && value.match(/var\(\s*--/)) {
|
|
7610
7685
|
// for CSS variable, apply prefix or remove basePrefix from the variable
|
|
@@ -7622,11 +7697,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7622
7697
|
Object.assign(css, {
|
|
7623
7698
|
[cssVar]: getCssValue(keys, value)
|
|
7624
7699
|
});
|
|
7625
|
-
assignNestedKeys(vars, keys, `var(${cssVar})
|
|
7700
|
+
assignNestedKeys(vars, keys, `var(${cssVar})`, arrayKeys);
|
|
7626
7701
|
}
|
|
7627
7702
|
}
|
|
7628
7703
|
|
|
7629
|
-
assignNestedKeys(parsedTheme, keys, value);
|
|
7704
|
+
assignNestedKeys(parsedTheme, keys, value, arrayKeys);
|
|
7630
7705
|
}, keys => keys[0] === 'vars' // skip 'vars/*' paths
|
|
7631
7706
|
);
|
|
7632
7707
|
return {
|
|
@@ -7641,12 +7716,13 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7641
7716
|
const DEFAULT_ATTRIBUTE = 'data-mui-color-scheme';
|
|
7642
7717
|
function getInitColorSchemeScript$1(options) {
|
|
7643
7718
|
const {
|
|
7644
|
-
enableSystem,
|
|
7719
|
+
enableSystem = false,
|
|
7645
7720
|
defaultLightColorScheme = 'light',
|
|
7646
7721
|
defaultDarkColorScheme = 'dark',
|
|
7647
7722
|
modeStorageKey = DEFAULT_MODE_STORAGE_KEY,
|
|
7648
7723
|
colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,
|
|
7649
|
-
attribute = DEFAULT_ATTRIBUTE
|
|
7724
|
+
attribute = DEFAULT_ATTRIBUTE,
|
|
7725
|
+
colorSchemeNode = 'document.documentElement'
|
|
7650
7726
|
} = options || {};
|
|
7651
7727
|
return /*#__PURE__*/jsxRuntime_1("script", {
|
|
7652
7728
|
// eslint-disable-next-line react/no-danger
|
|
@@ -7670,7 +7746,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7670
7746
|
colorScheme = localStorage.getItem('${colorSchemeStorageKey}-dark') || '${defaultDarkColorScheme}';
|
|
7671
7747
|
}
|
|
7672
7748
|
if (colorScheme) {
|
|
7673
|
-
|
|
7749
|
+
${colorSchemeNode}.setAttribute('${attribute}', colorScheme);
|
|
7674
7750
|
}
|
|
7675
7751
|
} catch (e) {} })();`
|
|
7676
7752
|
}
|
|
@@ -7739,7 +7815,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7739
7815
|
defaultDarkColorScheme,
|
|
7740
7816
|
supportedColorSchemes = [],
|
|
7741
7817
|
modeStorageKey = DEFAULT_MODE_STORAGE_KEY,
|
|
7742
|
-
colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY
|
|
7818
|
+
colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,
|
|
7819
|
+
storageWindow = typeof window === 'undefined' ? undefined : window
|
|
7743
7820
|
} = options;
|
|
7744
7821
|
const joinedColorSchemes = supportedColorSchemes.join(',');
|
|
7745
7822
|
const [state, setState] = React__namespace.useState(() => {
|
|
@@ -7756,6 +7833,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7756
7833
|
setState(currentState => {
|
|
7757
7834
|
const newMode = !mode ? defaultMode : mode;
|
|
7758
7835
|
|
|
7836
|
+
if (mode === currentState.mode) {
|
|
7837
|
+
return currentState;
|
|
7838
|
+
}
|
|
7839
|
+
|
|
7759
7840
|
if (typeof localStorage !== 'undefined') {
|
|
7760
7841
|
localStorage.setItem(modeStorageKey, newMode);
|
|
7761
7842
|
}
|
|
@@ -7768,7 +7849,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7768
7849
|
}, [modeStorageKey, defaultMode]);
|
|
7769
7850
|
const setColorScheme = React__namespace.useCallback(value => {
|
|
7770
7851
|
if (!value || typeof value === 'string') {
|
|
7771
|
-
if (value && !
|
|
7852
|
+
if (value && !joinedColorSchemes.includes(value)) {
|
|
7772
7853
|
console.error(`\`${value}\` does not exist in \`theme.colorSchemes\`.`);
|
|
7773
7854
|
} else {
|
|
7774
7855
|
setState(currentState => {
|
|
@@ -7795,7 +7876,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7795
7876
|
return newState;
|
|
7796
7877
|
});
|
|
7797
7878
|
}
|
|
7798
|
-
} else if (value.light && !
|
|
7879
|
+
} else if (value.light && !joinedColorSchemes.includes(value.light) || value.dark && !joinedColorSchemes.includes(value.dark)) {
|
|
7799
7880
|
console.error(`\`${value}\` does not exist in \`theme.colorSchemes\`.`);
|
|
7800
7881
|
} else {
|
|
7801
7882
|
setState(currentState => {
|
|
@@ -7820,7 +7901,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7820
7901
|
localStorage.setItem(`${colorSchemeStorageKey}-dark`, value.dark);
|
|
7821
7902
|
}
|
|
7822
7903
|
}
|
|
7823
|
-
}, [
|
|
7904
|
+
}, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);
|
|
7824
7905
|
const handleMediaQuery = React__namespace.useCallback(e => {
|
|
7825
7906
|
if (state.mode === 'system') {
|
|
7826
7907
|
setState(currentState => _extends({}, currentState, {
|
|
@@ -7882,9 +7963,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7882
7963
|
}
|
|
7883
7964
|
};
|
|
7884
7965
|
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7966
|
+
if (storageWindow) {
|
|
7967
|
+
// For syncing color-scheme changes between iframes
|
|
7968
|
+
storageWindow.addEventListener('storage', handleStorage);
|
|
7969
|
+
return () => storageWindow.removeEventListener('storage', handleStorage);
|
|
7970
|
+
}
|
|
7971
|
+
|
|
7972
|
+
return undefined;
|
|
7973
|
+
}, [setColorScheme, setMode, modeStorageKey, colorSchemeStorageKey, joinedColorSchemes, defaultMode, storageWindow]);
|
|
7888
7974
|
return _extends({}, state, {
|
|
7889
7975
|
colorScheme,
|
|
7890
7976
|
setMode,
|
|
@@ -7919,15 +8005,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7919
8005
|
return getCssVar;
|
|
7920
8006
|
}
|
|
7921
8007
|
|
|
7922
|
-
const _excluded$2f = ["colorSchemes"]
|
|
7923
|
-
_excluded2$c = ["colorSchemes"],
|
|
7924
|
-
_excluded3$1 = ["components"];
|
|
8008
|
+
const _excluded$2f = ["colorSchemes", "components"];
|
|
7925
8009
|
const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
|
|
7926
8010
|
function createCssVarsProvider(options) {
|
|
7927
|
-
var _baseTheme$breakpoint;
|
|
7928
|
-
|
|
7929
8011
|
const {
|
|
7930
|
-
theme:
|
|
8012
|
+
theme: defaultTheme = {},
|
|
7931
8013
|
defaultMode: desisgnSystemMode = 'light',
|
|
7932
8014
|
defaultColorScheme: designSystemColorScheme,
|
|
7933
8015
|
disableTransitionOnChange: designSystemTransitionOnChange = false,
|
|
@@ -7936,10 +8018,8 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7936
8018
|
shouldSkipGeneratingVar,
|
|
7937
8019
|
resolveTheme
|
|
7938
8020
|
} = options;
|
|
7939
|
-
const systemSpacing = createSpacing(baseTheme.spacing);
|
|
7940
|
-
const systemBreakpoints = createBreakpoints((_baseTheme$breakpoint = baseTheme.breakpoints) != null ? _baseTheme$breakpoint : {});
|
|
7941
8021
|
|
|
7942
|
-
if (!
|
|
8022
|
+
if (!defaultTheme.colorSchemes || typeof designSystemColorScheme === 'string' && !defaultTheme.colorSchemes[designSystemColorScheme] || typeof designSystemColorScheme === 'object' && !defaultTheme.colorSchemes[designSystemColorScheme == null ? void 0 : designSystemColorScheme.light] || typeof designSystemColorScheme === 'object' && !defaultTheme.colorSchemes[designSystemColorScheme == null ? void 0 : designSystemColorScheme.dark]) {
|
|
7943
8023
|
console.error(`MUI: \`${designSystemColorScheme}\` does not exist in \`theme.colorSchemes\`.`);
|
|
7944
8024
|
}
|
|
7945
8025
|
|
|
@@ -7957,34 +8037,28 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
7957
8037
|
|
|
7958
8038
|
function CssVarsProvider({
|
|
7959
8039
|
children,
|
|
7960
|
-
theme: themeProp =
|
|
8040
|
+
theme: themeProp = defaultTheme,
|
|
7961
8041
|
prefix = designSystemPrefix,
|
|
7962
8042
|
modeStorageKey = DEFAULT_MODE_STORAGE_KEY,
|
|
8043
|
+
colorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,
|
|
7963
8044
|
attribute = DEFAULT_ATTRIBUTE,
|
|
7964
8045
|
defaultMode = desisgnSystemMode,
|
|
7965
8046
|
defaultColorScheme = designSystemColorScheme,
|
|
7966
8047
|
disableTransitionOnChange = designSystemTransitionOnChange,
|
|
7967
|
-
enableColorScheme = designSystemEnableColorScheme
|
|
8048
|
+
enableColorScheme = designSystemEnableColorScheme,
|
|
8049
|
+
storageWindow = typeof window === 'undefined' ? undefined : window,
|
|
8050
|
+
documentNode = typeof document === 'undefined' ? undefined : document,
|
|
8051
|
+
colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,
|
|
8052
|
+
colorSchemeSelector = ':root'
|
|
7968
8053
|
}) {
|
|
7969
|
-
const
|
|
7970
|
-
colorSchemes: baseColorSchemes = {}
|
|
7971
|
-
} = baseTheme,
|
|
7972
|
-
restBaseTheme = _objectWithoutPropertiesLoose(baseTheme, _excluded$2f);
|
|
8054
|
+
const hasMounted = React__namespace.useRef(false);
|
|
7973
8055
|
|
|
7974
8056
|
const {
|
|
7975
|
-
colorSchemes
|
|
7976
|
-
} = themeProp,
|
|
7977
|
-
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded2$c);
|
|
7978
|
-
|
|
7979
|
-
const hasMounted = React__namespace.useRef(false); // eslint-disable-next-line prefer-const
|
|
7980
|
-
|
|
7981
|
-
let _deepmerge = deepmerge(restBaseTheme, restThemeProp),
|
|
7982
|
-
{
|
|
8057
|
+
colorSchemes = {},
|
|
7983
8058
|
components = {}
|
|
7984
|
-
} =
|
|
7985
|
-
|
|
8059
|
+
} = themeProp,
|
|
8060
|
+
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2f);
|
|
7986
8061
|
|
|
7987
|
-
const colorSchemes = deepmerge(baseColorSchemes, colorSchemesProp);
|
|
7988
8062
|
const allColorSchemes = Object.keys(colorSchemes);
|
|
7989
8063
|
const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
7990
8064
|
const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
|
|
@@ -8001,7 +8075,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8001
8075
|
defaultLightColorScheme,
|
|
8002
8076
|
defaultDarkColorScheme,
|
|
8003
8077
|
modeStorageKey,
|
|
8004
|
-
|
|
8078
|
+
colorSchemeStorageKey,
|
|
8079
|
+
defaultMode,
|
|
8080
|
+
storageWindow
|
|
8005
8081
|
});
|
|
8006
8082
|
|
|
8007
8083
|
const resolvedColorScheme = (() => {
|
|
@@ -8018,22 +8094,21 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8018
8094
|
return colorScheme;
|
|
8019
8095
|
})();
|
|
8020
8096
|
|
|
8097
|
+
let theme = restThemeProp;
|
|
8021
8098
|
const {
|
|
8022
8099
|
css: rootCss,
|
|
8023
8100
|
vars: rootVars,
|
|
8024
8101
|
parsedTheme
|
|
8025
|
-
} = cssVarsParser(
|
|
8102
|
+
} = cssVarsParser(theme, {
|
|
8026
8103
|
prefix,
|
|
8027
8104
|
basePrefix: designSystemPrefix,
|
|
8028
8105
|
shouldSkipGeneratingVar
|
|
8029
8106
|
});
|
|
8030
|
-
|
|
8107
|
+
theme = _extends({}, parsedTheme, {
|
|
8031
8108
|
components,
|
|
8032
8109
|
colorSchemes,
|
|
8033
8110
|
prefix,
|
|
8034
8111
|
vars: rootVars,
|
|
8035
|
-
spacing: themeProp.spacing ? createSpacing(themeProp.spacing) : systemSpacing,
|
|
8036
|
-
breakpoints: themeProp.breakpoints ? createBreakpoints(themeProp.breakpoints) : systemBreakpoints,
|
|
8037
8112
|
getCssVar: createGetCssVar(prefix)
|
|
8038
8113
|
});
|
|
8039
8114
|
const styleSheet = {};
|
|
@@ -8047,10 +8122,16 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8047
8122
|
basePrefix: designSystemPrefix,
|
|
8048
8123
|
shouldSkipGeneratingVar
|
|
8049
8124
|
});
|
|
8050
|
-
|
|
8125
|
+
theme.vars = deepmerge(theme.vars, vars);
|
|
8051
8126
|
|
|
8052
8127
|
if (key === resolvedColorScheme) {
|
|
8053
|
-
|
|
8128
|
+
theme = _extends({}, theme, parsedScheme);
|
|
8129
|
+
|
|
8130
|
+
if (theme.palette) {
|
|
8131
|
+
// assign runtime mode & colorScheme
|
|
8132
|
+
theme.palette.mode = mode;
|
|
8133
|
+
theme.palette.colorScheme = resolvedColorScheme;
|
|
8134
|
+
}
|
|
8054
8135
|
}
|
|
8055
8136
|
|
|
8056
8137
|
const resolvedDefaultColorScheme = (() => {
|
|
@@ -8066,54 +8147,54 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8066
8147
|
})();
|
|
8067
8148
|
|
|
8068
8149
|
if (key === resolvedDefaultColorScheme) {
|
|
8069
|
-
styleSheet[
|
|
8150
|
+
styleSheet[colorSchemeSelector] = css;
|
|
8070
8151
|
} else {
|
|
8071
|
-
styleSheet[
|
|
8152
|
+
styleSheet[`${colorSchemeSelector === ':root' ? '' : colorSchemeSelector}[${attribute}="${key}"]`] = css;
|
|
8072
8153
|
}
|
|
8073
8154
|
});
|
|
8074
8155
|
React__namespace.useEffect(() => {
|
|
8075
|
-
if (colorScheme) {
|
|
8156
|
+
if (colorScheme && colorSchemeNode) {
|
|
8076
8157
|
// attaches attribute to <html> because the css variables are attached to :root (html)
|
|
8077
|
-
|
|
8158
|
+
colorSchemeNode.setAttribute(attribute, colorScheme);
|
|
8078
8159
|
}
|
|
8079
|
-
}, [colorScheme, attribute]);
|
|
8160
|
+
}, [colorScheme, attribute, colorSchemeNode]);
|
|
8080
8161
|
useEnhancedEffect$1(() => {
|
|
8081
|
-
if (!mode || !enableColorScheme) {
|
|
8162
|
+
if (!mode || !enableColorScheme || !colorSchemeNode) {
|
|
8082
8163
|
return undefined;
|
|
8083
8164
|
}
|
|
8084
8165
|
|
|
8085
|
-
const priorColorScheme =
|
|
8166
|
+
const priorColorScheme = colorSchemeNode.style.getPropertyValue('color-scheme'); // `color-scheme` tells browser to render built-in elements according to its value: `light` or `dark`
|
|
8086
8167
|
|
|
8087
8168
|
if (mode === 'system') {
|
|
8088
|
-
|
|
8169
|
+
colorSchemeNode.style.setProperty('color-scheme', systemMode);
|
|
8089
8170
|
} else {
|
|
8090
|
-
|
|
8171
|
+
colorSchemeNode.style.setProperty('color-scheme', mode);
|
|
8091
8172
|
}
|
|
8092
8173
|
|
|
8093
8174
|
return () => {
|
|
8094
|
-
|
|
8175
|
+
colorSchemeNode.style.setProperty('color-scheme', priorColorScheme);
|
|
8095
8176
|
};
|
|
8096
|
-
}, [mode, systemMode, enableColorScheme]);
|
|
8177
|
+
}, [mode, systemMode, enableColorScheme, colorSchemeNode]);
|
|
8097
8178
|
React__namespace.useEffect(() => {
|
|
8098
8179
|
let timer;
|
|
8099
8180
|
|
|
8100
|
-
if (disableTransitionOnChange && hasMounted.current) {
|
|
8181
|
+
if (disableTransitionOnChange && hasMounted.current && documentNode) {
|
|
8101
8182
|
// credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313
|
|
8102
|
-
const css =
|
|
8103
|
-
css.appendChild(
|
|
8104
|
-
|
|
8183
|
+
const css = documentNode.createElement('style');
|
|
8184
|
+
css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));
|
|
8185
|
+
documentNode.head.appendChild(css); // Force browser repaint
|
|
8105
8186
|
|
|
8106
|
-
(() => window.getComputedStyle(
|
|
8187
|
+
(() => window.getComputedStyle(documentNode.body))();
|
|
8107
8188
|
|
|
8108
8189
|
timer = setTimeout(() => {
|
|
8109
|
-
|
|
8190
|
+
documentNode.head.removeChild(css);
|
|
8110
8191
|
}, 1);
|
|
8111
8192
|
}
|
|
8112
8193
|
|
|
8113
8194
|
return () => {
|
|
8114
8195
|
clearTimeout(timer);
|
|
8115
8196
|
};
|
|
8116
|
-
}, [colorScheme, disableTransitionOnChange]);
|
|
8197
|
+
}, [colorScheme, disableTransitionOnChange, documentNode]);
|
|
8117
8198
|
React__namespace.useEffect(() => {
|
|
8118
8199
|
hasMounted.current = true;
|
|
8119
8200
|
return () => {
|
|
@@ -8132,12 +8213,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8132
8213
|
},
|
|
8133
8214
|
children: [/*#__PURE__*/jsxRuntime_1(GlobalStyles$1, {
|
|
8134
8215
|
styles: {
|
|
8135
|
-
|
|
8216
|
+
[colorSchemeSelector]: rootCss
|
|
8136
8217
|
}
|
|
8137
8218
|
}), /*#__PURE__*/jsxRuntime_1(GlobalStyles$1, {
|
|
8138
8219
|
styles: styleSheet
|
|
8139
8220
|
}), /*#__PURE__*/jsxRuntime_1(ThemeProvider, {
|
|
8140
|
-
theme: resolveTheme ? resolveTheme(
|
|
8221
|
+
theme: resolveTheme ? resolveTheme(theme) : theme,
|
|
8141
8222
|
children: children
|
|
8142
8223
|
})]
|
|
8143
8224
|
});
|
|
@@ -8154,6 +8235,21 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8154
8235
|
*/
|
|
8155
8236
|
children: PropTypes.node,
|
|
8156
8237
|
|
|
8238
|
+
/**
|
|
8239
|
+
* The node used to attach the color-scheme attribute
|
|
8240
|
+
*/
|
|
8241
|
+
colorSchemeNode: PropTypes.any,
|
|
8242
|
+
|
|
8243
|
+
/**
|
|
8244
|
+
* The CSS selector for attaching the generated custom properties
|
|
8245
|
+
*/
|
|
8246
|
+
colorSchemeSelector: PropTypes.string,
|
|
8247
|
+
|
|
8248
|
+
/**
|
|
8249
|
+
* localStorage key used to store `colorScheme`
|
|
8250
|
+
*/
|
|
8251
|
+
colorSchemeStorageKey: PropTypes.string,
|
|
8252
|
+
|
|
8157
8253
|
/**
|
|
8158
8254
|
* The initial color scheme used.
|
|
8159
8255
|
*/
|
|
@@ -8169,6 +8265,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8169
8265
|
*/
|
|
8170
8266
|
disableTransitionOnChange: PropTypes.bool,
|
|
8171
8267
|
|
|
8268
|
+
/**
|
|
8269
|
+
* The document to attach the attribute to
|
|
8270
|
+
*/
|
|
8271
|
+
documentNode: PropTypes.any,
|
|
8272
|
+
|
|
8172
8273
|
/**
|
|
8173
8274
|
* Indicate to the browser which color scheme is used (light or dark) for rendering built-in UI
|
|
8174
8275
|
*/
|
|
@@ -8184,6 +8285,12 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8184
8285
|
*/
|
|
8185
8286
|
prefix: PropTypes.string,
|
|
8186
8287
|
|
|
8288
|
+
/**
|
|
8289
|
+
* The window that attaches the 'storage' event listener
|
|
8290
|
+
* @default window
|
|
8291
|
+
*/
|
|
8292
|
+
storageWindow: PropTypes.any,
|
|
8293
|
+
|
|
8187
8294
|
/**
|
|
8188
8295
|
* The calculated theme object that will be passed through context.
|
|
8189
8296
|
*/
|
|
@@ -8196,7 +8303,149 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8196
8303
|
};
|
|
8197
8304
|
}
|
|
8198
8305
|
|
|
8199
|
-
const _excluded$2e = ["
|
|
8306
|
+
const _excluded$2e = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
8307
|
+
const defaultTheme$4 = createTheme$1();
|
|
8308
|
+
const defaultCreateStyledComponent = systemStyled('div', {
|
|
8309
|
+
name: 'MuiContainer',
|
|
8310
|
+
slot: 'Root',
|
|
8311
|
+
overridesResolver: (props, styles) => {
|
|
8312
|
+
const {
|
|
8313
|
+
ownerState
|
|
8314
|
+
} = props;
|
|
8315
|
+
return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
8316
|
+
}
|
|
8317
|
+
});
|
|
8318
|
+
|
|
8319
|
+
const useThemePropsDefault = inProps => useThemeProps$1({
|
|
8320
|
+
props: inProps,
|
|
8321
|
+
name: 'MuiContainer',
|
|
8322
|
+
defaultTheme: defaultTheme$4
|
|
8323
|
+
});
|
|
8324
|
+
|
|
8325
|
+
const useUtilityClasses$1P = (ownerState, componentName) => {
|
|
8326
|
+
const getContainerUtilityClass = slot => {
|
|
8327
|
+
return generateUtilityClass(componentName, slot);
|
|
8328
|
+
};
|
|
8329
|
+
|
|
8330
|
+
const {
|
|
8331
|
+
classes,
|
|
8332
|
+
fixed,
|
|
8333
|
+
disableGutters,
|
|
8334
|
+
maxWidth
|
|
8335
|
+
} = ownerState;
|
|
8336
|
+
const slots = {
|
|
8337
|
+
root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
|
|
8338
|
+
};
|
|
8339
|
+
return composeClasses(slots, getContainerUtilityClass, classes);
|
|
8340
|
+
};
|
|
8341
|
+
|
|
8342
|
+
function createContainer(options = {}) {
|
|
8343
|
+
const {
|
|
8344
|
+
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
8345
|
+
createStyledComponent = defaultCreateStyledComponent,
|
|
8346
|
+
useThemeProps = useThemePropsDefault,
|
|
8347
|
+
componentName = 'MuiContainer'
|
|
8348
|
+
} = options;
|
|
8349
|
+
const ContainerRoot = createStyledComponent(({
|
|
8350
|
+
theme,
|
|
8351
|
+
ownerState
|
|
8352
|
+
}) => _extends({
|
|
8353
|
+
width: '100%',
|
|
8354
|
+
marginLeft: 'auto',
|
|
8355
|
+
boxSizing: 'border-box',
|
|
8356
|
+
marginRight: 'auto',
|
|
8357
|
+
display: 'block'
|
|
8358
|
+
}, !ownerState.disableGutters && {
|
|
8359
|
+
paddingLeft: theme.spacing(2),
|
|
8360
|
+
paddingRight: theme.spacing(2),
|
|
8361
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8362
|
+
[theme.breakpoints.up('sm')]: {
|
|
8363
|
+
paddingLeft: theme.spacing(3),
|
|
8364
|
+
paddingRight: theme.spacing(3)
|
|
8365
|
+
}
|
|
8366
|
+
}), ({
|
|
8367
|
+
theme,
|
|
8368
|
+
ownerState
|
|
8369
|
+
}) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpointValueKey) => {
|
|
8370
|
+
const breakpoint = breakpointValueKey;
|
|
8371
|
+
const value = theme.breakpoints.values[breakpoint];
|
|
8372
|
+
|
|
8373
|
+
if (value !== 0) {
|
|
8374
|
+
// @ts-ignore
|
|
8375
|
+
acc[theme.breakpoints.up(breakpoint)] = {
|
|
8376
|
+
maxWidth: `${value}${theme.breakpoints.unit}`
|
|
8377
|
+
};
|
|
8378
|
+
}
|
|
8379
|
+
|
|
8380
|
+
return acc;
|
|
8381
|
+
}, {}), ({
|
|
8382
|
+
theme,
|
|
8383
|
+
ownerState
|
|
8384
|
+
}) => _extends({}, ownerState.maxWidth === 'xs' && {
|
|
8385
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8386
|
+
[theme.breakpoints.up('xs')]: {
|
|
8387
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8388
|
+
maxWidth: Math.max(theme.breakpoints.values.xs, 444)
|
|
8389
|
+
}
|
|
8390
|
+
}, ownerState.maxWidth && // @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8391
|
+
ownerState.maxWidth !== 'xs' && {
|
|
8392
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8393
|
+
[theme.breakpoints.up(ownerState.maxWidth)]: {
|
|
8394
|
+
// @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8395
|
+
maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
|
|
8396
|
+
}
|
|
8397
|
+
}));
|
|
8398
|
+
const Container = /*#__PURE__*/React__namespace.forwardRef(function Container(inProps, ref) {
|
|
8399
|
+
const props = useThemeProps(inProps);
|
|
8400
|
+
|
|
8401
|
+
const {
|
|
8402
|
+
className,
|
|
8403
|
+
component = 'div',
|
|
8404
|
+
disableGutters = false,
|
|
8405
|
+
fixed = false,
|
|
8406
|
+
maxWidth = 'lg'
|
|
8407
|
+
} = props,
|
|
8408
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2e);
|
|
8409
|
+
|
|
8410
|
+
const ownerState = _extends({}, props, {
|
|
8411
|
+
component,
|
|
8412
|
+
disableGutters,
|
|
8413
|
+
fixed,
|
|
8414
|
+
maxWidth
|
|
8415
|
+
}); // @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8416
|
+
|
|
8417
|
+
|
|
8418
|
+
const classes = useUtilityClasses$1P(ownerState, componentName);
|
|
8419
|
+
return (
|
|
8420
|
+
/*#__PURE__*/
|
|
8421
|
+
// @ts-ignore theme is injected by the styled util
|
|
8422
|
+
jsxRuntime_1(ContainerRoot, _extends({
|
|
8423
|
+
as: component // @ts-ignore module augmentation fails if custom breakpoints are used
|
|
8424
|
+
,
|
|
8425
|
+
ownerState: ownerState,
|
|
8426
|
+
className: clsx(classes.root, className),
|
|
8427
|
+
ref: ref
|
|
8428
|
+
}, other))
|
|
8429
|
+
);
|
|
8430
|
+
});
|
|
8431
|
+
Container.propTypes
|
|
8432
|
+
/* remove-proptypes */
|
|
8433
|
+
= {
|
|
8434
|
+
children: PropTypes.node,
|
|
8435
|
+
classes: PropTypes.object,
|
|
8436
|
+
className: PropTypes.string,
|
|
8437
|
+
component: PropTypes.elementType,
|
|
8438
|
+
disableGutters: PropTypes.bool,
|
|
8439
|
+
fixed: PropTypes.bool,
|
|
8440
|
+
maxWidth: PropTypes
|
|
8441
|
+
/* @typescript-to-proptypes-ignore */
|
|
8442
|
+
.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl', false]), PropTypes.string]),
|
|
8443
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
8444
|
+
} ;
|
|
8445
|
+
return Container;
|
|
8446
|
+
}
|
|
8447
|
+
|
|
8448
|
+
const _excluded$2d = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
8200
8449
|
_excluded2$b = ["type", "mode"];
|
|
8201
8450
|
function adaptV4Theme(inputTheme) {
|
|
8202
8451
|
{
|
|
@@ -8211,7 +8460,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8211
8460
|
props = {},
|
|
8212
8461
|
styleOverrides = {}
|
|
8213
8462
|
} = inputTheme,
|
|
8214
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
8463
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2d);
|
|
8215
8464
|
|
|
8216
8465
|
const theme = _extends({}, other, {
|
|
8217
8466
|
components: {}
|
|
@@ -8817,7 +9066,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8817
9066
|
};
|
|
8818
9067
|
|
|
8819
9068
|
const handleValue = (event, newValue, reason, details) => {
|
|
8820
|
-
if (
|
|
9069
|
+
if (multiple) {
|
|
8821
9070
|
if (value.length === newValue.length && value.every((val, i) => val === newValue[i])) {
|
|
8822
9071
|
return;
|
|
8823
9072
|
}
|
|
@@ -8901,7 +9150,10 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8901
9150
|
return;
|
|
8902
9151
|
}
|
|
8903
9152
|
|
|
8904
|
-
|
|
9153
|
+
if (inputValue === '') {
|
|
9154
|
+
handleClose(event, 'toggleInput');
|
|
9155
|
+
}
|
|
9156
|
+
|
|
8905
9157
|
let nextTag = focusedTag;
|
|
8906
9158
|
|
|
8907
9159
|
if (focusedTag === -1) {
|
|
@@ -9336,26 +9588,6 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9336
9588
|
};
|
|
9337
9589
|
}
|
|
9338
9590
|
|
|
9339
|
-
function composeClasses(slots, getUtilityClass, classes) {
|
|
9340
|
-
const output = {};
|
|
9341
|
-
Object.keys(slots).forEach( // `Objet.keys(slots)` can't be wider than `T` because we infer `T` from `slots`.
|
|
9342
|
-
// @ts-expect-error https://github.com/microsoft/TypeScript/pull/12253#issuecomment-263132208
|
|
9343
|
-
slot => {
|
|
9344
|
-
output[slot] = slots[slot].reduce((acc, key) => {
|
|
9345
|
-
if (key) {
|
|
9346
|
-
if (classes && classes[key]) {
|
|
9347
|
-
acc.push(classes[key]);
|
|
9348
|
-
}
|
|
9349
|
-
|
|
9350
|
-
acc.push(getUtilityClass(key));
|
|
9351
|
-
}
|
|
9352
|
-
|
|
9353
|
-
return acc;
|
|
9354
|
-
}, []).join(' ');
|
|
9355
|
-
});
|
|
9356
|
-
return output;
|
|
9357
|
-
}
|
|
9358
|
-
|
|
9359
9591
|
function useBadge(props) {
|
|
9360
9592
|
const {
|
|
9361
9593
|
badgeContent: badgeContentProp,
|
|
@@ -9386,62 +9618,14 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9386
9618
|
};
|
|
9387
9619
|
}
|
|
9388
9620
|
|
|
9389
|
-
const defaultGenerator = componentName => componentName;
|
|
9390
|
-
|
|
9391
|
-
const createClassNameGenerator = () => {
|
|
9392
|
-
let generate = defaultGenerator;
|
|
9393
|
-
return {
|
|
9394
|
-
configure(generator) {
|
|
9395
|
-
generate = generator;
|
|
9396
|
-
},
|
|
9397
|
-
|
|
9398
|
-
generate(componentName) {
|
|
9399
|
-
return generate(componentName);
|
|
9400
|
-
},
|
|
9401
|
-
|
|
9402
|
-
reset() {
|
|
9403
|
-
generate = defaultGenerator;
|
|
9404
|
-
}
|
|
9405
|
-
|
|
9406
|
-
};
|
|
9407
|
-
};
|
|
9408
|
-
|
|
9409
|
-
const ClassNameGenerator = createClassNameGenerator();
|
|
9410
|
-
var ClassNameGenerator$1 = ClassNameGenerator;
|
|
9411
|
-
|
|
9412
|
-
const globalStateClassesMapping = {
|
|
9413
|
-
active: 'Mui-active',
|
|
9414
|
-
checked: 'Mui-checked',
|
|
9415
|
-
completed: 'Mui-completed',
|
|
9416
|
-
disabled: 'Mui-disabled',
|
|
9417
|
-
error: 'Mui-error',
|
|
9418
|
-
expanded: 'Mui-expanded',
|
|
9419
|
-
focused: 'Mui-focused',
|
|
9420
|
-
focusVisible: 'Mui-focusVisible',
|
|
9421
|
-
required: 'Mui-required',
|
|
9422
|
-
selected: 'Mui-selected'
|
|
9423
|
-
};
|
|
9424
|
-
function generateUtilityClass(componentName, slot) {
|
|
9425
|
-
const globalStateClass = globalStateClassesMapping[slot];
|
|
9426
|
-
return globalStateClass || `${ClassNameGenerator$1.generate(componentName)}-${slot}`;
|
|
9427
|
-
}
|
|
9428
|
-
|
|
9429
|
-
function generateUtilityClasses(componentName, slots) {
|
|
9430
|
-
const result = {};
|
|
9431
|
-
slots.forEach(slot => {
|
|
9432
|
-
result[slot] = generateUtilityClass(componentName, slot);
|
|
9433
|
-
});
|
|
9434
|
-
return result;
|
|
9435
|
-
}
|
|
9436
|
-
|
|
9437
9621
|
function getBadgeUnstyledUtilityClass(slot) {
|
|
9438
9622
|
return generateUtilityClass('BaseBadge', slot);
|
|
9439
9623
|
}
|
|
9440
9624
|
generateUtilityClasses('BaseBadge', ['root', 'badge', 'invisible']);
|
|
9441
9625
|
|
|
9442
|
-
const _excluded$
|
|
9626
|
+
const _excluded$2c = ["badgeContent", "component", "children", "className", "components", "componentsProps", "invisible", "max", "showZero"];
|
|
9443
9627
|
|
|
9444
|
-
const useUtilityClasses$
|
|
9628
|
+
const useUtilityClasses$1O = ownerState => {
|
|
9445
9629
|
const {
|
|
9446
9630
|
invisible
|
|
9447
9631
|
} = ownerState;
|
|
@@ -9462,7 +9646,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9462
9646
|
max: maxProp = 99,
|
|
9463
9647
|
showZero = false
|
|
9464
9648
|
} = props,
|
|
9465
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
9649
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2c);
|
|
9466
9650
|
|
|
9467
9651
|
const {
|
|
9468
9652
|
badgeContent,
|
|
@@ -9480,7 +9664,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9480
9664
|
showZero
|
|
9481
9665
|
});
|
|
9482
9666
|
|
|
9483
|
-
const classes = useUtilityClasses$
|
|
9667
|
+
const classes = useUtilityClasses$1O(ownerState);
|
|
9484
9668
|
const Root = component || components.Root || 'span';
|
|
9485
9669
|
const rootProps = appendOwnerState(Root, _extends({}, other, componentsProps.root), ownerState);
|
|
9486
9670
|
const Badge = components.Badge || 'span';
|
|
@@ -9729,7 +9913,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9729
9913
|
* The mouse event to listen to. You can disable the listener by providing `false`.
|
|
9730
9914
|
* @default 'onClick'
|
|
9731
9915
|
*/
|
|
9732
|
-
mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', false]),
|
|
9916
|
+
mouseEvent: PropTypes.oneOf(['onClick', 'onMouseDown', 'onMouseUp', 'onPointerDown', 'onPointerUp', false]),
|
|
9733
9917
|
|
|
9734
9918
|
/**
|
|
9735
9919
|
* Callback fired when a "click away" event is detected.
|
|
@@ -11794,7 +11978,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11794
11978
|
|
|
11795
11979
|
var Portal$1 = Portal;
|
|
11796
11980
|
|
|
11797
|
-
const _excluded$
|
|
11981
|
+
const _excluded$2b = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "TransitionProps"],
|
|
11798
11982
|
_excluded2$a = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition"];
|
|
11799
11983
|
|
|
11800
11984
|
function flipPlacement(placement, direction) {
|
|
@@ -11840,7 +12024,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
11840
12024
|
popperRef: popperRefProp,
|
|
11841
12025
|
TransitionProps
|
|
11842
12026
|
} = props,
|
|
11843
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12027
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2b);
|
|
11844
12028
|
|
|
11845
12029
|
const tooltipRef = React__namespace.useRef(null);
|
|
11846
12030
|
const ownRef = useForkRef(tooltipRef, ref);
|
|
@@ -12730,9 +12914,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12730
12914
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
12731
12915
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
12732
12916
|
|
|
12733
|
-
const _excluded$
|
|
12917
|
+
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"];
|
|
12734
12918
|
|
|
12735
|
-
const useUtilityClasses$
|
|
12919
|
+
const useUtilityClasses$1N = ownerState => {
|
|
12736
12920
|
const {
|
|
12737
12921
|
open,
|
|
12738
12922
|
exited,
|
|
@@ -12802,7 +12986,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12802
12986
|
onTransitionEnter,
|
|
12803
12987
|
onTransitionExited
|
|
12804
12988
|
} = props,
|
|
12805
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12989
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2a);
|
|
12806
12990
|
|
|
12807
12991
|
const [exited, setExited] = React__namespace.useState(true);
|
|
12808
12992
|
const modal = React__namespace.useRef({});
|
|
@@ -12879,7 +13063,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12879
13063
|
keepMounted
|
|
12880
13064
|
});
|
|
12881
13065
|
|
|
12882
|
-
const classes = useUtilityClasses$
|
|
13066
|
+
const classes = useUtilityClasses$1N(ownerState);
|
|
12883
13067
|
|
|
12884
13068
|
if (!keepMounted && !open && (!hasTransition || exited)) {
|
|
12885
13069
|
return null;
|
|
@@ -13951,11 +14135,11 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
13951
14135
|
};
|
|
13952
14136
|
}
|
|
13953
14137
|
|
|
13954
|
-
const _excluded$
|
|
14138
|
+
const _excluded$29 = ["aria-label", "aria-valuetext", "className", "component", "classes", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "onMouseDown", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "components", "componentsProps"];
|
|
13955
14139
|
|
|
13956
14140
|
const Identity = x => x;
|
|
13957
14141
|
|
|
13958
|
-
const useUtilityClasses$
|
|
14142
|
+
const useUtilityClasses$1M = ownerState => {
|
|
13959
14143
|
const {
|
|
13960
14144
|
disabled,
|
|
13961
14145
|
dragging,
|
|
@@ -14012,7 +14196,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14012
14196
|
components = {},
|
|
14013
14197
|
componentsProps = {}
|
|
14014
14198
|
} = props,
|
|
14015
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14199
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$29); // all props with defaults
|
|
14016
14200
|
// consider extracting to hook an reusing the lint rule for the varints
|
|
14017
14201
|
|
|
14018
14202
|
|
|
@@ -14071,7 +14255,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14071
14255
|
const Input = components.Input || 'input';
|
|
14072
14256
|
const inputProps = appendOwnerState(Input, componentsProps.input, ownerState);
|
|
14073
14257
|
const hiddenInputProps = getHiddenInputProps();
|
|
14074
|
-
const classes = useUtilityClasses$
|
|
14258
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
14075
14259
|
return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, getRootProps({
|
|
14076
14260
|
onMouseDown
|
|
14077
14261
|
}), {
|
|
@@ -14411,7 +14595,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14411
14595
|
} ;
|
|
14412
14596
|
var SliderUnstyled$1 = SliderUnstyled;
|
|
14413
14597
|
|
|
14414
|
-
const _excluded$
|
|
14598
|
+
const _excluded$28 = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
14415
14599
|
|
|
14416
14600
|
function getStyleValue(computedStyle, property) {
|
|
14417
14601
|
return parseInt(computedStyle[property], 10) || 0;
|
|
@@ -14440,7 +14624,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14440
14624
|
style,
|
|
14441
14625
|
value
|
|
14442
14626
|
} = props,
|
|
14443
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14627
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$28);
|
|
14444
14628
|
|
|
14445
14629
|
const {
|
|
14446
14630
|
current: isControlled
|
|
@@ -14626,7 +14810,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14626
14810
|
} ;
|
|
14627
14811
|
var TextareaAutosize$1 = TextareaAutosize;
|
|
14628
14812
|
|
|
14629
|
-
function createMixins(breakpoints,
|
|
14813
|
+
function createMixins(breakpoints, mixins) {
|
|
14630
14814
|
return _extends({
|
|
14631
14815
|
toolbar: {
|
|
14632
14816
|
minHeight: 56,
|
|
@@ -14640,7 +14824,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14640
14824
|
}, mixins);
|
|
14641
14825
|
}
|
|
14642
14826
|
|
|
14643
|
-
const _excluded$
|
|
14827
|
+
const _excluded$27 = ["mode", "contrastThreshold", "tonalOffset"];
|
|
14644
14828
|
const light = {
|
|
14645
14829
|
// The colors used to style the text.
|
|
14646
14830
|
text: {
|
|
@@ -14824,7 +15008,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
14824
15008
|
contrastThreshold = 3,
|
|
14825
15009
|
tonalOffset = 0.2
|
|
14826
15010
|
} = palette,
|
|
14827
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$
|
|
15011
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$27);
|
|
14828
15012
|
|
|
14829
15013
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
14830
15014
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
@@ -14907,7 +15091,8 @@ const theme2 = createTheme({ palette: {
|
|
|
14907
15091
|
|
|
14908
15092
|
const paletteOutput = deepmerge(_extends({
|
|
14909
15093
|
// A collection of common colors.
|
|
14910
|
-
common: common$1,
|
|
15094
|
+
common: _extends({}, common$1),
|
|
15095
|
+
// prevent mutable object.
|
|
14911
15096
|
// The palette mode, can be light or dark.
|
|
14912
15097
|
mode,
|
|
14913
15098
|
// The colors used to represent primary interface elements for a user.
|
|
@@ -14960,7 +15145,7 @@ const theme2 = createTheme({ palette: {
|
|
|
14960
15145
|
return paletteOutput;
|
|
14961
15146
|
}
|
|
14962
15147
|
|
|
14963
|
-
const _excluded$
|
|
15148
|
+
const _excluded$26 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
14964
15149
|
|
|
14965
15150
|
function round$1(value) {
|
|
14966
15151
|
return Math.round(value * 1e5) / 1e5;
|
|
@@ -14993,7 +15178,7 @@ const theme2 = createTheme({ palette: {
|
|
|
14993
15178
|
allVariants,
|
|
14994
15179
|
pxToRem: pxToRem2
|
|
14995
15180
|
} = _ref,
|
|
14996
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
15181
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$26);
|
|
14997
15182
|
|
|
14998
15183
|
{
|
|
14999
15184
|
if (typeof fontSize !== 'number') {
|
|
@@ -15061,7 +15246,7 @@ const theme2 = createTheme({ palette: {
|
|
|
15061
15246
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
15062
15247
|
var shadows$1 = shadows;
|
|
15063
15248
|
|
|
15064
|
-
const _excluded$
|
|
15249
|
+
const _excluded$25 = ["duration", "easing", "delay"];
|
|
15065
15250
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
15066
15251
|
// to learn the context in which each easing should be used.
|
|
15067
15252
|
const easing = {
|
|
@@ -15116,7 +15301,7 @@ const theme2 = createTheme({ palette: {
|
|
|
15116
15301
|
easing: easingOption = mergedEasing.easeInOut,
|
|
15117
15302
|
delay = 0
|
|
15118
15303
|
} = options,
|
|
15119
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
15304
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$25);
|
|
15120
15305
|
|
|
15121
15306
|
{
|
|
15122
15307
|
const isString = value => typeof value === 'string'; // IE11 support, replace with Number.isNaN
|
|
@@ -15172,21 +15357,21 @@ const theme2 = createTheme({ palette: {
|
|
|
15172
15357
|
};
|
|
15173
15358
|
var zIndex$1 = zIndex;
|
|
15174
15359
|
|
|
15175
|
-
const _excluded$
|
|
15360
|
+
const _excluded$24 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
15176
15361
|
|
|
15177
|
-
function createTheme
|
|
15362
|
+
function createTheme(options = {}, ...args) {
|
|
15178
15363
|
const {
|
|
15179
15364
|
mixins: mixinsInput = {},
|
|
15180
15365
|
palette: paletteInput = {},
|
|
15181
15366
|
transitions: transitionsInput = {},
|
|
15182
15367
|
typography: typographyInput = {}
|
|
15183
15368
|
} = options,
|
|
15184
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
15369
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$24);
|
|
15185
15370
|
|
|
15186
15371
|
const palette = createPalette(paletteInput);
|
|
15187
|
-
const systemTheme = createTheme$
|
|
15372
|
+
const systemTheme = createTheme$1(options);
|
|
15188
15373
|
let muiTheme = deepmerge(systemTheme, {
|
|
15189
|
-
mixins: createMixins(systemTheme.breakpoints,
|
|
15374
|
+
mixins: createMixins(systemTheme.breakpoints, mixinsInput),
|
|
15190
15375
|
palette,
|
|
15191
15376
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
15192
15377
|
shadows: shadows$1.slice(),
|
|
@@ -15243,11 +15428,11 @@ const theme2 = createTheme({ palette: {
|
|
|
15243
15428
|
}
|
|
15244
15429
|
}
|
|
15245
15430
|
|
|
15246
|
-
return createTheme
|
|
15431
|
+
return createTheme(...args);
|
|
15247
15432
|
}
|
|
15248
15433
|
|
|
15249
15434
|
function createMuiStrictModeTheme(options, ...args) {
|
|
15250
|
-
return createTheme
|
|
15435
|
+
return createTheme(deepmerge({
|
|
15251
15436
|
unstable_strictMode: true
|
|
15252
15437
|
}, options), ...args);
|
|
15253
15438
|
}
|
|
@@ -15454,7 +15639,7 @@ Use unitless line heights instead.` );
|
|
|
15454
15639
|
return theme;
|
|
15455
15640
|
}
|
|
15456
15641
|
|
|
15457
|
-
const defaultTheme$2 = createTheme
|
|
15642
|
+
const defaultTheme$2 = createTheme();
|
|
15458
15643
|
var defaultTheme$3 = defaultTheme$2;
|
|
15459
15644
|
|
|
15460
15645
|
function useTheme() {
|
|
@@ -15505,52 +15690,73 @@ You have to import it from @mui/styles.
|
|
|
15505
15690
|
See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
15506
15691
|
}
|
|
15507
15692
|
|
|
15508
|
-
const _excluded$
|
|
15693
|
+
const _excluded$23 = ["colorSchemes"],
|
|
15509
15694
|
_excluded2$9 = ["palette"];
|
|
15510
|
-
|
|
15511
|
-
|
|
15512
|
-
hover: 0.04,
|
|
15513
|
-
selected: 0.08,
|
|
15514
|
-
disabled: 0.26,
|
|
15515
|
-
focus: 0.12
|
|
15516
|
-
};
|
|
15517
|
-
|
|
15518
|
-
function createTheme(options = {}, ...args) {
|
|
15519
|
-
var _colorSchemesInput$li, _colorSchemesInput$da;
|
|
15695
|
+
function extendTheme(options = {}, ...args) {
|
|
15696
|
+
var _colorSchemesInput$li, _colorSchemesInput$da, _colorSchemesInput$li2, _colorSchemesInput$da2;
|
|
15520
15697
|
|
|
15521
15698
|
const {
|
|
15522
|
-
colorSchemes: colorSchemesInput = {}
|
|
15523
|
-
opacity: opacityInput = {}
|
|
15699
|
+
colorSchemes: colorSchemesInput = {}
|
|
15524
15700
|
} = options,
|
|
15525
|
-
input = _objectWithoutPropertiesLoose(options, _excluded$
|
|
15701
|
+
input = _objectWithoutPropertiesLoose(options, _excluded$23);
|
|
15526
15702
|
|
|
15527
|
-
|
|
15528
|
-
let _createThemeWithoutVa = createTheme$1(_extends({}, input, colorSchemesInput.light && {
|
|
15703
|
+
const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
|
|
15529
15704
|
palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
|
|
15530
15705
|
})),
|
|
15531
|
-
|
|
15706
|
+
{
|
|
15532
15707
|
palette: lightPalette
|
|
15533
15708
|
} = _createThemeWithoutVa,
|
|
15534
|
-
|
|
15709
|
+
muiTheme = _objectWithoutPropertiesLoose(_createThemeWithoutVa, _excluded2$9);
|
|
15535
15710
|
|
|
15536
15711
|
const {
|
|
15537
15712
|
palette: darkPalette
|
|
15538
|
-
} = createTheme
|
|
15713
|
+
} = createTheme({
|
|
15539
15714
|
palette: _extends({
|
|
15540
15715
|
mode: 'dark'
|
|
15541
15716
|
}, (_colorSchemesInput$da = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da.palette)
|
|
15542
15717
|
});
|
|
15543
|
-
|
|
15544
|
-
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
15550
|
-
|
|
15551
|
-
|
|
15718
|
+
|
|
15719
|
+
let theme = _extends({}, muiTheme, {
|
|
15720
|
+
colorSchemes: _extends({}, colorSchemesInput, {
|
|
15721
|
+
light: _extends({}, colorSchemesInput.light, {
|
|
15722
|
+
palette: lightPalette,
|
|
15723
|
+
opacity: _extends({
|
|
15724
|
+
placeholder: 0.42,
|
|
15725
|
+
inputTouchBottomLine: 0.42
|
|
15726
|
+
}, (_colorSchemesInput$li2 = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li2.opacity)
|
|
15727
|
+
}),
|
|
15728
|
+
dark: _extends({}, colorSchemesInput.dark, {
|
|
15729
|
+
palette: darkPalette,
|
|
15730
|
+
opacity: _extends({
|
|
15731
|
+
placeholder: 0.5,
|
|
15732
|
+
inputTouchBottomLine: 0.7
|
|
15733
|
+
}, (_colorSchemesInput$da2 = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da2.opacity)
|
|
15734
|
+
})
|
|
15735
|
+
})
|
|
15736
|
+
});
|
|
15737
|
+
|
|
15738
|
+
Object.keys(theme.colorSchemes).forEach(key => {
|
|
15739
|
+
const palette = theme.colorSchemes[key].palette; // attach black & white channels to common node
|
|
15740
|
+
|
|
15741
|
+
if (key === 'dark') {
|
|
15742
|
+
palette.common.background = palette.common.background || '#000';
|
|
15743
|
+
palette.common.onBackground = palette.common.onBackground || '#fff';
|
|
15744
|
+
} else {
|
|
15745
|
+
palette.common.background = palette.common.background || '#fff';
|
|
15746
|
+
palette.common.onBackground = palette.common.onBackground || '#000';
|
|
15747
|
+
}
|
|
15748
|
+
|
|
15749
|
+
palette.common.backgroundChannel = colorChannel(palette.common.background);
|
|
15750
|
+
palette.common.onBackgroundChannel = colorChannel(palette.common.onBackground);
|
|
15751
|
+
palette.dividerChannel = colorChannel(palette.divider); // special token for Tooltip
|
|
15752
|
+
// TODO: consider adding `main`, and `light` to palette.grey to make it consistent.
|
|
15753
|
+
|
|
15754
|
+
if (!palette.grey.dark) {
|
|
15755
|
+
palette.grey.dark = palette.grey[700];
|
|
15756
|
+
}
|
|
15757
|
+
|
|
15552
15758
|
Object.keys(palette).forEach(color => {
|
|
15553
|
-
const colors = palette[color];
|
|
15759
|
+
const colors = palette[color]; // Color palettes: primary, secondary, error, info, success, and warning
|
|
15554
15760
|
|
|
15555
15761
|
if (colors.main) {
|
|
15556
15762
|
palette[color].mainChannel = colorChannel(colors.main);
|
|
@@ -15564,6 +15770,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15564
15770
|
palette[color].darkChannel = colorChannel(colors.dark);
|
|
15565
15771
|
}
|
|
15566
15772
|
|
|
15773
|
+
if (colors.contrastText) {
|
|
15774
|
+
palette[color].contrastTextChannel = colorChannel(colors.contrastText);
|
|
15775
|
+
} // Text colors: text.primary, text.secondary
|
|
15776
|
+
|
|
15777
|
+
|
|
15567
15778
|
if (colors.primary) {
|
|
15568
15779
|
palette[color].primaryChannel = colorChannel(colors.primary);
|
|
15569
15780
|
}
|
|
@@ -15571,25 +15782,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15571
15782
|
if (colors.secondary) {
|
|
15572
15783
|
palette[color].secondaryChannel = colorChannel(colors.secondary);
|
|
15573
15784
|
}
|
|
15574
|
-
|
|
15575
|
-
if (colors.disabled) {
|
|
15576
|
-
palette[color].disabledChannel = colorChannel(colors.disabled);
|
|
15577
|
-
}
|
|
15578
15785
|
});
|
|
15579
|
-
colorSchemes[key] = {
|
|
15580
|
-
palette
|
|
15581
|
-
};
|
|
15582
15786
|
});
|
|
15583
|
-
|
|
15584
|
-
|
|
15585
|
-
|
|
15586
|
-
muiTheme.colorSchemes = colorSchemes;
|
|
15587
|
-
muiTheme.opacity = opacity;
|
|
15588
|
-
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
15589
|
-
return muiTheme;
|
|
15787
|
+
theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);
|
|
15788
|
+
return theme;
|
|
15590
15789
|
}
|
|
15591
15790
|
|
|
15592
|
-
const defaultTheme$1 =
|
|
15791
|
+
const defaultTheme$1 = extendTheme();
|
|
15593
15792
|
const {
|
|
15594
15793
|
CssVarsProvider: Experimental_CssVarsProvider,
|
|
15595
15794
|
useColorScheme,
|
|
@@ -15617,9 +15816,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15617
15816
|
const svgIconClasses = generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
15618
15817
|
var svgIconClasses$1 = svgIconClasses;
|
|
15619
15818
|
|
|
15620
|
-
const _excluded$
|
|
15819
|
+
const _excluded$22 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
15621
15820
|
|
|
15622
|
-
const useUtilityClasses$
|
|
15821
|
+
const useUtilityClasses$1L = ownerState => {
|
|
15623
15822
|
const {
|
|
15624
15823
|
color,
|
|
15625
15824
|
fontSize,
|
|
@@ -15644,7 +15843,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15644
15843
|
theme,
|
|
15645
15844
|
ownerState
|
|
15646
15845
|
}) => {
|
|
15647
|
-
var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px,
|
|
15846
|
+
var _theme$transitions, _theme$transitions$cr, _theme$transitions2, _theme$transitions2$d, _theme$typography, _theme$typography$pxT, _theme$typography2, _theme$typography2$px, _theme$typography3, _theme$typography3$px, _palette$ownerState$c, _palette, _palette$ownerState$c2, _palette2, _palette2$action, _palette3, _palette3$action;
|
|
15648
15847
|
|
|
15649
15848
|
return {
|
|
15650
15849
|
userSelect: 'none',
|
|
@@ -15663,9 +15862,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15663
15862
|
large: ((_theme$typography3 = theme.typography) == null ? void 0 : (_theme$typography3$px = _theme$typography3.pxToRem) == null ? void 0 : _theme$typography3$px.call(_theme$typography3, 35)) || '2.1875'
|
|
15664
15863
|
}[ownerState.fontSize],
|
|
15665
15864
|
// TODO v5 deprecate, v6 remove for sx
|
|
15666
|
-
color: (
|
|
15667
|
-
action: (
|
|
15668
|
-
disabled: (
|
|
15865
|
+
color: (_palette$ownerState$c = (_palette = (theme.vars || theme).palette) == null ? void 0 : (_palette$ownerState$c2 = _palette[ownerState.color]) == null ? void 0 : _palette$ownerState$c2.main) != null ? _palette$ownerState$c : {
|
|
15866
|
+
action: (_palette2 = (theme.vars || theme).palette) == null ? void 0 : (_palette2$action = _palette2.action) == null ? void 0 : _palette2$action.active,
|
|
15867
|
+
disabled: (_palette3 = (theme.vars || theme).palette) == null ? void 0 : (_palette3$action = _palette3.action) == null ? void 0 : _palette3$action.disabled,
|
|
15669
15868
|
inherit: undefined
|
|
15670
15869
|
}[ownerState.color]
|
|
15671
15870
|
};
|
|
@@ -15687,7 +15886,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15687
15886
|
titleAccess,
|
|
15688
15887
|
viewBox = '0 0 24 24'
|
|
15689
15888
|
} = props,
|
|
15690
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15889
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$22);
|
|
15691
15890
|
|
|
15692
15891
|
const ownerState = _extends({}, props, {
|
|
15693
15892
|
color,
|
|
@@ -15704,7 +15903,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15704
15903
|
more.viewBox = viewBox;
|
|
15705
15904
|
}
|
|
15706
15905
|
|
|
15707
|
-
const classes = useUtilityClasses$
|
|
15906
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
15708
15907
|
return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
|
|
15709
15908
|
as: component,
|
|
15710
15909
|
className: clsx(classes.root, className),
|
|
@@ -16839,9 +17038,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16839
17038
|
const collapseClasses = generateUtilityClasses('MuiCollapse', ['root', 'horizontal', 'vertical', 'entered', 'hidden', 'wrapper', 'wrapperInner']);
|
|
16840
17039
|
var collapseClasses$1 = collapseClasses;
|
|
16841
17040
|
|
|
16842
|
-
const _excluded$
|
|
17041
|
+
const _excluded$21 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
|
|
16843
17042
|
|
|
16844
|
-
const useUtilityClasses$
|
|
17043
|
+
const useUtilityClasses$1K = ownerState => {
|
|
16845
17044
|
const {
|
|
16846
17045
|
orientation,
|
|
16847
17046
|
classes
|
|
@@ -16942,14 +17141,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16942
17141
|
// eslint-disable-next-line react/prop-types
|
|
16943
17142
|
TransitionComponent = Transition$1
|
|
16944
17143
|
} = props,
|
|
16945
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17144
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$21);
|
|
16946
17145
|
|
|
16947
17146
|
const ownerState = _extends({}, props, {
|
|
16948
17147
|
orientation,
|
|
16949
17148
|
collapsedSize: collapsedSizeProp
|
|
16950
17149
|
});
|
|
16951
17150
|
|
|
16952
|
-
const classes = useUtilityClasses$
|
|
17151
|
+
const classes = useUtilityClasses$1K(ownerState);
|
|
16953
17152
|
const theme = useTheme();
|
|
16954
17153
|
const timer = React__namespace.useRef();
|
|
16955
17154
|
const wrapperRef = React__namespace.useRef(null);
|
|
@@ -17249,7 +17448,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17249
17448
|
const paperClasses = generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
17250
17449
|
var paperClasses$1 = paperClasses;
|
|
17251
17450
|
|
|
17252
|
-
const _excluded$
|
|
17451
|
+
const _excluded$20 = ["className", "component", "elevation", "square", "variant"];
|
|
17253
17452
|
|
|
17254
17453
|
const getOverlayAlpha = elevation => {
|
|
17255
17454
|
let alphaValue;
|
|
@@ -17263,7 +17462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17263
17462
|
return (alphaValue / 100).toFixed(2);
|
|
17264
17463
|
};
|
|
17265
17464
|
|
|
17266
|
-
const useUtilityClasses$
|
|
17465
|
+
const useUtilityClasses$1J = ownerState => {
|
|
17267
17466
|
const {
|
|
17268
17467
|
square,
|
|
17269
17468
|
elevation,
|
|
@@ -17314,7 +17513,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17314
17513
|
square = false,
|
|
17315
17514
|
variant = 'elevation'
|
|
17316
17515
|
} = props,
|
|
17317
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17516
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$20);
|
|
17318
17517
|
|
|
17319
17518
|
const ownerState = _extends({}, props, {
|
|
17320
17519
|
component,
|
|
@@ -17323,7 +17522,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17323
17522
|
variant
|
|
17324
17523
|
});
|
|
17325
17524
|
|
|
17326
|
-
const classes = useUtilityClasses$
|
|
17525
|
+
const classes = useUtilityClasses$1J(ownerState);
|
|
17327
17526
|
|
|
17328
17527
|
{
|
|
17329
17528
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
@@ -17428,9 +17627,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17428
17627
|
const accordionClasses = generateUtilityClasses('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
|
|
17429
17628
|
var accordionClasses$1 = accordionClasses;
|
|
17430
17629
|
|
|
17431
|
-
const _excluded$
|
|
17630
|
+
const _excluded$1$ = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
|
|
17432
17631
|
|
|
17433
|
-
const useUtilityClasses$
|
|
17632
|
+
const useUtilityClasses$1I = ownerState => {
|
|
17434
17633
|
const {
|
|
17435
17634
|
classes,
|
|
17436
17635
|
square,
|
|
@@ -17475,7 +17674,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17475
17674
|
height: 1,
|
|
17476
17675
|
content: '""',
|
|
17477
17676
|
opacity: 1,
|
|
17478
|
-
backgroundColor: theme.palette.divider,
|
|
17677
|
+
backgroundColor: (theme.vars || theme).palette.divider,
|
|
17479
17678
|
transition: theme.transitions.create(['opacity', 'background-color'], transition)
|
|
17480
17679
|
},
|
|
17481
17680
|
'&:first-of-type': {
|
|
@@ -17500,7 +17699,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17500
17699
|
}
|
|
17501
17700
|
},
|
|
17502
17701
|
[`&.${accordionClasses$1.disabled}`]: {
|
|
17503
|
-
backgroundColor: theme.palette.action.disabledBackground
|
|
17702
|
+
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
17504
17703
|
}
|
|
17505
17704
|
};
|
|
17506
17705
|
}, ({
|
|
@@ -17509,12 +17708,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17509
17708
|
}) => _extends({}, !ownerState.square && {
|
|
17510
17709
|
borderRadius: 0,
|
|
17511
17710
|
'&:first-of-type': {
|
|
17512
|
-
borderTopLeftRadius: theme.shape.borderRadius,
|
|
17513
|
-
borderTopRightRadius: theme.shape.borderRadius
|
|
17711
|
+
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
17712
|
+
borderTopRightRadius: (theme.vars || theme).shape.borderRadius
|
|
17514
17713
|
},
|
|
17515
17714
|
'&:last-of-type': {
|
|
17516
|
-
borderBottomLeftRadius: theme.shape.borderRadius,
|
|
17517
|
-
borderBottomRightRadius: theme.shape.borderRadius,
|
|
17715
|
+
borderBottomLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
17716
|
+
borderBottomRightRadius: (theme.vars || theme).shape.borderRadius,
|
|
17518
17717
|
// Fix a rendering issue on Edge
|
|
17519
17718
|
'@supports (-ms-ime-align: auto)': {
|
|
17520
17719
|
borderBottomLeftRadius: 0,
|
|
@@ -17544,7 +17743,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17544
17743
|
TransitionComponent = Collapse$1,
|
|
17545
17744
|
TransitionProps
|
|
17546
17745
|
} = props,
|
|
17547
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17746
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1$);
|
|
17548
17747
|
|
|
17549
17748
|
const [expanded, setExpandedState] = useControlled({
|
|
17550
17749
|
controlled: expandedProp,
|
|
@@ -17574,7 +17773,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17574
17773
|
expanded
|
|
17575
17774
|
});
|
|
17576
17775
|
|
|
17577
|
-
const classes = useUtilityClasses$
|
|
17776
|
+
const classes = useUtilityClasses$1I(ownerState);
|
|
17578
17777
|
return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
|
|
17579
17778
|
className: clsx(classes.root, className),
|
|
17580
17779
|
ref: ref,
|
|
@@ -17697,9 +17896,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17697
17896
|
const accordionActionsClasses = generateUtilityClasses('MuiAccordionActions', ['root', 'spacing']);
|
|
17698
17897
|
var accordionActionsClasses$1 = accordionActionsClasses;
|
|
17699
17898
|
|
|
17700
|
-
const _excluded$
|
|
17899
|
+
const _excluded$1_ = ["className", "disableSpacing"];
|
|
17701
17900
|
|
|
17702
|
-
const useUtilityClasses$
|
|
17901
|
+
const useUtilityClasses$1H = ownerState => {
|
|
17703
17902
|
const {
|
|
17704
17903
|
classes,
|
|
17705
17904
|
disableSpacing
|
|
@@ -17741,13 +17940,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17741
17940
|
className,
|
|
17742
17941
|
disableSpacing = false
|
|
17743
17942
|
} = props,
|
|
17744
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
17943
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1_);
|
|
17745
17944
|
|
|
17746
17945
|
const ownerState = _extends({}, props, {
|
|
17747
17946
|
disableSpacing
|
|
17748
17947
|
});
|
|
17749
17948
|
|
|
17750
|
-
const classes = useUtilityClasses$
|
|
17949
|
+
const classes = useUtilityClasses$1H(ownerState);
|
|
17751
17950
|
return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
|
|
17752
17951
|
className: clsx(classes.root, className),
|
|
17753
17952
|
ref: ref,
|
|
@@ -17796,9 +17995,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17796
17995
|
const accordionDetailsClasses = generateUtilityClasses('MuiAccordionDetails', ['root']);
|
|
17797
17996
|
var accordionDetailsClasses$1 = accordionDetailsClasses;
|
|
17798
17997
|
|
|
17799
|
-
const _excluded$
|
|
17998
|
+
const _excluded$1Z = ["className"];
|
|
17800
17999
|
|
|
17801
|
-
const useUtilityClasses$
|
|
18000
|
+
const useUtilityClasses$1G = ownerState => {
|
|
17802
18001
|
const {
|
|
17803
18002
|
classes
|
|
17804
18003
|
} = ownerState;
|
|
@@ -17826,10 +18025,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17826
18025
|
const {
|
|
17827
18026
|
className
|
|
17828
18027
|
} = props,
|
|
17829
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18028
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1Z);
|
|
17830
18029
|
|
|
17831
18030
|
const ownerState = props;
|
|
17832
|
-
const classes = useUtilityClasses$
|
|
18031
|
+
const classes = useUtilityClasses$1G(ownerState);
|
|
17833
18032
|
return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
|
|
17834
18033
|
className: clsx(classes.root, className),
|
|
17835
18034
|
ref: ref,
|
|
@@ -17962,7 +18161,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17962
18161
|
const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
17963
18162
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
17964
18163
|
|
|
17965
|
-
const _excluded$
|
|
18164
|
+
const _excluded$1Y = ["center", "classes", "className"];
|
|
17966
18165
|
|
|
17967
18166
|
let _$3 = t => t,
|
|
17968
18167
|
_t$3,
|
|
@@ -18092,7 +18291,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18092
18291
|
classes = {},
|
|
18093
18292
|
className
|
|
18094
18293
|
} = props,
|
|
18095
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18294
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1Y);
|
|
18096
18295
|
|
|
18097
18296
|
const [ripples, setRipples] = React__namespace.useState([]);
|
|
18098
18297
|
const nextKey = React__namespace.useRef(0);
|
|
@@ -18300,9 +18499,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18300
18499
|
const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
18301
18500
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
18302
18501
|
|
|
18303
|
-
const _excluded$
|
|
18502
|
+
const _excluded$1X = ["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"];
|
|
18304
18503
|
|
|
18305
|
-
const useUtilityClasses$
|
|
18504
|
+
const useUtilityClasses$1F = ownerState => {
|
|
18306
18505
|
const {
|
|
18307
18506
|
disabled,
|
|
18308
18507
|
focusVisible,
|
|
@@ -18407,7 +18606,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18407
18606
|
touchRippleRef,
|
|
18408
18607
|
type
|
|
18409
18608
|
} = props,
|
|
18410
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
18609
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1X);
|
|
18411
18610
|
|
|
18412
18611
|
const buttonRef = React__namespace.useRef(null);
|
|
18413
18612
|
const rippleRef = React__namespace.useRef(null);
|
|
@@ -18604,7 +18803,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18604
18803
|
focusVisible
|
|
18605
18804
|
});
|
|
18606
18805
|
|
|
18607
|
-
const classes = useUtilityClasses$
|
|
18806
|
+
const classes = useUtilityClasses$1F(ownerState);
|
|
18608
18807
|
return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
|
|
18609
18808
|
as: ComponentProp,
|
|
18610
18809
|
className: clsx(classes.root, className),
|
|
@@ -18838,9 +19037,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18838
19037
|
const accordionSummaryClasses = generateUtilityClasses('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
|
|
18839
19038
|
var accordionSummaryClasses$1 = accordionSummaryClasses;
|
|
18840
19039
|
|
|
18841
|
-
const _excluded$
|
|
19040
|
+
const _excluded$1W = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
|
|
18842
19041
|
|
|
18843
|
-
const useUtilityClasses$
|
|
19042
|
+
const useUtilityClasses$1E = ownerState => {
|
|
18844
19043
|
const {
|
|
18845
19044
|
classes,
|
|
18846
19045
|
expanded,
|
|
@@ -18873,10 +19072,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18873
19072
|
padding: theme.spacing(0, 2),
|
|
18874
19073
|
transition: theme.transitions.create(['min-height', 'background-color'], transition),
|
|
18875
19074
|
[`&.${accordionSummaryClasses$1.focusVisible}`]: {
|
|
18876
|
-
backgroundColor: theme.palette.action.focus
|
|
19075
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
18877
19076
|
},
|
|
18878
19077
|
[`&.${accordionSummaryClasses$1.disabled}`]: {
|
|
18879
|
-
opacity: theme.palette.action.disabledOpacity
|
|
19078
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
18880
19079
|
},
|
|
18881
19080
|
[`&:hover:not(.${accordionSummaryClasses$1.disabled})`]: {
|
|
18882
19081
|
cursor: 'pointer'
|
|
@@ -18914,7 +19113,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18914
19113
|
theme
|
|
18915
19114
|
}) => ({
|
|
18916
19115
|
display: 'flex',
|
|
18917
|
-
color: theme.palette.action.active,
|
|
19116
|
+
color: (theme.vars || theme).palette.action.active,
|
|
18918
19117
|
transform: 'rotate(0deg)',
|
|
18919
19118
|
transition: theme.transitions.create('transform', {
|
|
18920
19119
|
duration: theme.transitions.duration.shortest
|
|
@@ -18936,7 +19135,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18936
19135
|
focusVisibleClassName,
|
|
18937
19136
|
onClick
|
|
18938
19137
|
} = props,
|
|
18939
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19138
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1W);
|
|
18940
19139
|
|
|
18941
19140
|
const {
|
|
18942
19141
|
disabled = false,
|
|
@@ -18961,7 +19160,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18961
19160
|
disableGutters
|
|
18962
19161
|
});
|
|
18963
19162
|
|
|
18964
|
-
const classes = useUtilityClasses$
|
|
19163
|
+
const classes = useUtilityClasses$1E(ownerState);
|
|
18965
19164
|
return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
|
|
18966
19165
|
focusRipple: false,
|
|
18967
19166
|
disableRipple: true,
|
|
@@ -19047,9 +19246,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19047
19246
|
const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
19048
19247
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
19049
19248
|
|
|
19050
|
-
const _excluded$
|
|
19249
|
+
const _excluded$1V = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
19051
19250
|
|
|
19052
|
-
const useUtilityClasses$
|
|
19251
|
+
const useUtilityClasses$1D = ownerState => {
|
|
19053
19252
|
const {
|
|
19054
19253
|
classes,
|
|
19055
19254
|
disabled,
|
|
@@ -19083,13 +19282,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19083
19282
|
borderRadius: '50%',
|
|
19084
19283
|
overflow: 'visible',
|
|
19085
19284
|
// Explicitly set the default value to solve a bug on IE11.
|
|
19086
|
-
color: theme.palette.action.active,
|
|
19285
|
+
color: (theme.vars || theme).palette.action.active,
|
|
19087
19286
|
transition: theme.transitions.create('background-color', {
|
|
19088
19287
|
duration: theme.transitions.duration.shortest
|
|
19089
19288
|
})
|
|
19090
19289
|
}, !ownerState.disableRipple && {
|
|
19091
19290
|
'&:hover': {
|
|
19092
|
-
backgroundColor: alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
19291
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.active} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
19093
19292
|
// Reset on touch devices, it doesn't add specificity
|
|
19094
19293
|
'@media (hover: none)': {
|
|
19095
19294
|
backgroundColor: 'transparent'
|
|
@@ -19105,10 +19304,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19105
19304
|
}) => _extends({}, ownerState.color === 'inherit' && {
|
|
19106
19305
|
color: 'inherit'
|
|
19107
19306
|
}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && _extends({
|
|
19108
|
-
color: theme.palette[ownerState.color].main
|
|
19307
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
19109
19308
|
}, !ownerState.disableRipple && {
|
|
19110
19309
|
'&:hover': {
|
|
19111
|
-
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
19310
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity),
|
|
19112
19311
|
// Reset on touch devices, it doesn't add specificity
|
|
19113
19312
|
'@media (hover: none)': {
|
|
19114
19313
|
backgroundColor: 'transparent'
|
|
@@ -19123,7 +19322,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19123
19322
|
}, {
|
|
19124
19323
|
[`&.${iconButtonClasses$1.disabled}`]: {
|
|
19125
19324
|
backgroundColor: 'transparent',
|
|
19126
|
-
color: theme.palette.action.disabled
|
|
19325
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
19127
19326
|
}
|
|
19128
19327
|
}));
|
|
19129
19328
|
/**
|
|
@@ -19146,7 +19345,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19146
19345
|
disableFocusRipple = false,
|
|
19147
19346
|
size = 'medium'
|
|
19148
19347
|
} = props,
|
|
19149
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19348
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1V);
|
|
19150
19349
|
|
|
19151
19350
|
const ownerState = _extends({}, props, {
|
|
19152
19351
|
edge,
|
|
@@ -19156,7 +19355,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19156
19355
|
size
|
|
19157
19356
|
});
|
|
19158
19357
|
|
|
19159
|
-
const classes = useUtilityClasses$
|
|
19358
|
+
const classes = useUtilityClasses$1D(ownerState);
|
|
19160
19359
|
return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
|
|
19161
19360
|
className: clsx(classes.root, className),
|
|
19162
19361
|
centerRipple: true,
|
|
@@ -19277,9 +19476,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19277
19476
|
|
|
19278
19477
|
var _CloseIcon;
|
|
19279
19478
|
|
|
19280
|
-
const _excluded$
|
|
19479
|
+
const _excluded$1U = ["action", "children", "className", "closeText", "color", "icon", "iconMapping", "onClose", "role", "severity", "variant"];
|
|
19281
19480
|
|
|
19282
|
-
const useUtilityClasses$
|
|
19481
|
+
const useUtilityClasses$1C = ownerState => {
|
|
19283
19482
|
const {
|
|
19284
19483
|
variant,
|
|
19285
19484
|
color,
|
|
@@ -19395,7 +19594,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19395
19594
|
severity = 'success',
|
|
19396
19595
|
variant = 'standard'
|
|
19397
19596
|
} = props,
|
|
19398
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19597
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1U);
|
|
19399
19598
|
|
|
19400
19599
|
const ownerState = _extends({}, props, {
|
|
19401
19600
|
color,
|
|
@@ -19403,7 +19602,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19403
19602
|
variant
|
|
19404
19603
|
});
|
|
19405
19604
|
|
|
19406
|
-
const classes = useUtilityClasses$
|
|
19605
|
+
const classes = useUtilityClasses$1C(ownerState);
|
|
19407
19606
|
return /*#__PURE__*/jsxRuntime_2(AlertRoot, _extends({
|
|
19408
19607
|
role: role,
|
|
19409
19608
|
elevation: 0,
|
|
@@ -19543,9 +19742,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19543
19742
|
const typographyClasses = generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
|
|
19544
19743
|
var typographyClasses$1 = typographyClasses;
|
|
19545
19744
|
|
|
19546
|
-
const _excluded$
|
|
19745
|
+
const _excluded$1T = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
19547
19746
|
|
|
19548
|
-
const useUtilityClasses$
|
|
19747
|
+
const useUtilityClasses$1B = ownerState => {
|
|
19549
19748
|
const {
|
|
19550
19749
|
align,
|
|
19551
19750
|
gutterBottom,
|
|
@@ -19631,7 +19830,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19631
19830
|
variant = 'body1',
|
|
19632
19831
|
variantMapping = defaultVariantMapping
|
|
19633
19832
|
} = props,
|
|
19634
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19833
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1T);
|
|
19635
19834
|
|
|
19636
19835
|
const ownerState = _extends({}, props, {
|
|
19637
19836
|
align,
|
|
@@ -19646,7 +19845,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19646
19845
|
});
|
|
19647
19846
|
|
|
19648
19847
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
|
19649
|
-
const classes = useUtilityClasses$
|
|
19848
|
+
const classes = useUtilityClasses$1B(ownerState);
|
|
19650
19849
|
return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
|
|
19651
19850
|
as: Component,
|
|
19652
19851
|
ref: ref,
|
|
@@ -19754,9 +19953,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19754
19953
|
const alertTitleClasses = generateUtilityClasses('MuiAlertTitle', ['root']);
|
|
19755
19954
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
19756
19955
|
|
|
19757
|
-
const _excluded$
|
|
19956
|
+
const _excluded$1S = ["className"];
|
|
19758
19957
|
|
|
19759
|
-
const useUtilityClasses$
|
|
19958
|
+
const useUtilityClasses$1A = ownerState => {
|
|
19760
19959
|
const {
|
|
19761
19960
|
classes
|
|
19762
19961
|
} = ownerState;
|
|
@@ -19787,10 +19986,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19787
19986
|
const {
|
|
19788
19987
|
className
|
|
19789
19988
|
} = props,
|
|
19790
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
19989
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1S);
|
|
19791
19990
|
|
|
19792
19991
|
const ownerState = props;
|
|
19793
|
-
const classes = useUtilityClasses$
|
|
19992
|
+
const classes = useUtilityClasses$1A(ownerState);
|
|
19794
19993
|
return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
|
|
19795
19994
|
gutterBottom: true,
|
|
19796
19995
|
component: "div",
|
|
@@ -19835,9 +20034,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19835
20034
|
const appBarClasses = generateUtilityClasses('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent']);
|
|
19836
20035
|
var appBarClasses$1 = appBarClasses;
|
|
19837
20036
|
|
|
19838
|
-
const _excluded$
|
|
20037
|
+
const _excluded$1R = ["className", "color", "enableColorOnDark", "position"];
|
|
19839
20038
|
|
|
19840
|
-
const useUtilityClasses$
|
|
20039
|
+
const useUtilityClasses$1z = ownerState => {
|
|
19841
20040
|
const {
|
|
19842
20041
|
color,
|
|
19843
20042
|
position,
|
|
@@ -19927,7 +20126,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19927
20126
|
enableColorOnDark = false,
|
|
19928
20127
|
position = 'fixed'
|
|
19929
20128
|
} = props,
|
|
19930
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
20129
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1R);
|
|
19931
20130
|
|
|
19932
20131
|
const ownerState = _extends({}, props, {
|
|
19933
20132
|
color,
|
|
@@ -19935,7 +20134,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19935
20134
|
enableColorOnDark
|
|
19936
20135
|
});
|
|
19937
20136
|
|
|
19938
|
-
const classes = useUtilityClasses$
|
|
20137
|
+
const classes = useUtilityClasses$1z(ownerState);
|
|
19939
20138
|
return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
|
|
19940
20139
|
square: true,
|
|
19941
20140
|
component: "header",
|
|
@@ -20146,9 +20345,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20146
20345
|
const listSubheaderClasses = generateUtilityClasses('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
|
|
20147
20346
|
var listSubheaderClasses$1 = listSubheaderClasses;
|
|
20148
20347
|
|
|
20149
|
-
const _excluded$
|
|
20348
|
+
const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
20150
20349
|
|
|
20151
|
-
const useUtilityClasses$
|
|
20350
|
+
const useUtilityClasses$1y = ownerState => {
|
|
20152
20351
|
const {
|
|
20153
20352
|
classes,
|
|
20154
20353
|
color,
|
|
@@ -20178,12 +20377,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20178
20377
|
boxSizing: 'border-box',
|
|
20179
20378
|
lineHeight: '48px',
|
|
20180
20379
|
listStyle: 'none',
|
|
20181
|
-
color: theme.palette.text.secondary,
|
|
20380
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
20182
20381
|
fontFamily: theme.typography.fontFamily,
|
|
20183
20382
|
fontWeight: theme.typography.fontWeightMedium,
|
|
20184
20383
|
fontSize: theme.typography.pxToRem(14)
|
|
20185
20384
|
}, ownerState.color === 'primary' && {
|
|
20186
|
-
color: theme.palette.primary.main
|
|
20385
|
+
color: (theme.vars || theme).palette.primary.main
|
|
20187
20386
|
}, ownerState.color === 'inherit' && {
|
|
20188
20387
|
color: 'inherit'
|
|
20189
20388
|
}, !ownerState.disableGutters && {
|
|
@@ -20195,7 +20394,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20195
20394
|
position: 'sticky',
|
|
20196
20395
|
top: 0,
|
|
20197
20396
|
zIndex: 1,
|
|
20198
|
-
backgroundColor: theme.palette.background.paper
|
|
20397
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
20199
20398
|
}));
|
|
20200
20399
|
const ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
|
|
20201
20400
|
const props = useThemeProps({
|
|
@@ -20211,7 +20410,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20211
20410
|
disableSticky = false,
|
|
20212
20411
|
inset = false
|
|
20213
20412
|
} = props,
|
|
20214
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
20413
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1Q);
|
|
20215
20414
|
|
|
20216
20415
|
const ownerState = _extends({}, props, {
|
|
20217
20416
|
color,
|
|
@@ -20221,7 +20420,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20221
20420
|
inset
|
|
20222
20421
|
});
|
|
20223
20422
|
|
|
20224
|
-
const classes = useUtilityClasses$
|
|
20423
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
20225
20424
|
return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
|
|
20226
20425
|
as: component,
|
|
20227
20426
|
className: clsx(classes.root, className),
|
|
@@ -20299,9 +20498,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20299
20498
|
const chipClasses = generateUtilityClasses('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorPrimary', 'colorSecondary', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'focusVisible']);
|
|
20300
20499
|
var chipClasses$1 = chipClasses;
|
|
20301
20500
|
|
|
20302
|
-
const _excluded$
|
|
20501
|
+
const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant"];
|
|
20303
20502
|
|
|
20304
|
-
const useUtilityClasses$
|
|
20503
|
+
const useUtilityClasses$1x = ownerState => {
|
|
20305
20504
|
const {
|
|
20306
20505
|
classes,
|
|
20307
20506
|
disabled,
|
|
@@ -20579,7 +20778,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20579
20778
|
size = 'medium',
|
|
20580
20779
|
variant = 'filled'
|
|
20581
20780
|
} = props,
|
|
20582
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
20781
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1P);
|
|
20583
20782
|
|
|
20584
20783
|
const chipRef = React__namespace.useRef(null);
|
|
20585
20784
|
const handleRef = useForkRef(chipRef, ref);
|
|
@@ -20635,7 +20834,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20635
20834
|
variant
|
|
20636
20835
|
});
|
|
20637
20836
|
|
|
20638
|
-
const classes = useUtilityClasses$
|
|
20837
|
+
const classes = useUtilityClasses$1x(ownerState);
|
|
20639
20838
|
const moreProps = component === ButtonBase$1 ? _extends({
|
|
20640
20839
|
component: ComponentProp || 'div',
|
|
20641
20840
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -20905,7 +21104,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20905
21104
|
const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
|
|
20906
21105
|
var inputBaseClasses$1 = inputBaseClasses;
|
|
20907
21106
|
|
|
20908
|
-
const _excluded$
|
|
21107
|
+
const _excluded$1O = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "startAdornment", "type", "value"];
|
|
20909
21108
|
const rootOverridesResolver = (props, styles) => {
|
|
20910
21109
|
const {
|
|
20911
21110
|
ownerState
|
|
@@ -20919,7 +21118,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20919
21118
|
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];
|
|
20920
21119
|
};
|
|
20921
21120
|
|
|
20922
|
-
const useUtilityClasses$
|
|
21121
|
+
const useUtilityClasses$1w = ownerState => {
|
|
20923
21122
|
const {
|
|
20924
21123
|
classes,
|
|
20925
21124
|
color,
|
|
@@ -20950,7 +21149,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20950
21149
|
theme,
|
|
20951
21150
|
ownerState
|
|
20952
21151
|
}) => _extends({}, theme.typography.body1, {
|
|
20953
|
-
color: theme.palette.text.primary,
|
|
21152
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
20954
21153
|
lineHeight: '1.4375em',
|
|
20955
21154
|
// 23px
|
|
20956
21155
|
boxSizing: 'border-box',
|
|
@@ -20960,7 +21159,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20960
21159
|
display: 'inline-flex',
|
|
20961
21160
|
alignItems: 'center',
|
|
20962
21161
|
[`&.${inputBaseClasses$1.disabled}`]: {
|
|
20963
|
-
color: theme.palette.text.disabled,
|
|
21162
|
+
color: (theme.vars || theme).palette.text.disabled,
|
|
20964
21163
|
cursor: 'default'
|
|
20965
21164
|
}
|
|
20966
21165
|
}, ownerState.multiline && _extends({
|
|
@@ -20979,17 +21178,25 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20979
21178
|
ownerState
|
|
20980
21179
|
}) => {
|
|
20981
21180
|
const light = theme.palette.mode === 'light';
|
|
20982
|
-
|
|
20983
|
-
|
|
20984
|
-
|
|
21181
|
+
|
|
21182
|
+
const placeholder = _extends({
|
|
21183
|
+
color: 'currentColor'
|
|
21184
|
+
}, theme.vars ? {
|
|
21185
|
+
opacity: theme.vars.opacity.placeholder
|
|
21186
|
+
} : {
|
|
21187
|
+
opacity: light ? 0.42 : 0.5
|
|
21188
|
+
}, {
|
|
20985
21189
|
transition: theme.transitions.create('opacity', {
|
|
20986
21190
|
duration: theme.transitions.duration.shorter
|
|
20987
21191
|
})
|
|
20988
|
-
};
|
|
21192
|
+
});
|
|
21193
|
+
|
|
20989
21194
|
const placeholderHidden = {
|
|
20990
21195
|
opacity: '0 !important'
|
|
20991
21196
|
};
|
|
20992
|
-
const placeholderVisible = {
|
|
21197
|
+
const placeholderVisible = theme.vars ? {
|
|
21198
|
+
opacity: theme.vars.opacity.placeholder
|
|
21199
|
+
} : {
|
|
20993
21200
|
opacity: light ? 0.42 : 0.5
|
|
20994
21201
|
};
|
|
20995
21202
|
return _extends({
|
|
@@ -21050,7 +21257,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21050
21257
|
[`&.${inputBaseClasses$1.disabled}`]: {
|
|
21051
21258
|
opacity: 1,
|
|
21052
21259
|
// Reset iOS opacity
|
|
21053
|
-
WebkitTextFillColor: theme.palette.text.disabled // Fix opacity Safari bug
|
|
21260
|
+
WebkitTextFillColor: (theme.vars || theme).palette.text.disabled // Fix opacity Safari bug
|
|
21054
21261
|
|
|
21055
21262
|
},
|
|
21056
21263
|
'&:-webkit-autofill': {
|
|
@@ -21131,7 +21338,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21131
21338
|
type = 'text',
|
|
21132
21339
|
value: valueProp
|
|
21133
21340
|
} = props,
|
|
21134
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
21341
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1O);
|
|
21135
21342
|
|
|
21136
21343
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
21137
21344
|
const {
|
|
@@ -21331,7 +21538,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21331
21538
|
type
|
|
21332
21539
|
});
|
|
21333
21540
|
|
|
21334
|
-
const classes = useUtilityClasses$
|
|
21541
|
+
const classes = useUtilityClasses$1w(ownerState);
|
|
21335
21542
|
const Root = components.Root || InputBaseRoot;
|
|
21336
21543
|
const rootProps = componentsProps.root || {};
|
|
21337
21544
|
const Input = components.Input || InputBaseComponent;
|
|
@@ -21659,9 +21866,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21659
21866
|
|
|
21660
21867
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
21661
21868
|
|
|
21662
|
-
const _excluded$
|
|
21869
|
+
const _excluded$1N = ["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"];
|
|
21663
21870
|
|
|
21664
|
-
const useUtilityClasses$
|
|
21871
|
+
const useUtilityClasses$1v = ownerState => {
|
|
21665
21872
|
const {
|
|
21666
21873
|
classes,
|
|
21667
21874
|
disablePortal,
|
|
@@ -21869,7 +22076,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21869
22076
|
theme,
|
|
21870
22077
|
ownerState
|
|
21871
22078
|
}) => _extends({
|
|
21872
|
-
zIndex: theme.zIndex.modal
|
|
22079
|
+
zIndex: (theme.vars || theme).zIndex.modal
|
|
21873
22080
|
}, ownerState.disablePortal && {
|
|
21874
22081
|
position: 'absolute'
|
|
21875
22082
|
}));
|
|
@@ -21889,7 +22096,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21889
22096
|
})(({
|
|
21890
22097
|
theme
|
|
21891
22098
|
}) => ({
|
|
21892
|
-
color: theme.palette.text.secondary,
|
|
22099
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
21893
22100
|
padding: '14px 16px'
|
|
21894
22101
|
}));
|
|
21895
22102
|
const AutocompleteNoOptions = styled$1('div', {
|
|
@@ -21899,7 +22106,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21899
22106
|
})(({
|
|
21900
22107
|
theme
|
|
21901
22108
|
}) => ({
|
|
21902
|
-
color: theme.palette.text.secondary,
|
|
22109
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
21903
22110
|
padding: '14px 16px'
|
|
21904
22111
|
}));
|
|
21905
22112
|
const AutocompleteListbox = styled$1('div', {
|
|
@@ -21932,30 +22139,30 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21932
22139
|
minHeight: 'auto'
|
|
21933
22140
|
},
|
|
21934
22141
|
[`&.${autocompleteClasses$1.focused}`]: {
|
|
21935
|
-
backgroundColor: theme.palette.action.hover,
|
|
22142
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
21936
22143
|
// Reset on touch devices, it doesn't add specificity
|
|
21937
22144
|
'@media (hover: none)': {
|
|
21938
22145
|
backgroundColor: 'transparent'
|
|
21939
22146
|
}
|
|
21940
22147
|
},
|
|
21941
22148
|
'&[aria-disabled="true"]': {
|
|
21942
|
-
opacity: theme.palette.action.disabledOpacity,
|
|
22149
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity,
|
|
21943
22150
|
pointerEvents: 'none'
|
|
21944
22151
|
},
|
|
21945
22152
|
[`&.${autocompleteClasses$1.focusVisible}`]: {
|
|
21946
|
-
backgroundColor: theme.palette.action.focus
|
|
22153
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
21947
22154
|
},
|
|
21948
22155
|
'&[aria-selected="true"]': {
|
|
21949
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
22156
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
21950
22157
|
[`&.${autocompleteClasses$1.focused}`]: {
|
|
21951
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
22158
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
21952
22159
|
// Reset on touch devices, it doesn't add specificity
|
|
21953
22160
|
'@media (hover: none)': {
|
|
21954
|
-
backgroundColor: theme.palette.action.selected
|
|
22161
|
+
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
21955
22162
|
}
|
|
21956
22163
|
},
|
|
21957
22164
|
[`&.${autocompleteClasses$1.focusVisible}`]: {
|
|
21958
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
22165
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
21959
22166
|
}
|
|
21960
22167
|
}
|
|
21961
22168
|
}
|
|
@@ -21967,7 +22174,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21967
22174
|
})(({
|
|
21968
22175
|
theme
|
|
21969
22176
|
}) => ({
|
|
21970
|
-
backgroundColor: theme.palette.background.paper,
|
|
22177
|
+
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
21971
22178
|
top: -8
|
|
21972
22179
|
}));
|
|
21973
22180
|
const AutocompleteGroupUl = styled$1('ul', {
|
|
@@ -22044,7 +22251,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22044
22251
|
selectOnFocus = !props.freeSolo,
|
|
22045
22252
|
size = 'medium'
|
|
22046
22253
|
} = props,
|
|
22047
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
22254
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1N);
|
|
22048
22255
|
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
22049
22256
|
|
|
22050
22257
|
|
|
@@ -22071,7 +22278,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22071
22278
|
componentName: 'Autocomplete'
|
|
22072
22279
|
}));
|
|
22073
22280
|
const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;
|
|
22074
|
-
const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
|
|
22281
|
+
const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false; // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.
|
|
22075
22282
|
|
|
22076
22283
|
const ownerState = _extends({}, props, {
|
|
22077
22284
|
disablePortal,
|
|
@@ -22084,7 +22291,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22084
22291
|
size
|
|
22085
22292
|
});
|
|
22086
22293
|
|
|
22087
|
-
const classes = useUtilityClasses$
|
|
22294
|
+
const classes = useUtilityClasses$1v(ownerState);
|
|
22088
22295
|
let startAdornment;
|
|
22089
22296
|
|
|
22090
22297
|
if (multiple && value.length > 0) {
|
|
@@ -22094,7 +22301,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22094
22301
|
}, getTagProps(params));
|
|
22095
22302
|
|
|
22096
22303
|
if (renderTags) {
|
|
22097
|
-
startAdornment = renderTags(value, getCustomizedTagProps);
|
|
22304
|
+
startAdornment = renderTags(value, getCustomizedTagProps, ownerState);
|
|
22098
22305
|
} else {
|
|
22099
22306
|
startAdornment = value.map((option, index) => /*#__PURE__*/jsxRuntime_1(Chip$1, _extends({
|
|
22100
22307
|
label: getOptionLabel(option),
|
|
@@ -22163,10 +22370,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22163
22370
|
fullWidth: true,
|
|
22164
22371
|
size: size === 'small' ? 'small' : undefined,
|
|
22165
22372
|
InputLabelProps: getInputLabelProps(),
|
|
22166
|
-
InputProps: {
|
|
22373
|
+
InputProps: _extends({
|
|
22167
22374
|
ref: setAnchorEl,
|
|
22168
22375
|
className: classes.inputRoot,
|
|
22169
|
-
startAdornment
|
|
22376
|
+
startAdornment
|
|
22377
|
+
}, (hasClearIcon || hasPopupIcon) && {
|
|
22170
22378
|
endAdornment: /*#__PURE__*/jsxRuntime_2(AutocompleteEndAdornment, {
|
|
22171
22379
|
className: classes.endAdornment,
|
|
22172
22380
|
ownerState: ownerState,
|
|
@@ -22186,7 +22394,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22186
22394
|
children: popupIcon
|
|
22187
22395
|
})) : null]
|
|
22188
22396
|
})
|
|
22189
|
-
},
|
|
22397
|
+
}),
|
|
22190
22398
|
inputProps: _extends({
|
|
22191
22399
|
className: clsx(classes.input),
|
|
22192
22400
|
disabled,
|
|
@@ -22670,6 +22878,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22670
22878
|
*
|
|
22671
22879
|
* @param {T[]} value The `value` provided to the component.
|
|
22672
22880
|
* @param {function} getTagProps A tag props getter.
|
|
22881
|
+
* @param {object} ownerState The state of the Autocomplete component.
|
|
22673
22882
|
* @returns {ReactNode}
|
|
22674
22883
|
*/
|
|
22675
22884
|
renderTags: PropTypes.func,
|
|
@@ -22720,9 +22929,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22720
22929
|
const avatarClasses = generateUtilityClasses('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
|
|
22721
22930
|
var avatarClasses$1 = avatarClasses;
|
|
22722
22931
|
|
|
22723
|
-
const _excluded$
|
|
22932
|
+
const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
22724
22933
|
|
|
22725
|
-
const useUtilityClasses$
|
|
22934
|
+
const useUtilityClasses$1u = ownerState => {
|
|
22726
22935
|
const {
|
|
22727
22936
|
classes,
|
|
22728
22937
|
variant,
|
|
@@ -22858,7 +23067,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22858
23067
|
srcSet,
|
|
22859
23068
|
variant = 'circular'
|
|
22860
23069
|
} = props,
|
|
22861
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23070
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1M);
|
|
22862
23071
|
|
|
22863
23072
|
let children = null; // Use a hook instead of onError on the img element to support server-side rendering.
|
|
22864
23073
|
|
|
@@ -22875,7 +23084,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22875
23084
|
variant
|
|
22876
23085
|
});
|
|
22877
23086
|
|
|
22878
|
-
const classes = useUtilityClasses$
|
|
23087
|
+
const classes = useUtilityClasses$1u(ownerState);
|
|
22879
23088
|
|
|
22880
23089
|
if (hasImgNotFailing) {
|
|
22881
23090
|
children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
|
|
@@ -22984,13 +23193,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22984
23193
|
const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
|
|
22985
23194
|
var avatarGroupClasses$1 = avatarGroupClasses;
|
|
22986
23195
|
|
|
22987
|
-
const _excluded$
|
|
23196
|
+
const _excluded$1L = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
|
|
22988
23197
|
const SPACINGS$1 = {
|
|
22989
23198
|
small: -16,
|
|
22990
23199
|
medium: null
|
|
22991
23200
|
};
|
|
22992
23201
|
|
|
22993
|
-
const useUtilityClasses$
|
|
23202
|
+
const useUtilityClasses$1t = ownerState => {
|
|
22994
23203
|
const {
|
|
22995
23204
|
classes
|
|
22996
23205
|
} = ownerState;
|
|
@@ -23011,7 +23220,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23011
23220
|
theme
|
|
23012
23221
|
}) => ({
|
|
23013
23222
|
[`& .${avatarClasses$1.root}`]: {
|
|
23014
|
-
border: `2px solid ${theme.palette.background.default}`,
|
|
23223
|
+
border: `2px solid ${(theme.vars || theme).palette.background.default}`,
|
|
23015
23224
|
boxSizing: 'content-box',
|
|
23016
23225
|
marginLeft: -8,
|
|
23017
23226
|
'&:last-child': {
|
|
@@ -23028,7 +23237,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23028
23237
|
})(({
|
|
23029
23238
|
theme
|
|
23030
23239
|
}) => ({
|
|
23031
|
-
border: `2px solid ${theme.palette.background.default}`,
|
|
23240
|
+
border: `2px solid ${(theme.vars || theme).palette.background.default}`,
|
|
23032
23241
|
boxSizing: 'content-box',
|
|
23033
23242
|
marginLeft: -8,
|
|
23034
23243
|
'&:last-child': {
|
|
@@ -23052,7 +23261,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23052
23261
|
total,
|
|
23053
23262
|
variant = 'circular'
|
|
23054
23263
|
} = props,
|
|
23055
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23264
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1L);
|
|
23056
23265
|
|
|
23057
23266
|
let clampedMax = max < 2 ? 2 : max;
|
|
23058
23267
|
|
|
@@ -23062,7 +23271,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23062
23271
|
variant
|
|
23063
23272
|
});
|
|
23064
23273
|
|
|
23065
|
-
const classes = useUtilityClasses$
|
|
23274
|
+
const classes = useUtilityClasses$1t(ownerState);
|
|
23066
23275
|
const children = React__namespace.Children.toArray(childrenProp).filter(child => {
|
|
23067
23276
|
{
|
|
23068
23277
|
if (reactIs_2(child)) {
|
|
@@ -23179,7 +23388,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23179
23388
|
} ;
|
|
23180
23389
|
var AvatarGroup$1 = AvatarGroup;
|
|
23181
23390
|
|
|
23182
|
-
const _excluded$
|
|
23391
|
+
const _excluded$1K = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
23183
23392
|
const styles$4 = {
|
|
23184
23393
|
entering: {
|
|
23185
23394
|
opacity: 1
|
|
@@ -23217,7 +23426,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23217
23426
|
// eslint-disable-next-line react/prop-types
|
|
23218
23427
|
TransitionComponent = Transition$1
|
|
23219
23428
|
} = props,
|
|
23220
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23429
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1K);
|
|
23221
23430
|
const nodeRef = React__namespace.useRef(null);
|
|
23222
23431
|
const foreignRef = useForkRef(children.ref, ref);
|
|
23223
23432
|
const handleRef = useForkRef(nodeRef, foreignRef);
|
|
@@ -23400,9 +23609,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23400
23609
|
const backdropClasses = generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
23401
23610
|
var backdropClasses$1 = backdropClasses;
|
|
23402
23611
|
|
|
23403
|
-
const _excluded$
|
|
23612
|
+
const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "transitionDuration", "TransitionComponent"];
|
|
23404
23613
|
|
|
23405
|
-
const useUtilityClasses$
|
|
23614
|
+
const useUtilityClasses$1s = ownerState => {
|
|
23406
23615
|
const {
|
|
23407
23616
|
classes,
|
|
23408
23617
|
invisible
|
|
@@ -23458,14 +23667,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23458
23667
|
// eslint-disable-next-line react/prop-types
|
|
23459
23668
|
TransitionComponent = Fade$1
|
|
23460
23669
|
} = props,
|
|
23461
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23670
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1J);
|
|
23462
23671
|
|
|
23463
23672
|
const ownerState = _extends({}, props, {
|
|
23464
23673
|
component,
|
|
23465
23674
|
invisible
|
|
23466
23675
|
});
|
|
23467
23676
|
|
|
23468
|
-
const classes = useUtilityClasses$
|
|
23677
|
+
const classes = useUtilityClasses$1s(ownerState);
|
|
23469
23678
|
return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
|
|
23470
23679
|
in: open,
|
|
23471
23680
|
timeout: transitionDuration
|
|
@@ -23569,11 +23778,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23569
23778
|
'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
|
|
23570
23779
|
var badgeClasses$1 = badgeClasses;
|
|
23571
23780
|
|
|
23572
|
-
const _excluded$
|
|
23781
|
+
const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "showZero", "variant"];
|
|
23573
23782
|
const RADIUS_STANDARD = 10;
|
|
23574
23783
|
const RADIUS_DOT = 4;
|
|
23575
23784
|
|
|
23576
|
-
const useUtilityClasses$
|
|
23785
|
+
const useUtilityClasses$1r = ownerState => {
|
|
23577
23786
|
const {
|
|
23578
23787
|
color,
|
|
23579
23788
|
anchorOrigin,
|
|
@@ -23636,8 +23845,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23636
23845
|
duration: theme.transitions.duration.enteringScreen
|
|
23637
23846
|
})
|
|
23638
23847
|
}, ownerState.color !== 'default' && {
|
|
23639
|
-
backgroundColor: theme.palette[ownerState.color].main,
|
|
23640
|
-
color: theme.palette[ownerState.color].contrastText
|
|
23848
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
23849
|
+
color: (theme.vars || theme).palette[ownerState.color].contrastText
|
|
23641
23850
|
}, ownerState.variant === 'dot' && {
|
|
23642
23851
|
borderRadius: RADIUS_DOT,
|
|
23643
23852
|
height: RADIUS_DOT * 2,
|
|
@@ -23738,7 +23947,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23738
23947
|
showZero = false,
|
|
23739
23948
|
variant: variantProp = 'standard'
|
|
23740
23949
|
} = props,
|
|
23741
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
23950
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1I);
|
|
23742
23951
|
|
|
23743
23952
|
const prevProps = usePreviousProps$1({
|
|
23744
23953
|
anchorOrigin: anchorOriginProp,
|
|
@@ -23767,7 +23976,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23767
23976
|
variant
|
|
23768
23977
|
});
|
|
23769
23978
|
|
|
23770
|
-
const classes = useUtilityClasses$
|
|
23979
|
+
const classes = useUtilityClasses$1r(ownerState);
|
|
23771
23980
|
let displayValue;
|
|
23772
23981
|
|
|
23773
23982
|
if (variant !== 'dot') {
|
|
@@ -23929,9 +24138,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23929
24138
|
const bottomNavigationClasses = generateUtilityClasses('MuiBottomNavigation', ['root']);
|
|
23930
24139
|
var bottomNavigationClasses$1 = bottomNavigationClasses;
|
|
23931
24140
|
|
|
23932
|
-
const _excluded$
|
|
24141
|
+
const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
|
|
23933
24142
|
|
|
23934
|
-
const useUtilityClasses$
|
|
24143
|
+
const useUtilityClasses$1q = ownerState => {
|
|
23935
24144
|
const {
|
|
23936
24145
|
classes
|
|
23937
24146
|
} = ownerState;
|
|
@@ -23951,7 +24160,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23951
24160
|
display: 'flex',
|
|
23952
24161
|
justifyContent: 'center',
|
|
23953
24162
|
height: 56,
|
|
23954
|
-
backgroundColor: theme.palette.background.paper
|
|
24163
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
23955
24164
|
}));
|
|
23956
24165
|
const BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
|
|
23957
24166
|
const props = useThemeProps({
|
|
@@ -23967,14 +24176,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23967
24176
|
showLabels = false,
|
|
23968
24177
|
value
|
|
23969
24178
|
} = props,
|
|
23970
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24179
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1H);
|
|
23971
24180
|
|
|
23972
24181
|
const ownerState = _extends({}, props, {
|
|
23973
24182
|
component,
|
|
23974
24183
|
showLabels
|
|
23975
24184
|
});
|
|
23976
24185
|
|
|
23977
|
-
const classes = useUtilityClasses$
|
|
24186
|
+
const classes = useUtilityClasses$1q(ownerState);
|
|
23978
24187
|
return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
|
|
23979
24188
|
as: component,
|
|
23980
24189
|
className: clsx(classes.root, className),
|
|
@@ -24064,9 +24273,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24064
24273
|
const bottomNavigationActionClasses = generateUtilityClasses('MuiBottomNavigationAction', ['root', 'iconOnly', 'selected', 'label']);
|
|
24065
24274
|
var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
|
|
24066
24275
|
|
|
24067
|
-
const _excluded$
|
|
24276
|
+
const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
|
|
24068
24277
|
|
|
24069
|
-
const useUtilityClasses$
|
|
24278
|
+
const useUtilityClasses$1p = ownerState => {
|
|
24070
24279
|
const {
|
|
24071
24280
|
classes,
|
|
24072
24281
|
showLabel,
|
|
@@ -24098,7 +24307,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24098
24307
|
padding: '0px 12px',
|
|
24099
24308
|
minWidth: 80,
|
|
24100
24309
|
maxWidth: 168,
|
|
24101
|
-
color: theme.palette.text.secondary,
|
|
24310
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
24102
24311
|
flexDirection: 'column',
|
|
24103
24312
|
flex: '1'
|
|
24104
24313
|
}, !ownerState.showLabel && !ownerState.selected && {
|
|
@@ -24107,7 +24316,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24107
24316
|
paddingTop: 0
|
|
24108
24317
|
}, {
|
|
24109
24318
|
[`&.${bottomNavigationActionClasses$1.selected}`]: {
|
|
24110
|
-
color: theme.palette.primary.main
|
|
24319
|
+
color: (theme.vars || theme).palette.primary.main
|
|
24111
24320
|
}
|
|
24112
24321
|
}));
|
|
24113
24322
|
const BottomNavigationActionLabel = styled$1('span', {
|
|
@@ -24145,10 +24354,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24145
24354
|
onClick,
|
|
24146
24355
|
value
|
|
24147
24356
|
} = props,
|
|
24148
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24357
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1G);
|
|
24149
24358
|
|
|
24150
24359
|
const ownerState = props;
|
|
24151
|
-
const classes = useUtilityClasses$
|
|
24360
|
+
const classes = useUtilityClasses$1p(ownerState);
|
|
24152
24361
|
|
|
24153
24362
|
const handleChange = event => {
|
|
24154
24363
|
if (onChange) {
|
|
@@ -24239,7 +24448,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24239
24448
|
} ;
|
|
24240
24449
|
var BottomNavigationAction$1 = BottomNavigationAction;
|
|
24241
24450
|
|
|
24242
|
-
const defaultTheme = createTheme
|
|
24451
|
+
const defaultTheme = createTheme();
|
|
24243
24452
|
const Box = createBox({
|
|
24244
24453
|
defaultTheme,
|
|
24245
24454
|
defaultClassName: 'MuiBox-root',
|
|
@@ -24337,9 +24546,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24337
24546
|
const breadcrumbsClasses = generateUtilityClasses('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
|
|
24338
24547
|
var breadcrumbsClasses$1 = breadcrumbsClasses;
|
|
24339
24548
|
|
|
24340
|
-
const _excluded$
|
|
24549
|
+
const _excluded$1F = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
|
|
24341
24550
|
|
|
24342
|
-
const useUtilityClasses$
|
|
24551
|
+
const useUtilityClasses$1o = ownerState => {
|
|
24343
24552
|
const {
|
|
24344
24553
|
classes
|
|
24345
24554
|
} = ownerState;
|
|
@@ -24417,7 +24626,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24417
24626
|
maxItems = 8,
|
|
24418
24627
|
separator = '/'
|
|
24419
24628
|
} = props,
|
|
24420
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
24629
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1F);
|
|
24421
24630
|
|
|
24422
24631
|
const [expanded, setExpanded] = React__namespace.useState(false);
|
|
24423
24632
|
|
|
@@ -24431,7 +24640,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24431
24640
|
separator
|
|
24432
24641
|
});
|
|
24433
24642
|
|
|
24434
|
-
const classes = useUtilityClasses$
|
|
24643
|
+
const classes = useUtilityClasses$1o(ownerState);
|
|
24435
24644
|
const listRef = React__namespace.useRef(null);
|
|
24436
24645
|
|
|
24437
24646
|
const renderItemsBeforeAndAfter = allItems => {
|
|
@@ -24578,9 +24787,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24578
24787
|
|
|
24579
24788
|
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
24580
24789
|
|
|
24581
|
-
const _excluded$
|
|
24790
|
+
const _excluded$1E = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
24582
24791
|
|
|
24583
|
-
const useUtilityClasses$
|
|
24792
|
+
const useUtilityClasses$1n = ownerState => {
|
|
24584
24793
|
const {
|
|
24585
24794
|
color,
|
|
24586
24795
|
disableElevation,
|
|
@@ -24808,7 +25017,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24808
25017
|
type,
|
|
24809
25018
|
variant = 'text'
|
|
24810
25019
|
} = props,
|
|
24811
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25020
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1E);
|
|
24812
25021
|
|
|
24813
25022
|
const ownerState = _extends({}, props, {
|
|
24814
25023
|
color,
|
|
@@ -24822,7 +25031,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24822
25031
|
variant
|
|
24823
25032
|
});
|
|
24824
25033
|
|
|
24825
|
-
const classes = useUtilityClasses$
|
|
25034
|
+
const classes = useUtilityClasses$1n(ownerState);
|
|
24826
25035
|
|
|
24827
25036
|
const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
|
|
24828
25037
|
className: classes.startIcon,
|
|
@@ -24978,7 +25187,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24978
25187
|
const buttonGroupClasses = generateUtilityClasses('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'fullWidth', 'vertical', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary']);
|
|
24979
25188
|
var buttonGroupClasses$1 = buttonGroupClasses;
|
|
24980
25189
|
|
|
24981
|
-
const _excluded$
|
|
25190
|
+
const _excluded$1D = ["children", "className", "color", "component", "disabled", "disableElevation", "disableFocusRipple", "disableRipple", "fullWidth", "orientation", "size", "variant"];
|
|
24982
25191
|
|
|
24983
25192
|
const overridesResolver$6 = (props, styles) => {
|
|
24984
25193
|
const {
|
|
@@ -24997,7 +25206,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24997
25206
|
}, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
|
|
24998
25207
|
};
|
|
24999
25208
|
|
|
25000
|
-
const useUtilityClasses$
|
|
25209
|
+
const useUtilityClasses$1m = ownerState => {
|
|
25001
25210
|
const {
|
|
25002
25211
|
classes,
|
|
25003
25212
|
color,
|
|
@@ -25023,9 +25232,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25023
25232
|
ownerState
|
|
25024
25233
|
}) => _extends({
|
|
25025
25234
|
display: 'inline-flex',
|
|
25026
|
-
borderRadius: theme.shape.borderRadius
|
|
25235
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
25027
25236
|
}, ownerState.variant === 'contained' && {
|
|
25028
|
-
boxShadow: theme.shadows[2]
|
|
25237
|
+
boxShadow: (theme.vars || theme).shadows[2]
|
|
25029
25238
|
}, ownerState.disableElevation && {
|
|
25030
25239
|
boxShadow: 'none'
|
|
25031
25240
|
}, ownerState.fullWidth && {
|
|
@@ -25053,27 +25262,27 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25053
25262
|
borderBottomRightRadius: 0,
|
|
25054
25263
|
borderBottomLeftRadius: 0
|
|
25055
25264
|
}, ownerState.variant === 'text' && ownerState.orientation === 'horizontal' && {
|
|
25056
|
-
borderRight: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
25265
|
+
borderRight: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
25057
25266
|
}, ownerState.variant === 'text' && ownerState.orientation === 'vertical' && {
|
|
25058
|
-
borderBottom: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
25267
|
+
borderBottom: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`
|
|
25059
25268
|
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
25060
|
-
borderColor: alpha(theme.palette[ownerState.color].main, 0.5)
|
|
25269
|
+
borderColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)
|
|
25061
25270
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
25062
25271
|
borderRightColor: 'transparent'
|
|
25063
25272
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
25064
25273
|
borderBottomColor: 'transparent'
|
|
25065
25274
|
}, ownerState.variant === 'contained' && ownerState.orientation === 'horizontal' && {
|
|
25066
|
-
borderRight: `1px solid ${theme.palette.grey[400]}`,
|
|
25275
|
+
borderRight: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
|
|
25067
25276
|
[`&.${buttonGroupClasses$1.disabled}`]: {
|
|
25068
|
-
borderRight: `1px solid ${theme.palette.action.disabled}`
|
|
25277
|
+
borderRight: `1px solid ${(theme.vars || theme).palette.action.disabled}`
|
|
25069
25278
|
}
|
|
25070
25279
|
}, ownerState.variant === 'contained' && ownerState.orientation === 'vertical' && {
|
|
25071
|
-
borderBottom: `1px solid ${theme.palette.grey[400]}`,
|
|
25280
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.grey[400]}`,
|
|
25072
25281
|
[`&.${buttonGroupClasses$1.disabled}`]: {
|
|
25073
|
-
borderBottom: `1px solid ${theme.palette.action.disabled}`
|
|
25282
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.action.disabled}`
|
|
25074
25283
|
}
|
|
25075
25284
|
}, ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
|
|
25076
|
-
borderColor: theme.palette[ownerState.color].dark
|
|
25285
|
+
borderColor: (theme.vars || theme).palette[ownerState.color].dark
|
|
25077
25286
|
}, {
|
|
25078
25287
|
'&:hover': _extends({}, ownerState.variant === 'outlined' && ownerState.orientation === 'horizontal' && {
|
|
25079
25288
|
borderRightColor: 'currentColor'
|
|
@@ -25108,7 +25317,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25108
25317
|
size = 'medium',
|
|
25109
25318
|
variant = 'outlined'
|
|
25110
25319
|
} = props,
|
|
25111
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25320
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1D);
|
|
25112
25321
|
|
|
25113
25322
|
const ownerState = _extends({}, props, {
|
|
25114
25323
|
color,
|
|
@@ -25123,7 +25332,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25123
25332
|
variant
|
|
25124
25333
|
});
|
|
25125
25334
|
|
|
25126
|
-
const classes = useUtilityClasses$
|
|
25335
|
+
const classes = useUtilityClasses$1m(ownerState);
|
|
25127
25336
|
const context = React__namespace.useMemo(() => ({
|
|
25128
25337
|
className: classes.grouped,
|
|
25129
25338
|
color,
|
|
@@ -25253,9 +25462,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25253
25462
|
const cardClasses = generateUtilityClasses('MuiCard', ['root']);
|
|
25254
25463
|
var cardClasses$1 = cardClasses;
|
|
25255
25464
|
|
|
25256
|
-
const _excluded$
|
|
25465
|
+
const _excluded$1C = ["className", "raised"];
|
|
25257
25466
|
|
|
25258
|
-
const useUtilityClasses$
|
|
25467
|
+
const useUtilityClasses$1l = ownerState => {
|
|
25259
25468
|
const {
|
|
25260
25469
|
classes
|
|
25261
25470
|
} = ownerState;
|
|
@@ -25284,13 +25493,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25284
25493
|
className,
|
|
25285
25494
|
raised = false
|
|
25286
25495
|
} = props,
|
|
25287
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25496
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1C);
|
|
25288
25497
|
|
|
25289
25498
|
const ownerState = _extends({}, props, {
|
|
25290
25499
|
raised
|
|
25291
25500
|
});
|
|
25292
25501
|
|
|
25293
|
-
const classes = useUtilityClasses$
|
|
25502
|
+
const classes = useUtilityClasses$1l(ownerState);
|
|
25294
25503
|
return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
|
|
25295
25504
|
className: clsx(classes.root, className),
|
|
25296
25505
|
elevation: raised ? 8 : undefined,
|
|
@@ -25346,9 +25555,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25346
25555
|
const cardActionAreaClasses = generateUtilityClasses('MuiCardActionArea', ['root', 'focusVisible', 'focusHighlight']);
|
|
25347
25556
|
var cardActionAreaClasses$1 = cardActionAreaClasses;
|
|
25348
25557
|
|
|
25349
|
-
const _excluded$
|
|
25558
|
+
const _excluded$1B = ["children", "className", "focusVisibleClassName"];
|
|
25350
25559
|
|
|
25351
|
-
const useUtilityClasses$
|
|
25560
|
+
const useUtilityClasses$1k = ownerState => {
|
|
25352
25561
|
const {
|
|
25353
25562
|
classes
|
|
25354
25563
|
} = ownerState;
|
|
@@ -25370,13 +25579,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25370
25579
|
textAlign: 'inherit',
|
|
25371
25580
|
width: '100%',
|
|
25372
25581
|
[`&:hover .${cardActionAreaClasses$1.focusHighlight}`]: {
|
|
25373
|
-
opacity: theme.palette.action.hoverOpacity,
|
|
25582
|
+
opacity: (theme.vars || theme).palette.action.hoverOpacity,
|
|
25374
25583
|
'@media (hover: none)': {
|
|
25375
25584
|
opacity: 0
|
|
25376
25585
|
}
|
|
25377
25586
|
},
|
|
25378
25587
|
[`&.${cardActionAreaClasses$1.focusVisible} .${cardActionAreaClasses$1.focusHighlight}`]: {
|
|
25379
|
-
opacity: theme.palette.action.focusOpacity
|
|
25588
|
+
opacity: (theme.vars || theme).palette.action.focusOpacity
|
|
25380
25589
|
}
|
|
25381
25590
|
}));
|
|
25382
25591
|
const CardActionAreaFocusHighlight = styled$1('span', {
|
|
@@ -25411,10 +25620,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25411
25620
|
className,
|
|
25412
25621
|
focusVisibleClassName
|
|
25413
25622
|
} = props,
|
|
25414
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25623
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1B);
|
|
25415
25624
|
|
|
25416
25625
|
const ownerState = props;
|
|
25417
|
-
const classes = useUtilityClasses$
|
|
25626
|
+
const classes = useUtilityClasses$1k(ownerState);
|
|
25418
25627
|
return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
|
|
25419
25628
|
className: clsx(classes.root, className),
|
|
25420
25629
|
focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
|
|
@@ -25468,9 +25677,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25468
25677
|
const cardActionsClasses = generateUtilityClasses('MuiCardActions', ['root', 'spacing']);
|
|
25469
25678
|
var cardActionsClasses$1 = cardActionsClasses;
|
|
25470
25679
|
|
|
25471
|
-
const _excluded$
|
|
25680
|
+
const _excluded$1A = ["disableSpacing", "className"];
|
|
25472
25681
|
|
|
25473
|
-
const useUtilityClasses$
|
|
25682
|
+
const useUtilityClasses$1j = ownerState => {
|
|
25474
25683
|
const {
|
|
25475
25684
|
classes,
|
|
25476
25685
|
disableSpacing
|
|
@@ -25511,13 +25720,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25511
25720
|
disableSpacing = false,
|
|
25512
25721
|
className
|
|
25513
25722
|
} = props,
|
|
25514
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25723
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1A);
|
|
25515
25724
|
|
|
25516
25725
|
const ownerState = _extends({}, props, {
|
|
25517
25726
|
disableSpacing
|
|
25518
25727
|
});
|
|
25519
25728
|
|
|
25520
|
-
const classes = useUtilityClasses$
|
|
25729
|
+
const classes = useUtilityClasses$1j(ownerState);
|
|
25521
25730
|
return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
|
|
25522
25731
|
className: clsx(classes.root, className),
|
|
25523
25732
|
ownerState: ownerState,
|
|
@@ -25566,9 +25775,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25566
25775
|
const cardContentClasses = generateUtilityClasses('MuiCardContent', ['root']);
|
|
25567
25776
|
var cardContentClasses$1 = cardContentClasses;
|
|
25568
25777
|
|
|
25569
|
-
const _excluded$
|
|
25778
|
+
const _excluded$1z = ["className", "component"];
|
|
25570
25779
|
|
|
25571
|
-
const useUtilityClasses$
|
|
25780
|
+
const useUtilityClasses$1i = ownerState => {
|
|
25572
25781
|
const {
|
|
25573
25782
|
classes
|
|
25574
25783
|
} = ownerState;
|
|
@@ -25600,13 +25809,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25600
25809
|
className,
|
|
25601
25810
|
component = 'div'
|
|
25602
25811
|
} = props,
|
|
25603
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25812
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1z);
|
|
25604
25813
|
|
|
25605
25814
|
const ownerState = _extends({}, props, {
|
|
25606
25815
|
component
|
|
25607
25816
|
});
|
|
25608
25817
|
|
|
25609
|
-
const classes = useUtilityClasses$
|
|
25818
|
+
const classes = useUtilityClasses$1i(ownerState);
|
|
25610
25819
|
return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
|
|
25611
25820
|
as: component,
|
|
25612
25821
|
className: clsx(classes.root, className),
|
|
@@ -25656,9 +25865,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25656
25865
|
const cardHeaderClasses = generateUtilityClasses('MuiCardHeader', ['root', 'avatar', 'action', 'content', 'title', 'subheader']);
|
|
25657
25866
|
var cardHeaderClasses$1 = cardHeaderClasses;
|
|
25658
25867
|
|
|
25659
|
-
const _excluded$
|
|
25868
|
+
const _excluded$1y = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
|
|
25660
25869
|
|
|
25661
|
-
const useUtilityClasses$
|
|
25870
|
+
const useUtilityClasses$1h = ownerState => {
|
|
25662
25871
|
const {
|
|
25663
25872
|
classes
|
|
25664
25873
|
} = ownerState;
|
|
@@ -25729,14 +25938,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25729
25938
|
title: titleProp,
|
|
25730
25939
|
titleTypographyProps
|
|
25731
25940
|
} = props,
|
|
25732
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
25941
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1y);
|
|
25733
25942
|
|
|
25734
25943
|
const ownerState = _extends({}, props, {
|
|
25735
25944
|
component,
|
|
25736
25945
|
disableTypography
|
|
25737
25946
|
});
|
|
25738
25947
|
|
|
25739
|
-
const classes = useUtilityClasses$
|
|
25948
|
+
const classes = useUtilityClasses$1h(ownerState);
|
|
25740
25949
|
let title = titleProp;
|
|
25741
25950
|
|
|
25742
25951
|
if (title != null && title.type !== Typography$1 && !disableTypography) {
|
|
@@ -25870,9 +26079,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25870
26079
|
const cardMediaClasses = generateUtilityClasses('MuiCardMedia', ['root', 'media', 'img']);
|
|
25871
26080
|
var cardMediaClasses$1 = cardMediaClasses;
|
|
25872
26081
|
|
|
25873
|
-
const _excluded$
|
|
26082
|
+
const _excluded$1x = ["children", "className", "component", "image", "src", "style"];
|
|
25874
26083
|
|
|
25875
|
-
const useUtilityClasses$
|
|
26084
|
+
const useUtilityClasses$1g = ownerState => {
|
|
25876
26085
|
const {
|
|
25877
26086
|
classes,
|
|
25878
26087
|
isMediaComponent,
|
|
@@ -25926,7 +26135,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25926
26135
|
src,
|
|
25927
26136
|
style
|
|
25928
26137
|
} = props,
|
|
25929
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26138
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1x);
|
|
25930
26139
|
|
|
25931
26140
|
const isMediaComponent = MEDIA_COMPONENTS.indexOf(component) !== -1;
|
|
25932
26141
|
const composedStyle = !isMediaComponent && image ? _extends({
|
|
@@ -25939,7 +26148,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25939
26148
|
isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
|
|
25940
26149
|
});
|
|
25941
26150
|
|
|
25942
|
-
const classes = useUtilityClasses$
|
|
26151
|
+
const classes = useUtilityClasses$1g(ownerState);
|
|
25943
26152
|
return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
|
|
25944
26153
|
className: clsx(classes.root, className),
|
|
25945
26154
|
as: component,
|
|
@@ -26018,9 +26227,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26018
26227
|
}
|
|
26019
26228
|
generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
26020
26229
|
|
|
26021
|
-
const _excluded$
|
|
26230
|
+
const _excluded$1w = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
26022
26231
|
|
|
26023
|
-
const useUtilityClasses$
|
|
26232
|
+
const useUtilityClasses$1f = ownerState => {
|
|
26024
26233
|
const {
|
|
26025
26234
|
classes,
|
|
26026
26235
|
checked,
|
|
@@ -26084,7 +26293,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26084
26293
|
type,
|
|
26085
26294
|
value
|
|
26086
26295
|
} = props,
|
|
26087
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26296
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1w);
|
|
26088
26297
|
|
|
26089
26298
|
const [checked, setCheckedState] = useControlled({
|
|
26090
26299
|
controlled: checkedProp,
|
|
@@ -26146,7 +26355,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26146
26355
|
edge
|
|
26147
26356
|
});
|
|
26148
26357
|
|
|
26149
|
-
const classes = useUtilityClasses$
|
|
26358
|
+
const classes = useUtilityClasses$1f(ownerState);
|
|
26150
26359
|
return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
|
|
26151
26360
|
component: "span",
|
|
26152
26361
|
className: clsx(classes.root, className),
|
|
@@ -26328,9 +26537,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26328
26537
|
const checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary']);
|
|
26329
26538
|
var checkboxClasses$1 = checkboxClasses;
|
|
26330
26539
|
|
|
26331
|
-
const _excluded$
|
|
26540
|
+
const _excluded$1v = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"];
|
|
26332
26541
|
|
|
26333
|
-
const useUtilityClasses$
|
|
26542
|
+
const useUtilityClasses$1e = ownerState => {
|
|
26334
26543
|
const {
|
|
26335
26544
|
classes,
|
|
26336
26545
|
indeterminate,
|
|
@@ -26398,7 +26607,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26398
26607
|
inputProps,
|
|
26399
26608
|
size = 'medium'
|
|
26400
26609
|
} = props,
|
|
26401
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26610
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1v);
|
|
26402
26611
|
|
|
26403
26612
|
const icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
26404
26613
|
const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
@@ -26409,7 +26618,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26409
26618
|
size
|
|
26410
26619
|
});
|
|
26411
26620
|
|
|
26412
|
-
const classes = useUtilityClasses$
|
|
26621
|
+
const classes = useUtilityClasses$1e(ownerState);
|
|
26413
26622
|
return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
|
|
26414
26623
|
type: "checkbox",
|
|
26415
26624
|
inputProps: _extends({
|
|
@@ -26553,7 +26762,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26553
26762
|
const circularProgressClasses = generateUtilityClasses('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
|
|
26554
26763
|
var circularProgressClasses$1 = circularProgressClasses;
|
|
26555
26764
|
|
|
26556
|
-
const _excluded$
|
|
26765
|
+
const _excluded$1u = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
26557
26766
|
|
|
26558
26767
|
let _$2 = t => t,
|
|
26559
26768
|
_t$2,
|
|
@@ -26587,7 +26796,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26587
26796
|
}
|
|
26588
26797
|
`));
|
|
26589
26798
|
|
|
26590
|
-
const useUtilityClasses$
|
|
26799
|
+
const useUtilityClasses$1d = ownerState => {
|
|
26591
26800
|
const {
|
|
26592
26801
|
classes,
|
|
26593
26802
|
variant,
|
|
@@ -26619,7 +26828,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26619
26828
|
}, ownerState.variant === 'determinate' && {
|
|
26620
26829
|
transition: theme.transitions.create('transform')
|
|
26621
26830
|
}, ownerState.color !== 'inherit' && {
|
|
26622
|
-
color: theme.palette[ownerState.color].main
|
|
26831
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
26623
26832
|
}), ({
|
|
26624
26833
|
ownerState
|
|
26625
26834
|
}) => ownerState.variant === 'indeterminate' && css(_t3$2 || (_t3$2 = _$2`
|
|
@@ -26683,7 +26892,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26683
26892
|
value = 0,
|
|
26684
26893
|
variant = 'indeterminate'
|
|
26685
26894
|
} = props,
|
|
26686
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
26895
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$1u);
|
|
26687
26896
|
|
|
26688
26897
|
const ownerState = _extends({}, props, {
|
|
26689
26898
|
color,
|
|
@@ -26694,7 +26903,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26694
26903
|
variant
|
|
26695
26904
|
});
|
|
26696
26905
|
|
|
26697
|
-
const classes = useUtilityClasses$
|
|
26906
|
+
const classes = useUtilityClasses$1d(ownerState);
|
|
26698
26907
|
const circleStyle = {};
|
|
26699
26908
|
const rootStyle = {};
|
|
26700
26909
|
const rootProps = {};
|
|
@@ -26815,106 +27024,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26815
27024
|
} ;
|
|
26816
27025
|
var CircularProgress$1 = CircularProgress;
|
|
26817
27026
|
|
|
26818
|
-
|
|
26819
|
-
|
|
26820
|
-
|
|
26821
|
-
|
|
26822
|
-
|
|
26823
|
-
|
|
26824
|
-
|
|
26825
|
-
|
|
26826
|
-
|
|
26827
|
-
|
|
26828
|
-
|
|
26829
|
-
|
|
26830
|
-
disableGutters,
|
|
26831
|
-
maxWidth
|
|
26832
|
-
} = ownerState;
|
|
26833
|
-
const slots = {
|
|
26834
|
-
root: ['root', maxWidth && `maxWidth${capitalize(String(maxWidth))}`, fixed && 'fixed', disableGutters && 'disableGutters']
|
|
26835
|
-
};
|
|
26836
|
-
return composeClasses(slots, getContainerUtilityClass, classes);
|
|
26837
|
-
};
|
|
26838
|
-
|
|
26839
|
-
const ContainerRoot = styled$1('div', {
|
|
26840
|
-
name: 'MuiContainer',
|
|
26841
|
-
slot: 'Root',
|
|
26842
|
-
overridesResolver: (props, styles) => {
|
|
26843
|
-
const {
|
|
26844
|
-
ownerState
|
|
26845
|
-
} = props;
|
|
26846
|
-
return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
26847
|
-
}
|
|
26848
|
-
})(({
|
|
26849
|
-
theme,
|
|
26850
|
-
ownerState
|
|
26851
|
-
}) => _extends({
|
|
26852
|
-
width: '100%',
|
|
26853
|
-
marginLeft: 'auto',
|
|
26854
|
-
boxSizing: 'border-box',
|
|
26855
|
-
marginRight: 'auto',
|
|
26856
|
-
display: 'block'
|
|
26857
|
-
}, !ownerState.disableGutters && {
|
|
26858
|
-
paddingLeft: theme.spacing(2),
|
|
26859
|
-
paddingRight: theme.spacing(2),
|
|
26860
|
-
[theme.breakpoints.up('sm')]: {
|
|
26861
|
-
paddingLeft: theme.spacing(3),
|
|
26862
|
-
paddingRight: theme.spacing(3)
|
|
26863
|
-
}
|
|
26864
|
-
}), ({
|
|
26865
|
-
theme,
|
|
26866
|
-
ownerState
|
|
26867
|
-
}) => ownerState.fixed && Object.keys(theme.breakpoints.values).reduce((acc, breakpoint) => {
|
|
26868
|
-
const value = theme.breakpoints.values[breakpoint];
|
|
26869
|
-
|
|
26870
|
-
if (value !== 0) {
|
|
26871
|
-
acc[theme.breakpoints.up(breakpoint)] = {
|
|
26872
|
-
maxWidth: `${value}${theme.breakpoints.unit}`
|
|
26873
|
-
};
|
|
26874
|
-
}
|
|
26875
|
-
|
|
26876
|
-
return acc;
|
|
26877
|
-
}, {}), ({
|
|
26878
|
-
theme,
|
|
26879
|
-
ownerState
|
|
26880
|
-
}) => _extends({}, ownerState.maxWidth === 'xs' && {
|
|
26881
|
-
[theme.breakpoints.up('xs')]: {
|
|
26882
|
-
maxWidth: Math.max(theme.breakpoints.values.xs, 444)
|
|
26883
|
-
}
|
|
26884
|
-
}, ownerState.maxWidth && ownerState.maxWidth !== 'xs' && {
|
|
26885
|
-
[theme.breakpoints.up(ownerState.maxWidth)]: {
|
|
26886
|
-
maxWidth: `${theme.breakpoints.values[ownerState.maxWidth]}${theme.breakpoints.unit}`
|
|
26887
|
-
}
|
|
26888
|
-
}));
|
|
26889
|
-
const Container = /*#__PURE__*/React__namespace.forwardRef(function Container(inProps, ref) {
|
|
26890
|
-
const props = useThemeProps({
|
|
27027
|
+
const Container = createContainer({
|
|
27028
|
+
createStyledComponent: styled$1('div', {
|
|
27029
|
+
name: 'MuiContainer',
|
|
27030
|
+
slot: 'Root',
|
|
27031
|
+
overridesResolver: (props, styles) => {
|
|
27032
|
+
const {
|
|
27033
|
+
ownerState
|
|
27034
|
+
} = props;
|
|
27035
|
+
return [styles.root, styles[`maxWidth${capitalize(String(ownerState.maxWidth))}`], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
27036
|
+
}
|
|
27037
|
+
}),
|
|
27038
|
+
useThemeProps: inProps => useThemeProps({
|
|
26891
27039
|
props: inProps,
|
|
26892
27040
|
name: 'MuiContainer'
|
|
26893
|
-
})
|
|
26894
|
-
|
|
26895
|
-
const {
|
|
26896
|
-
className,
|
|
26897
|
-
component = 'div',
|
|
26898
|
-
disableGutters = false,
|
|
26899
|
-
fixed = false,
|
|
26900
|
-
maxWidth = 'lg'
|
|
26901
|
-
} = props,
|
|
26902
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$1u);
|
|
26903
|
-
|
|
26904
|
-
const ownerState = _extends({}, props, {
|
|
26905
|
-
component,
|
|
26906
|
-
disableGutters,
|
|
26907
|
-
fixed,
|
|
26908
|
-
maxWidth
|
|
26909
|
-
});
|
|
26910
|
-
|
|
26911
|
-
const classes = useUtilityClasses$1d(ownerState);
|
|
26912
|
-
return /*#__PURE__*/jsxRuntime_1(ContainerRoot, _extends({
|
|
26913
|
-
as: component,
|
|
26914
|
-
ownerState: ownerState,
|
|
26915
|
-
className: clsx(classes.root, className),
|
|
26916
|
-
ref: ref
|
|
26917
|
-
}, other));
|
|
27041
|
+
})
|
|
26918
27042
|
});
|
|
26919
27043
|
Container.propTypes
|
|
26920
27044
|
/* remove-proptypes */
|
|
@@ -26934,11 +27058,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26934
27058
|
*/
|
|
26935
27059
|
classes: PropTypes.object,
|
|
26936
27060
|
|
|
26937
|
-
/**
|
|
26938
|
-
* @ignore
|
|
26939
|
-
*/
|
|
26940
|
-
className: PropTypes.string,
|
|
26941
|
-
|
|
26942
27061
|
/**
|
|
26943
27062
|
* The component used for the root node.
|
|
26944
27063
|
* Either a string to use a HTML element or a component.
|
|
@@ -26977,6 +27096,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26977
27096
|
} ;
|
|
26978
27097
|
var Container$1 = Container;
|
|
26979
27098
|
|
|
27099
|
+
function getContainerUtilityClass(slot) {
|
|
27100
|
+
return generateUtilityClass('MuiContainer', slot);
|
|
27101
|
+
}
|
|
27102
|
+
const containerClasses = generateUtilityClasses('MuiContainer', ['root', 'disableGutters', 'fixed', 'maxWidthXs', 'maxWidthSm', 'maxWidthMd', 'maxWidthLg', 'maxWidthXl']);
|
|
27103
|
+
var containerClasses$1 = containerClasses;
|
|
27104
|
+
|
|
26980
27105
|
const html = (theme, enableColorScheme) => _extends({
|
|
26981
27106
|
WebkitFontSmoothing: 'antialiased',
|
|
26982
27107
|
// Antialiasing.
|
|
@@ -26991,12 +27116,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26991
27116
|
colorScheme: theme.palette.mode
|
|
26992
27117
|
});
|
|
26993
27118
|
const body = theme => _extends({
|
|
26994
|
-
color: theme.palette.text.primary
|
|
27119
|
+
color: (theme.vars || theme).palette.text.primary
|
|
26995
27120
|
}, theme.typography.body1, {
|
|
26996
|
-
backgroundColor: theme.palette.background.default,
|
|
27121
|
+
backgroundColor: (theme.vars || theme).palette.background.default,
|
|
26997
27122
|
'@media print': {
|
|
26998
27123
|
// Save printer ink.
|
|
26999
|
-
backgroundColor: theme.palette.common.white
|
|
27124
|
+
backgroundColor: (theme.vars || theme).palette.common.white
|
|
27000
27125
|
}
|
|
27001
27126
|
});
|
|
27002
27127
|
const styles$3 = (theme, enableColorScheme = false) => {
|
|
@@ -27016,7 +27141,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27016
27141
|
// Add support for document.body.requestFullScreen().
|
|
27017
27142
|
// Other elements, if background transparent, are not supported.
|
|
27018
27143
|
'&::backdrop': {
|
|
27019
|
-
backgroundColor: theme.palette.background.default
|
|
27144
|
+
backgroundColor: (theme.vars || theme).palette.background.default
|
|
27020
27145
|
}
|
|
27021
27146
|
})
|
|
27022
27147
|
};
|
|
@@ -27124,7 +27249,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27124
27249
|
ownerState
|
|
27125
27250
|
}) => _extends({
|
|
27126
27251
|
position: 'fixed',
|
|
27127
|
-
zIndex: theme.zIndex.modal,
|
|
27252
|
+
zIndex: (theme.vars || theme).zIndex.modal,
|
|
27128
27253
|
right: 0,
|
|
27129
27254
|
bottom: 0,
|
|
27130
27255
|
top: 0,
|
|
@@ -27937,8 +28062,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27937
28062
|
padding: '20px 24px'
|
|
27938
28063
|
}, ownerState.dividers ? {
|
|
27939
28064
|
padding: '16px 24px',
|
|
27940
|
-
borderTop: `1px solid ${theme.palette.divider}`,
|
|
27941
|
-
borderBottom: `1px solid ${theme.palette.divider}`
|
|
28065
|
+
borderTop: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
28066
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
27942
28067
|
} : {
|
|
27943
28068
|
[`.${dialogTitleClasses$1.root} + &`]: {
|
|
27944
28069
|
paddingTop: 0
|
|
@@ -28197,7 +28322,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28197
28322
|
flexShrink: 0,
|
|
28198
28323
|
borderWidth: 0,
|
|
28199
28324
|
borderStyle: 'solid',
|
|
28200
|
-
borderColor: theme.palette.divider,
|
|
28325
|
+
borderColor: (theme.vars || theme).palette.divider,
|
|
28201
28326
|
borderBottomWidth: 'thin'
|
|
28202
28327
|
}, ownerState.absolute && {
|
|
28203
28328
|
position: 'absolute',
|
|
@@ -28205,7 +28330,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28205
28330
|
left: 0,
|
|
28206
28331
|
width: '100%'
|
|
28207
28332
|
}, ownerState.light && {
|
|
28208
|
-
borderColor: alpha(theme.palette.divider, 0.08)
|
|
28333
|
+
borderColor: theme.vars ? `rgba(${theme.vars.palette.dividerChannel} / 0.08)` : alpha(theme.palette.divider, 0.08)
|
|
28209
28334
|
}, ownerState.variant === 'inset' && {
|
|
28210
28335
|
marginLeft: 72
|
|
28211
28336
|
}, ownerState.variant === 'middle' && ownerState.orientation === 'horizontal' && {
|
|
@@ -28232,7 +28357,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28232
28357
|
'&::before, &::after': {
|
|
28233
28358
|
position: 'relative',
|
|
28234
28359
|
width: '100%',
|
|
28235
|
-
borderTop: `thin solid ${theme.palette.divider}`,
|
|
28360
|
+
borderTop: `thin solid ${(theme.vars || theme).palette.divider}`,
|
|
28236
28361
|
top: '50%',
|
|
28237
28362
|
content: '""',
|
|
28238
28363
|
transform: 'translateY(50%)'
|
|
@@ -28247,7 +28372,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28247
28372
|
top: '0%',
|
|
28248
28373
|
left: '50%',
|
|
28249
28374
|
borderTop: 0,
|
|
28250
|
-
borderLeft: `thin solid ${theme.palette.divider}`,
|
|
28375
|
+
borderLeft: `thin solid ${(theme.vars || theme).palette.divider}`,
|
|
28251
28376
|
transform: 'translateX(0%)'
|
|
28252
28377
|
}
|
|
28253
28378
|
}), ({
|
|
@@ -28811,7 +28936,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28811
28936
|
})(({
|
|
28812
28937
|
theme
|
|
28813
28938
|
}) => ({
|
|
28814
|
-
zIndex: theme.zIndex.drawer
|
|
28939
|
+
zIndex: (theme.vars || theme).zIndex.drawer
|
|
28815
28940
|
}));
|
|
28816
28941
|
const DrawerDockedRoot = styled$1('div', {
|
|
28817
28942
|
shouldForwardProp: rootShouldForwardProp,
|
|
@@ -28840,7 +28965,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28840
28965
|
flexDirection: 'column',
|
|
28841
28966
|
height: '100%',
|
|
28842
28967
|
flex: '1 0 auto',
|
|
28843
|
-
zIndex: theme.zIndex.drawer,
|
|
28968
|
+
zIndex: (theme.vars || theme).zIndex.drawer,
|
|
28844
28969
|
// Add iOS momentum scrolling for iOS < 13.0
|
|
28845
28970
|
WebkitOverflowScrolling: 'touch',
|
|
28846
28971
|
// temporary style
|
|
@@ -28868,13 +28993,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28868
28993
|
height: 'auto',
|
|
28869
28994
|
maxHeight: '100%'
|
|
28870
28995
|
}, ownerState.anchor === 'left' && ownerState.variant !== 'temporary' && {
|
|
28871
|
-
borderRight: `1px solid ${theme.palette.divider}`
|
|
28996
|
+
borderRight: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
28872
28997
|
}, ownerState.anchor === 'top' && ownerState.variant !== 'temporary' && {
|
|
28873
|
-
borderBottom: `1px solid ${theme.palette.divider}`
|
|
28998
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
28874
28999
|
}, ownerState.anchor === 'right' && ownerState.variant !== 'temporary' && {
|
|
28875
|
-
borderLeft: `1px solid ${theme.palette.divider}`
|
|
29000
|
+
borderLeft: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
28876
29001
|
}, ownerState.anchor === 'bottom' && ownerState.variant !== 'temporary' && {
|
|
28877
|
-
borderTop: `1px solid ${theme.palette.divider}`
|
|
29002
|
+
borderTop: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
28878
29003
|
}));
|
|
28879
29004
|
const oppositeDirection = {
|
|
28880
29005
|
left: 'right',
|
|
@@ -29134,77 +29259,81 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29134
29259
|
})(({
|
|
29135
29260
|
theme,
|
|
29136
29261
|
ownerState
|
|
29137
|
-
}) =>
|
|
29138
|
-
|
|
29139
|
-
|
|
29140
|
-
|
|
29141
|
-
|
|
29142
|
-
|
|
29143
|
-
|
|
29144
|
-
|
|
29145
|
-
|
|
29146
|
-
|
|
29147
|
-
|
|
29148
|
-
|
|
29149
|
-
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29154
|
-
'&:hover': {
|
|
29155
|
-
backgroundColor: theme.palette.grey.A100,
|
|
29156
|
-
// Reset on touch devices, it doesn't add specificity
|
|
29157
|
-
'@media (hover: none)': {
|
|
29158
|
-
backgroundColor: theme.palette.grey[300]
|
|
29262
|
+
}) => {
|
|
29263
|
+
var _theme$palette$getCon, _theme$palette;
|
|
29264
|
+
|
|
29265
|
+
return _extends({}, theme.typography.button, {
|
|
29266
|
+
minHeight: 36,
|
|
29267
|
+
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
|
|
29268
|
+
duration: theme.transitions.duration.short
|
|
29269
|
+
}),
|
|
29270
|
+
borderRadius: '50%',
|
|
29271
|
+
padding: 0,
|
|
29272
|
+
minWidth: 0,
|
|
29273
|
+
width: 56,
|
|
29274
|
+
height: 56,
|
|
29275
|
+
zIndex: (theme.vars || theme).zIndex.fab,
|
|
29276
|
+
boxShadow: (theme.vars || theme).shadows[6],
|
|
29277
|
+
'&:active': {
|
|
29278
|
+
boxShadow: (theme.vars || theme).shadows[12]
|
|
29159
29279
|
},
|
|
29160
|
-
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29164
|
-
|
|
29165
|
-
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
29174
|
-
|
|
29175
|
-
|
|
29176
|
-
|
|
29177
|
-
|
|
29178
|
-
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29188
|
-
|
|
29189
|
-
|
|
29190
|
-
|
|
29191
|
-
|
|
29192
|
-
|
|
29193
|
-
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
|
|
29197
|
-
|
|
29280
|
+
color: theme.vars ? theme.vars.palette.text.primary : (_theme$palette$getCon = (_theme$palette = theme.palette).getContrastText) == null ? void 0 : _theme$palette$getCon.call(_theme$palette, theme.palette.grey[300]),
|
|
29281
|
+
backgroundColor: (theme.vars || theme).palette.grey[300],
|
|
29282
|
+
'&:hover': {
|
|
29283
|
+
backgroundColor: (theme.vars || theme).palette.grey.A100,
|
|
29284
|
+
// Reset on touch devices, it doesn't add specificity
|
|
29285
|
+
'@media (hover: none)': {
|
|
29286
|
+
backgroundColor: (theme.vars || theme).palette.grey[300]
|
|
29287
|
+
},
|
|
29288
|
+
textDecoration: 'none'
|
|
29289
|
+
},
|
|
29290
|
+
[`&.${fabClasses$1.focusVisible}`]: {
|
|
29291
|
+
boxShadow: (theme.vars || theme).shadows[6]
|
|
29292
|
+
},
|
|
29293
|
+
[`&.${fabClasses$1.disabled}`]: {
|
|
29294
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
29295
|
+
boxShadow: (theme.vars || theme).shadows[0],
|
|
29296
|
+
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
29297
|
+
}
|
|
29298
|
+
}, ownerState.size === 'small' && {
|
|
29299
|
+
width: 40,
|
|
29300
|
+
height: 40
|
|
29301
|
+
}, ownerState.size === 'medium' && {
|
|
29302
|
+
width: 48,
|
|
29303
|
+
height: 48
|
|
29304
|
+
}, ownerState.variant === 'extended' && {
|
|
29305
|
+
borderRadius: 48 / 2,
|
|
29306
|
+
padding: '0 16px',
|
|
29307
|
+
width: 'auto',
|
|
29308
|
+
minHeight: 'auto',
|
|
29309
|
+
minWidth: 48,
|
|
29310
|
+
height: 48
|
|
29311
|
+
}, ownerState.variant === 'extended' && ownerState.size === 'small' && {
|
|
29312
|
+
width: 'auto',
|
|
29313
|
+
padding: '0 8px',
|
|
29314
|
+
borderRadius: 34 / 2,
|
|
29315
|
+
minWidth: 34,
|
|
29316
|
+
height: 34
|
|
29317
|
+
}, ownerState.variant === 'extended' && ownerState.size === 'medium' && {
|
|
29318
|
+
width: 'auto',
|
|
29319
|
+
padding: '0 16px',
|
|
29320
|
+
borderRadius: 40 / 2,
|
|
29321
|
+
minWidth: 40,
|
|
29322
|
+
height: 40
|
|
29323
|
+
}, ownerState.color === 'inherit' && {
|
|
29324
|
+
color: 'inherit'
|
|
29325
|
+
});
|
|
29326
|
+
}, ({
|
|
29198
29327
|
theme,
|
|
29199
29328
|
ownerState
|
|
29200
|
-
}) => _extends({}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && theme.palette[ownerState.color] != null && {
|
|
29201
|
-
color: theme.palette[ownerState.color].contrastText,
|
|
29202
|
-
backgroundColor: theme.palette[ownerState.color].main,
|
|
29329
|
+
}) => _extends({}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && (theme.vars || theme).palette[ownerState.color] != null && {
|
|
29330
|
+
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
29331
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
29203
29332
|
'&:hover': {
|
|
29204
|
-
backgroundColor: theme.palette[ownerState.color].dark,
|
|
29333
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
29205
29334
|
// Reset on touch devices, it doesn't add specificity
|
|
29206
29335
|
'@media (hover: none)': {
|
|
29207
|
-
backgroundColor: theme.palette[ownerState.color].main
|
|
29336
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
29208
29337
|
}
|
|
29209
29338
|
}
|
|
29210
29339
|
}));
|
|
@@ -29367,6 +29496,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29367
29496
|
theme,
|
|
29368
29497
|
ownerState
|
|
29369
29498
|
}) => {
|
|
29499
|
+
var _theme$palette;
|
|
29500
|
+
|
|
29370
29501
|
const light = theme.palette.mode === 'light';
|
|
29371
29502
|
const bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';
|
|
29372
29503
|
const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
|
|
@@ -29394,7 +29525,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29394
29525
|
}
|
|
29395
29526
|
}, !ownerState.disableUnderline && {
|
|
29396
29527
|
'&:after': {
|
|
29397
|
-
borderBottom: `2px solid ${theme.palette[ownerState.color].main}`,
|
|
29528
|
+
borderBottom: `2px solid ${(_theme$palette = theme.palette[ownerState.color || 'primary']) == null ? void 0 : _theme$palette.main}`,
|
|
29398
29529
|
left: 0,
|
|
29399
29530
|
bottom: 0,
|
|
29400
29531
|
// Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
|
|
@@ -30123,7 +30254,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30123
30254
|
}, {
|
|
30124
30255
|
[`& .${formControlLabelClasses$1.label}`]: {
|
|
30125
30256
|
[`&.${formControlLabelClasses$1.disabled}`]: {
|
|
30126
|
-
color: theme.palette.text.disabled
|
|
30257
|
+
color: (theme.vars || theme).palette.text.disabled
|
|
30127
30258
|
}
|
|
30128
30259
|
}
|
|
30129
30260
|
}));
|
|
@@ -30438,7 +30569,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30438
30569
|
theme,
|
|
30439
30570
|
ownerState
|
|
30440
30571
|
}) => _extends({
|
|
30441
|
-
color: theme.palette.text.secondary
|
|
30572
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
30442
30573
|
}, theme.typography.caption, {
|
|
30443
30574
|
textAlign: 'left',
|
|
30444
30575
|
marginTop: 3,
|
|
@@ -30446,10 +30577,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30446
30577
|
marginBottom: 0,
|
|
30447
30578
|
marginLeft: 0,
|
|
30448
30579
|
[`&.${formHelperTextClasses$1.disabled}`]: {
|
|
30449
|
-
color: theme.palette.text.disabled
|
|
30580
|
+
color: (theme.vars || theme).palette.text.disabled
|
|
30450
30581
|
},
|
|
30451
30582
|
[`&.${formHelperTextClasses$1.error}`]: {
|
|
30452
|
-
color: theme.palette.error.main
|
|
30583
|
+
color: (theme.vars || theme).palette.error.main
|
|
30453
30584
|
}
|
|
30454
30585
|
}, ownerState.size === 'small' && {
|
|
30455
30586
|
marginTop: 4
|
|
@@ -30614,19 +30745,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30614
30745
|
theme,
|
|
30615
30746
|
ownerState
|
|
30616
30747
|
}) => _extends({
|
|
30617
|
-
color: theme.palette.text.secondary
|
|
30748
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
30618
30749
|
}, theme.typography.body1, {
|
|
30619
30750
|
lineHeight: '1.4375em',
|
|
30620
30751
|
padding: 0,
|
|
30621
30752
|
position: 'relative',
|
|
30622
30753
|
[`&.${formLabelClasses$1.focused}`]: {
|
|
30623
|
-
color: theme.palette[ownerState.color].main
|
|
30754
|
+
color: (theme.vars || theme).palette[ownerState.color].main
|
|
30624
30755
|
},
|
|
30625
30756
|
[`&.${formLabelClasses$1.disabled}`]: {
|
|
30626
|
-
color: theme.palette.text.disabled
|
|
30757
|
+
color: (theme.vars || theme).palette.text.disabled
|
|
30627
30758
|
},
|
|
30628
30759
|
[`&.${formLabelClasses$1.error}`]: {
|
|
30629
|
-
color: theme.palette.error.main
|
|
30760
|
+
color: (theme.vars || theme).palette.error.main
|
|
30630
30761
|
}
|
|
30631
30762
|
}));
|
|
30632
30763
|
const AsteriskComponent = styled$1('span', {
|
|
@@ -30637,7 +30768,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30637
30768
|
theme
|
|
30638
30769
|
}) => ({
|
|
30639
30770
|
[`&.${formLabelClasses$1.error}`]: {
|
|
30640
|
-
color: theme.palette.error.main
|
|
30771
|
+
color: (theme.vars || theme).palette.error.main
|
|
30641
30772
|
}
|
|
30642
30773
|
}));
|
|
30643
30774
|
const FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
|
|
@@ -32326,14 +32457,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32326
32457
|
}[ownerState.fontSize],
|
|
32327
32458
|
// TODO v5 deprecate, v6 remove for sx
|
|
32328
32459
|
color: {
|
|
32329
|
-
primary: theme.palette.primary.main,
|
|
32330
|
-
secondary: theme.palette.secondary.main,
|
|
32331
|
-
info: theme.palette.info.main,
|
|
32332
|
-
success: theme.palette.success.main,
|
|
32333
|
-
warning: theme.palette.warning.main,
|
|
32334
|
-
action: theme.palette.action.active,
|
|
32335
|
-
error: theme.palette.error.main,
|
|
32336
|
-
disabled: theme.palette.action.disabled,
|
|
32460
|
+
primary: (theme.vars || theme).palette.primary.main,
|
|
32461
|
+
secondary: (theme.vars || theme).palette.secondary.main,
|
|
32462
|
+
info: (theme.vars || theme).palette.info.main,
|
|
32463
|
+
success: (theme.vars || theme).palette.success.main,
|
|
32464
|
+
warning: (theme.vars || theme).palette.warning.main,
|
|
32465
|
+
action: (theme.vars || theme).palette.action.active,
|
|
32466
|
+
error: (theme.vars || theme).palette.error.main,
|
|
32467
|
+
disabled: (theme.vars || theme).palette.action.disabled,
|
|
32337
32468
|
inherit: undefined
|
|
32338
32469
|
}[ownerState.color]
|
|
32339
32470
|
}));
|
|
@@ -32870,7 +33001,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32870
33001
|
return _extends({
|
|
32871
33002
|
flexGrow: 1,
|
|
32872
33003
|
padding: '12px 16px',
|
|
32873
|
-
color: theme.palette.common.white,
|
|
33004
|
+
color: (theme.vars || theme).palette.common.white,
|
|
32874
33005
|
overflow: 'hidden'
|
|
32875
33006
|
}, ownerState.position === 'below' && {
|
|
32876
33007
|
padding: '6px 0 12px',
|
|
@@ -33059,7 +33190,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33059
33190
|
ownerState
|
|
33060
33191
|
}) => {
|
|
33061
33192
|
const light = theme.palette.mode === 'light';
|
|
33062
|
-
|
|
33193
|
+
let bottomLineColor = light ? 'rgba(0, 0, 0, 0.42)' : 'rgba(255, 255, 255, 0.7)';
|
|
33194
|
+
|
|
33195
|
+
if (theme.vars) {
|
|
33196
|
+
bottomLineColor = `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputTouchBottomLine})`;
|
|
33197
|
+
}
|
|
33198
|
+
|
|
33063
33199
|
return _extends({
|
|
33064
33200
|
position: 'relative'
|
|
33065
33201
|
}, ownerState.formControl && {
|
|
@@ -33068,7 +33204,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33068
33204
|
}
|
|
33069
33205
|
}, !ownerState.disableUnderline && {
|
|
33070
33206
|
'&:after': {
|
|
33071
|
-
borderBottom: `2px solid ${theme.palette[ownerState.color].main}`,
|
|
33207
|
+
borderBottom: `2px solid ${(theme.vars || theme).palette[ownerState.color].main}`,
|
|
33072
33208
|
left: 0,
|
|
33073
33209
|
bottom: 0,
|
|
33074
33210
|
// Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
|
|
@@ -33089,7 +33225,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33089
33225
|
transform: 'scaleX(1) translateX(0)'
|
|
33090
33226
|
},
|
|
33091
33227
|
[`&.${inputClasses$1.error}:after`]: {
|
|
33092
|
-
borderBottomColor: theme.palette.error.main,
|
|
33228
|
+
borderBottomColor: (theme.vars || theme).palette.error.main,
|
|
33093
33229
|
transform: 'scaleX(1)' // error is always underlined in red
|
|
33094
33230
|
|
|
33095
33231
|
},
|
|
@@ -33108,7 +33244,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33108
33244
|
|
|
33109
33245
|
},
|
|
33110
33246
|
[`&:hover:not(.${inputClasses$1.disabled}):before`]: {
|
|
33111
|
-
borderBottom: `2px solid ${theme.palette.text.primary}`,
|
|
33247
|
+
borderBottom: `2px solid ${(theme.vars || theme).palette.text.primary}`,
|
|
33112
33248
|
// Reset on touch devices, it doesn't add specificity
|
|
33113
33249
|
'@media (hover: none)': {
|
|
33114
33250
|
borderBottom: `1px solid ${bottomLineColor}`
|
|
@@ -33404,7 +33540,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33404
33540
|
maxHeight: '2em',
|
|
33405
33541
|
alignItems: 'center',
|
|
33406
33542
|
whiteSpace: 'nowrap',
|
|
33407
|
-
color: theme.palette.action.active
|
|
33543
|
+
color: (theme.vars || theme).palette.action.active
|
|
33408
33544
|
}, ownerState.variant === 'filled' && {
|
|
33409
33545
|
// Styles applied to the root element if `variant="filled"`.
|
|
33410
33546
|
[`&.${inputAdornmentClasses$1.positionStart}&:not(.${inputAdornmentClasses$1.hiddenLabel})`]: {
|
|
@@ -34215,7 +34351,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34215
34351
|
});
|
|
34216
34352
|
});
|
|
34217
34353
|
const Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
|
|
34218
|
-
const theme = useTheme();
|
|
34219
34354
|
const props = useThemeProps({
|
|
34220
34355
|
props: inProps,
|
|
34221
34356
|
name: 'MuiLink'
|
|
@@ -34234,7 +34369,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34234
34369
|
} = props,
|
|
34235
34370
|
other = _objectWithoutPropertiesLoose(props, _excluded$10);
|
|
34236
34371
|
|
|
34237
|
-
const sxColor = typeof sx === 'function' ? sx(theme).color : sx == null ? void 0 : sx.color;
|
|
34238
34372
|
const {
|
|
34239
34373
|
isFocusVisibleRef,
|
|
34240
34374
|
onBlur: handleBlurVisible,
|
|
@@ -34269,9 +34403,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34269
34403
|
};
|
|
34270
34404
|
|
|
34271
34405
|
const ownerState = _extends({}, props, {
|
|
34272
|
-
|
|
34273
|
-
// Need to find a better way to get rid of the color manipulation for `textDecorationColor`.
|
|
34274
|
-
color: (typeof sxColor === 'function' ? sxColor(theme) : sxColor) || color,
|
|
34406
|
+
color,
|
|
34275
34407
|
component,
|
|
34276
34408
|
focusVisible,
|
|
34277
34409
|
underline,
|
|
@@ -34289,8 +34421,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34289
34421
|
ref: handlerRef,
|
|
34290
34422
|
ownerState: ownerState,
|
|
34291
34423
|
variant: variant,
|
|
34292
|
-
sx: [...(
|
|
34293
|
-
color
|
|
34424
|
+
sx: [...(!Object.keys(colorTransformations).includes(color) ? [{
|
|
34425
|
+
color
|
|
34294
34426
|
}] : []), ...(Array.isArray(sx) ? sx : [sx])]
|
|
34295
34427
|
}, other));
|
|
34296
34428
|
});
|
|
@@ -34578,33 +34710,33 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34578
34710
|
}),
|
|
34579
34711
|
'&:hover': {
|
|
34580
34712
|
textDecoration: 'none',
|
|
34581
|
-
backgroundColor: theme.palette.action.hover,
|
|
34713
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
34582
34714
|
// Reset on touch devices, it doesn't add specificity
|
|
34583
34715
|
'@media (hover: none)': {
|
|
34584
34716
|
backgroundColor: 'transparent'
|
|
34585
34717
|
}
|
|
34586
34718
|
},
|
|
34587
34719
|
[`&.${listItemButtonClasses$1.selected}`]: {
|
|
34588
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
34720
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
34589
34721
|
[`&.${listItemButtonClasses$1.focusVisible}`]: {
|
|
34590
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
34722
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
34591
34723
|
}
|
|
34592
34724
|
},
|
|
34593
34725
|
[`&.${listItemButtonClasses$1.selected}:hover`]: {
|
|
34594
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
34726
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
34595
34727
|
// Reset on touch devices, it doesn't add specificity
|
|
34596
34728
|
'@media (hover: none)': {
|
|
34597
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
34729
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
34598
34730
|
}
|
|
34599
34731
|
},
|
|
34600
34732
|
[`&.${listItemButtonClasses$1.focusVisible}`]: {
|
|
34601
|
-
backgroundColor: theme.palette.action.focus
|
|
34733
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
34602
34734
|
},
|
|
34603
34735
|
[`&.${listItemButtonClasses$1.disabled}`]: {
|
|
34604
|
-
opacity: theme.palette.action.disabledOpacity
|
|
34736
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
34605
34737
|
}
|
|
34606
34738
|
}, ownerState.divider && {
|
|
34607
|
-
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
34739
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
34608
34740
|
backgroundClip: 'padding-box'
|
|
34609
34741
|
}, ownerState.alignItems === 'flex-start' && {
|
|
34610
34742
|
alignItems: 'flex-start'
|
|
@@ -34921,21 +35053,21 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34921
35053
|
}
|
|
34922
35054
|
}, {
|
|
34923
35055
|
[`&.${listItemClasses$1.focusVisible}`]: {
|
|
34924
|
-
backgroundColor: theme.palette.action.focus
|
|
35056
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
34925
35057
|
},
|
|
34926
35058
|
[`&.${listItemClasses$1.selected}`]: {
|
|
34927
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
35059
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
34928
35060
|
[`&.${listItemClasses$1.focusVisible}`]: {
|
|
34929
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
35061
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
34930
35062
|
}
|
|
34931
35063
|
},
|
|
34932
35064
|
[`&.${listItemClasses$1.disabled}`]: {
|
|
34933
|
-
opacity: theme.palette.action.disabledOpacity
|
|
35065
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
34934
35066
|
}
|
|
34935
35067
|
}, ownerState.alignItems === 'flex-start' && {
|
|
34936
35068
|
alignItems: 'flex-start'
|
|
34937
35069
|
}, ownerState.divider && {
|
|
34938
|
-
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
35070
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
34939
35071
|
backgroundClip: 'padding-box'
|
|
34940
35072
|
}, ownerState.button && {
|
|
34941
35073
|
transition: theme.transitions.create('background-color', {
|
|
@@ -34943,17 +35075,17 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34943
35075
|
}),
|
|
34944
35076
|
'&:hover': {
|
|
34945
35077
|
textDecoration: 'none',
|
|
34946
|
-
backgroundColor: theme.palette.action.hover,
|
|
35078
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
34947
35079
|
// Reset on touch devices, it doesn't add specificity
|
|
34948
35080
|
'@media (hover: none)': {
|
|
34949
35081
|
backgroundColor: 'transparent'
|
|
34950
35082
|
}
|
|
34951
35083
|
},
|
|
34952
35084
|
[`&.${listItemClasses$1.selected}:hover`]: {
|
|
34953
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
35085
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
34954
35086
|
// Reset on touch devices, it doesn't add specificity
|
|
34955
35087
|
'@media (hover: none)': {
|
|
34956
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
35088
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
34957
35089
|
}
|
|
34958
35090
|
}
|
|
34959
35091
|
}, ownerState.hasSecondaryAction && {
|
|
@@ -35386,7 +35518,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35386
35518
|
ownerState
|
|
35387
35519
|
}) => _extends({
|
|
35388
35520
|
minWidth: 56,
|
|
35389
|
-
color: theme.palette.action.active,
|
|
35521
|
+
color: (theme.vars || theme).palette.action.active,
|
|
35390
35522
|
flexShrink: 0,
|
|
35391
35523
|
display: 'inline-flex'
|
|
35392
35524
|
}, ownerState.alignItems === 'flex-start' && {
|
|
@@ -36766,35 +36898,35 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36766
36898
|
paddingLeft: 16,
|
|
36767
36899
|
paddingRight: 16
|
|
36768
36900
|
}, ownerState.divider && {
|
|
36769
|
-
borderBottom: `1px solid ${theme.palette.divider}`,
|
|
36901
|
+
borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
36770
36902
|
backgroundClip: 'padding-box'
|
|
36771
36903
|
}, {
|
|
36772
36904
|
'&:hover': {
|
|
36773
36905
|
textDecoration: 'none',
|
|
36774
|
-
backgroundColor: theme.palette.action.hover,
|
|
36906
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
36775
36907
|
// Reset on touch devices, it doesn't add specificity
|
|
36776
36908
|
'@media (hover: none)': {
|
|
36777
36909
|
backgroundColor: 'transparent'
|
|
36778
36910
|
}
|
|
36779
36911
|
},
|
|
36780
36912
|
[`&.${menuItemClasses$1.selected}`]: {
|
|
36781
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
36913
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
36782
36914
|
[`&.${menuItemClasses$1.focusVisible}`]: {
|
|
36783
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
36915
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
36784
36916
|
}
|
|
36785
36917
|
},
|
|
36786
36918
|
[`&.${menuItemClasses$1.selected}:hover`]: {
|
|
36787
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
36919
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
36788
36920
|
// Reset on touch devices, it doesn't add specificity
|
|
36789
36921
|
'@media (hover: none)': {
|
|
36790
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
36922
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
36791
36923
|
}
|
|
36792
36924
|
},
|
|
36793
36925
|
[`&.${menuItemClasses$1.focusVisible}`]: {
|
|
36794
|
-
backgroundColor: theme.palette.action.focus
|
|
36926
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
36795
36927
|
},
|
|
36796
36928
|
[`&.${menuItemClasses$1.disabled}`]: {
|
|
36797
|
-
opacity: theme.palette.action.disabledOpacity
|
|
36929
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
36798
36930
|
},
|
|
36799
36931
|
[`& + .${dividerClasses$1.root}`]: {
|
|
36800
36932
|
marginTop: theme.spacing(1),
|
|
@@ -37018,20 +37150,20 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37018
37150
|
flexDirection: 'row',
|
|
37019
37151
|
justifyContent: 'space-between',
|
|
37020
37152
|
alignItems: 'center',
|
|
37021
|
-
background: theme.palette.background.default,
|
|
37153
|
+
background: (theme.vars || theme).palette.background.default,
|
|
37022
37154
|
padding: 8
|
|
37023
37155
|
}, ownerState.position === 'bottom' && {
|
|
37024
37156
|
position: 'fixed',
|
|
37025
37157
|
bottom: 0,
|
|
37026
37158
|
left: 0,
|
|
37027
37159
|
right: 0,
|
|
37028
|
-
zIndex: theme.zIndex.mobileStepper
|
|
37160
|
+
zIndex: (theme.vars || theme).zIndex.mobileStepper
|
|
37029
37161
|
}, ownerState.position === 'top' && {
|
|
37030
37162
|
position: 'fixed',
|
|
37031
37163
|
top: 0,
|
|
37032
37164
|
left: 0,
|
|
37033
37165
|
right: 0,
|
|
37034
|
-
zIndex: theme.zIndex.mobileStepper
|
|
37166
|
+
zIndex: (theme.vars || theme).zIndex.mobileStepper
|
|
37035
37167
|
}));
|
|
37036
37168
|
const MobileStepperDots = styled$1('div', {
|
|
37037
37169
|
name: 'MuiMobileStepper',
|
|
@@ -37061,13 +37193,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37061
37193
|
transition: theme.transitions.create('background-color', {
|
|
37062
37194
|
duration: theme.transitions.duration.shortest
|
|
37063
37195
|
}),
|
|
37064
|
-
backgroundColor: theme.palette.action.disabled,
|
|
37196
|
+
backgroundColor: (theme.vars || theme).palette.action.disabled,
|
|
37065
37197
|
borderRadius: '50%',
|
|
37066
37198
|
width: 8,
|
|
37067
37199
|
height: 8,
|
|
37068
37200
|
margin: '0 2px'
|
|
37069
37201
|
}, dotActive && {
|
|
37070
|
-
backgroundColor: theme.palette.primary.main
|
|
37202
|
+
backgroundColor: (theme.vars || theme).palette.primary.main
|
|
37071
37203
|
})));
|
|
37072
37204
|
const MobileStepperProgress = styled$1(LinearProgress$1, {
|
|
37073
37205
|
name: 'MuiMobileStepper',
|
|
@@ -38192,10 +38324,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38192
38324
|
minWidth: 32,
|
|
38193
38325
|
padding: '0 6px',
|
|
38194
38326
|
margin: '0 3px',
|
|
38195
|
-
color: theme.palette.text.primary,
|
|
38327
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
38196
38328
|
height: 'auto',
|
|
38197
38329
|
[`&.${paginationItemClasses$1.disabled}`]: {
|
|
38198
|
-
opacity: theme.palette.action.disabledOpacity
|
|
38330
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
38199
38331
|
}
|
|
38200
38332
|
}, ownerState.size === 'small' && {
|
|
38201
38333
|
minWidth: 26,
|
|
@@ -38223,39 +38355,39 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38223
38355
|
height: 32,
|
|
38224
38356
|
padding: '0 6px',
|
|
38225
38357
|
margin: '0 3px',
|
|
38226
|
-
color: theme.palette.text.primary,
|
|
38358
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
38227
38359
|
[`&.${paginationItemClasses$1.focusVisible}`]: {
|
|
38228
|
-
backgroundColor: theme.palette.action.focus
|
|
38360
|
+
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
38229
38361
|
},
|
|
38230
38362
|
[`&.${paginationItemClasses$1.disabled}`]: {
|
|
38231
|
-
opacity: theme.palette.action.disabledOpacity
|
|
38363
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
38232
38364
|
},
|
|
38233
38365
|
transition: theme.transitions.create(['color', 'background-color'], {
|
|
38234
38366
|
duration: theme.transitions.duration.short
|
|
38235
38367
|
}),
|
|
38236
38368
|
'&:hover': {
|
|
38237
|
-
backgroundColor: theme.palette.action.hover,
|
|
38369
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
38238
38370
|
// Reset on touch devices, it doesn't add specificity
|
|
38239
38371
|
'@media (hover: none)': {
|
|
38240
38372
|
backgroundColor: 'transparent'
|
|
38241
38373
|
}
|
|
38242
38374
|
},
|
|
38243
38375
|
[`&.${paginationItemClasses$1.selected}`]: {
|
|
38244
|
-
backgroundColor: theme.palette.action.selected,
|
|
38376
|
+
backgroundColor: (theme.vars || theme).palette.action.selected,
|
|
38245
38377
|
'&:hover': {
|
|
38246
|
-
backgroundColor: alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
38378
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
38247
38379
|
// Reset on touch devices, it doesn't add specificity
|
|
38248
38380
|
'@media (hover: none)': {
|
|
38249
|
-
backgroundColor: theme.palette.action.selected
|
|
38381
|
+
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
38250
38382
|
}
|
|
38251
38383
|
},
|
|
38252
38384
|
[`&.${paginationItemClasses$1.focusVisible}`]: {
|
|
38253
|
-
backgroundColor: alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
38385
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selected} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
38254
38386
|
},
|
|
38255
38387
|
[`&.${paginationItemClasses$1.disabled}`]: {
|
|
38256
38388
|
opacity: 1,
|
|
38257
|
-
color: theme.palette.action.disabled,
|
|
38258
|
-
backgroundColor: theme.palette.action.selected
|
|
38389
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
38390
|
+
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
38259
38391
|
}
|
|
38260
38392
|
}
|
|
38261
38393
|
}, ownerState.size === 'small' && {
|
|
@@ -38271,49 +38403,49 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38271
38403
|
padding: '0 10px',
|
|
38272
38404
|
fontSize: theme.typography.pxToRem(15)
|
|
38273
38405
|
}, ownerState.shape === 'rounded' && {
|
|
38274
|
-
borderRadius: theme.shape.borderRadius
|
|
38406
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
38275
38407
|
}), ({
|
|
38276
38408
|
theme,
|
|
38277
38409
|
ownerState
|
|
38278
38410
|
}) => _extends({}, ownerState.variant === 'text' && {
|
|
38279
38411
|
[`&.${paginationItemClasses$1.selected}`]: _extends({}, ownerState.color !== 'standard' && {
|
|
38280
|
-
color: theme.palette[ownerState.color].contrastText,
|
|
38281
|
-
backgroundColor: theme.palette[ownerState.color].main,
|
|
38412
|
+
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
38413
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
38282
38414
|
'&:hover': {
|
|
38283
|
-
backgroundColor: theme.palette[ownerState.color].dark,
|
|
38415
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
38284
38416
|
// Reset on touch devices, it doesn't add specificity
|
|
38285
38417
|
'@media (hover: none)': {
|
|
38286
|
-
backgroundColor: theme.palette[ownerState.color].main
|
|
38418
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
38287
38419
|
}
|
|
38288
38420
|
},
|
|
38289
38421
|
[`&.${paginationItemClasses$1.focusVisible}`]: {
|
|
38290
|
-
backgroundColor: theme.palette[ownerState.color].dark
|
|
38422
|
+
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
|
|
38291
38423
|
}
|
|
38292
38424
|
}, {
|
|
38293
38425
|
[`&.${paginationItemClasses$1.disabled}`]: {
|
|
38294
|
-
color: theme.palette.action.disabled
|
|
38426
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
38295
38427
|
}
|
|
38296
38428
|
})
|
|
38297
38429
|
}, ownerState.variant === 'outlined' && {
|
|
38298
|
-
border: `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
|
|
38430
|
+
border: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,
|
|
38299
38431
|
[`&.${paginationItemClasses$1.selected}`]: _extends({}, ownerState.color !== 'standard' && {
|
|
38300
|
-
color: theme.palette[ownerState.color].main,
|
|
38301
|
-
border: `1px solid ${alpha(theme.palette[ownerState.color].main, 0.5)}`,
|
|
38302
|
-
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity),
|
|
38432
|
+
color: (theme.vars || theme).palette[ownerState.color].main,
|
|
38433
|
+
border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.5)` : alpha(theme.palette[ownerState.color].main, 0.5)}`,
|
|
38434
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / ${theme.vars.palette.action.activatedOpacity})` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity),
|
|
38303
38435
|
'&:hover': {
|
|
38304
|
-
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
|
|
38436
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
|
|
38305
38437
|
// Reset on touch devices, it doesn't add specificity
|
|
38306
38438
|
'@media (hover: none)': {
|
|
38307
38439
|
backgroundColor: 'transparent'
|
|
38308
38440
|
}
|
|
38309
38441
|
},
|
|
38310
38442
|
[`&.${paginationItemClasses$1.focusVisible}`]: {
|
|
38311
|
-
backgroundColor: alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
|
|
38443
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
|
|
38312
38444
|
}
|
|
38313
38445
|
}, {
|
|
38314
38446
|
[`&.${paginationItemClasses$1.disabled}`]: {
|
|
38315
|
-
borderColor: theme.palette.action.disabledBackground,
|
|
38316
|
-
color: theme.palette.action.disabled
|
|
38447
|
+
borderColor: (theme.vars || theme).palette.action.disabledBackground,
|
|
38448
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
38317
38449
|
}
|
|
38318
38450
|
})
|
|
38319
38451
|
}));
|
|
@@ -39285,7 +39417,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39285
39417
|
textAlign: 'left',
|
|
39286
39418
|
WebkitTapHighlightColor: 'transparent',
|
|
39287
39419
|
[`&.${ratingClasses$1.disabled}`]: {
|
|
39288
|
-
opacity: theme.palette.action.disabledOpacity,
|
|
39420
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity,
|
|
39289
39421
|
pointerEvents: 'none'
|
|
39290
39422
|
},
|
|
39291
39423
|
[`&.${ratingClasses$1.focusVisible} .${ratingClasses$1.iconActive}`]: {
|
|
@@ -39338,7 +39470,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39338
39470
|
}, ownerState.iconActive && {
|
|
39339
39471
|
transform: 'scale(1.2)'
|
|
39340
39472
|
}, ownerState.iconEmpty && {
|
|
39341
|
-
color: theme.palette.action.disabled
|
|
39473
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
39342
39474
|
}));
|
|
39343
39475
|
const RatingDecimal = styled$1('span', {
|
|
39344
39476
|
name: 'MuiRating',
|
|
@@ -42162,7 +42294,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42162
42294
|
});
|
|
42163
42295
|
|
|
42164
42296
|
return _extends({
|
|
42165
|
-
zIndex: theme.zIndex.snackbar,
|
|
42297
|
+
zIndex: (theme.vars || theme).zIndex.snackbar,
|
|
42166
42298
|
position: 'fixed',
|
|
42167
42299
|
display: 'flex',
|
|
42168
42300
|
left: 8,
|
|
@@ -42858,7 +42990,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42858
42990
|
theme,
|
|
42859
42991
|
ownerState
|
|
42860
42992
|
}) => _extends({
|
|
42861
|
-
zIndex: theme.zIndex.speedDial,
|
|
42993
|
+
zIndex: (theme.vars || theme).zIndex.speedDial,
|
|
42862
42994
|
display: 'flex',
|
|
42863
42995
|
alignItems: 'center',
|
|
42864
42996
|
pointerEvents: 'none'
|
|
@@ -43388,7 +43520,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43388
43520
|
ownerState,
|
|
43389
43521
|
open
|
|
43390
43522
|
}) => _extends({
|
|
43391
|
-
zIndex: theme.zIndex.tooltip,
|
|
43523
|
+
zIndex: (theme.vars || theme).zIndex.tooltip,
|
|
43392
43524
|
pointerEvents: 'none'
|
|
43393
43525
|
}, !ownerState.disableInteractive && {
|
|
43394
43526
|
pointerEvents: 'auto'
|
|
@@ -43449,9 +43581,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43449
43581
|
theme,
|
|
43450
43582
|
ownerState
|
|
43451
43583
|
}) => _extends({
|
|
43452
|
-
backgroundColor: alpha(theme.palette.grey[700], 0.92),
|
|
43453
|
-
borderRadius: theme.shape.borderRadius,
|
|
43454
|
-
color: theme.palette.common.white,
|
|
43584
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.grey.darkChannel} / 0.92)` : alpha(theme.palette.grey[700], 0.92),
|
|
43585
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
43586
|
+
color: (theme.vars || theme).palette.common.white,
|
|
43455
43587
|
fontFamily: theme.typography.fontFamily,
|
|
43456
43588
|
padding: '4px 8px',
|
|
43457
43589
|
fontSize: theme.typography.pxToRem(11),
|
|
@@ -43517,7 +43649,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
43517
43649
|
/* = width / sqrt(2) = (length of the hypotenuse) */
|
|
43518
43650
|
,
|
|
43519
43651
|
boxSizing: 'border-box',
|
|
43520
|
-
color: alpha(theme.palette.grey[700], 0.9),
|
|
43652
|
+
color: theme.vars ? `rgba(${theme.vars.palette.grey.darkChannel} / 0.9)` : alpha(theme.palette.grey[700], 0.9),
|
|
43521
43653
|
'&::before': {
|
|
43522
43654
|
content: '""',
|
|
43523
43655
|
margin: 'auto',
|
|
@@ -44721,15 +44853,22 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44721
44853
|
var Stack$1 = Stack;
|
|
44722
44854
|
|
|
44723
44855
|
/**
|
|
44724
|
-
*
|
|
44856
|
+
* Provides information about the current step in Stepper.
|
|
44725
44857
|
*/
|
|
44726
|
-
|
|
44727
44858
|
const StepperContext = /*#__PURE__*/React__namespace.createContext({});
|
|
44728
44859
|
|
|
44729
44860
|
{
|
|
44730
44861
|
StepperContext.displayName = 'StepperContext';
|
|
44731
44862
|
}
|
|
44863
|
+
/**
|
|
44864
|
+
* Returns the current StepperContext or an empty object if no StepperContext
|
|
44865
|
+
* has been defined in the component tree.
|
|
44866
|
+
*/
|
|
44867
|
+
|
|
44732
44868
|
|
|
44869
|
+
function useStepperContext() {
|
|
44870
|
+
return React__namespace.useContext(StepperContext);
|
|
44871
|
+
}
|
|
44733
44872
|
var StepperContext$1 = StepperContext;
|
|
44734
44873
|
|
|
44735
44874
|
/**
|
|
@@ -44968,15 +45107,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44968
45107
|
transition: theme.transitions.create('color', {
|
|
44969
45108
|
duration: theme.transitions.duration.shortest
|
|
44970
45109
|
}),
|
|
44971
|
-
color: theme.palette.text.disabled,
|
|
45110
|
+
color: (theme.vars || theme).palette.text.disabled,
|
|
44972
45111
|
[`&.${stepIconClasses$1.completed}`]: {
|
|
44973
|
-
color: theme.palette.primary.main
|
|
45112
|
+
color: (theme.vars || theme).palette.primary.main
|
|
44974
45113
|
},
|
|
44975
45114
|
[`&.${stepIconClasses$1.active}`]: {
|
|
44976
|
-
color: theme.palette.primary.main
|
|
45115
|
+
color: (theme.vars || theme).palette.primary.main
|
|
44977
45116
|
},
|
|
44978
45117
|
[`&.${stepIconClasses$1.error}`]: {
|
|
44979
|
-
color: theme.palette.error.main
|
|
45118
|
+
color: (theme.vars || theme).palette.error.main
|
|
44980
45119
|
}
|
|
44981
45120
|
}));
|
|
44982
45121
|
const StepIconText = styled$1('text', {
|
|
@@ -44986,7 +45125,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
44986
45125
|
})(({
|
|
44987
45126
|
theme
|
|
44988
45127
|
}) => ({
|
|
44989
|
-
fill: theme.palette.primary.contrastText,
|
|
45128
|
+
fill: (theme.vars || theme).palette.primary.contrastText,
|
|
44990
45129
|
fontSize: theme.typography.caption.fontSize,
|
|
44991
45130
|
fontFamily: theme.typography.fontFamily
|
|
44992
45131
|
}));
|
|
@@ -45167,11 +45306,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45167
45306
|
duration: theme.transitions.duration.shortest
|
|
45168
45307
|
}),
|
|
45169
45308
|
[`&.${stepLabelClasses$1.active}`]: {
|
|
45170
|
-
color: theme.palette.text.primary,
|
|
45309
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
45171
45310
|
fontWeight: 500
|
|
45172
45311
|
},
|
|
45173
45312
|
[`&.${stepLabelClasses$1.completed}`]: {
|
|
45174
|
-
color: theme.palette.text.primary,
|
|
45313
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
45175
45314
|
fontWeight: 500
|
|
45176
45315
|
},
|
|
45177
45316
|
[`&.${stepLabelClasses$1.alternativeLabel}`]: {
|
|
@@ -45179,7 +45318,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45179
45318
|
marginTop: 16
|
|
45180
45319
|
},
|
|
45181
45320
|
[`&.${stepLabelClasses$1.error}`]: {
|
|
45182
|
-
color: theme.palette.error.main
|
|
45321
|
+
color: (theme.vars || theme).palette.error.main
|
|
45183
45322
|
}
|
|
45184
45323
|
}));
|
|
45185
45324
|
const StepLabelIconContainer = styled$1('span', {
|
|
@@ -45203,7 +45342,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
45203
45342
|
theme
|
|
45204
45343
|
}) => ({
|
|
45205
45344
|
width: '100%',
|
|
45206
|
-
color: theme.palette.text.secondary
|
|
45345
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
45207
45346
|
}));
|
|
45208
45347
|
const StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
|
|
45209
45348
|
const props = useThemeProps({
|
|
@@ -47018,23 +47157,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47018
47157
|
opacity: 1
|
|
47019
47158
|
},
|
|
47020
47159
|
[`&.${tabClasses$1.disabled}`]: {
|
|
47021
|
-
opacity: theme.palette.action.disabledOpacity
|
|
47160
|
+
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
47022
47161
|
}
|
|
47023
47162
|
}, ownerState.textColor === 'primary' && {
|
|
47024
|
-
color: theme.palette.text.secondary,
|
|
47163
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
47025
47164
|
[`&.${tabClasses$1.selected}`]: {
|
|
47026
|
-
color: theme.palette.primary.main
|
|
47165
|
+
color: (theme.vars || theme).palette.primary.main
|
|
47027
47166
|
},
|
|
47028
47167
|
[`&.${tabClasses$1.disabled}`]: {
|
|
47029
|
-
color: theme.palette.text.disabled
|
|
47168
|
+
color: (theme.vars || theme).palette.text.disabled
|
|
47030
47169
|
}
|
|
47031
47170
|
}, ownerState.textColor === 'secondary' && {
|
|
47032
|
-
color: theme.palette.text.secondary,
|
|
47171
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
47033
47172
|
[`&.${tabClasses$1.selected}`]: {
|
|
47034
|
-
color: theme.palette.secondary.main
|
|
47173
|
+
color: (theme.vars || theme).palette.secondary.main
|
|
47035
47174
|
},
|
|
47036
47175
|
[`&.${tabClasses$1.disabled}`]: {
|
|
47037
|
-
color: theme.palette.text.disabled
|
|
47176
|
+
color: (theme.vars || theme).palette.text.disabled
|
|
47038
47177
|
}
|
|
47039
47178
|
}, ownerState.fullWidth && {
|
|
47040
47179
|
flexShrink: 1,
|
|
@@ -47276,7 +47415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47276
47415
|
borderSpacing: 0,
|
|
47277
47416
|
'& caption': _extends({}, theme.typography.body2, {
|
|
47278
47417
|
padding: theme.spacing(2),
|
|
47279
|
-
color: theme.palette.text.secondary,
|
|
47418
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
47280
47419
|
textAlign: 'left',
|
|
47281
47420
|
captionSide: 'bottom'
|
|
47282
47421
|
})
|
|
@@ -48263,7 +48402,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48263
48402
|
theme
|
|
48264
48403
|
}) => ({
|
|
48265
48404
|
overflow: 'auto',
|
|
48266
|
-
color: theme.palette.text.primary,
|
|
48405
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
48267
48406
|
fontSize: theme.typography.pxToRem(14),
|
|
48268
48407
|
// Increase the specificity to override TableCell.
|
|
48269
48408
|
'&:last-child': {
|
|
@@ -48694,12 +48833,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48694
48833
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
48695
48834
|
outline: 0,
|
|
48696
48835
|
[`&.${tableRowClasses$1.hover}:hover`]: {
|
|
48697
|
-
backgroundColor: theme.palette.action.hover
|
|
48836
|
+
backgroundColor: (theme.vars || theme).palette.action.hover
|
|
48698
48837
|
},
|
|
48699
48838
|
[`&.${tableRowClasses$1.selected}`]: {
|
|
48700
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
48839
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
48701
48840
|
'&:hover': {
|
|
48702
|
-
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
|
|
48841
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
|
|
48703
48842
|
}
|
|
48704
48843
|
}
|
|
48705
48844
|
}));
|
|
@@ -48833,19 +48972,19 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
48833
48972
|
flexDirection: 'inherit',
|
|
48834
48973
|
alignItems: 'center',
|
|
48835
48974
|
'&:focus': {
|
|
48836
|
-
color: theme.palette.text.secondary
|
|
48975
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
48837
48976
|
},
|
|
48838
48977
|
'&:hover': {
|
|
48839
|
-
color: theme.palette.text.secondary,
|
|
48978
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
48840
48979
|
[`& .${tableSortLabelClasses$1.icon}`]: {
|
|
48841
48980
|
opacity: 0.5
|
|
48842
48981
|
}
|
|
48843
48982
|
},
|
|
48844
48983
|
[`&.${tableSortLabelClasses$1.active}`]: {
|
|
48845
|
-
color: theme.palette.text.primary,
|
|
48984
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
48846
48985
|
[`& .${tableSortLabelClasses$1.icon}`]: {
|
|
48847
48986
|
opacity: 1,
|
|
48848
|
-
color: theme.palette.text.secondary
|
|
48987
|
+
color: (theme.vars || theme).palette.text.secondary
|
|
48849
48988
|
}
|
|
48850
48989
|
}
|
|
48851
48990
|
}));
|
|
@@ -49383,9 +49522,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49383
49522
|
width: '100%',
|
|
49384
49523
|
transition: theme.transitions.create()
|
|
49385
49524
|
}, ownerState.indicatorColor === 'primary' && {
|
|
49386
|
-
backgroundColor: theme.palette.primary.main
|
|
49525
|
+
backgroundColor: (theme.vars || theme).palette.primary.main
|
|
49387
49526
|
}, ownerState.indicatorColor === 'secondary' && {
|
|
49388
|
-
backgroundColor: theme.palette.secondary.main
|
|
49527
|
+
backgroundColor: (theme.vars || theme).palette.secondary.main
|
|
49389
49528
|
}, ownerState.vertical && {
|
|
49390
49529
|
height: '100%',
|
|
49391
49530
|
width: 2,
|
|
@@ -50496,35 +50635,42 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50496
50635
|
theme,
|
|
50497
50636
|
ownerState
|
|
50498
50637
|
}) => {
|
|
50499
|
-
|
|
50638
|
+
let selectedColor = ownerState.color === 'standard' ? theme.palette.text.primary : theme.palette[ownerState.color].main;
|
|
50639
|
+
let selectedColorChannel;
|
|
50640
|
+
|
|
50641
|
+
if (theme.vars) {
|
|
50642
|
+
selectedColor = ownerState.color === 'standard' ? theme.vars.palette.text.primary : theme.vars.palette[ownerState.color].main;
|
|
50643
|
+
selectedColorChannel = ownerState.color === 'standard' ? theme.vars.palette.text.primaryChannel : theme.vars.palette[ownerState.color].mainChannel;
|
|
50644
|
+
}
|
|
50645
|
+
|
|
50500
50646
|
return _extends({}, theme.typography.button, {
|
|
50501
|
-
borderRadius: theme.shape.borderRadius,
|
|
50647
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
50502
50648
|
padding: 11,
|
|
50503
|
-
border: `1px solid ${theme.palette.divider}`,
|
|
50504
|
-
color: theme.palette.action.active
|
|
50649
|
+
border: `1px solid ${(theme.vars || theme).palette.divider}`,
|
|
50650
|
+
color: (theme.vars || theme).palette.action.active
|
|
50505
50651
|
}, ownerState.fullWidth && {
|
|
50506
50652
|
width: '100%'
|
|
50507
50653
|
}, {
|
|
50508
50654
|
[`&.${toggleButtonClasses$1.disabled}`]: {
|
|
50509
|
-
color: theme.palette.action.disabled,
|
|
50510
|
-
border: `1px solid ${theme.palette.action.disabledBackground}`
|
|
50655
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
50656
|
+
border: `1px solid ${(theme.vars || theme).palette.action.disabledBackground}`
|
|
50511
50657
|
},
|
|
50512
50658
|
'&:hover': {
|
|
50513
50659
|
textDecoration: 'none',
|
|
50514
50660
|
// Reset on mouse devices
|
|
50515
|
-
backgroundColor: alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
|
50661
|
+
backgroundColor: theme.vars ? `rgba(${theme.vars.palette.text.primaryChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity),
|
|
50516
50662
|
'@media (hover: none)': {
|
|
50517
50663
|
backgroundColor: 'transparent'
|
|
50518
50664
|
}
|
|
50519
50665
|
},
|
|
50520
50666
|
[`&.${toggleButtonClasses$1.selected}`]: {
|
|
50521
50667
|
color: selectedColor,
|
|
50522
|
-
backgroundColor: alpha(selectedColor, theme.palette.action.selectedOpacity),
|
|
50668
|
+
backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(selectedColor, theme.palette.action.selectedOpacity),
|
|
50523
50669
|
'&:hover': {
|
|
50524
|
-
backgroundColor: alpha(selectedColor, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
50670
|
+
backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(selectedColor, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
50525
50671
|
// Reset on touch devices, it doesn't add specificity
|
|
50526
50672
|
'@media (hover: none)': {
|
|
50527
|
-
backgroundColor: alpha(selectedColor, theme.palette.action.selectedOpacity)
|
|
50673
|
+
backgroundColor: theme.vars ? `rgba(${selectedColorChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(selectedColor, theme.palette.action.selectedOpacity)
|
|
50528
50674
|
}
|
|
50529
50675
|
}
|
|
50530
50676
|
}
|
|
@@ -50752,7 +50898,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
50752
50898
|
theme
|
|
50753
50899
|
}) => _extends({
|
|
50754
50900
|
display: 'inline-flex',
|
|
50755
|
-
borderRadius: theme.shape.borderRadius
|
|
50901
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
50756
50902
|
}, ownerState.orientation === 'vertical' && {
|
|
50757
50903
|
flexDirection: 'column'
|
|
50758
50904
|
}, ownerState.fullWidth && {
|
|
@@ -51132,6 +51278,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51132
51278
|
exports.StepIcon = StepIcon$1;
|
|
51133
51279
|
exports.StepLabel = StepLabel$1;
|
|
51134
51280
|
exports.Stepper = Stepper$1;
|
|
51281
|
+
exports.StepperContext = StepperContext$1;
|
|
51135
51282
|
exports.StyledEngineProvider = StyledEngineProvider;
|
|
51136
51283
|
exports.SvgIcon = SvgIcon$1;
|
|
51137
51284
|
exports.SwipeableDrawer = SwipeableDrawer$1;
|
|
@@ -51195,7 +51342,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51195
51342
|
exports.createMuiTheme = createMuiTheme;
|
|
51196
51343
|
exports.createStyles = createStyles;
|
|
51197
51344
|
exports.createSvgIcon = createSvgIcon;
|
|
51198
|
-
exports.createTheme = createTheme
|
|
51345
|
+
exports.createTheme = createTheme;
|
|
51199
51346
|
exports.css = css;
|
|
51200
51347
|
exports.darkScrollbar = darkScrollbar;
|
|
51201
51348
|
exports.darken = darken;
|
|
@@ -51213,7 +51360,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51213
51360
|
exports.easing = easing;
|
|
51214
51361
|
exports.emphasize = emphasize;
|
|
51215
51362
|
exports.experimentalStyled = styled$1;
|
|
51216
|
-
exports.experimental_extendTheme =
|
|
51363
|
+
exports.experimental_extendTheme = extendTheme;
|
|
51217
51364
|
exports.experimental_sx = sx;
|
|
51218
51365
|
exports.fabClasses = fabClasses$1;
|
|
51219
51366
|
exports.filledInputClasses = filledInputClasses$1;
|
|
@@ -51442,6 +51589,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
51442
51589
|
exports.useRadioGroup = useRadioGroup;
|
|
51443
51590
|
exports.useScrollTrigger = useScrollTrigger;
|
|
51444
51591
|
exports.useStepContext = useStepContext;
|
|
51592
|
+
exports.useStepperContext = useStepperContext;
|
|
51445
51593
|
exports.useTheme = useTheme;
|
|
51446
51594
|
exports.useThemeProps = useThemeProps;
|
|
51447
51595
|
exports.withStyles = withStyles;
|