@everchron/ec-shards 0.7.72 → 0.7.75
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/dist/ec-shards.common.js +83 -79
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +83 -79
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +1 -1
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/alert/alert.vue +1 -1
- package/src/components/file-list-item/file-list-item.vue +9 -4
- package/src/components/modal-footer/modal-footer.vue +20 -7
- package/src/stories/file-list-item/file-list-item.stories.js +1 -1
- package/src/stories/modal/modal.stories.js +4 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</button>
|
|
6
6
|
<div class="ecs-alert-inner">
|
|
7
7
|
<h4 v-if="headline" class="ecs-alert-headline">
|
|
8
|
-
<ecs-icon :type="icon" width="20" height="20" />
|
|
8
|
+
<ecs-icon v-if="icon" :type="icon" width="20" height="20" />
|
|
9
9
|
{{ headline }}
|
|
10
10
|
</h4>
|
|
11
11
|
<div v-if="$slots.default" class="ecs-alert-content">
|
|
@@ -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{
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ecs-modal-footer">
|
|
3
|
-
<
|
|
3
|
+
<div v-if="$slots.secondary" class="ecs-modal-footer-secondary">
|
|
4
|
+
<slot name="secondary"></slot>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="ecs-modal-footer-main">
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
4
9
|
</div>
|
|
5
10
|
</template>
|
|
6
11
|
|
|
@@ -9,13 +14,21 @@
|
|
|
9
14
|
@import "../mixins/svg-uri";
|
|
10
15
|
|
|
11
16
|
.ecs-modal-footer{
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
justify-content: space-between;
|
|
15
17
|
background: #FFF;
|
|
16
|
-
box-shadow: 0 -1px 0 rgba(#
|
|
17
|
-
min-height: 62px;
|
|
18
|
-
padding: 10px;
|
|
18
|
+
box-shadow: 0 -1px 0 rgba(#858E9E, .35);
|
|
19
19
|
border-radius: 0 0 4px 4px;
|
|
20
|
+
|
|
21
|
+
&-main{
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
min-height: 62px;
|
|
26
|
+
padding: 10px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-secondary{
|
|
30
|
+
border-bottom: 1px solid #ECEDF2;
|
|
31
|
+
padding: 8px 10px;
|
|
32
|
+
}
|
|
20
33
|
}
|
|
21
34
|
</style>
|
|
@@ -119,7 +119,10 @@ export const footer = () => ({
|
|
|
119
119
|
<p>Modal Content Slot</p>
|
|
120
120
|
<template slot="footer">
|
|
121
121
|
<ecs-modal-footer>
|
|
122
|
-
|
|
122
|
+
<template slot="secondary">
|
|
123
|
+
Secondary Footer
|
|
124
|
+
</template>
|
|
125
|
+
Primary Footer Content
|
|
123
126
|
</ecs-modal-footer>
|
|
124
127
|
</template>
|
|
125
128
|
</ecs-modal>
|