@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/legacy/Select/Select.js
CHANGED
|
@@ -98,43 +98,45 @@ var Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
98
98
|
|
|
99
99
|
var classes = useUtilityClasses(ownerState);
|
|
100
100
|
var inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
101
|
-
return /*#__PURE__*/React.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
} : {
|
|
115
|
-
autoWidth: autoWidth,
|
|
116
|
-
defaultOpen: defaultOpen,
|
|
117
|
-
displayEmpty: displayEmpty,
|
|
118
|
-
labelId: labelId,
|
|
119
|
-
MenuProps: MenuProps,
|
|
120
|
-
onClose: onClose,
|
|
121
|
-
onOpen: onOpen,
|
|
122
|
-
open: open,
|
|
123
|
-
renderValue: renderValue,
|
|
124
|
-
SelectDisplayProps: _extends({
|
|
101
|
+
return /*#__PURE__*/_jsx(React.Fragment, {
|
|
102
|
+
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends({
|
|
103
|
+
// Most of the logic is implemented in `SelectInput`.
|
|
104
|
+
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
105
|
+
inputComponent: inputComponent,
|
|
106
|
+
inputProps: _extends({
|
|
107
|
+
children: children,
|
|
108
|
+
IconComponent: IconComponent,
|
|
109
|
+
variant: variant,
|
|
110
|
+
type: undefined,
|
|
111
|
+
// We render a select. We can ignore the type provided by the `Input`.
|
|
112
|
+
multiple: multiple
|
|
113
|
+
}, native ? {
|
|
125
114
|
id: id
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
115
|
+
} : {
|
|
116
|
+
autoWidth: autoWidth,
|
|
117
|
+
defaultOpen: defaultOpen,
|
|
118
|
+
displayEmpty: displayEmpty,
|
|
119
|
+
labelId: labelId,
|
|
120
|
+
MenuProps: MenuProps,
|
|
121
|
+
onClose: onClose,
|
|
122
|
+
onOpen: onOpen,
|
|
123
|
+
open: open,
|
|
124
|
+
renderValue: renderValue,
|
|
125
|
+
SelectDisplayProps: _extends({
|
|
126
|
+
id: id
|
|
127
|
+
}, SelectDisplayProps)
|
|
128
|
+
}, inputProps, {
|
|
129
|
+
classes: inputProps ? deepmerge(classes, inputProps.classes) : classes
|
|
130
|
+
}, input ? input.props.inputProps : {})
|
|
131
|
+
}, multiple && native && variant === 'outlined' ? {
|
|
132
|
+
notched: true
|
|
133
|
+
} : {}, {
|
|
134
|
+
ref: inputComponentRef,
|
|
135
|
+
className: clsx(InputComponent.props.className, className)
|
|
136
|
+
}, !input && {
|
|
137
|
+
variant: variant
|
|
138
|
+
}, other))
|
|
139
|
+
});
|
|
138
140
|
});
|
|
139
141
|
process.env.NODE_ENV !== "production" ? Select.propTypes
|
|
140
142
|
/* remove-proptypes */
|
package/legacy/Step/Step.js
CHANGED
|
@@ -50,13 +50,15 @@ var Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
50
50
|
var activeProp = props.active,
|
|
51
51
|
children = props.children,
|
|
52
52
|
className = props.className,
|
|
53
|
+
_props$component = props.component,
|
|
54
|
+
component = _props$component === void 0 ? 'div' : _props$component,
|
|
53
55
|
completedProp = props.completed,
|
|
54
56
|
disabledProp = props.disabled,
|
|
55
57
|
_props$expanded = props.expanded,
|
|
56
58
|
expanded = _props$expanded === void 0 ? false : _props$expanded,
|
|
57
59
|
index = props.index,
|
|
58
60
|
last = props.last,
|
|
59
|
-
other = _objectWithoutProperties(props, ["active", "children", "className", "completed", "disabled", "expanded", "index", "last"]);
|
|
61
|
+
other = _objectWithoutProperties(props, ["active", "children", "className", "component", "completed", "disabled", "expanded", "index", "last"]);
|
|
60
62
|
|
|
61
63
|
var _React$useContext = React.useContext(StepperContext),
|
|
62
64
|
activeStep = _React$useContext.activeStep,
|
|
@@ -98,12 +100,14 @@ var Step = /*#__PURE__*/React.forwardRef(function Step(inProps, ref) {
|
|
|
98
100
|
alternativeLabel: alternativeLabel,
|
|
99
101
|
completed: completed,
|
|
100
102
|
disabled: disabled,
|
|
101
|
-
expanded: expanded
|
|
103
|
+
expanded: expanded,
|
|
104
|
+
component: component
|
|
102
105
|
});
|
|
103
106
|
|
|
104
107
|
var classes = useUtilityClasses(ownerState);
|
|
105
108
|
|
|
106
109
|
var newChildren = /*#__PURE__*/_jsxs(StepRoot, _extends({
|
|
110
|
+
as: component,
|
|
107
111
|
className: clsx(classes.root, className),
|
|
108
112
|
ref: ref,
|
|
109
113
|
ownerState: ownerState
|
|
@@ -151,6 +155,12 @@ process.env.NODE_ENV !== "production" ? Step.propTypes
|
|
|
151
155
|
*/
|
|
152
156
|
completed: PropTypes.bool,
|
|
153
157
|
|
|
158
|
+
/**
|
|
159
|
+
* The component used for the root node.
|
|
160
|
+
* Either a string to use a HTML element or a component.
|
|
161
|
+
*/
|
|
162
|
+
component: PropTypes.elementType,
|
|
163
|
+
|
|
154
164
|
/**
|
|
155
165
|
* If `true`, the step is disabled, will also disable the button if
|
|
156
166
|
* `StepButton` is a child of `Step`. Is passed to child components.
|
|
@@ -57,17 +57,20 @@ var Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
57
57
|
alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,
|
|
58
58
|
children = props.children,
|
|
59
59
|
className = props.className,
|
|
60
|
+
_props$component = props.component,
|
|
61
|
+
component = _props$component === void 0 ? 'div' : _props$component,
|
|
60
62
|
_props$connector = props.connector,
|
|
61
63
|
connector = _props$connector === void 0 ? defaultConnector : _props$connector,
|
|
62
64
|
_props$nonLinear = props.nonLinear,
|
|
63
65
|
nonLinear = _props$nonLinear === void 0 ? false : _props$nonLinear,
|
|
64
66
|
_props$orientation = props.orientation,
|
|
65
67
|
orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,
|
|
66
|
-
other = _objectWithoutProperties(props, ["activeStep", "alternativeLabel", "children", "className", "connector", "nonLinear", "orientation"]);
|
|
68
|
+
other = _objectWithoutProperties(props, ["activeStep", "alternativeLabel", "children", "className", "component", "connector", "nonLinear", "orientation"]);
|
|
67
69
|
|
|
68
70
|
var ownerState = _extends({}, props, {
|
|
69
71
|
alternativeLabel: alternativeLabel,
|
|
70
|
-
orientation: orientation
|
|
72
|
+
orientation: orientation,
|
|
73
|
+
component: component
|
|
71
74
|
});
|
|
72
75
|
|
|
73
76
|
var classes = useUtilityClasses(ownerState);
|
|
@@ -90,6 +93,7 @@ var Stepper = /*#__PURE__*/React.forwardRef(function Stepper(inProps, ref) {
|
|
|
90
93
|
return /*#__PURE__*/_jsx(StepperContext.Provider, {
|
|
91
94
|
value: contextValue,
|
|
92
95
|
children: /*#__PURE__*/_jsx(StepperRoot, _extends({
|
|
96
|
+
as: component,
|
|
93
97
|
ownerState: ownerState,
|
|
94
98
|
className: clsx(classes.root, className),
|
|
95
99
|
ref: ref
|
|
@@ -135,6 +139,12 @@ process.env.NODE_ENV !== "production" ? Stepper.propTypes
|
|
|
135
139
|
*/
|
|
136
140
|
className: PropTypes.string,
|
|
137
141
|
|
|
142
|
+
/**
|
|
143
|
+
* The component used for the root node.
|
|
144
|
+
* Either a string to use a HTML element or a component.
|
|
145
|
+
*/
|
|
146
|
+
component: PropTypes.elementType,
|
|
147
|
+
|
|
138
148
|
/**
|
|
139
149
|
* An element to be placed between each step.
|
|
140
150
|
* @default <StepConnector />
|
|
@@ -243,6 +243,8 @@ process.env.NODE_ENV !== "production" ? ToggleButton.propTypes
|
|
|
243
243
|
* The value to associate with the button when selected in a
|
|
244
244
|
* ToggleButtonGroup.
|
|
245
245
|
*/
|
|
246
|
-
value: PropTypes
|
|
246
|
+
value: PropTypes
|
|
247
|
+
/* @typescript-to-proptypes-ignore */
|
|
248
|
+
.any.isRequired
|
|
247
249
|
} : void 0;
|
|
248
250
|
export default ToggleButton;
|
package/legacy/index.js
CHANGED
package/locale/index.d.ts
CHANGED
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
import { ComponentsPropsList } from '../styles/props';
|
|
2
|
-
export interface Localization {
|
|
3
|
-
components?: {
|
|
4
|
-
MuiAlert?: {
|
|
5
|
-
defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
|
|
6
|
-
};
|
|
7
|
-
MuiBreadcrumbs?: {
|
|
8
|
-
defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
|
|
9
|
-
};
|
|
10
|
-
MuiTablePagination?: {
|
|
11
|
-
defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
|
|
12
|
-
};
|
|
13
|
-
MuiRating?: {
|
|
14
|
-
defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
|
|
15
|
-
};
|
|
16
|
-
MuiAutocomplete?: {
|
|
17
|
-
defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
|
|
18
|
-
};
|
|
19
|
-
MuiPagination?: {
|
|
20
|
-
defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
export declare const amET: Localization;
|
|
25
|
-
export declare const arEG: Localization;
|
|
26
|
-
export declare const arSD: Localization;
|
|
27
|
-
export declare const azAZ: Localization;
|
|
28
|
-
export declare const bnBD: Localization;
|
|
29
|
-
export declare const bgBG: Localization;
|
|
30
|
-
export declare const caES: Localization;
|
|
31
|
-
export declare const csCZ: Localization;
|
|
32
|
-
export declare const daDK: Localization;
|
|
33
|
-
export declare const deDE: Localization;
|
|
34
|
-
export declare const elGR: Localization;
|
|
35
|
-
export declare const enUS: Localization;
|
|
36
|
-
export declare const esES: Localization;
|
|
37
|
-
export declare const etEE: Localization;
|
|
38
|
-
export declare const faIR: Localization;
|
|
39
|
-
export declare const fiFI: Localization;
|
|
40
|
-
export declare const frFR: Localization;
|
|
41
|
-
export declare const heIL: Localization;
|
|
42
|
-
export declare const hiIN: Localization;
|
|
43
|
-
export declare const hrHR: Localization;
|
|
44
|
-
export declare const huHU: Localization;
|
|
45
|
-
export declare const hyAM: Localization;
|
|
46
|
-
export declare const idID: Localization;
|
|
47
|
-
export declare const isIS: Localization;
|
|
48
|
-
export declare const itIT: Localization;
|
|
49
|
-
export declare const jaJP: Localization;
|
|
50
|
-
export declare const khKH: Localization;
|
|
51
|
-
export declare const koKR: Localization;
|
|
52
|
-
export declare const kzKZ: Localization;
|
|
53
|
-
export declare const mkMK: Localization;
|
|
54
|
-
export declare const nbNO: Localization;
|
|
55
|
-
export declare const nlNL: Localization;
|
|
56
|
-
export declare const plPL: Localization;
|
|
57
|
-
export declare const ptBR: Localization;
|
|
58
|
-
export declare const ptPT: Localization;
|
|
59
|
-
export declare const roRO: Localization;
|
|
60
|
-
export declare const srRS: Localization;
|
|
61
|
-
export declare const ruRU: Localization;
|
|
62
|
-
export declare const siLK: Localization;
|
|
63
|
-
export declare const skSK: Localization;
|
|
64
|
-
export declare const svSE: Localization;
|
|
65
|
-
export declare const thTH: Localization;
|
|
66
|
-
export declare const trTR: Localization;
|
|
67
|
-
export declare const ukUA: Localization;
|
|
68
|
-
export declare const viVN: Localization;
|
|
69
|
-
export declare const zhCN: Localization;
|
|
70
|
-
export declare const zhHK: Localization;
|
|
71
|
-
export declare const zhTW: Localization;
|
|
1
|
+
import { ComponentsPropsList } from '../styles/props';
|
|
2
|
+
export interface Localization {
|
|
3
|
+
components?: {
|
|
4
|
+
MuiAlert?: {
|
|
5
|
+
defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
|
|
6
|
+
};
|
|
7
|
+
MuiBreadcrumbs?: {
|
|
8
|
+
defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
|
|
9
|
+
};
|
|
10
|
+
MuiTablePagination?: {
|
|
11
|
+
defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
|
|
12
|
+
};
|
|
13
|
+
MuiRating?: {
|
|
14
|
+
defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
|
|
15
|
+
};
|
|
16
|
+
MuiAutocomplete?: {
|
|
17
|
+
defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
|
|
18
|
+
};
|
|
19
|
+
MuiPagination?: {
|
|
20
|
+
defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare const amET: Localization;
|
|
25
|
+
export declare const arEG: Localization;
|
|
26
|
+
export declare const arSD: Localization;
|
|
27
|
+
export declare const azAZ: Localization;
|
|
28
|
+
export declare const bnBD: Localization;
|
|
29
|
+
export declare const bgBG: Localization;
|
|
30
|
+
export declare const caES: Localization;
|
|
31
|
+
export declare const csCZ: Localization;
|
|
32
|
+
export declare const daDK: Localization;
|
|
33
|
+
export declare const deDE: Localization;
|
|
34
|
+
export declare const elGR: Localization;
|
|
35
|
+
export declare const enUS: Localization;
|
|
36
|
+
export declare const esES: Localization;
|
|
37
|
+
export declare const etEE: Localization;
|
|
38
|
+
export declare const faIR: Localization;
|
|
39
|
+
export declare const fiFI: Localization;
|
|
40
|
+
export declare const frFR: Localization;
|
|
41
|
+
export declare const heIL: Localization;
|
|
42
|
+
export declare const hiIN: Localization;
|
|
43
|
+
export declare const hrHR: Localization;
|
|
44
|
+
export declare const huHU: Localization;
|
|
45
|
+
export declare const hyAM: Localization;
|
|
46
|
+
export declare const idID: Localization;
|
|
47
|
+
export declare const isIS: Localization;
|
|
48
|
+
export declare const itIT: Localization;
|
|
49
|
+
export declare const jaJP: Localization;
|
|
50
|
+
export declare const khKH: Localization;
|
|
51
|
+
export declare const koKR: Localization;
|
|
52
|
+
export declare const kzKZ: Localization;
|
|
53
|
+
export declare const mkMK: Localization;
|
|
54
|
+
export declare const nbNO: Localization;
|
|
55
|
+
export declare const nlNL: Localization;
|
|
56
|
+
export declare const plPL: Localization;
|
|
57
|
+
export declare const ptBR: Localization;
|
|
58
|
+
export declare const ptPT: Localization;
|
|
59
|
+
export declare const roRO: Localization;
|
|
60
|
+
export declare const srRS: Localization;
|
|
61
|
+
export declare const ruRU: Localization;
|
|
62
|
+
export declare const siLK: Localization;
|
|
63
|
+
export declare const skSK: Localization;
|
|
64
|
+
export declare const svSE: Localization;
|
|
65
|
+
export declare const thTH: Localization;
|
|
66
|
+
export declare const trTR: Localization;
|
|
67
|
+
export declare const ukUA: Localization;
|
|
68
|
+
export declare const viVN: Localization;
|
|
69
|
+
export declare const zhCN: Localization;
|
|
70
|
+
export declare const zhHK: Localization;
|
|
71
|
+
export declare const zhTW: Localization;
|
|
@@ -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';
|
|
@@ -71,6 +71,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
71
71
|
const {
|
|
72
72
|
children: childrenProp,
|
|
73
73
|
className,
|
|
74
|
+
component = 'div',
|
|
74
75
|
componentsProps = {},
|
|
75
76
|
max = 5,
|
|
76
77
|
spacing = 'medium',
|
|
@@ -84,6 +85,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
84
85
|
const ownerState = _extends({}, props, {
|
|
85
86
|
max,
|
|
86
87
|
spacing,
|
|
88
|
+
component,
|
|
87
89
|
variant
|
|
88
90
|
});
|
|
89
91
|
|
|
@@ -108,6 +110,7 @@ const AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps,
|
|
|
108
110
|
const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
109
111
|
const marginLeft = spacing && SPACINGS[spacing] !== undefined ? SPACINGS[spacing] : -spacing;
|
|
110
112
|
return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({
|
|
113
|
+
as: component,
|
|
111
114
|
ownerState: ownerState,
|
|
112
115
|
className: clsx(classes.root, className),
|
|
113
116
|
ref: ref
|
|
@@ -157,6 +160,12 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes
|
|
|
157
160
|
*/
|
|
158
161
|
className: PropTypes.string,
|
|
159
162
|
|
|
163
|
+
/**
|
|
164
|
+
* The component used for the root node.
|
|
165
|
+
* Either a string to use a HTML element or a component.
|
|
166
|
+
*/
|
|
167
|
+
component: PropTypes.elementType,
|
|
168
|
+
|
|
160
169
|
/**
|
|
161
170
|
* The props used for each slot inside the AvatarGroup.
|
|
162
171
|
* @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
|
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/modern/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/modern/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 */
|