@asd20/ui 3.2.972 → 3.2.974

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.972",
8
+ "version": "3.2.974",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -90,7 +90,7 @@ export default {
90
90
  background-attachment: scroll;
91
91
  position: relative;
92
92
  background-repeat: repeat-x;
93
- animation: leftscroll 2000s infinite linear;
93
+ animation: leftscroll 4000s infinite linear;
94
94
  border-top: 20px solid var(--color__primary);
95
95
  border-bottom: 20px solid var(--color__primary);
96
96
 
@@ -39,7 +39,7 @@
39
39
  <asd20-list @click.native="dismiss">
40
40
  <asd20-list-item
41
41
  v-for="item in pageListItems"
42
- :key="item.label"
42
+ :key="item.page.id"
43
43
  v-bind="item"
44
44
  />
45
45
  </asd20-list>
@@ -56,12 +56,14 @@
56
56
  </div>
57
57
  </asd20-viewport>
58
58
  <div class="asd20-site-search__suggested" v-if="_groups.length > 0">
59
- <h3>Suggested Contact:</h3>
59
+ <h3>{{ _groups.length > 1 ? 'Suggested Contacts:' : 'Suggested Contact:' }}</h3>
60
60
  <asd20-list-item
61
61
  v-for="g in _groups"
62
62
  :text-avatar="
63
63
  g.abbreviation ||
64
- (g.shortName || g.title).match(/\b([A-Z])/g).join('')
64
+ ((g.shortName || g.title || '')
65
+ .match(/\b([A-Z])/g) || [])
66
+ .join('')
65
67
  "
66
68
  :key="g.id"
67
69
  :label="`${g.title}`"
@@ -176,10 +178,10 @@ export default {
176
178
 
177
179
  computed: {
178
180
  pageListItems() {
179
- return mapPagesToListItems(this._pages)
181
+ return Array.isArray(this._pages) ? mapPagesToListItems(this._pages) : []
180
182
  },
181
183
  fileListItems() {
182
- return mapFilesToListItems(this._files)
184
+ return Array.isArray(this._files) ? mapFilesToListItems(this._files) : []
183
185
  },
184
186
  tabs() {
185
187
  return [
@@ -307,11 +309,11 @@ export default {
307
309
  flex-grow: 1;
308
310
  }
309
311
  &__suggested {
310
- border-top: 1px solid var(--color__tertiary);
312
+ border-top: 2px solid var(--color__tertiary);
311
313
  background: var(--website-page__alternate-background-t50);
312
- &::v-deep h3 {
313
- font-size: 0.75rem;
314
- font-weight: normal;
314
+ h3 {
315
+ font-size: 1rem;
316
+ font-weight: bold;
315
317
  color: var(--website-card__reverse-background-color);
316
318
  margin: space(0.25) 0 0 space(0.5);
317
319
  }