@everchron/ec-shards 0.7.72 → 0.7.73

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": "@everchron/ec-shards",
3
- "version": "0.7.72",
3
+ "version": "0.7.73",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -27,9 +27,9 @@
27
27
  v-if="$slots.collapse"
28
28
  :class="isVisible ? '' : 'collapsed'"
29
29
  @click="toggleCollapse" />
30
- <ecs-button-table v-if="remove" @click="$emit('remove', $event)" icon="close" class="remove" />
30
+ <ecs-button-table v-if="remove" @click="$emit('remove', $event)" :loading="removeLoading" icon="close" class="remove" />
31
31
  </div>
32
- <div v-if="progress" class="loading" :style="{ width: progress + '%' }"></div>
32
+ <div v-if="progress" class="loading-bar" :style="{ width: progress + '%' }"></div>
33
33
  </div>
34
34
  </transition>
35
35
 
@@ -65,6 +65,10 @@
65
65
  type: Boolean,
66
66
  default: false
67
67
  },
68
+ removeLoading: {
69
+ type: Boolean,
70
+ default: false
71
+ },
68
72
  progress: {
69
73
  type: Number,
70
74
  default: null
@@ -213,7 +217,7 @@
213
217
  height: 45px;
214
218
  position: relative;
215
219
 
216
- > *:not(.loading){
220
+ > *:not(.loading-bar){
217
221
  position: relative;
218
222
  z-index: 1;
219
223
  }
@@ -229,7 +233,7 @@
229
233
  left: 16px;
230
234
  }
231
235
 
232
- .loading{
236
+ .loading-bar{
233
237
  position: absolute;
234
238
  height: 45px;
235
239
  left: 0;
@@ -258,6 +262,7 @@
258
262
  &-controls{
259
263
  display: flex;
260
264
  align-items: center;
265
+ margin-left: 16px;
261
266
  }
262
267
 
263
268
  &-meta{
@@ -90,7 +90,7 @@ export const withRemove = () => ({
90
90
  <span>08/08/2020</span>
91
91
  </template>
92
92
  </ecs-file-list-item>
93
- <ecs-file-list-item remove>
93
+ <ecs-file-list-item remove remove-loading>
94
94
  file-list-item.doc
95
95
  <template slot="meta">
96
96
  <span>08/08/2020</span>