@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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.736",
8
+ "version": "3.2.738",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -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
- class="favorite-list-item"
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="favorite-list-item"
53
+ class="list-item"
58
54
  v-for="item in categoryItem.itemsSorted"
59
55
  :key="item.id"
60
56
  >
61
- <a :href="item.website">{{ item.label }}</a>
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
- .favorite-list-item {
232
+ .list-item {
237
233
  display: flex;
238
234
  align-items: center;
239
- flex-grow: 1;
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
- padding: 0 space(1);
246
- flex-grow: 1;
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
- content: '';
263
- position: absolute;
264
- width: 1px;
265
- left: space(-0.125);
266
- top: 0;
267
- bottom: 0;
268
- background: rgba(0, 0, 0, 0.125);
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
- initNotifications(incomingNotifications) {
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: 100;
465
+ z-index: 199;
466
466
  right: 0.5rem;
467
467
  bottom: 0.5rem;
468
468
  color: white;