@designcrowd/fe-shared-lib 1.1.6-eng-2158-5 → 1.1.6-eng-2158-7
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
|
@@ -36,6 +36,7 @@ export default {
|
|
|
36
36
|
options: [
|
|
37
37
|
{ imageUrl: 'https://fabric-render-uat7.services.staging.designcrowd.ninja/asset/logodraft/9c99bb94-bfa2-4239-ac6c-ff2a3f704593?v=4&outputFormat=png&s=qsJ%2b%2fOikg7ojzDRVlzE3bsZm645C7Cl1BpgCxTAc1rE%3d', label: 'Luke Skywalker'},
|
|
38
38
|
{ imageUrl: 'https://fabric-render-uat7.services.staging.designcrowd.ninja/asset/logodraft/9c99bb94-bfa2-4239-ac6c-ff2a3f704593?v=4&outputFormat=png&s=qsJ%2b%2fOikg7ojzDRVlzE3bsZm645C7Cl1BpgCxTAc1rE%3d', label: 'Princess Leia Organa'},
|
|
39
|
+
{ imageUrl: 'https://fabric-render-uat7.services.staging.designcrowd.ninja/asset/logodraft/9c99bb94-bfa2-4239-ac6c-ff2a3f704593?v=4&outputFormat=png&s=qsJ%2b%2fOikg7ojzDRVlzE3bsZm645C7Cl1BpgCxTAc1rE%3d', label: 'Really really really really really really really really really really really really really really really really really long name'}
|
|
39
40
|
],
|
|
40
41
|
},
|
|
41
42
|
argTypes: {
|
|
@@ -98,11 +98,17 @@
|
|
|
98
98
|
@mouseenter.self="pointerSet(index)"
|
|
99
99
|
>
|
|
100
100
|
<slot :index="index" :option="option" :search="search" name="option">
|
|
101
|
-
<span>
|
|
101
|
+
<span class="select__item">
|
|
102
102
|
<span v-if="getOptionImageUrl(option)">
|
|
103
|
-
<img
|
|
103
|
+
<img
|
|
104
|
+
class="tw-mr-1"
|
|
105
|
+
height="24"
|
|
106
|
+
width="30"
|
|
107
|
+
:src="getOptionImageUrl(option)"
|
|
108
|
+
alt=""
|
|
109
|
+
/>
|
|
104
110
|
</span>
|
|
105
|
-
<span>{{ getOptionLabel(option) }}</span>
|
|
111
|
+
<span class="select__item__text">{{ getOptionLabel(option) }}</span>
|
|
106
112
|
</span>
|
|
107
113
|
</slot>
|
|
108
114
|
</span>
|
|
@@ -540,6 +546,18 @@ fieldset[disabled] .select {
|
|
|
540
546
|
pointer-events: none;
|
|
541
547
|
}
|
|
542
548
|
|
|
549
|
+
.select__item {
|
|
550
|
+
display: flex;
|
|
551
|
+
align-items: center;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.select__item__text {
|
|
555
|
+
min-width: 0;
|
|
556
|
+
overflow: hidden;
|
|
557
|
+
text-overflow: ellipsis;
|
|
558
|
+
white-space: nowrap;
|
|
559
|
+
}
|
|
560
|
+
|
|
543
561
|
.select-enter-active,
|
|
544
562
|
.select-leave-active {
|
|
545
563
|
transition: all 0.15s ease;
|