@eturnity/eturnity_reusable_components 9.25.11 → 9.25.12
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
|
@@ -125,8 +125,8 @@
|
|
|
125
125
|
props.theme.colors[props.labelFontColor]
|
|
126
126
|
? props.theme.colors[props.labelFontColor]
|
|
127
127
|
: props.labelFontColor
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
? props.labelFontColor
|
|
129
|
+
: props.theme.colors.eturnityGrey};
|
|
130
130
|
|
|
131
131
|
font-size: ${(props) =>
|
|
132
132
|
props.fontSize ? props.fontSize : inputLabelFontSize};
|
|
@@ -172,29 +172,29 @@
|
|
|
172
172
|
props.noBorder
|
|
173
173
|
? 'none'
|
|
174
174
|
: props.isError
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
175
|
+
? '1px solid ' + props.theme.colors.red
|
|
176
|
+
: props.borderColor
|
|
177
|
+
? props.theme.colors[props.borderColor]
|
|
178
|
+
? '1px solid ' + props.theme.colors[props.borderColor]
|
|
179
|
+
: '1px solid ' + props.borderColor
|
|
180
|
+
: '1px solid ' + props.theme.colors.grey4};
|
|
181
181
|
padding: ${(props) =>
|
|
182
182
|
props.isError
|
|
183
183
|
? '11px 25px 11px 10px'
|
|
184
184
|
: props.inputType === 'password'
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
? '11px 25px 11px 10px'
|
|
186
|
+
: props.defaultPadding
|
|
187
|
+
? '10px 35px 10px 15px'
|
|
188
|
+
: '11px 5px 11px 10px'};
|
|
189
189
|
border-radius: 4px;
|
|
190
190
|
position: relative;
|
|
191
|
-
font-size: ${(props) => (props.fontSize ? props.fontSize : '
|
|
191
|
+
font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
|
|
192
192
|
color: ${(props) =>
|
|
193
193
|
props.isDisabled
|
|
194
194
|
? props.theme.colors.grey2
|
|
195
195
|
: props.fontColor
|
|
196
|
-
|
|
197
|
-
|
|
196
|
+
? props.fontColor + ' !important'
|
|
197
|
+
: props.theme.semanticColors.grey[900]};
|
|
198
198
|
|
|
199
199
|
width: ${(props) => (props.inputWidth ? props.inputWidth : '100%')};
|
|
200
200
|
min-width: ${(props) => (props.minWidth ? props.minWidth : 'unset')};
|
|
@@ -208,8 +208,8 @@
|
|
|
208
208
|
? props.disabledBackgroundColor + ' !important'
|
|
209
209
|
: props.theme.colors.grey5
|
|
210
210
|
: props.backgroundColor
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
? props.backgroundColor + ' !important'
|
|
212
|
+
: props.theme.colors.white};
|
|
213
213
|
&::placeholder {
|
|
214
214
|
color: ${(props) => props.theme.colors.grey2};
|
|
215
215
|
}
|