@eturnity/eturnity_reusable_components 1.2.58 → 1.2.59
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/package.json
CHANGED
@@ -80,20 +80,20 @@ const InputContainer = styled('div', inputProps)`
|
|
80
80
|
textarea {
|
81
81
|
border: ${(props) =>
|
82
82
|
props.isError
|
83
|
-
?
|
84
|
-
:
|
83
|
+
? `1px solid ${props.theme.colors.red} !important`
|
84
|
+
: `1px solid ${props.theme.colors.grey3} !important`};
|
85
85
|
padding: ${(props) =>
|
86
|
-
props.hasUnit ? '11px 40px 11px 10px' : '
|
87
|
-
border-radius: 4px;
|
88
|
-
font-size: ${(props) =>
|
89
|
-
color: ${(props) => props.theme.colors.
|
86
|
+
props.hasUnit ? '11px 40px 11px 10px !important' : '15px !important'};
|
87
|
+
border-radius: 4px !important;
|
88
|
+
font-size: ${(props) => `${props.fontSize} !important`};
|
89
|
+
color: ${(props) => `${props.theme.colors.grey1} !important`};
|
90
90
|
width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
|
91
91
|
max-width: 100%;
|
92
92
|
box-sizing: border-box; // to allow width of 100% with padding
|
93
93
|
cursor: ${(props) => (props.disabled ? 'not-allowed' : 'inherit')};
|
94
94
|
|
95
95
|
&::placeholder {
|
96
|
-
color: ${(props) => props.theme.colors.grey2};
|
96
|
+
color: ${(props) => `${props.theme.colors.grey2} !important`};
|
97
97
|
}
|
98
98
|
|
99
99
|
&:focus {
|
@@ -172,7 +172,7 @@ export default {
|
|
172
172
|
},
|
173
173
|
fontSize: {
|
174
174
|
required: false,
|
175
|
-
default: '
|
175
|
+
default: '13px'
|
176
176
|
},
|
177
177
|
inputWidth: {
|
178
178
|
required: false,
|