sag_components 1.0.541 → 1.0.542
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.
|
@@ -26,8 +26,7 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
26
26
|
width = '100%',
|
|
27
27
|
height = '49px',
|
|
28
28
|
label,
|
|
29
|
-
|
|
30
|
-
outlineColor,
|
|
29
|
+
focusColor,
|
|
31
30
|
shape,
|
|
32
31
|
size,
|
|
33
32
|
placeHolder = 'Enter your email address',
|
|
@@ -43,15 +42,6 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
43
42
|
const [currentInputValue, setCurrentInputValue] = (0, _react.useState)(null);
|
|
44
43
|
const [showPassword, setShowPassword] = _react.default.useState(false);
|
|
45
44
|
const handleClickShowPassword = () => setShowPassword(show => !show);
|
|
46
|
-
|
|
47
|
-
// useEffect(() => {
|
|
48
|
-
// const delayDebounceFn = setTimeout(() => {
|
|
49
|
-
// onChange(currentInputValue);
|
|
50
|
-
// }, delayOnChange);
|
|
51
|
-
|
|
52
|
-
// return () => clearTimeout(delayDebounceFn);
|
|
53
|
-
// }, [currentInputValue]);
|
|
54
|
-
|
|
55
45
|
const onChangeHandler = event => {
|
|
56
46
|
onChange(event);
|
|
57
47
|
setCurrentInputValue({
|
|
@@ -92,7 +82,13 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
92
82
|
legend: {
|
|
93
83
|
marginLeft: '6px'
|
|
94
84
|
},
|
|
95
|
-
alignItems: multiline ? 'flex-start' : 'center'
|
|
85
|
+
alignItems: multiline ? 'flex-start' : 'center',
|
|
86
|
+
'&.Mui-focused fieldset': {
|
|
87
|
+
borderColor: focusColor
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
'& label.Mui-focused': {
|
|
91
|
+
color: focusColor
|
|
96
92
|
},
|
|
97
93
|
'& .MuiAutocomplete-inputRoot': {
|
|
98
94
|
paddingLeft: '10px !important',
|
|
@@ -100,7 +96,7 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
100
96
|
},
|
|
101
97
|
'& .MuiInputLabel-outlined': {
|
|
102
98
|
paddingLeft: '10px',
|
|
103
|
-
color:
|
|
99
|
+
// color: focusColor,
|
|
104
100
|
paddingTop: '4px'
|
|
105
101
|
},
|
|
106
102
|
'& .MuiInputLabel-shrink': {
|
|
@@ -172,8 +168,10 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
172
168
|
aligncontent: 'flex-start',
|
|
173
169
|
disableunderline: true.toString(),
|
|
174
170
|
style: {
|
|
175
|
-
|
|
176
|
-
|
|
171
|
+
textalign: 'start',
|
|
172
|
+
'&::placeholder': {
|
|
173
|
+
color: '#B1B1B1'
|
|
174
|
+
}
|
|
177
175
|
}
|
|
178
176
|
}
|
|
179
177
|
}), passwordField && /*#__PURE__*/_react.default.createElement(_FormControl.default, {
|