@appscode/design-system 2.6.19 → 2.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
|
@@ -20,15 +20,18 @@ withDefaults(
|
|
|
20
20
|
<div class="icon">
|
|
21
21
|
<slot name="card-logo" />
|
|
22
22
|
</div>
|
|
23
|
-
<h5
|
|
23
|
+
<h5>
|
|
24
|
+
<slot name="card-title" />
|
|
25
|
+
</h5>
|
|
24
26
|
</div>
|
|
25
27
|
<!-- <span class="tag has-background-dark-light has-text-dark is-rounded"
|
|
26
28
|
>Dark</span
|
|
27
29
|
> -->
|
|
28
30
|
<slot name="card-status" />
|
|
29
31
|
</div>
|
|
30
|
-
<div class="c-body">
|
|
32
|
+
<div class="c-body is-flex is-justify-content-space-between gap-2 mt-4">
|
|
31
33
|
<p><slot name="card-sub-title" /></p>
|
|
34
|
+
<slot name="sync-percentage" />
|
|
32
35
|
</div>
|
|
33
36
|
</div>
|
|
34
37
|
<!-- single card wrapper end -->
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { rand } from "@vueuse/core";
|
|
3
|
+
import { defineAsyncComponent } from "vue";
|
|
4
|
+
|
|
5
|
+
const Skeleton = defineAsyncComponent(() => import("../skeleton/Skeleton.vue"));
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<div class="is-flex is-align-items-start" style="gap: 32px">
|
|
10
|
+
<div style="width: 250px">
|
|
11
|
+
<Skeleton v-for="i in 6" :key="i" height="28px" modifier-classes="mb-8 ml-8" />
|
|
12
|
+
</div>
|
|
13
|
+
<div style="width: calc(100% - 250px)">
|
|
14
|
+
<Skeleton v-for="i in 20" :key="i" height="16px" :width="`${rand(10, 100)}%`" modifier-classes="mb-8" />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|