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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slide.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/Slide/Slide.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport debounce from \"../utils/debounce.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { reflow, getTransitionProps } from \"../transitions/utils.js\";\nimport { ownerWindow } from \"../utils/index.js\";\n\n// Translate the node so it can't be seen on the screen.\n// Later, we're going to translate the node back to its original location with `none`.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getTranslateValue(direction, node, resolvedContainer) {\n const rect = node.getBoundingClientRect();\n const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();\n const containerWindow = ownerWindow(node);\n let transform;\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n const computedStyle = containerWindow.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n let offsetX = 0;\n let offsetY = 0;\n if (transform && transform !== 'none' && typeof transform === 'string') {\n const transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n if (direction === 'left') {\n if (containerRect) {\n return `translateX(${containerRect.right + offsetX - rect.left}px)`;\n }\n return `translateX(${containerWindow.innerWidth + offsetX - rect.left}px)`;\n }\n if (direction === 'right') {\n if (containerRect) {\n return `translateX(-${rect.right - containerRect.left - offsetX}px)`;\n }\n return `translateX(-${rect.left + rect.width - offsetX}px)`;\n }\n if (direction === 'up') {\n if (containerRect) {\n return `translateY(${containerRect.bottom + offsetY - rect.top}px)`;\n }\n return `translateY(${containerWindow.innerHeight + offsetY - rect.top}px)`;\n }\n\n // direction === 'down'\n if (containerRect) {\n return `translateY(-${rect.top - containerRect.top + rect.height - offsetY}px)`;\n }\n return `translateY(-${rect.top + rect.height - offsetY}px)`;\n}\nfunction resolveContainer(containerPropProp) {\n return typeof containerPropProp === 'function' ? containerPropProp() : containerPropProp;\n}\nexport function setTranslateValue(direction, node, containerProp) {\n const resolvedContainer = resolveContainer(containerProp);\n const transform = getTranslateValue(direction, node, resolvedContainer);\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\n\n/**\n * The Slide transition is used by the [Drawer](/material-ui/react-drawer/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {\n const theme = useTheme();\n const defaultEasing = {\n enter: theme.transitions.easing.easeOut,\n exit: theme.transitions.easing.sharp\n };\n const defaultTimeout = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n addEndListener,\n appear = true,\n children,\n container: containerProp,\n direction = 'down',\n easing: easingProp = defaultEasing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = defaultTimeout,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const childrenRef = React.useRef(null);\n const handleRef = useForkRef(getReactElementRef(children), childrenRef, ref);\n const normalizedTransitionCallback = callback => isAppearing => {\n if (callback) {\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (isAppearing === undefined) {\n callback(childrenRef.current);\n } else {\n callback(childrenRef.current, isAppearing);\n }\n }\n };\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n setTranslateValue(direction, node, containerProp);\n reflow(node);\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntering = normalizedTransitionCallback((node, isAppearing) => {\n const transitionProps = getTransitionProps({\n timeout,\n style,\n easing: easingProp\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', {\n ...transitionProps\n });\n node.style.transition = theme.transitions.create('transform', {\n ...transitionProps\n });\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const transitionProps = getTransitionProps({\n timeout,\n style,\n easing: easingProp\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n setTranslateValue(direction, node, containerProp);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(node => {\n // No need for transitions when the component is hidden\n node.style.webkitTransition = '';\n node.style.transition = '';\n if (onExited) {\n onExited(node);\n }\n });\n const handleAddEndListener = next => {\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(childrenRef.current, next);\n }\n };\n const updatePosition = React.useCallback(() => {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current, containerProp);\n }\n }, [direction, containerProp]);\n React.useEffect(() => {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n const handleResize = debounce(() => {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current, containerProp);\n }\n });\n const containerWindow = ownerWindow(childrenRef.current);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp, containerProp]);\n React.useEffect(() => {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n return /*#__PURE__*/_jsx(TransitionComponent, {\n nodeRef: childrenRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n appear: appear,\n in: inProp,\n timeout: timeout,\n ...other,\n children: (state, {\n ownerState,\n ...restChildProps\n }) => {\n return /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef,\n style: {\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...style,\n ...children.props.style\n },\n ...restChildProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Slide.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * Perform the enter transition when it first mounts if `in` is also `true`.\n * Set this to `false` to disable this behavior.\n * @default true\n */\n appear: PropTypes.bool,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the container the Slide is transitioning from.\n */\n container: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), props => {\n if (props.open) {\n const resolvedContainer = resolveContainer(props.container);\n if (resolvedContainer && resolvedContainer.nodeType === 1) {\n const box = resolvedContainer.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production' && !globalThis.MUI_TEST_ENV && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `container` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else if (!resolvedContainer || typeof resolvedContainer.getBoundingClientRect !== 'function' || resolvedContainer.contextElement != null && resolvedContainer.contextElement.nodeType !== 1) {\n return new Error(['MUI: The `container` prop provided to the component is invalid.', 'It should be an HTML element instance.'].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * Direction the child node will enter from.\n * @default 'down'\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n * @default {\n * enter: theme.transitions.easing.easeOut,\n * exit: theme.transitions.easing.sharp,\n * }\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Slide;"],"names":["ownerWindow","React","useTheme","Transition","useForkRef","getReactElementRef","reflow","getTransitionProps","debounce","_jsx","PropTypes","elementAcceptingRef","chainPropTypes","HTMLElementType"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE;AAC/D,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,EAAE;AAC3C,EAAE,MAAM,aAAa,GAAG,iBAAiB,IAAI,iBAAiB,CAAC,qBAAqB,EAAE;AACtF,EAAE,MAAM,eAAe,GAAGA,mBAAW,CAAC,IAAI,CAAC;AAC3C,EAAE,IAAI,SAAS;AACf,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE;AAC1B,IAAI,SAAS,GAAG,IAAI,CAAC,aAAa;AAClC,EAAE,CAAC,MAAM;AACT,IAAI,MAAM,aAAa,GAAG,eAAe,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAChE,IAAI,SAAS,GAAG,aAAa,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,IAAI,aAAa,CAAC,gBAAgB,CAAC,WAAW,CAAC;AAClH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AAC,IAAI;AAC3B;AACA;AACA;AACA,EAAE,UAAU,EAAEA,aAAS,CAAC,IAAI;AAC5B;AACA;AACA;AACA,EAAE,MAAM,EAAEA,aAAS,CAAC,IAAI;AACxB;AACA;AACA;AACA,EAAE,QAAQ,EAAEA,aAAS,CAAC,IAAI;AAC1B;AACA;AACA;AACA,EAAE,SAAS,EAAEA,aAAS,CAAC,IAAI;AAC3B;AACA;AACA;AACA,EAAE,KAAK,EAAEA,aAAS,CAAC,MAAM;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAEA,aAAS,CAAC,SAAS,CAAC,CAACA,aAAS,CAAC,MAAM,EAAEA,aAAS,CAAC,KAAK,CAAC;AAClE,IAAI,MAAM,EAAEA,aAAS,CAAC,MAAM;AAC5B,IAAI,KAAK,EAAEA,aAAS,CAAC,MAAM;AAC3B,IAAI,IAAI,EAAEA,aAAS,CAAC;AACpB,GAAG,CAAC,CAAC;AACL,CAAC,GAAG,MAAM;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Slide.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/Slide/Slide.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { Transition } from 'react-transition-group';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport HTMLElementType from '@mui/utils/HTMLElementType';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport debounce from \"../utils/debounce.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { reflow, getTransitionProps } from \"../transitions/utils.js\";\nimport { ownerWindow } from \"../utils/index.js\";\n\n// Translate the node so it can't be seen on the screen.\n// Later, we're going to translate the node back to its original location with `none`.\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getTranslateValue(direction, node, resolvedContainer) {\n const rect = node.getBoundingClientRect();\n const containerRect = resolvedContainer && resolvedContainer.getBoundingClientRect();\n const containerWindow = ownerWindow(node);\n let transform;\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n const computedStyle = containerWindow.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n let offsetX = 0;\n let offsetY = 0;\n if (transform && transform !== 'none' && typeof transform === 'string') {\n const transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n if (direction === 'left') {\n if (containerRect) {\n return `translateX(${containerRect.right + offsetX - rect.left}px)`;\n }\n return `translateX(${containerWindow.innerWidth + offsetX - rect.left}px)`;\n }\n if (direction === 'right') {\n if (containerRect) {\n return `translateX(-${rect.right - containerRect.left - offsetX}px)`;\n }\n return `translateX(-${rect.left + rect.width - offsetX}px)`;\n }\n if (direction === 'up') {\n if (containerRect) {\n return `translateY(${containerRect.bottom + offsetY - rect.top}px)`;\n }\n return `translateY(${containerWindow.innerHeight + offsetY - rect.top}px)`;\n }\n\n // direction === 'down'\n if (containerRect) {\n return `translateY(-${rect.top - containerRect.top + rect.height - offsetY}px)`;\n }\n return `translateY(-${rect.top + rect.height - offsetY}px)`;\n}\nfunction resolveContainer(containerPropProp) {\n return typeof containerPropProp === 'function' ? containerPropProp() : containerPropProp;\n}\nexport function setTranslateValue(direction, node, containerProp) {\n const resolvedContainer = resolveContainer(containerProp);\n const transform = getTranslateValue(direction, node, resolvedContainer);\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\n\n/**\n * The Slide transition is used by the [Drawer](/material-ui/react-drawer/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {\n const theme = useTheme();\n const defaultEasing = {\n enter: theme.transitions.easing.easeOut,\n exit: theme.transitions.easing.sharp\n };\n const defaultTimeout = {\n enter: theme.transitions.duration.enteringScreen,\n exit: theme.transitions.duration.leavingScreen\n };\n const {\n addEndListener,\n appear = true,\n children,\n container: containerProp,\n direction = 'down',\n easing: easingProp = defaultEasing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = defaultTimeout,\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const childrenRef = React.useRef(null);\n const handleRef = useForkRef(getReactElementRef(children), childrenRef, ref);\n const normalizedTransitionCallback = callback => isAppearing => {\n if (callback) {\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (isAppearing === undefined) {\n callback(childrenRef.current);\n } else {\n callback(childrenRef.current, isAppearing);\n }\n }\n };\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n setTranslateValue(direction, node, containerProp);\n reflow(node);\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntering = normalizedTransitionCallback((node, isAppearing) => {\n const transitionProps = getTransitionProps({\n timeout,\n style,\n easing: easingProp\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', {\n ...transitionProps\n });\n node.style.transition = theme.transitions.create('transform', {\n ...transitionProps\n });\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const transitionProps = getTransitionProps({\n timeout,\n style,\n easing: easingProp\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', transitionProps);\n node.style.transition = theme.transitions.create('transform', transitionProps);\n setTranslateValue(direction, node, containerProp);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(node => {\n // No need for transitions when the component is hidden\n node.style.webkitTransition = '';\n node.style.transition = '';\n if (onExited) {\n onExited(node);\n }\n });\n const handleAddEndListener = next => {\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(childrenRef.current, next);\n }\n };\n const updatePosition = React.useCallback(() => {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current, containerProp);\n }\n }, [direction, containerProp]);\n React.useEffect(() => {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n const handleResize = debounce(() => {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current, containerProp);\n }\n });\n const containerWindow = ownerWindow(childrenRef.current);\n containerWindow.addEventListener('resize', handleResize);\n return () => {\n handleResize.clear();\n containerWindow.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp, containerProp]);\n React.useEffect(() => {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n return /*#__PURE__*/_jsx(TransitionComponent, {\n nodeRef: childrenRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n appear: appear,\n in: inProp,\n timeout: timeout,\n ...other,\n children: (state, {\n ownerState,\n ...restChildProps\n }) => {\n return /*#__PURE__*/React.cloneElement(children, {\n ref: handleRef,\n style: {\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...style,\n ...children.props.style\n },\n ...restChildProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Slide.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Add a custom transition end trigger. Called with the transitioning DOM\n * node and a done callback. Allows for more fine grained transition end\n * logic. Note: Timeouts are still used as a fallback if provided.\n */\n addEndListener: PropTypes.func,\n /**\n * Perform the enter transition when it first mounts if `in` is also `true`.\n * Set this to `false` to disable this behavior.\n * @default true\n */\n appear: PropTypes.bool,\n /**\n * A single child content element.\n */\n children: elementAcceptingRef.isRequired,\n /**\n * An HTML element, or a function that returns one.\n * It's used to set the container the Slide is transitioning from.\n */\n container: chainPropTypes(PropTypes.oneOfType([HTMLElementType, PropTypes.func]), props => {\n if (props.open) {\n const resolvedContainer = resolveContainer(props.container);\n if (resolvedContainer && resolvedContainer.nodeType === 1) {\n const box = resolvedContainer.getBoundingClientRect();\n if (process.env.NODE_ENV !== 'production' && !globalThis.MUI_TEST_ENV && box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {\n return new Error(['MUI: The `container` prop provided to the component is invalid.', 'The anchor element should be part of the document layout.', \"Make sure the element is present in the document or that it's not display none.\"].join('\\n'));\n }\n } else if (!resolvedContainer || typeof resolvedContainer.getBoundingClientRect !== 'function' || resolvedContainer.contextElement != null && resolvedContainer.contextElement.nodeType !== 1) {\n return new Error(['MUI: The `container` prop provided to the component is invalid.', 'It should be an HTML element instance.'].join('\\n'));\n }\n }\n return null;\n }),\n /**\n * Direction the child node will enter from.\n * @default 'down'\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n /**\n * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\n * @default {\n * enter: theme.transitions.easing.easeOut,\n * exit: theme.transitions.easing.sharp,\n * }\n */\n easing: PropTypes.oneOfType([PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string\n }), PropTypes.string]),\n /**\n * If `true`, the component will transition in.\n */\n in: PropTypes.bool,\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n * @default {\n * enter: theme.transitions.duration.enteringScreen,\n * exit: theme.transitions.duration.leavingScreen,\n * }\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Slide;"],"names":["ownerWindow","React","useTheme","Transition","useForkRef","getReactElementRef","reflow","getTransitionProps","debounce","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBA,SAAS,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE;AAC/D,EAAE,MAAM,IAAI,GAAG,IAAI,CAAC,qBAAqB,EAAE;AAC3C,EAAE,MAAM,aAAa,GAAG,iBAAiB,IAAI,iBAAiB,CAAC,qBAAqB,EAAE;AACtF,EAAE,MAAM,eAAe,GAAGA,mBAAW,CAAC,IAAI,CAAC;AAC3C,EAAE,IAAI,SAAS;AACf,EAAE,IAAI,IAAI,CAAC,aAAa,EAAE;AAC1B,IAAI,SAAS,GAAG,IAAI,CAAC,aAAa;AAClC,EAAE,CAAC,MAAM;AACT,IAAI,MAAM,aAAa,GAAG,eAAe,CAAC,gBAAgB,CAAC,IAAI,CAAC;AAChE,IAAI,SAAS,GAAG,aAAa,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,IAAI,aAAa,CAAC,gBAAgB,CAAC,WAAW,CAAC;AAClH,EAAE;AACF,EAAE,IAAI,OAAO,GAAG,CAAC;AACjB,EAAE,IAAI,OAAO,GAAG,CAAC;AACjB,EAAE,IAAI,SAAS,IAAI,SAAS,KAAK,MAAM,IAAI,OAAO,SAAS,KAAK,QAAQ,EAAE;AAC1E,IAAI,MAAM,eAAe,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KA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GAAG,SAAS;AAC1E,UAAU,GAAG,KAAK;AAClB,UAAU,GAAG,QAAQ,CAAC,KAAK,CAAC;AAC5B,SAAS;AACT,QAAQ,GAAG;AACX,OAAO,CAAC;AACR,IAAI;AACJ,GAAG,CAAC;AACJ,CAAC;;;;;","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 clsx = require('../../../../clsx/dist/clsx.cjs');
|
|
8
7
|
var memoTheme = require('../utils/memoTheme.cjs');
|
|
9
8
|
var svgIconClasses = require('./svgIconClasses.cjs');
|
|
@@ -180,78 +179,6 @@ const SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProp
|
|
|
180
179
|
}) : null]
|
|
181
180
|
});
|
|
182
181
|
});
|
|
183
|
-
process.env.NODE_ENV !== "production" ? SvgIcon.propTypes /* remove-proptypes */ = {
|
|
184
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
185
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
186
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
187
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
188
|
-
/**
|
|
189
|
-
* Node passed into the SVG element.
|
|
190
|
-
*/
|
|
191
|
-
children: index.default.node,
|
|
192
|
-
/**
|
|
193
|
-
* Override or extend the styles applied to the component.
|
|
194
|
-
*/
|
|
195
|
-
classes: index.default.object,
|
|
196
|
-
/**
|
|
197
|
-
* @ignore
|
|
198
|
-
*/
|
|
199
|
-
className: index.default.string,
|
|
200
|
-
/**
|
|
201
|
-
* The color of the component.
|
|
202
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
203
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
204
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
205
|
-
* @default 'inherit'
|
|
206
|
-
*/
|
|
207
|
-
color: index.default /* @typescript-to-proptypes-ignore */.oneOfType([index.default.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), index.default.string]),
|
|
208
|
-
/**
|
|
209
|
-
* The component used for the root node.
|
|
210
|
-
* Either a string to use a HTML element or a component.
|
|
211
|
-
*/
|
|
212
|
-
component: index.default.elementType,
|
|
213
|
-
/**
|
|
214
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
215
|
-
* @default 'medium'
|
|
216
|
-
*/
|
|
217
|
-
fontSize: index.default /* @typescript-to-proptypes-ignore */.oneOfType([index.default.oneOf(['inherit', 'large', 'medium', 'small']), index.default.string]),
|
|
218
|
-
/**
|
|
219
|
-
* Applies a color attribute to the SVG element.
|
|
220
|
-
*/
|
|
221
|
-
htmlColor: index.default.string,
|
|
222
|
-
/**
|
|
223
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
224
|
-
* prop will be ignored.
|
|
225
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
|
226
|
-
* `component`'s viewBox to the root node.
|
|
227
|
-
* @default false
|
|
228
|
-
*/
|
|
229
|
-
inheritViewBox: index.default.bool,
|
|
230
|
-
/**
|
|
231
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
232
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).
|
|
233
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
|
234
|
-
*/
|
|
235
|
-
shapeRendering: index.default.string,
|
|
236
|
-
/**
|
|
237
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
238
|
-
*/
|
|
239
|
-
sx: index.default.oneOfType([index.default.arrayOf(index.default.oneOfType([index.default.func, index.default.object, index.default.bool])), index.default.func, index.default.object]),
|
|
240
|
-
/**
|
|
241
|
-
* Provides a human-readable title for the element that contains it.
|
|
242
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
243
|
-
*/
|
|
244
|
-
titleAccess: index.default.string,
|
|
245
|
-
/**
|
|
246
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
247
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
248
|
-
* and you pass viewBox="0 0 50 20",
|
|
249
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
|
250
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
|
251
|
-
* @default '0 0 24 24'
|
|
252
|
-
*/
|
|
253
|
-
viewBox: index.default.string
|
|
254
|
-
} : void 0;
|
|
255
182
|
SvgIcon.muiName = 'SvgIcon';
|
|
256
183
|
|
|
257
184
|
exports.default = SvgIcon;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgIcon.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/SvgIcon/SvgIcon.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getSvgIconUtilityClass } from \"./svgIconClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n flexShrink: 0,\n transition: theme.transitions?.create?.('fill', {\n duration: (theme.vars ?? theme).transitions?.duration?.shorter\n }),\n variants: [{\n props: props => !props.hasSvgAsChild,\n style: {\n // the <svg> will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: 'currentColor'\n }\n }, {\n props: {\n fontSize: 'inherit'\n },\n style: {\n fontSize: 'inherit'\n }\n }, {\n props: {\n fontSize: 'small'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'\n }\n }, {\n props: {\n fontSize: 'medium'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'\n }\n }, {\n props: {\n fontSize: 'large'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'\n }\n },\n // TODO v5 deprecate color prop, v6 remove for sx\n ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars ?? theme).palette?.[color]?.main\n }\n })), {\n props: {\n color: 'action'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.active\n }\n }, {\n props: {\n color: 'disabled'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.disabled\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: undefined\n }\n }]\n})));\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24',\n ...other\n } = props;\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = {\n ...props,\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n };\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, {\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref,\n ...more,\n ...other,\n ...(hasSvgAsChild && children.props),\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default SvgIcon;"],"names":["capitalize","composeClasses","getSvgIconUtilityClass","styled","memoTheme","React","useDefaultProps","_jsxs","clsx","_jsx","PropTypes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,KAAK;AACT,IAAI,QAAQ;AACZ,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,EAAEA,kBAAU,CAAC,KAAK,CAAC,CAAC,CAAC,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aAAS,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,EAAEA,aAAS,CAAC,MAAM,CAAC,CAAC;AACzM;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAEA,aAAS,CAAC,WAAW;AAClC;AACA;AACA;AACA;AACA,EAAE,QAAQ,EAAEA,aAAS,uCAAuC,SAAS,CAAC,CAACA,aAAS,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,EAAEA,aAAS,CAAC,MAAM,CAAC,CAAC;AACnJ;AACA;AACA;AACA,EAAE,SAAS,EAAEA,aAAS,CAAC,MAAM;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,cAAc,EAAEA,aAAS,CAAC,IAAI;AAChC;AACA;AACA;AACA;AACA;AACA,EAAE,cAAc,EAAEA,aAAS,CAAC,MAAM;AAClC;AACA;AACA;AACA,EAAE,EAAE,EAAEA,aAAS,CAAC,SAAS,CAAC,CAACA,aAAS,CAAC,OAAO,CAACA,aAAS,CAAC,SAAS,CAAC,CAACA,aAAS,CAAC,IAAI,EAAEA,aAAS,CAAC,MAAM,EAAEA,aAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAEA,aAAS,CAAC,IAAI,EAAEA,aAAS,CAAC,MAAM,CAAC,CAAC;AACzJ;AACA;AACA;AACA;AACA,EAAE,WAAW,EAAEA,aAAS,CAAC,MAAM;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAEA,aAAS,CAAC;AACrB,CAAC,GAAG,MAAM;AACV,OAAO,CAAC,OAAO,GAAG,SAAS;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"SvgIcon.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/SvgIcon/SvgIcon.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { getSvgIconUtilityClass } from \"./svgIconClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n color,\n fontSize,\n classes\n } = ownerState;\n const slots = {\n root: ['root', color !== 'inherit' && `color${capitalize(color)}`, `fontSize${capitalize(fontSize)}`]\n };\n return composeClasses(slots, getSvgIconUtilityClass, classes);\n};\nconst SvgIconRoot = styled('svg', {\n name: 'MuiSvgIcon',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.color !== 'inherit' && styles[`color${capitalize(ownerState.color)}`], styles[`fontSize${capitalize(ownerState.fontSize)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n userSelect: 'none',\n width: '1em',\n height: '1em',\n display: 'inline-block',\n flexShrink: 0,\n transition: theme.transitions?.create?.('fill', {\n duration: (theme.vars ?? theme).transitions?.duration?.shorter\n }),\n variants: [{\n props: props => !props.hasSvgAsChild,\n style: {\n // the <svg> will define the property that has `currentColor`\n // for example heroicons uses fill=\"none\" and stroke=\"currentColor\"\n fill: 'currentColor'\n }\n }, {\n props: {\n fontSize: 'inherit'\n },\n style: {\n fontSize: 'inherit'\n }\n }, {\n props: {\n fontSize: 'small'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(20) || '1.25rem'\n }\n }, {\n props: {\n fontSize: 'medium'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(24) || '1.5rem'\n }\n }, {\n props: {\n fontSize: 'large'\n },\n style: {\n fontSize: theme.typography?.pxToRem?.(35) || '2.1875rem'\n }\n },\n // TODO v5 deprecate color prop, v6 remove for sx\n ...Object.entries((theme.vars ?? theme).palette).filter(([, value]) => value && value.main).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars ?? theme).palette?.[color]?.main\n }\n })), {\n props: {\n color: 'action'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.active\n }\n }, {\n props: {\n color: 'disabled'\n },\n style: {\n color: (theme.vars ?? theme).palette?.action?.disabled\n }\n }, {\n props: {\n color: 'inherit'\n },\n style: {\n color: undefined\n }\n }]\n})));\nconst SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiSvgIcon'\n });\n const {\n children,\n className,\n color = 'inherit',\n component = 'svg',\n fontSize = 'medium',\n htmlColor,\n inheritViewBox = false,\n titleAccess,\n viewBox = '0 0 24 24',\n ...other\n } = props;\n const hasSvgAsChild = /*#__PURE__*/React.isValidElement(children) && children.type === 'svg';\n const ownerState = {\n ...props,\n color,\n component,\n fontSize,\n instanceFontSize: inProps.fontSize,\n inheritViewBox,\n viewBox,\n hasSvgAsChild\n };\n const more = {};\n if (!inheritViewBox) {\n more.viewBox = viewBox;\n }\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(SvgIconRoot, {\n as: component,\n className: clsx(classes.root, className),\n focusable: \"false\",\n color: htmlColor,\n \"aria-hidden\": titleAccess ? undefined : true,\n role: titleAccess ? 'img' : undefined,\n ref: ref,\n ...more,\n ...other,\n ...(hasSvgAsChild && children.props),\n ownerState: ownerState,\n children: [hasSvgAsChild ? children.props.children : children, titleAccess ? /*#__PURE__*/_jsx(\"title\", {\n children: titleAccess\n }) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? SvgIcon.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Node passed into the SVG element.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n * You can use the `htmlColor` prop to apply a color attribute to the SVG element.\n * @default 'inherit'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'action', 'disabled', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.\n * @default 'medium'\n */\n fontSize: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'large', 'medium', 'small']), PropTypes.string]),\n /**\n * Applies a color attribute to the SVG element.\n */\n htmlColor: PropTypes.string,\n /**\n * If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`\n * prop will be ignored.\n * Useful when you want to reference a custom `component` and have `SvgIcon` pass that\n * `component`'s viewBox to the root node.\n * @default false\n */\n inheritViewBox: PropTypes.bool,\n /**\n * The shape-rendering attribute. The behavior of the different options is described on the\n * [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/shape-rendering).\n * If you are having issues with blurry icons you should investigate this prop.\n */\n shapeRendering: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Provides a human-readable title for the element that contains it.\n * https://www.w3.org/TR/SVG-access/#Equivalent\n */\n titleAccess: PropTypes.string,\n /**\n * Allows you to redefine what the coordinates without units mean inside an SVG element.\n * For example, if the SVG element is 500 (width) by 200 (height),\n * and you pass viewBox=\"0 0 50 20\",\n * this means that the coordinates inside the SVG will go from the top left corner (0,0)\n * to bottom right (50,20) and each unit will be worth 10px.\n * @default '0 0 24 24'\n */\n viewBox: PropTypes.string\n} : void 0;\nSvgIcon.muiName = 'SvgIcon';\nexport default SvgIcon;"],"names":["capitalize","composeClasses","getSvgIconUtilityClass","styled","memoTheme","React","useDefaultProps","_jsxs","clsx","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,KAAK;AACT,IAAI,QAAQ;AACZ,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,EAAEA,kBAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAEA,kBAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;AACxG,GAAG;AACH,EAAE,OAAOC,sBAAc,CAAC,KAAK,EAAEC,qCAAsB,EAAE,OAAO,CAAC;AAC/D,CAAC;AACD,MAAM,WAAW,GAAGC,cAAM,CAAC,KAAK,EAAE;AAClC,EAAE,IAAI,EAAE,YAAY;AACpB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK;AACxC,IAAI,MAAM;AACV,MAAM;AACN,KAAK,GAAG,KAAK;AACb,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,CAAC,KAAK,EAAEH,kBAAU,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,QAAQ,EAAEA,kBAAU,CAAC,UAAU,CAAC,QAAQ,CAAC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,UAAU,EAAE,UAAU;AAC1B,IAAI,QAAQ,EAAE,CAAC,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ,EAAE,WAAW,gBAAgBC,cAAI,CAAC,OAAO,EAAE;AAC5G,MAAM,QAAQ,EAAE;AAChB,KAAK,CAAC,GAAG,IAAI;AACb,GAAG,CAAC;AACJ,CAAC;AAyED,OAAO,CAAC,OAAO,GAAG,SAAS;;;;","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$1 = require('../../../../../_virtual/index4.cjs');
|
|
7
6
|
var clsx = require('../../../../clsx/dist/clsx.cjs');
|
|
8
7
|
var index = require('../zero-styled/index.cjs');
|
|
9
8
|
var memoTheme = require('../utils/memoTheme.cjs');
|
|
@@ -202,92 +201,6 @@ const Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(
|
|
|
202
201
|
}
|
|
203
202
|
});
|
|
204
203
|
});
|
|
205
|
-
process.env.NODE_ENV !== "production" ? Typography.propTypes /* remove-proptypes */ = {
|
|
206
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
207
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
208
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
209
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
210
|
-
/**
|
|
211
|
-
* Set the text-align on the component.
|
|
212
|
-
* @default 'inherit'
|
|
213
|
-
*/
|
|
214
|
-
align: index$1.default.oneOf(['center', 'inherit', 'justify', 'left', 'right']),
|
|
215
|
-
/**
|
|
216
|
-
* The content of the component.
|
|
217
|
-
*/
|
|
218
|
-
children: index$1.default.node,
|
|
219
|
-
/**
|
|
220
|
-
* Override or extend the styles applied to the component.
|
|
221
|
-
*/
|
|
222
|
-
classes: index$1.default.object,
|
|
223
|
-
/**
|
|
224
|
-
* @ignore
|
|
225
|
-
*/
|
|
226
|
-
className: index$1.default.string,
|
|
227
|
-
/**
|
|
228
|
-
* The color of the component.
|
|
229
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
230
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
231
|
-
*/
|
|
232
|
-
color: index$1.default /* @typescript-to-proptypes-ignore */.oneOfType([index$1.default.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), index$1.default.string]),
|
|
233
|
-
/**
|
|
234
|
-
* The component used for the root node.
|
|
235
|
-
* Either a string to use a HTML element or a component.
|
|
236
|
-
*/
|
|
237
|
-
component: index$1.default.elementType,
|
|
238
|
-
/**
|
|
239
|
-
* If `true`, the text will have a bottom margin.
|
|
240
|
-
* @default false
|
|
241
|
-
*/
|
|
242
|
-
gutterBottom: index$1.default.bool,
|
|
243
|
-
/**
|
|
244
|
-
* If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.
|
|
245
|
-
*
|
|
246
|
-
* Note that text overflow can only happen with block or inline-block level elements
|
|
247
|
-
* (the element needs to have a width in order to overflow).
|
|
248
|
-
* @default false
|
|
249
|
-
*/
|
|
250
|
-
noWrap: index$1.default.bool,
|
|
251
|
-
/**
|
|
252
|
-
* If `true`, the element will be a paragraph element.
|
|
253
|
-
* @default false
|
|
254
|
-
* @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
255
|
-
*/
|
|
256
|
-
paragraph: index$1.default.bool,
|
|
257
|
-
/**
|
|
258
|
-
* @ignore
|
|
259
|
-
*/
|
|
260
|
-
style: index$1.default.object,
|
|
261
|
-
/**
|
|
262
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
263
|
-
*/
|
|
264
|
-
sx: index$1.default.oneOfType([index$1.default.arrayOf(index$1.default.oneOfType([index$1.default.func, index$1.default.object, index$1.default.bool])), index$1.default.func, index$1.default.object]),
|
|
265
|
-
/**
|
|
266
|
-
* Applies the theme typography styles.
|
|
267
|
-
* @default 'body1'
|
|
268
|
-
*/
|
|
269
|
-
variant: index$1.default /* @typescript-to-proptypes-ignore */.oneOfType([index$1.default.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), index$1.default.string]),
|
|
270
|
-
/**
|
|
271
|
-
* The component maps the variant prop to a range of different HTML element types.
|
|
272
|
-
* For instance, subtitle1 to `<h6>`.
|
|
273
|
-
* If you wish to change that mapping, you can provide your own.
|
|
274
|
-
* Alternatively, you can use the `component` prop.
|
|
275
|
-
* @default {
|
|
276
|
-
* h1: 'h1',
|
|
277
|
-
* h2: 'h2',
|
|
278
|
-
* h3: 'h3',
|
|
279
|
-
* h4: 'h4',
|
|
280
|
-
* h5: 'h5',
|
|
281
|
-
* h6: 'h6',
|
|
282
|
-
* subtitle1: 'h6',
|
|
283
|
-
* subtitle2: 'h6',
|
|
284
|
-
* body1: 'p',
|
|
285
|
-
* body2: 'p',
|
|
286
|
-
* inherit: 'p',
|
|
287
|
-
* }
|
|
288
|
-
*/
|
|
289
|
-
variantMapping: index$1.default /* @typescript-to-proptypes-ignore */.object
|
|
290
|
-
} : void 0;
|
|
291
204
|
|
|
292
205
|
exports.TypographyRoot = TypographyRoot;
|
|
293
206
|
exports.default = Typography;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/Typography/Typography.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled, internal_createExtendSxProp } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { getTypographyUtilityClass } from \"./typographyClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst extendSxProp = internal_createExtendSxProp();\nconst useUtilityClasses = ownerState => {\n const {\n align,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']\n };\n return composeClasses(slots, getTypographyUtilityClass, classes);\n};\nexport const TypographyRoot = styled('span', {\n name: 'MuiTypography',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 0,\n variants: [{\n props: {\n variant: 'inherit'\n },\n style: {\n // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.\n font: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n }, ...Object.entries(theme.typography).filter(([variant, value]) => variant !== 'inherit' && value && typeof value === 'object').map(([variant, value]) => ({\n props: {\n variant\n },\n style: value\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette?.text || {}).filter(([, value]) => typeof value === 'string').map(([color]) => ({\n props: {\n color: `text${capitalize(color)}`\n },\n style: {\n color: (theme.vars || theme).palette.text[color]\n }\n })), {\n props: ({\n ownerState\n }) => ownerState.align !== 'inherit',\n style: {\n textAlign: 'var(--Typography-textAlign)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.noWrap,\n style: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.gutterBottom,\n style: {\n marginBottom: '0.35em'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.paragraph,\n style: {\n marginBottom: 16\n }\n }]\n})));\nconst defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p',\n inherit: 'p'\n};\nconst Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {\n const {\n color,\n ...themeProps\n } = useDefaultProps({\n props: inProps,\n name: 'MuiTypography'\n });\n const isSxColor = !v6Colors[color];\n // TODO: Remove `extendSxProp` in v7\n const props = extendSxProp({\n ...themeProps,\n ...(isSxColor && {\n color\n })\n });\n const {\n align = 'inherit',\n className,\n component,\n gutterBottom = false,\n noWrap = false,\n paragraph = false,\n variant = 'body1',\n variantMapping = defaultVariantMapping,\n ...other\n } = props;\n const ownerState = {\n ...props,\n align,\n color,\n className,\n component,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n variantMapping\n };\n const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TypographyRoot, {\n as: Component,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n style: {\n ...(align !== 'inherit' && {\n '--Typography-textAlign': align\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Set the text-align on the component.\n * @default 'inherit'\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the text will have a bottom margin.\n * @default false\n */\n gutterBottom: PropTypes.bool,\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n * @default false\n */\n noWrap: PropTypes.bool,\n /**\n * If `true`, the element will be a paragraph element.\n * @default false\n * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n paragraph: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Applies the theme typography styles.\n * @default 'body1'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string]),\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to `<h6>`.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n * @default {\n * h1: 'h1',\n * h2: 'h2',\n * h3: 'h3',\n * h4: 'h4',\n * h5: 'h5',\n * h6: 'h6',\n * subtitle1: 'h6',\n * subtitle2: 'h6',\n * body1: 'p',\n * body2: 'p',\n * inherit: 'p',\n * }\n */\n variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object\n} : void 0;\nexport default Typography;"],"names":["internal_createExtendSxProp","capitalize","composeClasses","getTypographyUtilityClass","styled","memoTheme","createSimplePaletteValueFilter","React","useDefaultProps","_jsx","clsx","PropTypes"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAM,QAAQ,GAAG;AACjB,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,SAAS,EAAE,IAAI;AACjB,EAAE,KAAK,EAAE,IAAI;AACb,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,aAAa,EAAE,IAAI;AACrB,EAAE,YAAY,EAAE;AAChB,CAAC;AACD,MAAM,YAAY,GAAGA,iCAA2B,EAAE;AAClD,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,KAAK;AACT,IAAI,YAAY;AAChB,IAAI,MAAM;AACV,IAAI,SAAS;AACb,IAAI,OAAO;AACX,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,UAAU,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,EAAEC,kBAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM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A,eAAS,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,EAAEA,eAAS,CAAC,MAAM,CAAC,CAAC;AACvO;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,cAAc,EAAEA,eAAS,uCAAuC;AAClE,CAAC,GAAG,MAAM;;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Typography.cjs","sources":["../../../../../../../node_modules/@mui/material/esm/Typography/Typography.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled, internal_createExtendSxProp } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { getTypographyUtilityClass } from \"./typographyClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst extendSxProp = internal_createExtendSxProp();\nconst useUtilityClasses = ownerState => {\n const {\n align,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n classes\n } = ownerState;\n const slots = {\n root: ['root', variant, ownerState.align !== 'inherit' && `align${capitalize(align)}`, gutterBottom && 'gutterBottom', noWrap && 'noWrap', paragraph && 'paragraph']\n };\n return composeClasses(slots, getTypographyUtilityClass, classes);\n};\nexport const TypographyRoot = styled('span', {\n name: 'MuiTypography',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.variant && styles[ownerState.variant], ownerState.align !== 'inherit' && styles[`align${capitalize(ownerState.align)}`], ownerState.noWrap && styles.noWrap, ownerState.gutterBottom && styles.gutterBottom, ownerState.paragraph && styles.paragraph];\n }\n})(memoTheme(({\n theme\n}) => ({\n margin: 0,\n variants: [{\n props: {\n variant: 'inherit'\n },\n style: {\n // Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.\n font: 'inherit',\n lineHeight: 'inherit',\n letterSpacing: 'inherit'\n }\n }, ...Object.entries(theme.typography).filter(([variant, value]) => variant !== 'inherit' && value && typeof value === 'object').map(([variant, value]) => ({\n props: {\n variant\n },\n style: value\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette?.text || {}).filter(([, value]) => typeof value === 'string').map(([color]) => ({\n props: {\n color: `text${capitalize(color)}`\n },\n style: {\n color: (theme.vars || theme).palette.text[color]\n }\n })), {\n props: ({\n ownerState\n }) => ownerState.align !== 'inherit',\n style: {\n textAlign: 'var(--Typography-textAlign)'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.noWrap,\n style: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.gutterBottom,\n style: {\n marginBottom: '0.35em'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.paragraph,\n style: {\n marginBottom: 16\n }\n }]\n})));\nconst defaultVariantMapping = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n h6: 'h6',\n subtitle1: 'h6',\n subtitle2: 'h6',\n body1: 'p',\n body2: 'p',\n inherit: 'p'\n};\nconst Typography = /*#__PURE__*/React.forwardRef(function Typography(inProps, ref) {\n const {\n color,\n ...themeProps\n } = useDefaultProps({\n props: inProps,\n name: 'MuiTypography'\n });\n const isSxColor = !v6Colors[color];\n // TODO: Remove `extendSxProp` in v7\n const props = extendSxProp({\n ...themeProps,\n ...(isSxColor && {\n color\n })\n });\n const {\n align = 'inherit',\n className,\n component,\n gutterBottom = false,\n noWrap = false,\n paragraph = false,\n variant = 'body1',\n variantMapping = defaultVariantMapping,\n ...other\n } = props;\n const ownerState = {\n ...props,\n align,\n color,\n className,\n component,\n gutterBottom,\n noWrap,\n paragraph,\n variant,\n variantMapping\n };\n const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(TypographyRoot, {\n as: Component,\n ref: ref,\n className: clsx(classes.root, className),\n ...other,\n ownerState: ownerState,\n style: {\n ...(align !== 'inherit' && {\n '--Typography-textAlign': align\n }),\n ...other.style\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Typography.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Set the text-align on the component.\n * @default 'inherit'\n */\n align: PropTypes.oneOf(['center', 'inherit', 'justify', 'left', 'right']),\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the component.\n * It supports both default and custom theme colors, which can be added as shown in the\n * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, the text will have a bottom margin.\n * @default false\n */\n gutterBottom: PropTypes.bool,\n /**\n * If `true`, the text will not wrap, but instead will truncate with a text overflow ellipsis.\n *\n * Note that text overflow can only happen with block or inline-block level elements\n * (the element needs to have a width in order to overflow).\n * @default false\n */\n noWrap: PropTypes.bool,\n /**\n * If `true`, the element will be a paragraph element.\n * @default false\n * @deprecated Use the `component` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n paragraph: PropTypes.bool,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * Applies the theme typography styles.\n * @default 'body1'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string]),\n /**\n * The component maps the variant prop to a range of different HTML element types.\n * For instance, subtitle1 to `<h6>`.\n * If you wish to change that mapping, you can provide your own.\n * Alternatively, you can use the `component` prop.\n * @default {\n * h1: 'h1',\n * h2: 'h2',\n * h3: 'h3',\n * h4: 'h4',\n * h5: 'h5',\n * h6: 'h6',\n * subtitle1: 'h6',\n * subtitle2: 'h6',\n * body1: 'p',\n * body2: 'p',\n * inherit: 'p',\n * }\n */\n variantMapping: PropTypes /* @typescript-to-proptypes-ignore */.object\n} : void 0;\nexport default Typography;"],"names":["internal_createExtendSxProp","capitalize","composeClasses","getTypographyUtilityClass","styled","memoTheme","createSimplePaletteValueFilter","React","useDefaultProps","_jsx","clsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,MAAM,QAAQ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S,KAAK,SAAS,GAAG,GAAG,GAAG,cAAc,CAAC,OAAO,CAAC,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,MAAM;AACxH,EAAE,MAAM,OAAO,GAAG,iBAAiB,CAAC,UAAU,CAAC;AAC/C,EAAE,oBAAoBC,cAAI,CAAC,cAAc,EAAE;AAC3C,IAAI,EAAE,EAAE,SAAS;AACjB,IAAI,GAAG,EAAE,GAAG;AACZ,IAAI,SAAS,EAAEC,SAAI,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC;AAC5C,IAAI,GAAG,KAAK;AACZ,IAAI,UAAU,EAAE,UAAU;AAC1B,IAAI,KAAK,EAAE;AACX,MAAM,IAAI,KAAK,KAAK,SAAS,IAAI;AACjC,QAAQ,wBAAwB,EAAE;AAClC,OAAO,CAAC;AACR,MAAM,GAAG,KAAK,CAAC;AACf;AACA,GAAG,CAAC;AACJ,CAAC;;;;;","x_google_ignoreList":[0]}
|
|
@@ -3,14 +3,11 @@
|
|
|
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 require$$2 = require('react/jsx-runtime');
|
|
8
7
|
var useForkRef = require('../../../utils/esm/useForkRef/useForkRef.cjs');
|
|
9
8
|
var getReactElementRef = require('../../../utils/esm/getReactElementRef/getReactElementRef.cjs');
|
|
10
9
|
var ownerDocument = require('../../../utils/esm/ownerDocument/ownerDocument.cjs');
|
|
11
10
|
var getActiveElement = require('../../../utils/esm/getActiveElement/getActiveElement.cjs');
|
|
12
|
-
var elementAcceptingRef = require('../../../utils/esm/elementAcceptingRef/elementAcceptingRef.cjs');
|
|
13
|
-
var exactProp = require('../../../utils/esm/exactProp/exactProp.cjs');
|
|
14
11
|
|
|
15
12
|
function _interopNamespaceDefault(e) {
|
|
16
13
|
var n = Object.create(null);
|
|
@@ -136,9 +133,6 @@ function FocusTrap(props) {
|
|
|
136
133
|
const activeElement = getActiveElement.default(doc);
|
|
137
134
|
if (!rootRef.current.contains(activeElement)) {
|
|
138
135
|
if (!rootRef.current.hasAttribute('tabIndex')) {
|
|
139
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
140
|
-
console.error(['MUI: The modal content node does not accept focus.', 'For the benefit of assistive technologies, ' + 'the tabIndex of the node is being set to "-1".'].join('\n'));
|
|
141
|
-
}
|
|
142
136
|
rootRef.current.setAttribute('tabIndex', '-1');
|
|
143
137
|
}
|
|
144
138
|
if (activated.current) {
|
|
@@ -298,64 +292,6 @@ function FocusTrap(props) {
|
|
|
298
292
|
})]
|
|
299
293
|
});
|
|
300
294
|
}
|
|
301
|
-
process.env.NODE_ENV !== "production" ? FocusTrap.propTypes /* remove-proptypes */ = {
|
|
302
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
303
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
304
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
305
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
306
|
-
/**
|
|
307
|
-
* A single child content element.
|
|
308
|
-
*/
|
|
309
|
-
children: elementAcceptingRef.default,
|
|
310
|
-
/**
|
|
311
|
-
* If `true`, the focus trap will not automatically shift focus to itself when it opens, and
|
|
312
|
-
* replace it to the last focused element when it closes.
|
|
313
|
-
* This also works correctly with any focus trap children that have the `disableAutoFocus` prop.
|
|
314
|
-
*
|
|
315
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
316
|
-
* accessible to assistive technologies, like screen readers.
|
|
317
|
-
* @default false
|
|
318
|
-
*/
|
|
319
|
-
disableAutoFocus: index.default.bool,
|
|
320
|
-
/**
|
|
321
|
-
* If `true`, the focus trap will not prevent focus from leaving the focus trap while open.
|
|
322
|
-
*
|
|
323
|
-
* Generally this should never be set to `true` as it makes the focus trap less
|
|
324
|
-
* accessible to assistive technologies, like screen readers.
|
|
325
|
-
* @default false
|
|
326
|
-
*/
|
|
327
|
-
disableEnforceFocus: index.default.bool,
|
|
328
|
-
/**
|
|
329
|
-
* If `true`, the focus trap will not restore focus to previously focused element once
|
|
330
|
-
* focus trap is hidden or unmounted.
|
|
331
|
-
* @default false
|
|
332
|
-
*/
|
|
333
|
-
disableRestoreFocus: index.default.bool,
|
|
334
|
-
/**
|
|
335
|
-
* Returns an array of ordered tabbable nodes (i.e. in tab order) within the root.
|
|
336
|
-
* For instance, you can provide the "tabbable" npm dependency.
|
|
337
|
-
* @param {HTMLElement} root
|
|
338
|
-
*/
|
|
339
|
-
getTabbable: index.default.func,
|
|
340
|
-
/**
|
|
341
|
-
* This prop extends the `open` prop.
|
|
342
|
-
* It allows to toggle the open state without having to wait for a rerender when changing the `open` prop.
|
|
343
|
-
* This prop should be memoized.
|
|
344
|
-
* It can be used to support multiple focus trap mounted at the same time.
|
|
345
|
-
* @default function defaultIsEnabled(): boolean {
|
|
346
|
-
* return true;
|
|
347
|
-
* }
|
|
348
|
-
*/
|
|
349
|
-
isEnabled: index.default.func,
|
|
350
|
-
/**
|
|
351
|
-
* If `true`, focus is locked.
|
|
352
|
-
*/
|
|
353
|
-
open: index.default.bool.isRequired
|
|
354
|
-
} : void 0;
|
|
355
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
356
|
-
// eslint-disable-next-line
|
|
357
|
-
FocusTrap['propTypes' + ''] = exactProp.default(FocusTrap.propTypes);
|
|
358
|
-
}
|
|
359
295
|
|
|
360
296
|
exports.default = FocusTrap;
|
|
361
297
|
//# sourceMappingURL=FocusTrap.cjs.map
|