@dataloop-ai/components 0.19.158 → 0.19.159
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
|
@@ -9,23 +9,13 @@
|
|
|
9
9
|
@click="$emit('click')"
|
|
10
10
|
>
|
|
11
11
|
<slot name="prefix" />
|
|
12
|
-
<span
|
|
13
|
-
|
|
14
|
-
class="dl-chip-left-icon-container"
|
|
15
|
-
>
|
|
16
|
-
<dl-icon
|
|
17
|
-
class="dl-chip-left-icon"
|
|
18
|
-
size="12px"
|
|
19
|
-
:icon="icon"
|
|
20
|
-
/>
|
|
12
|
+
<span v-if="hasIcon" class="dl-chip-left-icon-container">
|
|
13
|
+
<dl-icon class="dl-chip-left-icon" size="12px" :icon="icon" />
|
|
21
14
|
</span>
|
|
22
15
|
<dl-tooltip v-if="overflow && isOverflowing">
|
|
23
16
|
{{ label }}
|
|
24
17
|
</dl-tooltip>
|
|
25
|
-
<div
|
|
26
|
-
v-if="hasLabelSlot || hasLabel"
|
|
27
|
-
class="dl-chip--content"
|
|
28
|
-
>
|
|
18
|
+
<div v-if="hasLabelSlot || hasLabel" class="dl-chip--content">
|
|
29
19
|
<div
|
|
30
20
|
ref="dlChipRef"
|
|
31
21
|
:class="{
|
|
@@ -221,6 +211,8 @@ export default defineComponent({
|
|
|
221
211
|
width: auto;
|
|
222
212
|
min-width: 0;
|
|
223
213
|
max-width: 100%;
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
224
216
|
}
|
|
225
217
|
|
|
226
218
|
&--ellipsis {
|