sag_components 1.0.538 → 1.0.541
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: {
|
|
@@ -88,22 +87,12 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
88
87
|
},
|
|
89
88
|
paddingTop: multiline ? '12px' : '0',
|
|
90
89
|
marginTop: 0,
|
|
91
|
-
borderColor: '
|
|
90
|
+
borderColor: 'green',
|
|
92
91
|
borderRadius: '12px',
|
|
93
92
|
legend: {
|
|
94
93
|
marginLeft: '6px'
|
|
95
94
|
},
|
|
96
|
-
alignItems: multiline ? 'flex-start' : 'center'
|
|
97
|
-
'&.Mui-focused fieldset': {
|
|
98
|
-
borderColor: outlineColor // Change outline color when focused
|
|
99
|
-
}
|
|
100
|
-
// '&.Mui-error .MuiOutlinedInput-notchedOutline': {
|
|
101
|
-
// borderColor: '#D23630', // Change outline color when there's an error
|
|
102
|
-
// },
|
|
103
|
-
},
|
|
104
|
-
|
|
105
|
-
'& label.Mui-focused': {
|
|
106
|
-
color: labelColor
|
|
95
|
+
alignItems: multiline ? 'flex-start' : 'center'
|
|
107
96
|
},
|
|
108
97
|
'& .MuiAutocomplete-inputRoot': {
|
|
109
98
|
paddingLeft: '10px !important',
|
|
@@ -111,12 +100,9 @@ const TextField = exports.TextField = /*#__PURE__*/_react.default.forwardRef((_r
|
|
|
111
100
|
},
|
|
112
101
|
'& .MuiInputLabel-outlined': {
|
|
113
102
|
paddingLeft: '10px',
|
|
114
|
-
color:
|
|
103
|
+
color: labelColor,
|
|
115
104
|
paddingTop: '4px'
|
|
116
105
|
},
|
|
117
|
-
'& .MuiInputLabel-filled': {
|
|
118
|
-
color: labelColor
|
|
119
|
-
},
|
|
120
106
|
'& .MuiInputLabel-shrink': {
|
|
121
107
|
marginLeft: '1px',
|
|
122
108
|
paddingLeft: '4px',
|