@paris-ias/list 1.1.12 → 1.1.13
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/dist/module.json
CHANGED
|
@@ -28,27 +28,36 @@
|
|
|
28
28
|
class="dense"
|
|
29
29
|
:class="expanded ? 'ml-md-8' : 'ml-md-2'"
|
|
30
30
|
>
|
|
31
|
-
<div class="text-overline" v-if="item.groups && item.groups.team">
|
|
32
|
-
{{ item.latest.role[locale] }}
|
|
33
|
-
</div>
|
|
34
31
|
<v-skeleton-loader v-if="loading" type="heading" />
|
|
35
32
|
|
|
36
33
|
<div
|
|
37
34
|
v-else
|
|
38
|
-
class="d-flex justify-space-between text-title align-center
|
|
35
|
+
class="d-flex justify-space-between text-title align-center"
|
|
39
36
|
:class="expanded ? 'text-h5 text-md-h4' : 'text-h5'"
|
|
40
37
|
>
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
38
|
+
<div class="d-flex flex-column">
|
|
39
|
+
<span
|
|
40
|
+
v-html="
|
|
41
|
+
searchQuery.length
|
|
42
|
+
? highlightAndTruncate(
|
|
43
|
+
300,
|
|
44
|
+
item.firstname + ' ' + item.lastname,
|
|
45
|
+
searchQuery.split(' '),
|
|
46
|
+
)
|
|
47
|
+
: item.firstname + ' ' + item.lastname
|
|
48
|
+
"
|
|
49
|
+
/>
|
|
50
|
+
<div
|
|
51
|
+
class="role-label"
|
|
52
|
+
v-if="
|
|
53
|
+
item.groups &&
|
|
54
|
+
(item.groups.team || item.groups.board) &&
|
|
55
|
+
item.latest
|
|
56
|
+
"
|
|
57
|
+
>
|
|
58
|
+
{{ item.latest.role }}
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
52
61
|
<v-spacer />
|
|
53
62
|
<PeopleBadges :item="item" />
|
|
54
63
|
</div>
|
|
@@ -207,6 +216,14 @@ const fellowSlug = computed(() => props.item?.slug || props.item?.id)
|
|
|
207
216
|
transform: scale(1.05);
|
|
208
217
|
}
|
|
209
218
|
|
|
219
|
+
.role-label {
|
|
220
|
+
font-size: 0.8125rem;
|
|
221
|
+
line-height: 1.4;
|
|
222
|
+
opacity: 0.7;
|
|
223
|
+
padding-bottom: 6px;
|
|
224
|
+
text-transform: uppercase;
|
|
225
|
+
}
|
|
226
|
+
|
|
210
227
|
.paragraph {
|
|
211
228
|
max-width: 83ch !important;
|
|
212
229
|
display: -webkit-box;
|