@asd20/ui 3.2.736 → 3.2.738
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
|
@@ -82,6 +82,7 @@ export default {
|
|
|
82
82
|
icon: 'phone-alt',
|
|
83
83
|
label: 'Phone',
|
|
84
84
|
description: `<a href='tel:${this.group.contactPhone}'>${this.group.contactPhone}</a>`,
|
|
85
|
+
link: `tel:${this.group.contactPhone}`,
|
|
85
86
|
})
|
|
86
87
|
}
|
|
87
88
|
|
|
@@ -119,6 +120,7 @@ export default {
|
|
|
119
120
|
description: `<a href='${
|
|
120
121
|
this.group.contactEmail
|
|
121
122
|
}'>${this.group.contactEmail.replace('mailto:', '')}</a>`,
|
|
123
|
+
link: `mailto:${this.group.contactEmail}`,
|
|
122
124
|
})
|
|
123
125
|
}
|
|
124
126
|
|
|
@@ -30,12 +30,8 @@
|
|
|
30
30
|
</asd20-list-item>
|
|
31
31
|
<asd20-accordion :opened="true" label="Favorites">
|
|
32
32
|
<transition-group name="fade" mode="in-out">
|
|
33
|
-
<div
|
|
34
|
-
|
|
35
|
-
v-for="item in trueItems"
|
|
36
|
-
:key="item.id"
|
|
37
|
-
>
|
|
38
|
-
<a :href="item.website">{{ item.label }}</a>
|
|
33
|
+
<div class="list-item" v-for="item in trueItems" :key="item.id">
|
|
34
|
+
<asd20-button :link="item.website">{{ item.label }}</asd20-button>
|
|
39
35
|
<button @click="editFavorites(item.id)">
|
|
40
36
|
<asd20-icon v-show="!item.value" :name="icon" size="md" />
|
|
41
37
|
<asd20-icon
|
|
@@ -54,11 +50,11 @@
|
|
|
54
50
|
>
|
|
55
51
|
<transition-group name="fade" mode="in-out">
|
|
56
52
|
<div
|
|
57
|
-
class="
|
|
53
|
+
class="list-item"
|
|
58
54
|
v-for="item in categoryItem.itemsSorted"
|
|
59
55
|
:key="item.id"
|
|
60
56
|
>
|
|
61
|
-
<
|
|
57
|
+
<asd20-button :link="item.website">{{ item.label }}</asd20-button>
|
|
62
58
|
<button @click="editFavorites(item.id)">
|
|
63
59
|
<asd20-icon v-show="!item.value" :name="icon" size="md" />
|
|
64
60
|
<asd20-icon
|
|
@@ -233,18 +229,24 @@ export default {
|
|
|
233
229
|
.picker-button {
|
|
234
230
|
// margin: space(0.1) space(0);
|
|
235
231
|
}
|
|
236
|
-
.
|
|
232
|
+
.list-item {
|
|
237
233
|
display: flex;
|
|
238
234
|
align-items: center;
|
|
239
|
-
|
|
235
|
+
justify-content: space-between;
|
|
240
236
|
a {
|
|
241
237
|
font-size: 1rem;
|
|
238
|
+
text-align: left;
|
|
242
239
|
color: var(--color__secondary-s30);
|
|
243
240
|
text-decoration: none;
|
|
244
241
|
display: flex;
|
|
245
|
-
|
|
246
|
-
|
|
242
|
+
font-family: var(--website-typography__font-family-body);
|
|
243
|
+
font-weight: 300;
|
|
244
|
+
font-size: 0.85rem !important;
|
|
245
|
+
flex-shrink: 1;
|
|
246
|
+
// padding: 0 space(1);
|
|
247
|
+
// flex-grow: 1;
|
|
247
248
|
}
|
|
249
|
+
|
|
248
250
|
button {
|
|
249
251
|
appearance: none;
|
|
250
252
|
border: 0;
|
|
@@ -258,15 +260,15 @@ export default {
|
|
|
258
260
|
position: relative;
|
|
259
261
|
margin-left: space(0.5);
|
|
260
262
|
padding: space(0.5) space(0.5);
|
|
261
|
-
&::before {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
}
|
|
263
|
+
// &::before {
|
|
264
|
+
// content: '';
|
|
265
|
+
// position: absolute;
|
|
266
|
+
// width: 1px;
|
|
267
|
+
// left: space(-0.125);
|
|
268
|
+
// top: 0;
|
|
269
|
+
// bottom: 0;
|
|
270
|
+
// background: rgba(0, 0, 0, 0.125);
|
|
271
|
+
// }
|
|
270
272
|
}
|
|
271
273
|
&--reversed {
|
|
272
274
|
color: white;
|
|
@@ -286,6 +288,7 @@ export default {
|
|
|
286
288
|
}
|
|
287
289
|
|
|
288
290
|
.asd20-picker__modal {
|
|
291
|
+
border-bottom: 2px solid rgba(235, 235, 235, 0.8);
|
|
289
292
|
.district-link {
|
|
290
293
|
margin-left: space(0.5) !important;
|
|
291
294
|
font-weight: bold;
|
|
@@ -312,6 +315,10 @@ export default {
|
|
|
312
315
|
// margin-left: space(1);
|
|
313
316
|
// width: auto;
|
|
314
317
|
// }
|
|
318
|
+
&::v-deep .asd20-modal {
|
|
319
|
+
height: 100%;
|
|
320
|
+
overflow-y: auto !important;
|
|
321
|
+
}
|
|
315
322
|
}
|
|
316
323
|
|
|
317
324
|
@media (min-width: 1024px) {
|
|
@@ -325,7 +332,7 @@ export default {
|
|
|
325
332
|
width: 40vw;
|
|
326
333
|
min-width: 400px;
|
|
327
334
|
flex-grow: 0;
|
|
328
|
-
height: min-content;
|
|
335
|
+
// height: min-content;
|
|
329
336
|
}
|
|
330
337
|
height: auto;
|
|
331
338
|
}
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
methods: {
|
|
160
|
-
|
|
160
|
+
initNotifications(incomingNotifications) {
|
|
161
161
|
// filter out old notifications that are no longer present in incoming notifications
|
|
162
162
|
this.notificationsFromIndex = this.notificationsFromIndex.filter(n =>
|
|
163
163
|
incomingNotifications.find(n2 => n2.id === n.id)
|
|
@@ -462,7 +462,7 @@ export default {
|
|
|
462
462
|
|
|
463
463
|
&--banner .pagination {
|
|
464
464
|
position: absolute;
|
|
465
|
-
z-index:
|
|
465
|
+
z-index: 199;
|
|
466
466
|
right: 0.5rem;
|
|
467
467
|
bottom: 0.5rem;
|
|
468
468
|
color: white;
|