react-easy-wall 2.0.8 → 2.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_virtual/index10.cjs +2 -2
- package/dist/cjs/_virtual/index11.cjs +2 -2
- package/dist/cjs/_virtual/index12.cjs +2 -2
- package/dist/cjs/_virtual/index14.cjs +2 -2
- package/dist/cjs/_virtual/index15.cjs +2 -2
- package/dist/cjs/_virtual/index16.cjs +2 -2
- package/dist/cjs/_virtual/index17.cjs +2 -2
- package/dist/cjs/_virtual/index4.cjs +4 -4
- package/dist/cjs/_virtual/index5.cjs +4 -4
- package/dist/cjs/_virtual/index6.cjs +2 -8
- package/dist/cjs/_virtual/index6.cjs.map +1 -1
- package/dist/cjs/_virtual/index7.cjs +4 -2
- package/dist/cjs/_virtual/index7.cjs.map +1 -1
- package/dist/cjs/_virtual/index8.cjs +2 -4
- package/dist/cjs/_virtual/index8.cjs.map +1 -1
- package/dist/cjs/_virtual/index9.cjs +2 -2
- package/dist/cjs/components/comment/components/AddComment.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/ArrowForwardIos.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/GifOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/PowerSettingsNew.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/Reply.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs +1 -1
- package/dist/cjs/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Avatar/Avatar.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs +0 -91
- package/dist/cjs/node_modules/@mui/material/esm/Backdrop/Backdrop.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs +0 -20
- package/dist/cjs/node_modules/@mui/material/esm/Box/Box.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs +0 -117
- package/dist/cjs/node_modules/@mui/material/esm/Button/Button.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs +0 -165
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/ButtonBase.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs +0 -36
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/Ripple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs +0 -16
- package/dist/cjs/node_modules/@mui/material/esm/ButtonBase/TouchRipple.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs +0 -34
- package/dist/cjs/node_modules/@mui/material/esm/Card/Card.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/CardContent/CardContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs +0 -84
- package/dist/cjs/node_modules/@mui/material/esm/CardHeader/CardHeader.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs +0 -72
- package/dist/cjs/node_modules/@mui/material/esm/CircularProgress/CircularProgress.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs +0 -18
- package/dist/cjs/node_modules/@mui/material/esm/CssBaseline/CssBaseline.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs +0 -156
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/Dialog.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/Dialog/DialogContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogActions/DialogActions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs +0 -28
- package/dist/cjs/node_modules/@mui/material/esm/DialogContent/DialogContent.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Divider/Divider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs +0 -112
- package/dist/cjs/node_modules/@mui/material/esm/Drawer/Drawer.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs +0 -77
- package/dist/cjs/node_modules/@mui/material/esm/Fade/Fade.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs +0 -11
- package/dist/cjs/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs +0 -103
- package/dist/cjs/node_modules/@mui/material/esm/Grid/Grid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs +0 -76
- package/dist/cjs/node_modules/@mui/material/esm/Grow/Grow.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs +0 -86
- package/dist/cjs/node_modules/@mui/material/esm/IconButton/IconButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs +0 -48
- package/dist/cjs/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs +0 -60
- package/dist/cjs/node_modules/@mui/material/esm/Link/Link.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs +0 -44
- package/dist/cjs/node_modules/@mui/material/esm/List/List.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/material/esm/List/ListContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs +0 -129
- package/dist/cjs/node_modules/@mui/material/esm/ListItem/ListItem.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs +0 -81
- package/dist/cjs/node_modules/@mui/material/esm/ListItemButton/ListItemButton.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs +0 -24
- package/dist/cjs/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs +0 -23
- package/dist/cjs/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs +0 -75
- package/dist/cjs/node_modules/@mui/material/esm/ListItemText/ListItemText.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs +0 -174
- package/dist/cjs/node_modules/@mui/material/esm/Modal/Modal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Paper/Paper.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs +0 -221
- package/dist/cjs/node_modules/@mui/material/esm/Popover/Popover.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs +0 -33
- package/dist/cjs/node_modules/@mui/material/esm/Portal/Portal.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs +0 -106
- package/dist/cjs/node_modules/@mui/material/esm/Slide/Slide.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs +0 -73
- package/dist/cjs/node_modules/@mui/material/esm/SvgIcon/SvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs +0 -87
- package/dist/cjs/node_modules/@mui/material/esm/Typography/Typography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs +0 -64
- package/dist/cjs/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/internal/svg-icons/Person.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs +2 -13
- package/dist/cjs/node_modules/@mui/material/esm/styles/createPalette.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs +1 -34
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeNoVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs +2 -2
- package/dist/cjs/node_modules/@mui/material/esm/styles/createThemeWithVars.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs +0 -22
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTransitions.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs +0 -8
- package/dist/cjs/node_modules/@mui/material/esm/styles/createTypography.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs +1 -25
- package/dist/cjs/node_modules/@mui/material/esm/styles/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs +1 -6
- package/dist/cjs/node_modules/@mui/material/esm/utils/createSvgIcon.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs +0 -25
- package/dist/cjs/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/private-theming/esm/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs +0 -11
- package/dist/cjs/node_modules/@mui/styled-engine/esm/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs +1 -127
- package/dist/cjs/node_modules/@mui/styles/StylesProvider/StylesProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs +1 -13
- package/dist/cjs/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs +0 -17
- package/dist/cjs/node_modules/@mui/styles/getStylesCreator/getStylesCreator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/makeStyles/indexCounter.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs +1 -12
- package/dist/cjs/node_modules/@mui/styles/makeStyles/makeStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs +0 -16
- package/dist/cjs/node_modules/@mui/styles/mergeClasses/mergeClasses.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs +0 -3
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs +0 -5
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs +0 -15
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs +0 -19
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs +0 -16
- package/dist/cjs/node_modules/@mui/system/esm/Grid/createGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs +0 -22
- package/dist/cjs/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs +0 -28
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs +2 -5
- package/dist/cjs/node_modules/@mui/system/esm/borders/borders.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs +2 -24
- package/dist/cjs/node_modules/@mui/system/esm/colorManipulator/colorManipulator.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/compose/compose.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs +1 -19
- package/dist/cjs/node_modules/@mui/system/esm/createStyled/createStyled.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/createTheme/createSpacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs +0 -3
- package/dist/cjs/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs +6 -13
- package/dist/cjs/node_modules/@mui/system/esm/cssGrid/cssGrid.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs +1 -79
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs +0 -5
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs +4 -30
- package/dist/cjs/node_modules/@mui/system/esm/spacing/spacing.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs +1 -4
- package/dist/cjs/node_modules/@mui/system/esm/style/style.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/capitalize/capitalize.cjs.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/deepmerge/deepmerge.cjs +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs +0 -5
- package/dist/cjs/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.cjs.map +1 -1
- package/dist/cjs/node_modules/axios/lib/adapters/http.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs +2 -2
- package/dist/cjs/node_modules/css-vendor/dist/css-vendor.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/debug/src/index.cjs +1 -1
- package/dist/cjs/node_modules/follow-redirects/index.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs +1 -1
- package/dist/cjs/node_modules/graphql/jsutils/instanceOf.cjs.map +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.cjs +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs +3 -25
- package/dist/cjs/node_modules/jss/dist/jss.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs +0 -3
- package/dist/cjs/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs +0 -10
- package/dist/cjs/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.cjs.map +1 -1
- package/dist/cjs/node_modules/mime-types/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs +4 -36
- package/dist/cjs/node_modules/next/dist/client/route-loader.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs +0 -4
- package/dist/cjs/node_modules/next/dist/client/with-router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/cookie/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/gzip-size/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/compiled/path-to-regexp/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs +0 -18
- package/dist/cjs/node_modules/next/dist/lib/is-error.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs +4 -38
- package/dist/cjs/node_modules/next/dist/shared/lib/router/router.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs +1 -7
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/format-url.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router/utils/index.cjs +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs +0 -3
- package/dist/cjs/node_modules/next/dist/shared/lib/router-context.shared-runtime.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs +0 -9
- package/dist/cjs/node_modules/next/dist/shared/lib/utils/warn-once.cjs.map +1 -1
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs +0 -16
- package/dist/cjs/node_modules/next/dist/shared/lib/utils.cjs.map +1 -1
- package/dist/cjs/node_modules/prop-types/index.cjs +5 -14
- package/dist/cjs/node_modules/prop-types/index.cjs.map +1 -1
- package/dist/cjs/node_modules/proxy-from-env/index.cjs +1 -1
- package/dist/cjs/node_modules/react-is/index.cjs +2 -5
- package/dist/cjs/node_modules/react-is/index.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs +1 -189
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.cjs.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs +1 -59
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.cjs.map +1 -1
- package/dist/cjs/shared/components/dialog/DialogDefault.cjs +1 -1
- package/dist/esm/_virtual/index10.js +2 -2
- package/dist/esm/_virtual/index11.js +2 -2
- package/dist/esm/_virtual/index12.js +2 -2
- package/dist/esm/_virtual/index14.js +2 -2
- package/dist/esm/_virtual/index15.js +2 -2
- package/dist/esm/_virtual/index16.js +2 -2
- package/dist/esm/_virtual/index17.js +2 -2
- package/dist/esm/_virtual/index4.js +4 -4
- package/dist/esm/_virtual/index5.js +4 -4
- package/dist/esm/_virtual/index6.js +2 -6
- package/dist/esm/_virtual/index6.js.map +1 -1
- package/dist/esm/_virtual/index7.js +4 -2
- package/dist/esm/_virtual/index7.js.map +1 -1
- package/dist/esm/_virtual/index8.js +2 -4
- package/dist/esm/_virtual/index8.js.map +1 -1
- package/dist/esm/_virtual/index9.js +2 -2
- package/dist/esm/components/comment/components/AddComment.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/ArrowForwardIos.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/GifOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/PowerSettingsNew.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/Reply.js.map +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js +1 -1
- package/dist/esm/node_modules/@mui/icons-material/esm/SentimentSatisfiedOutlined.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Avatar/Avatar.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js +0 -91
- package/dist/esm/node_modules/@mui/material/esm/Backdrop/Backdrop.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js +0 -20
- package/dist/esm/node_modules/@mui/material/esm/Box/Box.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js +0 -117
- package/dist/esm/node_modules/@mui/material/esm/Button/Button.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js +0 -165
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js +0 -36
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/Ripple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js +0 -16
- package/dist/esm/node_modules/@mui/material/esm/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupButtonContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/ButtonGroup/ButtonGroupContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js +0 -34
- package/dist/esm/node_modules/@mui/material/esm/Card/Card.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/CardContent/CardContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js +0 -84
- package/dist/esm/node_modules/@mui/material/esm/CardHeader/CardHeader.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js +0 -72
- package/dist/esm/node_modules/@mui/material/esm/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js +0 -18
- package/dist/esm/node_modules/@mui/material/esm/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/material/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js +0 -156
- package/dist/esm/node_modules/@mui/material/esm/Dialog/Dialog.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/Dialog/DialogContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogActions/DialogActions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js +0 -28
- package/dist/esm/node_modules/@mui/material/esm/DialogContent/DialogContent.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Divider/Divider.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js +0 -112
- package/dist/esm/node_modules/@mui/material/esm/Drawer/Drawer.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js +0 -77
- package/dist/esm/node_modules/@mui/material/esm/Fade/Fade.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js +0 -11
- package/dist/esm/node_modules/@mui/material/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js +0 -103
- package/dist/esm/node_modules/@mui/material/esm/Grid/Grid.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js +0 -76
- package/dist/esm/node_modules/@mui/material/esm/Grow/Grow.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js +0 -86
- package/dist/esm/node_modules/@mui/material/esm/IconButton/IconButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js +0 -48
- package/dist/esm/node_modules/@mui/material/esm/InitColorSchemeScript/InitColorSchemeScript.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js +0 -60
- package/dist/esm/node_modules/@mui/material/esm/Link/Link.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/List.js +0 -44
- package/dist/esm/node_modules/@mui/material/esm/List/List.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js +0 -3
- package/dist/esm/node_modules/@mui/material/esm/List/ListContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js +0 -129
- package/dist/esm/node_modules/@mui/material/esm/ListItem/ListItem.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js +0 -81
- package/dist/esm/node_modules/@mui/material/esm/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js +0 -24
- package/dist/esm/node_modules/@mui/material/esm/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -23
- package/dist/esm/node_modules/@mui/material/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js +0 -75
- package/dist/esm/node_modules/@mui/material/esm/ListItemText/ListItemText.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js +0 -174
- package/dist/esm/node_modules/@mui/material/esm/Modal/Modal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Paper/Paper.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js +0 -221
- package/dist/esm/node_modules/@mui/material/esm/Popover/Popover.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js +0 -33
- package/dist/esm/node_modules/@mui/material/esm/Portal/Portal.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js +0 -106
- package/dist/esm/node_modules/@mui/material/esm/Slide/Slide.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js +0 -73
- package/dist/esm/node_modules/@mui/material/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js +0 -87
- package/dist/esm/node_modules/@mui/material/esm/Typography/Typography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js +0 -64
- package/dist/esm/node_modules/@mui/material/esm/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js +1 -1
- package/dist/esm/node_modules/@mui/material/esm/internal/svg-icons/Person.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js +2 -13
- package/dist/esm/node_modules/@mui/material/esm/styles/createPalette.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js +1 -34
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeNoVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js +2 -2
- package/dist/esm/node_modules/@mui/material/esm/styles/createThemeWithVars.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js +0 -22
- package/dist/esm/node_modules/@mui/material/esm/styles/createTransitions.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js +0 -8
- package/dist/esm/node_modules/@mui/material/esm/styles/createTypography.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/styles/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js +1 -6
- package/dist/esm/node_modules/@mui/material/esm/utils/createSvgIcon.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js +0 -25
- package/dist/esm/node_modules/@mui/private-theming/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/private-theming/esm/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js +0 -5
- package/dist/esm/node_modules/@mui/styled-engine/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js +0 -11
- package/dist/esm/node_modules/@mui/styled-engine/esm/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js +1 -127
- package/dist/esm/node_modules/@mui/styles/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js +1 -13
- package/dist/esm/node_modules/@mui/styles/createGenerateClassName/createGenerateClassName.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js +0 -17
- package/dist/esm/node_modules/@mui/styles/getStylesCreator/getStylesCreator.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js +0 -5
- package/dist/esm/node_modules/@mui/styles/makeStyles/indexCounter.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js +1 -12
- package/dist/esm/node_modules/@mui/styles/makeStyles/makeStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js +0 -16
- package/dist/esm/node_modules/@mui/styles/mergeClasses/mergeClasses.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -3
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/ThemeContext.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -5
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/private-theming/useTheme/useTheme.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/styles/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -15
- package/dist/esm/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -19
- package/dist/esm/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js +0 -16
- package/dist/esm/node_modules/@mui/system/esm/Grid/createGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +0 -22
- package/dist/esm/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -28
- package/dist/esm/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js +2 -5
- package/dist/esm/node_modules/@mui/system/esm/borders/borders.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js +2 -24
- package/dist/esm/node_modules/@mui/system/esm/colorManipulator/colorManipulator.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js +1 -1
- package/dist/esm/node_modules/@mui/system/esm/compose/compose.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js +1 -19
- package/dist/esm/node_modules/@mui/system/esm/createStyled/createStyled.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/createTheme/createSpacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js +0 -3
- package/dist/esm/node_modules/@mui/system/esm/cssContainerQueries/cssContainerQueries.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js +6 -13
- package/dist/esm/node_modules/@mui/system/esm/cssGrid/cssGrid.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -79
- package/dist/esm/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js +0 -5
- package/dist/esm/node_modules/@mui/system/esm/cssVars/getColorSchemeSelector.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js +4 -30
- package/dist/esm/node_modules/@mui/system/esm/spacing/spacing.js.map +1 -1
- package/dist/esm/node_modules/@mui/system/esm/style/style.js +1 -4
- package/dist/esm/node_modules/@mui/system/esm/style/style.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/capitalize/capitalize.js.map +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +1 -1
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -5
- package/dist/esm/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js.map +1 -1
- package/dist/esm/node_modules/axios/lib/adapters/http.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js +2 -2
- package/dist/esm/node_modules/css-vendor/dist/css-vendor.esm.js.map +1 -1
- package/dist/esm/node_modules/debug/src/index.js +1 -1
- package/dist/esm/node_modules/follow-redirects/index.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js +1 -1
- package/dist/esm/node_modules/graphql/jsutils/instanceOf.js.map +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/hoist-non-react-statics/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/jss/dist/jss.esm.js +3 -25
- package/dist/esm/node_modules/jss/dist/jss.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js +0 -3
- package/dist/esm/node_modules/jss-plugin-nested/dist/jss-plugin-nested.esm.js.map +1 -1
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js +0 -10
- package/dist/esm/node_modules/jss-plugin-rule-value-function/dist/jss-plugin-rule-value-function.esm.js.map +1 -1
- package/dist/esm/node_modules/mime-types/index.js +1 -1
- package/dist/esm/node_modules/next/dist/client/route-loader.js +4 -36
- package/dist/esm/node_modules/next/dist/client/route-loader.js.map +1 -1
- package/dist/esm/node_modules/next/dist/client/with-router.js +0 -4
- package/dist/esm/node_modules/next/dist/client/with-router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/compiled/cookie/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/gzip-size/index.js +1 -1
- package/dist/esm/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -1
- package/dist/esm/node_modules/next/dist/lib/is-error.js +0 -18
- package/dist/esm/node_modules/next/dist/lib/is-error.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js +4 -38
- package/dist/esm/node_modules/next/dist/shared/lib/router/router.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js +1 -7
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/disable-smooth-scroll.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/format-url.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router/utils/index.js +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +0 -3
- package/dist/esm/node_modules/next/dist/shared/lib/router-context.shared-runtime.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js +0 -9
- package/dist/esm/node_modules/next/dist/shared/lib/utils/warn-once.js.map +1 -1
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js +0 -16
- package/dist/esm/node_modules/next/dist/shared/lib/utils.js.map +1 -1
- package/dist/esm/node_modules/prop-types/index.js +2 -11
- package/dist/esm/node_modules/prop-types/index.js.map +1 -1
- package/dist/esm/node_modules/proxy-from-env/index.js +1 -1
- package/dist/esm/node_modules/react-is/index.js +2 -5
- package/dist/esm/node_modules/react-is/index.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js +1 -189
- package/dist/esm/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js +1 -59
- package/dist/esm/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/esm/shared/components/dialog/DialogDefault.js +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
3
2
|
import { clsx } from '../../../../clsx/dist/clsx.js';
|
|
4
3
|
import useTheme from '../styles/useTheme.js';
|
|
5
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -13,7 +12,6 @@ import capitalize from '../../../utils/esm/capitalize/capitalize.js';
|
|
|
13
12
|
import composeClasses from '../../../utils/esm/composeClasses/composeClasses.js';
|
|
14
13
|
import Typography from '../Typography/Typography.js';
|
|
15
14
|
import isFocusVisible from '../../../utils/esm/isFocusVisible/isFocusVisible.js';
|
|
16
|
-
import elementTypeAcceptingRef from '../../../utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js';
|
|
17
15
|
|
|
18
16
|
const v6Colors = {
|
|
19
17
|
primary: true,
|
|
@@ -229,64 +227,6 @@ const Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {
|
|
|
229
227
|
}
|
|
230
228
|
});
|
|
231
229
|
});
|
|
232
|
-
process.env.NODE_ENV !== "production" ? Link.propTypes /* remove-proptypes */ = {
|
|
233
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
234
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
235
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
236
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
237
|
-
/**
|
|
238
|
-
* The content of the component.
|
|
239
|
-
*/
|
|
240
|
-
children: PropTypes.node,
|
|
241
|
-
/**
|
|
242
|
-
* Override or extend the styles applied to the component.
|
|
243
|
-
*/
|
|
244
|
-
classes: PropTypes.object,
|
|
245
|
-
/**
|
|
246
|
-
* @ignore
|
|
247
|
-
*/
|
|
248
|
-
className: PropTypes.string,
|
|
249
|
-
/**
|
|
250
|
-
* The color of the link.
|
|
251
|
-
* @default 'primary'
|
|
252
|
-
*/
|
|
253
|
-
color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),
|
|
254
|
-
/**
|
|
255
|
-
* The component used for the root node.
|
|
256
|
-
* Either a string to use a HTML element or a component.
|
|
257
|
-
*/
|
|
258
|
-
component: elementTypeAcceptingRef,
|
|
259
|
-
/**
|
|
260
|
-
* @ignore
|
|
261
|
-
*/
|
|
262
|
-
onBlur: PropTypes.func,
|
|
263
|
-
/**
|
|
264
|
-
* @ignore
|
|
265
|
-
*/
|
|
266
|
-
onFocus: PropTypes.func,
|
|
267
|
-
/**
|
|
268
|
-
* @ignore
|
|
269
|
-
*/
|
|
270
|
-
style: PropTypes.object,
|
|
271
|
-
/**
|
|
272
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
273
|
-
*/
|
|
274
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
275
|
-
/**
|
|
276
|
-
* `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.
|
|
277
|
-
*/
|
|
278
|
-
TypographyClasses: PropTypes.object,
|
|
279
|
-
/**
|
|
280
|
-
* Controls when the link should have an underline.
|
|
281
|
-
* @default 'always'
|
|
282
|
-
*/
|
|
283
|
-
underline: PropTypes.oneOf(['always', 'hover', 'none']),
|
|
284
|
-
/**
|
|
285
|
-
* Applies the theme typography styles.
|
|
286
|
-
* @default 'inherit'
|
|
287
|
-
*/
|
|
288
|
-
variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string])
|
|
289
|
-
} : void 0;
|
|
290
230
|
|
|
291
231
|
export { Link as default };
|
|
292
232
|
//# sourceMappingURL=Link.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sources":["../../../../../../../node_modules/@mui/material/esm/Link/Link.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport linkClasses, { getLinkUtilityClass } from \"./linkClasses.js\";\nimport getTextDecoration from \"./getTextDecoration.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n component,\n focusVisible,\n underline\n } = ownerState;\n const slots = {\n root: ['root', `underline${capitalize(underline)}`, component === 'button' && 'button', focusVisible && 'focusVisible']\n };\n return composeClasses(slots, getLinkUtilityClass, classes);\n};\nconst LinkRoot = styled(Typography, {\n name: 'MuiLink',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`underline${capitalize(ownerState.underline)}`], ownerState.component === 'button' && styles.button];\n }\n})(memoTheme(({\n theme\n}) => {\n return {\n variants: [{\n props: {\n underline: 'none'\n },\n style: {\n textDecoration: 'none'\n }\n }, {\n props: {\n underline: 'hover'\n },\n style: {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n }\n }, {\n props: {\n underline: 'always'\n },\n style: {\n textDecoration: 'underline',\n '&:hover': {\n textDecorationColor: 'inherit'\n }\n }\n }, {\n props: ({\n underline,\n ownerState\n }) => underline === 'always' && ownerState.color !== 'inherit',\n style: {\n textDecorationColor: 'var(--Link-underlineColor)'\n }\n }, {\n props: ({\n underline,\n ownerState\n }) => underline === 'always' && ownerState.color === 'inherit',\n style: theme.colorSpace ? {\n textDecorationColor: theme.alpha('currentColor', 0.4)\n } : null\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n underline: 'always',\n color\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette[color].main, 0.4)\n }\n })), {\n props: {\n underline: 'always',\n color: 'textPrimary'\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.primary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textSecondary'\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.secondary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textDisabled'\n },\n style: {\n '--Link-underlineColor': (theme.vars || theme).palette.text.disabled\n }\n }, {\n props: {\n component: 'button'\n },\n style: {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${linkClasses.focusVisible}`]: {\n outline: 'auto'\n }\n }\n }]\n };\n}));\nconst Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiLink'\n });\n const theme = useTheme();\n const {\n className,\n color = 'primary',\n component = 'a',\n onBlur,\n onFocus,\n TypographyClasses,\n underline = 'always',\n variant = 'inherit',\n sx,\n ...other\n } = props;\n const [focusVisible, setFocusVisible] = React.useState(false);\n const handleBlur = event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n };\n const handleFocus = event => {\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n const ownerState = {\n ...props,\n color,\n component,\n focusVisible,\n underline,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(LinkRoot, {\n color: color,\n className: clsx(classes.root, className),\n classes: TypographyClasses,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: ref,\n ownerState: ownerState,\n variant: variant,\n ...other,\n sx: [...(v6Colors[color] === undefined ? [{\n color\n }] : []), ...(Array.isArray(sx) ? sx : [sx])],\n style: {\n ...other.style,\n ...(underline === 'always' && color !== 'inherit' && !v6Colors[color] && {\n '--Link-underlineColor': getTextDecoration({\n theme,\n ownerState\n })\n })\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Link.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 content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the link.\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.\n */\n TypographyClasses: PropTypes.object,\n /**\n * Controls when the link should have an underline.\n * @default 'always'\n */\n underline: PropTypes.oneOf(['always', 'hover', 'none']),\n /**\n * Applies the theme typography styles.\n * @default 'inherit'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string])\n} : void 0;\nexport default Link;"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;AAiBA,MAAM,QAAQ,GAAG;AACjB,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,SAAS,EAAE,IAAI;AACjB,EAAE,KAAK,EAAE,IAAI;AACb,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,aAAa,EAAE,IAAI;AACrB,EAAE,YAAY,EAAE;AAChB,CAAC;AACD,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,OAAO;AACX,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,QAAQ,IAAI,QAAQ,EAAE,YAAY,IAAI,cAAc;AAC1H,GAAG;AACH,EAAE,OAAO,cAAc,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC;AAC5D,CAAC;AACD,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,EAAE;AACpC,EAAE,IAAI,EAAE,SAAS;AACjB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK;AACxC,IAAI,MAAM;AACV,MAAM;AACN,KAAK,GAAG,KAAK;AACb,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI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I;AACzB;AACA;AACA;AACA,EAAE,KAAK,EAAE,SAAS,CAAC,MAAM;AACzB;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,CAAC;AACzJ;AACA;AACA;AACA,EAAE,iBAAiB,EAAE,SAAS,CAAC,MAAM;AACrC;AACA;AACA;AACA;AACA,EAAE,SAAS,EAAE,SAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA,EAAE,OAAO,EAAE,SAAS,uCAAuC,SAAS,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC;AACtO,CAAC,GAAG,MAAM;;;;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"Link.js","sources":["../../../../../../../node_modules/@mui/material/esm/Link/Link.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport composeClasses from '@mui/utils/composeClasses';\nimport isFocusVisible from '@mui/utils/isFocusVisible';\nimport capitalize from \"../utils/capitalize.js\";\nimport { styled, useTheme } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport linkClasses, { getLinkUtilityClass } from \"./linkClasses.js\";\nimport getTextDecoration from \"./getTextDecoration.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst v6Colors = {\n primary: true,\n secondary: true,\n error: true,\n info: true,\n success: true,\n warning: true,\n textPrimary: true,\n textSecondary: true,\n textDisabled: true\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n component,\n focusVisible,\n underline\n } = ownerState;\n const slots = {\n root: ['root', `underline${capitalize(underline)}`, component === 'button' && 'button', focusVisible && 'focusVisible']\n };\n return composeClasses(slots, getLinkUtilityClass, classes);\n};\nconst LinkRoot = styled(Typography, {\n name: 'MuiLink',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[`underline${capitalize(ownerState.underline)}`], ownerState.component === 'button' && styles.button];\n }\n})(memoTheme(({\n theme\n}) => {\n return {\n variants: [{\n props: {\n underline: 'none'\n },\n style: {\n textDecoration: 'none'\n }\n }, {\n props: {\n underline: 'hover'\n },\n style: {\n textDecoration: 'none',\n '&:hover': {\n textDecoration: 'underline'\n }\n }\n }, {\n props: {\n underline: 'always'\n },\n style: {\n textDecoration: 'underline',\n '&:hover': {\n textDecorationColor: 'inherit'\n }\n }\n }, {\n props: ({\n underline,\n ownerState\n }) => underline === 'always' && ownerState.color !== 'inherit',\n style: {\n textDecorationColor: 'var(--Link-underlineColor)'\n }\n }, {\n props: ({\n underline,\n ownerState\n }) => underline === 'always' && ownerState.color === 'inherit',\n style: theme.colorSpace ? {\n textDecorationColor: theme.alpha('currentColor', 0.4)\n } : null\n }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color]) => ({\n props: {\n underline: 'always',\n color\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette[color].main, 0.4)\n }\n })), {\n props: {\n underline: 'always',\n color: 'textPrimary'\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.primary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textSecondary'\n },\n style: {\n '--Link-underlineColor': theme.alpha((theme.vars || theme).palette.text.secondary, 0.4)\n }\n }, {\n props: {\n underline: 'always',\n color: 'textDisabled'\n },\n style: {\n '--Link-underlineColor': (theme.vars || theme).palette.text.disabled\n }\n }, {\n props: {\n component: 'button'\n },\n style: {\n position: 'relative',\n WebkitTapHighlightColor: 'transparent',\n backgroundColor: 'transparent',\n // Reset default value\n // We disable the focus ring for mouse, touch and keyboard users.\n outline: 0,\n border: 0,\n margin: 0,\n // Remove the margin in Safari\n borderRadius: 0,\n padding: 0,\n // Remove the padding in Firefox\n cursor: 'pointer',\n userSelect: 'none',\n verticalAlign: 'middle',\n MozAppearance: 'none',\n // Reset\n WebkitAppearance: 'none',\n // Reset\n '&::-moz-focus-inner': {\n borderStyle: 'none' // Remove Firefox dotted outline.\n },\n [`&.${linkClasses.focusVisible}`]: {\n outline: 'auto'\n }\n }\n }]\n };\n}));\nconst Link = /*#__PURE__*/React.forwardRef(function Link(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiLink'\n });\n const theme = useTheme();\n const {\n className,\n color = 'primary',\n component = 'a',\n onBlur,\n onFocus,\n TypographyClasses,\n underline = 'always',\n variant = 'inherit',\n sx,\n ...other\n } = props;\n const [focusVisible, setFocusVisible] = React.useState(false);\n const handleBlur = event => {\n if (!isFocusVisible(event.target)) {\n setFocusVisible(false);\n }\n if (onBlur) {\n onBlur(event);\n }\n };\n const handleFocus = event => {\n if (isFocusVisible(event.target)) {\n setFocusVisible(true);\n }\n if (onFocus) {\n onFocus(event);\n }\n };\n const ownerState = {\n ...props,\n color,\n component,\n focusVisible,\n underline,\n variant\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(LinkRoot, {\n color: color,\n className: clsx(classes.root, className),\n classes: TypographyClasses,\n component: component,\n onBlur: handleBlur,\n onFocus: handleFocus,\n ref: ref,\n ownerState: ownerState,\n variant: variant,\n ...other,\n sx: [...(v6Colors[color] === undefined ? [{\n color\n }] : []), ...(Array.isArray(sx) ? sx : [sx])],\n style: {\n ...other.style,\n ...(underline === 'always' && color !== 'inherit' && !v6Colors[color] && {\n '--Link-underlineColor': getTextDecoration({\n theme,\n ownerState\n })\n })\n }\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Link.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 content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The color of the link.\n * @default 'primary'\n */\n color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'success', 'error', 'info', 'warning', 'textPrimary', 'textSecondary', 'textDisabled']), PropTypes.string]),\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: elementTypeAcceptingRef,\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.\n */\n TypographyClasses: PropTypes.object,\n /**\n * Controls when the link should have an underline.\n * @default 'always'\n */\n underline: PropTypes.oneOf(['always', 'hover', 'none']),\n /**\n * Applies the theme typography styles.\n * @default 'inherit'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['body1', 'body2', 'button', 'caption', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'inherit', 'overline', 'subtitle1', 'subtitle2']), PropTypes.string])\n} : void 0;\nexport default Link;"],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;AAiBA,MAAM,QAAQ,GAAG;AACjB,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,SAAS,EAAE,IAAI;AACjB,EAAE,KAAK,EAAE,IAAI;AACb,EAAE,IAAI,EAAE,IAAI;AACZ,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,OAAO,EAAE,IAAI;AACf,EAAE,WAAW,EAAE,IAAI;AACnB,EAAE,aAAa,EAAE,IAAI;AACrB,EAAE,YAAY,EAAE;AAChB,CAAC;AACD,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,OAAO;AACX,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI;AACJ,GAAG,GAAG,UAAU;AAChB,EAAE,MAAM,KAAK,GAAG;AAChB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,KAAK,QAAQ,IAAI,QAAQ,EAAE,YAAY,IAAI,cAAc;AAC1H,GAAG;AACH,EAAE,OAAO,cAAc,CAAC,KAAK,EAAE,mBAAmB,EAAE,OAAO,CAAC;AAC5D,CAAC;AACD,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,EAAE;AACpC,EAAE,IAAI,EAAE,SAAS;AACjB,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK;AACxC,IAAI,MAAM;AACV,MAAM;AACN,KAAK,GAAG,KAAK;AACb,IAAI,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC,UAAU,C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AQ,CAAC,KAAK,CAAC,KAAK,SAAS,GAAG,CAAC;AAC9C,MAAM;AACN,KAAK,CAAC,GAAG,EAAE,CAAC,EAAE,IAAI,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;AACjD,IAAI,KAAK,EAAE;AACX,MAAM,GAAG,KAAK,CAAC,KAAK;AACpB,MAAM,IAAI,SAAS,KAAK,QAAQ,IAAI,KAAK,KAAK,SAAS,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI;AAC/E,QAAQ,uBAAuB,EAAE,iBAAiB,CAAC;AACnD,UAAU,KAAK;AACf,UAAU;AACV,SAAS;AACT,OAAO;AACP;AACA,GAAG,CAAC;AACJ,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 { clsx } from '../../../../clsx/dist/clsx.js';
|
|
4
3
|
import ListContext from './ListContext.js';
|
|
5
4
|
import { getListUtilityClass } from './listClasses.js';
|
|
@@ -87,49 +86,6 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
87
86
|
})
|
|
88
87
|
});
|
|
89
88
|
});
|
|
90
|
-
process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ = {
|
|
91
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
92
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
93
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
94
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
95
|
-
/**
|
|
96
|
-
* The content of the component.
|
|
97
|
-
*/
|
|
98
|
-
children: PropTypes.node,
|
|
99
|
-
/**
|
|
100
|
-
* Override or extend the styles applied to the component.
|
|
101
|
-
*/
|
|
102
|
-
classes: PropTypes.object,
|
|
103
|
-
/**
|
|
104
|
-
* @ignore
|
|
105
|
-
*/
|
|
106
|
-
className: PropTypes.string,
|
|
107
|
-
/**
|
|
108
|
-
* The component used for the root node.
|
|
109
|
-
* Either a string to use a HTML element or a component.
|
|
110
|
-
*/
|
|
111
|
-
component: PropTypes.elementType,
|
|
112
|
-
/**
|
|
113
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used for
|
|
114
|
-
* the list and list items.
|
|
115
|
-
* The prop is available to descendant components as the `dense` context.
|
|
116
|
-
* @default false
|
|
117
|
-
*/
|
|
118
|
-
dense: PropTypes.bool,
|
|
119
|
-
/**
|
|
120
|
-
* If `true`, vertical padding is removed from the list.
|
|
121
|
-
* @default false
|
|
122
|
-
*/
|
|
123
|
-
disablePadding: PropTypes.bool,
|
|
124
|
-
/**
|
|
125
|
-
* The content of the subheader, normally `ListSubheader`.
|
|
126
|
-
*/
|
|
127
|
-
subheader: PropTypes.node,
|
|
128
|
-
/**
|
|
129
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
130
|
-
*/
|
|
131
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
132
|
-
} : void 0;
|
|
133
89
|
|
|
134
90
|
export { List as default };
|
|
135
91
|
//# sourceMappingURL=List.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sources":["../../../../../../../node_modules/@mui/material/esm/List/List.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"./ListContext.js\";\nimport { getListUtilityClass } from \"./listClasses.js\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePadding,\n dense,\n subheader\n } = ownerState;\n const slots = {\n root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']\n };\n return composeClasses(slots, getListUtilityClass, classes);\n};\nconst ListRoot = styled('ul', {\n name: 'MuiList',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];\n }\n})({\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.subheader,\n style: {\n paddingTop: 0\n }\n }]\n});\nconst List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiList'\n });\n const {\n children,\n className,\n component = 'ul',\n dense = false,\n disablePadding = false,\n subheader,\n ...other\n } = props;\n const context = React.useMemo(() => ({\n dense\n }), [dense]);\n const ownerState = {\n ...props,\n component,\n dense,\n disablePadding\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: context,\n children: /*#__PURE__*/_jsxs(ListRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState,\n ...other,\n children: [subheader, children]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? List.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 content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, vertical padding is removed from the list.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node,\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 List;"],"names":["_jsx","_jsxs"],"mappings":"
|
|
1
|
+
{"version":3,"file":"List.js","sources":["../../../../../../../node_modules/@mui/material/esm/List/List.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"./ListContext.js\";\nimport { getListUtilityClass } from \"./listClasses.js\";\nimport { jsxs as _jsxs, jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePadding,\n dense,\n subheader\n } = ownerState;\n const slots = {\n root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']\n };\n return composeClasses(slots, getListUtilityClass, classes);\n};\nconst ListRoot = styled('ul', {\n name: 'MuiList',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];\n }\n})({\n listStyle: 'none',\n margin: 0,\n padding: 0,\n position: 'relative',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.subheader,\n style: {\n paddingTop: 0\n }\n }]\n});\nconst List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiList'\n });\n const {\n children,\n className,\n component = 'ul',\n dense = false,\n disablePadding = false,\n subheader,\n ...other\n } = props;\n const context = React.useMemo(() => ({\n dense\n }), [dense]);\n const ownerState = {\n ...props,\n component,\n dense,\n disablePadding\n };\n const classes = useUtilityClasses(ownerState);\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: context,\n children: /*#__PURE__*/_jsxs(ListRoot, {\n as: component,\n className: clsx(classes.root, className),\n ref: ref,\n ownerState: ownerState,\n ...other,\n children: [subheader, children]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? List.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 content of the component.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used for\n * the list and list items.\n * The prop is available to descendant components as the `dense` context.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, vertical padding is removed from the list.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * The content of the subheader, normally `ListSubheader`.\n */\n subheader: PropTypes.node,\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 List;"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;AAWA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AAC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|
* @ignore - internal component.
|
|
5
5
|
*/
|
|
6
6
|
const ListContext = /*#__PURE__*/React.createContext({});
|
|
7
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
8
|
-
ListContext.displayName = 'ListContext';
|
|
9
|
-
}
|
|
10
7
|
|
|
11
8
|
export { ListContext as default };
|
|
12
9
|
//# sourceMappingURL=ListContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListContext.js","sources":["../../../../../../../node_modules/@mui/material/esm/List/ListContext.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst ListContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\nexport default ListContext;"],"names":[],"mappings":";;AAIA;AACA;AACA;AACK,MAAC,WAAW,gBAAgB,KAAK,CAAC,aAAa,CAAC,EAAE
|
|
1
|
+
{"version":3,"file":"ListContext.js","sources":["../../../../../../../node_modules/@mui/material/esm/List/ListContext.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @ignore - internal component.\n */\nconst ListContext = /*#__PURE__*/React.createContext({});\nif (process.env.NODE_ENV !== 'production') {\n ListContext.displayName = 'ListContext';\n}\nexport default ListContext;"],"names":[],"mappings":";;AAIA;AACA;AACA;AACK,MAAC,WAAW,gBAAgB,KAAK,CAAC,aAAa,CAAC,EAAE;;;;","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 { clsx } from '../../../../clsx/dist/clsx.js';
|
|
4
3
|
import memoTheme from '../utils/memoTheme.js';
|
|
5
4
|
import useSlot from '../utils/useSlot.js';
|
|
@@ -14,8 +13,6 @@ import isHostComponent from '../../../utils/esm/isHostComponent/isHostComponent.
|
|
|
14
13
|
import composeClasses from '../../../utils/esm/composeClasses/composeClasses.js';
|
|
15
14
|
import styled from '../styles/styled.js';
|
|
16
15
|
import listItemButtonClasses from '../ListItemButton/listItemButtonClasses.js';
|
|
17
|
-
import elementTypeAcceptingRef from '../../../utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js';
|
|
18
|
-
import chainPropTypes from '../../../utils/esm/chainPropTypes/chainPropTypes.js';
|
|
19
16
|
|
|
20
17
|
const overridesResolver = (props, styles) => {
|
|
21
18
|
const {
|
|
@@ -272,132 +269,6 @@ const ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {
|
|
|
272
269
|
})
|
|
273
270
|
});
|
|
274
271
|
});
|
|
275
|
-
process.env.NODE_ENV !== "production" ? ListItem.propTypes /* remove-proptypes */ = {
|
|
276
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
277
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
278
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
279
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
280
|
-
/**
|
|
281
|
-
* Defines the `align-items` style property.
|
|
282
|
-
* @default 'center'
|
|
283
|
-
*/
|
|
284
|
-
alignItems: PropTypes.oneOf(['center', 'flex-start']),
|
|
285
|
-
/**
|
|
286
|
-
* The content of the component if a `ListItemSecondaryAction` is used it must
|
|
287
|
-
* be the last child.
|
|
288
|
-
*/
|
|
289
|
-
children: chainPropTypes(PropTypes.node, props => {
|
|
290
|
-
const children = React.Children.toArray(props.children);
|
|
291
|
-
|
|
292
|
-
// React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)
|
|
293
|
-
let secondaryActionIndex = -1;
|
|
294
|
-
for (let i = children.length - 1; i >= 0; i -= 1) {
|
|
295
|
-
const child = children[i];
|
|
296
|
-
if (isMuiElement(child, ['ListItemSecondaryAction'])) {
|
|
297
|
-
secondaryActionIndex = i;
|
|
298
|
-
break;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
// is ListItemSecondaryAction the last child of ListItem
|
|
303
|
-
if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {
|
|
304
|
-
return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');
|
|
305
|
-
}
|
|
306
|
-
return null;
|
|
307
|
-
}),
|
|
308
|
-
/**
|
|
309
|
-
* Override or extend the styles applied to the component.
|
|
310
|
-
*/
|
|
311
|
-
classes: PropTypes.object,
|
|
312
|
-
/**
|
|
313
|
-
* @ignore
|
|
314
|
-
*/
|
|
315
|
-
className: PropTypes.string,
|
|
316
|
-
/**
|
|
317
|
-
* The component used for the root node.
|
|
318
|
-
* Either a string to use a HTML element or a component.
|
|
319
|
-
*/
|
|
320
|
-
component: PropTypes.elementType,
|
|
321
|
-
/**
|
|
322
|
-
* The components used for each slot inside.
|
|
323
|
-
*
|
|
324
|
-
* @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
325
|
-
* @default {}
|
|
326
|
-
*/
|
|
327
|
-
components: PropTypes.shape({
|
|
328
|
-
Root: PropTypes.elementType
|
|
329
|
-
}),
|
|
330
|
-
/**
|
|
331
|
-
* The extra props for the slot components.
|
|
332
|
-
* You can override the existing props or add new ones.
|
|
333
|
-
*
|
|
334
|
-
* @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
335
|
-
* @default {}
|
|
336
|
-
*/
|
|
337
|
-
componentsProps: PropTypes.shape({
|
|
338
|
-
root: PropTypes.object
|
|
339
|
-
}),
|
|
340
|
-
/**
|
|
341
|
-
* The container component used when a `ListItemSecondaryAction` is the last child.
|
|
342
|
-
* @default 'li'
|
|
343
|
-
* @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
344
|
-
*/
|
|
345
|
-
ContainerComponent: elementTypeAcceptingRef,
|
|
346
|
-
/**
|
|
347
|
-
* Props applied to the container component if used.
|
|
348
|
-
* @default {}
|
|
349
|
-
* @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
350
|
-
*/
|
|
351
|
-
ContainerProps: PropTypes.object,
|
|
352
|
-
/**
|
|
353
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
354
|
-
* The prop defaults to the value inherited from the parent List component.
|
|
355
|
-
* @default false
|
|
356
|
-
*/
|
|
357
|
-
dense: PropTypes.bool,
|
|
358
|
-
/**
|
|
359
|
-
* If `true`, the left and right padding is removed.
|
|
360
|
-
* @default false
|
|
361
|
-
*/
|
|
362
|
-
disableGutters: PropTypes.bool,
|
|
363
|
-
/**
|
|
364
|
-
* If `true`, all padding is removed.
|
|
365
|
-
* @default false
|
|
366
|
-
*/
|
|
367
|
-
disablePadding: PropTypes.bool,
|
|
368
|
-
/**
|
|
369
|
-
* If `true`, a 1px light border is added to the bottom of the list item.
|
|
370
|
-
* @default false
|
|
371
|
-
*/
|
|
372
|
-
divider: PropTypes.bool,
|
|
373
|
-
/**
|
|
374
|
-
* The element to display at the end of ListItem.
|
|
375
|
-
*/
|
|
376
|
-
secondaryAction: PropTypes.node,
|
|
377
|
-
/**
|
|
378
|
-
* The extra props for the slot components.
|
|
379
|
-
* You can override the existing props or add new ones.
|
|
380
|
-
*
|
|
381
|
-
* @default {}
|
|
382
|
-
*/
|
|
383
|
-
slotProps: PropTypes.shape({
|
|
384
|
-
root: PropTypes.object,
|
|
385
|
-
secondaryAction: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
386
|
-
}),
|
|
387
|
-
/**
|
|
388
|
-
* The components used for each slot inside.
|
|
389
|
-
*
|
|
390
|
-
* @default {}
|
|
391
|
-
*/
|
|
392
|
-
slots: PropTypes.shape({
|
|
393
|
-
root: PropTypes.elementType,
|
|
394
|
-
secondaryAction: PropTypes.elementType
|
|
395
|
-
}),
|
|
396
|
-
/**
|
|
397
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
398
|
-
*/
|
|
399
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
400
|
-
} : void 0;
|
|
401
272
|
|
|
402
273
|
export { ListItemRoot, ListItem as default, overridesResolver };
|
|
403
274
|
//# sourceMappingURL=ListItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sources":["../../../../../../../node_modules/@mui/material/esm/ListItem/ListItem.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport isHostComponent from '@mui/utils/isHostComponent';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport isMuiElement from \"../utils/isMuiElement.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport { getListItemUtilityClass } from \"./listItemClasses.js\";\nimport { listItemButtonClasses } from \"../ListItemButton/index.js\";\nimport ListItemSecondaryAction from \"../ListItemSecondaryAction/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];\n};\nconst useUtilityClasses = ownerState => {\n const {\n alignItems,\n classes,\n dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', !disableGutters && 'gutters', !disablePadding && 'padding', divider && 'divider', alignItems === 'flex-start' && 'alignItemsFlexStart', hasSecondaryAction && 'secondaryAction'],\n container: ['container'],\n secondaryAction: ['secondaryAction']\n };\n return composeClasses(slots, getListItemUtilityClass, classes);\n};\nexport const ListItemRoot = styled('div', {\n name: 'MuiListItem',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && ownerState.dense,\n style: {\n paddingTop: 4,\n paddingBottom: 4\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !!ownerState.secondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.secondaryAction,\n style: {\n [`& > .${listItemButtonClasses.root}`]: {\n paddingRight: 48\n }\n }\n }, {\n props: {\n alignItems: 'flex-start'\n },\n style: {\n alignItems: 'flex-start'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.divider,\n style: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.button,\n style: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hasSecondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }]\n})));\nconst ListItemContainer = styled('li', {\n name: 'MuiListItem',\n slot: 'Container'\n})({\n position: 'relative'\n});\n\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\nconst ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItem'\n });\n const {\n alignItems = 'center',\n children: childrenProp,\n className,\n component: componentProp,\n components = {},\n componentsProps = {},\n ContainerComponent = 'li',\n ContainerProps: {\n className: ContainerClassName,\n ...ContainerProps\n } = {},\n dense = false,\n disableGutters = false,\n disablePadding = false,\n divider = false,\n secondaryAction,\n slotProps = {},\n slots = {},\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n alignItems,\n disableGutters\n }), [alignItems, context.dense, dense, disableGutters]);\n const listItemRef = React.useRef(null);\n const children = React.Children.toArray(childrenProp);\n\n // v4 implementation, deprecated in v6, will be removed in a future major release\n const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n const ownerState = {\n ...props,\n alignItems,\n dense: childContext.dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n };\n const classes = useUtilityClasses(ownerState);\n const handleRef = useForkRef(listItemRef, ref);\n const externalForwardedProps = {\n slots,\n slotProps\n };\n const [SecondaryActionSlot, secondaryActionSlotProps] = useSlot('secondaryAction', {\n elementType: ListItemSecondaryAction,\n externalForwardedProps,\n ownerState,\n className: classes.secondaryAction\n });\n const Root = slots.root || components.Root || ListItemRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const componentProps = {\n className: clsx(classes.root, rootProps.className, className),\n ...other\n };\n let Component = componentProp || 'li';\n\n // v4 implementation, deprecated in v6, will be removed in a future major release\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component;\n\n // Avoid nesting of li > li.\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(ListItemContainer, {\n as: ContainerComponent,\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef,\n ownerState: ownerState,\n ...ContainerProps,\n children: [/*#__PURE__*/_jsx(Root, {\n ...rootProps,\n ...(!isHostComponent(Root) && {\n as: Component,\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: children\n }), children.pop()]\n })\n });\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n as: Component,\n ref: handleRef,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: [children, secondaryAction && /*#__PURE__*/_jsx(SecondaryActionSlot, {\n ...secondaryActionSlotProps,\n children: secondaryAction\n })]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.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 * Defines the `align-items` style property.\n * @default 'center'\n */\n alignItems: PropTypes.oneOf(['center', 'flex-start']),\n /**\n * The content of the component if a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const children = React.Children.toArray(props.children);\n\n // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n let secondaryActionIndex = -1;\n for (let i = children.length - 1; i >= 0; i -= 1) {\n const child = children[i];\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n }\n\n // is ListItemSecondaryAction the last child of ListItem\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\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 component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n * @default 'li'\n * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerComponent: elementTypeAcceptingRef,\n /**\n * Props applied to the container component if used.\n * @default {}\n * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerProps: PropTypes.object,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent List component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, all padding is removed.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * The element to display at the end of ListItem.\n */\n secondaryAction: PropTypes.node,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.object,\n secondaryAction: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType,\n secondaryAction: PropTypes.elementType\n }),\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 ListItem;"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBY,MAAC,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK;AACpD,EAAE,MAAM;AACR,IAAI;AACJ,GAAG,GAAG,KAAK;AACX,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,KAAK,YAAY,IAAI,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,cAAc,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,cAAc,IAAI,MAAM,CAAC,OAAO,EAAE,UAAU,CA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AS,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":"ListItem.js","sources":["../../../../../../../node_modules/@mui/material/esm/ListItem/ListItem.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport elementTypeAcceptingRef from '@mui/utils/elementTypeAcceptingRef';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport isHostComponent from '@mui/utils/isHostComponent';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport isMuiElement from \"../utils/isMuiElement.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport { getListItemUtilityClass } from \"./listItemClasses.js\";\nimport { listItemButtonClasses } from \"../ListItemButton/index.js\";\nimport ListItemSecondaryAction from \"../ListItemSecondaryAction/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.hasSecondaryAction && styles.secondaryAction];\n};\nconst useUtilityClasses = ownerState => {\n const {\n alignItems,\n classes,\n dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n } = ownerState;\n const slots = {\n root: ['root', dense && 'dense', !disableGutters && 'gutters', !disablePadding && 'padding', divider && 'divider', alignItems === 'flex-start' && 'alignItemsFlexStart', hasSecondaryAction && 'secondaryAction'],\n container: ['container'],\n secondaryAction: ['secondaryAction']\n };\n return composeClasses(slots, getListItemUtilityClass, classes);\n};\nexport const ListItemRoot = styled('div', {\n name: 'MuiListItem',\n slot: 'Root',\n overridesResolver\n})(memoTheme(({\n theme\n}) => ({\n display: 'flex',\n justifyContent: 'flex-start',\n alignItems: 'center',\n position: 'relative',\n textDecoration: 'none',\n width: '100%',\n boxSizing: 'border-box',\n textAlign: 'left',\n variants: [{\n props: ({\n ownerState\n }) => !ownerState.disablePadding,\n style: {\n paddingTop: 8,\n paddingBottom: 8\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && ownerState.dense,\n style: {\n paddingTop: 4,\n paddingBottom: 4\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !ownerState.disableGutters,\n style: {\n paddingLeft: 16,\n paddingRight: 16\n }\n }, {\n props: ({\n ownerState\n }) => !ownerState.disablePadding && !!ownerState.secondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }, {\n props: ({\n ownerState\n }) => !!ownerState.secondaryAction,\n style: {\n [`& > .${listItemButtonClasses.root}`]: {\n paddingRight: 48\n }\n }\n }, {\n props: {\n alignItems: 'flex-start'\n },\n style: {\n alignItems: 'flex-start'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.divider,\n style: {\n borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n backgroundClip: 'padding-box'\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.button,\n style: {\n transition: theme.transitions.create('background-color', {\n duration: theme.transitions.duration.shortest\n }),\n '&:hover': {\n textDecoration: 'none',\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n }\n }\n }, {\n props: ({\n ownerState\n }) => ownerState.hasSecondaryAction,\n style: {\n // Add some space to avoid collision as `ListItemSecondaryAction`\n // is absolutely positioned.\n paddingRight: 48\n }\n }]\n})));\nconst ListItemContainer = styled('li', {\n name: 'MuiListItem',\n slot: 'Container'\n})({\n position: 'relative'\n});\n\n/**\n * Uses an additional container component if `ListItemSecondaryAction` is the last child.\n */\nconst ListItem = /*#__PURE__*/React.forwardRef(function ListItem(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiListItem'\n });\n const {\n alignItems = 'center',\n children: childrenProp,\n className,\n component: componentProp,\n components = {},\n componentsProps = {},\n ContainerComponent = 'li',\n ContainerProps: {\n className: ContainerClassName,\n ...ContainerProps\n } = {},\n dense = false,\n disableGutters = false,\n disablePadding = false,\n divider = false,\n secondaryAction,\n slotProps = {},\n slots = {},\n ...other\n } = props;\n const context = React.useContext(ListContext);\n const childContext = React.useMemo(() => ({\n dense: dense || context.dense || false,\n alignItems,\n disableGutters\n }), [alignItems, context.dense, dense, disableGutters]);\n const listItemRef = React.useRef(null);\n const children = React.Children.toArray(childrenProp);\n\n // v4 implementation, deprecated in v6, will be removed in a future major release\n const hasSecondaryAction = children.length && isMuiElement(children[children.length - 1], ['ListItemSecondaryAction']);\n const ownerState = {\n ...props,\n alignItems,\n dense: childContext.dense,\n disableGutters,\n disablePadding,\n divider,\n hasSecondaryAction\n };\n const classes = useUtilityClasses(ownerState);\n const handleRef = useForkRef(listItemRef, ref);\n const externalForwardedProps = {\n slots,\n slotProps\n };\n const [SecondaryActionSlot, secondaryActionSlotProps] = useSlot('secondaryAction', {\n elementType: ListItemSecondaryAction,\n externalForwardedProps,\n ownerState,\n className: classes.secondaryAction\n });\n const Root = slots.root || components.Root || ListItemRoot;\n const rootProps = slotProps.root || componentsProps.root || {};\n const componentProps = {\n className: clsx(classes.root, rootProps.className, className),\n ...other\n };\n let Component = componentProp || 'li';\n\n // v4 implementation, deprecated in v6, will be removed in a future major release\n if (hasSecondaryAction) {\n // Use div by default.\n Component = !componentProps.component && !componentProp ? 'div' : Component;\n\n // Avoid nesting of li > li.\n if (ContainerComponent === 'li') {\n if (Component === 'li') {\n Component = 'div';\n } else if (componentProps.component === 'li') {\n componentProps.component = 'div';\n }\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(ListItemContainer, {\n as: ContainerComponent,\n className: clsx(classes.container, ContainerClassName),\n ref: handleRef,\n ownerState: ownerState,\n ...ContainerProps,\n children: [/*#__PURE__*/_jsx(Root, {\n ...rootProps,\n ...(!isHostComponent(Root) && {\n as: Component,\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: children\n }), children.pop()]\n })\n });\n }\n return /*#__PURE__*/_jsx(ListContext.Provider, {\n value: childContext,\n children: /*#__PURE__*/_jsxs(Root, {\n ...rootProps,\n as: Component,\n ref: handleRef,\n ...(!isHostComponent(Root) && {\n ownerState: {\n ...ownerState,\n ...rootProps.ownerState\n }\n }),\n ...componentProps,\n children: [children, secondaryAction && /*#__PURE__*/_jsx(SecondaryActionSlot, {\n ...secondaryActionSlotProps,\n children: secondaryAction\n })]\n })\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? ListItem.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 * Defines the `align-items` style property.\n * @default 'center'\n */\n alignItems: PropTypes.oneOf(['center', 'flex-start']),\n /**\n * The content of the component if a `ListItemSecondaryAction` is used it must\n * be the last child.\n */\n children: chainPropTypes(PropTypes.node, props => {\n const children = React.Children.toArray(props.children);\n\n // React.Children.toArray(props.children).findLastIndex(isListItemSecondaryAction)\n let secondaryActionIndex = -1;\n for (let i = children.length - 1; i >= 0; i -= 1) {\n const child = children[i];\n if (isMuiElement(child, ['ListItemSecondaryAction'])) {\n secondaryActionIndex = i;\n break;\n }\n }\n\n // is ListItemSecondaryAction the last child of ListItem\n if (secondaryActionIndex !== -1 && secondaryActionIndex !== children.length - 1) {\n return new Error('MUI: You used an element after ListItemSecondaryAction. ' + 'For ListItem to detect that it has a secondary action ' + 'you must pass it as the last child to ListItem.');\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 component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The components used for each slot inside.\n *\n * @deprecated Use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n components: PropTypes.shape({\n Root: PropTypes.elementType\n }),\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @deprecated Use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n root: PropTypes.object\n }),\n /**\n * The container component used when a `ListItemSecondaryAction` is the last child.\n * @default 'li'\n * @deprecated Use the `component` or `slots.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerComponent: elementTypeAcceptingRef,\n /**\n * Props applied to the container component if used.\n * @default {}\n * @deprecated Use the `slotProps.root` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n */\n ContainerProps: PropTypes.object,\n /**\n * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n * The prop defaults to the value inherited from the parent List component.\n * @default false\n */\n dense: PropTypes.bool,\n /**\n * If `true`, the left and right padding is removed.\n * @default false\n */\n disableGutters: PropTypes.bool,\n /**\n * If `true`, all padding is removed.\n * @default false\n */\n disablePadding: PropTypes.bool,\n /**\n * If `true`, a 1px light border is added to the bottom of the list item.\n * @default false\n */\n divider: PropTypes.bool,\n /**\n * The element to display at the end of ListItem.\n */\n secondaryAction: PropTypes.node,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n root: PropTypes.object,\n secondaryAction: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n *\n * @default {}\n */\n slots: PropTypes.shape({\n root: PropTypes.elementType,\n secondaryAction: PropTypes.elementType\n }),\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 ListItem;"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;;;;;AAoBY,MAAC,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,KAAK;AACpD,EAAE,MAAM;AACR,IAAI;AACJ,GAAG,GAAG,KAAK;AACX,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,EAAE,UAAU,CAAC,UAAU,KAAK,YAAY,IAAI,MAAM,CAAC,mBAAmB,EAAE,UAAU,CAAC,OAAO,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,cAAc,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,cAAc,IAAI,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,kBAAkB,IAAI,MAAM,CAAC,eAAe,CAAC;AACzT;AACA,MAAM,iBAAiB,GAAG,UAAU,IAAI;AACxC,EAAE,MAAM;AACR,IAAI,UAAU;AACd,IAAI,OAAO;AACX,IAAI,KAAK;AACT,IAAI,cAAc;A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@@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import PropTypes from '../../../../../_virtual/index4.js';
|
|
3
2
|
import { clsx } from '../../../../clsx/dist/clsx.js';
|
|
4
3
|
import memoTheme from '../utils/memoTheme.js';
|
|
5
4
|
import rootShouldForwardProp from '../styles/rootShouldForwardProp.js';
|
|
@@ -149,8 +148,6 @@ const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inP
|
|
|
149
148
|
if (autoFocus) {
|
|
150
149
|
if (listItemRef.current) {
|
|
151
150
|
listItemRef.current.focus();
|
|
152
|
-
} else if (process.env.NODE_ENV !== 'production') {
|
|
153
|
-
console.error('MUI: Unable to set focus to a ListItemButton whose component has not been rendered.');
|
|
154
151
|
}
|
|
155
152
|
}
|
|
156
153
|
}, [autoFocus]);
|
|
@@ -181,84 +178,6 @@ const ListItemButton = /*#__PURE__*/React.forwardRef(function ListItemButton(inP
|
|
|
181
178
|
})
|
|
182
179
|
});
|
|
183
180
|
});
|
|
184
|
-
process.env.NODE_ENV !== "production" ? ListItemButton.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
|
-
* Defines the `align-items` style property.
|
|
191
|
-
* @default 'center'
|
|
192
|
-
*/
|
|
193
|
-
alignItems: PropTypes.oneOf(['center', 'flex-start']),
|
|
194
|
-
/**
|
|
195
|
-
* If `true`, the list item is focused during the first mount.
|
|
196
|
-
* Focus will also be triggered if the value changes from false to true.
|
|
197
|
-
* @default false
|
|
198
|
-
*/
|
|
199
|
-
autoFocus: PropTypes.bool,
|
|
200
|
-
/**
|
|
201
|
-
* The content of the component if a `ListItemSecondaryAction` is used it must
|
|
202
|
-
* be the last child.
|
|
203
|
-
*/
|
|
204
|
-
children: PropTypes.node,
|
|
205
|
-
/**
|
|
206
|
-
* Override or extend the styles applied to the component.
|
|
207
|
-
*/
|
|
208
|
-
classes: PropTypes.object,
|
|
209
|
-
/**
|
|
210
|
-
* @ignore
|
|
211
|
-
*/
|
|
212
|
-
className: PropTypes.string,
|
|
213
|
-
/**
|
|
214
|
-
* The component used for the root node.
|
|
215
|
-
* Either a string to use a HTML element or a component.
|
|
216
|
-
*/
|
|
217
|
-
component: PropTypes.elementType,
|
|
218
|
-
/**
|
|
219
|
-
* If `true`, compact vertical padding designed for keyboard and mouse input is used.
|
|
220
|
-
* The prop defaults to the value inherited from the parent List component.
|
|
221
|
-
* @default false
|
|
222
|
-
*/
|
|
223
|
-
dense: PropTypes.bool,
|
|
224
|
-
/**
|
|
225
|
-
* If `true`, the component is disabled.
|
|
226
|
-
* @default false
|
|
227
|
-
*/
|
|
228
|
-
disabled: PropTypes.bool,
|
|
229
|
-
/**
|
|
230
|
-
* If `true`, the left and right padding is removed.
|
|
231
|
-
* @default false
|
|
232
|
-
*/
|
|
233
|
-
disableGutters: PropTypes.bool,
|
|
234
|
-
/**
|
|
235
|
-
* If `true`, a 1px light border is added to the bottom of the list item.
|
|
236
|
-
* @default false
|
|
237
|
-
*/
|
|
238
|
-
divider: PropTypes.bool,
|
|
239
|
-
/**
|
|
240
|
-
* This prop can help identify which element has keyboard focus.
|
|
241
|
-
* The class name will be applied when the element gains the focus through keyboard interaction.
|
|
242
|
-
* It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).
|
|
243
|
-
* The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).
|
|
244
|
-
* A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components
|
|
245
|
-
* if needed.
|
|
246
|
-
*/
|
|
247
|
-
focusVisibleClassName: PropTypes.string,
|
|
248
|
-
/**
|
|
249
|
-
* @ignore
|
|
250
|
-
*/
|
|
251
|
-
href: PropTypes.string,
|
|
252
|
-
/**
|
|
253
|
-
* Use to apply selected styling.
|
|
254
|
-
* @default false
|
|
255
|
-
*/
|
|
256
|
-
selected: PropTypes.bool,
|
|
257
|
-
/**
|
|
258
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
259
|
-
*/
|
|
260
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
261
|
-
} : void 0;
|
|
262
181
|
|
|
263
182
|
export { ListItemButton as default, overridesResolver };
|
|
264
183
|
//# sourceMappingURL=ListItemButton.js.map
|