@antify/ui 3.1.0 → 3.1.2
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.
|
@@ -31,15 +31,17 @@ const cardClass = computed(() => ({
|
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<template>
|
|
34
|
-
<
|
|
35
|
-
:
|
|
36
|
-
rounded
|
|
34
|
+
<div
|
|
35
|
+
:class="cardClass"
|
|
36
|
+
class="bg-white outline outline-offset-[-1px] outline-base-300 rounded-md relative"
|
|
37
37
|
>
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
38
|
+
<slot />
|
|
39
|
+
|
|
40
|
+
<AntSkeleton
|
|
41
|
+
:visible="skeleton"
|
|
42
|
+
rounded
|
|
43
|
+
:class="{'w-full': props.expanded}"
|
|
44
|
+
absolute
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
45
47
|
</template>
|
|
@@ -207,14 +207,14 @@ onMounted(() => {
|
|
|
207
207
|
class="flex items-center"
|
|
208
208
|
:class="props.size === Size.md ? 'h-5' : 'h-4'"
|
|
209
209
|
>
|
|
210
|
-
<
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
210
|
+
<span :class="contentClasses">
|
|
211
|
+
<AntSkeleton
|
|
212
|
+
:visible="skeleton"
|
|
213
|
+
rounded
|
|
214
|
+
>
|
|
215
215
|
<slot />
|
|
216
|
-
</
|
|
217
|
-
</
|
|
216
|
+
</AntSkeleton>
|
|
217
|
+
</span>
|
|
218
218
|
</div>
|
|
219
219
|
</div>
|
|
220
220
|
</AntField>
|
|
@@ -211,14 +211,14 @@ onMounted(() => {
|
|
|
211
211
|
class="flex items-center"
|
|
212
212
|
:class="valueSize"
|
|
213
213
|
>
|
|
214
|
-
<
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
214
|
+
<span :class="valueClass">
|
|
215
|
+
<AntSkeleton
|
|
216
|
+
:visible="skeleton"
|
|
217
|
+
rounded
|
|
218
|
+
>
|
|
219
219
|
{{ value.label }}
|
|
220
|
-
</
|
|
221
|
-
</
|
|
220
|
+
</AntSkeleton>
|
|
221
|
+
</span>
|
|
222
222
|
</div>
|
|
223
223
|
</div>
|
|
224
224
|
</AntField>
|