@everchron/ec-shards 0.7.76 → 0.8.1
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 +722 -384
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +722 -384
- package/dist/ec-shards.umd.js.map +1 -1
- package/dist/ec-shards.umd.min.js +2 -2
- package/dist/ec-shards.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/.DS_Store +0 -0
- package/src/components/button-dialog/button-dialog.vue +1 -2
- package/src/components/collapse/collapse.vue +24 -19
- package/src/components/section/section.vue +28 -31
- package/src/.DS_Store +0 -0
- package/src/assets/images/.DS_Store +0 -0
package/package.json
CHANGED
package/src/assets/.DS_Store
CHANGED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<button class="ecs-dialog-footer-button" :
|
|
2
|
+
<button class="ecs-dialog-footer-button" :class="[typeClass, loading ? `loading` : '']" @click="$emit('click', $event)">
|
|
3
3
|
<ecs-icon v-if="icon || loading" :type="iconType" />
|
|
4
4
|
<slot></slot>
|
|
5
5
|
</button>
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
},
|
|
15
15
|
|
|
16
16
|
props: {
|
|
17
|
-
id: String,
|
|
18
17
|
icon: {
|
|
19
18
|
type: String,
|
|
20
19
|
default: null
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
<div :class="isVisible ? 'collapse-show' : 'collapse-hide'" :id="`collapse-${ this.id }`" class="collapse">
|
|
19
|
-
<div class="ecs-collapsable-content" :class="
|
|
19
|
+
<div class="ecs-collapsable-content" :class="contentPaddingClass">
|
|
20
20
|
<slot></slot>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
@@ -70,9 +70,10 @@ export default {
|
|
|
70
70
|
type: Boolean,
|
|
71
71
|
default: true
|
|
72
72
|
},
|
|
73
|
-
|
|
74
|
-
type:
|
|
75
|
-
|
|
73
|
+
contentPadding: {
|
|
74
|
+
type: String,
|
|
75
|
+
validator: v => ['none', 'sml', 'md'].includes(v),
|
|
76
|
+
default: 'md'
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
|
|
@@ -101,6 +102,10 @@ export default {
|
|
|
101
102
|
else if (this.indent && this.indent !== '')
|
|
102
103
|
return `remove-button-indent-${this.indent}`
|
|
103
104
|
return this.headlineIndent
|
|
105
|
+
},
|
|
106
|
+
|
|
107
|
+
contentPaddingClass() {
|
|
108
|
+
return `ecs-collapsable-content-padding-${this.contentPadding}`
|
|
104
109
|
}
|
|
105
110
|
},
|
|
106
111
|
|
|
@@ -214,16 +219,6 @@ export default {
|
|
|
214
219
|
}
|
|
215
220
|
}
|
|
216
221
|
|
|
217
|
-
&-content{
|
|
218
|
-
padding-top: 15px;
|
|
219
|
-
padding-bottom: 25px;
|
|
220
|
-
|
|
221
|
-
&.condensed{
|
|
222
|
-
padding-top: 5px;
|
|
223
|
-
padding-bottom: 15px;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
222
|
&-indent-md,
|
|
228
223
|
&-headline-indent-md{
|
|
229
224
|
> .wrap .ecs-collapsable-headline{
|
|
@@ -267,13 +262,23 @@ export default {
|
|
|
267
262
|
> .collapse > .ecs-collapsable-content{
|
|
268
263
|
padding-left: 15px;
|
|
269
264
|
padding-right: 15px;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&-content-padding{
|
|
269
|
+
&-none{
|
|
270
|
+
padding-top: 0;
|
|
271
|
+
padding-bottom: 0;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&-sml{
|
|
275
|
+
padding-top: 5px;
|
|
276
|
+
padding-bottom: 15px;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&-md{
|
|
270
280
|
padding-top: 10px;
|
|
271
281
|
padding-bottom: 20px;
|
|
272
|
-
|
|
273
|
-
&.condensed{
|
|
274
|
-
padding-top: 5px;
|
|
275
|
-
padding-bottom: 15px;
|
|
276
|
-
}
|
|
277
282
|
}
|
|
278
283
|
}
|
|
279
284
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<div class="ecs-section-content"
|
|
16
16
|
:class="[
|
|
17
17
|
title ? '' : 'equal',
|
|
18
|
-
|
|
18
|
+
contentPaddingClass
|
|
19
19
|
]">
|
|
20
20
|
<slot></slot>
|
|
21
21
|
</div>
|
|
@@ -47,9 +47,10 @@
|
|
|
47
47
|
headlineBold: {
|
|
48
48
|
type: Boolean
|
|
49
49
|
},
|
|
50
|
-
|
|
51
|
-
type:
|
|
52
|
-
|
|
50
|
+
contentPadding: {
|
|
51
|
+
type: String,
|
|
52
|
+
validator: v => ['none', 'sml', 'md'].includes(v),
|
|
53
|
+
default: 'md'
|
|
53
54
|
}
|
|
54
55
|
},
|
|
55
56
|
|
|
@@ -64,6 +65,10 @@
|
|
|
64
65
|
if (this.headlineIndent && this.headlineIndent !== '')
|
|
65
66
|
return `ecs-section-headline-indent-${this.headlineIndent}`
|
|
66
67
|
return this.headlineIndent
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
contentPaddingClass() {
|
|
71
|
+
return `ecs-section-content-padding-${this.contentPadding}`
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
}
|
|
@@ -116,24 +121,6 @@
|
|
|
116
121
|
align-items: center;
|
|
117
122
|
}
|
|
118
123
|
|
|
119
|
-
&-content{
|
|
120
|
-
padding-top: 15px;
|
|
121
|
-
padding-bottom: 25px;
|
|
122
|
-
|
|
123
|
-
&.equal{
|
|
124
|
-
padding-top: 25px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.condensed{
|
|
128
|
-
padding-top: 5px;
|
|
129
|
-
padding-bottom: 15px;
|
|
130
|
-
|
|
131
|
-
&.equal{
|
|
132
|
-
padding-top: 15px;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
124
|
&-indent-md,
|
|
138
125
|
&-headline-indent-md{
|
|
139
126
|
.ecs-section-headline{
|
|
@@ -173,20 +160,30 @@
|
|
|
173
160
|
.ecs-section-content{
|
|
174
161
|
padding-left: 15px;
|
|
175
162
|
padding-right: 15px;
|
|
176
|
-
|
|
177
|
-
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&-content-padding{
|
|
167
|
+
&-none{
|
|
168
|
+
padding-top: 0;
|
|
169
|
+
padding-bottom: 0;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&-sml{
|
|
173
|
+
padding-top: 5px;
|
|
174
|
+
padding-bottom: 15px;
|
|
178
175
|
|
|
179
176
|
&.equal{
|
|
180
|
-
padding-top:
|
|
177
|
+
padding-top: 15px;
|
|
181
178
|
}
|
|
179
|
+
}
|
|
182
180
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
181
|
+
&-md{
|
|
182
|
+
padding-top: 15px;
|
|
183
|
+
padding-bottom: 25px;
|
|
186
184
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
}
|
|
185
|
+
&.equal{
|
|
186
|
+
padding-top: 25px;
|
|
190
187
|
}
|
|
191
188
|
}
|
|
192
189
|
}
|
package/src/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|