@itfin/components 1.2.17 → 1.2.18

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.2.17",
3
+ "version": "1.2.18",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -9,7 +9,7 @@
9
9
  ref="input"
10
10
  readonly
11
11
  :disabled="disabled"
12
- class="form-control"
12
+ class="form-control text-capitalize"
13
13
  :class="{ 'is-invalid': isInvalid(), 'is-valid': isSuccess() }"
14
14
  @focus="onFocus"
15
15
  @blur="onBlur"
@@ -85,7 +85,7 @@ class itfMonthPicker extends Vue {
85
85
  @Prop({ type: String }) value;
86
86
  @Prop({ type: Boolean }) disabled;
87
87
  @Prop({ type: String, default: 'ISO' }) valueFormat;
88
- @Prop({ type: String, default: 'MMMM, yyyy' }) displayFormat;
88
+ @Prop({ type: String, default: 'LLLL, yyyy' }) displayFormat;
89
89
  @Prop({ type: String, default: '' }) placeholder;
90
90
  @Prop({ type: String, default: '' }) prependIcon;
91
91
  @Prop({ type: String, default: 'bottom-start' }) placement;
@@ -5,7 +5,7 @@
5
5
  class="dropdownInput"
6
6
  type="text"
7
7
  ref="inputRef"
8
- placeholder="Search"
8
+ :placeholder="$t('components.search')"
9
9
  @input="handleSearchValueChange"
10
10
  @keydown="handleInputKeyDown"
11
11
  />
@@ -33,14 +33,13 @@
33
33
  {{
34
34
  isCreatingOption
35
35
  ? `Creating "${searchValue}"...`
36
- : `Create
37
- "${searchValue}"`
36
+ : `Create "${searchValue}"`
38
37
  }}
39
38
  </div>
40
39
  </div>
41
40
 
42
41
  <div v-if="filteredOptions.length === 0" class="optionsNoResults">
43
- No results
42
+ {{$t('components.noResults')}}
44
43
  </div>
45
44
  </div>
46
45
  </template>