@itfin/components 1.2.108 → 1.2.110

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.108",
3
+ "version": "1.2.110",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -189,7 +189,11 @@ class itfPropertiesList extends Vue {
189
189
  this.$nextTick(() => {
190
190
  setTimeout(() => {
191
191
  if (this.$refs.properties && this.$refs.properties[list.length - 1]) {
192
- this.$refs.properties[list.length - 1].showEditMenu();
192
+ try {
193
+ this.$refs.properties[list.length - 1].showEditMenu();
194
+ } catch (e) {
195
+ // ignore
196
+ }
193
197
  }
194
198
  }, 10);
195
199
  });
@@ -3,7 +3,7 @@
3
3
  <slot name="header"></slot>
4
4
 
5
5
  <div class="itf-board-card-inner d-flex">
6
- <div class="flex-grow-1 itf-board-card-inner-content">
6
+ <div class="flex-grow-1">
7
7
  <slot>{{text}}</slot>
8
8
  </div>
9
9
  <div v-if="dropdown">
@@ -15,7 +15,7 @@
15
15
  {{ newItemText }}
16
16
  </itf-button>
17
17
 
18
- <div class="itf-board-cards-wrapper" ref="container">
18
+ <div class="itf-board-cards-wrapper" ref="container" :class="{'empty-column': !items.length}">
19
19
  <template v-if="!items.length">
20
20
  <slot name="empty"></slot>
21
21
  </template>
@@ -22,6 +22,8 @@
22
22
  display: flex;
23
23
  flex-wrap: nowrap;
24
24
  flex-direction: column;
25
+ overflow-x: scroll;
26
+ overflow-y: hidden;
25
27
 
26
28
  .draggable-mirror {
27
29
  z-index: 100000001;
@@ -107,6 +109,7 @@
107
109
  .itf-board-column {
108
110
  position: relative;
109
111
  width: var(--itf-board-column-width);
112
+ min-width: var(--itf-board-column-width);
110
113
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
111
114
 
112
115
  &__title {
@@ -150,12 +153,18 @@
150
153
  }
151
154
 
152
155
  .itf-board-titles {
156
+ width: max-content;
153
157
  border-bottom: 1px solid var(--itf-board-card-border-color);
154
158
  }
155
159
 
156
160
  .itf-board-columns {
157
161
  max-height: 100%;
162
+ padding-bottom: 45px;
158
163
 
164
+ .empty-column .itf-board-card-space.bottom {
165
+ top: 0;
166
+ height: 100%;
167
+ }
159
168
  .itf-board-column {
160
169
  display: flex;
161
170
  }
@@ -181,8 +190,8 @@
181
190
  right: 0;
182
191
  top: -50px;
183
192
  left: 0;
184
- bottom: -50px;
185
- height: 100px;
193
+ bottom: 0px;
194
+ height: 50px;
186
195
  }
187
196
  &.bottom {
188
197
  top: auto;
@@ -225,17 +234,7 @@
225
234
  font-size: .875rem;
226
235
  word-wrap: break-word;
227
236
  -webkit-line-clamp: unset;
228
- overflow: hidden;
229
237
  word-break: break-word;
230
-
231
- .itf-board-card-inner-content {
232
- padding-right: 0.2rem;
233
- overflow-x: hidden;
234
- }
235
- }
236
-
237
- .itf-board-card-footer {
238
- overflow-x: hidden;
239
238
  }
240
239
  }
241
240