@everchron/ec-shards 0.6.39 → 0.6.40

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.39",
3
+ "version": "0.6.40",
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
@@ -17,15 +17,19 @@
17
17
 
18
18
  <div class="ecs-data-card-inner">
19
19
  <div class="ecs-data-card-row">
20
- <slot></slot>
21
- <ecs-skeleton-loader v-if="loading" type="single" :width="skeletonWidth(30, 70)" />
20
+ <div class="ecs-data-card-row-inner">
21
+ <slot></slot>
22
+ <ecs-skeleton-loader v-if="loading" type="single" :width="skeletonWidth(30, 70)" />
23
+ </div>
24
+ <div v-if="$slots.actions" class="ecs-data-card-actions">
25
+ <slot name="actions"></slot>
26
+ </div>
22
27
  </div>
23
28
  <div v-if="$slots.meta" class="ecs-data-card-row">
24
- <slot name="meta"></slot>
25
- <ecs-skeleton-loader v-if="loading" type="single" :width="skeletonWidth(15, 30)" />
26
- </div>
27
- <div v-if="$slots.actions" class="ecs-data-card-actions">
28
- <slot name="actions"></slot>
29
+ <div class="ecs-data-card-row-inner">
30
+ <slot name="meta"></slot>
31
+ <ecs-skeleton-loader v-if="loading" type="single" :width="skeletonWidth(15, 30)" />
32
+ </div>
29
33
  </div>
30
34
  </div>
31
35
  </div>
@@ -87,9 +91,6 @@
87
91
  padding: 16px 20px;
88
92
  font-size: 14px;
89
93
  min-height: 46px;
90
- -webkit-user-select: none;
91
- -moz-user-select: none;
92
- -ms-user-select: none;
93
94
  user-select: none;
94
95
 
95
96
  &:before,
@@ -146,7 +147,7 @@
146
147
  padding: 10px 20px;
147
148
  }
148
149
 
149
- &.loading .ecs-data-card-row > *:not(.skeleton){
150
+ &.loading .ecs-data-card-row-inner > *:not(.skeleton){
150
151
  opacity: 0;
151
152
  }
152
153
 
@@ -173,6 +174,14 @@
173
174
  padding: 4px 0;
174
175
  flex: 1;
175
176
  max-width: 100%;
177
+
178
+ &-inner{
179
+ display: flex;
180
+ flex: 1;
181
+ max-width: 100%;
182
+ align-items: center;
183
+ justify-content: space-between;
184
+ }
176
185
  }
177
186
 
178
187
  .small{
@@ -245,7 +254,7 @@
245
254
  }
246
255
 
247
256
  .ecs-data-card-actions{
248
- padding-right: 40px;
257
+ padding-left: 10px;
249
258
  }
250
259
  </style>
251
260
 
Binary file