@eturnity/eturnity_reusable_components 8.7.5-EPDM-13208.0 → 8.7.5-EPDM-12618.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -168,9 +168,7 @@
|
|
168
168
|
position: relative;
|
169
169
|
font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
|
170
170
|
color: ${(props) =>
|
171
|
-
props.
|
172
|
-
? props.theme.colors.grey6
|
173
|
-
: props.isDisabled
|
171
|
+
props.isDisabled
|
174
172
|
? props.theme.colors.grey2
|
175
173
|
: props.fontColor
|
176
174
|
? props.fontColor + ' !important'
|
@@ -154,7 +154,7 @@
|
|
154
154
|
</OptionsItem>
|
155
155
|
</OptionsWrapper>
|
156
156
|
<CustomContainer
|
157
|
-
v-if="
|
157
|
+
v-if="getCustomName.length && allowFreeInputs"
|
158
158
|
@click="onCustomNameClick()"
|
159
159
|
>
|
160
160
|
<CustomName>{{ getCustomName }}</CustomName>
|
@@ -551,7 +551,7 @@
|
|
551
551
|
},
|
552
552
|
computed: {
|
553
553
|
getCustomName() {
|
554
|
-
return this.inputText
|
554
|
+
return this.inputText.trim()
|
555
555
|
},
|
556
556
|
theme() {
|
557
557
|
return theme
|
@@ -645,7 +645,7 @@
|
|
645
645
|
},
|
646
646
|
onCustomNameClick() {
|
647
647
|
this.wasClicked = true
|
648
|
-
this.$emit('on-custom-input-name', this.
|
648
|
+
this.$emit('on-custom-input-name', this.getCustomName)
|
649
649
|
this.$emit('toggle-dropdown-open', { close: true })
|
650
650
|
this.inputText = ''
|
651
651
|
},
|
@@ -1,5 +0,0 @@
|
|
1
|
-
<svg width="18" height="18" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
-
<path d="M3.50008 1V3L5.50008 3V4L3.50008 4V6H2.50008V4L0.500075 4L0.500076 3L2.50008 3V1H3.50008Z" fill="#263238"/>
|
3
|
-
<path d="M8.50008 3L13.5001 3V4L8.50008 4V3Z" fill="#263238"/>
|
4
|
-
<path d="M3.70718 8.5L2.20718 10H11.793L10.293 8.5L11.0001 7.79289L13.7072 10.5L11.0001 13.2071L10.293 12.5L11.793 11H2.20718L3.70718 12.5L3.00008 13.2071L0.292969 10.5L3.00008 7.79289L3.70718 8.5Z" fill="#263238"/>
|
5
|
-
</svg>
|