@itfin/components 1.3.83 → 1.3.84

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": "@itfin/components",
3
- "version": "1.3.83",
3
+ "version": "1.3.84",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -20,7 +20,7 @@ $disabled-cursor: $vs-state-disabled-cursor;
20
20
  .vs__selected,
21
21
  .vs__open-indicator {
22
22
  cursor: $disabled-cursor;
23
- background-color: transparent;
23
+ //background-color: transparent;
24
24
  }
25
25
  }
26
26
 
@@ -6,12 +6,12 @@
6
6
  </slot>
7
7
  </div>
8
8
  <div class="input-group form-control py-0"
9
- :class="{ 'focused': focused, 'is-invalid': isInvalid(), 'is-valid': isSuccess() }"
9
+ :class="{ 'disabled': disabled, 'focused': focused, 'is-invalid': isInvalid(), 'is-valid': isSuccess() }"
10
10
  ref="group">
11
11
  <i-mask-component
12
12
  ref="input"
13
13
  class="form-control"
14
- :class="{ 'placeholder-visible': !displayValue || !displayValue[0] }"
14
+ :class="{ 'placeholder-visible': !displayValue || !displayValue[0], 'bg-transparent': disabled }"
15
15
  @input="updateValue($event, 0)"
16
16
  @focus="onFocus"
17
17
  @blur="onBlur($event, 0)"
@@ -2,7 +2,7 @@
2
2
 
3
3
  <itf-text-field
4
4
  ref="input"
5
- :value="value"
5
+ :value="hoursValue"
6
6
  :prepend-icon="prependIcon"
7
7
  :item-label="itemLabel"
8
8
  :placeholder="placeholder"
@@ -48,7 +48,7 @@ class itfHoursField extends Vue {
48
48
  this.$emit('input', this.hours ? formatHours(this.hours) : '');
49
49
  }
50
50
 
51
- get value() {
51
+ get hoursValue() {
52
52
  return this.hours ? formatHours(this.hours) : '';
53
53
  }
54
54