@asd20/ui 3.2.451 → 3.2.454
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
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
v-bind="announcementsFeedProps"
|
|
12
12
|
:loading="!Array.isArray(announcements)"
|
|
13
13
|
:cards="announcementCards"
|
|
14
|
-
:slidesPerView="4"
|
|
14
|
+
:slidesPerView="announcementCards.length < 6 ? 3 : 4"
|
|
15
|
+
cardType="Announcement"
|
|
15
16
|
></Asd20SwiperFeed>
|
|
16
17
|
</intersect>
|
|
17
18
|
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
:cards="eventCards"
|
|
24
25
|
:slidesPerView="4"
|
|
25
26
|
@select="onSelectEventCard"
|
|
27
|
+
cardType="Event"
|
|
26
28
|
></Asd20SwiperFeed>
|
|
27
29
|
</intersect>
|
|
28
30
|
|
|
@@ -33,6 +35,7 @@
|
|
|
33
35
|
:loading="!Array.isArray(stories)"
|
|
34
36
|
:cards="storyCards"
|
|
35
37
|
:slidesPerView="3"
|
|
38
|
+
cardType="Feature"
|
|
36
39
|
></Asd20SwiperFeed>
|
|
37
40
|
</intersect>
|
|
38
41
|
|
|
@@ -80,6 +83,8 @@ export default {
|
|
|
80
83
|
|
|
81
84
|
people: { type: [Array, Promise], default: () => [] },
|
|
82
85
|
peopleFeedProps: { type: Object, default: () => {} },
|
|
86
|
+
|
|
87
|
+
cardType: { type: String, default: '' },
|
|
83
88
|
},
|
|
84
89
|
|
|
85
90
|
data: () => ({
|
|
@@ -494,9 +494,9 @@ export default {
|
|
|
494
494
|
}
|
|
495
495
|
&__title-content {
|
|
496
496
|
max-width: space(35);
|
|
497
|
-
.asd20-page-header__lead {
|
|
498
|
-
|
|
499
|
-
}
|
|
497
|
+
// .asd20-page-header__lead {
|
|
498
|
+
// margin-right: 25%;
|
|
499
|
+
// }
|
|
500
500
|
}
|
|
501
501
|
|
|
502
502
|
&::v-deep .asd20-organization-picker {
|
|
@@ -289,8 +289,8 @@ export default {
|
|
|
289
289
|
.asd20-icon {
|
|
290
290
|
transform: rotate(90deg);
|
|
291
291
|
margin-right: space(-0.5);
|
|
292
|
-
--line-color: var(--
|
|
293
|
-
color: var(--
|
|
292
|
+
--line-color: var(--color__primary);
|
|
293
|
+
color: var(--color__primary);
|
|
294
294
|
fill: var(--website-menu__icon-fill-color);
|
|
295
295
|
// opacity: 0.5;
|
|
296
296
|
}
|
|
@@ -336,7 +336,7 @@ export default {
|
|
|
336
336
|
transform: rotate(-90deg);
|
|
337
337
|
margin-left: -1.5 * map-get($icon-sizes, 'sm');
|
|
338
338
|
margin-right: 0.5 * map-get($icon-sizes, 'sm');
|
|
339
|
-
|
|
339
|
+
--line-color: var(--color__primary);
|
|
340
340
|
// opacity: 0.5;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
@@ -15,7 +15,11 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
<div class="swiper-slide">
|
|
17
17
|
<asd20-card
|
|
18
|
-
:title="
|
|
18
|
+
:title="
|
|
19
|
+
cards.length >= 10 || cardType === 'Event'
|
|
20
|
+
? linkLabel
|
|
21
|
+
: `Watch this space for more ${cardType}s.`
|
|
22
|
+
"
|
|
19
23
|
:link="link"
|
|
20
24
|
expanded-header
|
|
21
25
|
zoom
|
|
@@ -30,7 +34,7 @@
|
|
|
30
34
|
</template>
|
|
31
35
|
</asd20-swiper>
|
|
32
36
|
<asd20-button
|
|
33
|
-
v-if="link && linkLabel"
|
|
37
|
+
v-if="link && linkLabel && (cards.length >= 10 || cardType === 'Event')"
|
|
34
38
|
:label="linkLabel"
|
|
35
39
|
:link="link"
|
|
36
40
|
size="md"
|
|
@@ -65,6 +69,7 @@ export default {
|
|
|
65
69
|
link: { type: String, default: '' },
|
|
66
70
|
linkLabel: { type: String, default: '' },
|
|
67
71
|
tag: { type: String, default: 'div' },
|
|
72
|
+
cardType: { type: String, default: '' },
|
|
68
73
|
},
|
|
69
74
|
|
|
70
75
|
computed: {
|