@designcrowd/fe-shared-lib 1.1.6-eng-2158-6 → 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: {
|
|
@@ -100,9 +100,15 @@
|
|
|
100
100
|
<slot :index="index" :option="option" :search="search" name="option">
|
|
101
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>
|
|
@@ -545,6 +551,13 @@ fieldset[disabled] .select {
|
|
|
545
551
|
align-items: center;
|
|
546
552
|
}
|
|
547
553
|
|
|
554
|
+
.select__item__text {
|
|
555
|
+
min-width: 0;
|
|
556
|
+
overflow: hidden;
|
|
557
|
+
text-overflow: ellipsis;
|
|
558
|
+
white-space: nowrap;
|
|
559
|
+
}
|
|
560
|
+
|
|
548
561
|
.select-enter-active,
|
|
549
562
|
.select-leave-active {
|
|
550
563
|
transition: all 0.15s ease;
|