@everchron/ec-shards 0.6.17 → 0.6.21
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 +704 -379
- package/dist/ec-shards.common.js.map +1 -1
- package/dist/ec-shards.css +1 -1
- package/dist/ec-shards.umd.js +704 -379
- 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/.DS_Store +0 -0
- package/src/assets/.DS_Store +0 -0
- package/src/assets/icons/.DS_Store +0 -0
- package/src/assets/images/.DS_Store +0 -0
- package/src/assets/images/spinner/.DS_Store +0 -0
- package/src/components/.DS_Store +0 -0
- package/src/components/data-card/data-card.vue +19 -1
- package/src/components/input/input.vue +0 -1
- package/src/components/segment/segment.vue +1 -1
- package/src/stories/.DS_Store +0 -0
- package/src/stories/data-card/data-card.stories.js +1 -1
package/package.json
CHANGED
package/src/.DS_Store
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<slot name="control"></slot>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
<ecs-icon v-if="icon" :type="icon" :color="iconColor" width="26" height="26" />
|
|
15
|
+
<ecs-icon v-if="icon" :type="icon" :color="iconColor" :spinning="spinning" width="26" height="26" />
|
|
16
16
|
<ecs-skeleton-loader v-if="icon && loading" type="rect" :width="26" :height="26" />
|
|
17
17
|
|
|
18
18
|
<div class="ecs-data-card-inner">
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
loading: {
|
|
61
61
|
type: Boolean,
|
|
62
62
|
default: false
|
|
63
|
+
},
|
|
64
|
+
spinning: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: false
|
|
63
67
|
}
|
|
64
68
|
},
|
|
65
69
|
|
|
@@ -221,6 +225,20 @@
|
|
|
221
225
|
white-space: pre-wrap;
|
|
222
226
|
color: $gray-10;
|
|
223
227
|
}
|
|
228
|
+
|
|
229
|
+
.chained{
|
|
230
|
+
> span{
|
|
231
|
+
&:after{
|
|
232
|
+
content: "•";
|
|
233
|
+
margin: 0 5px;
|
|
234
|
+
opacity: .7;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&:last-child:after{
|
|
238
|
+
content: "";
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
224
242
|
}
|
|
225
243
|
|
|
226
244
|
.ecs-data-card-actions{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="ecs-segments" :class="[inline ? 'ecs-segments-inline' : '']">
|
|
3
3
|
<label v-for="option in options" :key="option.id" :for="option.id">
|
|
4
|
-
<input type="radio" :name="name" :value="option.id
|
|
4
|
+
<input type="radio" :name="name" :value="option.id" :id="option.id" :checked="value==option.id" @click="$emit('click', option.id)"><!-- v-model="selectedSegmentId" -->
|
|
5
5
|
<span class="ecs-segment" :title="option.title">
|
|
6
6
|
<ecs-icon v-if="option.icon" :class="[option.icon && option.label ? 'icon-spacing' : '']" :type="option.icon" width="20" height="20" color="#2F333C" />
|
|
7
7
|
{{ option.label }}
|
|
Binary file
|
|
@@ -77,7 +77,7 @@ export const doubleIcon = () => ({
|
|
|
77
77
|
<span>Added last 2 months</span>
|
|
78
78
|
<span class="subtle">4h ago</span>
|
|
79
79
|
<template slot="meta">
|
|
80
|
-
<span class="subtle"><span class="color-venta-1">
|
|
80
|
+
<span class="subtle chained"><span class="color-venta-1">CE999</span><span class="color-venta-1">EC00000</span></span>
|
|
81
81
|
</template>
|
|
82
82
|
</ecs-data-card>`
|
|
83
83
|
});
|