classcard-ui 0.2.612 → 0.2.615
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/classcard-ui.common.js +63 -54
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +63 -54
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CStats/CStats.vue +14 -5
package/package.json
CHANGED
|
@@ -33,9 +33,16 @@
|
|
|
33
33
|
</div> -->
|
|
34
34
|
<!-- This example requires Tailwind CSS v2.0+ -->
|
|
35
35
|
<div>
|
|
36
|
-
<div class="flex items-center justify-between">
|
|
37
|
-
<h3 class="text-lg font-medium leading-6 text-gray-900">
|
|
38
|
-
|
|
36
|
+
<div class="flex items-center justify-between" v-if="title">
|
|
37
|
+
<h3 class="text-lg font-medium leading-6 text-gray-900">
|
|
38
|
+
{{ title.heading }}
|
|
39
|
+
</h3>
|
|
40
|
+
<c-tag
|
|
41
|
+
v-if="title.label"
|
|
42
|
+
class="hidden sm:block"
|
|
43
|
+
:label="title.label"
|
|
44
|
+
color="green"
|
|
45
|
+
></c-tag>
|
|
39
46
|
</div>
|
|
40
47
|
<dl
|
|
41
48
|
class="mt-5 grid grid-cols-1 divide-y divide-gray-200 overflow-hidden rounded-lg bg-gray-100 md:grid-cols-3 md:divide-y-0 md:divide-x"
|
|
@@ -45,7 +52,9 @@
|
|
|
45
52
|
v-for="count in statsCount"
|
|
46
53
|
v-bind:key="count.number"
|
|
47
54
|
>
|
|
48
|
-
<div
|
|
55
|
+
<div
|
|
56
|
+
class="flex items-end justify-between md:flex-col md:items-start md:justify-center lg:flex-row lg:items-end lg:justify-between"
|
|
57
|
+
>
|
|
49
58
|
<div>
|
|
50
59
|
<dt class="flex text-sm text-gray-500">
|
|
51
60
|
<span>{{ count.label }}</span>
|
|
@@ -84,7 +93,7 @@ export default {
|
|
|
84
93
|
type: Array,
|
|
85
94
|
},
|
|
86
95
|
title: {
|
|
87
|
-
type:
|
|
96
|
+
type: Object,
|
|
88
97
|
},
|
|
89
98
|
fontColor: {
|
|
90
99
|
type: String,
|