@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
|
@@ -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 = ["children", "className", "componentsProps", "max", "spacing", "total", "variant"];
|
|
3
|
+
const _excluded = ["children", "className", "component", "componentsProps", "max", "spacing", "total", "variant"];
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { isFragment } from 'react-is';
|
|
@@ -73,6 +73,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
73
73
|
const {
|
|
74
74
|
children: childrenProp,
|
|
75
75
|
className,
|
|
76
|
+
component = 'div',
|
|
76
77
|
componentsProps = {},
|
|
77
78
|
max = 5,
|
|
78
79
|
spacing = 'medium',
|
|
@@ -86,6 +87,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
86
87
|
const ownerState = _extends({}, props, {
|
|
87
88
|
max,
|
|
88
89
|
spacing,
|
|
90
|
+
component,
|
|
89
91
|
variant
|
|
90
92
|
});
|
|
91
93
|
|
|
@@ -110,6 +112,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
110
112
|
const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
111
113
|
const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
|
|
112
114
|
return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
|
|
115
|
+
as: component,
|
|
113
116
|
ownerState: ownerState,
|
|
114
117
|
className: clsx(classes.root, className),
|
|
115
118
|
ref: ref
|
|
@@ -159,6 +162,12 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
159
162
|
*/
|
|
160
163
|
className: PropTypes.string,
|
|
161
164
|
|
|
165
|
+
/**
|
|
166
|
+
* The component used for the root node.
|
|
167
|
+
* Either a string to use a HTML element or a component.
|
|
168
|
+
*/
|
|
169
|
+
component: PropTypes.elementType,
|
|
170
|
+
|
|
162
171
|
/**
|
|
163
172
|
* The props used for each slot inside the AvatarGroup.
|
|
164
173
|
* @default {}
|
|
File without changes
|
package/esm/Hidden/HiddenJs.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
import { exactProp } from '@mui/utils';
|
|
3
4
|
import withWidth, { isWidthDown, isWidthUp } from './withWidth';
|
|
@@ -6,6 +7,8 @@ import useTheme from '../styles/useTheme';
|
|
|
6
7
|
* @ignore - internal component.
|
|
7
8
|
*/
|
|
8
9
|
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
|
|
9
12
|
function HiddenJs(props) {
|
|
10
13
|
const {
|
|
11
14
|
children,
|
|
@@ -49,57 +52,39 @@ function HiddenJs(props) {
|
|
|
49
52
|
return null;
|
|
50
53
|
}
|
|
51
54
|
|
|
52
|
-
return
|
|
55
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
56
|
+
children: children
|
|
57
|
+
});
|
|
53
58
|
}
|
|
54
59
|
|
|
55
|
-
HiddenJs.propTypes = {
|
|
60
|
+
process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = {
|
|
56
61
|
/**
|
|
57
62
|
* The content of the component.
|
|
58
63
|
*/
|
|
59
64
|
children: PropTypes.node,
|
|
60
65
|
|
|
61
|
-
/**
|
|
62
|
-
* @ignore
|
|
63
|
-
*/
|
|
64
|
-
className: PropTypes.string,
|
|
65
|
-
|
|
66
|
-
/**
|
|
67
|
-
* Specify which implementation to use. 'js' is the default, 'css' works better for
|
|
68
|
-
* server-side rendering.
|
|
69
|
-
*/
|
|
70
|
-
implementation: PropTypes.oneOf(['js', 'css']),
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* You can use this prop when choosing the `js` implementation with server-side rendering.
|
|
74
|
-
*
|
|
75
|
-
* As `window.innerWidth` is unavailable on the server,
|
|
76
|
-
* we default to rendering an empty component during the first mount.
|
|
77
|
-
* You might want to use a heuristic to approximate
|
|
78
|
-
* the screen width of the client browser screen width.
|
|
79
|
-
*
|
|
80
|
-
* For instance, you could be using the user-agent or the client-hints.
|
|
81
|
-
* https://caniuse.com/#search=client%20hint
|
|
82
|
-
*/
|
|
83
|
-
initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
|
|
84
|
-
|
|
85
66
|
/**
|
|
86
67
|
* If `true`, screens this size and down are hidden.
|
|
87
68
|
*/
|
|
69
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
88
70
|
lgDown: PropTypes.bool,
|
|
89
71
|
|
|
90
72
|
/**
|
|
91
73
|
* If `true`, screens this size and up are hidden.
|
|
92
74
|
*/
|
|
75
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
93
76
|
lgUp: PropTypes.bool,
|
|
94
77
|
|
|
95
78
|
/**
|
|
96
79
|
* If `true`, screens this size and down are hidden.
|
|
97
80
|
*/
|
|
81
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
98
82
|
mdDown: PropTypes.bool,
|
|
99
83
|
|
|
100
84
|
/**
|
|
101
85
|
* If `true`, screens this size and up are hidden.
|
|
102
86
|
*/
|
|
87
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
103
88
|
mdUp: PropTypes.bool,
|
|
104
89
|
|
|
105
90
|
/**
|
|
@@ -110,11 +95,13 @@ HiddenJs.propTypes = {
|
|
|
110
95
|
/**
|
|
111
96
|
* If `true`, screens this size and down are hidden.
|
|
112
97
|
*/
|
|
98
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
113
99
|
smDown: PropTypes.bool,
|
|
114
100
|
|
|
115
101
|
/**
|
|
116
102
|
* If `true`, screens this size and up are hidden.
|
|
117
103
|
*/
|
|
104
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
118
105
|
smUp: PropTypes.bool,
|
|
119
106
|
|
|
120
107
|
/**
|
|
@@ -126,26 +113,30 @@ HiddenJs.propTypes = {
|
|
|
126
113
|
/**
|
|
127
114
|
* If `true`, screens this size and down are hidden.
|
|
128
115
|
*/
|
|
116
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
129
117
|
xlDown: PropTypes.bool,
|
|
130
118
|
|
|
131
119
|
/**
|
|
132
120
|
* If `true`, screens this size and up are hidden.
|
|
133
121
|
*/
|
|
122
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
134
123
|
xlUp: PropTypes.bool,
|
|
135
124
|
|
|
136
125
|
/**
|
|
137
126
|
* If `true`, screens this size and down are hidden.
|
|
138
127
|
*/
|
|
128
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
139
129
|
xsDown: PropTypes.bool,
|
|
140
130
|
|
|
141
131
|
/**
|
|
142
132
|
* If `true`, screens this size and up are hidden.
|
|
143
133
|
*/
|
|
134
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
144
135
|
xsUp: PropTypes.bool
|
|
145
|
-
};
|
|
136
|
+
} : void 0;
|
|
146
137
|
|
|
147
138
|
if (process.env.NODE_ENV !== 'production') {
|
|
148
|
-
HiddenJs.propTypes = exactProp(HiddenJs.propTypes);
|
|
139
|
+
process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = exactProp(HiddenJs.propTypes) : void 0;
|
|
149
140
|
}
|
|
150
141
|
|
|
151
142
|
export default withWidth()(HiddenJs);
|
|
@@ -62,21 +62,23 @@ const NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(inProps
|
|
|
62
62
|
|
|
63
63
|
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2);
|
|
64
64
|
|
|
65
|
-
return /*#__PURE__*/React.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
65
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
66
|
+
children: /*#__PURE__*/React.cloneElement(input, _extends({
|
|
67
|
+
// Most of the logic is implemented in `NativeSelectInput`.
|
|
68
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
69
|
+
inputComponent: NativeSelectInput,
|
|
70
|
+
inputProps: _extends({
|
|
71
|
+
children,
|
|
72
|
+
classes: otherClasses,
|
|
73
|
+
IconComponent,
|
|
74
|
+
variant: fcs.variant,
|
|
75
|
+
type: undefined
|
|
76
|
+
}, inputProps, input ? input.props.inputProps : {}),
|
|
77
|
+
ref
|
|
78
|
+
}, other, {
|
|
79
|
+
className: clsx(classes.root, input.props.className, className)
|
|
80
|
+
}))
|
|
81
|
+
});
|
|
80
82
|
});
|
|
81
83
|
process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
82
84
|
/* remove-proptypes */
|
package/esm/Popper/Popper.js
CHANGED
|
@@ -16,7 +16,7 @@ const PopperRoot = styled(PopperUnstyled, {
|
|
|
16
16
|
* Demos:
|
|
17
17
|
*
|
|
18
18
|
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
19
|
-
* - [
|
|
19
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
20
20
|
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
21
21
|
*
|
|
22
22
|
* API:
|
package/esm/Select/Select.js
CHANGED
|
@@ -91,43 +91,45 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
91
91
|
|
|
92
92
|
const classes = useUtilityClasses(ownerState);
|
|
93
93
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
94
|
-
return /*#__PURE__*/React.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
} : {
|
|
108
|
-
autoWidth,
|
|
109
|
-
defaultOpen,
|
|
110
|
-
displayEmpty,
|
|
111
|
-
labelId,
|
|
112
|
-
MenuProps,
|
|
113
|
-
onClose,
|
|
114
|
-
onOpen,
|
|
115
|
-
open,
|
|
116
|
-
renderValue,
|
|
117
|
-
SelectDisplayProps: _extends({
|
|
94
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
95
|
+
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends({
|
|
96
|
+
// Most of the logic is implemented in `SelectInput`.
|
|
97
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
98
|
+
inputComponent,
|
|
99
|
+
inputProps: _extends({
|
|
100
|
+
children,
|
|
101
|
+
IconComponent,
|
|
102
|
+
variant,
|
|
103
|
+
type: undefined,
|
|
104
|
+
// We render a select. We can ignore the type provided by the `Input`.
|
|
105
|
+
multiple
|
|
106
|
+
}, native ? {
|
|
118
107
|
id
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
108
|
+
} : {
|
|
109
|
+
autoWidth,
|
|
110
|
+
defaultOpen,
|
|
111
|
+
displayEmpty,
|
|
112
|
+
labelId,
|
|
113
|
+
MenuProps,
|
|
114
|
+
onClose,
|
|
115
|
+
onOpen,
|
|
116
|
+
open,
|
|
117
|
+
renderValue,
|
|
118
|
+
SelectDisplayProps: _extends({
|
|
119
|
+
id
|
|
120
|
+
}, SelectDisplayProps)
|
|
121
|
+
}, inputProps, {
|
|
122
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
123
|
+
}, input ? input.props.inputProps : {})
|
|
124
|
+
}, multiple && native && variant === 'outlined' ? {
|
|
125
|
+
notched: true
|
|
126
|
+
} : {}, {
|
|
127
|
+
ref: inputComponentRef,
|
|
128
|
+
className: clsx(InputComponent.props.className, className)
|
|
129
|
+
}, !input && {
|
|
130
|
+
variant
|
|
131
|
+
}, other))
|
|
132
|
+
});
|
|
131
133
|
});
|
|
132
134
|
process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
133
135
|
/* remove-proptypes */
|
package/esm/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.
|
package/esm/Stepper/Stepper.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 = ["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/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface SwitchBaseClasses {
|
|
2
|
-
root: string;
|
|
3
|
-
checked: string;
|
|
4
|
-
disabled: string;
|
|
5
|
-
input: string;
|
|
6
|
-
edgeStart: string;
|
|
7
|
-
edgeEnd: string;
|
|
8
|
-
}
|
|
9
|
-
export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
|
|
10
|
-
export declare function getSwitchBaseUtilityClass(slot: string): string;
|
|
11
|
-
declare const switchBaseClasses: SwitchBaseClasses;
|
|
12
|
-
export default switchBaseClasses;
|
|
1
|
+
export interface SwitchBaseClasses {
|
|
2
|
+
root: string;
|
|
3
|
+
checked: string;
|
|
4
|
+
disabled: string;
|
|
5
|
+
input: string;
|
|
6
|
+
edgeStart: string;
|
|
7
|
+
edgeEnd: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type SwitchBaseClassKey = keyof SwitchBaseClasses;
|
|
10
|
+
export declare function getSwitchBaseUtilityClass(slot: string): string;
|
|
11
|
+
declare const switchBaseClasses: SwitchBaseClasses;
|
|
12
|
+
export default switchBaseClasses;
|
|
@@ -72,6 +72,8 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
72
72
|
|
|
73
73
|
var childrenProp = props.children,
|
|
74
74
|
className = props.className,
|
|
75
|
+
_props$component = props.component,
|
|
76
|
+
component = _props$component === void 0 ? 'div' : _props$component,
|
|
75
77
|
_props$componentsProp = props.componentsProps,
|
|
76
78
|
componentsProps = _props$componentsProp === void 0 ? {} : _props$componentsProp,
|
|
77
79
|
_props$max = props.max,
|
|
@@ -81,13 +83,14 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
81
83
|
total = props.total,
|
|
82
84
|
_props$variant = props.variant,
|
|
83
85
|
variant = _props$variant === void 0 ? 'circular' : _props$variant,
|
|
84
|
-
other = _objectWithoutProperties(props, ["children", "className", "componentsProps", "max", "spacing", "total", "variant"]);
|
|
86
|
+
other = _objectWithoutProperties(props, ["children", "className", "component", "componentsProps", "max", "spacing", "total", "variant"]);
|
|
85
87
|
|
|
86
88
|
var clampedMax = max < 2 ? 2 : max;
|
|
87
89
|
|
|
88
90
|
var ownerState = _extends({}, props, {
|
|
89
91
|
max: max,
|
|
90
92
|
spacing: spacing,
|
|
93
|
+
component: component,
|
|
91
94
|
variant: variant
|
|
92
95
|
});
|
|
93
96
|
|
|
@@ -112,6 +115,7 @@ var AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, re
|
|
|
112
115
|
var extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
113
116
|
var marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
|
|
114
117
|
return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
|
|
118
|
+
as: component,
|
|
115
119
|
ownerState: ownerState,
|
|
116
120
|
className: clsx(classes.root, className),
|
|
117
121
|
ref: ref
|
|
@@ -161,6 +165,12 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
161
165
|
*/
|
|
162
166
|
className: PropTypes.string,
|
|
163
167
|
|
|
168
|
+
/**
|
|
169
|
+
* The component used for the root node.
|
|
170
|
+
* Either a string to use a HTML element or a component.
|
|
171
|
+
*/
|
|
172
|
+
component: PropTypes.elementType,
|
|
173
|
+
|
|
164
174
|
/**
|
|
165
175
|
* The props used for each slot inside the AvatarGroup.
|
|
166
176
|
* @default {}
|
|
File without changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import PropTypes from 'prop-types';
|
|
2
3
|
import { exactProp } from '@mui/utils';
|
|
3
4
|
import withWidth, { isWidthDown, isWidthUp } from './withWidth';
|
|
@@ -6,6 +7,8 @@ import useTheme from '../styles/useTheme';
|
|
|
6
7
|
* @ignore - internal component.
|
|
7
8
|
*/
|
|
8
9
|
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
|
|
9
12
|
function HiddenJs(props) {
|
|
10
13
|
var children = props.children,
|
|
11
14
|
only = props.only,
|
|
@@ -47,57 +50,39 @@ function HiddenJs(props) {
|
|
|
47
50
|
return null;
|
|
48
51
|
}
|
|
49
52
|
|
|
50
|
-
return
|
|
53
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
54
|
+
children: children
|
|
55
|
+
});
|
|
51
56
|
}
|
|
52
57
|
|
|
53
|
-
HiddenJs.propTypes = {
|
|
58
|
+
process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = {
|
|
54
59
|
/**
|
|
55
60
|
* The content of the component.
|
|
56
61
|
*/
|
|
57
62
|
children: PropTypes.node,
|
|
58
63
|
|
|
59
|
-
/**
|
|
60
|
-
* @ignore
|
|
61
|
-
*/
|
|
62
|
-
className: PropTypes.string,
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Specify which implementation to use. 'js' is the default, 'css' works better for
|
|
66
|
-
* server-side rendering.
|
|
67
|
-
*/
|
|
68
|
-
implementation: PropTypes.oneOf(['js', 'css']),
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* You can use this prop when choosing the `js` implementation with server-side rendering.
|
|
72
|
-
*
|
|
73
|
-
* As `window.innerWidth` is unavailable on the server,
|
|
74
|
-
* we default to rendering an empty component during the first mount.
|
|
75
|
-
* You might want to use a heuristic to approximate
|
|
76
|
-
* the screen width of the client browser screen width.
|
|
77
|
-
*
|
|
78
|
-
* For instance, you could be using the user-agent or the client-hints.
|
|
79
|
-
* https://caniuse.com/#search=client%20hint
|
|
80
|
-
*/
|
|
81
|
-
initialWidth: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']),
|
|
82
|
-
|
|
83
64
|
/**
|
|
84
65
|
* If `true`, screens this size and down are hidden.
|
|
85
66
|
*/
|
|
67
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
86
68
|
lgDown: PropTypes.bool,
|
|
87
69
|
|
|
88
70
|
/**
|
|
89
71
|
* If `true`, screens this size and up are hidden.
|
|
90
72
|
*/
|
|
73
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
91
74
|
lgUp: PropTypes.bool,
|
|
92
75
|
|
|
93
76
|
/**
|
|
94
77
|
* If `true`, screens this size and down are hidden.
|
|
95
78
|
*/
|
|
79
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
96
80
|
mdDown: PropTypes.bool,
|
|
97
81
|
|
|
98
82
|
/**
|
|
99
83
|
* If `true`, screens this size and up are hidden.
|
|
100
84
|
*/
|
|
85
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
101
86
|
mdUp: PropTypes.bool,
|
|
102
87
|
|
|
103
88
|
/**
|
|
@@ -108,11 +93,13 @@ HiddenJs.propTypes = {
|
|
|
108
93
|
/**
|
|
109
94
|
* If `true`, screens this size and down are hidden.
|
|
110
95
|
*/
|
|
96
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
111
97
|
smDown: PropTypes.bool,
|
|
112
98
|
|
|
113
99
|
/**
|
|
114
100
|
* If `true`, screens this size and up are hidden.
|
|
115
101
|
*/
|
|
102
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
116
103
|
smUp: PropTypes.bool,
|
|
117
104
|
|
|
118
105
|
/**
|
|
@@ -124,26 +111,30 @@ HiddenJs.propTypes = {
|
|
|
124
111
|
/**
|
|
125
112
|
* If `true`, screens this size and down are hidden.
|
|
126
113
|
*/
|
|
114
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
127
115
|
xlDown: PropTypes.bool,
|
|
128
116
|
|
|
129
117
|
/**
|
|
130
118
|
* If `true`, screens this size and up are hidden.
|
|
131
119
|
*/
|
|
120
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
132
121
|
xlUp: PropTypes.bool,
|
|
133
122
|
|
|
134
123
|
/**
|
|
135
124
|
* If `true`, screens this size and down are hidden.
|
|
136
125
|
*/
|
|
126
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
137
127
|
xsDown: PropTypes.bool,
|
|
138
128
|
|
|
139
129
|
/**
|
|
140
130
|
* If `true`, screens this size and up are hidden.
|
|
141
131
|
*/
|
|
132
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
142
133
|
xsUp: PropTypes.bool
|
|
143
|
-
};
|
|
134
|
+
} : void 0;
|
|
144
135
|
|
|
145
136
|
if (process.env.NODE_ENV !== 'production') {
|
|
146
|
-
HiddenJs.propTypes = exactProp(HiddenJs.propTypes);
|
|
137
|
+
process.env.NODE_ENV !== "production" ? HiddenJs.propTypes = exactProp(HiddenJs.propTypes) : void 0;
|
|
147
138
|
}
|
|
148
139
|
|
|
149
140
|
export default withWidth()(HiddenJs);
|
|
@@ -61,21 +61,23 @@ var NativeSelect = /*#__PURE__*/React.forwardRef(function NativeSelect(inProps,
|
|
|
61
61
|
var root = classesProp.root,
|
|
62
62
|
otherClasses = _objectWithoutProperties(classesProp, ["root"]);
|
|
63
63
|
|
|
64
|
-
return /*#__PURE__*/React.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
64
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
65
|
+
children: /*#__PURE__*/React.cloneElement(input, _extends({
|
|
66
|
+
// Most of the logic is implemented in `NativeSelectInput`.
|
|
67
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
68
|
+
inputComponent: NativeSelectInput,
|
|
69
|
+
inputProps: _extends({
|
|
70
|
+
children: children,
|
|
71
|
+
classes: otherClasses,
|
|
72
|
+
IconComponent: IconComponent,
|
|
73
|
+
variant: fcs.variant,
|
|
74
|
+
type: undefined
|
|
75
|
+
}, inputProps, input ? input.props.inputProps : {}),
|
|
76
|
+
ref: ref
|
|
77
|
+
}, other, {
|
|
78
|
+
className: clsx(classes.root, input.props.className, className)
|
|
79
|
+
}))
|
|
80
|
+
});
|
|
79
81
|
});
|
|
80
82
|
process.env.NODE_ENV !== "production" ? NativeSelect.propTypes
|
|
81
83
|
/* remove-proptypes */
|
package/legacy/Popper/Popper.js
CHANGED
|
@@ -18,7 +18,7 @@ var PopperRoot = styled(PopperUnstyled, {
|
|
|
18
18
|
* Demos:
|
|
19
19
|
*
|
|
20
20
|
* - [Autocomplete](https://mui.com/material-ui/react-autocomplete/)
|
|
21
|
-
* - [
|
|
21
|
+
* - [Menu](https://mui.com/material-ui/react-menu/)
|
|
22
22
|
* - [Popper](https://mui.com/material-ui/react-popper/)
|
|
23
23
|
*
|
|
24
24
|
* API:
|