@mui/material 5.14.17 → 5.14.19
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/Autocomplete/Autocomplete.d.ts +3 -0
- package/Autocomplete/Autocomplete.js +24 -5
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/Box/Box.js +2 -1
- package/Box/boxClasses.d.ts +7 -0
- package/Box/boxClasses.js +3 -0
- package/Box/index.d.ts +3 -0
- package/Box/index.js +3 -1
- package/CHANGELOG.md +154 -6
- package/Chip/Chip.js +2 -2
- package/FilledInput/FilledInput.js +9 -6
- package/FormControlLabel/FormControlLabel.js +1 -2
- package/InputAdornment/InputAdornment.js +2 -2
- package/InputLabel/InputLabel.js +5 -1
- package/Modal/Modal.d.ts +3 -0
- package/Modal/Modal.js +3 -0
- package/Popper/Popper.js +3 -0
- package/Rating/Rating.js +4 -6
- package/Select/Select.d.ts +1 -2
- package/Select/SelectInput.js +2 -1
- package/StepButton/StepButton.js +1 -1
- package/TablePagination/TablePagination.d.ts +23 -0
- package/TablePagination/TablePagination.js +47 -12
- package/TablePagination/TablePaginationActions.d.ts +19 -0
- package/TablePagination/TablePaginationActions.js +35 -15
- package/index.js +1 -1
- package/legacy/Accordion/Accordion.js +4 -5
- package/legacy/AccordionSummary/AccordionSummary.js +5 -6
- package/legacy/Autocomplete/Autocomplete.js +55 -41
- package/legacy/AvatarGroup/AvatarGroup.js +2 -3
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Box/Box.js +2 -1
- package/legacy/Box/boxClasses.js +3 -0
- package/legacy/Box/index.js +3 -1
- package/legacy/Button/Button.js +10 -11
- package/legacy/ButtonBase/ButtonBase.js +4 -5
- package/legacy/ButtonGroup/ButtonGroup.js +4 -5
- package/legacy/CardActionArea/CardActionArea.js +4 -5
- package/legacy/CardHeader/CardHeader.js +1 -2
- package/legacy/Checkbox/Checkbox.js +3 -4
- package/legacy/Chip/Chip.js +29 -32
- package/legacy/FilledInput/FilledInput.js +20 -17
- package/legacy/FormControlLabel/FormControlLabel.js +1 -2
- package/legacy/FormHelperText/FormHelperText.js +4 -5
- package/legacy/FormLabel/FormLabel.js +5 -6
- package/legacy/Input/Input.js +7 -8
- package/legacy/InputAdornment/InputAdornment.js +2 -2
- package/legacy/InputBase/InputBase.js +5 -6
- package/legacy/InputLabel/InputLabel.js +5 -1
- package/legacy/ListItem/ListItem.js +4 -5
- package/legacy/ListItemButton/ListItemButton.js +6 -7
- package/legacy/MenuItem/MenuItem.js +11 -12
- package/legacy/Modal/Modal.js +3 -0
- package/legacy/NativeSelect/NativeSelectInput.js +6 -7
- package/legacy/OutlinedInput/OutlinedInput.js +7 -8
- package/legacy/PaginationItem/PaginationItem.js +9 -10
- package/legacy/Popper/Popper.js +3 -0
- package/legacy/Rating/Rating.js +8 -10
- package/legacy/Select/SelectInput.js +2 -1
- package/legacy/Slider/Slider.js +11 -14
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +4 -5
- package/legacy/StepButton/StepButton.js +1 -1
- package/legacy/StepIcon/StepIcon.js +5 -6
- package/legacy/StepLabel/StepLabel.js +10 -12
- package/legacy/Switch/Switch.js +14 -17
- package/legacy/Tab/Tab.js +10 -11
- package/legacy/TablePagination/TablePagination.js +53 -19
- package/legacy/TablePagination/TablePaginationActions.js +35 -14
- package/legacy/TableRow/TableRow.js +4 -5
- package/legacy/Tabs/Tabs.js +1 -2
- package/legacy/ToggleButton/ToggleButton.js +4 -5
- package/legacy/Tooltip/Tooltip.js +10 -12
- package/legacy/index.js +1 -1
- package/legacy/styles/createMixins.js +4 -5
- package/modern/Autocomplete/Autocomplete.js +24 -5
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Box/Box.js +2 -1
- package/modern/Box/boxClasses.js +3 -0
- package/modern/Box/index.js +3 -1
- package/modern/Chip/Chip.js +2 -2
- package/modern/FilledInput/FilledInput.js +9 -6
- package/modern/FormControlLabel/FormControlLabel.js +1 -2
- package/modern/InputAdornment/InputAdornment.js +2 -2
- package/modern/InputLabel/InputLabel.js +5 -1
- package/modern/Modal/Modal.js +3 -0
- package/modern/Popper/Popper.js +3 -0
- package/modern/Rating/Rating.js +4 -6
- package/modern/Select/SelectInput.js +2 -1
- package/modern/StepButton/StepButton.js +1 -1
- package/modern/TablePagination/TablePagination.js +46 -12
- package/modern/TablePagination/TablePaginationActions.js +34 -15
- package/modern/index.js +1 -1
- package/node/Autocomplete/Autocomplete.js +24 -5
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Box/Box.js +2 -1
- package/node/Box/boxClasses.js +9 -0
- package/node/Box/index.js +24 -1
- package/node/Chip/Chip.js +2 -2
- package/node/FilledInput/FilledInput.js +9 -6
- package/node/FormControlLabel/FormControlLabel.js +1 -2
- package/node/InputAdornment/InputAdornment.js +2 -2
- package/node/InputLabel/InputLabel.js +5 -1
- package/node/Modal/Modal.js +3 -0
- package/node/Popper/Popper.js +3 -0
- package/node/Rating/Rating.js +4 -6
- package/node/Select/SelectInput.js +2 -1
- package/node/StepButton/StepButton.js +1 -1
- package/node/TablePagination/TablePagination.js +47 -12
- package/node/TablePagination/TablePaginationActions.js +35 -15
- package/node/index.js +1 -1
- package/package.json +9 -9
- package/umd/material-ui.development.js +180 -102
- package/umd/material-ui.production.min.js +21 -21
package/legacy/Box/Box.js
CHANGED
|
@@ -5,11 +5,12 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import { unstable_ClassNameGenerator as ClassNameGenerator } from '../className';
|
|
6
6
|
import { createTheme } from '../styles';
|
|
7
7
|
import THEME_ID from '../styles/identifier';
|
|
8
|
+
import boxClasses from './boxClasses';
|
|
8
9
|
var defaultTheme = createTheme();
|
|
9
10
|
var Box = createBox({
|
|
10
11
|
themeId: THEME_ID,
|
|
11
12
|
defaultTheme: defaultTheme,
|
|
12
|
-
defaultClassName:
|
|
13
|
+
defaultClassName: boxClasses.root,
|
|
13
14
|
generateClassName: ClassNameGenerator.generate
|
|
14
15
|
});
|
|
15
16
|
process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
package/legacy/Box/index.js
CHANGED
package/legacy/Button/Button.js
CHANGED
|
@@ -60,12 +60,12 @@ var ButtonRoot = styled(ButtonBase, {
|
|
|
60
60
|
return [styles.root, styles[ownerState.variant], styles["".concat(ownerState.variant).concat(capitalize(ownerState.color))], styles["size".concat(capitalize(ownerState.size))], styles["".concat(ownerState.variant, "Size").concat(capitalize(ownerState.size))], ownerState.color === 'inherit' && styles.colorInherit, ownerState.disableElevation && styles.disableElevation, ownerState.fullWidth && styles.fullWidth];
|
|
61
61
|
}
|
|
62
62
|
})(function (_ref) {
|
|
63
|
-
var
|
|
63
|
+
var _theme$palette$getCon, _theme$palette;
|
|
64
64
|
var theme = _ref.theme,
|
|
65
65
|
ownerState = _ref.ownerState;
|
|
66
66
|
var inheritContainedBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[800];
|
|
67
67
|
var inheritContainedHoverBackgroundColor = theme.palette.mode === 'light' ? theme.palette.grey.A100 : theme.palette.grey[700];
|
|
68
|
-
return _extends({}, theme.typography.button, (
|
|
68
|
+
return _extends({}, theme.typography.button, _defineProperty(_defineProperty({
|
|
69
69
|
minWidth: 64,
|
|
70
70
|
padding: '6px 16px',
|
|
71
71
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
@@ -110,9 +110,9 @@ var ButtonRoot = styled(ButtonBase, {
|
|
|
110
110
|
'&:active': _extends({}, ownerState.variant === 'contained' && {
|
|
111
111
|
boxShadow: (theme.vars || theme).shadows[8]
|
|
112
112
|
})
|
|
113
|
-
},
|
|
113
|
+
}, "&.".concat(buttonClasses.focusVisible), _extends({}, ownerState.variant === 'contained' && {
|
|
114
114
|
boxShadow: (theme.vars || theme).shadows[6]
|
|
115
|
-
})),
|
|
115
|
+
})), "&.".concat(buttonClasses.disabled), _extends({
|
|
116
116
|
color: (theme.vars || theme).palette.action.disabled
|
|
117
117
|
}, ownerState.variant === 'outlined' && {
|
|
118
118
|
border: "1px solid ".concat((theme.vars || theme).palette.action.disabledBackground)
|
|
@@ -120,7 +120,7 @@ var ButtonRoot = styled(ButtonBase, {
|
|
|
120
120
|
color: (theme.vars || theme).palette.action.disabled,
|
|
121
121
|
boxShadow: (theme.vars || theme).shadows[0],
|
|
122
122
|
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
123
|
-
})),
|
|
123
|
+
})), ownerState.variant === 'text' && {
|
|
124
124
|
padding: '6px 8px'
|
|
125
125
|
}, ownerState.variant === 'text' && ownerState.color !== 'inherit' && {
|
|
126
126
|
color: (theme.vars || theme).palette[ownerState.color].main
|
|
@@ -164,20 +164,19 @@ var ButtonRoot = styled(ButtonBase, {
|
|
|
164
164
|
width: '100%'
|
|
165
165
|
});
|
|
166
166
|
}, function (_ref2) {
|
|
167
|
-
var _ref3;
|
|
168
167
|
var ownerState = _ref2.ownerState;
|
|
169
|
-
return ownerState.disableElevation && (
|
|
168
|
+
return ownerState.disableElevation && _defineProperty(_defineProperty(_defineProperty({
|
|
170
169
|
boxShadow: 'none',
|
|
171
170
|
'&:hover': {
|
|
172
171
|
boxShadow: 'none'
|
|
173
172
|
}
|
|
174
|
-
},
|
|
173
|
+
}, "&.".concat(buttonClasses.focusVisible), {
|
|
175
174
|
boxShadow: 'none'
|
|
176
|
-
}),
|
|
175
|
+
}), '&:active', {
|
|
177
176
|
boxShadow: 'none'
|
|
178
|
-
}),
|
|
177
|
+
}), "&.".concat(buttonClasses.disabled), {
|
|
179
178
|
boxShadow: 'none'
|
|
180
|
-
})
|
|
179
|
+
});
|
|
181
180
|
});
|
|
182
181
|
var ButtonStartIcon = styled('span', {
|
|
183
182
|
name: 'MuiButton',
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
5
5
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
6
|
-
var _styled;
|
|
7
6
|
import * as React from 'react';
|
|
8
7
|
import PropTypes from 'prop-types';
|
|
9
8
|
import clsx from 'clsx';
|
|
@@ -38,7 +37,7 @@ export var ButtonBaseRoot = styled('button', {
|
|
|
38
37
|
overridesResolver: function overridesResolver(props, styles) {
|
|
39
38
|
return styles.root;
|
|
40
39
|
}
|
|
41
|
-
})((
|
|
40
|
+
})(_defineProperty(_defineProperty({
|
|
42
41
|
display: 'inline-flex',
|
|
43
42
|
alignItems: 'center',
|
|
44
43
|
justifyContent: 'center',
|
|
@@ -68,13 +67,13 @@ export var ButtonBaseRoot = styled('button', {
|
|
|
68
67
|
'&::-moz-focus-inner': {
|
|
69
68
|
borderStyle: 'none' // Remove Firefox dotted outline.
|
|
70
69
|
}
|
|
71
|
-
},
|
|
70
|
+
}, "&.".concat(buttonBaseClasses.disabled), {
|
|
72
71
|
pointerEvents: 'none',
|
|
73
72
|
// Disable link interactions
|
|
74
73
|
cursor: 'default'
|
|
75
|
-
}),
|
|
74
|
+
}), '@media print', {
|
|
76
75
|
colorAdjust: 'exact'
|
|
77
|
-
})
|
|
76
|
+
}));
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
79
|
* `ButtonBase` contains as few styles as possible.
|
|
@@ -42,7 +42,6 @@ var ButtonGroupRoot = styled('div', {
|
|
|
42
42
|
slot: 'Root',
|
|
43
43
|
overridesResolver: overridesResolver
|
|
44
44
|
})(function (_ref9) {
|
|
45
|
-
var _extends2;
|
|
46
45
|
var theme = _ref9.theme,
|
|
47
46
|
ownerState = _ref9.ownerState;
|
|
48
47
|
return _extends({
|
|
@@ -56,14 +55,14 @@ var ButtonGroupRoot = styled('div', {
|
|
|
56
55
|
width: '100%'
|
|
57
56
|
}, ownerState.orientation === 'vertical' && {
|
|
58
57
|
flexDirection: 'column'
|
|
59
|
-
}, (
|
|
58
|
+
}, _defineProperty(_defineProperty(_defineProperty({}, "& .".concat(buttonGroupClasses.grouped), _extends({
|
|
60
59
|
minWidth: 40,
|
|
61
60
|
'&:hover': _extends({}, ownerState.variant === 'contained' && {
|
|
62
61
|
boxShadow: 'none'
|
|
63
62
|
})
|
|
64
63
|
}, ownerState.variant === 'contained' && {
|
|
65
64
|
boxShadow: 'none'
|
|
66
|
-
})),
|
|
65
|
+
})), "& .".concat(buttonGroupClasses.firstButton, ",& .").concat(buttonGroupClasses.middleButton), _extends({}, ownerState.orientation === 'horizontal' && {
|
|
67
66
|
borderTopRightRadius: 0,
|
|
68
67
|
borderBottomRightRadius: 0
|
|
69
68
|
}, ownerState.orientation === 'vertical' && {
|
|
@@ -99,7 +98,7 @@ var ButtonGroupRoot = styled('div', {
|
|
|
99
98
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
100
99
|
borderBottomColor: 'currentColor'
|
|
101
100
|
})
|
|
102
|
-
})),
|
|
101
|
+
})), "& .".concat(buttonGroupClasses.lastButton, ",& .").concat(buttonGroupClasses.middleButton), _extends({}, ownerState.orientation === 'horizontal' && {
|
|
103
102
|
borderTopLeftRadius: 0,
|
|
104
103
|
borderBottomLeftRadius: 0
|
|
105
104
|
}, ownerState.orientation === 'vertical' && {
|
|
@@ -109,7 +108,7 @@ var ButtonGroupRoot = styled('div', {
|
|
|
109
108
|
marginLeft: -1
|
|
110
109
|
}, ownerState.variant === 'outlined' && ownerState.orientation === 'vertical' && {
|
|
111
110
|
marginTop: -1
|
|
112
|
-
}))
|
|
111
|
+
})));
|
|
113
112
|
});
|
|
114
113
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup(inProps, ref) {
|
|
115
114
|
var props = useThemeProps({
|
|
@@ -28,22 +28,21 @@ var CardActionAreaRoot = styled(ButtonBase, {
|
|
|
28
28
|
return styles.root;
|
|
29
29
|
}
|
|
30
30
|
})(function (_ref) {
|
|
31
|
-
var _ref2;
|
|
32
31
|
var theme = _ref.theme;
|
|
33
|
-
return
|
|
32
|
+
return _defineProperty(_defineProperty({
|
|
34
33
|
display: 'block',
|
|
35
34
|
textAlign: 'inherit',
|
|
36
35
|
borderRadius: 'inherit',
|
|
37
36
|
// for Safari to work https://github.com/mui/material-ui/issues/36285.
|
|
38
37
|
width: '100%'
|
|
39
|
-
},
|
|
38
|
+
}, "&:hover .".concat(cardActionAreaClasses.focusHighlight), {
|
|
40
39
|
opacity: (theme.vars || theme).palette.action.hoverOpacity,
|
|
41
40
|
'@media (hover: none)': {
|
|
42
41
|
opacity: 0
|
|
43
42
|
}
|
|
44
|
-
}),
|
|
43
|
+
}), "&.".concat(cardActionAreaClasses.focusVisible, " .").concat(cardActionAreaClasses.focusHighlight), {
|
|
45
44
|
opacity: (theme.vars || theme).palette.action.focusOpacity
|
|
46
|
-
})
|
|
45
|
+
});
|
|
47
46
|
});
|
|
48
47
|
var CardActionAreaFocusHighlight = styled('span', {
|
|
49
48
|
name: 'MuiCardActionArea',
|
|
@@ -29,8 +29,7 @@ var CardHeaderRoot = styled('div', {
|
|
|
29
29
|
name: 'MuiCardHeader',
|
|
30
30
|
slot: 'Root',
|
|
31
31
|
overridesResolver: function overridesResolver(props, styles) {
|
|
32
|
-
|
|
33
|
-
return _extends((_extends2 = {}, _defineProperty(_extends2, "& .".concat(cardHeaderClasses.title), styles.title), _defineProperty(_extends2, "& .".concat(cardHeaderClasses.subheader), styles.subheader), _extends2), styles.root);
|
|
32
|
+
return _extends(_defineProperty(_defineProperty({}, "& .".concat(cardHeaderClasses.title), styles.title), "& .".concat(cardHeaderClasses.subheader), styles.subheader), styles.root);
|
|
34
33
|
}
|
|
35
34
|
})({
|
|
36
35
|
display: 'flex',
|
|
@@ -40,7 +40,6 @@ var CheckboxRoot = styled(SwitchBase, {
|
|
|
40
40
|
return [styles.root, ownerState.indeterminate && styles.indeterminate, styles["size".concat(capitalize(ownerState.size))], ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))]];
|
|
41
41
|
}
|
|
42
42
|
})(function (_ref) {
|
|
43
|
-
var _ref2;
|
|
44
43
|
var theme = _ref.theme,
|
|
45
44
|
ownerState = _ref.ownerState;
|
|
46
45
|
return _extends({
|
|
@@ -53,11 +52,11 @@ var CheckboxRoot = styled(SwitchBase, {
|
|
|
53
52
|
backgroundColor: 'transparent'
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
|
-
}, ownerState.color !== 'default' && (
|
|
55
|
+
}, ownerState.color !== 'default' && _defineProperty(_defineProperty({}, "&.".concat(checkboxClasses.checked, ", &.").concat(checkboxClasses.indeterminate), {
|
|
57
56
|
color: (theme.vars || theme).palette[ownerState.color].main
|
|
58
|
-
}),
|
|
57
|
+
}), "&.".concat(checkboxClasses.disabled), {
|
|
59
58
|
color: (theme.vars || theme).palette.action.disabled
|
|
60
|
-
})
|
|
59
|
+
}));
|
|
61
60
|
});
|
|
62
61
|
var defaultCheckedIcon = /*#__PURE__*/_jsx(CheckBoxIcon, {});
|
|
63
62
|
var defaultIcon = /*#__PURE__*/_jsx(CheckBoxOutlineBlankIcon, {});
|
package/legacy/Chip/Chip.js
CHANGED
|
@@ -50,11 +50,10 @@ var ChipRoot = styled('div', {
|
|
|
50
50
|
return [_defineProperty({}, "& .".concat(chipClasses.avatar), styles.avatar), _defineProperty({}, "& .".concat(chipClasses.avatar), styles["avatar".concat(capitalize(size))]), _defineProperty({}, "& .".concat(chipClasses.avatar), styles["avatarColor".concat(capitalize(color))]), _defineProperty({}, "& .".concat(chipClasses.icon), styles.icon), _defineProperty({}, "& .".concat(chipClasses.icon), styles["icon".concat(capitalize(size))]), _defineProperty({}, "& .".concat(chipClasses.icon), styles["iconColor".concat(capitalize(iconColor))]), _defineProperty({}, "& .".concat(chipClasses.deleteIcon), styles.deleteIcon), _defineProperty({}, "& .".concat(chipClasses.deleteIcon), styles["deleteIcon".concat(capitalize(size))]), _defineProperty({}, "& .".concat(chipClasses.deleteIcon), styles["deleteIconColor".concat(capitalize(color))]), _defineProperty({}, "& .".concat(chipClasses.deleteIcon), styles["deleteIcon".concat(capitalize(variant), "Color").concat(capitalize(color))]), styles.root, styles["size".concat(capitalize(size))], styles["color".concat(capitalize(color))], clickable && styles.clickable, clickable && color !== 'default' && styles["clickableColor".concat(capitalize(color), ")")], onDelete && styles.deletable, onDelete && color !== 'default' && styles["deletableColor".concat(capitalize(color))], styles[variant], styles["".concat(variant).concat(capitalize(color))]];
|
|
51
51
|
}
|
|
52
52
|
})(function (_ref11) {
|
|
53
|
-
var _extends2;
|
|
54
53
|
var theme = _ref11.theme,
|
|
55
54
|
ownerState = _ref11.ownerState;
|
|
56
55
|
var textColor = theme.palette.mode === 'light' ? theme.palette.grey[700] : theme.palette.grey[300];
|
|
57
|
-
return _extends((
|
|
56
|
+
return _extends(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
58
57
|
maxWidth: '100%',
|
|
59
58
|
fontFamily: theme.typography.fontFamily,
|
|
60
59
|
fontSize: theme.typography.pxToRem(13),
|
|
@@ -78,29 +77,29 @@ var ChipRoot = styled('div', {
|
|
|
78
77
|
// Remove `button` padding
|
|
79
78
|
verticalAlign: 'middle',
|
|
80
79
|
boxSizing: 'border-box'
|
|
81
|
-
},
|
|
80
|
+
}, "&.".concat(chipClasses.disabled), {
|
|
82
81
|
opacity: (theme.vars || theme).palette.action.disabledOpacity,
|
|
83
82
|
pointerEvents: 'none'
|
|
84
|
-
}),
|
|
83
|
+
}), "& .".concat(chipClasses.avatar), {
|
|
85
84
|
marginLeft: 5,
|
|
86
85
|
marginRight: -6,
|
|
87
86
|
width: 24,
|
|
88
87
|
height: 24,
|
|
89
88
|
color: theme.vars ? theme.vars.palette.Chip.defaultAvatarColor : textColor,
|
|
90
89
|
fontSize: theme.typography.pxToRem(12)
|
|
91
|
-
}),
|
|
90
|
+
}), "& .".concat(chipClasses.avatarColorPrimary), {
|
|
92
91
|
color: (theme.vars || theme).palette.primary.contrastText,
|
|
93
92
|
backgroundColor: (theme.vars || theme).palette.primary.dark
|
|
94
|
-
}),
|
|
93
|
+
}), "& .".concat(chipClasses.avatarColorSecondary), {
|
|
95
94
|
color: (theme.vars || theme).palette.secondary.contrastText,
|
|
96
95
|
backgroundColor: (theme.vars || theme).palette.secondary.dark
|
|
97
|
-
}),
|
|
96
|
+
}), "& .".concat(chipClasses.avatarSmall), {
|
|
98
97
|
marginLeft: 4,
|
|
99
98
|
marginRight: -4,
|
|
100
99
|
width: 18,
|
|
101
100
|
height: 18,
|
|
102
101
|
fontSize: theme.typography.pxToRem(10)
|
|
103
|
-
}),
|
|
102
|
+
}), "& .".concat(chipClasses.icon), _extends({
|
|
104
103
|
marginLeft: 5,
|
|
105
104
|
marginRight: -6
|
|
106
105
|
}, ownerState.size === 'small' && {
|
|
@@ -111,7 +110,7 @@ var ChipRoot = styled('div', {
|
|
|
111
110
|
color: theme.vars ? theme.vars.palette.Chip.defaultIconColor : textColor
|
|
112
111
|
}, ownerState.color !== 'default' && {
|
|
113
112
|
color: 'inherit'
|
|
114
|
-
}))),
|
|
113
|
+
}))), "& .".concat(chipClasses.deleteIcon), _extends({
|
|
115
114
|
WebkitTapHighlightColor: 'transparent',
|
|
116
115
|
color: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / 0.26)") : alpha(theme.palette.text.primary, 0.26),
|
|
117
116
|
fontSize: 22,
|
|
@@ -129,7 +128,7 @@ var ChipRoot = styled('div', {
|
|
|
129
128
|
'&:hover, &:active': {
|
|
130
129
|
color: (theme.vars || theme).palette[ownerState.color].contrastText
|
|
131
130
|
}
|
|
132
|
-
})),
|
|
131
|
+
})), ownerState.size === 'small' && {
|
|
133
132
|
height: 24
|
|
134
133
|
}, ownerState.color !== 'default' && {
|
|
135
134
|
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
@@ -140,59 +139,57 @@ var ChipRoot = styled('div', {
|
|
|
140
139
|
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
|
|
141
140
|
}));
|
|
142
141
|
}, function (_ref14) {
|
|
143
|
-
var _ref15;
|
|
144
142
|
var theme = _ref14.theme,
|
|
145
143
|
ownerState = _ref14.ownerState;
|
|
146
|
-
return _extends({}, ownerState.clickable && (
|
|
144
|
+
return _extends({}, ownerState.clickable && _defineProperty(_defineProperty({
|
|
147
145
|
userSelect: 'none',
|
|
148
146
|
WebkitTapHighlightColor: 'transparent',
|
|
149
147
|
cursor: 'pointer',
|
|
150
148
|
'&:hover': {
|
|
151
149
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity)
|
|
152
150
|
}
|
|
153
|
-
},
|
|
151
|
+
}, "&.".concat(chipClasses.focusVisible), {
|
|
154
152
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.selectedChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
155
|
-
}),
|
|
153
|
+
}), '&:active', {
|
|
156
154
|
boxShadow: (theme.vars || theme).shadows[1]
|
|
157
|
-
}),
|
|
155
|
+
}), ownerState.clickable && ownerState.color !== 'default' && _defineProperty({}, "&:hover, &.".concat(chipClasses.focusVisible), {
|
|
158
156
|
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark
|
|
159
157
|
}));
|
|
160
158
|
}, function (_ref17) {
|
|
161
|
-
var _ref18, _ref19;
|
|
162
159
|
var theme = _ref17.theme,
|
|
163
160
|
ownerState = _ref17.ownerState;
|
|
164
|
-
return _extends({}, ownerState.variant === 'outlined' && (
|
|
161
|
+
return _extends({}, ownerState.variant === 'outlined' && _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
165
162
|
backgroundColor: 'transparent',
|
|
166
163
|
border: theme.vars ? "1px solid ".concat(theme.vars.palette.Chip.defaultBorder) : "1px solid ".concat(theme.palette.mode === 'light' ? theme.palette.grey[400] : theme.palette.grey[700])
|
|
167
|
-
},
|
|
164
|
+
}, "&.".concat(chipClasses.clickable, ":hover"), {
|
|
168
165
|
backgroundColor: (theme.vars || theme).palette.action.hover
|
|
169
|
-
}),
|
|
166
|
+
}), "&.".concat(chipClasses.focusVisible), {
|
|
170
167
|
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
171
|
-
}),
|
|
168
|
+
}), "& .".concat(chipClasses.avatar), {
|
|
172
169
|
marginLeft: 4
|
|
173
|
-
}),
|
|
170
|
+
}), "& .".concat(chipClasses.avatarSmall), {
|
|
174
171
|
marginLeft: 2
|
|
175
|
-
}),
|
|
172
|
+
}), "& .".concat(chipClasses.icon), {
|
|
176
173
|
marginLeft: 4
|
|
177
|
-
}),
|
|
174
|
+
}), "& .".concat(chipClasses.iconSmall), {
|
|
178
175
|
marginLeft: 2
|
|
179
|
-
}),
|
|
176
|
+
}), "& .".concat(chipClasses.deleteIcon), {
|
|
180
177
|
marginRight: 5
|
|
181
|
-
}),
|
|
178
|
+
}), "& .".concat(chipClasses.deleteIconSmall), {
|
|
182
179
|
marginRight: 3
|
|
183
|
-
}),
|
|
180
|
+
}), ownerState.variant === 'outlined' && ownerState.color !== 'default' && _defineProperty(_defineProperty(_defineProperty({
|
|
184
181
|
color: (theme.vars || theme).palette[ownerState.color].main,
|
|
185
182
|
border: "1px solid ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / 0.7)") : alpha(theme.palette[ownerState.color].main, 0.7))
|
|
186
|
-
},
|
|
183
|
+
}, "&.".concat(chipClasses.clickable, ":hover"), {
|
|
187
184
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette[ownerState.color].main, theme.palette.action.hoverOpacity)
|
|
188
|
-
}),
|
|
185
|
+
}), "&.".concat(chipClasses.focusVisible), {
|
|
189
186
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / ").concat(theme.vars.palette.action.focusOpacity, ")") : alpha(theme.palette[ownerState.color].main, theme.palette.action.focusOpacity)
|
|
190
|
-
}),
|
|
187
|
+
}), "& .".concat(chipClasses.deleteIcon), {
|
|
191
188
|
color: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / 0.7)") : alpha(theme.palette[ownerState.color].main, 0.7),
|
|
192
189
|
'&:hover, &:active': {
|
|
193
190
|
color: (theme.vars || theme).palette[ownerState.color].main
|
|
194
191
|
}
|
|
195
|
-
})
|
|
192
|
+
}));
|
|
196
193
|
});
|
|
197
194
|
var ChipLabel = styled('span', {
|
|
198
195
|
name: 'MuiChip',
|
|
@@ -310,10 +307,10 @@ var Chip = /*#__PURE__*/React.forwardRef(function Chip(inProps, ref) {
|
|
|
310
307
|
}) : {};
|
|
311
308
|
var deleteIcon = null;
|
|
312
309
|
if (onDelete) {
|
|
313
|
-
deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? /*#__PURE__*/React.cloneElement(deleteIconProp, {
|
|
310
|
+
deleteIcon = deleteIconProp && /*#__PURE__*/React.isValidElement(deleteIconProp) ? ( /*#__PURE__*/React.cloneElement(deleteIconProp, {
|
|
314
311
|
className: clsx(deleteIconProp.props.className, classes.deleteIcon),
|
|
315
312
|
onClick: handleDeleteIconClick
|
|
316
|
-
}) : /*#__PURE__*/_jsx(CancelIcon, {
|
|
313
|
+
})) : /*#__PURE__*/_jsx(CancelIcon, {
|
|
317
314
|
className: clsx(classes.deleteIcon),
|
|
318
315
|
onClick: handleDeleteIconClick
|
|
319
316
|
});
|
|
@@ -35,7 +35,7 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
35
35
|
return [].concat(_toConsumableArray(inputBaseRootOverridesResolver(props, styles)), [!ownerState.disableUnderline && styles.underline]);
|
|
36
36
|
}
|
|
37
37
|
})(function (_ref) {
|
|
38
|
-
var
|
|
38
|
+
var _palette;
|
|
39
39
|
var theme = _ref.theme,
|
|
40
40
|
ownerState = _ref.ownerState;
|
|
41
41
|
var light = theme.palette.mode === 'light';
|
|
@@ -43,7 +43,7 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
43
43
|
var backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
|
|
44
44
|
var hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';
|
|
45
45
|
var disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';
|
|
46
|
-
return _extends((
|
|
46
|
+
return _extends(_defineProperty(_defineProperty({
|
|
47
47
|
position: 'relative',
|
|
48
48
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,
|
|
49
49
|
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
@@ -59,11 +59,11 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
59
59
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
},
|
|
62
|
+
}, "&.".concat(filledInputClasses.focused), {
|
|
63
63
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor
|
|
64
|
-
}),
|
|
64
|
+
}), "&.".concat(filledInputClasses.disabled), {
|
|
65
65
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.disabledBg : disabledBackground
|
|
66
|
-
}),
|
|
66
|
+
}), !ownerState.disableUnderline && _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
67
67
|
'&:after': {
|
|
68
68
|
borderBottom: "2px solid ".concat((_palette = (theme.vars || theme).palette[ownerState.color || 'primary']) == null ? void 0 : _palette.main),
|
|
69
69
|
left: 0,
|
|
@@ -79,15 +79,15 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
79
79
|
}),
|
|
80
80
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
81
81
|
}
|
|
82
|
-
},
|
|
82
|
+
}, "&.".concat(filledInputClasses.focused, ":after"), {
|
|
83
83
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
84
84
|
// See https://github.com/mui/material-ui/issues/31766
|
|
85
85
|
transform: 'scaleX(1) translateX(0)'
|
|
86
|
-
}),
|
|
86
|
+
}), "&.".concat(filledInputClasses.error), {
|
|
87
87
|
'&:before, &:after': {
|
|
88
88
|
borderBottomColor: (theme.vars || theme).palette.error.main
|
|
89
89
|
}
|
|
90
|
-
}),
|
|
90
|
+
}), '&:before', {
|
|
91
91
|
borderBottom: "1px solid ".concat(theme.vars ? "rgba(".concat(theme.vars.palette.common.onBackgroundChannel, " / ").concat(theme.vars.opacity.inputUnderline, ")") : bottomLineColor),
|
|
92
92
|
left: 0,
|
|
93
93
|
bottom: 0,
|
|
@@ -99,11 +99,11 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
99
99
|
duration: theme.transitions.duration.shorter
|
|
100
100
|
}),
|
|
101
101
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
102
|
-
}),
|
|
102
|
+
}), "&:hover:not(.".concat(filledInputClasses.disabled, ", .").concat(filledInputClasses.error, "):before"), {
|
|
103
103
|
borderBottom: "1px solid ".concat((theme.vars || theme).palette.text.primary)
|
|
104
|
-
}),
|
|
104
|
+
}), "&.".concat(filledInputClasses.disabled, ":before"), {
|
|
105
105
|
borderBottomStyle: 'dotted'
|
|
106
|
-
}),
|
|
106
|
+
}), ownerState.startAdornment && {
|
|
107
107
|
paddingLeft: 12
|
|
108
108
|
}, ownerState.endAdornment && {
|
|
109
109
|
paddingRight: 12
|
|
@@ -115,6 +115,9 @@ var FilledInputRoot = styled(InputBaseRoot, {
|
|
|
115
115
|
}, ownerState.hiddenLabel && {
|
|
116
116
|
paddingTop: 16,
|
|
117
117
|
paddingBottom: 17
|
|
118
|
+
}, ownerState.hiddenLabel && ownerState.size === 'small' && {
|
|
119
|
+
paddingTop: 8,
|
|
120
|
+
paddingBottom: 9
|
|
118
121
|
}));
|
|
119
122
|
});
|
|
120
123
|
var FilledInputInput = styled(InputBaseInput, {
|
|
@@ -154,11 +157,6 @@ var FilledInputInput = styled(InputBaseInput, {
|
|
|
154
157
|
}, ownerState.hiddenLabel && {
|
|
155
158
|
paddingTop: 16,
|
|
156
159
|
paddingBottom: 17
|
|
157
|
-
}, ownerState.multiline && {
|
|
158
|
-
paddingTop: 0,
|
|
159
|
-
paddingBottom: 0,
|
|
160
|
-
paddingLeft: 0,
|
|
161
|
-
paddingRight: 0
|
|
162
160
|
}, ownerState.startAdornment && {
|
|
163
161
|
paddingLeft: 0
|
|
164
162
|
}, ownerState.endAdornment && {
|
|
@@ -166,6 +164,11 @@ var FilledInputInput = styled(InputBaseInput, {
|
|
|
166
164
|
}, ownerState.hiddenLabel && ownerState.size === 'small' && {
|
|
167
165
|
paddingTop: 8,
|
|
168
166
|
paddingBottom: 9
|
|
167
|
+
}, ownerState.multiline && {
|
|
168
|
+
paddingTop: 0,
|
|
169
|
+
paddingBottom: 0,
|
|
170
|
+
paddingLeft: 0,
|
|
171
|
+
paddingRight: 0
|
|
169
172
|
});
|
|
170
173
|
});
|
|
171
174
|
var FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps, ref) {
|
|
@@ -206,7 +209,7 @@ var FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps, re
|
|
|
206
209
|
ownerState: ownerState
|
|
207
210
|
}
|
|
208
211
|
};
|
|
209
|
-
var componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp
|
|
212
|
+
var componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
|
|
210
213
|
var RootSlot = (_ref5 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref5 : FilledInputRoot;
|
|
211
214
|
var InputSlot = (_ref6 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref6 : FilledInputInput;
|
|
212
215
|
return /*#__PURE__*/_jsx(InputBase, _extends({
|
|
@@ -148,8 +148,7 @@ var FormControlLabel = /*#__PURE__*/React.forwardRef(function FormControlLabel(i
|
|
|
148
148
|
ref: ref
|
|
149
149
|
}, other, {
|
|
150
150
|
children: [/*#__PURE__*/React.cloneElement(control, controlProps), required ? /*#__PURE__*/_jsxs(Stack, {
|
|
151
|
-
|
|
152
|
-
alignItems: "center",
|
|
151
|
+
display: "block",
|
|
153
152
|
children: [label, /*#__PURE__*/_jsxs(AsteriskComponent, {
|
|
154
153
|
ownerState: ownerState,
|
|
155
154
|
"aria-hidden": true,
|
|
@@ -37,22 +37,21 @@ var FormHelperTextRoot = styled('p', {
|
|
|
37
37
|
return [styles.root, ownerState.size && styles["size".concat(capitalize(ownerState.size))], ownerState.contained && styles.contained, ownerState.filled && styles.filled];
|
|
38
38
|
}
|
|
39
39
|
})(function (_ref) {
|
|
40
|
-
var _extends2;
|
|
41
40
|
var theme = _ref.theme,
|
|
42
41
|
ownerState = _ref.ownerState;
|
|
43
42
|
return _extends({
|
|
44
43
|
color: (theme.vars || theme).palette.text.secondary
|
|
45
|
-
}, theme.typography.caption, (
|
|
44
|
+
}, theme.typography.caption, _defineProperty(_defineProperty({
|
|
46
45
|
textAlign: 'left',
|
|
47
46
|
marginTop: 3,
|
|
48
47
|
marginRight: 0,
|
|
49
48
|
marginBottom: 0,
|
|
50
49
|
marginLeft: 0
|
|
51
|
-
},
|
|
50
|
+
}, "&.".concat(formHelperTextClasses.disabled), {
|
|
52
51
|
color: (theme.vars || theme).palette.text.disabled
|
|
53
|
-
}),
|
|
52
|
+
}), "&.".concat(formHelperTextClasses.error), {
|
|
54
53
|
color: (theme.vars || theme).palette.error.main
|
|
55
|
-
}),
|
|
54
|
+
}), ownerState.size === 'small' && {
|
|
56
55
|
marginTop: 4
|
|
57
56
|
}, ownerState.contained && {
|
|
58
57
|
marginLeft: 14,
|
|
@@ -36,22 +36,21 @@ export var FormLabelRoot = styled('label', {
|
|
|
36
36
|
return _extends({}, styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled);
|
|
37
37
|
}
|
|
38
38
|
})(function (_ref2) {
|
|
39
|
-
var _extends2;
|
|
40
39
|
var theme = _ref2.theme,
|
|
41
40
|
ownerState = _ref2.ownerState;
|
|
42
41
|
return _extends({
|
|
43
42
|
color: (theme.vars || theme).palette.text.secondary
|
|
44
|
-
}, theme.typography.body1, (
|
|
43
|
+
}, theme.typography.body1, _defineProperty(_defineProperty(_defineProperty({
|
|
45
44
|
lineHeight: '1.4375em',
|
|
46
45
|
padding: 0,
|
|
47
46
|
position: 'relative'
|
|
48
|
-
},
|
|
47
|
+
}, "&.".concat(formLabelClasses.focused), {
|
|
49
48
|
color: (theme.vars || theme).palette[ownerState.color].main
|
|
50
|
-
}),
|
|
49
|
+
}), "&.".concat(formLabelClasses.disabled), {
|
|
51
50
|
color: (theme.vars || theme).palette.text.disabled
|
|
52
|
-
}),
|
|
51
|
+
}), "&.".concat(formLabelClasses.error), {
|
|
53
52
|
color: (theme.vars || theme).palette.error.main
|
|
54
|
-
})
|
|
53
|
+
}));
|
|
55
54
|
});
|
|
56
55
|
var AsteriskComponent = styled('span', {
|
|
57
56
|
name: 'MuiFormLabel',
|
package/legacy/Input/Input.js
CHANGED
|
@@ -35,7 +35,6 @@ var InputRoot = styled(InputBaseRoot, {
|
|
|
35
35
|
return [].concat(_toConsumableArray(inputBaseRootOverridesResolver(props, styles)), [!ownerState.disableUnderline && styles.underline]);
|
|
36
36
|
}
|
|
37
37
|
})(function (_ref) {
|
|
38
|
-
var _ref2;
|
|
39
38
|
var theme = _ref.theme,
|
|
40
39
|
ownerState = _ref.ownerState;
|
|
41
40
|
var light = theme.palette.mode === 'light';
|
|
@@ -49,7 +48,7 @@ var InputRoot = styled(InputBaseRoot, {
|
|
|
49
48
|
'label + &': {
|
|
50
49
|
marginTop: 16
|
|
51
50
|
}
|
|
52
|
-
}, !ownerState.disableUnderline && (
|
|
51
|
+
}, !ownerState.disableUnderline && _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
53
52
|
'&:after': {
|
|
54
53
|
borderBottom: "2px solid ".concat((theme.vars || theme).palette[ownerState.color].main),
|
|
55
54
|
left: 0,
|
|
@@ -65,15 +64,15 @@ var InputRoot = styled(InputBaseRoot, {
|
|
|
65
64
|
}),
|
|
66
65
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
67
66
|
}
|
|
68
|
-
},
|
|
67
|
+
}, "&.".concat(inputClasses.focused, ":after"), {
|
|
69
68
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
70
69
|
// See https://github.com/mui/material-ui/issues/31766
|
|
71
70
|
transform: 'scaleX(1) translateX(0)'
|
|
72
|
-
}),
|
|
71
|
+
}), "&.".concat(inputClasses.error), {
|
|
73
72
|
'&:before, &:after': {
|
|
74
73
|
borderBottomColor: (theme.vars || theme).palette.error.main
|
|
75
74
|
}
|
|
76
|
-
}),
|
|
75
|
+
}), '&:before', {
|
|
77
76
|
borderBottom: "1px solid ".concat(bottomLineColor),
|
|
78
77
|
left: 0,
|
|
79
78
|
bottom: 0,
|
|
@@ -85,15 +84,15 @@ var InputRoot = styled(InputBaseRoot, {
|
|
|
85
84
|
duration: theme.transitions.duration.shorter
|
|
86
85
|
}),
|
|
87
86
|
pointerEvents: 'none' // Transparent to the hover style.
|
|
88
|
-
}),
|
|
87
|
+
}), "&:hover:not(.".concat(inputClasses.disabled, ", .").concat(inputClasses.error, "):before"), {
|
|
89
88
|
borderBottom: "2px solid ".concat((theme.vars || theme).palette.text.primary),
|
|
90
89
|
// Reset on touch devices, it doesn't add specificity
|
|
91
90
|
'@media (hover: none)': {
|
|
92
91
|
borderBottom: "1px solid ".concat(bottomLineColor)
|
|
93
92
|
}
|
|
94
|
-
}),
|
|
93
|
+
}), "&.".concat(inputClasses.disabled, ":before"), {
|
|
95
94
|
borderBottomStyle: 'dotted'
|
|
96
|
-
})
|
|
95
|
+
}));
|
|
97
96
|
});
|
|
98
97
|
var InputInput = styled(InputBaseInput, {
|
|
99
98
|
name: 'MuiInput',
|
|
@@ -109,10 +109,10 @@ var InputAdornment = /*#__PURE__*/React.forwardRef(function InputAdornment(inPro
|
|
|
109
109
|
color: "text.secondary",
|
|
110
110
|
children: children
|
|
111
111
|
}) : /*#__PURE__*/_jsxs(React.Fragment, {
|
|
112
|
-
children: [position === 'start' ? /* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/_jsx("span", {
|
|
112
|
+
children: [position === 'start' ? ( /* notranslate needed while Google Translate will not fix zero-width space issue */_span || (_span = /*#__PURE__*/_jsx("span", {
|
|
113
113
|
className: "notranslate",
|
|
114
114
|
children: "\u200B"
|
|
115
|
-
})) : null, children]
|
|
115
|
+
}))) : null, children]
|
|
116
116
|
})
|
|
117
117
|
}))
|
|
118
118
|
});
|