@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "0.6.17",
3
+ "version": "0.6.21",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
package/src/.DS_Store ADDED
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{
@@ -24,7 +24,6 @@
24
24
  @input="$emit('input', $event)"
25
25
  @change="$emit('change', $event)"
26
26
  :name="name"
27
- :value="value"
28
27
  :disabled="disabled"
29
28
  :required="required"
30
29
  :readonly="readonly"
@@ -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.replace(name, '')" :id="option.id" :checked="value==option.id.replace(name, '')" @click="$emit('click', option.id)"><!-- v-model="selectedSegmentId" -->
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">32 documents</span> added by Marie Walsh</span>
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
  });