@mui/material 5.10.3 → 5.10.4
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 +54 -54
- package/Avatar/Avatar.d.ts +1 -1
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/AvatarGroup.d.ts +6 -1
- package/AvatarGroup/AvatarGroup.js +10 -1
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/Badge.d.ts +2 -2
- 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/Button.d.ts +2 -2
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/ButtonBase.d.ts +1 -1
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +51 -0
- package/Card/Card.d.ts +1 -1
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/CardActionArea.d.ts +1 -1
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/CardActions.d.ts +1 -1
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/CardContent.d.ts +1 -1
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/CardHeader.d.ts +1 -1
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/CardMedia.d.ts +1 -1
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/Checkbox.d.ts +1 -1
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/Chip.d.ts +1 -1
- package/Chip/chipClasses.d.ts +88 -88
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/Collapse.d.ts +1 -1
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/CssBaseline/CssBaseline.d.ts +1 -1
- package/Dialog/Dialog.d.ts +1 -1
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/DialogActions.d.ts +1 -1
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/DialogContent.d.ts +1 -1
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/DialogContentText.d.ts +1 -1
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/DialogTitle.d.ts +1 -1
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/Divider.d.ts +1 -1
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/Drawer.d.ts +1 -1
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.d.ts +1 -1
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/FilledInput.d.ts +1 -1
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControl.d.ts +4 -4
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +3 -3
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/FormGroup.d.ts +2 -2
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/FormHelperText.d.ts +1 -1
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/FormLabel.d.ts +3 -3
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Hidden/HiddenJs.d.ts +1 -1
- package/Hidden/HiddenJs.js +20 -28
- package/Icon/Icon.d.ts +1 -1
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/IconButton.d.ts +1 -1
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/Input.d.ts +1 -1
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/InputAdornment.d.ts +1 -1
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/InputBase.d.ts +1 -1
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/InputLabel.d.ts +1 -1
- 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/Menu.d.ts +1 -1
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/MenuItem.d.ts +1 -1
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MenuList/MenuList.d.ts +1 -1
- package/MobileStepper/MobileStepper.d.ts +1 -1
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/NativeSelect.d.ts +1 -1
- package/NativeSelect/NativeSelect.js +17 -15
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/OutlinedInput.d.ts +1 -1
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/Paper.d.ts +1 -1
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.d.ts +1 -1
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +24 -24
- package/Popper/Popper.js +1 -1
- package/README.md +1 -2
- package/Radio/Radio.d.ts +1 -1
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroup.d.ts +1 -1
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/ScopedCssBaseline.d.ts +1 -1
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/Select.d.ts +1 -1
- package/Select/Select.js +38 -36
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slide/Slide.d.ts +1 -1
- package/Snackbar/Snackbar.d.ts +1 -1
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/SnackbarContent.d.ts +1 -1
- 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/Step/Step.d.ts +55 -44
- package/Step/Step.js +11 -2
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/StepButton.d.ts +1 -1
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/StepConnector.d.ts +1 -1
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/StepContent.d.ts +1 -1
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/StepIcon.d.ts +1 -1
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/StepLabel.d.ts +1 -1
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/Stepper.d.ts +54 -43
- package/Stepper/Stepper.js +11 -2
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/SvgIcon.d.ts +1 -1
- package/SvgIcon/svgIconClasses.d.ts +24 -24
- package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
- package/Switch/Switch.d.ts +1 -1
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/Table.d.ts +1 -1
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/TableBody.d.ts +1 -1
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/TableCell.d.ts +1 -1
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/TableContainer.d.ts +1 -1
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/TableFooter.d.ts +1 -1
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/TableHead.d.ts +1 -1
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/TablePagination.d.ts +1 -1
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/TableRow.d.ts +1 -1
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/TableSortLabel.d.ts +1 -1
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/TextField.d.ts +1 -1
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/ToggleButton.js +3 -1
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/Tooltip.d.ts +1 -1
- 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/esm/AvatarGroup/AvatarGroup.js +10 -1
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/Hidden/HiddenJs.js +19 -28
- package/esm/NativeSelect/NativeSelect.js +17 -15
- package/esm/Popper/Popper.js +1 -1
- package/esm/Select/Select.js +38 -36
- package/esm/Step/Step.js +11 -2
- package/esm/Stepper/Stepper.js +11 -2
- package/esm/ToggleButton/ToggleButton.js +3 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/AvatarGroup/AvatarGroup.js +11 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Hidden/HiddenJs.js +19 -28
- package/legacy/NativeSelect/NativeSelect.js +17 -15
- package/legacy/Popper/Popper.js +1 -1
- package/legacy/Select/Select.js +38 -36
- package/legacy/Step/Step.js +12 -2
- package/legacy/Stepper/Stepper.js +12 -2
- package/legacy/ToggleButton/ToggleButton.js +3 -1
- package/legacy/index.js +1 -1
- package/locale/index.d.ts +71 -71
- package/modern/AvatarGroup/AvatarGroup.js +10 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Hidden/HiddenJs.js +19 -28
- package/modern/NativeSelect/NativeSelect.js +17 -15
- package/modern/Popper/Popper.js +1 -1
- package/modern/Select/Select.js +38 -36
- package/modern/Step/Step.js +11 -2
- package/modern/Stepper/Stepper.js +11 -2
- package/modern/ToggleButton/ToggleButton.js +3 -1
- package/modern/index.js +1 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +112 -93
- package/umd/material-ui.production.min.js +20 -20
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- 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/modern/Step/Step.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["active", "children", "className", "completed", "disabled", "expanded", "index", "last"];
|
|
3
|
+
const _excluded = ["active", "children", "className", "component", "completed", "disabled", "expanded", "index", "last"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -55,6 +55,7 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
55
55
|
active: activeProp,
|
|
56
56
|
children,
|
|
57
57
|
className,
|
|
58
|
+
component = 'div',
|
|
58
59
|
completed: completedProp,
|
|
59
60
|
disabled: disabledProp,
|
|
60
61
|
expanded = false,
|
|
@@ -96,12 +97,14 @@ const Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
96
97
|
alternativeLabel,
|
|
97
98
|
completed,
|
|
98
99
|
disabled,
|
|
99
|
-
expanded
|
|
100
|
+
expanded,
|
|
101
|
+
component
|
|
100
102
|
});
|
|
101
103
|
|
|
102
104
|
const classes = useUtilityClasses(ownerState);
|
|
103
105
|
|
|
104
106
|
const newChildren = /*#__PURE__*/_jsxs(StepRoot, _extends({
|
|
107
|
+
as: component,
|
|
105
108
|
className: clsx(classes.root, className),
|
|
106
109
|
ref: ref,
|
|
107
110
|
ownerState: ownerState
|
|
@@ -149,6 +152,12 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
|
|
|
149
152
|
*/
|
|
150
153
|
completed: PropTypes.bool,
|
|
151
154
|
|
|
155
|
+
/**
|
|
156
|
+
* The component used for the root node.
|
|
157
|
+
* Either a string to use a HTML element or a component.
|
|
158
|
+
*/
|
|
159
|
+
component: PropTypes.elementType,
|
|
160
|
+
|
|
152
161
|
/**
|
|
153
162
|
* If `true`, the step is disabled, will also disable the button if
|
|
154
163
|
* `StepButton` is a child of `Step`. Is passed to child components.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
|
|
2
2
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
3
|
-
const _excluded = ["activeStep", "alternativeLabel", "children", "className", "connector", "nonLinear", "orientation"];
|
|
3
|
+
const _excluded = ["activeStep", "alternativeLabel", "children", "className", "component", "connector", "nonLinear", "orientation"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import clsx from 'clsx';
|
|
@@ -60,6 +60,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
60
60
|
alternativeLabel = false,
|
|
61
61
|
children,
|
|
62
62
|
className,
|
|
63
|
+
component = 'div',
|
|
63
64
|
connector = defaultConnector,
|
|
64
65
|
nonLinear = false,
|
|
65
66
|
orientation = 'horizontal'
|
|
@@ -68,7 +69,8 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
68
69
|
|
|
69
70
|
const ownerState = _extends({}, props, {
|
|
70
71
|
alternativeLabel,
|
|
71
|
-
orientation
|
|
72
|
+
orientation,
|
|
73
|
+
component
|
|
72
74
|
});
|
|
73
75
|
|
|
74
76
|
const classes = useUtilityClasses(ownerState);
|
|
@@ -89,6 +91,7 @@ const Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
89
91
|
return /*#__PURE__*/_jsx(StepperContext.Provider, {
|
|
90
92
|
value: contextValue,
|
|
91
93
|
children: /*#__PURE__*/_jsx(StepperRoot, _extends({
|
|
94
|
+
as: component,
|
|
92
95
|
ownerState: ownerState,
|
|
93
96
|
className: clsx(classes.root, className),
|
|
94
97
|
ref: ref
|
|
@@ -134,6 +137,12 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
|
|
|
134
137
|
*/
|
|
135
138
|
className: PropTypes.string,
|
|
136
139
|
|
|
140
|
+
/**
|
|
141
|
+
* The component used for the root node.
|
|
142
|
+
* Either a string to use a HTML element or a component.
|
|
143
|
+
*/
|
|
144
|
+
component: PropTypes.elementType,
|
|
145
|
+
|
|
137
146
|
/**
|
|
138
147
|
* An element to be placed between each step.
|
|
139
148
|
* @default <StepConnector />
|
|
@@ -247,6 +247,8 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
|
|
|
247
247
|
* The value to associate with the button when selected in a
|
|
248
248
|
* ToggleButtonGroup.
|
|
249
249
|
*/
|
|
250
|
-
value: PropTypes
|
|
250
|
+
value: PropTypes
|
|
251
|
+
/* @typescript-to-proptypes-ignore */
|
|
252
|
+
.any.isRequired
|
|
251
253
|
} : void 0;
|
|
252
254
|
export default ToggleButton;
|
package/modern/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.18.9",
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/core-downloads-tracker": "^5.10.
|
|
51
|
-
"@mui/system": "^5.10.
|
|
49
|
+
"@mui/base": "5.0.0-alpha.96",
|
|
50
|
+
"@mui/core-downloads-tracker": "^5.10.4",
|
|
51
|
+
"@mui/system": "^5.10.4",
|
|
52
52
|
"@mui/types": "^7.2.0",
|
|
53
53
|
"@mui/utils": "^5.10.3",
|
|
54
54
|
"@types/react-transition-group": "^4.4.5",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
-
declare const shouldSkipGeneratingVar: (keys: string[]) => boolean;
|
|
4
|
-
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
5
|
-
theme?: {
|
|
6
|
-
cssVarPrefix?: string | undefined;
|
|
7
|
-
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
8
|
-
} | undefined;
|
|
9
|
-
documentNode?: Document | null | undefined;
|
|
10
|
-
colorSchemeNode?: Document | HTMLElement | null | undefined;
|
|
11
|
-
colorSchemeSelector?: string | undefined;
|
|
12
|
-
storageWindow?: Window | null | undefined;
|
|
13
|
-
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
14
|
-
export { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider, };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
+
declare const shouldSkipGeneratingVar: (keys: string[]) => boolean;
|
|
4
|
+
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
5
|
+
theme?: {
|
|
6
|
+
cssVarPrefix?: string | undefined;
|
|
7
|
+
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
8
|
+
} | undefined;
|
|
9
|
+
documentNode?: Document | null | undefined;
|
|
10
|
+
colorSchemeNode?: Document | HTMLElement | null | undefined;
|
|
11
|
+
colorSchemeSelector?: string | undefined;
|
|
12
|
+
storageWindow?: Window | null | undefined;
|
|
13
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
14
|
+
export { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider, };
|
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 declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
-
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
-
export interface EasingProps {
|
|
6
|
-
easing: string | {
|
|
7
|
-
enter?: string;
|
|
8
|
-
exit?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare 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 declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
+
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
+
export interface EasingProps {
|
|
6
|
+
easing: string | {
|
|
7
|
+
enter?: string;
|
|
8
|
+
exit?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare 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,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.4
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -10302,7 +10302,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10302
10302
|
*
|
|
10303
10303
|
* Demos:
|
|
10304
10304
|
*
|
|
10305
|
-
* - [
|
|
10305
|
+
* - [Unstyled badge](https://mui.com/base/react-badge/)
|
|
10306
10306
|
*
|
|
10307
10307
|
* API:
|
|
10308
10308
|
*
|
|
@@ -10439,7 +10439,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
10439
10439
|
*
|
|
10440
10440
|
* Demos:
|
|
10441
10441
|
*
|
|
10442
|
-
* - [Click
|
|
10442
|
+
* - [Click-away listener](https://mui.com/base/react-click-away-listener/)
|
|
10443
10443
|
*
|
|
10444
10444
|
* API:
|
|
10445
10445
|
*
|
|
@@ -12627,7 +12627,9 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
12627
12627
|
return children;
|
|
12628
12628
|
}
|
|
12629
12629
|
|
|
12630
|
-
return
|
|
12630
|
+
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
12631
|
+
children: mountNode ? /*#__PURE__*/ReactDOM__namespace.createPortal(children, mountNode) : mountNode
|
|
12632
|
+
});
|
|
12631
12633
|
});
|
|
12632
12634
|
Portal.propTypes
|
|
12633
12635
|
/* remove-proptypes */
|
|
@@ -21250,7 +21252,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21250
21252
|
* Demos:
|
|
21251
21253
|
*
|
|
21252
21254
|
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
21253
|
-
* - [
|
|
21255
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
21254
21256
|
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
21255
21257
|
*
|
|
21256
21258
|
* API:
|
|
@@ -24270,7 +24272,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24270
24272
|
const avatarGroupClasses = generateUtilityClasses('MuiAvatarGroup', ['root', 'avatar']);
|
|
24271
24273
|
var avatarGroupClasses$1 = avatarGroupClasses;
|
|
24272
24274
|
|
|
24273
|
-
const _excluded$1L = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
|
|
24275
|
+
const _excluded$1L = ["children", "className", "component", "componentsProps", "max", "spacing", "total", "variant"];
|
|
24274
24276
|
const SPACINGS$2 = {
|
|
24275
24277
|
small: -16,
|
|
24276
24278
|
medium: null
|
|
@@ -24332,6 +24334,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24332
24334
|
const {
|
|
24333
24335
|
children: childrenProp,
|
|
24334
24336
|
className,
|
|
24337
|
+
component = 'div',
|
|
24335
24338
|
componentsProps = {},
|
|
24336
24339
|
max = 5,
|
|
24337
24340
|
spacing = 'medium',
|
|
@@ -24345,6 +24348,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24345
24348
|
const ownerState = _extends({}, props, {
|
|
24346
24349
|
max,
|
|
24347
24350
|
spacing,
|
|
24351
|
+
component,
|
|
24348
24352
|
variant
|
|
24349
24353
|
});
|
|
24350
24354
|
|
|
@@ -24369,6 +24373,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24369
24373
|
const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
24370
24374
|
const marginLeft = spacing && SPACINGS$2[spacing] !== undefined ? SPACINGS$2[spacing] : -spacing;
|
|
24371
24375
|
return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
|
|
24376
|
+
as: component,
|
|
24372
24377
|
ownerState: ownerState,
|
|
24373
24378
|
className: clsx(classes.root, className),
|
|
24374
24379
|
ref: ref
|
|
@@ -24418,6 +24423,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24418
24423
|
*/
|
|
24419
24424
|
className: PropTypes.string,
|
|
24420
24425
|
|
|
24426
|
+
/**
|
|
24427
|
+
* The component used for the root node.
|
|
24428
|
+
* Either a string to use a HTML element or a component.
|
|
24429
|
+
*/
|
|
24430
|
+
component: PropTypes.elementType,
|
|
24431
|
+
|
|
24421
24432
|
/**
|
|
24422
24433
|
* The props used for each slot inside the AvatarGroup.
|
|
24423
24434
|
* @default {}
|
|
@@ -33202,10 +33213,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33202
33213
|
|
|
33203
33214
|
var withWidth$1 = withWidth;
|
|
33204
33215
|
|
|
33205
|
-
/**
|
|
33206
|
-
* @ignore - internal component.
|
|
33207
|
-
*/
|
|
33208
|
-
|
|
33209
33216
|
function HiddenJs(props) {
|
|
33210
33217
|
const {
|
|
33211
33218
|
children,
|
|
@@ -33249,7 +33256,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33249
33256
|
return null;
|
|
33250
33257
|
}
|
|
33251
33258
|
|
|
33252
|
-
return
|
|
33259
|
+
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
33260
|
+
children: children
|
|
33261
|
+
});
|
|
33253
33262
|
}
|
|
33254
33263
|
|
|
33255
33264
|
HiddenJs.propTypes = {
|
|
@@ -33258,48 +33267,28 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33258
33267
|
*/
|
|
33259
33268
|
children: PropTypes.node,
|
|
33260
33269
|
|
|
33261
|
-
/**
|
|
33262
|
-
* @ignore
|
|
33263
|
-
*/
|
|
33264
|
-
className: PropTypes.string,
|
|
33265
|
-
|
|
33266
|
-
/**
|
|
33267
|
-
* Specify which implementation to use. 'js' is the default, 'css' works better for
|
|
33268
|
-
* server-side rendering.
|
|
33269
|
-
*/
|
|
33270
|
-
implementation: PropTypes.oneOf(['js', 'css']),
|
|
33271
|
-
|
|
33272
|
-
/**
|
|
33273
|
-
* You can use this prop when choosing the `js` implementation with server-side rendering.
|
|
33274
|
-
*
|
|
33275
|
-
* As `window.innerWidth` is unavailable on the server,
|
|
33276
|
-
* we default to rendering an empty component during the first mount.
|
|
33277
|
-
* You might want to use a heuristic to approximate
|
|
33278
|
-
* the screen width of the client browser screen width.
|
|
33279
|
-
*
|
|
33280
|
-
* For instance, you could be using the user-agent or the client-hints.
|
|
33281
|
-
* https://caniuse.com/#search=client%20hint
|
|
33282
|
-
*/
|
|
33283
|
-
initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
|
|
33284
|
-
|
|
33285
33270
|
/**
|
|
33286
33271
|
* If `true`, screens this size and down are hidden.
|
|
33287
33272
|
*/
|
|
33273
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33288
33274
|
lgDown: PropTypes.bool,
|
|
33289
33275
|
|
|
33290
33276
|
/**
|
|
33291
33277
|
* If `true`, screens this size and up are hidden.
|
|
33292
33278
|
*/
|
|
33279
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33293
33280
|
lgUp: PropTypes.bool,
|
|
33294
33281
|
|
|
33295
33282
|
/**
|
|
33296
33283
|
* If `true`, screens this size and down are hidden.
|
|
33297
33284
|
*/
|
|
33285
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33298
33286
|
mdDown: PropTypes.bool,
|
|
33299
33287
|
|
|
33300
33288
|
/**
|
|
33301
33289
|
* If `true`, screens this size and up are hidden.
|
|
33302
33290
|
*/
|
|
33291
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33303
33292
|
mdUp: PropTypes.bool,
|
|
33304
33293
|
|
|
33305
33294
|
/**
|
|
@@ -33310,11 +33299,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33310
33299
|
/**
|
|
33311
33300
|
* If `true`, screens this size and down are hidden.
|
|
33312
33301
|
*/
|
|
33302
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33313
33303
|
smDown: PropTypes.bool,
|
|
33314
33304
|
|
|
33315
33305
|
/**
|
|
33316
33306
|
* If `true`, screens this size and up are hidden.
|
|
33317
33307
|
*/
|
|
33308
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33318
33309
|
smUp: PropTypes.bool,
|
|
33319
33310
|
|
|
33320
33311
|
/**
|
|
@@ -33326,26 +33317,30 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33326
33317
|
/**
|
|
33327
33318
|
* If `true`, screens this size and down are hidden.
|
|
33328
33319
|
*/
|
|
33320
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33329
33321
|
xlDown: PropTypes.bool,
|
|
33330
33322
|
|
|
33331
33323
|
/**
|
|
33332
33324
|
* If `true`, screens this size and up are hidden.
|
|
33333
33325
|
*/
|
|
33326
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33334
33327
|
xlUp: PropTypes.bool,
|
|
33335
33328
|
|
|
33336
33329
|
/**
|
|
33337
33330
|
* If `true`, screens this size and down are hidden.
|
|
33338
33331
|
*/
|
|
33332
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33339
33333
|
xsDown: PropTypes.bool,
|
|
33340
33334
|
|
|
33341
33335
|
/**
|
|
33342
33336
|
* If `true`, screens this size and up are hidden.
|
|
33343
33337
|
*/
|
|
33338
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
33344
33339
|
xsUp: PropTypes.bool
|
|
33345
|
-
};
|
|
33340
|
+
} ;
|
|
33346
33341
|
|
|
33347
33342
|
{
|
|
33348
|
-
HiddenJs.propTypes = exactProp(HiddenJs.propTypes);
|
|
33343
|
+
HiddenJs.propTypes = exactProp(HiddenJs.propTypes) ;
|
|
33349
33344
|
}
|
|
33350
33345
|
|
|
33351
33346
|
var HiddenJs$1 = withWidth$1()(HiddenJs);
|
|
@@ -38921,21 +38916,23 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38921
38916
|
|
|
38922
38917
|
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
|
|
38923
38918
|
|
|
38924
|
-
return /*#__PURE__*/React__namespace.
|
|
38925
|
-
|
|
38926
|
-
|
|
38927
|
-
|
|
38928
|
-
|
|
38929
|
-
|
|
38930
|
-
|
|
38931
|
-
|
|
38932
|
-
|
|
38933
|
-
|
|
38934
|
-
|
|
38935
|
-
|
|
38936
|
-
|
|
38937
|
-
|
|
38938
|
-
|
|
38919
|
+
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
38920
|
+
children: /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
38921
|
+
// Most of the logic is implemented in `NativeSelectInput`.
|
|
38922
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
38923
|
+
inputComponent: NativeSelectInput$1,
|
|
38924
|
+
inputProps: _extends({
|
|
38925
|
+
children,
|
|
38926
|
+
classes: otherClasses,
|
|
38927
|
+
IconComponent,
|
|
38928
|
+
variant: fcs.variant,
|
|
38929
|
+
type: undefined
|
|
38930
|
+
}, inputProps, input ? input.props.inputProps : {}),
|
|
38931
|
+
ref
|
|
38932
|
+
}, other, {
|
|
38933
|
+
className: clsx(classes.root, input.props.className, className)
|
|
38934
|
+
}))
|
|
38935
|
+
});
|
|
38939
38936
|
});
|
|
38940
38937
|
NativeSelect.propTypes
|
|
38941
38938
|
/* remove-proptypes */
|
|
@@ -42295,43 +42292,45 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
42295
42292
|
|
|
42296
42293
|
const classes = useUtilityClasses$v(ownerState);
|
|
42297
42294
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
42298
|
-
return /*#__PURE__*/React__namespace.
|
|
42299
|
-
|
|
42300
|
-
|
|
42301
|
-
|
|
42302
|
-
|
|
42303
|
-
|
|
42304
|
-
|
|
42305
|
-
|
|
42306
|
-
|
|
42307
|
-
|
|
42308
|
-
|
|
42309
|
-
|
|
42310
|
-
|
|
42311
|
-
} : {
|
|
42312
|
-
autoWidth,
|
|
42313
|
-
defaultOpen,
|
|
42314
|
-
displayEmpty,
|
|
42315
|
-
labelId,
|
|
42316
|
-
MenuProps,
|
|
42317
|
-
onClose,
|
|
42318
|
-
onOpen,
|
|
42319
|
-
open,
|
|
42320
|
-
renderValue,
|
|
42321
|
-
SelectDisplayProps: _extends({
|
|
42295
|
+
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
42296
|
+
children: /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
|
|
42297
|
+
// Most of the logic is implemented in `SelectInput`.
|
|
42298
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
42299
|
+
inputComponent,
|
|
42300
|
+
inputProps: _extends({
|
|
42301
|
+
children,
|
|
42302
|
+
IconComponent,
|
|
42303
|
+
variant,
|
|
42304
|
+
type: undefined,
|
|
42305
|
+
// We render a select. We can ignore the type provided by the `Input`.
|
|
42306
|
+
multiple
|
|
42307
|
+
}, native ? {
|
|
42322
42308
|
id
|
|
42323
|
-
}
|
|
42324
|
-
|
|
42325
|
-
|
|
42326
|
-
|
|
42327
|
-
|
|
42328
|
-
|
|
42329
|
-
|
|
42330
|
-
|
|
42331
|
-
|
|
42332
|
-
|
|
42333
|
-
|
|
42334
|
-
|
|
42309
|
+
} : {
|
|
42310
|
+
autoWidth,
|
|
42311
|
+
defaultOpen,
|
|
42312
|
+
displayEmpty,
|
|
42313
|
+
labelId,
|
|
42314
|
+
MenuProps,
|
|
42315
|
+
onClose,
|
|
42316
|
+
onOpen,
|
|
42317
|
+
open,
|
|
42318
|
+
renderValue,
|
|
42319
|
+
SelectDisplayProps: _extends({
|
|
42320
|
+
id
|
|
42321
|
+
}, SelectDisplayProps)
|
|
42322
|
+
}, inputProps, {
|
|
42323
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
42324
|
+
}, input ? input.props.inputProps : {})
|
|
42325
|
+
}, multiple && native && variant === 'outlined' ? {
|
|
42326
|
+
notched: true
|
|
42327
|
+
} : {}, {
|
|
42328
|
+
ref: inputComponentRef,
|
|
42329
|
+
className: clsx(InputComponent.props.className, className)
|
|
42330
|
+
}, !input && {
|
|
42331
|
+
variant
|
|
42332
|
+
}, other))
|
|
42333
|
+
});
|
|
42335
42334
|
});
|
|
42336
42335
|
Select.propTypes
|
|
42337
42336
|
/* remove-proptypes */
|
|
@@ -46278,7 +46277,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46278
46277
|
const stepClasses = generateUtilityClasses('MuiStep', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'completed']);
|
|
46279
46278
|
var stepClasses$1 = stepClasses;
|
|
46280
46279
|
|
|
46281
|
-
const _excluded$s = ["active", "children", "className", "completed", "disabled", "expanded", "index", "last"];
|
|
46280
|
+
const _excluded$s = ["active", "children", "className", "component", "completed", "disabled", "expanded", "index", "last"];
|
|
46282
46281
|
|
|
46283
46282
|
const useUtilityClasses$n = ownerState => {
|
|
46284
46283
|
const {
|
|
@@ -46321,6 +46320,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46321
46320
|
active: activeProp,
|
|
46322
46321
|
children,
|
|
46323
46322
|
className,
|
|
46323
|
+
component = 'div',
|
|
46324
46324
|
completed: completedProp,
|
|
46325
46325
|
disabled: disabledProp,
|
|
46326
46326
|
expanded = false,
|
|
@@ -46362,12 +46362,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46362
46362
|
alternativeLabel,
|
|
46363
46363
|
completed,
|
|
46364
46364
|
disabled,
|
|
46365
|
-
expanded
|
|
46365
|
+
expanded,
|
|
46366
|
+
component
|
|
46366
46367
|
});
|
|
46367
46368
|
|
|
46368
46369
|
const classes = useUtilityClasses$n(ownerState);
|
|
46369
46370
|
|
|
46370
46371
|
const newChildren = /*#__PURE__*/jsxRuntime_2(StepRoot, _extends({
|
|
46372
|
+
as: component,
|
|
46371
46373
|
className: clsx(classes.root, className),
|
|
46372
46374
|
ref: ref,
|
|
46373
46375
|
ownerState: ownerState
|
|
@@ -46415,6 +46417,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
46415
46417
|
*/
|
|
46416
46418
|
completed: PropTypes.bool,
|
|
46417
46419
|
|
|
46420
|
+
/**
|
|
46421
|
+
* The component used for the root node.
|
|
46422
|
+
* Either a string to use a HTML element or a component.
|
|
46423
|
+
*/
|
|
46424
|
+
component: PropTypes.elementType,
|
|
46425
|
+
|
|
46418
46426
|
/**
|
|
46419
46427
|
* If `true`, the step is disabled, will also disable the button if
|
|
46420
46428
|
* `StepButton` is a child of `Step`. Is passed to child components.
|
|
@@ -47302,7 +47310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47302
47310
|
const stepperClasses = generateUtilityClasses('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
|
|
47303
47311
|
var stepperClasses$1 = stepperClasses;
|
|
47304
47312
|
|
|
47305
|
-
const _excluded$m = ["activeStep", "alternativeLabel", "children", "className", "connector", "nonLinear", "orientation"];
|
|
47313
|
+
const _excluded$m = ["activeStep", "alternativeLabel", "children", "className", "component", "connector", "nonLinear", "orientation"];
|
|
47306
47314
|
|
|
47307
47315
|
const useUtilityClasses$h = ownerState => {
|
|
47308
47316
|
const {
|
|
@@ -47351,6 +47359,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47351
47359
|
alternativeLabel = false,
|
|
47352
47360
|
children,
|
|
47353
47361
|
className,
|
|
47362
|
+
component = 'div',
|
|
47354
47363
|
connector = defaultConnector,
|
|
47355
47364
|
nonLinear = false,
|
|
47356
47365
|
orientation = 'horizontal'
|
|
@@ -47359,7 +47368,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47359
47368
|
|
|
47360
47369
|
const ownerState = _extends({}, props, {
|
|
47361
47370
|
alternativeLabel,
|
|
47362
|
-
orientation
|
|
47371
|
+
orientation,
|
|
47372
|
+
component
|
|
47363
47373
|
});
|
|
47364
47374
|
|
|
47365
47375
|
const classes = useUtilityClasses$h(ownerState);
|
|
@@ -47380,6 +47390,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47380
47390
|
return /*#__PURE__*/jsxRuntime_1(StepperContext$1.Provider, {
|
|
47381
47391
|
value: contextValue,
|
|
47382
47392
|
children: /*#__PURE__*/jsxRuntime_1(StepperRoot, _extends({
|
|
47393
|
+
as: component,
|
|
47383
47394
|
ownerState: ownerState,
|
|
47384
47395
|
className: clsx(classes.root, className),
|
|
47385
47396
|
ref: ref
|
|
@@ -47425,6 +47436,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
47425
47436
|
*/
|
|
47426
47437
|
className: PropTypes.string,
|
|
47427
47438
|
|
|
47439
|
+
/**
|
|
47440
|
+
* The component used for the root node.
|
|
47441
|
+
* Either a string to use a HTML element or a component.
|
|
47442
|
+
*/
|
|
47443
|
+
component: PropTypes.elementType,
|
|
47444
|
+
|
|
47428
47445
|
/**
|
|
47429
47446
|
* An element to be placed between each step.
|
|
47430
47447
|
* @default <StepConnector />
|
|
@@ -52248,7 +52265,9 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
52248
52265
|
* The value to associate with the button when selected in a
|
|
52249
52266
|
* ToggleButtonGroup.
|
|
52250
52267
|
*/
|
|
52251
|
-
value: PropTypes
|
|
52268
|
+
value: PropTypes
|
|
52269
|
+
/* @typescript-to-proptypes-ignore */
|
|
52270
|
+
.any.isRequired
|
|
52252
52271
|
} ;
|
|
52253
52272
|
var ToggleButton$1 = ToggleButton;
|
|
52254
52273
|
|