@asd20/ui 3.2.938 → 3.2.940
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 +1 -1
- package/src/components/atoms/Asd20Button/index.vue +1 -0
- package/src/components/templates/Asd20ArticleDigestCompactTemplate/index.vue +13 -8
- package/src/components/templates/Asd20ArticleDigestTemplate/index.vue +17 -10
- package/src/components/templates/Asd20ArticleListTemplate/index.vue +11 -6
- package/src/components/templates/Asd20CampusTemplate/index.vue +2 -0
- package/src/components/templates/Asd20ClubsTemplate/index.vue +13 -8
package/package.json
CHANGED
|
@@ -324,14 +324,19 @@ export default {
|
|
|
324
324
|
cards() {
|
|
325
325
|
if (!Array.isArray(this.stories)) return []
|
|
326
326
|
return this.stories.map(s =>
|
|
327
|
-
mapMessageToCard(
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
327
|
+
mapMessageToCard(
|
|
328
|
+
s,
|
|
329
|
+
{
|
|
330
|
+
// reversed: true,
|
|
331
|
+
date: '',
|
|
332
|
+
time: '',
|
|
333
|
+
description: '',
|
|
334
|
+
// image: '',
|
|
335
|
+
// pinned: false,
|
|
336
|
+
},
|
|
337
|
+
this.organization,
|
|
338
|
+
this.organizationOptions
|
|
339
|
+
)
|
|
335
340
|
)
|
|
336
341
|
},
|
|
337
342
|
categoryOptions() {
|
|
@@ -236,11 +236,13 @@
|
|
|
236
236
|
/></asd20-widgets-section>
|
|
237
237
|
|
|
238
238
|
<!-- Feeds -->
|
|
239
|
-
<asd20-feeds-section
|
|
239
|
+
<!-- <asd20-feeds-section
|
|
240
240
|
:announcements="announcements"
|
|
241
241
|
:announcements-feed-props="announcementsFeedProps"
|
|
242
242
|
@announcements-in-view="$emit('announcements-in-view')"
|
|
243
|
-
|
|
243
|
+
:organization="organization"
|
|
244
|
+
:organization-options="organizationOptions"
|
|
245
|
+
></asd20-feeds-section> -->
|
|
244
246
|
|
|
245
247
|
<!-- Quick Links -->
|
|
246
248
|
<asd20-quicklinks-menu slot="before-footer" :quick-links="quickLinks">
|
|
@@ -325,14 +327,19 @@ export default {
|
|
|
325
327
|
cards() {
|
|
326
328
|
if (!Array.isArray(this.stories)) return []
|
|
327
329
|
return this.stories.map(s =>
|
|
328
|
-
mapMessageToCard(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
330
|
+
mapMessageToCard(
|
|
331
|
+
s,
|
|
332
|
+
{
|
|
333
|
+
// reversed: true,
|
|
334
|
+
// date: '',
|
|
335
|
+
time: '',
|
|
336
|
+
// description: '',
|
|
337
|
+
// image: '',
|
|
338
|
+
// pinned: false,
|
|
339
|
+
},
|
|
340
|
+
this.organization,
|
|
341
|
+
this.organizationOptions
|
|
342
|
+
)
|
|
336
343
|
)
|
|
337
344
|
|
|
338
345
|
// .sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
|
|
@@ -342,11 +342,16 @@ export default {
|
|
|
342
342
|
cards() {
|
|
343
343
|
if (!Array.isArray(this.announcements)) return []
|
|
344
344
|
return this.announcements.map(a =>
|
|
345
|
-
mapMessageToCard(
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
345
|
+
mapMessageToCard(
|
|
346
|
+
a,
|
|
347
|
+
{
|
|
348
|
+
reversed: false,
|
|
349
|
+
time: '',
|
|
350
|
+
image: '',
|
|
351
|
+
},
|
|
352
|
+
this.organization,
|
|
353
|
+
this.organizationOptions
|
|
354
|
+
)
|
|
350
355
|
)
|
|
351
356
|
},
|
|
352
357
|
categoryOptions() {
|
|
@@ -522,7 +527,7 @@ export default {
|
|
|
522
527
|
padding: space(0.25);
|
|
523
528
|
> .asd20-button__label {
|
|
524
529
|
margin: 0;
|
|
525
|
-
padding: 0.5rem;
|
|
530
|
+
padding: 0.5rem 0;
|
|
526
531
|
}
|
|
527
532
|
}
|
|
528
533
|
p {
|
|
@@ -322,14 +322,19 @@ export default {
|
|
|
322
322
|
return this.stories
|
|
323
323
|
.filter(s => s.categories.some(c => c.includes('Clubs:')))
|
|
324
324
|
.map(s =>
|
|
325
|
-
mapMessageToCard(
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
325
|
+
mapMessageToCard(
|
|
326
|
+
s,
|
|
327
|
+
{
|
|
328
|
+
// reversed: true,
|
|
329
|
+
date: '',
|
|
330
|
+
time: '',
|
|
331
|
+
// description: '',
|
|
332
|
+
image: '',
|
|
333
|
+
pinned: false,
|
|
334
|
+
},
|
|
335
|
+
this.organization,
|
|
336
|
+
this.organizationOptions
|
|
337
|
+
)
|
|
333
338
|
)
|
|
334
339
|
.sort((a, b) => (a.title > b.title ? 1 : b.title > a.title ? -1 : 0))
|
|
335
340
|
// .map(c => ({
|