@dataloop-ai/components 0.20.251 → 0.20.253
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
|
@@ -41,6 +41,8 @@
|
|
|
41
41
|
<dl-button
|
|
42
42
|
icon="icon-dl-close"
|
|
43
43
|
size="m"
|
|
44
|
+
text-color="dell-gray-600"
|
|
45
|
+
hover-text-color="var(--dell-gray-800)"
|
|
44
46
|
flat
|
|
45
47
|
:disabled="disabled"
|
|
46
48
|
@mousedown="onClear"
|
|
@@ -73,7 +75,11 @@
|
|
|
73
75
|
ref="label"
|
|
74
76
|
class="dl-smart-search-input__search-label"
|
|
75
77
|
:text="computedStatus.message"
|
|
76
|
-
:color="
|
|
78
|
+
:color="
|
|
79
|
+
computedStatus.type === 'error'
|
|
80
|
+
? 'var(--dell-red-500)'
|
|
81
|
+
: 'gray'
|
|
82
|
+
"
|
|
77
83
|
:style="labelStyles"
|
|
78
84
|
/>
|
|
79
85
|
</div>
|
|
@@ -1037,7 +1043,10 @@ export default defineComponent({
|
|
|
1037
1043
|
|
|
1038
1044
|
const labelStyles = computed<Record<string, string | number>>(() => {
|
|
1039
1045
|
return {
|
|
1040
|
-
color:
|
|
1046
|
+
color:
|
|
1047
|
+
computedStatus.value.type === 'error'
|
|
1048
|
+
? 'var(--dell-red-500)'
|
|
1049
|
+
: 'gray'
|
|
1041
1050
|
}
|
|
1042
1051
|
})
|
|
1043
1052
|
|
|
@@ -1414,7 +1423,6 @@ export default defineComponent({
|
|
|
1414
1423
|
}
|
|
1415
1424
|
::v-deep .dl-button {
|
|
1416
1425
|
padding: 0px;
|
|
1417
|
-
color: var(--dl-color-darker);
|
|
1418
1426
|
}
|
|
1419
1427
|
}
|
|
1420
1428
|
|