@asd20/ui 3.2.616 → 3.2.618

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.616",
8
+ "version": "3.2.618",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -72,7 +72,7 @@
72
72
  :events="events"
73
73
  :events-feed-props="eventsFeedProps"
74
74
  @events-in-view="$emit('events-in-view')"
75
- :stories="clubs"
75
+ :stories="clubStories"
76
76
  :stories-feed-props="storiesFeedProps"
77
77
  @stories-in-view="$emit('stories-in-view')"
78
78
  ></asd20-feeds-section>
@@ -87,13 +87,7 @@
87
87
 
88
88
  <intersect @enter="$emit('stories-in-view')">
89
89
  <div class="article-digest">
90
- <h2 class="feed-title">
91
- {{
92
- storiesFeedProps && storiesFeedProps.title
93
- ? storiesFeedProps.title
94
- : 'Stories & Features'
95
- }}
96
- </h2>
90
+ <h2 class="feed-title">Current Clubs & Activities</h2>
97
91
  <div class="search-header">
98
92
  <asd20-search-field
99
93
  :value="keywords"
@@ -343,11 +337,11 @@ export default {
343
337
  // link: c.link.replace('/stories', '/announcements'),
344
338
  // }))
345
339
  },
346
- clubs() {
340
+ clubStories() {
347
341
  if (!Array.isArray(this.stories)) return []
348
- return this.stories.filter(
349
- s => !s.categories.some(c => c.includes('Clubs:'))
350
- )
342
+ return this.stories
343
+ .filter(s => !s.categories.some(c => c.includes('Clubs:')))
344
+ .slice(0, 10)
351
345
  },
352
346
  // categoryOptions() {
353
347
  // // get a unique array of categories with duplicates removed
@@ -464,6 +458,14 @@ export default {
464
458
  }
465
459
  .asd20-card {
466
460
  margin-bottom: space(0.5);
461
+ // border-bottom: 1px solid gray;
462
+ .asd20-card__content:hover {
463
+ background: rgba(200, 200, 200, 0.2);
464
+ }
465
+ .asd20-card__meta {
466
+ padding-bottom: space(1);
467
+ border-bottom: 1px solid gray;
468
+ }
467
469
  // &__date-time {
468
470
  // display: none;
469
471
  // }
@@ -513,6 +515,11 @@ export default {
513
515
  .asd20-search-field .asd20-icon {
514
516
  margin-left: 0;
515
517
  }
518
+ .feed-items {
519
+ --website-card__border-color: transparent;
520
+ --website-card__background-color: transparent;
521
+ --website-card__background-style: none;
522
+ }
516
523
  }
517
524
 
518
525
  @media (min-width: 1024px) {
@@ -553,10 +560,10 @@ export default {
553
560
  max-width: 100vw;
554
561
  }
555
562
  .feed-items {
556
- display: grid;
557
- grid-template-columns: 1fr 1fr 1fr;
558
- grid-gap: space(1);
559
- margin-bottom: space(1);
563
+ // display: grid;
564
+ // grid-template-columns: 1fr 1fr 1fr;
565
+ // grid-gap: space(1);
566
+ // margin-bottom: space(1);
560
567
  .asd20-card {
561
568
  margin-bottom: 0;
562
569
  }
@@ -576,6 +583,7 @@ export default {
576
583
  .article-digest {
577
584
  // flex-basis: 100%;
578
585
  margin: space(1) space(3) space(1) space(3);
586
+ max-width: 60%;
579
587
  }
580
588
  }
581
589
  }