@dataloop-ai/components 0.20.3 → 0.20.4
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
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div class="dl-label-picker">
|
|
3
3
|
<dl-input
|
|
4
4
|
v-model="inputValue"
|
|
5
5
|
:placeholder="placeHolderText"
|
|
6
|
-
size="
|
|
6
|
+
size="m"
|
|
7
7
|
has-prepend
|
|
8
|
-
padding-prop="0px 0px 0px 0px"
|
|
9
8
|
:style="inputStyles"
|
|
10
9
|
@focus="onFocus"
|
|
11
10
|
@blur="onBlur"
|
|
@@ -13,7 +12,7 @@
|
|
|
13
12
|
>
|
|
14
13
|
<template #prepend>
|
|
15
14
|
<dl-icon
|
|
16
|
-
|
|
15
|
+
color="dl-color-lighter"
|
|
17
16
|
icon="icon-dl-search"
|
|
18
17
|
size="12px"
|
|
19
18
|
/>
|
|
@@ -142,7 +141,7 @@ export default defineComponent({
|
|
|
142
141
|
|
|
143
142
|
const placeHolderText = computed(() => {
|
|
144
143
|
if (!currentSelectedLabel.value) {
|
|
145
|
-
return
|
|
144
|
+
return 'Search a label'
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
return currentSelectedLabel.value.displayLabel
|
|
@@ -239,7 +238,25 @@ export default defineComponent({
|
|
|
239
238
|
</script>
|
|
240
239
|
|
|
241
240
|
<style scope>
|
|
241
|
+
.dl-label-picker {
|
|
242
|
+
width: 200px;
|
|
243
|
+
}
|
|
242
244
|
.dl-label-picker-item {
|
|
243
245
|
cursor: pointer;
|
|
246
|
+
height: 32px;
|
|
247
|
+
line-height: 30px;
|
|
248
|
+
}
|
|
249
|
+
</style>
|
|
250
|
+
|
|
251
|
+
<style>
|
|
252
|
+
.dl-label-picker .dl-table thead tr,
|
|
253
|
+
.dl-label-picker .dl-table .inner-th-wrapper {
|
|
254
|
+
height: 10px;
|
|
255
|
+
}
|
|
256
|
+
.dl-label-picker .dl-table tbody tr {
|
|
257
|
+
height: auto;
|
|
258
|
+
}
|
|
259
|
+
.dl-label-picker .dl-table tbody tr td {
|
|
260
|
+
padding: 2px 0;
|
|
244
261
|
}
|
|
245
262
|
</style>
|
|
@@ -1563,9 +1563,9 @@ export default defineComponent({
|
|
|
1563
1563
|
|
|
1564
1564
|
&__adornment-container {
|
|
1565
1565
|
display: flex;
|
|
1566
|
-
justify-content:
|
|
1566
|
+
justify-content: end;
|
|
1567
1567
|
align-items: var(--dl-input-align-items);
|
|
1568
|
-
|
|
1568
|
+
flex: 0 0 22px;
|
|
1569
1569
|
&--expandable {
|
|
1570
1570
|
margin-top: 3px;
|
|
1571
1571
|
margin-right: 3px;
|