react-easy-wall 2.0.8 → 2.0.10
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
|
@@ -22,7 +22,7 @@ function compose(...styles) {
|
|
|
22
22
|
return acc;
|
|
23
23
|
}, {});
|
|
24
24
|
};
|
|
25
|
-
fn.propTypes =
|
|
25
|
+
fn.propTypes = {};
|
|
26
26
|
fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);
|
|
27
27
|
return fn;
|
|
28
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compose.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/compose/compose.js"],"sourcesContent":["import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":["merge"],"mappings":";;;;;;AACA,SAAS,OAAO,CAAC,GAAG,MAAM,EAAE;AAC5B,EAAE,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AACjD,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI;AACtC,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK;AACvB,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER;AACA;AACA,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI;AACtB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK;AACpD,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC1B,QAAQ,OAAOA,aAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM;AACN,MAAM,OAAO,GAAG;AAChB,IAAI,CAAC,EAAE,EAAE,CAAC;AACV,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"compose.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/compose/compose.js"],"sourcesContent":["import merge from \"../merge/index.js\";\nfunction compose(...styles) {\n const handlers = styles.reduce((acc, style) => {\n style.filterProps.forEach(prop => {\n acc[prop] = style;\n });\n return acc;\n }, {});\n\n // false positive\n // eslint-disable-next-line react/function-component-definition\n const fn = props => {\n return Object.keys(props).reduce((acc, prop) => {\n if (handlers[prop]) {\n return merge(acc, handlers[prop](props));\n }\n return acc;\n }, {});\n };\n fn.propTypes = process.env.NODE_ENV !== 'production' ? styles.reduce((acc, style) => Object.assign(acc, style.propTypes), {}) : {};\n fn.filterProps = styles.reduce((acc, style) => acc.concat(style.filterProps), []);\n return fn;\n}\nexport default compose;"],"names":["merge"],"mappings":";;;;;;AACA,SAAS,OAAO,CAAC,GAAG,MAAM,EAAE;AAC5B,EAAE,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK;AACjD,IAAI,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,IAAI;AACtC,MAAM,GAAG,CAAC,IAAI,CAAC,GAAG,KAAK;AACvB,IAAI,CAAC,CAAC;AACN,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE,EAAE,CAAC;;AAER;AACA;AACA,EAAE,MAAM,EAAE,GAAG,KAAK,IAAI;AACtB,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,KAAK;AACpD,MAAM,IAAI,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC1B,QAAQ,OAAOA,aAAK,CAAC,GAAG,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,MAAM;AACN,MAAM,OAAO,GAAG;AAChB,IAAI,CAAC,EAAE,EAAE,CAAC;AACV,EAAE,CAAC;AACH,EAAE,EAAE,CAAC,SAAS,GAAoH,EAAE;AACpI,EAAE,EAAE,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,KAAK,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,EAAE,CAAC;AACnF,EAAE,OAAO,EAAE;AACX;;;;","x_google_ignoreList":[0]}
|
|
@@ -6,8 +6,6 @@ var index = require('../../../styled-engine/esm/index.cjs');
|
|
|
6
6
|
var preprocessStyles = require('../preprocessStyles.cjs');
|
|
7
7
|
var createTheme = require('../createTheme/createTheme.cjs');
|
|
8
8
|
var styleFunctionSx = require('../styleFunctionSx/styleFunctionSx.cjs');
|
|
9
|
-
var capitalize = require('../../../utils/esm/capitalize/capitalize.cjs');
|
|
10
|
-
var getDisplayName = require('../../../utils/esm/getDisplayName/getDisplayName.cjs');
|
|
11
9
|
var deepmerge = require('../../../utils/esm/deepmerge/deepmerge.cjs');
|
|
12
10
|
|
|
13
11
|
/* eslint-disable no-underscore-dangle */
|
|
@@ -149,7 +147,7 @@ function createStyled(input = {}) {
|
|
|
149
147
|
}
|
|
150
148
|
const defaultStyledResolver = index.default(tag, {
|
|
151
149
|
shouldForwardProp: shouldForwardPropOption,
|
|
152
|
-
label: generateStyledLabel(
|
|
150
|
+
label: generateStyledLabel(),
|
|
153
151
|
...options
|
|
154
152
|
});
|
|
155
153
|
const transformStyle = style => {
|
|
@@ -240,9 +238,6 @@ function createStyled(input = {}) {
|
|
|
240
238
|
if (tag.muiName) {
|
|
241
239
|
Component.muiName = tag.muiName;
|
|
242
240
|
}
|
|
243
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
244
|
-
Component.displayName = generateDisplayName(componentName, componentSlot, tag);
|
|
245
|
-
}
|
|
246
241
|
return Component;
|
|
247
242
|
};
|
|
248
243
|
if (defaultStyledResolver.withConfig) {
|
|
@@ -252,21 +247,8 @@ function createStyled(input = {}) {
|
|
|
252
247
|
};
|
|
253
248
|
return styled;
|
|
254
249
|
}
|
|
255
|
-
function generateDisplayName(componentName, componentSlot, tag) {
|
|
256
|
-
if (componentName) {
|
|
257
|
-
return `${componentName}${capitalize.default(componentSlot || '')}`;
|
|
258
|
-
}
|
|
259
|
-
return `Styled(${getDisplayName.default(tag)})`;
|
|
260
|
-
}
|
|
261
250
|
function generateStyledLabel(componentName, componentSlot) {
|
|
262
251
|
let label;
|
|
263
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
264
|
-
if (componentName) {
|
|
265
|
-
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
266
|
-
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
267
|
-
label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
252
|
return label;
|
|
271
253
|
}
|
|
272
254
|
function isObjectEmpty(object) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createStyled.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/createStyled/createStyled.js"],"sourcesContent":["import styledEngineStyled, { internal_mutateStyles as mutateStyles, internal_serializeStyles as serializeStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nimport preprocessStyles from \"../preprocessStyles.js\";\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-labels */\n/* eslint-disable no-lone-blocks */\n\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction attachTheme(props, themeId, defaultTheme) {\n props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;\n}\nfunction processStyle(props, style, layerName) {\n /*\n * Style types:\n * - null/undefined\n * - string\n * - CSS style object: { [cssKey]: [cssValue], variants }\n * - Processed style object: { style, variants, isProcessed: true }\n * - Array of any of the above\n */\n\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle, layerName));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n let rootStyle;\n if (resolvedStyle.isProcessed) {\n rootStyle = layerName ? shallowLayer(resolvedStyle.style, layerName) : resolvedStyle.style;\n } else {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n rootStyle = layerName ? shallowLayer(serializeStyles(otherStyles), layerName) : otherStyles;\n }\n return processStyleVariants(props, resolvedStyle.variants, [rootStyle], layerName);\n }\n if (resolvedStyle?.isProcessed) {\n return layerName ? shallowLayer(serializeStyles(resolvedStyle.style), layerName) : resolvedStyle.style;\n }\n return layerName ? shallowLayer(serializeStyles(resolvedStyle), layerName) : resolvedStyle;\n}\nfunction processStyleVariants(props, variants, results = [], layerName = undefined) {\n let mergedState; // We might not need it, initialized lazily\n\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n results.push(layerName ? shallowLayer(serializeStyles(variant.style(mergedState)), layerName) : variant.style(mergedState));\n } else {\n results.push(layerName ? shallowLayer(serializeStyles(variant.style), layerName) : variant.style);\n }\n }\n return results;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n function styleAttachTheme(props) {\n attachTheme(props, themeId, defaultTheme);\n }\n const styled = (tag, inputOptions = {}) => {\n // If `tag` is already a styled component, filter out the `sx` style function\n // to prevent unnecessary styles generated by the composite components.\n mutateStyles(tag, styles => styles.filter(style => style !== styleFunctionSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label: generateStyledLabel(componentName, componentSlot),\n ...options\n });\n const transformStyle = style => {\n // - On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n // - `style` could be a styled component from a babel plugin for component selectors, This condition\n // makes sure that we do not interpolate them.\n if (style.__emotion_real === style) {\n return style;\n }\n if (typeof style === 'function') {\n return function styleFunctionProcessor(props) {\n return processStyle(props, style, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n if (isPlainObject(style)) {\n const serialized = preprocessStyles(style);\n return function styleObjectProcessor(props) {\n if (!serialized.variants) {\n return props.theme.modularCssLayers ? shallowLayer(serialized.style, layerName) : serialized.style;\n }\n return processStyle(props, serialized, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n return style;\n };\n const muiStyledResolver = (...expressionsInput) => {\n const expressionsHead = [];\n const expressionsBody = expressionsInput.map(transformStyle);\n const expressionsTail = [];\n\n // Preprocess `props` to set the scoped theme value.\n // This must run before any other expression.\n expressionsHead.push(styleAttachTheme);\n if (componentName && overridesResolver) {\n expressionsTail.push(function styleThemeOverrides(props) {\n const theme = props.theme;\n const styleOverrides = theme.components?.[componentName]?.styleOverrides;\n if (!styleOverrides) {\n return null;\n }\n const resolvedStyleOverrides = {};\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey], props.theme.modularCssLayers ? 'theme' : undefined);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsTail.push(function styleThemeVariants(props) {\n const theme = props.theme;\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyleVariants(props, themeVariants, [], props.theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsTail.push(styleFunctionSx);\n }\n\n // This function can be called as a tagged template, so the first argument would contain\n // CSS `string[]` values.\n if (Array.isArray(expressionsBody[0])) {\n const inputStrings = expressionsBody.shift();\n\n // We need to add placeholders in the tagged template for the custom functions we have\n // possibly added (attachTheme, overrides, variants, and sx).\n const placeholdersHead = new Array(expressionsHead.length).fill('');\n const placeholdersTail = new Array(expressionsTail.length).fill('');\n let outputStrings;\n // prettier-ignore\n {\n outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];\n outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];\n }\n\n // The only case where we put something before `attachTheme`\n expressionsHead.unshift(outputStrings);\n }\n const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];\n const Component = defaultStyledResolver(...expressions);\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = generateDisplayName(componentName, componentSlot, tag);\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction generateDisplayName(componentName, componentSlot, tag) {\n if (componentName) {\n return `${componentName}${capitalize(componentSlot || '')}`;\n }\n return `Styled(${getDisplayName(tag)})`;\n}\nfunction generateStyledLabel(componentName, componentSlot) {\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n return label;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}"],"names":["createTheme","serializeStyles","mutateStyles","styleFunctionSx","styledEngine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,aAAa,IAAI,MAAM,CAAC,CAAC,CAAC;AACjF,IAAI;AACJ,EAAE;AACF,EAAE,OAAO,KAAK;AACd;AACA,SAAS,aAAa,CAAC,MAAM,EAAE;AAC/B;AACA,EAAE,KAAK,MAAM,CAAC,IAAI,MAAM,EAAE;AAC1B,IAAI,OAAO,KAAK;AAChB,EAAE;AACF,EAAE,OAAO,IAAI;AACb;;AAEA;AACA,SAAS,WAAW,CAAC,GAAG,EAAE;AAC1B,EAAE,OAAO,OAAO,GAAG,KAAK,QAAQ;AAChC;AACA;AACA;AACA,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,EAAE;AACxB;AACA,SAAS,oBAAoB,CAAC,MAAM,EAAE;AACtC,EAAE,IAAI,CAAC,MAAM,EAAE;AACf,IAAI,OAAO,MAAM;AACjB,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACzD;;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"createStyled.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/createStyled/createStyled.js"],"sourcesContent":["import styledEngineStyled, { internal_mutateStyles as mutateStyles, internal_serializeStyles as serializeStyles } from '@mui/styled-engine';\nimport { isPlainObject } from '@mui/utils/deepmerge';\nimport capitalize from '@mui/utils/capitalize';\nimport getDisplayName from '@mui/utils/getDisplayName';\nimport createTheme from \"../createTheme/index.js\";\nimport styleFunctionSx from \"../styleFunctionSx/index.js\";\nimport preprocessStyles from \"../preprocessStyles.js\";\n\n/* eslint-disable no-underscore-dangle */\n/* eslint-disable no-labels */\n/* eslint-disable no-lone-blocks */\n\nexport const systemDefaultTheme = createTheme();\n\n// Update /system/styled/#api in case if this changes\nexport function shouldForwardProp(prop) {\n return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';\n}\nfunction shallowLayer(serialized, layerName) {\n if (layerName && serialized && typeof serialized === 'object' && serialized.styles && !serialized.styles.startsWith('@layer') // only add the layer if it is not already there.\n ) {\n serialized.styles = `@layer ${layerName}{${String(serialized.styles)}}`;\n }\n return serialized;\n}\nfunction defaultOverridesResolver(slot) {\n if (!slot) {\n return null;\n }\n return (_props, styles) => styles[slot];\n}\nfunction attachTheme(props, themeId, defaultTheme) {\n props.theme = isObjectEmpty(props.theme) ? defaultTheme : props.theme[themeId] || props.theme;\n}\nfunction processStyle(props, style, layerName) {\n /*\n * Style types:\n * - null/undefined\n * - string\n * - CSS style object: { [cssKey]: [cssValue], variants }\n * - Processed style object: { style, variants, isProcessed: true }\n * - Array of any of the above\n */\n\n const resolvedStyle = typeof style === 'function' ? style(props) : style;\n if (Array.isArray(resolvedStyle)) {\n return resolvedStyle.flatMap(subStyle => processStyle(props, subStyle, layerName));\n }\n if (Array.isArray(resolvedStyle?.variants)) {\n let rootStyle;\n if (resolvedStyle.isProcessed) {\n rootStyle = layerName ? shallowLayer(resolvedStyle.style, layerName) : resolvedStyle.style;\n } else {\n const {\n variants,\n ...otherStyles\n } = resolvedStyle;\n rootStyle = layerName ? shallowLayer(serializeStyles(otherStyles), layerName) : otherStyles;\n }\n return processStyleVariants(props, resolvedStyle.variants, [rootStyle], layerName);\n }\n if (resolvedStyle?.isProcessed) {\n return layerName ? shallowLayer(serializeStyles(resolvedStyle.style), layerName) : resolvedStyle.style;\n }\n return layerName ? shallowLayer(serializeStyles(resolvedStyle), layerName) : resolvedStyle;\n}\nfunction processStyleVariants(props, variants, results = [], layerName = undefined) {\n let mergedState; // We might not need it, initialized lazily\n\n variantLoop: for (let i = 0; i < variants.length; i += 1) {\n const variant = variants[i];\n if (typeof variant.props === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n if (!variant.props(mergedState)) {\n continue;\n }\n } else {\n for (const key in variant.props) {\n if (props[key] !== variant.props[key] && props.ownerState?.[key] !== variant.props[key]) {\n continue variantLoop;\n }\n }\n }\n if (typeof variant.style === 'function') {\n mergedState ??= {\n ...props,\n ...props.ownerState,\n ownerState: props.ownerState\n };\n results.push(layerName ? shallowLayer(serializeStyles(variant.style(mergedState)), layerName) : variant.style(mergedState));\n } else {\n results.push(layerName ? shallowLayer(serializeStyles(variant.style), layerName) : variant.style);\n }\n }\n return results;\n}\nexport default function createStyled(input = {}) {\n const {\n themeId,\n defaultTheme = systemDefaultTheme,\n rootShouldForwardProp = shouldForwardProp,\n slotShouldForwardProp = shouldForwardProp\n } = input;\n function styleAttachTheme(props) {\n attachTheme(props, themeId, defaultTheme);\n }\n const styled = (tag, inputOptions = {}) => {\n // If `tag` is already a styled component, filter out the `sx` style function\n // to prevent unnecessary styles generated by the composite components.\n mutateStyles(tag, styles => styles.filter(style => style !== styleFunctionSx));\n const {\n name: componentName,\n slot: componentSlot,\n skipVariantsResolver: inputSkipVariantsResolver,\n skipSx: inputSkipSx,\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot)),\n ...options\n } = inputOptions;\n const layerName = componentName && componentName.startsWith('Mui') || !!componentSlot ? 'components' : 'custom';\n\n // if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.\n const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n componentSlot && componentSlot !== 'Root' && componentSlot !== 'root' || false;\n const skipSx = inputSkipSx || false;\n let shouldForwardPropOption = shouldForwardProp;\n\n // TODO v6: remove `Root` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n if (componentSlot === 'Root' || componentSlot === 'root') {\n shouldForwardPropOption = rootShouldForwardProp;\n } else if (componentSlot) {\n // any other slot specified\n shouldForwardPropOption = slotShouldForwardProp;\n } else if (isStringTag(tag)) {\n // for string (html) tag, preserve the behavior in emotion & styled-components.\n shouldForwardPropOption = undefined;\n }\n const defaultStyledResolver = styledEngineStyled(tag, {\n shouldForwardProp: shouldForwardPropOption,\n label: generateStyledLabel(componentName, componentSlot),\n ...options\n });\n const transformStyle = style => {\n // - On the server Emotion doesn't use React.forwardRef for creating components, so the created\n // component stays as a function. This condition makes sure that we do not interpolate functions\n // which are basically components used as a selectors.\n // - `style` could be a styled component from a babel plugin for component selectors, This condition\n // makes sure that we do not interpolate them.\n if (style.__emotion_real === style) {\n return style;\n }\n if (typeof style === 'function') {\n return function styleFunctionProcessor(props) {\n return processStyle(props, style, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n if (isPlainObject(style)) {\n const serialized = preprocessStyles(style);\n return function styleObjectProcessor(props) {\n if (!serialized.variants) {\n return props.theme.modularCssLayers ? shallowLayer(serialized.style, layerName) : serialized.style;\n }\n return processStyle(props, serialized, props.theme.modularCssLayers ? layerName : undefined);\n };\n }\n return style;\n };\n const muiStyledResolver = (...expressionsInput) => {\n const expressionsHead = [];\n const expressionsBody = expressionsInput.map(transformStyle);\n const expressionsTail = [];\n\n // Preprocess `props` to set the scoped theme value.\n // This must run before any other expression.\n expressionsHead.push(styleAttachTheme);\n if (componentName && overridesResolver) {\n expressionsTail.push(function styleThemeOverrides(props) {\n const theme = props.theme;\n const styleOverrides = theme.components?.[componentName]?.styleOverrides;\n if (!styleOverrides) {\n return null;\n }\n const resolvedStyleOverrides = {};\n\n // TODO: v7 remove iteration and use `resolveStyleArg(styleOverrides[slot])` directly\n // eslint-disable-next-line guard-for-in\n for (const slotKey in styleOverrides) {\n resolvedStyleOverrides[slotKey] = processStyle(props, styleOverrides[slotKey], props.theme.modularCssLayers ? 'theme' : undefined);\n }\n return overridesResolver(props, resolvedStyleOverrides);\n });\n }\n if (componentName && !skipVariantsResolver) {\n expressionsTail.push(function styleThemeVariants(props) {\n const theme = props.theme;\n const themeVariants = theme?.components?.[componentName]?.variants;\n if (!themeVariants) {\n return null;\n }\n return processStyleVariants(props, themeVariants, [], props.theme.modularCssLayers ? 'theme' : undefined);\n });\n }\n if (!skipSx) {\n expressionsTail.push(styleFunctionSx);\n }\n\n // This function can be called as a tagged template, so the first argument would contain\n // CSS `string[]` values.\n if (Array.isArray(expressionsBody[0])) {\n const inputStrings = expressionsBody.shift();\n\n // We need to add placeholders in the tagged template for the custom functions we have\n // possibly added (attachTheme, overrides, variants, and sx).\n const placeholdersHead = new Array(expressionsHead.length).fill('');\n const placeholdersTail = new Array(expressionsTail.length).fill('');\n let outputStrings;\n // prettier-ignore\n {\n outputStrings = [...placeholdersHead, ...inputStrings, ...placeholdersTail];\n outputStrings.raw = [...placeholdersHead, ...inputStrings.raw, ...placeholdersTail];\n }\n\n // The only case where we put something before `attachTheme`\n expressionsHead.unshift(outputStrings);\n }\n const expressions = [...expressionsHead, ...expressionsBody, ...expressionsTail];\n const Component = defaultStyledResolver(...expressions);\n if (tag.muiName) {\n Component.muiName = tag.muiName;\n }\n if (process.env.NODE_ENV !== 'production') {\n Component.displayName = generateDisplayName(componentName, componentSlot, tag);\n }\n return Component;\n };\n if (defaultStyledResolver.withConfig) {\n muiStyledResolver.withConfig = defaultStyledResolver.withConfig;\n }\n return muiStyledResolver;\n };\n return styled;\n}\nfunction generateDisplayName(componentName, componentSlot, tag) {\n if (componentName) {\n return `${componentName}${capitalize(componentSlot || '')}`;\n }\n return `Styled(${getDisplayName(tag)})`;\n}\nfunction generateStyledLabel(componentName, componentSlot) {\n let label;\n if (process.env.NODE_ENV !== 'production') {\n if (componentName) {\n // TODO v6: remove `lowercaseFirstLetter()` in the next major release\n // For more details: https://github.com/mui/material-ui/pull/37908\n label = `${componentName}-${lowercaseFirstLetter(componentSlot || 'Root')}`;\n }\n }\n return label;\n}\nfunction isObjectEmpty(object) {\n // eslint-disable-next-line\n for (const _ in object) {\n return false;\n }\n return true;\n}\n\n// https://github.com/emotion-js/emotion/blob/26ded6109fcd8ca9875cc2ce4564fee678a3f3c5/packages/styled/src/utils.js#L40\nfunction isStringTag(tag) {\n return typeof tag === 'string' &&\n // 96 is one less than the char code\n // for \"a\" so this is checking that\n // it's a lowercase character\n tag.charCodeAt(0) > 96;\n}\nfunction lowercaseFirstLetter(string) {\n if (!string) {\n return string;\n }\n return string.charAt(0).toLowerCase() + string.slice(1);\n}"],"names":["createTheme","serializeStyles","mutateStyles","styleFunctionSx","styledEngineStyled","isPlainObject","preprocessStyles"],"mappings":";;;;;;;;;;AAQA;AACA;AACA;;AAEY,MAAC,kBAAkB,GAAGA,mBAAW;;AAE7C;AACO,SAAS,iBAAiB,CAAC,IAAI,EAAE;AACxC,EAAE,OAAO,IAAI,KAAK,YAAY,IAAI,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI;AACpF;AACA,SAAS,YAAY,CAAC,UAAU,EAAE,SAAS,EAAE;AAC7C,EAAE,IAAI,SAAS,IAAI,UAAU,IAAI,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,CAAC,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC;AAC/H,IAAI;AACJ,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AAC3E,EAAE;AACF,EAAE,OAAO,UAAU;AACnB;AACA,SAAS,wBAAwB,CAAC,IAAI,EAAE;AACxC,EAAE,IAAI,CAAC,IAAI,EAAE;AACb,IAAI,OAAO,IAAI;AACf,EAAE;AACF,EAAE,OAAO,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC,IAAI,CAAC;AACzC;AACA,SAAS,WAAW,CAAC,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE;AACnD,EAAE,KAAK,CAAC,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC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;AACjB,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACzD;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -19,11 +19,6 @@ transform = spacing.createUnarySpacing({
|
|
|
19
19
|
return spacingInput;
|
|
20
20
|
}
|
|
21
21
|
const spacing = (...argsInput) => {
|
|
22
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
23
|
-
if (!(argsInput.length <= 4)) {
|
|
24
|
-
console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
22
|
const args = argsInput.length === 0 ? [1] : argsInput;
|
|
28
23
|
return args.map(argument => {
|
|
29
24
|
const output = transform(argument);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createSpacing.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"names":["createUnarySpacing"],"mappings":";;;;;;AAEA;AACA;;AAEe,SAAS,aAAa,CAAC,YAAY,GAAG,CAAC;AACtD;AACA;AACA;AACA,SAAS,GAAGA,0BAAkB,CAAC;AAC/B,EAAE,OAAO,EAAE;AACX,CAAC,CAAC,EAAE;AACJ;AACA,EAAE,IAAI,YAAY,CAAC,GAAG,EAAE;AACxB,IAAI,OAAO,YAAY;AACvB,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,SAAS,KAAK;
|
|
1
|
+
{"version":3,"file":"createSpacing.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/createTheme/createSpacing.js"],"sourcesContent":["import { createUnarySpacing } from \"../spacing/index.js\";\n\n// The different signatures imply different meaning for their arguments that can't be expressed structurally.\n// We express the difference with variable names.\n\nexport default function createSpacing(spacingInput = 8,\n// Material Design layouts are visually balanced. Most measurements align to an 8dp grid, which aligns both spacing and the overall layout.\n// Smaller components, such as icons, can align to a 4dp grid.\n// https://m2.material.io/design/layout/understanding-layout.html\ntransform = createUnarySpacing({\n spacing: spacingInput\n})) {\n // Already transformed.\n if (spacingInput.mui) {\n return spacingInput;\n }\n const spacing = (...argsInput) => {\n if (process.env.NODE_ENV !== 'production') {\n if (!(argsInput.length <= 4)) {\n console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${argsInput.length}`);\n }\n }\n const args = argsInput.length === 0 ? [1] : argsInput;\n return args.map(argument => {\n const output = transform(argument);\n return typeof output === 'number' ? `${output}px` : output;\n }).join(' ');\n };\n spacing.mui = true;\n return spacing;\n}"],"names":["createUnarySpacing"],"mappings":";;;;;;AAEA;AACA;;AAEe,SAAS,aAAa,CAAC,YAAY,GAAG,CAAC;AACtD;AACA;AACA;AACA,SAAS,GAAGA,0BAAkB,CAAC;AAC/B,EAAE,OAAO,EAAE;AACX,CAAC,CAAC,EAAE;AACJ;AACA,EAAE,IAAI,YAAY,CAAC,GAAG,EAAE;AACxB,IAAI,OAAO,YAAY;AACvB,EAAE;AACF,EAAE,MAAM,OAAO,GAAG,CAAC,GAAG,SAAS,KAAK;AAMpC,IAAI,MAAM,IAAI,GAAG,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,SAAS;AACzD,IAAI,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,IAAI;AAChC,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,QAAQ,CAAC;AACxC,MAAM,OAAO,OAAO,MAAM,KAAK,QAAQ,GAAG,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC,GAAG,MAAM;AAChE,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;AAChB,EAAE,CAAC;AACH,EAAE,OAAO,CAAC,GAAG,GAAG,IAAI;AACpB,EAAE,OAAO,OAAO;AAChB;;;;","x_google_ignoreList":[0]}
|
|
@@ -34,9 +34,6 @@ function isCqShorthand(breakpointKeys, value) {
|
|
|
34
34
|
function getContainerQuery(theme, shorthand) {
|
|
35
35
|
const matches = shorthand.match(/^@([^/]+)?\/?(.+)?$/);
|
|
36
36
|
if (!matches) {
|
|
37
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
38
|
-
throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');
|
|
39
|
-
}
|
|
40
37
|
return null;
|
|
41
38
|
}
|
|
42
39
|
const [, containerQuery, containerName] = matches;
|
package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssContainerQueries.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"],"sourcesContent":["/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 even though 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@<breakpoint | number>\\` or \\`@<breakpoint | number>/<container>\\`.\\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,oBAAoB,CAAC,KAAK,EAAE,GAAG,EAAE;AACjD,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AAC/B,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;AAC7F,IAAI,MAAM,KAAK,GAAG,wBAAwB;AAC1C,IAAI,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;AACpE,EAAE,CAAC,CAAC;AACJ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE;AACtB,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK;AACrC,IAAI,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC;AAC1B,IAAI,OAAO,GAAG,CAAC,GAAG,CAAC;AACnB,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK;AACpB,IAAI,OAAO,GAAG;AACd,EAAE,CAAC,EAAE;AACL,IAAI,GAAG;AACP,GAAG,CAAC;AACJ;AACO,SAAS,aAAa,CAAC,cAAc,EAAE,KAAK,EAAE;AACrD,EAAE,OAAO,KAAK,KAAK,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AACrI;AACO,SAAS,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE;AACpD,EAAE,MAAM,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,qBAAqB,CAAC;AACxD,EAAE,IAAI,CAAC,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"cssContainerQueries.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js"],"sourcesContent":["/**\n * For using in `sx` prop to sort the breakpoint from low to high.\n * Note: this function does not work and will not support multiple units.\n * e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }\n * output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 even though 40rem > 300px\n */\nexport function sortContainerQueries(theme, css) {\n if (!theme.containerQueries) {\n return css;\n }\n const sorted = Object.keys(css).filter(key => key.startsWith('@container')).sort((a, b) => {\n const regex = /min-width:\\s*([0-9.]+)/;\n return +(a.match(regex)?.[1] || 0) - +(b.match(regex)?.[1] || 0);\n });\n if (!sorted.length) {\n return css;\n }\n return sorted.reduce((acc, key) => {\n const value = css[key];\n delete acc[key];\n acc[key] = value;\n return acc;\n }, {\n ...css\n });\n}\nexport function isCqShorthand(breakpointKeys, value) {\n return value === '@' || value.startsWith('@') && (breakpointKeys.some(key => value.startsWith(`@${key}`)) || !!value.match(/^@\\d/));\n}\nexport function getContainerQuery(theme, shorthand) {\n const matches = shorthand.match(/^@([^/]+)?\\/?(.+)?$/);\n if (!matches) {\n if (process.env.NODE_ENV !== 'production') {\n throw /* minify-error */new Error(`MUI: The provided shorthand ${`(${shorthand})`} is invalid. The format should be \\`@<breakpoint | number>\\` or \\`@<breakpoint | number>/<container>\\`.\\n` + 'For example, `@sm` or `@600` or `@40rem/sidebar`.');\n }\n return null;\n }\n const [, containerQuery, containerName] = matches;\n const value = Number.isNaN(+containerQuery) ? containerQuery || 0 : +containerQuery;\n return theme.containerQueries(containerName).up(value);\n}\nexport default function cssContainerQueries(themeInput) {\n const toContainerQuery = (mediaQuery, name) => mediaQuery.replace('@media', name ? `@container ${name}` : '@container');\n function attachCq(node, name) {\n node.up = (...args) => toContainerQuery(themeInput.breakpoints.up(...args), name);\n node.down = (...args) => toContainerQuery(themeInput.breakpoints.down(...args), name);\n node.between = (...args) => toContainerQuery(themeInput.breakpoints.between(...args), name);\n node.only = (...args) => toContainerQuery(themeInput.breakpoints.only(...args), name);\n node.not = (...args) => {\n const result = toContainerQuery(themeInput.breakpoints.not(...args), name);\n if (result.includes('not all and')) {\n // `@container` does not work with `not all and`, so need to invert the logic\n return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>').replace('and', 'or');\n }\n return result;\n };\n }\n const node = {};\n const containerQueries = name => {\n attachCq(node, name);\n return node;\n };\n attachCq(containerQueries);\n return {\n ...themeInput,\n containerQueries\n };\n}"],"names":[],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,oBAAoB,CAAC,KAAK,EAAE,GAAG,EAAE;AACjD,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB,EAAE;AAC/B,IAAI,OAAO,GAAG;AACd,EAAE;AACF,EAAE,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK;AAC7F,IAAI,MAAM,KAAK,GAAG,wBAAwB;AAC1C,IAAI,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC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,QAAQ,CAAC,CAAC,OAAO,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC;AACtI,MAAM;AACN,MAAM,OAAO,MAAM;AACnB,IAAI,CAAC;AACL,EAAE;AACF,EAAE,MAAM,IAAI,GAAG,EAAE;AACjB,EAAE,MAAM,gBAAgB,GAAG,IAAI,IAAI;AACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;AACxB,IAAI,OAAO,IAAI;AACf,EAAE,CAAC;AACH,EAAE,QAAQ,CAAC,gBAAgB,CAAC;AAC5B,EAAE,OAAO;AACT,IAAI,GAAG,UAAU;AACjB,IAAI;AACJ,GAAG;AACH;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var responsivePropType = require('../responsivePropType/responsivePropType.cjs');
|
|
4
3
|
var style = require('../style/style.cjs');
|
|
5
4
|
var compose = require('../compose/compose.cjs');
|
|
6
5
|
var spacing = require('../spacing/spacing.cjs');
|
|
@@ -10,7 +9,7 @@ var breakpoints = require('../breakpoints/breakpoints.cjs');
|
|
|
10
9
|
// eslint-disable-next-line react/function-component-definition
|
|
11
10
|
const gap = props => {
|
|
12
11
|
if (props.gap !== undefined && props.gap !== null) {
|
|
13
|
-
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8
|
|
12
|
+
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8);
|
|
14
13
|
const styleFromPropValue = propValue => ({
|
|
15
14
|
gap: spacing.getValue(transformer, propValue)
|
|
16
15
|
});
|
|
@@ -18,16 +17,14 @@ const gap = props => {
|
|
|
18
17
|
}
|
|
19
18
|
return null;
|
|
20
19
|
};
|
|
21
|
-
gap.propTypes =
|
|
22
|
-
gap: responsivePropType.default
|
|
23
|
-
} : {};
|
|
20
|
+
gap.propTypes = {};
|
|
24
21
|
gap.filterProps = ['gap'];
|
|
25
22
|
|
|
26
23
|
// false positive
|
|
27
24
|
// eslint-disable-next-line react/function-component-definition
|
|
28
25
|
const columnGap = props => {
|
|
29
26
|
if (props.columnGap !== undefined && props.columnGap !== null) {
|
|
30
|
-
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8
|
|
27
|
+
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8);
|
|
31
28
|
const styleFromPropValue = propValue => ({
|
|
32
29
|
columnGap: spacing.getValue(transformer, propValue)
|
|
33
30
|
});
|
|
@@ -35,16 +32,14 @@ const columnGap = props => {
|
|
|
35
32
|
}
|
|
36
33
|
return null;
|
|
37
34
|
};
|
|
38
|
-
columnGap.propTypes =
|
|
39
|
-
columnGap: responsivePropType.default
|
|
40
|
-
} : {};
|
|
35
|
+
columnGap.propTypes = {};
|
|
41
36
|
columnGap.filterProps = ['columnGap'];
|
|
42
37
|
|
|
43
38
|
// false positive
|
|
44
39
|
// eslint-disable-next-line react/function-component-definition
|
|
45
40
|
const rowGap = props => {
|
|
46
41
|
if (props.rowGap !== undefined && props.rowGap !== null) {
|
|
47
|
-
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8
|
|
42
|
+
const transformer = spacing.createUnaryUnit(props.theme, 'spacing', 8);
|
|
48
43
|
const styleFromPropValue = propValue => ({
|
|
49
44
|
rowGap: spacing.getValue(transformer, propValue)
|
|
50
45
|
});
|
|
@@ -52,9 +47,7 @@ const rowGap = props => {
|
|
|
52
47
|
}
|
|
53
48
|
return null;
|
|
54
49
|
};
|
|
55
|
-
rowGap.propTypes =
|
|
56
|
-
rowGap: responsivePropType.default
|
|
57
|
-
} : {};
|
|
50
|
+
rowGap.propTypes = {};
|
|
58
51
|
rowGap.filterProps = ['rowGap'];
|
|
59
52
|
const gridColumn = style.default({
|
|
60
53
|
prop: 'gridColumn'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssGrid.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssGrid/cssGrid.js"],"sourcesContent":["import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"names":["createUnaryUnit","getValue","handleBreakpoints","
|
|
1
|
+
{"version":3,"file":"cssGrid.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssGrid/cssGrid.js"],"sourcesContent":["import style from \"../style/index.js\";\nimport compose from \"../compose/index.js\";\nimport { createUnaryUnit, getValue } from \"../spacing/index.js\";\nimport { handleBreakpoints } from \"../breakpoints/index.js\";\nimport responsivePropType from \"../responsivePropType/index.js\";\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const gap = props => {\n if (props.gap !== undefined && props.gap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'gap');\n const styleFromPropValue = propValue => ({\n gap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.gap, styleFromPropValue);\n }\n return null;\n};\ngap.propTypes = process.env.NODE_ENV !== 'production' ? {\n gap: responsivePropType\n} : {};\ngap.filterProps = ['gap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const columnGap = props => {\n if (props.columnGap !== undefined && props.columnGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'columnGap');\n const styleFromPropValue = propValue => ({\n columnGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.columnGap, styleFromPropValue);\n }\n return null;\n};\ncolumnGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n columnGap: responsivePropType\n} : {};\ncolumnGap.filterProps = ['columnGap'];\n\n// false positive\n// eslint-disable-next-line react/function-component-definition\nexport const rowGap = props => {\n if (props.rowGap !== undefined && props.rowGap !== null) {\n const transformer = createUnaryUnit(props.theme, 'spacing', 8, 'rowGap');\n const styleFromPropValue = propValue => ({\n rowGap: getValue(transformer, propValue)\n });\n return handleBreakpoints(props, props.rowGap, styleFromPropValue);\n }\n return null;\n};\nrowGap.propTypes = process.env.NODE_ENV !== 'production' ? {\n rowGap: responsivePropType\n} : {};\nrowGap.filterProps = ['rowGap'];\nexport const gridColumn = style({\n prop: 'gridColumn'\n});\nexport const gridRow = style({\n prop: 'gridRow'\n});\nexport const gridAutoFlow = style({\n prop: 'gridAutoFlow'\n});\nexport const gridAutoColumns = style({\n prop: 'gridAutoColumns'\n});\nexport const gridAutoRows = style({\n prop: 'gridAutoRows'\n});\nexport const gridTemplateColumns = style({\n prop: 'gridTemplateColumns'\n});\nexport const gridTemplateRows = style({\n prop: 'gridTemplateRows'\n});\nexport const gridTemplateAreas = style({\n prop: 'gridTemplateAreas'\n});\nexport const gridArea = style({\n prop: 'gridArea'\n});\nconst grid = compose(gap, columnGap, rowGap, gridColumn, gridRow, gridAutoFlow, gridAutoColumns, gridAutoRows, gridTemplateColumns, gridTemplateRows, gridTemplateAreas, gridArea);\nexport default grid;"],"names":["createUnaryUnit","getValue","handleBreakpoints","style","compose"],"mappings":";;;;;;;AAMA;AACA;AACY,MAAC,GAAG,GAAG,KAAK,IAAI;AAC5B,EAAE,IAAI,KAAK,CAAC,GAAG,KAAK,SAAS,IAAI,KAAK,CAAC,GAAG,KAAK,IAAI,EAAE;AACrD,IAAI,MAAM,WAAW,GAAGA,uBAAe,CAAC,KAAK,CAAC,KAAK,EAAE,SAAS,EAAE,CAAQ,CAAC;AACzE,IAAI,MAAM,kBAAkB,GAAG,SAAS,KAAK;AAC7C,MAAM,GAAG,EAAEC,gBAAQ,CAAC,WAAW,EAAE,SAAS;AAC1C,KAAK,CAAC;AACN,IAAI,OAAOC,6BAAiB,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,EAAE,kBAAkB,CAAC;AAClE,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AC;AACnB,MAAC,UAAU,GAAGC,aAAK,CAAC;AAChC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,OAAO,GAAGA,aAAK,CAAC;AAC7B,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,YAAY,GAAGA,aAAK,CAAC;AAClC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,eAAe,GAAGA,aAAK,CAAC;AACrC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,YAAY,GAAGA,aAAK,CAAC;AAClC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,mBAAmB,GAAGA,aAAK,CAAC;AACzC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,gBAAgB,GAAGA,aAAK,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,iBAAiB,GAAGA,aAAK,CAAC;AACvC,EAAE,IAAI,EAAE;AACR,CAAC;AACW,MAAC,QAAQ,GAAGA,aAAK,CAAC;AAC9B,EAAE,IAAI,EAAE;AACR,CAAC;AACYC,eAAO,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,QAAQ;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var index = require('../../../../../_virtual/index4.cjs');
|
|
7
6
|
var InitColorSchemeScript = require('../InitColorSchemeScript/InitColorSchemeScript.cjs');
|
|
8
7
|
var useCurrentColorScheme = require('./useCurrentColorScheme.cjs');
|
|
9
8
|
var require$$2 = require('react/jsx-runtime');
|
|
@@ -59,9 +58,6 @@ function createCssVarsProvider(options) {
|
|
|
59
58
|
systemMode: undefined
|
|
60
59
|
};
|
|
61
60
|
const ColorSchemeContext = /*#__PURE__*/React__namespace.createContext(undefined);
|
|
62
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
63
|
-
ColorSchemeContext.displayName = 'ColorSchemeContext';
|
|
64
|
-
}
|
|
65
61
|
const useColorScheme = () => React__namespace.useContext(ColorSchemeContext) || defaultContext;
|
|
66
62
|
const defaultColorSchemes = {};
|
|
67
63
|
const defaultComponents = {};
|
|
@@ -131,11 +127,6 @@ function createCssVarsProvider(options) {
|
|
|
131
127
|
mode = ctx.mode;
|
|
132
128
|
colorScheme = ctx.colorScheme;
|
|
133
129
|
}
|
|
134
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
135
|
-
if (forceThemeRerender && !restThemeProp.vars) {
|
|
136
|
-
console.warn(['MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.', 'Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution.'].join('\n'));
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
130
|
|
|
140
131
|
// `colorScheme` is undefined on the server and hydration phase
|
|
141
132
|
let calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;
|
|
@@ -250,12 +241,7 @@ function createCssVarsProvider(options) {
|
|
|
250
241
|
lightColorScheme,
|
|
251
242
|
mode,
|
|
252
243
|
setColorScheme,
|
|
253
|
-
setMode:
|
|
254
|
-
if (memoTheme.colorSchemeSelector === 'media') {
|
|
255
|
-
console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\n'));
|
|
256
|
-
}
|
|
257
|
-
setMode(newMode);
|
|
258
|
-
},
|
|
244
|
+
setMode: setMode ,
|
|
259
245
|
systemMode
|
|
260
246
|
}), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode, memoTheme.colorSchemeSelector]);
|
|
261
247
|
let shouldGenerateStyleSheet = true;
|
|
@@ -279,70 +265,6 @@ function createCssVarsProvider(options) {
|
|
|
279
265
|
children: element
|
|
280
266
|
});
|
|
281
267
|
}
|
|
282
|
-
process.env.NODE_ENV !== "production" ? CssVarsProvider.propTypes = {
|
|
283
|
-
/**
|
|
284
|
-
* The component tree.
|
|
285
|
-
*/
|
|
286
|
-
children: index.default.node,
|
|
287
|
-
/**
|
|
288
|
-
* The node used to attach the color-scheme attribute
|
|
289
|
-
*/
|
|
290
|
-
colorSchemeNode: index.default.any,
|
|
291
|
-
/**
|
|
292
|
-
* localStorage key used to store `colorScheme`
|
|
293
|
-
*/
|
|
294
|
-
colorSchemeStorageKey: index.default.string,
|
|
295
|
-
/**
|
|
296
|
-
* The default mode when the storage is empty,
|
|
297
|
-
* require the theme to have `colorSchemes` with light and dark.
|
|
298
|
-
*/
|
|
299
|
-
defaultMode: index.default.string,
|
|
300
|
-
/**
|
|
301
|
-
* If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.
|
|
302
|
-
*/
|
|
303
|
-
disableNestedContext: index.default.bool,
|
|
304
|
-
/**
|
|
305
|
-
* If `true`, the style sheet won't be generated.
|
|
306
|
-
*
|
|
307
|
-
* This is useful for controlling nested CssVarsProvider behavior.
|
|
308
|
-
*/
|
|
309
|
-
disableStyleSheetGeneration: index.default.bool,
|
|
310
|
-
/**
|
|
311
|
-
* Disable CSS transitions when switching between modes or color schemes.
|
|
312
|
-
*/
|
|
313
|
-
disableTransitionOnChange: index.default.bool,
|
|
314
|
-
/**
|
|
315
|
-
* The document to attach the attribute to.
|
|
316
|
-
*/
|
|
317
|
-
documentNode: index.default.any,
|
|
318
|
-
/**
|
|
319
|
-
* If `true`, theme values are recalculated when the mode changes.
|
|
320
|
-
*/
|
|
321
|
-
forceThemeRerender: index.default.bool,
|
|
322
|
-
/**
|
|
323
|
-
* The key in the local storage used to store current color scheme.
|
|
324
|
-
*/
|
|
325
|
-
modeStorageKey: index.default.string,
|
|
326
|
-
/**
|
|
327
|
-
* If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.
|
|
328
|
-
* You should use this option in conjunction with `InitColorSchemeScript` component.
|
|
329
|
-
*/
|
|
330
|
-
noSsr: index.default.bool,
|
|
331
|
-
/**
|
|
332
|
-
* The storage manager to be used for storing the mode and color scheme
|
|
333
|
-
* @default using `window.localStorage`
|
|
334
|
-
*/
|
|
335
|
-
storageManager: index.default.func,
|
|
336
|
-
/**
|
|
337
|
-
* The window that attaches the 'storage' event listener.
|
|
338
|
-
* @default window
|
|
339
|
-
*/
|
|
340
|
-
storageWindow: index.default.any,
|
|
341
|
-
/**
|
|
342
|
-
* The calculated theme object that will be passed through context.
|
|
343
|
-
*/
|
|
344
|
-
theme: index.default.object
|
|
345
|
-
} : void 0;
|
|
346
268
|
const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
347
269
|
const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
|
|
348
270
|
const getInitColorSchemeScript = params => InitColorSchemeScript.default({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createCssVarsProvider.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport ThemeProvider from \"../ThemeProvider/index.js\";\nimport InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport useCurrentColorScheme from \"./useCurrentColorScheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n defaultColorScheme,\n resolveTheme\n } = options;\n const defaultContext = {\n allColorSchemes: [],\n colorScheme: undefined,\n darkColorScheme: undefined,\n lightColorScheme: undefined,\n mode: undefined,\n setColorScheme: () => {},\n setMode: () => {},\n systemMode: undefined\n };\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;\n const defaultColorSchemes = {};\n const defaultComponents = {};\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageManager,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n disableNestedContext = false,\n disableStyleSheetGeneration = false,\n defaultMode: initialMode = 'system',\n forceThemeRerender = false,\n noSsr\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const initialTheme = React.useMemo(() => {\n if (themeProp) {\n return themeProp;\n }\n return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;\n }, [themeProp]);\n const scopedTheme = initialTheme[themeId];\n const restThemeProp = scopedTheme || initialTheme;\n const {\n colorSchemes = defaultColorSchemes,\n components = defaultComponents,\n cssVarPrefix\n } = restThemeProp;\n const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');\n const allColorSchemes = React.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? initialMode : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageManager,\n storageWindow,\n noSsr\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (forceThemeRerender && !restThemeProp.vars) {\n console.warn(['MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.', 'Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution.'].join('\\n'));\n }\n }\n\n // `colorScheme` is undefined on the server and hydration phase\n let calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;\n if (restThemeProp.vars && !forceThemeRerender) {\n calculatedColorScheme = restThemeProp.defaultColorScheme;\n }\n const memoTheme = React.useMemo(() => {\n // 2. get the `vars` object that refers to the CSS custom properties\n const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;\n\n // 3. Start composing the theme object\n const theme = {\n ...restThemeProp,\n components,\n colorSchemes,\n cssVarPrefix,\n vars: themeVars\n };\n if (typeof theme.generateSpacing === 'function') {\n theme.spacing = theme.generateSpacing();\n }\n\n // 4. Resolve the color scheme and merge it to the theme\n if (calculatedColorScheme) {\n const scheme = colorSchemes[calculatedColorScheme];\n if (scheme && typeof scheme === 'object') {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = {\n ...theme[schemeKey],\n ...scheme[schemeKey]\n };\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n }\n }\n return resolveTheme ? resolveTheme(theme) : theme;\n }, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n const colorSchemeSelector = restThemeProp.colorSchemeSelector;\n useEnhancedEffect(() => {\n if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {\n const selector = colorSchemeSelector;\n let rule = colorSchemeSelector;\n if (selector === 'class') {\n rule = `.%s`;\n }\n if (selector === 'data') {\n rule = `[data-%s]`;\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (rule.startsWith('.')) {\n colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));\n colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));\n } else {\n const matches = rule.replace('%s', colorScheme).match(/\\[([^\\]]+)\\]/);\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n // for attributes like `data-theme-dark`, `data-theme-light`\n // remove all the existing data attributes before setting the new one\n allColorSchemes.forEach(scheme => {\n colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));\n });\n }\n colorSchemeNode.setAttribute(attr, value ? value.replace(/\"|'/g, '') : '');\n } else {\n colorSchemeNode.setAttribute(rule, colorScheme);\n }\n }\n }\n }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode: process.env.NODE_ENV === 'production' ? setMode : newMode => {\n if (memoTheme.colorSchemeSelector === 'media') {\n console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\\n'));\n }\n setMode(newMode);\n },\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode, memoTheme.colorSchemeSelector]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: memoTheme,\n children: children\n }), shouldGenerateStyleSheet && /*#__PURE__*/_jsx(GlobalStyles, {\n styles: memoTheme.generateStyleSheets?.() || []\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The default mode when the storage is empty,\n * require the theme to have `colorSchemes` with light and dark.\n */\n defaultMode: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * If `true`, theme values are recalculated when the mode changes.\n */\n forceThemeRerender: PropTypes.bool,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.\n * You should use this option in conjunction with `InitColorSchemeScript` component.\n */\n noSsr: PropTypes.bool,\n /**\n * The storage manager to be used for storing the mode and color scheme\n * @default using `window.localStorage`\n */\n storageManager: PropTypes.func,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const getInitColorSchemeScript = params => InitColorSchemeScript({\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey,\n ...params\n });\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}"],"names":["DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","React","muiUseTheme","useCurrentColorScheme","useEnhancedEffect","_jsxs","_jsx","ThemeProvider","GlobalStyles","PropTypes","InitColorSchemeScript"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWY,MAAC,sBAAsB,GAAG;AACvB,SAAS,qBAAqB,CAAC,OAAO,EAAE;AACvD,EAAE,MAAM;AACR,IAAI,OAAO;AACX;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAK,EAAE,YAAY,GAAG,EAAE;AAC5B,IAAI,cAAc,EAAE,qBAAqB,GAAGA,8CAAwB;AACpE,IAAI,qBAAqB,EAAE,4BAA4B,GAAGC,sDAAgC;AAC1F,IAAI,yBAAyB,EAAE,8BAA8B,GAAG,KAAK;AACrE,IAAI,kBAAkB;AACtB,IAAI;AACJ,GAAG,GAAG,OAAO;AACb,EAAE,MAAM,cAAc,GAAG;AACzB,IAAI,eAAe,EAAE,EAAE;AACvB,IAAI,WAAW,EAAE,SAAS;AAC1B,IAAI,eAAe,EAAE,SAAS;AAC9B,IAAI,gBAAgB,EAAE,SAAS;AAC/B,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,cAAc,EAAE,MAAM,CAAC,CAAC;AAC5B,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC;AACrB,IAAI,UAAU,EAAE;AAChB,GAAG;AACH,EAAE,MAAM,kBAAkB,gBAAgBC,gBAAK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I;AAClC;AACA;AACA;AACA;AACA,IAAI,aAAa,EAAEA,aAAS,CAAC,GAAG;AAChC;AACA;AACA;AACA,IAAI,KAAK,EAAEA,aAAS,CAAC;AACrB,GAAG,GAAG,MAAM;AACZ,EAAE,MAAM,uBAAuB,GAAG,OAAO,kBAAkB,KAAK,QAAQ,GAAG,kBAAkB,GAAG,kBAAkB,CAAC,KAAK;AACxH,EAAE,MAAM,sBAAsB,GAAG,OAAO,kBAAkB,KAAK,QAAQ,GAAG,kBAAkB,GAAG,kBAAkB,CAAC,IAAI;AACtH,EAAE,MAAM,wBAAwB,GAAG,MAAM,IAAIC,6BAAqB,CAAC;AACnE,IAAI,qBAAqB,EAAE,4BAA4B;AACvD,IAAI,uBAAuB;AAC3B,IAAI,sBAAsB;AAC1B,IAAI,cAAc,EAAE,qBAAqB;AACzC,IAAI,GAAG;AACP,GAAG,CAAC;AACJ,EAAE,OAAO;AACT,IAAI,eAAe;AACnB,IAAI,cAAc;AAClB,IAAI;AACJ,GAAG;AACH;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"createCssVarsProvider.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { GlobalStyles } from '@mui/styled-engine';\nimport { useTheme as muiUseTheme } from '@mui/private-theming';\nimport useEnhancedEffect from '@mui/utils/useEnhancedEffect';\nimport ThemeProvider from \"../ThemeProvider/index.js\";\nimport InitColorSchemeScript, { DEFAULT_COLOR_SCHEME_STORAGE_KEY, DEFAULT_MODE_STORAGE_KEY } from \"../InitColorSchemeScript/InitColorSchemeScript.js\";\nimport useCurrentColorScheme from \"./useCurrentColorScheme.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';\nexport default function createCssVarsProvider(options) {\n const {\n themeId,\n /**\n * This `theme` object needs to follow a certain structure to\n * be used correctly by the finel `CssVarsProvider`. It should have a\n * `colorSchemes` key with the light and dark (and any other) palette.\n * It should also ideally have a vars object created using `prepareCssVars`.\n */\n theme: defaultTheme = {},\n modeStorageKey: defaultModeStorageKey = DEFAULT_MODE_STORAGE_KEY,\n colorSchemeStorageKey: defaultColorSchemeStorageKey = DEFAULT_COLOR_SCHEME_STORAGE_KEY,\n disableTransitionOnChange: designSystemTransitionOnChange = false,\n defaultColorScheme,\n resolveTheme\n } = options;\n const defaultContext = {\n allColorSchemes: [],\n colorScheme: undefined,\n darkColorScheme: undefined,\n lightColorScheme: undefined,\n mode: undefined,\n setColorScheme: () => {},\n setMode: () => {},\n systemMode: undefined\n };\n const ColorSchemeContext = /*#__PURE__*/React.createContext(undefined);\n if (process.env.NODE_ENV !== 'production') {\n ColorSchemeContext.displayName = 'ColorSchemeContext';\n }\n const useColorScheme = () => React.useContext(ColorSchemeContext) || defaultContext;\n const defaultColorSchemes = {};\n const defaultComponents = {};\n function CssVarsProvider(props) {\n const {\n children,\n theme: themeProp,\n modeStorageKey = defaultModeStorageKey,\n colorSchemeStorageKey = defaultColorSchemeStorageKey,\n disableTransitionOnChange = designSystemTransitionOnChange,\n storageManager,\n storageWindow = typeof window === 'undefined' ? undefined : window,\n documentNode = typeof document === 'undefined' ? undefined : document,\n colorSchemeNode = typeof document === 'undefined' ? undefined : document.documentElement,\n disableNestedContext = false,\n disableStyleSheetGeneration = false,\n defaultMode: initialMode = 'system',\n forceThemeRerender = false,\n noSsr\n } = props;\n const hasMounted = React.useRef(false);\n const upperTheme = muiUseTheme();\n const ctx = React.useContext(ColorSchemeContext);\n const nested = !!ctx && !disableNestedContext;\n const initialTheme = React.useMemo(() => {\n if (themeProp) {\n return themeProp;\n }\n return typeof defaultTheme === 'function' ? defaultTheme() : defaultTheme;\n }, [themeProp]);\n const scopedTheme = initialTheme[themeId];\n const restThemeProp = scopedTheme || initialTheme;\n const {\n colorSchemes = defaultColorSchemes,\n components = defaultComponents,\n cssVarPrefix\n } = restThemeProp;\n const joinedColorSchemes = Object.keys(colorSchemes).filter(k => !!colorSchemes[k]).join(',');\n const allColorSchemes = React.useMemo(() => joinedColorSchemes.split(','), [joinedColorSchemes]);\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const defaultMode = colorSchemes[defaultLightColorScheme] && colorSchemes[defaultDarkColorScheme] ? initialMode : colorSchemes[restThemeProp.defaultColorScheme]?.palette?.mode || restThemeProp.palette?.mode;\n\n // 1. Get the data about the `mode`, `colorScheme`, and setter functions.\n const {\n mode: stateMode,\n setMode,\n systemMode,\n lightColorScheme,\n darkColorScheme,\n colorScheme: stateColorScheme,\n setColorScheme\n } = useCurrentColorScheme({\n supportedColorSchemes: allColorSchemes,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey,\n colorSchemeStorageKey,\n defaultMode,\n storageManager,\n storageWindow,\n noSsr\n });\n let mode = stateMode;\n let colorScheme = stateColorScheme;\n if (nested) {\n mode = ctx.mode;\n colorScheme = ctx.colorScheme;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (forceThemeRerender && !restThemeProp.vars) {\n console.warn(['MUI: The `forceThemeRerender` prop should only be used with CSS theme variables.', 'Note that it will slow down the app when changing between modes, so only do this when you cannot find a better solution.'].join('\\n'));\n }\n }\n\n // `colorScheme` is undefined on the server and hydration phase\n let calculatedColorScheme = colorScheme || restThemeProp.defaultColorScheme;\n if (restThemeProp.vars && !forceThemeRerender) {\n calculatedColorScheme = restThemeProp.defaultColorScheme;\n }\n const memoTheme = React.useMemo(() => {\n // 2. get the `vars` object that refers to the CSS custom properties\n const themeVars = restThemeProp.generateThemeVars?.() || restThemeProp.vars;\n\n // 3. Start composing the theme object\n const theme = {\n ...restThemeProp,\n components,\n colorSchemes,\n cssVarPrefix,\n vars: themeVars\n };\n if (typeof theme.generateSpacing === 'function') {\n theme.spacing = theme.generateSpacing();\n }\n\n // 4. Resolve the color scheme and merge it to the theme\n if (calculatedColorScheme) {\n const scheme = colorSchemes[calculatedColorScheme];\n if (scheme && typeof scheme === 'object') {\n // 4.1 Merge the selected color scheme to the theme\n Object.keys(scheme).forEach(schemeKey => {\n if (scheme[schemeKey] && typeof scheme[schemeKey] === 'object') {\n // shallow merge the 1st level structure of the theme.\n theme[schemeKey] = {\n ...theme[schemeKey],\n ...scheme[schemeKey]\n };\n } else {\n theme[schemeKey] = scheme[schemeKey];\n }\n });\n }\n }\n return resolveTheme ? resolveTheme(theme) : theme;\n }, [restThemeProp, calculatedColorScheme, components, colorSchemes, cssVarPrefix]);\n\n // 5. Declaring effects\n // 5.1 Updates the selector value to use the current color scheme which tells CSS to use the proper stylesheet.\n const colorSchemeSelector = restThemeProp.colorSchemeSelector;\n useEnhancedEffect(() => {\n if (colorScheme && colorSchemeNode && colorSchemeSelector && colorSchemeSelector !== 'media') {\n const selector = colorSchemeSelector;\n let rule = colorSchemeSelector;\n if (selector === 'class') {\n rule = `.%s`;\n }\n if (selector === 'data') {\n rule = `[data-%s]`;\n }\n if (selector?.startsWith('data-') && !selector.includes('%s')) {\n // 'data-mui-color-scheme' -> '[data-mui-color-scheme=\"%s\"]'\n rule = `[${selector}=\"%s\"]`;\n }\n if (rule.startsWith('.')) {\n colorSchemeNode.classList.remove(...allColorSchemes.map(scheme => rule.substring(1).replace('%s', scheme)));\n colorSchemeNode.classList.add(rule.substring(1).replace('%s', colorScheme));\n } else {\n const matches = rule.replace('%s', colorScheme).match(/\\[([^\\]]+)\\]/);\n if (matches) {\n const [attr, value] = matches[1].split('=');\n if (!value) {\n // for attributes like `data-theme-dark`, `data-theme-light`\n // remove all the existing data attributes before setting the new one\n allColorSchemes.forEach(scheme => {\n colorSchemeNode.removeAttribute(attr.replace(colorScheme, scheme));\n });\n }\n colorSchemeNode.setAttribute(attr, value ? value.replace(/\"|'/g, '') : '');\n } else {\n colorSchemeNode.setAttribute(rule, colorScheme);\n }\n }\n }\n }, [colorScheme, colorSchemeSelector, colorSchemeNode, allColorSchemes]);\n\n // 5.2 Remove the CSS transition when color scheme changes to create instant experience.\n // credit: https://github.com/pacocoursey/next-themes/blob/b5c2bad50de2d61ad7b52a9c5cdc801a78507d7a/index.tsx#L313\n React.useEffect(() => {\n let timer;\n if (disableTransitionOnChange && hasMounted.current && documentNode) {\n const css = documentNode.createElement('style');\n css.appendChild(documentNode.createTextNode(DISABLE_CSS_TRANSITION));\n documentNode.head.appendChild(css);\n\n // Force browser repaint\n (() => window.getComputedStyle(documentNode.body))();\n timer = setTimeout(() => {\n documentNode.head.removeChild(css);\n }, 1);\n }\n return () => {\n clearTimeout(timer);\n };\n }, [colorScheme, disableTransitionOnChange, documentNode]);\n React.useEffect(() => {\n hasMounted.current = true;\n return () => {\n hasMounted.current = false;\n };\n }, []);\n const contextValue = React.useMemo(() => ({\n allColorSchemes,\n colorScheme,\n darkColorScheme,\n lightColorScheme,\n mode,\n setColorScheme,\n setMode: process.env.NODE_ENV === 'production' ? setMode : newMode => {\n if (memoTheme.colorSchemeSelector === 'media') {\n console.error(['MUI: The `setMode` function has no effect if `colorSchemeSelector` is `media` (`media` is the default value).', 'To toggle the mode manually, please configure `colorSchemeSelector` to use a class or data attribute.', 'To learn more, visit https://mui.com/material-ui/customization/css-theme-variables/configuration/#toggling-dark-mode-manually'].join('\\n'));\n }\n setMode(newMode);\n },\n systemMode\n }), [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode, memoTheme.colorSchemeSelector]);\n let shouldGenerateStyleSheet = true;\n if (disableStyleSheetGeneration || restThemeProp.cssVariables === false || nested && upperTheme?.cssVarPrefix === cssVarPrefix) {\n shouldGenerateStyleSheet = false;\n }\n const element = /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(ThemeProvider, {\n themeId: scopedTheme ? themeId : undefined,\n theme: memoTheme,\n children: children\n }), shouldGenerateStyleSheet && /*#__PURE__*/_jsx(GlobalStyles, {\n styles: memoTheme.generateStyleSheets?.() || []\n })]\n });\n if (nested) {\n return element;\n }\n return /*#__PURE__*/_jsx(ColorSchemeContext.Provider, {\n value: contextValue,\n children: element\n });\n }\n process.env.NODE_ENV !== \"production\" ? CssVarsProvider.propTypes = {\n /**\n * The component tree.\n */\n children: PropTypes.node,\n /**\n * The node used to attach the color-scheme attribute\n */\n colorSchemeNode: PropTypes.any,\n /**\n * localStorage key used to store `colorScheme`\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The default mode when the storage is empty,\n * require the theme to have `colorSchemes` with light and dark.\n */\n defaultMode: PropTypes.string,\n /**\n * If `true`, the provider creates its own context and generate stylesheet as if it is a root `CssVarsProvider`.\n */\n disableNestedContext: PropTypes.bool,\n /**\n * If `true`, the style sheet won't be generated.\n *\n * This is useful for controlling nested CssVarsProvider behavior.\n */\n disableStyleSheetGeneration: PropTypes.bool,\n /**\n * Disable CSS transitions when switching between modes or color schemes.\n */\n disableTransitionOnChange: PropTypes.bool,\n /**\n * The document to attach the attribute to.\n */\n documentNode: PropTypes.any,\n /**\n * If `true`, theme values are recalculated when the mode changes.\n */\n forceThemeRerender: PropTypes.bool,\n /**\n * The key in the local storage used to store current color scheme.\n */\n modeStorageKey: PropTypes.string,\n /**\n * If `true`, the mode will be the same value as the storage without an extra rerendering after the hydration.\n * You should use this option in conjunction with `InitColorSchemeScript` component.\n */\n noSsr: PropTypes.bool,\n /**\n * The storage manager to be used for storing the mode and color scheme\n * @default using `window.localStorage`\n */\n storageManager: PropTypes.func,\n /**\n * The window that attaches the 'storage' event listener.\n * @default window\n */\n storageWindow: PropTypes.any,\n /**\n * The calculated theme object that will be passed through context.\n */\n theme: PropTypes.object\n } : void 0;\n const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;\n const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;\n const getInitColorSchemeScript = params => InitColorSchemeScript({\n colorSchemeStorageKey: defaultColorSchemeStorageKey,\n defaultLightColorScheme,\n defaultDarkColorScheme,\n modeStorageKey: defaultModeStorageKey,\n ...params\n });\n return {\n CssVarsProvider,\n useColorScheme,\n getInitColorSchemeScript\n };\n}"],"names":["DEFAULT_MODE_STORAGE_KEY","DEFAULT_COLOR_SCHEME_STORAGE_KEY","React","muiUseTheme","useCurrentColorScheme","useEnhancedEffect","_jsxs","_jsx","ThemeProvider","GlobalStyles","InitColorSchemeScript"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWY,MAAC,sBAAsB,GAAG;AACvB,SAAS,qBAAqB,CAAC,OAAO,EAAE;AACvD,EAAE,MAAM;AACR,IAAI,OAAO;AACX;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,KAAK,EAAE,YAAY,GAAG,EAAE;AAC5B,IAAI,cAAc,EAAE,qBAAqB,GAAGA,8CAAwB;AACpE,IAAI,qBAAqB,EAAE,4BAA4B,GAAGC,sDAAgC;AAC1F,IAAI,yBAAyB,EAAE,8BAA8B,GAAG,KAAK;AACrE,IAAI,kBAAkB;AACtB,IAAI;AACJ,GAAG,GAAG,OAAO;AACb,EAAE,MAAM,cAAc,GAAG;AACzB,IAAI,eAAe,EAAE,EAAE;AACvB,IAAI,WAAW,EAAE,SAAS;AAC1B,IAAI,eAAe,EAAE,SAAS;AAC9B,IAAI,gBAAgB,EAAE,SAAS;AAC/B,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,cAAc,EAAE,MAAM,CAAC,CAAC;AAC5B,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC;AACrB,IAAI,UAAU,EAAE;AAChB,GAAG;AACH,EAAE,MAAM,kBAAkB,gBAAgBC,gBAAK,CAAC,aAAa,CAAC,SAAS,CAAC;AAIxE,EAAE,MAAM,cAAc,GAAG,MAAMA,gBA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AAc,EAAE,qBAAqB;AACzC,IAAI,GAAG;AACP,GAAG,CAAC;AACJ,EAAE,OAAO;AACT,IAAI,eAAe;AACnB,IAAI,cAAc;AAClB,IAAI;AACJ,GAAG;AACH;;;;;","x_google_ignoreList":[0]}
|
|
@@ -4,11 +4,6 @@
|
|
|
4
4
|
function createGetColorSchemeSelector(selector) {
|
|
5
5
|
return function getColorSchemeSelector(colorScheme) {
|
|
6
6
|
if (selector === 'media') {
|
|
7
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
8
|
-
if (colorScheme !== 'light' && colorScheme !== 'dark') {
|
|
9
|
-
console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
7
|
return `@media (prefers-color-scheme: ${colorScheme})`;
|
|
13
8
|
}
|
|
14
9
|
if (selector) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getColorSchemeSelector.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}"],"names":[],"mappings":";;AAAA;AACO,SAAS,4BAA4B,CAAC,QAAQ,EAAE;AACvD,EAAE,OAAO,SAAS,sBAAsB,CAAC,WAAW,EAAE;AACtD,IAAI,IAAI,QAAQ,KAAK,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"getColorSchemeSelector.cjs","sources":["../../../../../../../node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nexport function createGetColorSchemeSelector(selector) {\n return function getColorSchemeSelector(colorScheme) {\n if (selector === 'media') {\n if (process.env.NODE_ENV !== 'production') {\n if (colorScheme !== 'light' && colorScheme !== 'dark') {\n console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${colorScheme}'.`);\n }\n }\n return `@media (prefers-color-scheme: ${colorScheme})`;\n }\n if (selector) {\n if (selector.startsWith('data-') && !selector.includes('%s')) {\n return `[${selector}=\"${colorScheme}\"] &`;\n }\n if (selector === 'class') {\n return `.${colorScheme} &`;\n }\n if (selector === 'data') {\n return `[data-${colorScheme}] &`;\n }\n return `${selector.replace('%s', colorScheme)} &`;\n }\n return '&';\n };\n}"],"names":[],"mappings":";;AAAA;AACO,SAAS,4BAA4B,CAAC,QAAQ,EAAE;AACvD,EAAE,OAAO,SAAS,sBAAsB,CAAC,WAAW,EAAE;AACtD,IAAI,IAAI,QAAQ,KAAK,OAAO,EAAE;AAM9B,MAAM,OAAO,CAAC,8BAA8B,EAAE,WAAW,CAAC,CAAC,CAAC;AAC5D,IAAI;AACJ,IAAI,IAAI,QAAQ,EAAE;AAClB,MAAM,IAAI,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;AACpE,QAAQ,OAAO,CAAC,CAAC,EAAE,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC;AACjD,MAAM;AACN,MAAM,IAAI,QAAQ,KAAK,OAAO,EAAE;AAChC,QAAQ,OAAO,CAAC,CAAC,EAAE,WAAW,CAAC,EAAE,CAAC;AAClC,MAAM;AACN,MAAM,IAAI,QAAQ,KAAK,MAAM,EAAE;AAC/B,QAAQ,OAAO,CAAC,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC;AACxC,MAAM;AACN,MAAM,OAAO,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,EAAE,CAAC;AACvD,IAAI;AACJ,IAAI,OAAO,GAAG;AACd,EAAE,CAAC;AACH;;;;","x_google_ignoreList":[0]}
|