@eturnity/eturnity_reusable_components 1.2.19-EPDM-3412.3 → 1.2.19-EPDM-3412.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "1.2.19-EPDM-3412.3",
3
+ "version": "1.2.19-EPDM-3412.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -72,7 +72,7 @@ const TextOverlay = styled('div', textAttrs)`
72
72
  }
73
73
  `
74
74
 
75
- const iconAttrs = { isActive: Boolean, size: String, borderColor: String }
75
+ const iconAttrs = { isActive: Boolean, size: Number, borderColor: String }
76
76
 
77
77
  const IconWrapper = styled('div', iconAttrs)`
78
78
  position: relative;
@@ -8,7 +8,7 @@
8
8
  v-if="labelInfoText"
9
9
  :text="labelInfoText"
10
10
  borderColor="#ccc"
11
- size="14"
11
+ :size="14"
12
12
  :alignText="labelInfoAlign"
13
13
  />
14
14
  </label-wrapper>
@@ -231,21 +231,14 @@ export default {
231
231
  LabelText,
232
232
  InfoText,
233
233
  Icon,
234
- SlotContainer,
235
- InfoText
234
+ SlotContainer
236
235
  },
237
236
  inheritAttrs: false,
238
237
  data() {
239
238
  return {
240
239
  textInput: '',
241
240
  isFocused: false,
242
- warningIcon: warningIcon
243
- }
244
- },
245
- computed: {
246
- displayedPlaceholder() {
247
- if (this.placeholder) return this.placeholder
248
- return `${this.minNumber || 0} ${this.unitName ? this.unitName : ''}`
241
+ warningIcon: warningIcon,
249
242
  }
250
243
  },
251
244
  props: {
@@ -349,6 +342,10 @@ export default {
349
342
  }
350
343
  },
351
344
  computed: {
345
+ displayedPlaceholder() {
346
+ if (this.placeholder) return this.placeholder
347
+ return `${this.minNumber || 0} ${this.unitName ? this.unitName : ''}`
348
+ },
352
349
  hasSlot() {
353
350
  return !!this.$slots.default
354
351
  },