sag_components 1.0.538 → 1.0.540
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.
|
@@ -77,7 +77,6 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
77
77
|
// defines shape: squire or round
|
|
78
78
|
const getTextFieldStyle = () => {
|
|
79
79
|
if (shape === 'round') {
|
|
80
|
-
// round
|
|
81
80
|
return {
|
|
82
81
|
'& .MuiOutlinedInput-root': {
|
|
83
82
|
width: {
|
|
@@ -94,41 +93,34 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
94
93
|
marginLeft: '6px'
|
|
95
94
|
},
|
|
96
95
|
alignItems: multiline ? 'flex-start' : 'center',
|
|
96
|
+
'& .MuiAutocomplete-inputRoot': {
|
|
97
|
+
paddingLeft: '10px !important',
|
|
98
|
+
borderRadius: '12px'
|
|
99
|
+
},
|
|
100
|
+
'& .MuiInputLabel-shrink': {
|
|
101
|
+
marginLeft: '1px',
|
|
102
|
+
paddingLeft: '4px',
|
|
103
|
+
paddingRight: 0,
|
|
104
|
+
background: 'white',
|
|
105
|
+
paddingTop: 0
|
|
106
|
+
},
|
|
107
|
+
'& .MuiInputLabel-root': {
|
|
108
|
+
fontFamily: 'Poppins'
|
|
109
|
+
},
|
|
110
|
+
'& .MuiInputBase-inputSizeSmall': {
|
|
111
|
+
fontFamily: 'Poppins'
|
|
112
|
+
},
|
|
97
113
|
'&.Mui-focused fieldset': {
|
|
98
|
-
borderColor: outlineColor
|
|
114
|
+
borderColor: outlineColor
|
|
99
115
|
}
|
|
100
|
-
// '&.Mui-error .MuiOutlinedInput-notchedOutline': {
|
|
101
|
-
// borderColor: '#D23630', // Change outline color when there's an error
|
|
102
|
-
// },
|
|
103
116
|
},
|
|
104
|
-
|
|
105
117
|
'& label.Mui-focused': {
|
|
106
118
|
color: labelColor
|
|
107
119
|
},
|
|
108
|
-
'& .
|
|
109
|
-
paddingLeft: '10px !important',
|
|
110
|
-
borderRadius: '12px'
|
|
111
|
-
},
|
|
112
|
-
'& .MuiInputLabel-outlined': {
|
|
120
|
+
'& .MuiInputLabel-outlined, & .MuiInputLabel-filled': {
|
|
113
121
|
paddingLeft: '10px',
|
|
114
|
-
color:
|
|
122
|
+
color: labelColor,
|
|
115
123
|
paddingTop: '4px'
|
|
116
|
-
},
|
|
117
|
-
'& .MuiInputLabel-filled': {
|
|
118
|
-
color: labelColor
|
|
119
|
-
},
|
|
120
|
-
'& .MuiInputLabel-shrink': {
|
|
121
|
-
marginLeft: '1px',
|
|
122
|
-
paddingLeft: '4px',
|
|
123
|
-
paddingRight: 0,
|
|
124
|
-
background: 'white',
|
|
125
|
-
paddingTop: 0
|
|
126
|
-
},
|
|
127
|
-
'& .MuiInputLabel-root': {
|
|
128
|
-
fontFamily: 'Poppins'
|
|
129
|
-
},
|
|
130
|
-
'& .MuiInputBase-inputSizeSmall': {
|
|
131
|
-
fontFamily: 'Poppins'
|
|
132
124
|
}
|
|
133
125
|
};
|
|
134
126
|
}
|