@asd20/ui 3.2.445 → 3.2.448

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.445",
8
+ "version": "3.2.448",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -27,16 +27,6 @@
27
27
  </asd20-list-item>
28
28
  <asd20-accordion :opened="true" label="Favorites">
29
29
  <transition-group name="fade" mode="in-out">
30
- <!-- <asd20-checkbox
31
- v-for="item in trueItems"
32
- :key="item.id"
33
- :label="item.label"
34
- :value="item.value"
35
- :link="item.website"
36
- @input="editFavorites(item.id)"
37
- :icon="icon"
38
- v-on:eventLabelClick="catchFavorites"
39
- /> -->
40
30
  <div
41
31
  class="favorite-list-item"
42
32
  v-for="item in trueItems"
@@ -56,21 +46,10 @@
56
46
  </asd20-accordion>
57
47
  <asd20-accordion
58
48
  v-for="(categoryItem, index) in itemsByCategoryOptions"
59
- :label="categoryItem.title"
49
+ :label="categoryItem.title + ' Schools'"
60
50
  :key="index"
61
51
  >
62
52
  <transition-group name="fade" mode="in-out">
63
- <!-- <asd20-checkbox
64
- v-for="item in categoryItem.itemsSorted"
65
- :key="(index, item.id)"
66
- :label="item.title"
67
- :value="item.value"
68
- :link="item.website"
69
- @input="editFavorites(item.id)"
70
- :icon="icon"
71
- v-on:eventLabelClick="catchFavorites"
72
- /> -->
73
-
74
53
  <div
75
54
  class="favorite-list-item"
76
55
  v-for="item in categoryItem.itemsSorted"
@@ -243,6 +222,7 @@ export default {
243
222
  .asd20-picker {
244
223
  position: relative;
245
224
  display: flex;
225
+ align-items: center;
246
226
  .picker-button {
247
227
  // margin: space(0.1) space(0);
248
228
  }
@@ -328,19 +308,4 @@ export default {
328
308
  height: auto;
329
309
  }
330
310
  }
331
- // @media (min-width: 900px) {
332
- // .asd20-picker__modal {
333
- // padding: space(1) space(3);
334
- // }
335
- // }
336
- // @media (min-width: 1100px) {
337
- // .asd20-picker__modal {
338
- // padding: space(1) space(10);
339
- // }
340
- // .asd20-picker {
341
- // &__button {
342
- // padding: space(0.5);
343
- // }
344
- // }
345
- // }
346
311
  </style>
@@ -328,10 +328,6 @@ export default {
328
328
  padding-right: 0;
329
329
  }
330
330
  }
331
-
332
- &::v-deep .asd20-notification-group--floating {
333
- margin-left: space(1);
334
- }
335
331
  }
336
332
 
337
333
  &__content {
@@ -549,7 +545,7 @@ export default {
549
545
  }
550
546
  }
551
547
  &__title-content {
552
- max-width: 50%;
548
+ max-width: 60%;
553
549
  }
554
550
  &__call-to-action {
555
551
  margin: space(-1) 60vw space(-1) space(3);
@@ -104,8 +104,10 @@ export default {
104
104
 
105
105
  .asd20-organization-picker {
106
106
  .asd20-district-logo {
107
- margin: auto;
108
107
  padding-left: space(0.25);
108
+ &::v-deep svg {
109
+ height: inherit;
110
+ }
109
111
  }
110
112
  }
111
113
  @media (min-width: 768px) {
@@ -120,9 +122,8 @@ export default {
120
122
  @media (min-width: 1024px) {
121
123
  .asd20-organization-picker {
122
124
  .asd20-district-logo {
123
- height: space(1.5);
124
125
  margin: space(1) auto space(1) 0;
125
- display: block;
126
+ // display: flex;
126
127
  --fill-one: var(--color__primary);
127
128
  --fill-two: var(--color__secondary-t30);
128
129
  }
@@ -130,7 +131,7 @@ export default {
130
131
  .asd20-district-logo {
131
132
  height: space(1.5);
132
133
  margin: space(1) auto space(1) 0;
133
- display: block;
134
+ // display: block;
134
135
  --fill-one: #fff;
135
136
  --fill-two: #ccc;
136
137
  }
@@ -137,31 +137,35 @@ export default {
137
137
  --fill-one: rgba(255, 255, 255, 1);
138
138
  --fill-two: rgba(255, 255, 255, 0.625);
139
139
 
140
- position: relative;
140
+ position: absolute;
141
141
  z-index: 101;
142
- background: white;
142
+ // background: white;
143
143
  display: flex;
144
- justify-content: space-between;
144
+ justify-content: flex-end;
145
145
  flex-direction: row;
146
146
  align-items: center;
147
147
  padding: space(0.25) space(0.5);
148
-
148
+ margin-top: space(0.5);
149
+ width: 95vw;
149
150
  &::v-deep .asd20-picker {
150
151
  display: none;
151
152
  }
152
153
 
153
154
  &::v-deep .notification-group--status {
154
155
  // margin-left: 0.5rem;
155
- .asd20-notification {
156
- margin: 0;
157
- padding: 0 !important;
156
+ // .asd20-notification {
157
+ // margin: 0;
158
+ // padding: 0 !important;
159
+ // }
160
+ .notifications {
161
+ border-radius: space(0.5);
158
162
  }
159
163
  }
160
164
  &::v-deep .asd20-schedule-indicator {
161
165
  margin-left: 1rem;
162
166
  }
163
167
  &::v-deep .notification-group--floating {
164
- margin-right: 0;
168
+ margin-right: space(1.25);
165
169
  .bell {
166
170
  z-index: 1000;
167
171
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125) !important;
@@ -188,6 +192,10 @@ export default {
188
192
  z-index: 1;
189
193
  }
190
194
 
195
+ &__content {
196
+ margin-top: space(2);
197
+ }
198
+
191
199
  &__lead {
192
200
  position: relative;
193
201
  z-index: 1;
@@ -312,12 +320,14 @@ $max: 4rem;
312
320
  }
313
321
 
314
322
  &__top {
323
+ position: relative;
315
324
  margin: 0;
316
325
  padding: space(1) space(3) space(1) space(3);
317
326
  grid-column: 1/-1;
318
327
  grid-row: 1/7;
319
328
  background: transparent;
320
329
  justify-content: space-between;
330
+ width: inherit;
321
331
  &::v-deep .asd20-picker {
322
332
  display: flex;
323
333
  }
@@ -333,9 +343,11 @@ $max: 4rem;
333
343
  position: absolute;
334
344
  right: space(3);
335
345
  top: space(3.5);
346
+ margin-right: 0;
336
347
  }
337
348
 
338
349
  &__content {
350
+ margin-top: 0;
339
351
  position: relative;
340
352
  grid-column: 2 / 6;
341
353
  grid-row: 8 / 9;
@@ -15,8 +15,8 @@
15
15
  </div>
16
16
  <div class="swiper-slide">
17
17
  <asd20-card
18
- :title="linkLabel"
19
- :link="link"
18
+ :title="cards.length > 10 ? linkLabel : 'That\'s all, folks!'"
19
+ :link="cards.length > 10 ? link : null"
20
20
  expanded-header
21
21
  zoom
22
22
  reversed
@@ -30,7 +30,7 @@
30
30
  </template>
31
31
  </asd20-swiper>
32
32
  <asd20-button
33
- v-if="link && linkLabel"
33
+ v-if="link && linkLabel && cards.length > 10"
34
34
  :label="linkLabel"
35
35
  :link="link"
36
36
  size="md"
@@ -197,7 +197,7 @@ export default {
197
197
  margin-top: space(2.25);
198
198
  .asd20-notification-group--floating {
199
199
  position: absolute;
200
- top: space(2);
200
+ top: space(1.5);
201
201
  .bell {
202
202
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.125) !important;
203
203
  svg {
@@ -253,6 +253,13 @@ export default {
253
253
  }
254
254
  }
255
255
  }
256
+ @media (min-width: 768px) {
257
+ .asd20-template-wayfinding-image {
258
+ .asd20-notification-group--floating {
259
+ top: space(0.5);
260
+ }
261
+ }
262
+ }
256
263
 
257
264
  @media (min-width: 1024px) {
258
265
  .asd20-template-wayfinding-image {