@asd20/ui 3.2.973 → 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
|
@@ -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.
|
|
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
|
|
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
|
-
|
|
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:
|
|
312
|
+
border-top: 2px solid var(--color__tertiary);
|
|
311
313
|
background: var(--website-page__alternate-background-t50);
|
|
312
|
-
|
|
313
|
-
font-size:
|
|
314
|
-
font-weight:
|
|
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
|
}
|