@winchsa/ui 0.1.45 → 0.1.47
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.
|
@@ -9,7 +9,8 @@ const props = defineProps({
|
|
|
9
9
|
color: { type: String, required: false, default: "" },
|
|
10
10
|
to: { type: String, required: false },
|
|
11
11
|
disabled: { type: Boolean, required: false, default: false },
|
|
12
|
-
info: { type: String, required: false }
|
|
12
|
+
info: { type: String, required: false },
|
|
13
|
+
empty: { type: Boolean, required: false, default: false }
|
|
13
14
|
});
|
|
14
15
|
const colorStyle = computed(() => props.color ? `text-${props.color}` : "");
|
|
15
16
|
</script>
|
|
@@ -26,12 +27,13 @@ const colorStyle = computed(() => props.color ? `text-${props.color}` : "");
|
|
|
26
27
|
class="border px-4 py-0 mt-2 text-subtitle-2 d-flex align-center app-input-card"
|
|
27
28
|
style="cursor: text;"
|
|
28
29
|
:class="{
|
|
29
|
-
'bg-disable': disabled
|
|
30
|
+
'bg-disable': disabled,
|
|
31
|
+
'is-empty': empty
|
|
30
32
|
}"
|
|
31
33
|
elevation="0"
|
|
32
34
|
min-height="41px"
|
|
33
35
|
>
|
|
34
|
-
<div class="d-flex flex-column app-font-size-13"
|
|
36
|
+
<div class="d-flex flex-column app-font-size-13">
|
|
35
37
|
<slot>
|
|
36
38
|
<AppLink
|
|
37
39
|
class="pb-0 app-font-size-13"
|
|
@@ -57,6 +59,9 @@ const colorStyle = computed(() => props.color ? `text-${props.color}` : "");
|
|
|
57
59
|
|
|
58
60
|
.app-input-card span, .app-input-card p {
|
|
59
61
|
font-size: 13px;
|
|
62
|
+
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
|
|
63
|
+
}
|
|
64
|
+
.app-input-card.is-empty span, .app-input-card.is-empty p {
|
|
60
65
|
color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity));
|
|
61
66
|
}
|
|
62
67
|
</style>
|