ketekny-ui-kit 1.0.136 → 1.0.137
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 +1 -1
- package/src/ui/kCard.vue +10 -15
package/package.json
CHANGED
package/src/ui/kCard.vue
CHANGED
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
>
|
|
27
27
|
<div class="min-w-0 flex-1">
|
|
28
28
|
<slot name="header">
|
|
29
|
-
<div class="flex items-center gap-3">
|
|
30
|
-
<
|
|
29
|
+
<div class="flex flex-row items-center gap-3">
|
|
30
|
+
<kIcon
|
|
31
31
|
v-if="icon"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
:name="icon"
|
|
33
|
+
class="h-8 w-8 shrink-0"
|
|
34
|
+
:color="iconColor"
|
|
35
|
+
aria-hidden="true"
|
|
36
|
+
/>
|
|
37
37
|
<div class="min-w-0">
|
|
38
|
-
<
|
|
38
|
+
<h4 v-if="title" class="font-semibold leading-tight" :class="titleClasses">
|
|
39
39
|
{{ title }}
|
|
40
|
-
</
|
|
41
|
-
<p v-if="subtitle" class="text-sm" :class="[subtitleClasses, { 'mt-
|
|
40
|
+
</h4>
|
|
41
|
+
<p v-if="subtitle" class="text-sm leading-tight" :class="[subtitleClasses, { 'mt-0.5': title }]">
|
|
42
42
|
{{ subtitle }}
|
|
43
43
|
</p>
|
|
44
44
|
</div>
|
|
@@ -153,11 +153,6 @@ export default {
|
|
|
153
153
|
subtitleClasses() {
|
|
154
154
|
return this.isDark ? 'text-slate-400' : 'text-slate-500'
|
|
155
155
|
},
|
|
156
|
-
iconClasses() {
|
|
157
|
-
return this.isDark
|
|
158
|
-
? 'bg-white/10 text-slate-100'
|
|
159
|
-
: 'bg-primary/10 text-primary'
|
|
160
|
-
},
|
|
161
156
|
iconColor() {
|
|
162
157
|
return this.isDark ? '#f1f5f9' : 'currentColor'
|
|
163
158
|
},
|