react-easy-wall 2.0.8 → 2.0.9
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/dist/cjs/_virtual/index10.cjs +2 -2
- package/dist/cjs/_virtual/index11.cjs +2 -2
- package/dist/cjs/_virtual/index12.cjs +2 -2
- package/dist/cjs/_virtual/index14.cjs +2 -2
- package/dist/cjs/_virtual/index15.cjs +2 -2
- package/dist/cjs/_virtual/index16.cjs +2 -2
- package/dist/cjs/_virtual/index17.cjs +2 -2
- package/dist/cjs/_virtual/index4.cjs +4 -4
- package/dist/cjs/_virtual/index5.cjs +4 -4
- package/dist/cjs/_virtual/index6.cjs +2 -8
- package/dist/cjs/_virtual/index6.cjs.map +1 -1
- package/dist/cjs/_virtual/index7.cjs +4 -2
- package/dist/cjs/_virtual/index7.cjs.map +1 -1
- package/dist/cjs/_virtual/index8.cjs +2 -4
- package/dist/cjs/_virtual/index8.cjs.map +1 -1
- package/dist/cjs/_virtual/index9.cjs +2 -2
- package/dist/cjs/components/comment/components/AddComment.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs +0 -91
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs +0 -20
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs +0 -117
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs +0 -165
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs +0 -36
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs +0 -16
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs +0 -34
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs +0 -84
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs +0 -72
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs +0 -18
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs +0 -156
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs +0 -112
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs +0 -77
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs +0 -11
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs +0 -103
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs +0 -86
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs +0 -48
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs +0 -60
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs +0 -44
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs +0 -129
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs +0 -81
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs +0 -24
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs +0 -23
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs +0 -75
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs +0 -174
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs +0 -221
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs +0 -33
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs +0 -106
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs +0 -73
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs +0 -87
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs +2 -13
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs +1 -34
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs +2 -2
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs +0 -22
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs +0 -8
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs +1 -25
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs +1 -6
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs +0 -25
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs +0 -11
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs +1 -127
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs +1 -13
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs +0 -17
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs +1 -12
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs +0 -16
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs +0 -19
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs +0 -16
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs +0 -22
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +0 -28
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs +2 -5
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs +2 -24
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs +1 -19
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs +0 -3
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs +6 -13
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs +1 -79
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs +4 -30
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs +1 -4
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs +0 -5
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs.map +1 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/debug/src/index.cjs +1 -1
- package/dist/cjs/node_modules/follow-redirects/index.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.cjs +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs +3 -25
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs +0 -3
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs +0 -10
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/mime-types/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs +4 -36
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs +0 -4
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/cookie/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/path-to-regexp/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs +0 -18
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs +4 -38
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +1 -7
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs +0 -16
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs.map +1 -1
- package/dist/cjs/node_modules/prop-types/index.cjs +5 -14
- package/dist/cjs/node_modules/prop-types/index.cjs.map +1 -1
- package/dist/cjs/node_modules/proxy-from-env/index.cjs +1 -1
- package/dist/cjs/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs +1 -189
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs +1 -59
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs.map +1 -1
- package/dist/cjs/shared/components/dialog/DialogDefault.cjs +1 -1
- package/dist/esm/_virtual/index10.js +2 -2
- package/dist/esm/_virtual/index11.js +2 -2
- package/dist/esm/_virtual/index12.js +2 -2
- package/dist/esm/_virtual/index14.js +2 -2
- package/dist/esm/_virtual/index15.js +2 -2
- package/dist/esm/_virtual/index16.js +2 -2
- package/dist/esm/_virtual/index17.js +2 -2
- package/dist/esm/_virtual/index4.js +4 -4
- package/dist/esm/_virtual/index5.js +4 -4
- package/dist/esm/_virtual/index6.js +2 -6
- package/dist/esm/_virtual/index6.js.map +1 -1
- package/dist/esm/_virtual/index7.js +4 -2
- package/dist/esm/_virtual/index7.js.map +1 -1
- package/dist/esm/_virtual/index8.js +2 -4
- package/dist/esm/_virtual/index8.js.map +1 -1
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/components/comment/components/AddComment.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +0 -91
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +0 -20
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +0 -117
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +0 -165
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +0 -36
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +0 -16
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +0 -34
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +0 -84
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +0 -72
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +0 -18
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +0 -156
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +0 -112
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +0 -77
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +0 -11
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +0 -103
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +0 -86
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -48
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +0 -60
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/List.js +0 -44
- package/dist/esm/node_modules/@mui/material/esm/List/List.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +0 -129
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +0 -81
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +0 -24
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -23
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +0 -75
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +0 -174
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +0 -221
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +0 -33
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +0 -106
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +0 -73
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +0 -87
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js +2 -13
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js +1 -34
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js +2 -2
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js +0 -22
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js +0 -8
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +0 -25
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +0 -5
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js +0 -11
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -127
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +1 -13
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +0 -17
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js +0 -5
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js +1 -12
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js +0 -16
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -19
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +0 -16
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -22
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -28
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js +2 -5
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +2 -24
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js +1 -19
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -3
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js +6 -13
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -79
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js +4 -30
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/style/style.js +1 -4
- package/dist/esm/node_modules/@mui/system/esm/style/style.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -5
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -1
- package/dist/esm/node_modules/debug/src/index.js +1 -1
- package/dist/esm/node_modules/follow-redirects/index.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/jss/dist/jss.esm.js +3 -25
- package/dist/esm/node_modules/jss/dist/jss.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +0 -3
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +0 -10
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -1
- package/dist/esm/node_modules/mime-types/index.js +1 -1
- package/dist/esm/node_modules/next/dist/client/route-loader.js +4 -36
- package/dist/esm/node_modules/next/dist/client/route-loader.js.map +1 -1
- package/dist/esm/node_modules/next/dist/client/with-router.js +0 -4
- package/dist/esm/node_modules/next/dist/client/with-router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/compiled/cookie/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -1
- package/dist/esm/node_modules/next/dist/lib/is-error.js +0 -18
- package/dist/esm/node_modules/next/dist/lib/is-error.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js +4 -38
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +1 -7
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/index.js +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js +0 -16
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js.map +1 -1
- package/dist/esm/node_modules/prop-types/index.js +2 -11
- package/dist/esm/node_modules/prop-types/index.js.map +1 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
- package/dist/esm/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -189
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -59
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/esm/shared/components/dialog/DialogDefault.js +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,6 @@ import deepmerge from '../../../utils/esm/deepmerge/deepmerge.js';
|
|
|
11
11
|
import defaultSxConfig from '../../../system/esm/styleFunctionSx/defaultSxConfig.js';
|
|
12
12
|
import styleFunctionSx from '../../../system/esm/styleFunctionSx/styleFunctionSx.js';
|
|
13
13
|
import { darken, lighten, alpha } from '../../../system/esm/colorManipulator/colorManipulator.js';
|
|
14
|
-
import generateUtilityClass from '../../../utils/esm/generateUtilityClass/generateUtilityClass.js';
|
|
15
14
|
|
|
16
15
|
function coefficientToPercentage(coefficient) {
|
|
17
16
|
if (typeof coefficient === 'number') {
|
|
@@ -81,9 +80,7 @@ function createThemeNoVars(options = {}, ...args) {
|
|
|
81
80
|
// The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.
|
|
82
81
|
// `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.
|
|
83
82
|
options.generateThemeVars === undefined) {
|
|
84
|
-
throw new Error(
|
|
85
|
-
// #host-reference
|
|
86
|
-
'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : formatMuiErrorMessage(20));
|
|
83
|
+
throw new Error(formatMuiErrorMessage(20));
|
|
87
84
|
}
|
|
88
85
|
const palette = createPalette({
|
|
89
86
|
...paletteInput,
|
|
@@ -103,36 +100,6 @@ function createThemeNoVars(options = {}, ...args) {
|
|
|
103
100
|
});
|
|
104
101
|
muiTheme = deepmerge(muiTheme, other);
|
|
105
102
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
106
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
107
|
-
// TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.
|
|
108
|
-
const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];
|
|
109
|
-
const traverse = (node, component) => {
|
|
110
|
-
let key;
|
|
111
|
-
|
|
112
|
-
// eslint-disable-next-line guard-for-in
|
|
113
|
-
for (key in node) {
|
|
114
|
-
const child = node[key];
|
|
115
|
-
if (stateClasses.includes(key) && Object.keys(child).length > 0) {
|
|
116
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
117
|
-
const stateClass = generateUtilityClass('', key);
|
|
118
|
-
console.error([`MUI: The \`${component}\` component increases ` + `the CSS specificity of the \`${key}\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({
|
|
119
|
-
root: {
|
|
120
|
-
[`&.${stateClass}`]: child
|
|
121
|
-
}
|
|
122
|
-
}, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\n'));
|
|
123
|
-
}
|
|
124
|
-
// Remove the style to prevent global conflicts.
|
|
125
|
-
node[key] = {};
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
};
|
|
129
|
-
Object.keys(muiTheme.components).forEach(component => {
|
|
130
|
-
const styleOverrides = muiTheme.components[component].styleOverrides;
|
|
131
|
-
if (styleOverrides && component.startsWith('Mui')) {
|
|
132
|
-
traverse(styleOverrides, component);
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
103
|
muiTheme.unstable_sxConfig = {
|
|
137
104
|
...defaultSxConfig,
|
|
138
105
|
...other?.unstable_sxConfig
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createThemeNoVars.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createThemeNoVars.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport { alpha as systemAlpha, lighten as systemLighten, darken as systemDarken } from '@mui/system/colorManipulator';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.js\";\nimport createPalette from \"./createPalette.js\";\nimport createTypography from \"./createTypography.js\";\nimport shadows from \"./shadows.js\";\nimport createTransitions from \"./createTransitions.js\";\nimport zIndex from \"./zIndex.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction coefficientToPercentage(coefficient) {\n if (typeof coefficient === 'number') {\n return `${(coefficient * 100).toFixed(0)}%`;\n }\n return `calc((${coefficient}) * 100%)`;\n}\n\n// This can be removed when moved to `color-mix()` entirely.\nconst parseAddition = str => {\n if (!Number.isNaN(+str)) {\n return +str;\n }\n const numbers = str.match(/\\d*\\.?\\d+/g);\n if (!numbers) {\n return 0;\n }\n let sum = 0;\n for (let i = 0; i < numbers.length; i += 1) {\n sum += +numbers[i];\n }\n return sum;\n};\nfunction attachColorManipulators(theme) {\n Object.assign(theme, {\n alpha(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `oklch(from ${color} l c h / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n if (obj.vars) {\n // To preserve the behavior of the CSS theme variables\n // In the future, this could be replaced by `color-mix` (when https://caniuse.com/?search=color-mix reaches 95%).\n return `rgba(${color.replace(/var\\(--([^,\\s)]+)(?:,[^)]+)?\\)+/g, 'var(--$1Channel)')} / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n return systemAlpha(color, parseAddition(coefficient));\n },\n lighten(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #fff ${coefficientToPercentage(coefficient)})`;\n }\n return systemLighten(color, coefficient);\n },\n darken(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #000 ${coefficientToPercentage(coefficient)})`;\n }\n return systemDarken(color, coefficient);\n }\n });\n}\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n colorSpace,\n ...other\n } = options;\n if (options.vars &&\n // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.\n // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.\n options.generateThemeVars === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: `vars` is a private field used for CSS variables support.\\n' +\n // #host-reference\n 'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : _formatErrorMessage(20));\n }\n const palette = createPalette({\n ...paletteInput,\n colorSpace\n });\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n muiTheme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n attachColorManipulators(muiTheme);\n return muiTheme;\n}\nexport default createThemeNoVars;"],"names":["systemAlpha","systemLighten","systemDarken","_formatErrorMessage","systemCreateTheme"],"mappings":";;;;;;;;;;;;;;;AAaA,SAAS,uBAAuB,CAAC,WAAW,EAAE;AAC9C,EAAE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;AACvC,IAAI,OAAO,CAAC,EAAE,CAAC,WAAW,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/C,EAAE;AACF,EAAE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC;AACxC;;AAEA;AACA,MAAM,aAAa,GAAG,GAAG,IAAI;AAC7B,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE;AAC3B,IAAI,OAAO,CAAC,GAAG;AACf,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC;AACzC,EAAE,IAAI,CAAC,OAAO,EAAE;AAChB,IAAI,OAAO,CAAC;AACZ,EAAE;AACF,EAAE,IAAI,GAAG,GAAG,CAAC;AACb,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE;AAC9C,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACtB,EAAE;AACF,EAAE,OAAO,GAAG;AACZ,CAAC;AACD,SAAS,uBAAuB,CAAC,KAAK,EAAE;AACxC,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;AACvB,IAAI,KAAK,CAAC,KAAK,EAAE,WAAW,EAAE;AAC9B,MAAM,MAAM,GAAG,GAAG,IAAI,IAAI,KAAK;AAC/B,MAAM,IAAI,GAAG,CAAC,UAAU,EAAE;AAC1B,QAAQ,OAAO,CAAC,WAAW,EAAE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E;AACpB,gBAAgB,CAAC,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC,GAAG;AACrC;AACA,aAAa,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE,uCAAuC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACjF,UAAU;AACV;AACA,UAAU,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE;AACxB,QAAQ;AACR,MAAM;AACN,IAAI,CAAC;AACL,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,SAAS,IAAI;AAC1D,MAAM,MAAM,cAAc,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,cAAc;AAC1E,MAAM,IAAI,cAAc,IAAI,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AACzD,QAAQ,QAAQ,CAAC,cAAc,EAAE,SAAS,CAAC;AAC3C,MAAM;AACN,IAAI,CAAC,CAAC;AACN,EAAE;AACF,EAAE,QAAQ,CAAC,iBAAiB,GAAG;AAC/B,IAAI,GAAG,eAAe;AACtB,IAAI,GAAG,KAAK,EAAE;AACd,GAAG;AACH,EAAE,QAAQ,CAAC,WAAW,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE;AAC5C,IAAI,OAAO,eAAe,CAAC;AAC3B,MAAM,EAAE,EAAE,KAAK;AACf,MAAM,KAAK,EAAE;AACb,KAAK,CAAC;AACN,EAAE,CAAC;AACH,EAAE,QAAQ,CAAC,eAAe,GAAG,cAAc,CAAC;;AAE5C,EAAE,uBAAuB,CAAC,QAAQ,CAAC;AACnC,EAAE,OAAO,QAAQ;AACjB;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"createThemeNoVars.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createThemeNoVars.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport { alpha as systemAlpha, lighten as systemLighten, darken as systemDarken } from '@mui/system/colorManipulator';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.js\";\nimport createPalette from \"./createPalette.js\";\nimport createTypography from \"./createTypography.js\";\nimport shadows from \"./shadows.js\";\nimport createTransitions from \"./createTransitions.js\";\nimport zIndex from \"./zIndex.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nfunction coefficientToPercentage(coefficient) {\n if (typeof coefficient === 'number') {\n return `${(coefficient * 100).toFixed(0)}%`;\n }\n return `calc((${coefficient}) * 100%)`;\n}\n\n// This can be removed when moved to `color-mix()` entirely.\nconst parseAddition = str => {\n if (!Number.isNaN(+str)) {\n return +str;\n }\n const numbers = str.match(/\\d*\\.?\\d+/g);\n if (!numbers) {\n return 0;\n }\n let sum = 0;\n for (let i = 0; i < numbers.length; i += 1) {\n sum += +numbers[i];\n }\n return sum;\n};\nfunction attachColorManipulators(theme) {\n Object.assign(theme, {\n alpha(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `oklch(from ${color} l c h / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n if (obj.vars) {\n // To preserve the behavior of the CSS theme variables\n // In the future, this could be replaced by `color-mix` (when https://caniuse.com/?search=color-mix reaches 95%).\n return `rgba(${color.replace(/var\\(--([^,\\s)]+)(?:,[^)]+)?\\)+/g, 'var(--$1Channel)')} / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n return systemAlpha(color, parseAddition(coefficient));\n },\n lighten(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #fff ${coefficientToPercentage(coefficient)})`;\n }\n return systemLighten(color, coefficient);\n },\n darken(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #000 ${coefficientToPercentage(coefficient)})`;\n }\n return systemDarken(color, coefficient);\n }\n });\n}\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n colorSpace,\n ...other\n } = options;\n if (options.vars &&\n // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.\n // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.\n options.generateThemeVars === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: `vars` is a private field used for CSS variables support.\\n' +\n // #host-reference\n 'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : _formatErrorMessage(20));\n }\n const palette = createPalette({\n ...paletteInput,\n colorSpace\n });\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n muiTheme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n attachColorManipulators(muiTheme);\n return muiTheme;\n}\nexport default createThemeNoVars;"],"names":["systemAlpha","systemLighten","systemDarken","_formatErrorMessage","systemCreateTheme"],"mappings":";;;;;;;;;;;;;;AAaA,SAAS,uBAAuB,CAAC,WAAW,EAAE;AAC9C,EAAE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;AACvC,IAAI,OAAO,CAAC,EAAE,CAAC,WAAW,GAAG,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/C,EAAE;AACF,EAAE,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,SAAS,CAAC;AACxC;;AAEA;AACA,MAAM,aAAa,GAAG,GAAG,IAAI;AAC7B,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,EAAE;AAC3B,IAAI,OAAO,CAAC,GAAG;AACf,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC;AACzC,EAAE,IAAI,CAAC,OAAO,EAAE;AAChB,IAAI,OAAO,CAA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C;AACJ,EAAE,MAAM,WAAW,GAAGC,WAAiB,CAAC,OAAO,CAAC;AAChD,EAAE,IAAI,QAAQ,GAAG,SAAS,CAAC,WAAW,EAAE;AACxC,IAAI,MAAM,EAAE,YAAY,CAAC,WAAW,CAAC,WAAW,EAAE,WAAW,CAAC;AAC9D,IAAI,OAAO;AACX;AACA,IAAI,OAAO,EAAE,OAAO,CAAC,KAAK,EAAE;AAC5B,IAAI,UAAU,EAAE,gBAAgB,CAAC,OAAO,EAAE,eAAe,CAAC;AAC1D,IAAI,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAAC;AACpD,IAAI,MAAM,EAAE;AACZ,MAAM,GAAG;AACT;AACA,GAAG,CAAC;AACJ,EAAE,QAAQ,GAAG,SAAS,CAAC,QAAQ,EAAE,KAAK,CAAC;AACvC,EAAE,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,QAAQ,KAAK,SAAS,CAAC,GAAG,EAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC;AA+B/E,EAAE,QAAQ,CAAC,iBAAiB,GAAG;AAC/B,IAAI,GAAG,eAAe;AACtB,IAAI,GAAG,KAAK,EAAE;AACd,GAAG;AACH,EAAE,QAAQ,CAAC,WAAW,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE;AAC5C,IAAI,OAAO,eAAe,CAAC;AAC3B,MAAM,EAAE,EAAE,KAAK;AACf,MAAM,KAAK,EAAE;AACb,KAAK,CAAC;AACN,EAAE,CAAC;AACH,EAAE,QAAQ,CAAC,eAAe,GAAG,cAAc,CAAC;;AAE5C,EAAE,uBAAuB,CAAC,QAAQ,CAAC;AACnC,EAAE,OAAO,QAAQ;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -38,7 +38,7 @@ function setColorChannel(obj, key) {
|
|
|
38
38
|
if (!(`${key}Channel` in obj)) {
|
|
39
39
|
// custom channel token is not provided, generate one.
|
|
40
40
|
// if channel token can't be generated, show a warning.
|
|
41
|
-
obj[`${key}Channel`] = private_safeColorChannel(toRgb(obj[key])
|
|
41
|
+
obj[`${key}Channel`] = private_safeColorChannel(toRgb(obj[key]));
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function getSpacingVal(spacingInput) {
|
|
@@ -140,7 +140,7 @@ function createThemeWithVars(options = {}, ...args) {
|
|
|
140
140
|
defaultScheme = true;
|
|
141
141
|
}
|
|
142
142
|
if (!defaultScheme) {
|
|
143
|
-
throw new Error(
|
|
143
|
+
throw new Error(formatMuiErrorMessage(21, defaultColorScheme));
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
// The reason to use `oklch` is that it is the most perceptually uniform color space and widely supported.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createThemeWithVars.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createThemeWithVars.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';\nimport { createUnarySpacing } from '@mui/system/spacing';\nimport { prepareCssVars, prepareTypographyVars, createGetColorSchemeSelector } from '@mui/system/cssVars';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nimport createColorScheme, { getOpacity, getOverlays } from \"./createColorScheme.js\";\nimport defaultShouldSkipGeneratingVar from \"./shouldSkipGeneratingVar.js\";\nimport defaultGetSelector from \"./createGetSelector.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nimport { light, dark } from \"./createPalette.js\";\nfunction assignNode(obj, keys) {\n keys.forEach(k => {\n if (!obj[k]) {\n obj[k] = {};\n }\n });\n}\nfunction setColor(obj, key, defaultValue) {\n if (!obj[key] && defaultValue) {\n obj[key] = defaultValue;\n }\n}\nfunction toRgb(color) {\n if (typeof color !== 'string' || !color.startsWith('hsl')) {\n return color;\n }\n return hslToRgb(color);\n}\nfunction setColorChannel(obj, key) {\n if (!(`${key}Channel` in obj)) {\n // custom channel token is not provided, generate one.\n // if channel token can't be generated, show a warning.\n obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \\`palette.${key}Channel\\` because \\`palette.${key}\\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\\n' + `To suppress this warning, you need to explicitly provide the \\`palette.${key}Channel\\` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token.`);\n }\n}\nfunction getSpacingVal(spacingInput) {\n if (typeof spacingInput === 'number') {\n return `${spacingInput}px`;\n }\n if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {\n return spacingInput;\n }\n return '8px';\n}\nconst silent = fn => {\n try {\n return fn();\n } catch (error) {\n // ignore error\n }\n return undefined;\n};\nexport const createGetCssVar = (cssVarPrefix = 'mui') => systemCreateGetCssVar(cssVarPrefix);\nfunction attachColorScheme(colorSpace, colorSchemes, scheme, restTheme, colorScheme) {\n if (!scheme) {\n return undefined;\n }\n scheme = scheme === true ? {} : scheme;\n const mode = colorScheme === 'dark' ? 'dark' : 'light';\n if (!restTheme) {\n colorSchemes[colorScheme] = createColorScheme({\n ...scheme,\n palette: {\n mode,\n ...scheme?.palette\n },\n colorSpace\n });\n return undefined;\n }\n const {\n palette,\n ...muiTheme\n } = createThemeNoVars({\n ...restTheme,\n palette: {\n mode,\n ...scheme?.palette\n },\n colorSpace\n });\n colorSchemes[colorScheme] = {\n ...scheme,\n palette,\n opacity: {\n ...getOpacity(mode),\n ...scheme?.opacity\n },\n overlays: scheme?.overlays || getOverlays(mode)\n };\n return muiTheme;\n}\n\n/**\n * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.\n * This is better suited for apps that only need a single color scheme.\n *\n * To enable built-in `light` and `dark` color schemes, either:\n * 1. provide a `colorSchemeSelector` to define how the color schemes will change.\n * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.\n */\nexport default function createThemeWithVars(options = {}, ...args) {\n const {\n colorSchemes: colorSchemesInput = {\n light: true\n },\n defaultColorScheme: defaultColorSchemeInput,\n disableCssColorScheme = false,\n cssVarPrefix = 'mui',\n nativeColor = false,\n shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,\n colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,\n rootSelector = ':root',\n ...input\n } = options;\n const firstColorScheme = Object.keys(colorSchemesInput)[0];\n const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);\n const getCssVar = createGetCssVar(cssVarPrefix);\n const {\n [defaultColorScheme]: defaultSchemeInput,\n light: builtInLight,\n dark: builtInDark,\n ...customColorSchemes\n } = colorSchemesInput;\n const colorSchemes = {\n ...customColorSchemes\n };\n let defaultScheme = defaultSchemeInput;\n\n // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.\n if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {\n defaultScheme = true;\n }\n if (!defaultScheme) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The \\`colorSchemes.${defaultColorScheme}\\` option is either missing or invalid.` : _formatErrorMessage(21, defaultColorScheme));\n }\n\n // The reason to use `oklch` is that it is the most perceptually uniform color space and widely supported.\n let colorSpace;\n if (nativeColor) {\n colorSpace = 'oklch';\n }\n\n // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.\n const muiTheme = attachColorScheme(colorSpace, colorSchemes, defaultScheme, input, defaultColorScheme);\n if (builtInLight && !colorSchemes.light) {\n attachColorScheme(colorSpace, colorSchemes, builtInLight, undefined, 'light');\n }\n if (builtInDark && !colorSchemes.dark) {\n attachColorScheme(colorSpace, colorSchemes, builtInDark, undefined, 'dark');\n }\n let theme = {\n defaultColorScheme,\n ...muiTheme,\n cssVarPrefix,\n colorSchemeSelector: selector,\n rootSelector,\n getCssVar,\n colorSchemes,\n font: {\n ...prepareTypographyVars(muiTheme.typography),\n ...muiTheme.font\n },\n spacing: getSpacingVal(input.spacing)\n };\n Object.keys(theme.colorSchemes).forEach(key => {\n const palette = theme.colorSchemes[key].palette;\n const setCssVarColor = cssVar => {\n const tokens = cssVar.split('-');\n const color = tokens[1];\n const colorToken = tokens[2];\n return getCssVar(cssVar, palette[color][colorToken]);\n };\n\n // attach black & white channels to common node\n if (palette.mode === 'light') {\n setColor(palette.common, 'background', '#fff');\n setColor(palette.common, 'onBackground', '#000');\n }\n if (palette.mode === 'dark') {\n setColor(palette.common, 'background', '#000');\n setColor(palette.common, 'onBackground', '#fff');\n }\n function colorMix(method, color, coefficient) {\n if (colorSpace) {\n let mixer;\n if (method === safeAlpha) {\n mixer = `transparent ${((1 - coefficient) * 100).toFixed(0)}%`;\n }\n if (method === safeDarken) {\n mixer = `#000 ${(coefficient * 100).toFixed(0)}%`;\n }\n if (method === safeLighten) {\n mixer = `#fff ${(coefficient * 100).toFixed(0)}%`;\n }\n return `color-mix(in ${colorSpace}, ${color}, ${mixer})`;\n }\n return method(color, coefficient);\n }\n\n // assign component variables\n assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);\n if (palette.mode === 'light') {\n setColor(palette.Alert, 'errorColor', colorMix(safeDarken, palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', colorMix(safeDarken, palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', colorMix(safeDarken, palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', colorMix(safeDarken, palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));\n setColor(palette.Alert, 'errorStandardBg', colorMix(safeLighten, palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', colorMix(safeLighten, palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', colorMix(safeLighten, palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', colorMix(safeLighten, palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));\n setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.LinearProgress, 'secondaryBg', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.LinearProgress, 'errorBg', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.LinearProgress, 'infoBg', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.LinearProgress, 'successBg', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.LinearProgress, 'warningBg', colorMix(safeLighten, palette.warning.main, 0.62));\n setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(safeAlpha, palette.text.primary, 0.11) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);\n setColor(palette.Slider, 'primaryTrack', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.Slider, 'secondaryTrack', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.Slider, 'errorTrack', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.Slider, 'infoTrack', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.Slider, 'successTrack', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.Slider, 'warningTrack', colorMix(safeLighten, palette.warning.main, 0.62));\n const snackbarContentBackground = colorSpace ? colorMix(safeDarken, palette.background.default, 0.6825) // use `0.6825` instead of `0.8` to match the contrast ratio of JS implementation\n : safeEmphasize(palette.background.default, 0.8);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? dark.text.primary : palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));\n setColor(palette.Switch, 'primaryDisabledColor', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.Switch, 'secondaryDisabledColor', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.Switch, 'errorDisabledColor', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.Switch, 'infoDisabledColor', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.Switch, 'successDisabledColor', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.Switch, 'warningDisabledColor', colorMix(safeLighten, palette.warning.main, 0.62));\n setColor(palette.TableCell, 'border', colorMix(safeLighten, colorMix(safeAlpha, palette.divider, 1), 0.88));\n setColor(palette.Tooltip, 'bg', colorMix(safeAlpha, palette.grey[700], 0.92));\n }\n if (palette.mode === 'dark') {\n setColor(palette.Alert, 'errorColor', colorMix(safeLighten, palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', colorMix(safeLighten, palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', colorMix(safeLighten, palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', colorMix(safeLighten, palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));\n setColor(palette.Alert, 'errorStandardBg', colorMix(safeDarken, palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', colorMix(safeDarken, palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', colorMix(safeDarken, palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', colorMix(safeDarken, palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));\n setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode\n setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));\n setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', colorMix(safeDarken, palette.primary.main, 0.5));\n setColor(palette.LinearProgress, 'secondaryBg', colorMix(safeDarken, palette.secondary.main, 0.5));\n setColor(palette.LinearProgress, 'errorBg', colorMix(safeDarken, palette.error.main, 0.5));\n setColor(palette.LinearProgress, 'infoBg', colorMix(safeDarken, palette.info.main, 0.5));\n setColor(palette.LinearProgress, 'successBg', colorMix(safeDarken, palette.success.main, 0.5));\n setColor(palette.LinearProgress, 'warningBg', colorMix(safeDarken, palette.warning.main, 0.5));\n setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(safeAlpha, palette.text.primary, 0.13) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);\n setColor(palette.Slider, 'primaryTrack', colorMix(safeDarken, palette.primary.main, 0.5));\n setColor(palette.Slider, 'secondaryTrack', colorMix(safeDarken, palette.secondary.main, 0.5));\n setColor(palette.Slider, 'errorTrack', colorMix(safeDarken, palette.error.main, 0.5));\n setColor(palette.Slider, 'infoTrack', colorMix(safeDarken, palette.info.main, 0.5));\n setColor(palette.Slider, 'successTrack', colorMix(safeDarken, palette.success.main, 0.5));\n setColor(palette.Slider, 'warningTrack', colorMix(safeDarken, palette.warning.main, 0.5));\n const snackbarContentBackground = colorSpace ? colorMix(safeLighten, palette.background.default, 0.985) // use `0.985` instead of `0.98` to match the contrast ratio of JS implementation\n : safeEmphasize(palette.background.default, 0.98);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? light.text.primary : palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'primaryDisabledColor', colorMix(safeDarken, palette.primary.main, 0.55));\n setColor(palette.Switch, 'secondaryDisabledColor', colorMix(safeDarken, palette.secondary.main, 0.55));\n setColor(palette.Switch, 'errorDisabledColor', colorMix(safeDarken, palette.error.main, 0.55));\n setColor(palette.Switch, 'infoDisabledColor', colorMix(safeDarken, palette.info.main, 0.55));\n setColor(palette.Switch, 'successDisabledColor', colorMix(safeDarken, palette.success.main, 0.55));\n setColor(palette.Switch, 'warningDisabledColor', colorMix(safeDarken, palette.warning.main, 0.55));\n setColor(palette.TableCell, 'border', colorMix(safeDarken, colorMix(safeAlpha, palette.divider, 1), 0.68));\n setColor(palette.Tooltip, 'bg', colorMix(safeAlpha, palette.grey[700], 0.92));\n }\n\n // MUI X - DataGrid needs this token.\n setColorChannel(palette.background, 'default');\n\n // added for consistency with the `background.default` token\n setColorChannel(palette.background, 'paper');\n setColorChannel(palette.common, 'background');\n setColorChannel(palette.common, 'onBackground');\n setColorChannel(palette, 'divider');\n Object.keys(palette).forEach(color => {\n const colors = palette[color];\n\n // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.\n\n if (color !== 'tonalOffset' && colors && typeof colors === 'object') {\n // Silent the error for custom palettes.\n if (colors.main) {\n setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));\n }\n if (colors.light) {\n setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));\n }\n if (colors.dark) {\n setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));\n }\n if (colors.contrastText) {\n setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));\n }\n if (color === 'text') {\n // Text colors: text.primary, text.secondary\n setColorChannel(palette[color], 'primary');\n setColorChannel(palette[color], 'secondary');\n }\n if (color === 'action') {\n // Action colors: action.active, action.selected\n if (colors.active) {\n setColorChannel(palette[color], 'active');\n }\n if (colors.selected) {\n setColorChannel(palette[color], 'selected');\n }\n }\n }\n });\n });\n theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);\n const parserConfig = {\n prefix: cssVarPrefix,\n disableCssColorScheme,\n shouldSkipGeneratingVar,\n getSelector: defaultGetSelector(theme),\n enableContrastVars: nativeColor\n };\n const {\n vars,\n generateThemeVars,\n generateStyleSheets\n } = prepareCssVars(theme, parserConfig);\n theme.vars = vars;\n Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {\n theme[key] = value;\n });\n theme.generateThemeVars = generateThemeVars;\n theme.generateStyleSheets = generateStyleSheets;\n theme.generateSpacing = function generateSpacing() {\n return createSpacing(input.spacing, createUnarySpacing(this));\n };\n theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);\n theme.spacing = theme.generateSpacing();\n theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;\n theme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...input?.unstable_sxConfig\n };\n theme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n theme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return theme;\n}"],"names":["safeColorChannel","systemCreateGetCssVar","shouldSkipGeneratingVar","defaultShouldSkipGeneratingVar","_formatErrorMessage","safeAlpha","safeDarken","safeLighten","safeEmphasize"],"mappings":";;;;;;;;;;;;;;;;;;AAaA,SAAS,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE;AAC/B,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI;AACpB,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;AACjB,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE;AACjB,IAAI;AACJ,EAAE,CAAC,CAAC;AACJ;AACA,SAAS,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,YAAY,EAAE;AAC1C,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,YAAY,EAAE;AACjC,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,YAAY;AAC3B,EAAE;AACF;AACA,SAAS,KAAK,CAAC,KAAK,EAAE;AACtB,EAAE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;AAC7D,IAAI,OAAO,KAAK;AAChB,EAAE;AACF,EAAE,OAAO,QA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eAAe,GAAG;AACrD,IAAI,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;AACjE,EAAE,CAAC;AACH,EAAE,KAAK,CAAC,sBAAsB,GAAG,4BAA4B,CAAC,QAAQ,CAAC;AACvE,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,eAAe,EAAE;AACzC,EAAE,KAAK,CAAC,uBAAuB,GAAGA,yBAAuB;AACzD,EAAE,KAAK,CAAC,iBAAiB,GAAG;AAC5B,IAAI,GAAG,eAAe;AACtB,IAAI,GAAG,KAAK,EAAE;AACd,GAAG;AACH,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE;AACzC,IAAI,OAAO,eAAe,CAAC;AAC3B,MAAM,EAAE,EAAE,KAAK;AACf,MAAM,KAAK,EAAE;AACb,KAAK,CAAC;AACN,EAAE,CAAC;AACH,EAAE,KAAK,CAAC,eAAe,GAAG,cAAc,CAAC;;AAEzC,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"createThemeWithVars.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createThemeWithVars.js"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport { unstable_createGetCssVar as systemCreateGetCssVar, createSpacing } from '@mui/system';\nimport { createUnarySpacing } from '@mui/system/spacing';\nimport { prepareCssVars, prepareTypographyVars, createGetColorSchemeSelector } from '@mui/system/cssVars';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport { private_safeColorChannel as safeColorChannel, private_safeAlpha as safeAlpha, private_safeDarken as safeDarken, private_safeLighten as safeLighten, private_safeEmphasize as safeEmphasize, hslToRgb } from '@mui/system/colorManipulator';\nimport createThemeNoVars from \"./createThemeNoVars.js\";\nimport createColorScheme, { getOpacity, getOverlays } from \"./createColorScheme.js\";\nimport defaultShouldSkipGeneratingVar from \"./shouldSkipGeneratingVar.js\";\nimport defaultGetSelector from \"./createGetSelector.js\";\nimport { stringifyTheme } from \"./stringifyTheme.js\";\nimport { light, dark } from \"./createPalette.js\";\nfunction assignNode(obj, keys) {\n keys.forEach(k => {\n if (!obj[k]) {\n obj[k] = {};\n }\n });\n}\nfunction setColor(obj, key, defaultValue) {\n if (!obj[key] && defaultValue) {\n obj[key] = defaultValue;\n }\n}\nfunction toRgb(color) {\n if (typeof color !== 'string' || !color.startsWith('hsl')) {\n return color;\n }\n return hslToRgb(color);\n}\nfunction setColorChannel(obj, key) {\n if (!(`${key}Channel` in obj)) {\n // custom channel token is not provided, generate one.\n // if channel token can't be generated, show a warning.\n obj[`${key}Channel`] = safeColorChannel(toRgb(obj[key]), `MUI: Can't create \\`palette.${key}Channel\\` because \\`palette.${key}\\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` + '\\n' + `To suppress this warning, you need to explicitly provide the \\`palette.${key}Channel\\` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token.`);\n }\n}\nfunction getSpacingVal(spacingInput) {\n if (typeof spacingInput === 'number') {\n return `${spacingInput}px`;\n }\n if (typeof spacingInput === 'string' || typeof spacingInput === 'function' || Array.isArray(spacingInput)) {\n return spacingInput;\n }\n return '8px';\n}\nconst silent = fn => {\n try {\n return fn();\n } catch (error) {\n // ignore error\n }\n return undefined;\n};\nexport const createGetCssVar = (cssVarPrefix = 'mui') => systemCreateGetCssVar(cssVarPrefix);\nfunction attachColorScheme(colorSpace, colorSchemes, scheme, restTheme, colorScheme) {\n if (!scheme) {\n return undefined;\n }\n scheme = scheme === true ? {} : scheme;\n const mode = colorScheme === 'dark' ? 'dark' : 'light';\n if (!restTheme) {\n colorSchemes[colorScheme] = createColorScheme({\n ...scheme,\n palette: {\n mode,\n ...scheme?.palette\n },\n colorSpace\n });\n return undefined;\n }\n const {\n palette,\n ...muiTheme\n } = createThemeNoVars({\n ...restTheme,\n palette: {\n mode,\n ...scheme?.palette\n },\n colorSpace\n });\n colorSchemes[colorScheme] = {\n ...scheme,\n palette,\n opacity: {\n ...getOpacity(mode),\n ...scheme?.opacity\n },\n overlays: scheme?.overlays || getOverlays(mode)\n };\n return muiTheme;\n}\n\n/**\n * A default `createThemeWithVars` comes with a single color scheme, either `light` or `dark` based on the `defaultColorScheme`.\n * This is better suited for apps that only need a single color scheme.\n *\n * To enable built-in `light` and `dark` color schemes, either:\n * 1. provide a `colorSchemeSelector` to define how the color schemes will change.\n * 2. provide `colorSchemes.dark` will set `colorSchemeSelector: 'media'` by default.\n */\nexport default function createThemeWithVars(options = {}, ...args) {\n const {\n colorSchemes: colorSchemesInput = {\n light: true\n },\n defaultColorScheme: defaultColorSchemeInput,\n disableCssColorScheme = false,\n cssVarPrefix = 'mui',\n nativeColor = false,\n shouldSkipGeneratingVar = defaultShouldSkipGeneratingVar,\n colorSchemeSelector: selector = colorSchemesInput.light && colorSchemesInput.dark ? 'media' : undefined,\n rootSelector = ':root',\n ...input\n } = options;\n const firstColorScheme = Object.keys(colorSchemesInput)[0];\n const defaultColorScheme = defaultColorSchemeInput || (colorSchemesInput.light && firstColorScheme !== 'light' ? 'light' : firstColorScheme);\n const getCssVar = createGetCssVar(cssVarPrefix);\n const {\n [defaultColorScheme]: defaultSchemeInput,\n light: builtInLight,\n dark: builtInDark,\n ...customColorSchemes\n } = colorSchemesInput;\n const colorSchemes = {\n ...customColorSchemes\n };\n let defaultScheme = defaultSchemeInput;\n\n // For built-in light and dark color schemes, ensure that the value is valid if they are the default color scheme.\n if (defaultColorScheme === 'dark' && !('dark' in colorSchemesInput) || defaultColorScheme === 'light' && !('light' in colorSchemesInput)) {\n defaultScheme = true;\n }\n if (!defaultScheme) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: The \\`colorSchemes.${defaultColorScheme}\\` option is either missing or invalid.` : _formatErrorMessage(21, defaultColorScheme));\n }\n\n // The reason to use `oklch` is that it is the most perceptually uniform color space and widely supported.\n let colorSpace;\n if (nativeColor) {\n colorSpace = 'oklch';\n }\n\n // Create the palette for the default color scheme, either `light`, `dark`, or custom color scheme.\n const muiTheme = attachColorScheme(colorSpace, colorSchemes, defaultScheme, input, defaultColorScheme);\n if (builtInLight && !colorSchemes.light) {\n attachColorScheme(colorSpace, colorSchemes, builtInLight, undefined, 'light');\n }\n if (builtInDark && !colorSchemes.dark) {\n attachColorScheme(colorSpace, colorSchemes, builtInDark, undefined, 'dark');\n }\n let theme = {\n defaultColorScheme,\n ...muiTheme,\n cssVarPrefix,\n colorSchemeSelector: selector,\n rootSelector,\n getCssVar,\n colorSchemes,\n font: {\n ...prepareTypographyVars(muiTheme.typography),\n ...muiTheme.font\n },\n spacing: getSpacingVal(input.spacing)\n };\n Object.keys(theme.colorSchemes).forEach(key => {\n const palette = theme.colorSchemes[key].palette;\n const setCssVarColor = cssVar => {\n const tokens = cssVar.split('-');\n const color = tokens[1];\n const colorToken = tokens[2];\n return getCssVar(cssVar, palette[color][colorToken]);\n };\n\n // attach black & white channels to common node\n if (palette.mode === 'light') {\n setColor(palette.common, 'background', '#fff');\n setColor(palette.common, 'onBackground', '#000');\n }\n if (palette.mode === 'dark') {\n setColor(palette.common, 'background', '#000');\n setColor(palette.common, 'onBackground', '#fff');\n }\n function colorMix(method, color, coefficient) {\n if (colorSpace) {\n let mixer;\n if (method === safeAlpha) {\n mixer = `transparent ${((1 - coefficient) * 100).toFixed(0)}%`;\n }\n if (method === safeDarken) {\n mixer = `#000 ${(coefficient * 100).toFixed(0)}%`;\n }\n if (method === safeLighten) {\n mixer = `#fff ${(coefficient * 100).toFixed(0)}%`;\n }\n return `color-mix(in ${colorSpace}, ${color}, ${mixer})`;\n }\n return method(color, coefficient);\n }\n\n // assign component variables\n assignNode(palette, ['Alert', 'AppBar', 'Avatar', 'Button', 'Chip', 'FilledInput', 'LinearProgress', 'Skeleton', 'Slider', 'SnackbarContent', 'SpeedDialAction', 'StepConnector', 'StepContent', 'Switch', 'TableCell', 'Tooltip']);\n if (palette.mode === 'light') {\n setColor(palette.Alert, 'errorColor', colorMix(safeDarken, palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', colorMix(safeDarken, palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', colorMix(safeDarken, palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', colorMix(safeDarken, palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-main'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.main)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.main)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.main)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.main)));\n setColor(palette.Alert, 'errorStandardBg', colorMix(safeLighten, palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', colorMix(safeLighten, palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', colorMix(safeLighten, palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', colorMix(safeLighten, palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-100'));\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-400'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-300'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-A100'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-400'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-700'));\n setColor(palette.FilledInput, 'bg', 'rgba(0, 0, 0, 0.06)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(0, 0, 0, 0.09)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(0, 0, 0, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.LinearProgress, 'secondaryBg', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.LinearProgress, 'errorBg', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.LinearProgress, 'infoBg', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.LinearProgress, 'successBg', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.LinearProgress, 'warningBg', colorMix(safeLighten, palette.warning.main, 0.62));\n setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(safeAlpha, palette.text.primary, 0.11) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.11)`);\n setColor(palette.Slider, 'primaryTrack', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.Slider, 'secondaryTrack', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.Slider, 'errorTrack', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.Slider, 'infoTrack', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.Slider, 'successTrack', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.Slider, 'warningTrack', colorMix(safeLighten, palette.warning.main, 0.62));\n const snackbarContentBackground = colorSpace ? colorMix(safeDarken, palette.background.default, 0.6825) // use `0.6825` instead of `0.8` to match the contrast ratio of JS implementation\n : safeEmphasize(palette.background.default, 0.8);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? dark.text.primary : palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-400'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-common-white'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-100'));\n setColor(palette.Switch, 'primaryDisabledColor', colorMix(safeLighten, palette.primary.main, 0.62));\n setColor(palette.Switch, 'secondaryDisabledColor', colorMix(safeLighten, palette.secondary.main, 0.62));\n setColor(palette.Switch, 'errorDisabledColor', colorMix(safeLighten, palette.error.main, 0.62));\n setColor(palette.Switch, 'infoDisabledColor', colorMix(safeLighten, palette.info.main, 0.62));\n setColor(palette.Switch, 'successDisabledColor', colorMix(safeLighten, palette.success.main, 0.62));\n setColor(palette.Switch, 'warningDisabledColor', colorMix(safeLighten, palette.warning.main, 0.62));\n setColor(palette.TableCell, 'border', colorMix(safeLighten, colorMix(safeAlpha, palette.divider, 1), 0.88));\n setColor(palette.Tooltip, 'bg', colorMix(safeAlpha, palette.grey[700], 0.92));\n }\n if (palette.mode === 'dark') {\n setColor(palette.Alert, 'errorColor', colorMix(safeLighten, palette.error.light, 0.6));\n setColor(palette.Alert, 'infoColor', colorMix(safeLighten, palette.info.light, 0.6));\n setColor(palette.Alert, 'successColor', colorMix(safeLighten, palette.success.light, 0.6));\n setColor(palette.Alert, 'warningColor', colorMix(safeLighten, palette.warning.light, 0.6));\n setColor(palette.Alert, 'errorFilledBg', setCssVarColor('palette-error-dark'));\n setColor(palette.Alert, 'infoFilledBg', setCssVarColor('palette-info-dark'));\n setColor(palette.Alert, 'successFilledBg', setCssVarColor('palette-success-dark'));\n setColor(palette.Alert, 'warningFilledBg', setCssVarColor('palette-warning-dark'));\n setColor(palette.Alert, 'errorFilledColor', silent(() => palette.getContrastText(palette.error.dark)));\n setColor(palette.Alert, 'infoFilledColor', silent(() => palette.getContrastText(palette.info.dark)));\n setColor(palette.Alert, 'successFilledColor', silent(() => palette.getContrastText(palette.success.dark)));\n setColor(palette.Alert, 'warningFilledColor', silent(() => palette.getContrastText(palette.warning.dark)));\n setColor(palette.Alert, 'errorStandardBg', colorMix(safeDarken, palette.error.light, 0.9));\n setColor(palette.Alert, 'infoStandardBg', colorMix(safeDarken, palette.info.light, 0.9));\n setColor(palette.Alert, 'successStandardBg', colorMix(safeDarken, palette.success.light, 0.9));\n setColor(palette.Alert, 'warningStandardBg', colorMix(safeDarken, palette.warning.light, 0.9));\n setColor(palette.Alert, 'errorIconColor', setCssVarColor('palette-error-main'));\n setColor(palette.Alert, 'infoIconColor', setCssVarColor('palette-info-main'));\n setColor(palette.Alert, 'successIconColor', setCssVarColor('palette-success-main'));\n setColor(palette.Alert, 'warningIconColor', setCssVarColor('palette-warning-main'));\n setColor(palette.AppBar, 'defaultBg', setCssVarColor('palette-grey-900'));\n setColor(palette.AppBar, 'darkBg', setCssVarColor('palette-background-paper')); // specific for dark mode\n setColor(palette.AppBar, 'darkColor', setCssVarColor('palette-text-primary')); // specific for dark mode\n setColor(palette.Avatar, 'defaultBg', setCssVarColor('palette-grey-600'));\n setColor(palette.Button, 'inheritContainedBg', setCssVarColor('palette-grey-800'));\n setColor(palette.Button, 'inheritContainedHoverBg', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultBorder', setCssVarColor('palette-grey-700'));\n setColor(palette.Chip, 'defaultAvatarColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Chip, 'defaultIconColor', setCssVarColor('palette-grey-300'));\n setColor(palette.FilledInput, 'bg', 'rgba(255, 255, 255, 0.09)');\n setColor(palette.FilledInput, 'hoverBg', 'rgba(255, 255, 255, 0.13)');\n setColor(palette.FilledInput, 'disabledBg', 'rgba(255, 255, 255, 0.12)');\n setColor(palette.LinearProgress, 'primaryBg', colorMix(safeDarken, palette.primary.main, 0.5));\n setColor(palette.LinearProgress, 'secondaryBg', colorMix(safeDarken, palette.secondary.main, 0.5));\n setColor(palette.LinearProgress, 'errorBg', colorMix(safeDarken, palette.error.main, 0.5));\n setColor(palette.LinearProgress, 'infoBg', colorMix(safeDarken, palette.info.main, 0.5));\n setColor(palette.LinearProgress, 'successBg', colorMix(safeDarken, palette.success.main, 0.5));\n setColor(palette.LinearProgress, 'warningBg', colorMix(safeDarken, palette.warning.main, 0.5));\n setColor(palette.Skeleton, 'bg', colorSpace ? colorMix(safeAlpha, palette.text.primary, 0.13) : `rgba(${setCssVarColor('palette-text-primaryChannel')} / 0.13)`);\n setColor(palette.Slider, 'primaryTrack', colorMix(safeDarken, palette.primary.main, 0.5));\n setColor(palette.Slider, 'secondaryTrack', colorMix(safeDarken, palette.secondary.main, 0.5));\n setColor(palette.Slider, 'errorTrack', colorMix(safeDarken, palette.error.main, 0.5));\n setColor(palette.Slider, 'infoTrack', colorMix(safeDarken, palette.info.main, 0.5));\n setColor(palette.Slider, 'successTrack', colorMix(safeDarken, palette.success.main, 0.5));\n setColor(palette.Slider, 'warningTrack', colorMix(safeDarken, palette.warning.main, 0.5));\n const snackbarContentBackground = colorSpace ? colorMix(safeLighten, palette.background.default, 0.985) // use `0.985` instead of `0.98` to match the contrast ratio of JS implementation\n : safeEmphasize(palette.background.default, 0.98);\n setColor(palette.SnackbarContent, 'bg', snackbarContentBackground);\n setColor(palette.SnackbarContent, 'color', silent(() => colorSpace ? light.text.primary : palette.getContrastText(snackbarContentBackground)));\n setColor(palette.SpeedDialAction, 'fabHoverBg', safeEmphasize(palette.background.paper, 0.15));\n setColor(palette.StepConnector, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.StepContent, 'border', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'defaultColor', setCssVarColor('palette-grey-300'));\n setColor(palette.Switch, 'defaultDisabledColor', setCssVarColor('palette-grey-600'));\n setColor(palette.Switch, 'primaryDisabledColor', colorMix(safeDarken, palette.primary.main, 0.55));\n setColor(palette.Switch, 'secondaryDisabledColor', colorMix(safeDarken, palette.secondary.main, 0.55));\n setColor(palette.Switch, 'errorDisabledColor', colorMix(safeDarken, palette.error.main, 0.55));\n setColor(palette.Switch, 'infoDisabledColor', colorMix(safeDarken, palette.info.main, 0.55));\n setColor(palette.Switch, 'successDisabledColor', colorMix(safeDarken, palette.success.main, 0.55));\n setColor(palette.Switch, 'warningDisabledColor', colorMix(safeDarken, palette.warning.main, 0.55));\n setColor(palette.TableCell, 'border', colorMix(safeDarken, colorMix(safeAlpha, palette.divider, 1), 0.68));\n setColor(palette.Tooltip, 'bg', colorMix(safeAlpha, palette.grey[700], 0.92));\n }\n\n // MUI X - DataGrid needs this token.\n setColorChannel(palette.background, 'default');\n\n // added for consistency with the `background.default` token\n setColorChannel(palette.background, 'paper');\n setColorChannel(palette.common, 'background');\n setColorChannel(palette.common, 'onBackground');\n setColorChannel(palette, 'divider');\n Object.keys(palette).forEach(color => {\n const colors = palette[color];\n\n // The default palettes (primary, secondary, error, info, success, and warning) errors are handled by the above `createTheme(...)`.\n\n if (color !== 'tonalOffset' && colors && typeof colors === 'object') {\n // Silent the error for custom palettes.\n if (colors.main) {\n setColor(palette[color], 'mainChannel', safeColorChannel(toRgb(colors.main)));\n }\n if (colors.light) {\n setColor(palette[color], 'lightChannel', safeColorChannel(toRgb(colors.light)));\n }\n if (colors.dark) {\n setColor(palette[color], 'darkChannel', safeColorChannel(toRgb(colors.dark)));\n }\n if (colors.contrastText) {\n setColor(palette[color], 'contrastTextChannel', safeColorChannel(toRgb(colors.contrastText)));\n }\n if (color === 'text') {\n // Text colors: text.primary, text.secondary\n setColorChannel(palette[color], 'primary');\n setColorChannel(palette[color], 'secondary');\n }\n if (color === 'action') {\n // Action colors: action.active, action.selected\n if (colors.active) {\n setColorChannel(palette[color], 'active');\n }\n if (colors.selected) {\n setColorChannel(palette[color], 'selected');\n }\n }\n }\n });\n });\n theme = args.reduce((acc, argument) => deepmerge(acc, argument), theme);\n const parserConfig = {\n prefix: cssVarPrefix,\n disableCssColorScheme,\n shouldSkipGeneratingVar,\n getSelector: defaultGetSelector(theme),\n enableContrastVars: nativeColor\n };\n const {\n vars,\n generateThemeVars,\n generateStyleSheets\n } = prepareCssVars(theme, parserConfig);\n theme.vars = vars;\n Object.entries(theme.colorSchemes[theme.defaultColorScheme]).forEach(([key, value]) => {\n theme[key] = value;\n });\n theme.generateThemeVars = generateThemeVars;\n theme.generateStyleSheets = generateStyleSheets;\n theme.generateSpacing = function generateSpacing() {\n return createSpacing(input.spacing, createUnarySpacing(this));\n };\n theme.getColorSchemeSelector = createGetColorSchemeSelector(selector);\n theme.spacing = theme.generateSpacing();\n theme.shouldSkipGeneratingVar = shouldSkipGeneratingVar;\n theme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...input?.unstable_sxConfig\n };\n theme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n theme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n return theme;\n}"],"names":["safeColorChannel","systemCreateGetCssVar","shouldSkipGeneratingVar","defaultShouldSkipGeneratingVar","_formatErrorMessage","safeAlpha","safeDarken","safeLighten","safeEmphasize"],"mappings":";;;;;;;;;;;;;;;;;;AAaA,SAAS,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE;AAC/B,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI;AACpB,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;AACjB,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE;AACjB,IAAI;AACJ,EAAE,CAAC,CAAC;AACJ;AACA,SAAS,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,YAAY,EAAE;AAC1C,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,YAAY,EAAE;AACjC,IAAI,GAAG,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G;AACrD,IAAI,OAAO,aAAa,CAAC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;AACjE,EAAE,CAAC;AACH,EAAE,KAAK,CAAC,sBAAsB,GAAG,4BAA4B,CAAC,QAAQ,CAAC;AACvE,EAAE,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,eAAe,EAAE;AACzC,EAAE,KAAK,CAAC,uBAAuB,GAAGA,yBAAuB;AACzD,EAAE,KAAK,CAAC,iBAAiB,GAAG;AAC5B,IAAI,GAAG,eAAe;AACtB,IAAI,GAAG,KAAK,EAAE;AACd,GAAG;AACH,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,EAAE,CAAC,KAAK,EAAE;AACzC,IAAI,OAAO,eAAe,CAAC;AAC3B,MAAM,EAAE,EAAE,KAAK;AACf,MAAM,KAAK,EAAE;AACb,KAAK,CAAC;AACN,EAAE,CAAC;AACH,EAAE,KAAK,CAAC,eAAe,GAAG,cAAc,CAAC;;AAEzC,EAAE,OAAO,KAAK;AACd;;;;","x_google_ignoreList":[0]}
|
|
@@ -55,28 +55,6 @@ function createTransitions(inputTransitions) {
|
|
|
55
55
|
delay = 0,
|
|
56
56
|
...other
|
|
57
57
|
} = options;
|
|
58
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
59
|
-
const isString = value => typeof value === 'string';
|
|
60
|
-
const isNumber = value => !Number.isNaN(parseFloat(value));
|
|
61
|
-
if (!isString(props) && !Array.isArray(props)) {
|
|
62
|
-
console.error('MUI: Argument "props" must be a string or Array.');
|
|
63
|
-
}
|
|
64
|
-
if (!isNumber(durationOption) && !isString(durationOption)) {
|
|
65
|
-
console.error(`MUI: Argument "duration" must be a number or a string but found ${durationOption}.`);
|
|
66
|
-
}
|
|
67
|
-
if (!isString(easingOption)) {
|
|
68
|
-
console.error('MUI: Argument "easing" must be a string.');
|
|
69
|
-
}
|
|
70
|
-
if (!isNumber(delay) && !isString(delay)) {
|
|
71
|
-
console.error('MUI: Argument "delay" must be a number or a string.');
|
|
72
|
-
}
|
|
73
|
-
if (typeof options !== 'object') {
|
|
74
|
-
console.error(['MUI: Secong argument of transition.create must be an object.', "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join('\n'));
|
|
75
|
-
}
|
|
76
|
-
if (Object.keys(other).length !== 0) {
|
|
77
|
-
console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
58
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
81
59
|
};
|
|
82
60
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransitions.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createTransitions.js"],"sourcesContent":["// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = {\n ...easing,\n ...inputTransitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...inputTransitions.duration\n };\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return {\n getAutoHeightDuration,\n create,\n ...inputTransitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,MAAM,GAAG;AACtB;AACA,EAAE,SAAS,EAAE,8BAA8B;AAC3C;AACA;AACA,EAAE,OAAO,EAAE,8BAA8B;AACzC;AACA,EAAE,MAAM,EAAE,4B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S;AACnD,MAAM,KAAK,GAAG,CAAC;AACf,MAAM,GAAG;AACT,KAAK,GAAG,OAAO;
|
|
1
|
+
{"version":3,"file":"createTransitions.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createTransitions.js"],"sourcesContent":["// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const mergedEasing = {\n ...easing,\n ...inputTransitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...inputTransitions.duration\n };\n const create = (props = ['all'], options = {}) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n return {\n getAutoHeightDuration,\n create,\n ...inputTransitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,MAAM,GAAG;AACtB;AACA,EAAE,SAAS,EAAE,8BAA8B;AAC3C;AACA;AACA,EAAE,OAAO,EAAE,8BAA8B;AACzC;AACA,EAAE,MAAM,EAAE,4BAA4B;AACtC;AACA,EAAE,KAAK,EAAE;AACT;;AAEA;AACA;AACY,MAAC,QAAQ,GAAG;AACxB,EAAE,QAAQ,EAAE,GAAG;AACf,EAAE,OAAO,EAAE,GAAG;AACd,EAAE,KAAK,EAAE,GAAG;AACZ;AACA,EAAE,QAAQ,EAAE,GAAG;AACf;AACA,EAAE,OAAO,EAAE,GAAG;AACd;AACA,EAAE,cAAc,EAAE,GAAG;AACrB;AACA,EAAE,aAAa,EAAE;AACjB;AACA,SAAS,QAAQ,CAAC,YAAY,EAAE;AAChC,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,EA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,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAC7P,EAAE,CAAC;AACH,EAAE,OAAO;AACT,IAAI,qBAAqB;AACzB,IAAI,MAAM;AACV,IAAI,GAAG,gBAAgB;AACvB,IAAI,MAAM,EAAE,YAAY;AACxB,IAAI,QAAQ,EAAE;AACd,GAAG;AACH;;;;","x_google_ignoreList":[0]}
|
|
@@ -30,14 +30,6 @@ function createTypography(palette, typography) {
|
|
|
30
30
|
pxToRem: pxToRem2,
|
|
31
31
|
...other
|
|
32
32
|
} = typeof typography === 'function' ? typography(palette) : typography;
|
|
33
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
34
|
-
if (typeof fontSize !== 'number') {
|
|
35
|
-
console.error('MUI: `fontSize` is required to be a number.');
|
|
36
|
-
}
|
|
37
|
-
if (typeof htmlFontSize !== 'number') {
|
|
38
|
-
console.error('MUI: `htmlFontSize` is required to be a number.');
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
33
|
const coef = fontSize / 14;
|
|
42
34
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
43
35
|
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTypography.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createTypography.js"],"sourcesContent":["import deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2,\n ...other\n } = typeof typography === 'function' ? typography(palette) : typography;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight,\n // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing\n // across font-families can cause issues with the kerning.\n ...(fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}),\n ...casing,\n ...allVariants\n });\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold,\n ...variants\n }, other, {\n clone: false // No need to clone deep\n });\n}"],"names":[],"mappings":";;AACA,SAAS,KAAK,CAAC,KAAK,EAAE;AACtB,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG;AACtC;AACA,MAAM,WAAW,GAAG;AACpB,EAAE,aAAa,EAAE;AACjB,CAAC;AACD,MAAM,iBAAiB,GAAG,4CAA4C;;AAEtE;AACA;AACA;AACA;AACe,SAAS,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE;AAC9D,EAAE,MAAM;AACR,IAAI,UAAU,GAAG,iBAAiB;AAClC;AACA,IAAI,QAAQ,GAAG,EAAE;AACjB;AACA,IAAI,eAAe,GAAG,GAAG;AACzB,IAAI,iBAAiB,GAAG,GAAG;AAC3B,IAAI,gBAAgB,GAAG,GAAG;AAC1B,IAAI,cAAc,GAAG,GAAG;AACxB;AACA;AACA,IAAI,YAAY,GAAG,EAAE;AACrB;AACA,IAAI,WAAW;AACf,IAAI,OAAO,EAAE,QAAQ;AACrB,IAAI,GAAG;AACP,GAAG,GAAG,OAAO,UAAU,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU;
|
|
1
|
+
{"version":3,"file":"createTypography.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/createTypography.js"],"sourcesContent":["import deepmerge from '@mui/utils/deepmerge';\nfunction round(value) {\n return Math.round(value * 1e5) / 1e5;\n}\nconst caseAllCaps = {\n textTransform: 'uppercase'\n};\nconst defaultFontFamily = '\"Roboto\", \"Helvetica\", \"Arial\", sans-serif';\n\n/**\n * @see @link{https://m2.material.io/design/typography/the-type-system.html}\n * @see @link{https://m2.material.io/design/typography/understanding-typography.html}\n */\nexport default function createTypography(palette, typography) {\n const {\n fontFamily = defaultFontFamily,\n // The default font size of the Material Specification.\n fontSize = 14,\n // px\n fontWeightLight = 300,\n fontWeightRegular = 400,\n fontWeightMedium = 500,\n fontWeightBold = 700,\n // Tell MUI what's the font-size on the html element.\n // 16px is the default font-size used by browsers.\n htmlFontSize = 16,\n // Apply the CSS properties to all the variants.\n allVariants,\n pxToRem: pxToRem2,\n ...other\n } = typeof typography === 'function' ? typography(palette) : typography;\n if (process.env.NODE_ENV !== 'production') {\n if (typeof fontSize !== 'number') {\n console.error('MUI: `fontSize` is required to be a number.');\n }\n if (typeof htmlFontSize !== 'number') {\n console.error('MUI: `htmlFontSize` is required to be a number.');\n }\n }\n const coef = fontSize / 14;\n const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);\n const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => ({\n fontFamily,\n fontWeight,\n fontSize: pxToRem(size),\n // Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/\n lineHeight,\n // The letter spacing was designed for the Roboto font-family. Using the same letter-spacing\n // across font-families can cause issues with the kerning.\n ...(fontFamily === defaultFontFamily ? {\n letterSpacing: `${round(letterSpacing / size)}em`\n } : {}),\n ...casing,\n ...allVariants\n });\n const variants = {\n h1: buildVariant(fontWeightLight, 96, 1.167, -1.5),\n h2: buildVariant(fontWeightLight, 60, 1.2, -0.5),\n h3: buildVariant(fontWeightRegular, 48, 1.167, 0),\n h4: buildVariant(fontWeightRegular, 34, 1.235, 0.25),\n h5: buildVariant(fontWeightRegular, 24, 1.334, 0),\n h6: buildVariant(fontWeightMedium, 20, 1.6, 0.15),\n subtitle1: buildVariant(fontWeightRegular, 16, 1.75, 0.15),\n subtitle2: buildVariant(fontWeightMedium, 14, 1.57, 0.1),\n body1: buildVariant(fontWeightRegular, 16, 1.5, 0.15),\n body2: buildVariant(fontWeightRegular, 14, 1.43, 0.15),\n button: buildVariant(fontWeightMedium, 14, 1.75, 0.4, caseAllCaps),\n caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),\n overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps),\n // TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.\n inherit: {\n fontFamily: 'inherit',\n fontWeight: 'inherit',\n fontSize: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n };\n return deepmerge({\n htmlFontSize,\n pxToRem,\n fontFamily,\n fontSize,\n fontWeightLight,\n fontWeightRegular,\n fontWeightMedium,\n fontWeightBold,\n ...variants\n }, other, {\n clone: false // No need to clone deep\n });\n}"],"names":[],"mappings":";;AACA,SAAS,KAAK,CAAC,KAAK,EAAE;AACtB,EAAE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,GAAG,CAAC,GAAG,GAAG;AACtC;AACA,MAAM,WAAW,GAAG;AACpB,EAAE,aAAa,EAAE;AACjB,CAAC;AACD,MAAM,iBAAiB,GAAG,4CAA4C;;AAEtE;AACA;AACA;AACA;AACe,SAAS,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE;AAC9D,EAAE,MAAM;AACR,IAAI,UAAU,GAAG,iBAAiB;AAClC;AACA,IAAI,QAAQ,GAAG,EAAE;AACjB;AACA,IAAI,eAAe,GAAG,GAAG;AACzB,IAAI,iBAAiB,GAAG,GAAG;AAC3B,IAAI,gBAAgB,GAAG,GAAG;AAC1B,IAAI,cAAc,GAAG,GAAG;AACxB;AACA;AACA,IAAI,YAAY,GAAG,EAAE;AACrB;AACA,IAAI,WAAW;AACf,IAAI,OAAO,EAAE,QAAQ;AACrB,IAAI,GAAG;AACP,GAAG,GAAG,OAAO,UAAU,KAAK,UAAU,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,UAAU;AASzE,EAAE,MAAM,IAAI,GAAG,Q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Y,CAAC,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC;AAC5D,IAAI,KAAK,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,GAAG,EAAE,IAAI,CAAC;AACzD,IAAI,KAAK,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC;AAC1D,IAAI,MAAM,EAAE,YAAY,CAAC,gBAAgB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC;AACtE,IAAI,OAAO,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,CAAC;AAC3D,IAAI,QAAQ,EAAE,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,WAAW,CAAC;AACvE;AACA,IAAI,OAAO,EAAE;AACb,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,QAAQ,EAAE,SAAS;AACzB,MAAM,UAAU,EAAE,SAAS;AAC3B,MAAM,aAAa,EAAE;AACrB;AACA,GAAG;AACH,EAAE,OAAO,SAAS,CAAC;AACnB,IAAI,YAAY;AAChB,IAAI,OAAO;AACX,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,eAAe;AACnB,IAAI,iBAAiB;AACrB,IAAI,gBAAgB;AACpB,IAAI,cAAc;AAClB,IAAI,GAAG;AACP,GAAG,EAAE,KAAK,EAAE;AACZ,IAAI,KAAK,EAAE,KAAK;AAChB,GAAG,CAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'react';
|
|
2
2
|
import defaultTheme from './defaultTheme.js';
|
|
3
3
|
import THEME_ID from './identifier.js';
|
|
4
4
|
import useTheme$1 from '../../../system/esm/useTheme/useTheme.js';
|
|
5
5
|
|
|
6
6
|
function useTheme() {
|
|
7
7
|
const theme = useTheme$1(defaultTheme);
|
|
8
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
9
|
-
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler
|
|
10
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
11
|
-
React.useDebugValue(theme);
|
|
12
|
-
}
|
|
13
8
|
return theme[THEME_ID] || theme;
|
|
14
9
|
}
|
|
15
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTheme.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/useTheme.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}"],"names":["useThemeSystem"],"mappings":";;;;;AAMe,SAAS,QAAQ,GAAG;AACnC,EAAE,MAAM,KAAK,GAAGA,UAAc,CAAC,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"useTheme.js","sources":["../../../../../../../node_modules/@mui/material/esm/styles/useTheme.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from \"./defaultTheme.js\";\nimport THEME_ID from \"./identifier.js\";\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}"],"names":["useThemeSystem"],"mappings":";;;;;AAMe,SAAS,QAAQ,GAAG;AACnC,EAAE,MAAM,KAAK,GAAGA,UAAc,CAAC,YAAY,CAAC;AAM5C,EAAE,OAAO,KAAK,CAAC,QAAQ,CAAC,IAAI,KAAK;AACjC;;;;","x_google_ignoreList":[0]}
|
|
@@ -5,17 +5,12 @@ import SvgIcon from '../SvgIcon/SvgIcon.js';
|
|
|
5
5
|
function createSvgIcon(path, displayName) {
|
|
6
6
|
function Component(props, ref) {
|
|
7
7
|
return /*#__PURE__*/jsx(SvgIcon, {
|
|
8
|
-
"data-testid":
|
|
8
|
+
"data-testid": undefined,
|
|
9
9
|
ref: ref,
|
|
10
10
|
...props,
|
|
11
11
|
children: path
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
15
|
-
// Need to set `displayName` on the inner component for React.memo.
|
|
16
|
-
// React prior to 16.14 ignores `displayName` on the wrapper.
|
|
17
|
-
Component.displayName = `${displayName}Icon`;
|
|
18
|
-
}
|
|
19
14
|
Component.muiName = SvgIcon.muiName;
|
|
20
15
|
return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));
|
|
21
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSvgIcon.js","sources":["../../../../../../../node_modules/@mui/material/esm/utils/createSvgIcon.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport SvgIcon from \"../SvgIcon/index.js\";\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, {\n \"data-testid\": process.env.NODE_ENV !== 'production' ? `${displayName}Icon` : undefined,\n ref: ref,\n ...props,\n children: path\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));\n}"],"names":["_jsx"],"mappings":";;;;AASe,SAAS,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE;AACzD,EAAE,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE;AACjC,IAAI,oBAAoBA,GAAI,CAAC,OAAO,EAAE;AACtC,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"createSvgIcon.js","sources":["../../../../../../../node_modules/@mui/material/esm/utils/createSvgIcon.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport SvgIcon from \"../SvgIcon/index.js\";\n\n/**\n * Private module reserved for @mui packages.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function createSvgIcon(path, displayName) {\n function Component(props, ref) {\n return /*#__PURE__*/_jsx(SvgIcon, {\n \"data-testid\": process.env.NODE_ENV !== 'production' ? `${displayName}Icon` : undefined,\n ref: ref,\n ...props,\n children: path\n });\n }\n if (process.env.NODE_ENV !== 'production') {\n // Need to set `displayName` on the inner component for React.memo.\n // React prior to 16.14 ignores `displayName` on the wrapper.\n Component.displayName = `${displayName}Icon`;\n }\n Component.muiName = SvgIcon.muiName;\n return /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(Component));\n}"],"names":["_jsx"],"mappings":";;;;AASe,SAAS,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE;AACzD,EAAE,SAAS,SAAS,CAAC,KAAK,EAAE,GAAG,EAAE;AACjC,IAAI,oBAAoBA,GAAI,CAAC,OAAO,EAAE;AACtC,MAAM,aAAa,EAAiE,SAAS;AAC7F,MAAM,GAAG,EAAE,GAAG;AACd,MAAM,GAAG,KAAK;AACd,MAAM,QAAQ,EAAE;AAChB,KAAK,CAAC;AACN,EAAE;AAMF,EAAE,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO;AACrC,EAAE,oBAAoB,KAAK,CAAC,IAAI,cAAc,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AAC1E;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
3
2
|
import ThemeContext from '../useTheme/ThemeContext.js';
|
|
4
3
|
import nested from './nested.js';
|
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
|
6
5
|
import useTheme from '../useTheme/useTheme.js';
|
|
7
|
-
import exactProp from '../../../utils/esm/exactProp/exactProp.js';
|
|
8
6
|
|
|
9
7
|
function mergeOuterLocalTheme(outerTheme, localTheme) {
|
|
10
8
|
if (typeof localTheme === 'function') {
|
|
11
9
|
const mergedTheme = localTheme(outerTheme);
|
|
12
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
13
|
-
if (!mergedTheme) {
|
|
14
|
-
console.error(['MUI: You should return an object from your theme function, i.e.', '<ThemeProvider theme={() => ({})} />'].join('\n'));
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
10
|
return mergedTheme;
|
|
18
11
|
}
|
|
19
12
|
return {
|
|
@@ -33,11 +26,6 @@ function ThemeProvider(props) {
|
|
|
33
26
|
theme: localTheme
|
|
34
27
|
} = props;
|
|
35
28
|
const outerTheme = useTheme();
|
|
36
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
37
|
-
if (outerTheme === null && typeof localTheme === 'function') {
|
|
38
|
-
console.error(['MUI: You are providing a theme function prop to the ThemeProvider component:', '<ThemeProvider theme={outerTheme => outerTheme} />', '', 'However, no outer theme is present.', 'Make sure a theme is already injected higher in the React tree ' + 'or provide a theme object.'].join('\n'));
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
29
|
const theme = React.useMemo(() => {
|
|
42
30
|
const output = outerTheme === null ? {
|
|
43
31
|
...localTheme
|
|
@@ -52,19 +40,6 @@ function ThemeProvider(props) {
|
|
|
52
40
|
children: children
|
|
53
41
|
});
|
|
54
42
|
}
|
|
55
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = {
|
|
56
|
-
/**
|
|
57
|
-
* Your component tree.
|
|
58
|
-
*/
|
|
59
|
-
children: PropTypes.node,
|
|
60
|
-
/**
|
|
61
|
-
* A theme object. You can provide a function to extend the outer theme.
|
|
62
|
-
*/
|
|
63
|
-
theme: PropTypes.oneOfType([PropTypes.object, PropTypes.func]).isRequired
|
|
64
|
-
} : void 0;
|
|
65
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
66
|
-
process.env.NODE_ENV !== "production" ? ThemeProvider.propTypes = exactProp(ThemeProvider.propTypes) : void 0;
|
|
67
|
-
}
|
|
68
43
|
|
|
69
44
|
export { ThemeProvider as default };
|
|
70
45
|
//# sourceMappingURL=ThemeProvider.js.map
|