@eturnity/eturnity_reusable_components 8.19.8-EPDM-14690.0 → 8.19.8-EPDM-14690.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "8.19.8-EPDM-14690.0",
3
+ "version": "8.19.8-EPDM-14690.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -30,7 +30,11 @@
30
30
  />
31
31
  </LabelWrapper>
32
32
  <InputWrapper>
33
- <InfoText info-position="bottom" :text="inputInfoText">
33
+ <InfoText
34
+ v-if="!!inputInfoText"
35
+ info-position="bottom"
36
+ :text="inputInfoText"
37
+ >
34
38
  <template #trigger>
35
39
  <InputContainer
36
40
  v-bind="$attrs"
@@ -79,6 +83,50 @@
79
83
  </template>
80
84
  </InfoText>
81
85
 
86
+ <InputContainer
87
+ v-else
88
+ v-bind="$attrs"
89
+ ref="inputField1"
90
+ :align-items="alignItems"
91
+ :background-color="
92
+ colorMode === 'transparent' ? 'transparent' : backgroundColor
93
+ "
94
+ :border-color="
95
+ colorMode === 'transparent' && !borderColor ? 'white' : borderColor
96
+ "
97
+ :color-mode="colorMode"
98
+ :data-id="inputDataId"
99
+ :data-qa-id="dataQaId"
100
+ :disabled="disabled"
101
+ :font-color="colorMode === 'transparent' ? 'white' : fontColor"
102
+ :font-size="fontSize"
103
+ :has-label-slot="hasLabelSlot"
104
+ :has-slot="hasSlot"
105
+ :has-unit="unitName && !!unitName.length"
106
+ :input-height="inputHeight"
107
+ :is-border-error-only="isBorderErrorOnly"
108
+ :is-disabled="disabled"
109
+ :is-error="isError"
110
+ :is-info-border="isInfoBorder"
111
+ :is-interactive="isInteractive"
112
+ :min-width="minWidth"
113
+ :no-border="noBorder"
114
+ :placeholder="displayedPlaceholder"
115
+ :read-only="isReadOnly"
116
+ :readonly="isReadOnly"
117
+ :show-arrow-controls="showArrowControls"
118
+ :show-linear-unit-name="showLinearUnitName"
119
+ :slot-size="slotSize"
120
+ :text-align="textAlign"
121
+ :value="formatWithCurrency(value)"
122
+ @blur="onInputBlur($event)"
123
+ @focus="focusInput()"
124
+ @input="onInput($event)"
125
+ @keydown.down="decrementValue"
126
+ @keydown.up="incrementValue"
127
+ @keyup.enter="onEnterPress"
128
+ />
129
+
82
130
  <SlotContainer v-if="hasSlot" :is-error="isError" :slot-size="slotSize">
83
131
  <slot></slot>
84
132
  </SlotContainer>