@itfin/components 2.0.91 → 2.0.92

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": "2.0.91",
3
+ "version": "2.0.92",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -33,14 +33,16 @@
33
33
  <div class="d-flex align-items-center gap-1">
34
34
  <itf-dropdown text append-to-body shadow ref="dropdown" class="w-100" :disabled="noColumnMenu">
35
35
  <template #button>
36
- <div class="itf-table2__header-title d-flex w-100 align-items-center" :title="getTitle(column.title)">
37
- <itf-icon class="itf-table2__header-icon" new v-if="column.icon" :name="column.icon"></itf-icon>
38
- <div class="flex-grow-1 w-100 itf-table2__title-container d-flex align-items-center" :class="{'justify-content-end': column.align === 'end'}">
39
- <div class="itf-table2__title text-truncate">{{getTitle(column.title)}}</div>
40
- <div v-if="column.prefix" class="itf-table2__subtitle text-truncate" v-text="column.prefix" />
36
+ <div class="d-flex align-items-start justify-content-between">
37
+ <div class="itf-table2__header-title d-flex w-100 align-items-center" :title="getTitle(column.title)">
38
+ <itf-icon class="itf-table2__header-icon" new v-if="column.icon" :name="column.icon"></itf-icon>
39
+ <div class="flex-grow-1 w-100 itf-table2__title-container d-flex align-items-center" :class="{'justify-content-end': column.align === 'end'}">
40
+ <div class="itf-table2__title text-truncate">{{getTitle(column.title)}}</div>
41
+ <div v-if="column.prefix" class="itf-table2__subtitle text-truncate" v-text="column.prefix" />
42
+ </div>
41
43
  </div>
44
+ <itf-icon v-if="sortColumnParams[column.property]" :name="sortColumnParams[column.property] === 'asc' ? 'sort-asc' : 'sort-desc'" new :size="20" class="ms-1" />
42
45
  </div>
43
- <itf-icon v-if="sortColumnParams[column.property]" :name="sortColumnParams[column.property] === 'asc' ? 'sort-asc' : 'sort-desc'" new :size="20" class="ms-1" />
44
46
  </template>
45
47
  <div class="dropdown-header">
46
48
  {{$t('components.table.actions')}}