@eturnity/eturnity_reusable_components 1.2.86-EPDM-7435-2 → 1.2.86
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
@@ -7,7 +7,7 @@
|
|
7
7
|
<label-wrapper v-if="label">
|
8
8
|
<input-label :labelFontColor="labelFontColor" :fontSize="fontSize">{{
|
9
9
|
label
|
10
|
-
}}
|
10
|
+
}}</input-label>
|
11
11
|
<info-text
|
12
12
|
v-if="infoTextMessage"
|
13
13
|
:text="infoTextMessage"
|
@@ -81,9 +81,7 @@ const InputLabel = styled('div', labelAttrs)`
|
|
81
81
|
font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
|
82
82
|
font-weight: 700;
|
83
83
|
`
|
84
|
-
|
85
|
-
font-weight: 300;
|
86
|
-
`
|
84
|
+
|
87
85
|
const LabelWrapper = styled.div`
|
88
86
|
display: inline-grid;
|
89
87
|
grid-template-columns: auto auto;
|
@@ -219,8 +217,7 @@ export default {
|
|
219
217
|
Icon,
|
220
218
|
IconWrapper,
|
221
219
|
IconContainer,
|
222
|
-
InputErrorWrapper
|
223
|
-
optionalLabel
|
220
|
+
InputErrorWrapper
|
224
221
|
},
|
225
222
|
data() {
|
226
223
|
return {
|
@@ -269,10 +266,6 @@ export default {
|
|
269
266
|
label: {
|
270
267
|
required: false
|
271
268
|
},
|
272
|
-
labelOptional: {
|
273
|
-
required: false,
|
274
|
-
default: false
|
275
|
-
},
|
276
269
|
noBorder: {
|
277
270
|
required: false,
|
278
271
|
default: false
|
@@ -14,8 +14,7 @@
|
|
14
14
|
labelFontColor || colorMode == 'dark' ? 'white' : 'eturnityGrey'
|
15
15
|
"
|
16
16
|
:fontSize="fontSize"
|
17
|
-
>{{ label }}
|
18
|
-
</input-label
|
17
|
+
>{{ label }}</input-label
|
19
18
|
>
|
20
19
|
<info-text
|
21
20
|
v-if="infoTextMessage"
|
@@ -46,7 +45,6 @@
|
|
46
45
|
v-if="isSearchBarVisible"
|
47
46
|
ref="searchInput"
|
48
47
|
tabindex="0"
|
49
|
-
inputHeight="34px"
|
50
48
|
:noBorder="true"
|
51
49
|
:fontSize="fontSize"
|
52
50
|
backgroundColor="transparent"
|
@@ -160,10 +158,6 @@ const InputLabel = styled('div', labelAttrs)`
|
|
160
158
|
font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
|
161
159
|
font-weight: 700;
|
162
160
|
`
|
163
|
-
const optionalLabel = styled.span`
|
164
|
-
font-weight: 300;
|
165
|
-
|
166
|
-
`
|
167
161
|
const inputProps = { selectWidth: String, optionWidth: String }
|
168
162
|
const Container = styled('div', inputProps)`
|
169
163
|
width: ${(props) => (props.selectWidth ? props.selectWidth : '100%')};
|
@@ -199,7 +193,7 @@ const selectButton = styled('div', selectButtonAttrs)`
|
|
199
193
|
box-sizing: border-box;
|
200
194
|
border-radius: 4px;
|
201
195
|
padding: ${(props) =>
|
202
|
-
props.isSearchBarVisible ? '0' : '0px
|
196
|
+
props.isSearchBarVisible ? '0 10px 0 0' : '0px 10px 0 15px'};
|
203
197
|
text-align: left;
|
204
198
|
border-radius: 4px;
|
205
199
|
min-height: 36px;
|
@@ -236,6 +230,7 @@ const selectDropdown = styled('div', selectDropdownAttrs)`
|
|
236
230
|
z-index:${(props) => (props.isActive ? '2' : '1')};
|
237
231
|
position:absolute;
|
238
232
|
top:5px;
|
233
|
+
padding:10px;
|
239
234
|
border:1px solid ${(props) => props.theme.colors.grey4}
|
240
235
|
border-radius:4px;
|
241
236
|
display: flex;
|
@@ -288,10 +283,6 @@ export default {
|
|
288
283
|
label: {
|
289
284
|
required: false
|
290
285
|
},
|
291
|
-
labelOptional: {
|
292
|
-
required: false,
|
293
|
-
default: false
|
294
|
-
},
|
295
286
|
infoTextMessage: {
|
296
287
|
required: false
|
297
288
|
},
|
@@ -369,7 +360,6 @@ export default {
|
|
369
360
|
Container,
|
370
361
|
InputLabel,
|
371
362
|
LabelWrapper,
|
372
|
-
optionalLabel,
|
373
363
|
InfoText,
|
374
364
|
InputWrapper,
|
375
365
|
DropdownWrapper,
|