@dataloop-ai/components 0.18.101 → 0.18.102
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
|
@@ -37,7 +37,10 @@
|
|
|
37
37
|
<dl-ellipsis :text="suffixPreview" />
|
|
38
38
|
</slot>
|
|
39
39
|
</span>
|
|
40
|
-
<div
|
|
40
|
+
<div
|
|
41
|
+
v-if="hint || hasHintSlot || hasActions"
|
|
42
|
+
class="dl-label__suffix"
|
|
43
|
+
>
|
|
41
44
|
<div class="dl-label__suffix-slot">
|
|
42
45
|
<slot
|
|
43
46
|
v-if="mouseOver"
|
|
@@ -138,6 +141,11 @@ export default defineComponent({
|
|
|
138
141
|
const hasSuffixSlot = computed(() => {
|
|
139
142
|
return !!slots['suffix']
|
|
140
143
|
})
|
|
144
|
+
|
|
145
|
+
const hasHintSlot = computed(() => {
|
|
146
|
+
return !!slots['hint']
|
|
147
|
+
})
|
|
148
|
+
|
|
141
149
|
const prefixPreview = computed(() => {
|
|
142
150
|
return prefix.value?.trim() ?? ''
|
|
143
151
|
})
|
|
@@ -151,6 +159,7 @@ export default defineComponent({
|
|
|
151
159
|
styles,
|
|
152
160
|
hasActions,
|
|
153
161
|
hasSuffixSlot,
|
|
162
|
+
hasHintSlot,
|
|
154
163
|
prefixPreview,
|
|
155
164
|
suffixPreview
|
|
156
165
|
}
|