react-easy-wall 2.0.8 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_virtual/index10.cjs +2 -2
- package/dist/cjs/_virtual/index11.cjs +2 -2
- package/dist/cjs/_virtual/index12.cjs +2 -2
- package/dist/cjs/_virtual/index14.cjs +2 -2
- package/dist/cjs/_virtual/index15.cjs +2 -2
- package/dist/cjs/_virtual/index16.cjs +2 -2
- package/dist/cjs/_virtual/index17.cjs +2 -2
- package/dist/cjs/_virtual/index4.cjs +4 -4
- package/dist/cjs/_virtual/index5.cjs +4 -4
- package/dist/cjs/_virtual/index6.cjs +2 -8
- package/dist/cjs/_virtual/index6.cjs.map +1 -1
- package/dist/cjs/_virtual/index7.cjs +4 -2
- package/dist/cjs/_virtual/index7.cjs.map +1 -1
- package/dist/cjs/_virtual/index8.cjs +2 -4
- package/dist/cjs/_virtual/index8.cjs.map +1 -1
- package/dist/cjs/_virtual/index9.cjs +2 -2
- package/dist/cjs/components/comment/components/AddComment.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs +0 -91
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs +0 -20
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs +0 -117
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs +0 -165
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs +0 -36
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs +0 -16
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs +0 -34
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs +0 -84
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs +0 -72
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs +0 -18
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs +0 -156
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs +0 -112
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs +0 -77
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs +0 -11
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs +0 -103
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs +0 -86
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs +0 -48
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs +0 -60
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs +0 -44
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs +0 -129
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs +0 -81
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs +0 -24
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs +0 -23
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs +0 -75
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs +0 -174
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs +0 -221
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs +0 -33
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs +0 -106
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs +0 -73
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs +0 -87
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs +2 -13
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs +1 -34
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs +2 -2
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs +0 -22
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs +0 -8
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs +1 -25
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs +1 -6
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs +0 -25
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs +0 -11
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs +1 -127
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs +1 -13
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs +0 -17
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs +1 -12
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs +0 -16
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs +0 -19
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs +0 -16
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs +0 -22
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +0 -28
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs +2 -5
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs +2 -24
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs +1 -19
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs +0 -3
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs +6 -13
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs +1 -79
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs +4 -30
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs +1 -4
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs +0 -5
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs.map +1 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/debug/src/index.cjs +1 -1
- package/dist/cjs/node_modules/follow-redirects/index.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.cjs +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs +3 -25
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs +0 -3
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs +0 -10
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/mime-types/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs +4 -36
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs +0 -4
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/cookie/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/path-to-regexp/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs +0 -18
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs +4 -38
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +1 -7
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs +0 -16
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs.map +1 -1
- package/dist/cjs/node_modules/prop-types/index.cjs +5 -14
- package/dist/cjs/node_modules/prop-types/index.cjs.map +1 -1
- package/dist/cjs/node_modules/proxy-from-env/index.cjs +1 -1
- package/dist/cjs/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs +1 -189
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs +1 -59
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs.map +1 -1
- package/dist/cjs/shared/components/dialog/DialogDefault.cjs +1 -1
- package/dist/esm/_virtual/index10.js +2 -2
- package/dist/esm/_virtual/index11.js +2 -2
- package/dist/esm/_virtual/index12.js +2 -2
- package/dist/esm/_virtual/index14.js +2 -2
- package/dist/esm/_virtual/index15.js +2 -2
- package/dist/esm/_virtual/index16.js +2 -2
- package/dist/esm/_virtual/index17.js +2 -2
- package/dist/esm/_virtual/index4.js +4 -4
- package/dist/esm/_virtual/index5.js +4 -4
- package/dist/esm/_virtual/index6.js +2 -6
- package/dist/esm/_virtual/index6.js.map +1 -1
- package/dist/esm/_virtual/index7.js +4 -2
- package/dist/esm/_virtual/index7.js.map +1 -1
- package/dist/esm/_virtual/index8.js +2 -4
- package/dist/esm/_virtual/index8.js.map +1 -1
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/components/comment/components/AddComment.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +0 -91
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +0 -20
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +0 -117
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +0 -165
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +0 -36
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +0 -16
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +0 -34
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +0 -84
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +0 -72
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +0 -18
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +0 -156
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +0 -112
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +0 -77
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +0 -11
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +0 -103
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +0 -86
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -48
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +0 -60
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/List.js +0 -44
- package/dist/esm/node_modules/@mui/material/esm/List/List.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +0 -129
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +0 -81
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +0 -24
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -23
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +0 -75
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +0 -174
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +0 -221
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +0 -33
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +0 -106
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +0 -73
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +0 -87
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js +2 -13
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js +1 -34
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js +2 -2
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js +0 -22
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js +0 -8
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +0 -25
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +0 -5
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js +0 -11
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -127
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +1 -13
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +0 -17
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js +0 -5
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js +1 -12
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js +0 -16
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -19
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +0 -16
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -22
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -28
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js +2 -5
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +2 -24
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js +1 -19
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -3
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js +6 -13
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -79
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js +4 -30
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/style/style.js +1 -4
- package/dist/esm/node_modules/@mui/system/esm/style/style.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -5
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -1
- package/dist/esm/node_modules/debug/src/index.js +1 -1
- package/dist/esm/node_modules/follow-redirects/index.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/jss/dist/jss.esm.js +3 -25
- package/dist/esm/node_modules/jss/dist/jss.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +0 -3
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +0 -10
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -1
- package/dist/esm/node_modules/mime-types/index.js +1 -1
- package/dist/esm/node_modules/next/dist/client/route-loader.js +4 -36
- package/dist/esm/node_modules/next/dist/client/route-loader.js.map +1 -1
- package/dist/esm/node_modules/next/dist/client/with-router.js +0 -4
- package/dist/esm/node_modules/next/dist/client/with-router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/compiled/cookie/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -1
- package/dist/esm/node_modules/next/dist/lib/is-error.js +0 -18
- package/dist/esm/node_modules/next/dist/lib/is-error.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js +4 -38
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +1 -7
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/index.js +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js +0 -16
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js.map +1 -1
- package/dist/esm/node_modules/prop-types/index.js +2 -11
- package/dist/esm/node_modules/prop-types/index.js.map +1 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
- package/dist/esm/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -189
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -59
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/esm/shared/components/dialog/DialogDefault.js +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
2
1
|
import useTheme from '../styles/useTheme.js';
|
|
3
2
|
import createGrid from '../../../system/esm/Grid/createGrid.js';
|
|
4
3
|
import { useDefaultProps } from '../DefaultPropsProvider/DefaultPropsProvider.js';
|
|
5
4
|
import styled from '../styles/styled.js';
|
|
6
|
-
import requirePropFactory from '../../../utils/esm/requirePropFactory/requirePropFactory.js';
|
|
7
5
|
|
|
8
6
|
/**
|
|
9
7
|
*
|
|
@@ -33,107 +31,6 @@ const Grid = createGrid({
|
|
|
33
31
|
}),
|
|
34
32
|
useTheme
|
|
35
33
|
});
|
|
36
|
-
process.env.NODE_ENV !== "production" ? Grid.propTypes /* remove-proptypes */ = {
|
|
37
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
38
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
39
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
40
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
41
|
-
/**
|
|
42
|
-
* The content of the component.
|
|
43
|
-
*/
|
|
44
|
-
children: PropTypes.node,
|
|
45
|
-
/**
|
|
46
|
-
* The number of columns.
|
|
47
|
-
* @default 12
|
|
48
|
-
*/
|
|
49
|
-
columns: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),
|
|
50
|
-
/**
|
|
51
|
-
* Defines the horizontal space between the type `item` components.
|
|
52
|
-
* It overrides the value of the `spacing` prop.
|
|
53
|
-
*/
|
|
54
|
-
columnSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
55
|
-
/**
|
|
56
|
-
* If `true`, the component will have the flex *container* behavior.
|
|
57
|
-
* You should be wrapping *items* with a *container*.
|
|
58
|
-
* @default false
|
|
59
|
-
*/
|
|
60
|
-
container: PropTypes.bool,
|
|
61
|
-
/**
|
|
62
|
-
* Defines the `flex-direction` style property.
|
|
63
|
-
* It is applied for all screen sizes.
|
|
64
|
-
* @default 'row'
|
|
65
|
-
*/
|
|
66
|
-
direction: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),
|
|
67
|
-
/**
|
|
68
|
-
* Defines the offset value for the type `item` components.
|
|
69
|
-
*/
|
|
70
|
-
offset: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),
|
|
71
|
-
/**
|
|
72
|
-
* Defines the vertical space between the type `item` components.
|
|
73
|
-
* It overrides the value of the `spacing` prop.
|
|
74
|
-
*/
|
|
75
|
-
rowSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
76
|
-
/**
|
|
77
|
-
* Defines the size of the the type `item` components.
|
|
78
|
-
*/
|
|
79
|
-
size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),
|
|
80
|
-
/**
|
|
81
|
-
* Defines the space between the type `item` components.
|
|
82
|
-
* It can only be used on a type `container` component.
|
|
83
|
-
* @default 0
|
|
84
|
-
*/
|
|
85
|
-
spacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),
|
|
86
|
-
/**
|
|
87
|
-
* @ignore
|
|
88
|
-
*/
|
|
89
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
* The level of the grid starts from `0` and increases when the grid nests
|
|
93
|
-
* inside another grid. Nesting is defined as a container Grid being a direct
|
|
94
|
-
* child of a container Grid.
|
|
95
|
-
*
|
|
96
|
-
* ```js
|
|
97
|
-
* <Grid container> // level 0
|
|
98
|
-
* <Grid container> // level 1
|
|
99
|
-
* <Grid container> // level 2
|
|
100
|
-
* ```
|
|
101
|
-
*
|
|
102
|
-
* Only consecutive grid is considered nesting. A grid container will start at
|
|
103
|
-
* `0` if there are non-Grid container element above it.
|
|
104
|
-
*
|
|
105
|
-
* ```js
|
|
106
|
-
* <Grid container> // level 0
|
|
107
|
-
* <div>
|
|
108
|
-
* <Grid container> // level 0
|
|
109
|
-
* ```
|
|
110
|
-
*
|
|
111
|
-
* ```js
|
|
112
|
-
* <Grid container> // level 0
|
|
113
|
-
* <Grid>
|
|
114
|
-
* <Grid container> // level 0
|
|
115
|
-
* ```
|
|
116
|
-
*/
|
|
117
|
-
unstable_level: PropTypes.number,
|
|
118
|
-
/**
|
|
119
|
-
* Defines the `flex-wrap` style property.
|
|
120
|
-
* It's applied for all screen sizes.
|
|
121
|
-
* @default 'wrap'
|
|
122
|
-
*/
|
|
123
|
-
wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])
|
|
124
|
-
} : void 0;
|
|
125
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
126
|
-
const Component = Grid;
|
|
127
|
-
const requireProp = requirePropFactory('Grid', Component);
|
|
128
|
-
// eslint-disable-next-line no-useless-concat
|
|
129
|
-
Component['propTypes' + ''] = {
|
|
130
|
-
// eslint-disable-next-line react/forbid-foreign-prop-types
|
|
131
|
-
...Component.propTypes,
|
|
132
|
-
direction: requireProp('container'),
|
|
133
|
-
spacing: requireProp('container'),
|
|
134
|
-
wrap: requireProp('container')
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
34
|
|
|
138
35
|
export { Grid as default };
|
|
139
36
|
//# sourceMappingURL=Grid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grid.js","sources":["../../../../../../../node_modules/@mui/material/esm/Grid/Grid.js"],"sourcesContent":["'use client';\n\nimport PropTypes from 'prop-types';\nimport { createGrid } from '@mui/system/Grid';\nimport requirePropFactory from \"../utils/requirePropFactory.js\";\nimport { styled } from \"../styles/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useTheme from \"../styles/useTheme.js\";\n/**\n *\n * Demos:\n *\n * - [Grid](https://mui.com/material-ui/react-grid/)\n *\n * API:\n *\n * - [Grid API](https://mui.com/material-ui/api/grid/)\n */\nconst Grid = createGrid({\n createStyledComponent: styled('div', {\n name: 'MuiGrid',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.container && styles.container];\n }\n }),\n componentName: 'MuiGrid',\n useThemeProps: inProps => useDefaultProps({\n props: inProps,\n name: 'MuiGrid'\n }),\n useTheme\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The number of columns.\n * @default 12\n */\n columns: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n /**\n * Defines the horizontal space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n columnSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n * @default false\n */\n container: PropTypes.bool,\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n * @default 'row'\n */\n direction: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n /**\n * Defines the offset value for the type `item` components.\n */\n offset: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the vertical space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n rowSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * Defines the size of the the type `item` components.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the space between the type `item` components.\n * It can only be used on a type `container` component.\n * @default 0\n */\n spacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * @ignore\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @internal\n * The level of the grid starts from `0` and increases when the grid nests\n * inside another grid. Nesting is defined as a container Grid being a direct\n * child of a container Grid.\n *\n * ```js\n * <Grid container> // level 0\n * <Grid container> // level 1\n * <Grid container> // level 2\n * ```\n *\n * Only consecutive grid is considered nesting. A grid container will start at\n * `0` if there are non-Grid container element above it.\n *\n * ```js\n * <Grid container> // level 0\n * <div>\n * <Grid container> // level 0\n * ```\n *\n * ```js\n * <Grid container> // level 0\n * <Grid>\n * <Grid container> // level 0\n * ```\n */\n unstable_level: PropTypes.number,\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n * @default 'wrap'\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n const Component = Grid;\n const requireProp = requirePropFactory('Grid', Component);\n // eslint-disable-next-line no-useless-concat\n Component['propTypes' + ''] = {\n // eslint-disable-next-line react/forbid-foreign-prop-types\n ...Component.propTypes,\n direction: requireProp('container'),\n spacing: requireProp('container'),\n wrap: requireProp('container')\n };\n}\nexport default Grid;"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Grid.js","sources":["../../../../../../../node_modules/@mui/material/esm/Grid/Grid.js"],"sourcesContent":["'use client';\n\nimport PropTypes from 'prop-types';\nimport { createGrid } from '@mui/system/Grid';\nimport requirePropFactory from \"../utils/requirePropFactory.js\";\nimport { styled } from \"../styles/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport useTheme from \"../styles/useTheme.js\";\n/**\n *\n * Demos:\n *\n * - [Grid](https://mui.com/material-ui/react-grid/)\n *\n * API:\n *\n * - [Grid API](https://mui.com/material-ui/api/grid/)\n */\nconst Grid = createGrid({\n createStyledComponent: styled('div', {\n name: 'MuiGrid',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.container && styles.container];\n }\n }),\n componentName: 'MuiGrid',\n useThemeProps: inProps => useDefaultProps({\n props: inProps,\n name: 'MuiGrid'\n }),\n useTheme\n});\nprocess.env.NODE_ENV !== \"production\" ? Grid.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * The number of columns.\n * @default 12\n */\n columns: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number, PropTypes.object]),\n /**\n * Defines the horizontal space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n columnSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * If `true`, the component will have the flex *container* behavior.\n * You should be wrapping *items* with a *container*.\n * @default false\n */\n container: PropTypes.bool,\n /**\n * Defines the `flex-direction` style property.\n * It is applied for all screen sizes.\n * @default 'row'\n */\n direction: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row']), PropTypes.arrayOf(PropTypes.oneOf(['column-reverse', 'column', 'row-reverse', 'row'])), PropTypes.object]),\n /**\n * Defines the offset value for the type `item` components.\n */\n offset: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the vertical space between the type `item` components.\n * It overrides the value of the `spacing` prop.\n */\n rowSpacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * Defines the size of the the type `item` components.\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number, PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.string, PropTypes.bool, PropTypes.number])), PropTypes.object]),\n /**\n * Defines the space between the type `item` components.\n * It can only be used on a type `container` component.\n * @default 0\n */\n spacing: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.number, PropTypes.string])), PropTypes.number, PropTypes.object, PropTypes.string]),\n /**\n * @ignore\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * @internal\n * The level of the grid starts from `0` and increases when the grid nests\n * inside another grid. Nesting is defined as a container Grid being a direct\n * child of a container Grid.\n *\n * ```js\n * <Grid container> // level 0\n * <Grid container> // level 1\n * <Grid container> // level 2\n * ```\n *\n * Only consecutive grid is considered nesting. A grid container will start at\n * `0` if there are non-Grid container element above it.\n *\n * ```js\n * <Grid container> // level 0\n * <div>\n * <Grid container> // level 0\n * ```\n *\n * ```js\n * <Grid container> // level 0\n * <Grid>\n * <Grid container> // level 0\n * ```\n */\n unstable_level: PropTypes.number,\n /**\n * Defines the `flex-wrap` style property.\n * It's applied for all screen sizes.\n * @default 'wrap'\n */\n wrap: PropTypes.oneOf(['nowrap', 'wrap-reverse', 'wrap'])\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n const Component = Grid;\n const requireProp = requirePropFactory('Grid', Component);\n // eslint-disable-next-line no-useless-concat\n Component['propTypes' + ''] = {\n // eslint-disable-next-line react/forbid-foreign-prop-types\n ...Component.propTypes,\n direction: requireProp('container'),\n spacing: requireProp('container'),\n wrap: requireProp('container')\n };\n}\nexport default Grid;"],"names":[],"mappings":";;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,IAAI,GAAG,UAAU,CAAC;AACxB,EAAE,qBAAqB,EAAE,MAAM,CAAC,KAAK,EAAE;AACvC,IAAI,IAAI,EAAE,SAAS;AACnB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK;AAC1C,MAAM,MAAM;AACZ,QAAQ;AACR,OAAO,GAAG,KAAK;AACf,MAAM,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,IAAI,MAAM,CAAC,SAAS,CAAC;AACpE,IAAI;AACJ,GAAG,CAAC;AACJ,EAAE,aAAa,EAAE,SAAS;AAC1B,EAAE,aAAa,EAAE,OAAO,IAAI,eAAe,CAAC;AAC5C,IAAI,KAAK,EAAE,OAAO;AAClB,IAAI,IAAI,EAAE;AACV,GAAG,CAAC;AACJ,EAAE;AACF,CAAC;;;;","x_google_ignoreList":[0]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
3
2
|
import useTheme from '../styles/useTheme.js';
|
|
4
3
|
import { jsx } from 'react/jsx-runtime';
|
|
5
4
|
import { reflow, getTransitionProps } from '../transitions/utils.js';
|
|
@@ -7,7 +6,6 @@ import Transition from '../../../../react-transition-group/esm/Transition.js';
|
|
|
7
6
|
import useTimeout from '../../../utils/esm/useTimeout/useTimeout.js';
|
|
8
7
|
import useForkRef from '../../../utils/esm/useForkRef/useForkRef.js';
|
|
9
8
|
import getReactElementRef from '../../../utils/esm/getReactElementRef/getReactElementRef.js';
|
|
10
|
-
import elementAcceptingRef from '../../../utils/esm/elementAcceptingRef/elementAcceptingRef.js';
|
|
11
9
|
|
|
12
10
|
function getScale(value) {
|
|
13
11
|
return `scale(${value}, ${value ** 2})`;
|
|
@@ -181,80 +179,6 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
181
179
|
}
|
|
182
180
|
});
|
|
183
181
|
});
|
|
184
|
-
process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ = {
|
|
185
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
186
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
187
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
188
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
189
|
-
/**
|
|
190
|
-
* Add a custom transition end trigger. Called with the transitioning DOM
|
|
191
|
-
* node and a done callback. Allows for more fine grained transition end
|
|
192
|
-
* logic. Note: Timeouts are still used as a fallback if provided.
|
|
193
|
-
*/
|
|
194
|
-
addEndListener: PropTypes.func,
|
|
195
|
-
/**
|
|
196
|
-
* Perform the enter transition when it first mounts if `in` is also `true`.
|
|
197
|
-
* Set this to `false` to disable this behavior.
|
|
198
|
-
* @default true
|
|
199
|
-
*/
|
|
200
|
-
appear: PropTypes.bool,
|
|
201
|
-
/**
|
|
202
|
-
* A single child content element.
|
|
203
|
-
*/
|
|
204
|
-
children: elementAcceptingRef.isRequired,
|
|
205
|
-
/**
|
|
206
|
-
* The transition timing function.
|
|
207
|
-
* You may specify a single easing or a object containing enter and exit values.
|
|
208
|
-
*/
|
|
209
|
-
easing: PropTypes.oneOfType([PropTypes.shape({
|
|
210
|
-
enter: PropTypes.string,
|
|
211
|
-
exit: PropTypes.string
|
|
212
|
-
}), PropTypes.string]),
|
|
213
|
-
/**
|
|
214
|
-
* If `true`, the component will transition in.
|
|
215
|
-
*/
|
|
216
|
-
in: PropTypes.bool,
|
|
217
|
-
/**
|
|
218
|
-
* @ignore
|
|
219
|
-
*/
|
|
220
|
-
onEnter: PropTypes.func,
|
|
221
|
-
/**
|
|
222
|
-
* @ignore
|
|
223
|
-
*/
|
|
224
|
-
onEntered: PropTypes.func,
|
|
225
|
-
/**
|
|
226
|
-
* @ignore
|
|
227
|
-
*/
|
|
228
|
-
onEntering: PropTypes.func,
|
|
229
|
-
/**
|
|
230
|
-
* @ignore
|
|
231
|
-
*/
|
|
232
|
-
onExit: PropTypes.func,
|
|
233
|
-
/**
|
|
234
|
-
* @ignore
|
|
235
|
-
*/
|
|
236
|
-
onExited: PropTypes.func,
|
|
237
|
-
/**
|
|
238
|
-
* @ignore
|
|
239
|
-
*/
|
|
240
|
-
onExiting: PropTypes.func,
|
|
241
|
-
/**
|
|
242
|
-
* @ignore
|
|
243
|
-
*/
|
|
244
|
-
style: PropTypes.object,
|
|
245
|
-
/**
|
|
246
|
-
* The duration for the transition, in milliseconds.
|
|
247
|
-
* You may specify a single timeout for all transitions, or individually with an object.
|
|
248
|
-
*
|
|
249
|
-
* Set to 'auto' to automatically calculate transition time based on height.
|
|
250
|
-
* @default 'auto'
|
|
251
|
-
*/
|
|
252
|
-
timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({
|
|
253
|
-
appear: PropTypes.number,
|
|
254
|
-
enter: PropTypes.number,
|
|
255
|
-
exit: PropTypes.number
|
|
256
|
-
})])
|
|
257
|
-
} : void 0;
|
|
258
182
|
if (Grow) {
|
|
259
183
|
Grow.muiSupportAuto = true;
|
|
260
184
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Grow.js","sources":["../../../../../../../node_modules/@mui/material/esm/Grow/Grow.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport useTimeout from '@mui/utils/useTimeout';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport { Transition } from 'react-transition-group';\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { getTransitionProps, reflow } from \"../transitions/utils.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getScale(value) {\n return `scale(${value}, ${value ** 2})`;\n}\nconst styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n\n/*\n TODO v6: remove\n Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.\n */\nconst isWebKit154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\\/)15(.|_)4/i.test(navigator.userAgent);\n\n/**\n * The Grow transition is used by the [Tooltip](/material-ui/react-tooltip/) and\n * [Popover](/material-ui/react-popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {\n const {\n addEndListener,\n appear = true,\n children,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = 'auto',\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const timer = useTimeout();\n const autoTimeout = React.useRef();\n const theme = useTheme();\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const handleEntering = normalizedTransitionCallback(onEntering);\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n reflow(node); // So the animation always start from the start.\n\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay,\n easing: transitionTimingFunction\n })].join(',');\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay: isWebKit154 ? delay : delay || duration * 0.333,\n easing: transitionTimingFunction\n })].join(',');\n node.style.opacity = 0;\n node.style.transform = getScale(0.75);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleAddEndListener = next => {\n if (timeout === 'auto') {\n timer.start(autoTimeout.current || 0, next);\n }\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n appear: appear,\n in: inProp,\n nodeRef: nodeRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n timeout: timeout === 'auto' ? null : timeout,\n ...other,\n children: (state, {\n ownerState,\n ...restChildProps\n }) => {\n return /*#__PURE__*/React.cloneElement(children, {\n style: {\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[state],\n ...style,\n ...children.props.style\n },\n ref: handleRef,\n ...restChildProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.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 * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\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 *\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nif (Grow) {\n Grow.muiSupportAuto = true;\n}\nexport default Grow;"],"names":["_jsx"],"mappings":";;;;;;;;;;;AAYA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;AACzC;AACA,MAAM,MAAM,GAAG;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,OAAO,EAAE,CAAC;AACd,IAAI,SAAS,EAAE,QAAQ,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,OAAO,EAAE,CAAC;AACd,IAAI,SAAS,EAAE;AACf;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,MAAM,WAAW,GAAG,OAAO,SAAS,KAAK,WAAW,IAAI,yCAAyC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,0BAA0B,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;;AAEnL;AACA;AACA;AACA;AACA;AACK,MAAC,IAAI,gBAAgB,KAAK,CAAC,UAAU,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,GAAG,EA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IAAI,IAAI,EAAE,SAAS,CAAC;AACpB,GAAG,CAAC,CAAC;AACL,CAAC,GAAG,MAAM;AACV,IAAI,IAAI,EAAE;AACV,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI;AAC5B;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Grow.js","sources":["../../../../../../../node_modules/@mui/material/esm/Grow/Grow.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport useTimeout from '@mui/utils/useTimeout';\nimport elementAcceptingRef from '@mui/utils/elementAcceptingRef';\nimport getReactElementRef from '@mui/utils/getReactElementRef';\nimport { Transition } from 'react-transition-group';\nimport { useTheme } from \"../zero-styled/index.js\";\nimport { getTransitionProps, reflow } from \"../transitions/utils.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction getScale(value) {\n return `scale(${value}, ${value ** 2})`;\n}\nconst styles = {\n entering: {\n opacity: 1,\n transform: getScale(1)\n },\n entered: {\n opacity: 1,\n transform: 'none'\n }\n};\n\n/*\n TODO v6: remove\n Conditionally apply a workaround for the CSS transition bug in Safari 15.4 / WebKit browsers.\n */\nconst isWebKit154 = typeof navigator !== 'undefined' && /^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent) && /(os |version\\/)15(.|_)4/i.test(navigator.userAgent);\n\n/**\n * The Grow transition is used by the [Tooltip](/material-ui/react-tooltip/) and\n * [Popover](/material-ui/react-popover/) components.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\nconst Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {\n const {\n addEndListener,\n appear = true,\n children,\n easing,\n in: inProp,\n onEnter,\n onEntered,\n onEntering,\n onExit,\n onExited,\n onExiting,\n style,\n timeout = 'auto',\n // eslint-disable-next-line react/prop-types\n TransitionComponent = Transition,\n ...other\n } = props;\n const timer = useTimeout();\n const autoTimeout = React.useRef();\n const theme = useTheme();\n const nodeRef = React.useRef(null);\n const handleRef = useForkRef(nodeRef, getReactElementRef(children), ref);\n const normalizedTransitionCallback = callback => maybeIsAppearing => {\n if (callback) {\n const node = nodeRef.current;\n\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (maybeIsAppearing === undefined) {\n callback(node);\n } else {\n callback(node, maybeIsAppearing);\n }\n }\n };\n const handleEntering = normalizedTransitionCallback(onEntering);\n const handleEnter = normalizedTransitionCallback((node, isAppearing) => {\n reflow(node); // So the animation always start from the start.\n\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'enter'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay,\n easing: transitionTimingFunction\n })].join(',');\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n const handleEntered = normalizedTransitionCallback(onEntered);\n const handleExiting = normalizedTransitionCallback(onExiting);\n const handleExit = normalizedTransitionCallback(node => {\n const {\n duration: transitionDuration,\n delay,\n easing: transitionTimingFunction\n } = getTransitionProps({\n style,\n timeout,\n easing\n }, {\n mode: 'exit'\n });\n let duration;\n if (timeout === 'auto') {\n duration = theme.transitions.getAutoHeightDuration(node.clientHeight);\n autoTimeout.current = duration;\n } else {\n duration = transitionDuration;\n }\n node.style.transition = [theme.transitions.create('opacity', {\n duration,\n delay\n }), theme.transitions.create('transform', {\n duration: isWebKit154 ? duration : duration * 0.666,\n delay: isWebKit154 ? delay : delay || duration * 0.333,\n easing: transitionTimingFunction\n })].join(',');\n node.style.opacity = 0;\n node.style.transform = getScale(0.75);\n if (onExit) {\n onExit(node);\n }\n });\n const handleExited = normalizedTransitionCallback(onExited);\n const handleAddEndListener = next => {\n if (timeout === 'auto') {\n timer.start(autoTimeout.current || 0, next);\n }\n if (addEndListener) {\n // Old call signature before `react-transition-group` implemented `nodeRef`\n addEndListener(nodeRef.current, next);\n }\n };\n return /*#__PURE__*/_jsx(TransitionComponent, {\n appear: appear,\n in: inProp,\n nodeRef: nodeRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n addEndListener: handleAddEndListener,\n timeout: timeout === 'auto' ? null : timeout,\n ...other,\n children: (state, {\n ownerState,\n ...restChildProps\n }) => {\n return /*#__PURE__*/React.cloneElement(children, {\n style: {\n opacity: 0,\n transform: getScale(0.75),\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined,\n ...styles[state],\n ...style,\n ...children.props.style\n },\n ref: handleRef,\n ...restChildProps\n });\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Grow.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 * The transition timing function.\n * You may specify a single easing or a object containing enter and exit values.\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 *\n * Set to 'auto' to automatically calculate transition time based on height.\n * @default 'auto'\n */\n timeout: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nif (Grow) {\n Grow.muiSupportAuto = true;\n}\nexport default Grow;"],"names":["_jsx"],"mappings":";;;;;;;;;AAYA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,EAAE,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC;AACzC;AACA,MAAM,MAAM,GAAG;AACf,EAAE,QAAQ,EAAE;AACZ,IAAI,OAAO,EAAE,CAAC;AACd,IAAI,SAAS,EAAE,QAAQ,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,OAAO,EAAE,CAAC;AACd,IAAI,SAAS,EAAE;AACf;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA,MAAM,WAAW,GAAG,OAAO,SAAS,KAAK,WAAW,IAAI,yCAAyC,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,0BAA0B,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC;;AAEnL;AACA;AACA;AACA;AACA;AACK,MAAC,IAAI,gBAAgB,KAAK,CAAC,UAAU,CAAC,SAAS,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE;AACrE,EAAE,MAAM;AACR,IAAI,cAAc;AAClB,IAAI,MAAM,GAAG,IAAI;AACjB,IAAI,QAAQ;AACZ,IAAI,MAAM;AACV,IAAI,EAAE,EAAE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ypes from '../../../../../_virtual/index4.js';
|
|
3
2
|
import { clsx } from '../../../../clsx/dist/clsx.js';
|
|
4
3
|
import memoTheme from '../utils/memoTheme.js';
|
|
5
4
|
import createSimplePaletteValueFilter from '../utils/createSimplePaletteValueFilter.js';
|
|
@@ -12,7 +11,6 @@ import composeClasses from '../../../utils/esm/composeClasses/composeClasses.js'
|
|
|
12
11
|
import styled from '../styles/styled.js';
|
|
13
12
|
import ButtonBase from '../ButtonBase/ButtonBase.js';
|
|
14
13
|
import CircularProgress from '../CircularProgress/CircularProgress.js';
|
|
15
|
-
import chainPropTypes from '../../../utils/esm/chainPropTypes/chainPropTypes.js';
|
|
16
14
|
|
|
17
15
|
const useUtilityClasses = ownerState => {
|
|
18
16
|
const {
|
|
@@ -232,90 +230,6 @@ const IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, re
|
|
|
232
230
|
}), children]
|
|
233
231
|
});
|
|
234
232
|
});
|
|
235
|
-
process.env.NODE_ENV !== "production" ? IconButton.propTypes /* remove-proptypes */ = {
|
|
236
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
237
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
238
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
239
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
240
|
-
/**
|
|
241
|
-
* The icon to display.
|
|
242
|
-
*/
|
|
243
|
-
children: chainPropTypes(PropTypes.node, props => {
|
|
244
|
-
const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);
|
|
245
|
-
if (found) {
|
|
246
|
-
return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\n'));
|
|
247
|
-
}
|
|
248
|
-
return null;
|
|
249
|
-
}),
|
|
250
|
-
/**
|
|
251
|
-
* Override or extend the styles applied to the component.
|
|
252
|
-
*/
|
|
253
|
-
classes: PropTypes.object,
|
|
254
|
-
/**
|
|
255
|
-
* @ignore
|
|
256
|
-
*/
|
|
257
|
-
className: PropTypes.string,
|
|
258
|
-
/**
|
|
259
|
-
* The color of the component.
|
|
260
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
261
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
262
|
-
* @default 'default'
|
|
263
|
-
*/
|
|
264
|
-
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),
|
|
265
|
-
/**
|
|
266
|
-
* If `true`, the component is disabled.
|
|
267
|
-
* @default false
|
|
268
|
-
*/
|
|
269
|
-
disabled: PropTypes.bool,
|
|
270
|
-
/**
|
|
271
|
-
* If `true`, the keyboard focus ripple is disabled.
|
|
272
|
-
* @default false
|
|
273
|
-
*/
|
|
274
|
-
disableFocusRipple: PropTypes.bool,
|
|
275
|
-
/**
|
|
276
|
-
* If `true`, the ripple effect is disabled.
|
|
277
|
-
*
|
|
278
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
279
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
280
|
-
* @default false
|
|
281
|
-
*/
|
|
282
|
-
disableRipple: PropTypes.bool,
|
|
283
|
-
/**
|
|
284
|
-
* If given, uses a negative margin to counteract the padding on one
|
|
285
|
-
* side (this is often helpful for aligning the left or right
|
|
286
|
-
* side of the icon with content above or below, without ruining the border
|
|
287
|
-
* size and shape).
|
|
288
|
-
* @default false
|
|
289
|
-
*/
|
|
290
|
-
edge: PropTypes.oneOf(['end', 'start', false]),
|
|
291
|
-
/**
|
|
292
|
-
* @ignore
|
|
293
|
-
*/
|
|
294
|
-
id: PropTypes.string,
|
|
295
|
-
/**
|
|
296
|
-
* If `true`, the loading indicator is visible and the button is disabled.
|
|
297
|
-
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
298
|
-
* @default null
|
|
299
|
-
*/
|
|
300
|
-
loading: PropTypes.bool,
|
|
301
|
-
/**
|
|
302
|
-
* Element placed before the children if the button is in loading state.
|
|
303
|
-
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
304
|
-
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
305
|
-
* @default <CircularProgress color="inherit" size={16} />
|
|
306
|
-
*/
|
|
307
|
-
loadingIndicator: PropTypes.node,
|
|
308
|
-
/**
|
|
309
|
-
* The size of the component.
|
|
310
|
-
* `small` is equivalent to the dense button styling.
|
|
311
|
-
* @default 'medium'
|
|
312
|
-
*/
|
|
313
|
-
size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),
|
|
314
|
-
/**
|
|
315
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
316
|
-
*/
|
|
317
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
318
|
-
} : void 0;
|
|
319
233
|
|
|
320
234
|
export { IconButton as default };
|
|
321
235
|
//# sourceMappingURL=IconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","sources":["../../../../../../../node_modules/@mui/material/esm/IconButton/IconButton.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { unstable_useId as useId } from \"../utils/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport CircularProgress from \"../CircularProgress/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport iconButtonClasses, { getIconButtonUtilityClass } from \"./iconButtonClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n color,\n edge,\n size,\n loading\n } = ownerState;\n const slots = {\n root: ['root', loading && 'loading', disabled && 'disabled', color !== 'default' && `color${capitalize(color)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],\n loadingIndicator: ['loadingIndicator'],\n loadingWrapper: ['loadingWrapper']\n };\n return composeClasses(slots, getIconButtonUtilityClass, classes);\n};\nconst IconButtonRoot = styled(ButtonBase, {\n name: 'MuiIconButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.loading && styles.loading, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.edge && styles[`edge${capitalize(ownerState.edge)}`], styles[`size${capitalize(ownerState.size)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 8,\n borderRadius: '50%',\n color: (theme.vars || theme).palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: props => !props.disableRipple,\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),\n '&:hover': {\n backgroundColor: 'var(--IconButton-hoverBg)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: {\n edge: 'start'\n },\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: {\n edge: 'end'\n },\n style: {\n marginRight: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }]\n})), memoTheme(({\n theme\n}) => ({\n variants: [{\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)\n }\n })), {\n props: {\n size: 'small'\n },\n style: {\n padding: 5,\n fontSize: theme.typography.pxToRem(18)\n }\n }, {\n props: {\n size: 'large'\n },\n style: {\n padding: 12,\n fontSize: theme.typography.pxToRem(28)\n }\n }],\n [`&.${iconButtonClasses.disabled}`]: {\n backgroundColor: 'transparent',\n color: (theme.vars || theme).palette.action.disabled\n },\n [`&.${iconButtonClasses.loading}`]: {\n color: 'transparent'\n }\n})));\nconst IconButtonLoadingIndicator = styled('span', {\n name: 'MuiIconButton',\n slot: 'LoadingIndicator'\n})(({\n theme\n}) => ({\n display: 'none',\n position: 'absolute',\n visibility: 'visible',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: (theme.vars || theme).palette.action.disabled,\n variants: [{\n props: {\n loading: true\n },\n style: {\n display: 'flex'\n }\n }]\n}));\n\n/**\n * Refer to the [Icons](/material-ui/icons/) section of the documentation\n * regarding the available icon options.\n */\nconst IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiIconButton'\n });\n const {\n edge = false,\n children,\n className,\n color = 'default',\n disabled = false,\n disableFocusRipple = false,\n size = 'medium',\n id: idProp,\n loading = null,\n loadingIndicator: loadingIndicatorProp,\n ...other\n } = props;\n const loadingId = useId(idProp);\n const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {\n \"aria-labelledby\": loadingId,\n color: \"inherit\",\n size: 16\n });\n const ownerState = {\n ...props,\n edge,\n color,\n disabled,\n disableFocusRipple,\n loading,\n loadingIndicator,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(IconButtonRoot, {\n id: loading ? loadingId : idProp,\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled || loading,\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: [typeof loading === 'boolean' &&\n /*#__PURE__*/\n // use plain HTML span to minimize the runtime overhead\n _jsx(\"span\", {\n className: classes.loadingWrapper,\n style: {\n display: 'contents'\n },\n children: /*#__PURE__*/_jsx(IconButtonLoadingIndicator, {\n className: classes.loadingIndicator,\n ownerState: ownerState,\n children: loading && loadingIndicator\n })\n }), children]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.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 * The icon to display.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);\n if (found) {\n return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\\n'));\n }\n return null;\n }),\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 * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * If `true`, the loading indicator is visible and the button is disabled.\n * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).\n * @default null\n */\n loading: PropTypes.bool,\n /**\n * Element placed before the children if the button is in loading state.\n * The node should contain an element with `role=\"progressbar\"` with an accessible name.\n * By default, it renders a `CircularProgress` that is labeled by the button itself.\n * @default <CircularProgress color=\"inherit\" size={16} />\n */\n loadingIndicator: PropTypes.node,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), 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} : void 0;\nexport default IconButton;"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;AAiBA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,OAAO;AACX,IAAI,QAAQ;AACZ,IAAI,KAAK;AACT,IAAI,IAAI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,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;AACpI;AACA;AACA;AACA,EAAE,EAAE,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC;AACxJ,CAAC,GAAG,MAAM;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"IconButton.js","sources":["../../../../../../../node_modules/@mui/material/esm/IconButton/IconButton.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { unstable_useId as useId } from \"../utils/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport CircularProgress from \"../CircularProgress/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport iconButtonClasses, { getIconButtonUtilityClass } from \"./iconButtonClasses.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disabled,\n color,\n edge,\n size,\n loading\n } = ownerState;\n const slots = {\n root: ['root', loading && 'loading', disabled && 'disabled', color !== 'default' && `color${capitalize(color)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size)}`],\n loadingIndicator: ['loadingIndicator'],\n loadingWrapper: ['loadingWrapper']\n };\n return composeClasses(slots, getIconButtonUtilityClass, classes);\n};\nconst IconButtonRoot = styled(ButtonBase, {\n name: 'MuiIconButton',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.loading && styles.loading, ownerState.color !== 'default' && styles[`color${capitalize(ownerState.color)}`], ownerState.edge && styles[`edge${capitalize(ownerState.edge)}`], styles[`size${capitalize(ownerState.size)}`]];\n }\n})(memoTheme(({\n theme\n}) => ({\n textAlign: 'center',\n flex: '0 0 auto',\n fontSize: theme.typography.pxToRem(24),\n padding: 8,\n borderRadius: '50%',\n color: (theme.vars || theme).palette.action.active,\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n variants: [{\n props: props => !props.disableRipple,\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette.action.active, (theme.vars || theme).palette.action.hoverOpacity),\n '&:hover': {\n backgroundColor: 'var(--IconButton-hoverBg)',\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: {\n edge: 'start'\n },\n style: {\n marginLeft: -12\n }\n }, {\n props: {\n edge: 'start',\n size: 'small'\n },\n style: {\n marginLeft: -3\n }\n }, {\n props: {\n edge: 'end'\n },\n style: {\n marginRight: -12\n }\n }, {\n props: {\n edge: 'end',\n size: 'small'\n },\n style: {\n marginRight: -3\n }\n }]\n})), memoTheme(({\n theme\n}) => ({\n variants: [{\n props: {\n color: 'inherit'\n },\n style: {\n color: 'inherit'\n }\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n color: (theme.vars || theme).palette[color].main\n }\n })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()) // check all the used fields in the style below\n .map(([color]) => ({\n props: {\n color\n },\n style: {\n '--IconButton-hoverBg': theme.alpha((theme.vars || theme).palette[color].main, (theme.vars || theme).palette.action.hoverOpacity)\n }\n })), {\n props: {\n size: 'small'\n },\n style: {\n padding: 5,\n fontSize: theme.typography.pxToRem(18)\n }\n }, {\n props: {\n size: 'large'\n },\n style: {\n padding: 12,\n fontSize: theme.typography.pxToRem(28)\n }\n }],\n [`&.${iconButtonClasses.disabled}`]: {\n backgroundColor: 'transparent',\n color: (theme.vars || theme).palette.action.disabled\n },\n [`&.${iconButtonClasses.loading}`]: {\n color: 'transparent'\n }\n})));\nconst IconButtonLoadingIndicator = styled('span', {\n name: 'MuiIconButton',\n slot: 'LoadingIndicator'\n})(({\n theme\n}) => ({\n display: 'none',\n position: 'absolute',\n visibility: 'visible',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n color: (theme.vars || theme).palette.action.disabled,\n variants: [{\n props: {\n loading: true\n },\n style: {\n display: 'flex'\n }\n }]\n}));\n\n/**\n * Refer to the [Icons](/material-ui/icons/) section of the documentation\n * regarding the available icon options.\n */\nconst IconButton = /*#__PURE__*/React.forwardRef(function IconButton(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiIconButton'\n });\n const {\n edge = false,\n children,\n className,\n color = 'default',\n disabled = false,\n disableFocusRipple = false,\n size = 'medium',\n id: idProp,\n loading = null,\n loadingIndicator: loadingIndicatorProp,\n ...other\n } = props;\n const loadingId = useId(idProp);\n const loadingIndicator = loadingIndicatorProp ?? /*#__PURE__*/_jsx(CircularProgress, {\n \"aria-labelledby\": loadingId,\n color: \"inherit\",\n size: 16\n });\n const ownerState = {\n ...props,\n edge,\n color,\n disabled,\n disableFocusRipple,\n loading,\n loadingIndicator,\n size\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsxs(IconButtonRoot, {\n id: loading ? loadingId : idProp,\n className: clsx(classes.root, className),\n centerRipple: true,\n focusRipple: !disableFocusRipple,\n disabled: disabled || loading,\n ref: ref,\n ...other,\n ownerState: ownerState,\n children: [typeof loading === 'boolean' &&\n /*#__PURE__*/\n // use plain HTML span to minimize the runtime overhead\n _jsx(\"span\", {\n className: classes.loadingWrapper,\n style: {\n display: 'contents'\n },\n children: /*#__PURE__*/_jsx(IconButtonLoadingIndicator, {\n className: classes.loadingIndicator,\n ownerState: ownerState,\n children: loading && loadingIndicator\n })\n }), children]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? IconButton.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 * The icon to display.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const found = React.Children.toArray(props.children).some(child => /*#__PURE__*/React.isValidElement(child) && child.props.onClick);\n if (found) {\n return new Error(['MUI: You are providing an onClick event listener to a child of a button element.', 'Prefer applying it to the IconButton directly.', 'This guarantees that the whole <button> will be responsive to click events.'].join('\\n'));\n }\n return null;\n }),\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 * @default 'default'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['inherit', 'default', 'primary', 'secondary', 'error', 'info', 'success', 'warning']), PropTypes.string]),\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, the keyboard focus ripple is disabled.\n * @default false\n */\n disableFocusRipple: PropTypes.bool,\n /**\n * If `true`, the ripple effect is disabled.\n *\n * ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure\n * to highlight the element by applying separate styles with the `.Mui-focusVisible` class.\n * @default false\n */\n disableRipple: PropTypes.bool,\n /**\n * If given, uses a negative margin to counteract the padding on one\n * side (this is often helpful for aligning the left or right\n * side of the icon with content above or below, without ruining the border\n * size and shape).\n * @default false\n */\n edge: PropTypes.oneOf(['end', 'start', false]),\n /**\n * @ignore\n */\n id: PropTypes.string,\n /**\n * If `true`, the loading indicator is visible and the button is disabled.\n * If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).\n * @default null\n */\n loading: PropTypes.bool,\n /**\n * Element placed before the children if the button is in loading state.\n * The node should contain an element with `role=\"progressbar\"` with an accessible name.\n * By default, it renders a `CircularProgress` that is labeled by the button itself.\n * @default <CircularProgress color=\"inherit\" size={16} />\n */\n loadingIndicator: PropTypes.node,\n /**\n * The size of the component.\n * `small` is equivalent to the dense button styling.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), 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} : void 0;\nexport default IconButton;"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;AAiBA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,OAAO;AACX,IAAI,QAAQ;AACZ,IAAI,KAAK;AACT,IAAI,IAAI;AACR,IAAI,IAAI;AACR,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,IAAI,SAAS,EAAE,QAAQ,IAAI,UAAU,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClL,IAAI,gBAAgB,EAAE,CAAC,kBA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,QAAQ,EAAE,CAAC,OAAO,OAAO,KAAK,SAAS;AAC3C;AACA;AACA,IAAID,GAAI,CAAC,MAAM,EAAE;AACjB,MAAM,SAAS,EAAE,OAAO,CAAC,cAAc;AACvC,MAAM,KAAK,EAAE;AACb,QAAQ,OAAO,EAAE;AACjB,OAAO;AACP,MAAM,QAAQ,eAAeA,GAAI,CAAC,0BAA0B,EAAE;AAC9D,QAAQ,SAAS,EAAE,OAAO,CAAC,gBAAgB;AAC3C,QAAQ,UAAU,EAAE,UAAU;AAC9B,QAAQ,QAAQ,EAAE,OAAO,IAAI;AAC7B,OAAO;AACP,KAAK,CAAC,EAAE,QAAQ;AAChB,GAAG,CAAC;AACJ,CAAC;;;;","x_google_ignoreList":[0]}
|
package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
2
1
|
import 'react/jsx-runtime';
|
|
3
2
|
|
|
4
3
|
const defaultConfig = {
|
|
@@ -7,53 +6,6 @@ const defaultConfig = {
|
|
|
7
6
|
defaultDarkColorScheme: 'dark',
|
|
8
7
|
modeStorageKey: 'mui-mode'
|
|
9
8
|
};
|
|
10
|
-
process.env.NODE_ENV !== "production" ? {
|
|
11
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
13
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
14
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
15
|
-
/**
|
|
16
|
-
* DOM attribute for applying a color scheme.
|
|
17
|
-
* @default 'data-mui-color-scheme'
|
|
18
|
-
* @example '.mode-%s' // for class based color scheme
|
|
19
|
-
* @example '[data-mode-%s]' // for data-attribute without '='
|
|
20
|
-
*/
|
|
21
|
-
attribute: PropTypes.string,
|
|
22
|
-
/**
|
|
23
|
-
* The node (provided as string) used to attach the color-scheme attribute.
|
|
24
|
-
* @default 'document.documentElement'
|
|
25
|
-
*/
|
|
26
|
-
colorSchemeNode: PropTypes.string,
|
|
27
|
-
/**
|
|
28
|
-
* localStorage key used to store `colorScheme`.
|
|
29
|
-
* @default 'mui-color-scheme'
|
|
30
|
-
*/
|
|
31
|
-
colorSchemeStorageKey: PropTypes.string,
|
|
32
|
-
/**
|
|
33
|
-
* The default color scheme to be used in dark mode.
|
|
34
|
-
* @default 'dark'
|
|
35
|
-
*/
|
|
36
|
-
defaultDarkColorScheme: PropTypes.string,
|
|
37
|
-
/**
|
|
38
|
-
* The default color scheme to be used in light mode.
|
|
39
|
-
* @default 'light'
|
|
40
|
-
*/
|
|
41
|
-
defaultLightColorScheme: PropTypes.string,
|
|
42
|
-
/**
|
|
43
|
-
* The default mode when the storage is empty (user's first visit).
|
|
44
|
-
* @default 'system'
|
|
45
|
-
*/
|
|
46
|
-
defaultMode: PropTypes.oneOf(['dark', 'light', 'system']),
|
|
47
|
-
/**
|
|
48
|
-
* localStorage key used to store `mode`.
|
|
49
|
-
* @default 'mui-mode'
|
|
50
|
-
*/
|
|
51
|
-
modeStorageKey: PropTypes.string,
|
|
52
|
-
/**
|
|
53
|
-
* Nonce string to pass to the inline script for CSP headers.
|
|
54
|
-
*/
|
|
55
|
-
nonce: PropTypes.string
|
|
56
|
-
} : void 0;
|
|
57
9
|
|
|
58
10
|
export { defaultConfig };
|
|
59
11
|
//# sourceMappingURL=InitColorSchemeScript.js.map
|
package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InitColorSchemeScript.js","sources":["../../../../../../../node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const defaultConfig = {\n attribute: 'data-mui-color-scheme',\n colorSchemeStorageKey: 'mui-color-scheme',\n defaultLightColorScheme: 'light',\n defaultDarkColorScheme: 'dark',\n modeStorageKey: 'mui-mode'\n};\n/**\n *\n * Demos:\n *\n * - [InitColorSchemeScript](https://mui.com/material-ui/react-init-color-scheme-script/)\n *\n * API:\n *\n * - [InitColorSchemeScript API](https://mui.com/material-ui/api/init-color-scheme-script/)\n */\nfunction InitColorSchemeScript(props) {\n const {\n defaultMode = 'system',\n defaultLightColorScheme = defaultConfig.defaultLightColorScheme,\n defaultDarkColorScheme = defaultConfig.defaultDarkColorScheme,\n modeStorageKey = defaultConfig.modeStorageKey,\n colorSchemeStorageKey = defaultConfig.colorSchemeStorageKey,\n attribute: initialAttribute = defaultConfig.attribute,\n colorSchemeNode = 'document.documentElement',\n nonce\n } = props;\n return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {\n defaultMode: defaultMode,\n defaultLightColorScheme: defaultLightColorScheme,\n defaultDarkColorScheme: defaultDarkColorScheme,\n modeStorageKey: modeStorageKey,\n colorSchemeStorageKey: colorSchemeStorageKey,\n attribute: initialAttribute,\n colorSchemeNode: colorSchemeNode,\n nonce: nonce\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? InitColorSchemeScript.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * DOM attribute for applying a color scheme.\n * @default 'data-mui-color-scheme'\n * @example '.mode-%s' // for class based color scheme\n * @example '[data-mode-%s]' // for data-attribute without '='\n */\n attribute: PropTypes.string,\n /**\n * The node (provided as string) used to attach the color-scheme attribute.\n * @default 'document.documentElement'\n */\n colorSchemeNode: PropTypes.string,\n /**\n * localStorage key used to store `colorScheme`.\n * @default 'mui-color-scheme'\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The default color scheme to be used in dark mode.\n * @default 'dark'\n */\n defaultDarkColorScheme: PropTypes.string,\n /**\n * The default color scheme to be used in light mode.\n * @default 'light'\n */\n defaultLightColorScheme: PropTypes.string,\n /**\n * The default mode when the storage is empty (user's first visit).\n * @default 'system'\n */\n defaultMode: PropTypes.oneOf(['dark', 'light', 'system']),\n /**\n * localStorage key used to store `mode`.\n * @default 'mui-mode'\n */\n modeStorageKey: PropTypes.string,\n /**\n * Nonce string to pass to the inline script for CSP headers.\n */\n nonce: PropTypes.string\n} : void 0;\nexport default InitColorSchemeScript;"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InitColorSchemeScript.js","sources":["../../../../../../../node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport SystemInitColorSchemeScript from '@mui/system/InitColorSchemeScript';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const defaultConfig = {\n attribute: 'data-mui-color-scheme',\n colorSchemeStorageKey: 'mui-color-scheme',\n defaultLightColorScheme: 'light',\n defaultDarkColorScheme: 'dark',\n modeStorageKey: 'mui-mode'\n};\n/**\n *\n * Demos:\n *\n * - [InitColorSchemeScript](https://mui.com/material-ui/react-init-color-scheme-script/)\n *\n * API:\n *\n * - [InitColorSchemeScript API](https://mui.com/material-ui/api/init-color-scheme-script/)\n */\nfunction InitColorSchemeScript(props) {\n const {\n defaultMode = 'system',\n defaultLightColorScheme = defaultConfig.defaultLightColorScheme,\n defaultDarkColorScheme = defaultConfig.defaultDarkColorScheme,\n modeStorageKey = defaultConfig.modeStorageKey,\n colorSchemeStorageKey = defaultConfig.colorSchemeStorageKey,\n attribute: initialAttribute = defaultConfig.attribute,\n colorSchemeNode = 'document.documentElement',\n nonce\n } = props;\n return /*#__PURE__*/_jsx(SystemInitColorSchemeScript, {\n defaultMode: defaultMode,\n defaultLightColorScheme: defaultLightColorScheme,\n defaultDarkColorScheme: defaultDarkColorScheme,\n modeStorageKey: modeStorageKey,\n colorSchemeStorageKey: colorSchemeStorageKey,\n attribute: initialAttribute,\n colorSchemeNode: colorSchemeNode,\n nonce: nonce\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? InitColorSchemeScript.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * DOM attribute for applying a color scheme.\n * @default 'data-mui-color-scheme'\n * @example '.mode-%s' // for class based color scheme\n * @example '[data-mode-%s]' // for data-attribute without '='\n */\n attribute: PropTypes.string,\n /**\n * The node (provided as string) used to attach the color-scheme attribute.\n * @default 'document.documentElement'\n */\n colorSchemeNode: PropTypes.string,\n /**\n * localStorage key used to store `colorScheme`.\n * @default 'mui-color-scheme'\n */\n colorSchemeStorageKey: PropTypes.string,\n /**\n * The default color scheme to be used in dark mode.\n * @default 'dark'\n */\n defaultDarkColorScheme: PropTypes.string,\n /**\n * The default color scheme to be used in light mode.\n * @default 'light'\n */\n defaultLightColorScheme: PropTypes.string,\n /**\n * The default mode when the storage is empty (user's first visit).\n * @default 'system'\n */\n defaultMode: PropTypes.oneOf(['dark', 'light', 'system']),\n /**\n * localStorage key used to store `mode`.\n * @default 'mui-mode'\n */\n modeStorageKey: PropTypes.string,\n /**\n * Nonce string to pass to the inline script for CSP headers.\n */\n nonce: PropTypes.string\n} : void 0;\nexport default InitColorSchemeScript;"],"names":[],"mappings":";;AAGY,MAAC,aAAa,GAAG;AAC7B,EACE,qBAAqB,EAAE,kBAAkB;AAC3C,EAAE,uBAAuB,EAAE,OAAO;AAClC,EAAE,sBAAsB,EAAE,MAAM;AAChC,EAAE,cAAc,EAAE;AAClB;;;;","x_google_ignoreList":[0]}
|