@mui/material 5.12.1 → 5.12.2
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/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +56 -56
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +3 -6
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +68 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +42 -42
- package/FormControl/FormControl.js +1 -1
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +24 -24
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/Modal/Modal.d.ts +6 -3
- package/Modal/Modal.js +11 -3
- package/Modal/index.d.ts +1 -1
- package/Modal/index.js +1 -1
- package/NativeSelect/nativeSelectClasses.d.ts +34 -34
- package/OutlinedInput/outlinedInputClasses.d.ts +38 -38
- package/OverridableComponent.d.ts +1 -1
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +55 -55
- package/Popper/Popper.js +28 -4
- package/Popper/index.d.ts +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +32 -32
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/SliderValueLabel.d.ts +15 -15
- package/Slider/SliderValueLabel.types.d.ts +24 -24
- package/Slider/sliderClasses.d.ts +58 -58
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Stack/stackClasses.d.ts +6 -6
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/FormControl/FormControl.js +1 -1
- package/legacy/Modal/Modal.js +11 -3
- package/legacy/Modal/index.js +1 -1
- package/legacy/Popper/Popper.js +29 -5
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +76 -76
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/FormControl/FormControl.js +1 -1
- package/modern/Modal/Modal.js +11 -3
- package/modern/Modal/index.js +1 -1
- package/modern/Popper/Popper.js +28 -4
- package/modern/index.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/FormControl/FormControl.js +1 -1
- package/node/Modal/Modal.js +13 -5
- package/node/Modal/index.js +15 -18
- package/node/Popper/Popper.js +28 -4
- package/node/index.js +1 -1
- package/package.json +3 -3
- package/styles/CssVarsProvider.d.ts +20 -20
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/styles/identifier.d.ts +2 -2
- package/styles/shouldSkipGeneratingVar.d.ts +1 -1
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +76 -34
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +46 -46
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
package/node/Popper/Popper.js
CHANGED
|
@@ -7,17 +7,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
|
-
var
|
|
10
|
+
var _Popper = _interopRequireDefault(require("@mui/base/Popper"));
|
|
11
11
|
var _system = require("@mui/system");
|
|
12
12
|
var _utils = require("@mui/utils");
|
|
13
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
14
14
|
var React = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _styles = require("../styles");
|
|
16
16
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
const _excluded = ["components", "componentsProps", "slots", "slotProps"];
|
|
17
|
+
const _excluded = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
18
18
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
19
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
20
|
-
const PopperRoot = (0, _styles.styled)(
|
|
20
|
+
const PopperRoot = (0, _styles.styled)(_Popper.default, {
|
|
21
21
|
name: 'MuiPopper',
|
|
22
22
|
slot: 'Root',
|
|
23
23
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -43,20 +43,44 @@ const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
|
43
43
|
name: 'MuiPopper'
|
|
44
44
|
});
|
|
45
45
|
const {
|
|
46
|
+
anchorEl,
|
|
47
|
+
component,
|
|
46
48
|
components,
|
|
47
49
|
componentsProps,
|
|
50
|
+
container,
|
|
51
|
+
disablePortal,
|
|
52
|
+
keepMounted,
|
|
53
|
+
modifiers,
|
|
54
|
+
open,
|
|
55
|
+
placement,
|
|
56
|
+
popperOptions,
|
|
57
|
+
popperRef,
|
|
58
|
+
transition,
|
|
48
59
|
slots,
|
|
49
60
|
slotProps
|
|
50
61
|
} = props,
|
|
51
62
|
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
52
63
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
64
|
+
const otherProps = (0, _extends2.default)({
|
|
65
|
+
anchorEl,
|
|
66
|
+
component,
|
|
67
|
+
container,
|
|
68
|
+
disablePortal,
|
|
69
|
+
keepMounted,
|
|
70
|
+
modifiers,
|
|
71
|
+
open,
|
|
72
|
+
placement,
|
|
73
|
+
popperOptions,
|
|
74
|
+
popperRef,
|
|
75
|
+
transition
|
|
76
|
+
}, other);
|
|
53
77
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(PopperRoot, (0, _extends2.default)({
|
|
54
78
|
direction: theme == null ? void 0 : theme.direction,
|
|
55
79
|
slots: {
|
|
56
80
|
root: RootComponent
|
|
57
81
|
},
|
|
58
82
|
slotProps: slotProps != null ? slotProps : componentsProps
|
|
59
|
-
},
|
|
83
|
+
}, otherProps, {
|
|
60
84
|
ref: ref
|
|
61
85
|
}));
|
|
62
86
|
});
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.21.0",
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/core-downloads-tracker": "^5.12.
|
|
49
|
+
"@mui/base": "5.0.0-alpha.127",
|
|
50
|
+
"@mui/core-downloads-tracker": "^5.12.2",
|
|
51
51
|
"@mui/system": "^5.12.1",
|
|
52
52
|
"@mui/types": "^7.2.4",
|
|
53
53
|
"@mui/utils": "^5.12.0",
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
-
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
4
|
-
theme?: {
|
|
5
|
-
cssVarPrefix?: string | undefined;
|
|
6
|
-
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
7
|
-
} | {
|
|
8
|
-
$$material: {
|
|
9
|
-
cssVarPrefix?: string | undefined;
|
|
10
|
-
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
11
|
-
};
|
|
12
|
-
} | undefined;
|
|
13
|
-
documentNode?: Document | null | undefined;
|
|
14
|
-
colorSchemeNode?: Element | null | undefined;
|
|
15
|
-
colorSchemeSelector?: string | undefined;
|
|
16
|
-
storageWindow?: Window | null | undefined;
|
|
17
|
-
disableNestedContext?: boolean | undefined;
|
|
18
|
-
disableStyleSheetGeneration?: boolean | undefined;
|
|
19
|
-
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
20
|
-
export { useColorScheme, getInitColorSchemeScript, CssVarsProvider as Experimental_CssVarsProvider, };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
+
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
4
|
+
theme?: {
|
|
5
|
+
cssVarPrefix?: string | undefined;
|
|
6
|
+
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
7
|
+
} | {
|
|
8
|
+
$$material: {
|
|
9
|
+
cssVarPrefix?: string | undefined;
|
|
10
|
+
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
11
|
+
};
|
|
12
|
+
} | undefined;
|
|
13
|
+
documentNode?: Document | null | undefined;
|
|
14
|
+
colorSchemeNode?: Element | null | undefined;
|
|
15
|
+
colorSchemeSelector?: string | undefined;
|
|
16
|
+
storageWindow?: Window | null | undefined;
|
|
17
|
+
disableNestedContext?: boolean | undefined;
|
|
18
|
+
disableStyleSheetGeneration?: boolean | undefined;
|
|
19
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
20
|
+
export { useColorScheme, getInitColorSchemeScript, CssVarsProvider as Experimental_CssVarsProvider, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
3
|
-
*/
|
|
4
|
-
declare const excludeVariablesFromRoot: (cssVarPrefix: string) => string[];
|
|
5
|
-
export default excludeVariablesFromRoot;
|
|
1
|
+
/**
|
|
2
|
+
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
3
|
+
*/
|
|
4
|
+
declare const excludeVariablesFromRoot: (cssVarPrefix: string) => string[];
|
|
5
|
+
export default excludeVariablesFromRoot;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const getOverlayAlpha: (elevation: number) => string;
|
|
2
|
-
export default getOverlayAlpha;
|
|
1
|
+
declare const getOverlayAlpha: (elevation: number) => string;
|
|
2
|
+
export default getOverlayAlpha;
|
package/styles/identifier.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "$$material";
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: "$$material";
|
|
2
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function shouldSkipGeneratingVar(keys: string[]): boolean;
|
|
1
|
+
export default function shouldSkipGeneratingVar(keys: string[]): boolean;
|
package/transitions/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transition';
|
|
1
|
+
export * from './transition';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
-
export type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
-
export interface EasingProps {
|
|
6
|
-
easing: string | {
|
|
7
|
-
enter?: string;
|
|
8
|
-
exit?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
-
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
-
}
|
|
1
|
+
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
+
export type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
+
export interface EasingProps {
|
|
6
|
+
easing: string | {
|
|
7
|
+
enter?: string;
|
|
8
|
+
exit?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
+
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
+
}
|
package/transitions/utils.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const reflow: (node: Element) => number;
|
|
3
|
-
interface ComponentProps {
|
|
4
|
-
easing: string | {
|
|
5
|
-
enter?: string;
|
|
6
|
-
exit?: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
style: React.CSSProperties | undefined;
|
|
9
|
-
timeout: number | {
|
|
10
|
-
enter?: number;
|
|
11
|
-
exit?: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface Options {
|
|
15
|
-
mode: 'enter' | 'exit';
|
|
16
|
-
}
|
|
17
|
-
interface TransitionProps {
|
|
18
|
-
duration: string | number;
|
|
19
|
-
easing: string | undefined;
|
|
20
|
-
delay: string | undefined;
|
|
21
|
-
}
|
|
22
|
-
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const reflow: (node: Element) => number;
|
|
3
|
+
interface ComponentProps {
|
|
4
|
+
easing: string | {
|
|
5
|
+
enter?: string;
|
|
6
|
+
exit?: string;
|
|
7
|
+
} | undefined;
|
|
8
|
+
style: React.CSSProperties | undefined;
|
|
9
|
+
timeout: number | {
|
|
10
|
+
enter?: number;
|
|
11
|
+
exit?: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface Options {
|
|
15
|
+
mode: 'enter' | 'exit';
|
|
16
|
+
}
|
|
17
|
+
interface TransitionProps {
|
|
18
|
+
duration: string | number;
|
|
19
|
+
easing: string | undefined;
|
|
20
|
+
delay: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
+
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { DistributiveOmit } from '@mui/types';
|
|
3
|
-
declare module '@mui/material/OverridableComponent' {
|
|
4
|
-
/**
|
|
5
|
-
* A component whose root component can be controlled via a `component` prop.
|
|
6
|
-
*
|
|
7
|
-
* Adjusts valid props based on the type of `component`.
|
|
8
|
-
*/
|
|
9
|
-
interface OverridableComponent<M extends OverridableTypeMap> {
|
|
10
|
-
<C extends React.ElementType>(props: {
|
|
11
|
-
/**
|
|
12
|
-
* The component used for the root node.
|
|
13
|
-
* Either a string to use a HTML element or a component.
|
|
14
|
-
*/
|
|
15
|
-
component: C;
|
|
16
|
-
} & OverridePropsVer2<M, C>): JSX.Element;
|
|
17
|
-
(props: DefaultComponentPropsVer2<M>): JSX.Element;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Props of the component if `component={Component}` is used.
|
|
21
|
-
*/
|
|
22
|
-
type OverridePropsVer2<M extends OverridableTypeMap, C extends React.ElementType> = (BaseProps<M> & DistributiveOmit<React.ComponentPropsWithoutRef<C>, keyof BaseProps<M>> & {
|
|
23
|
-
ref?: React.Ref<Element>;
|
|
24
|
-
});
|
|
25
|
-
/**
|
|
26
|
-
* Props if `component={Component}` is NOT used.
|
|
27
|
-
*/
|
|
28
|
-
type DefaultComponentPropsVer2<M extends OverridableTypeMap> = BaseProps<M> & DistributiveOmit<React.ComponentPropsWithoutRef<M['defaultComponent']>, keyof BaseProps<M>> & {
|
|
29
|
-
ref?: React.Ref<Element>;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DistributiveOmit } from '@mui/types';
|
|
3
|
+
declare module '@mui/material/OverridableComponent' {
|
|
4
|
+
/**
|
|
5
|
+
* A component whose root component can be controlled via a `component` prop.
|
|
6
|
+
*
|
|
7
|
+
* Adjusts valid props based on the type of `component`.
|
|
8
|
+
*/
|
|
9
|
+
interface OverridableComponent<M extends OverridableTypeMap> {
|
|
10
|
+
<C extends React.ElementType>(props: {
|
|
11
|
+
/**
|
|
12
|
+
* The component used for the root node.
|
|
13
|
+
* Either a string to use a HTML element or a component.
|
|
14
|
+
*/
|
|
15
|
+
component: C;
|
|
16
|
+
} & OverridePropsVer2<M, C>): JSX.Element;
|
|
17
|
+
(props: DefaultComponentPropsVer2<M>): JSX.Element;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Props of the component if `component={Component}` is used.
|
|
21
|
+
*/
|
|
22
|
+
type OverridePropsVer2<M extends OverridableTypeMap, C extends React.ElementType> = (BaseProps<M> & DistributiveOmit<React.ComponentPropsWithoutRef<C>, keyof BaseProps<M>> & {
|
|
23
|
+
ref?: React.Ref<Element>;
|
|
24
|
+
});
|
|
25
|
+
/**
|
|
26
|
+
* Props if `component={Component}` is NOT used.
|
|
27
|
+
*/
|
|
28
|
+
type DefaultComponentPropsVer2<M extends OverridableTypeMap> = BaseProps<M> & DistributiveOmit<React.ComponentPropsWithoutRef<M['defaultComponent']>, keyof BaseProps<M>> & {
|
|
29
|
+
ref?: React.Ref<Element>;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.12.
|
|
2
|
+
* @mui/material v5.12.2
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -10681,6 +10681,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10681
10681
|
});
|
|
10682
10682
|
}
|
|
10683
10683
|
|
|
10684
|
+
function areArraysEqual(array1, array2, itemComparer = (a, b) => a === b) {
|
|
10685
|
+
return array1.length === array2.length && array1.every((value, index) => itemComparer(value, array2[index]));
|
|
10686
|
+
}
|
|
10687
|
+
|
|
10684
10688
|
const defaultContextValue = {
|
|
10685
10689
|
disableDefaultClasses: false
|
|
10686
10690
|
};
|
|
@@ -10758,7 +10762,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10758
10762
|
*
|
|
10759
10763
|
* The merge order is (the latter overrides the former):
|
|
10760
10764
|
* 1. The internal props (specified as a getter function to work with get*Props hook result)
|
|
10761
|
-
* 2. Additional props (specified internally on
|
|
10765
|
+
* 2. Additional props (specified internally on a Base UI component)
|
|
10762
10766
|
* 3. External props specified on the owner component. These should only be used on a root slot.
|
|
10763
10767
|
* 4. External props specified in the `slotProps.*` prop.
|
|
10764
10768
|
* 5. The `className` prop - combined from all the above.
|
|
@@ -10853,7 +10857,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10853
10857
|
*
|
|
10854
10858
|
* Demos:
|
|
10855
10859
|
*
|
|
10856
|
-
* - [
|
|
10860
|
+
* - [Badge](https://mui.com/base/react-badge/#hook)
|
|
10857
10861
|
*
|
|
10858
10862
|
* API:
|
|
10859
10863
|
*
|
|
@@ -13434,7 +13438,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13434
13438
|
}
|
|
13435
13439
|
var Portal$1 = Portal;
|
|
13436
13440
|
|
|
13437
|
-
function
|
|
13441
|
+
function getPopperUtilityClass(slot) {
|
|
13438
13442
|
return generateUtilityClass('MuiPopper', slot);
|
|
13439
13443
|
}
|
|
13440
13444
|
generateUtilityClasses('MuiPopper', ['root']);
|
|
@@ -13471,7 +13475,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13471
13475
|
const slots = {
|
|
13472
13476
|
root: ['root']
|
|
13473
13477
|
};
|
|
13474
|
-
return composeClasses(slots, useClassNamesOverride(
|
|
13478
|
+
return composeClasses(slots, useClassNamesOverride(getPopperUtilityClass));
|
|
13475
13479
|
};
|
|
13476
13480
|
const defaultPopperOptions = {};
|
|
13477
13481
|
const PopperTooltip = /*#__PURE__*/React__namespace.forwardRef(function PopperTooltip(props, ref) {
|
|
@@ -13599,13 +13603,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13599
13603
|
*
|
|
13600
13604
|
* Demos:
|
|
13601
13605
|
*
|
|
13602
|
-
* - [
|
|
13606
|
+
* - [Popper](https://mui.com/base/react-popper/)
|
|
13603
13607
|
*
|
|
13604
13608
|
* API:
|
|
13605
13609
|
*
|
|
13606
|
-
* - [
|
|
13610
|
+
* - [Popper API](https://mui.com/base/react-popper/components-api/#popper)
|
|
13607
13611
|
*/
|
|
13608
|
-
const
|
|
13612
|
+
const Popper$2 = /*#__PURE__*/React__namespace.forwardRef(function Popper(props, ref) {
|
|
13609
13613
|
const {
|
|
13610
13614
|
anchorEl,
|
|
13611
13615
|
children,
|
|
@@ -13680,7 +13684,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13680
13684
|
}))
|
|
13681
13685
|
});
|
|
13682
13686
|
});
|
|
13683
|
-
|
|
13687
|
+
Popper$2.propTypes /* remove-proptypes */ = {
|
|
13684
13688
|
// ----------------------------- Warning --------------------------------
|
|
13685
13689
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
13686
13690
|
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
@@ -13802,7 +13806,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
13802
13806
|
*/
|
|
13803
13807
|
transition: PropTypes.bool
|
|
13804
13808
|
} ;
|
|
13805
|
-
var
|
|
13809
|
+
var BasePopper = Popper$2;
|
|
13806
13810
|
|
|
13807
13811
|
// Is a vertical scrollbar displayed?
|
|
13808
13812
|
function isOverflowing(container) {
|
|
@@ -14020,8 +14024,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14020
14024
|
function getModalUtilityClass(slot) {
|
|
14021
14025
|
return generateUtilityClass('MuiModal', slot);
|
|
14022
14026
|
}
|
|
14023
|
-
const
|
|
14024
|
-
var modalUnstyledClasses
|
|
14027
|
+
const modalClasses$1 = generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
14028
|
+
var modalUnstyledClasses = modalClasses$1;
|
|
14025
14029
|
|
|
14026
14030
|
const _excluded$25 = ["children", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
|
|
14027
14031
|
const useUtilityClasses$1N = ownerState => {
|
|
@@ -14061,13 +14065,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14061
14065
|
*
|
|
14062
14066
|
* Demos:
|
|
14063
14067
|
*
|
|
14064
|
-
* - [
|
|
14068
|
+
* - [Modal](https://mui.com/base/react-modal/)
|
|
14065
14069
|
*
|
|
14066
14070
|
* API:
|
|
14067
14071
|
*
|
|
14068
|
-
* - [
|
|
14072
|
+
* - [Modal API](https://mui.com/base/react-modal/components-api/#modal)
|
|
14069
14073
|
*/
|
|
14070
|
-
const
|
|
14074
|
+
const Modal$2 = /*#__PURE__*/React__namespace.forwardRef(function Modal(props, forwardedRef) {
|
|
14071
14075
|
var _props$ariaHidden, _ref;
|
|
14072
14076
|
const {
|
|
14073
14077
|
children,
|
|
@@ -14270,7 +14274,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14270
14274
|
}))
|
|
14271
14275
|
});
|
|
14272
14276
|
});
|
|
14273
|
-
|
|
14277
|
+
Modal$2.propTypes /* remove-proptypes */ = {
|
|
14274
14278
|
// ----------------------------- Warning --------------------------------
|
|
14275
14279
|
// | These PropTypes are generated from the TypeScript type definitions |
|
|
14276
14280
|
// | To update them edit TypeScript types and run "yarn proptypes" |
|
|
@@ -14387,7 +14391,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14387
14391
|
root: PropTypes.elementType
|
|
14388
14392
|
})
|
|
14389
14393
|
} ;
|
|
14390
|
-
var ModalUnstyled
|
|
14394
|
+
var ModalUnstyled = Modal$2;
|
|
14391
14395
|
|
|
14392
14396
|
/**
|
|
14393
14397
|
* NoSsr purposely removes components from the subject of Server Side Rendering (SSR).
|
|
@@ -14549,6 +14553,15 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14549
14553
|
setActive(activeIndex);
|
|
14550
14554
|
}
|
|
14551
14555
|
}
|
|
14556
|
+
function areValuesEqual(newValue, oldValue) {
|
|
14557
|
+
if (typeof newValue === 'number' && typeof oldValue === 'number') {
|
|
14558
|
+
return newValue === oldValue;
|
|
14559
|
+
}
|
|
14560
|
+
if (typeof newValue === 'object' && typeof oldValue === 'object') {
|
|
14561
|
+
return areArraysEqual(newValue, oldValue);
|
|
14562
|
+
}
|
|
14563
|
+
return false;
|
|
14564
|
+
}
|
|
14552
14565
|
const axisProps = {
|
|
14553
14566
|
horizontal: {
|
|
14554
14567
|
offset: percent => ({
|
|
@@ -14602,7 +14615,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14602
14615
|
*
|
|
14603
14616
|
* Demos:
|
|
14604
14617
|
*
|
|
14605
|
-
* - [
|
|
14618
|
+
* - [Slider](https://mui.com/base/react-slider/#hook)
|
|
14606
14619
|
*
|
|
14607
14620
|
* API:
|
|
14608
14621
|
*
|
|
@@ -14751,7 +14764,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14751
14764
|
}
|
|
14752
14765
|
setValueState(newValue);
|
|
14753
14766
|
setFocusedThumbIndex(index);
|
|
14754
|
-
if (handleChange) {
|
|
14767
|
+
if (handleChange && !areValuesEqual(newValue, valueDerived)) {
|
|
14755
14768
|
handleChange(event, newValue, index);
|
|
14756
14769
|
}
|
|
14757
14770
|
if (onChangeCommitted) {
|
|
@@ -14854,7 +14867,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14854
14867
|
if (!dragging && moveCount.current > INTENTIONAL_DRAG_COUNT_THRESHOLD) {
|
|
14855
14868
|
setDragging(true);
|
|
14856
14869
|
}
|
|
14857
|
-
if (handleChange && newValue
|
|
14870
|
+
if (handleChange && !areValuesEqual(newValue, valueDerived)) {
|
|
14858
14871
|
handleChange(nativeEvent, newValue, activeIndex);
|
|
14859
14872
|
}
|
|
14860
14873
|
});
|
|
@@ -14909,7 +14922,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14909
14922
|
setActive
|
|
14910
14923
|
});
|
|
14911
14924
|
setValueState(newValue);
|
|
14912
|
-
if (handleChange) {
|
|
14925
|
+
if (handleChange && !areValuesEqual(newValue, valueDerived)) {
|
|
14913
14926
|
handleChange(nativeEvent, newValue, activeIndex);
|
|
14914
14927
|
}
|
|
14915
14928
|
}
|
|
@@ -14976,7 +14989,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14976
14989
|
setActive
|
|
14977
14990
|
});
|
|
14978
14991
|
setValueState(newValue);
|
|
14979
|
-
if (handleChange) {
|
|
14992
|
+
if (handleChange && !areValuesEqual(newValue, valueDerived)) {
|
|
14980
14993
|
handleChange(event, newValue, activeIndex);
|
|
14981
14994
|
}
|
|
14982
14995
|
}
|
|
@@ -15066,7 +15079,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15066
15079
|
*
|
|
15067
15080
|
* Demos:
|
|
15068
15081
|
*
|
|
15069
|
-
* - [
|
|
15082
|
+
* - [Snackbar](https://mui.com/base/react-snackbar/#hook)
|
|
15070
15083
|
*
|
|
15071
15084
|
* API:
|
|
15072
15085
|
*
|
|
@@ -20548,8 +20561,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20548
20561
|
} ;
|
|
20549
20562
|
var AppBar$1 = AppBar;
|
|
20550
20563
|
|
|
20551
|
-
const _excluded$1R = ["components", "componentsProps", "slots", "slotProps"];
|
|
20552
|
-
const PopperRoot = styled$1(
|
|
20564
|
+
const _excluded$1R = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
20565
|
+
const PopperRoot = styled$1(BasePopper, {
|
|
20553
20566
|
name: 'MuiPopper',
|
|
20554
20567
|
slot: 'Root',
|
|
20555
20568
|
overridesResolver: (props, styles) => styles.root
|
|
@@ -20575,20 +20588,44 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20575
20588
|
name: 'MuiPopper'
|
|
20576
20589
|
});
|
|
20577
20590
|
const {
|
|
20591
|
+
anchorEl,
|
|
20592
|
+
component,
|
|
20578
20593
|
components,
|
|
20579
20594
|
componentsProps,
|
|
20595
|
+
container,
|
|
20596
|
+
disablePortal,
|
|
20597
|
+
keepMounted,
|
|
20598
|
+
modifiers,
|
|
20599
|
+
open,
|
|
20600
|
+
placement,
|
|
20601
|
+
popperOptions,
|
|
20602
|
+
popperRef,
|
|
20603
|
+
transition,
|
|
20580
20604
|
slots,
|
|
20581
20605
|
slotProps
|
|
20582
20606
|
} = props,
|
|
20583
20607
|
other = _objectWithoutPropertiesLoose(props, _excluded$1R);
|
|
20584
20608
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
20609
|
+
const otherProps = _extends({
|
|
20610
|
+
anchorEl,
|
|
20611
|
+
component,
|
|
20612
|
+
container,
|
|
20613
|
+
disablePortal,
|
|
20614
|
+
keepMounted,
|
|
20615
|
+
modifiers,
|
|
20616
|
+
open,
|
|
20617
|
+
placement,
|
|
20618
|
+
popperOptions,
|
|
20619
|
+
popperRef,
|
|
20620
|
+
transition
|
|
20621
|
+
}, other);
|
|
20585
20622
|
return /*#__PURE__*/jsxRuntime_1(PopperRoot, _extends({
|
|
20586
20623
|
direction: theme == null ? void 0 : theme.direction,
|
|
20587
20624
|
slots: {
|
|
20588
20625
|
root: RootComponent
|
|
20589
20626
|
},
|
|
20590
20627
|
slotProps: slotProps != null ? slotProps : componentsProps
|
|
20591
|
-
},
|
|
20628
|
+
}, otherProps, {
|
|
20592
20629
|
ref: ref
|
|
20593
20630
|
}));
|
|
20594
20631
|
});
|
|
@@ -27172,8 +27209,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27172
27209
|
};
|
|
27173
27210
|
}
|
|
27174
27211
|
|
|
27175
|
-
const _excluded$1s = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
|
|
27176
|
-
const modalClasses = modalUnstyledClasses
|
|
27212
|
+
const _excluded$1s = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
|
|
27213
|
+
const modalClasses = modalUnstyledClasses;
|
|
27177
27214
|
const ModalRoot = styled$1('div', {
|
|
27178
27215
|
name: 'MuiModal',
|
|
27179
27216
|
slot: 'Root',
|
|
@@ -27232,6 +27269,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27232
27269
|
className,
|
|
27233
27270
|
closeAfterTransition = false,
|
|
27234
27271
|
children,
|
|
27272
|
+
container,
|
|
27235
27273
|
component,
|
|
27236
27274
|
components = {},
|
|
27237
27275
|
componentsProps = {},
|
|
@@ -27243,6 +27281,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27243
27281
|
disableScrollLock = false,
|
|
27244
27282
|
hideBackdrop = false,
|
|
27245
27283
|
keepMounted = false,
|
|
27284
|
+
onBackdropClick,
|
|
27285
|
+
onClose,
|
|
27286
|
+
open,
|
|
27246
27287
|
slotProps,
|
|
27247
27288
|
slots,
|
|
27248
27289
|
// eslint-disable-next-line react/prop-types
|
|
@@ -27251,6 +27292,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27251
27292
|
other = _objectWithoutPropertiesLoose(props, _excluded$1s);
|
|
27252
27293
|
const [exited, setExited] = React__namespace.useState(true);
|
|
27253
27294
|
const commonProps = {
|
|
27295
|
+
container,
|
|
27254
27296
|
closeAfterTransition,
|
|
27255
27297
|
disableAutoFocus,
|
|
27256
27298
|
disableEnforceFocus,
|
|
@@ -27259,7 +27301,10 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27259
27301
|
disableRestoreFocus,
|
|
27260
27302
|
disableScrollLock,
|
|
27261
27303
|
hideBackdrop,
|
|
27262
|
-
keepMounted
|
|
27304
|
+
keepMounted,
|
|
27305
|
+
onBackdropClick,
|
|
27306
|
+
onClose,
|
|
27307
|
+
open
|
|
27263
27308
|
};
|
|
27264
27309
|
const ownerState = _extends({}, props, commonProps, {
|
|
27265
27310
|
exited
|
|
@@ -27268,7 +27313,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27268
27313
|
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
27269
27314
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
27270
27315
|
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
27271
|
-
return /*#__PURE__*/jsxRuntime_1(ModalUnstyled
|
|
27316
|
+
return /*#__PURE__*/jsxRuntime_1(ModalUnstyled, _extends({
|
|
27272
27317
|
slots: {
|
|
27273
27318
|
root: RootSlot,
|
|
27274
27319
|
backdrop: BackdropSlot
|
|
@@ -29793,7 +29838,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29793
29838
|
if (!isMuiElement(child, ['Input', 'Select'])) {
|
|
29794
29839
|
return;
|
|
29795
29840
|
}
|
|
29796
|
-
if (isFilled(child.props, true)) {
|
|
29841
|
+
if (isFilled(child.props, true) || isFilled(child.props.inputProps, true)) {
|
|
29797
29842
|
initialFilled = true;
|
|
29798
29843
|
}
|
|
29799
29844
|
});
|
|
@@ -49528,7 +49573,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49528
49573
|
exports.alertTitleClasses = alertTitleClasses$1;
|
|
49529
49574
|
exports.alpha = alpha;
|
|
49530
49575
|
exports.appBarClasses = appBarClasses$1;
|
|
49531
|
-
exports.ariaHidden = ariaHidden;
|
|
49532
49576
|
exports.autocompleteClasses = autocompleteClasses$1;
|
|
49533
49577
|
exports.avatarClasses = avatarClasses$1;
|
|
49534
49578
|
exports.avatarGroupClasses = avatarGroupClasses$1;
|
|
@@ -49657,7 +49701,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49657
49701
|
exports.getMenuItemUtilityClass = getMenuItemUtilityClass;
|
|
49658
49702
|
exports.getMenuUtilityClass = getMenuUtilityClass;
|
|
49659
49703
|
exports.getMobileStepperUtilityClass = getMobileStepperUtilityClass;
|
|
49660
|
-
exports.getModalUtilityClass = getModalUtilityClass;
|
|
49661
49704
|
exports.getNativeSelectUtilityClasses = getNativeSelectUtilityClasses;
|
|
49662
49705
|
exports.getOffsetLeft = getOffsetLeft;
|
|
49663
49706
|
exports.getOffsetTop = getOffsetTop;
|
|
@@ -49737,7 +49780,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49737
49780
|
exports.menuItemClasses = menuItemClasses$1;
|
|
49738
49781
|
exports.mobileStepperClasses = mobileStepperClasses$1;
|
|
49739
49782
|
exports.modalClasses = modalClasses;
|
|
49740
|
-
exports.modalUnstyledClasses = modalUnstyledClasses$1;
|
|
49741
49783
|
exports.nativeSelectClasses = nativeSelectClasses$1;
|
|
49742
49784
|
exports.outlinedInputClasses = outlinedInputClasses$1;
|
|
49743
49785
|
exports.ownerDocument = ownerDocument;
|