@eturnity/eturnity_reusable_components 8.16.5-EPDM-12618.5 → 8.16.5
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
@@ -169,7 +169,9 @@
|
|
169
169
|
position: relative;
|
170
170
|
font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
|
171
171
|
color: ${(props) =>
|
172
|
-
props.
|
172
|
+
props.isError
|
173
|
+
? props.theme.colors.grey6
|
174
|
+
: props.isDisabled
|
173
175
|
? props.theme.colors.grey2
|
174
176
|
: props.fontColor
|
175
177
|
? props.fontColor + ' !important'
|
@@ -78,13 +78,10 @@
|
|
78
78
|
v-else
|
79
79
|
class="inputField"
|
80
80
|
:disabled="customInputDisabled"
|
81
|
-
:error-message="item.errorMessage"
|
82
81
|
:font-color="showArchived ? theme.colors.red : 'black'"
|
83
|
-
:is-error="item.isError"
|
84
82
|
:min-width="item.value.length + 'ch'"
|
85
83
|
:no-border="true"
|
86
84
|
:value="item.value"
|
87
|
-
@input-blur="onCustomInputChange($event.trim())"
|
88
85
|
@input-change="onCustomInputChange($event)"
|
89
86
|
/>
|
90
87
|
</InputContainer>
|
@@ -165,7 +162,7 @@
|
|
165
162
|
</OptionsItem>
|
166
163
|
</OptionsWrapper>
|
167
164
|
<CustomContainer
|
168
|
-
v-if="
|
165
|
+
v-if="inputText.length && allowFreeInputs"
|
169
166
|
@click="onCustomNameClick()"
|
170
167
|
>
|
171
168
|
<CustomName>{{ getCustomName }}</CustomName>
|
@@ -229,6 +226,7 @@
|
|
229
226
|
const ItemAttrs = { isNested: Boolean, showArchived: Boolean }
|
230
227
|
const ComponentItem = styled('td', ItemAttrs)`
|
231
228
|
padding-left: ${(props) => (props.isNested ? '14px !important' : '0')};
|
229
|
+
overflow: hidden;
|
232
230
|
text-overflow: ellipsis;
|
233
231
|
padding-right: 0 !important;
|
234
232
|
color: ${(props) =>
|
@@ -560,7 +558,7 @@
|
|
560
558
|
},
|
561
559
|
computed: {
|
562
560
|
getCustomName() {
|
563
|
-
return this.inputText
|
561
|
+
return this.inputText
|
564
562
|
},
|
565
563
|
theme() {
|
566
564
|
return theme
|
@@ -654,7 +652,7 @@
|
|
654
652
|
},
|
655
653
|
onCustomNameClick() {
|
656
654
|
this.wasClicked = true
|
657
|
-
this.$emit('on-custom-input-name', this.
|
655
|
+
this.$emit('on-custom-input-name', this.inputText)
|
658
656
|
this.$emit('toggle-dropdown-open', { close: true })
|
659
657
|
this.inputText = ''
|
660
658
|
},
|