@asd20/ui 3.2.720 → 3.2.722

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-lock.json CHANGED
@@ -1,21 +1,9 @@
1
1
  {
2
2
  "name": "@asd20/ui",
3
- "version": "3.2.717",
3
+ "version": "3.2.720",
4
4
  "lockfileVersion": 1,
5
5
  "requires": true,
6
6
  "dependencies": {
7
- "@asd20/notifications-ui": {
8
- "version": "0.11.3",
9
- "resolved": "https://registry.npmjs.org/@asd20/notifications-ui/-/notifications-ui-0.11.3.tgz",
10
- "integrity": "sha512-9QuoJbn/xAiEaOCDa3U7c8WVBSrAJohA01MbdhmgjEfqGehezfPaY2ARBwCCfID2WGvqorAXCIcYcI3kDn3x+w==",
11
- "requires": {
12
- "@babel/runtime": "^7.10.2",
13
- "@vue/web-component-wrapper": "^1.2.0",
14
- "lodash-es": "^4.17.15",
15
- "vue": "^2.6.11",
16
- "vue-hot-reload-api": "^2.3.4"
17
- }
18
- },
19
7
  "@babel/code-frame": {
20
8
  "version": "7.10.4",
21
9
  "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
@@ -1168,6 +1156,7 @@
1168
1156
  "version": "7.11.2",
1169
1157
  "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz",
1170
1158
  "integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==",
1159
+ "dev": true,
1171
1160
  "requires": {
1172
1161
  "regenerator-runtime": "^0.13.4"
1173
1162
  }
@@ -4682,7 +4671,8 @@
4682
4671
  "@vue/web-component-wrapper": {
4683
4672
  "version": "1.2.0",
4684
4673
  "resolved": "https://registry.npmjs.org/@vue/web-component-wrapper/-/web-component-wrapper-1.2.0.tgz",
4685
- "integrity": "sha512-Xn/+vdm9CjuC9p3Ae+lTClNutrVhsXpzxvoTXXtoys6kVRX9FkueSUAqSWAyZntmVLlR4DosBV4pH8y5Z/HbUw=="
4674
+ "integrity": "sha512-Xn/+vdm9CjuC9p3Ae+lTClNutrVhsXpzxvoTXXtoys6kVRX9FkueSUAqSWAyZntmVLlR4DosBV4pH8y5Z/HbUw==",
4675
+ "dev": true
4686
4676
  },
4687
4677
  "@webassemblyjs/ast": {
4688
4678
  "version": "1.9.0",
@@ -24561,7 +24551,8 @@
24561
24551
  "regenerator-runtime": {
24562
24552
  "version": "0.13.7",
24563
24553
  "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
24564
- "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew=="
24554
+ "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==",
24555
+ "dev": true
24565
24556
  },
24566
24557
  "regenerator-transform": {
24567
24558
  "version": "0.14.5",
@@ -29656,7 +29647,8 @@
29656
29647
  "vue-hot-reload-api": {
29657
29648
  "version": "2.3.4",
29658
29649
  "resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz",
29659
- "integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog=="
29650
+ "integrity": "sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog==",
29651
+ "dev": true
29660
29652
  },
29661
29653
  "vue-intersect": {
29662
29654
  "version": "1.1.6",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.720",
8
+ "version": "3.2.722",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -24,11 +24,9 @@
24
24
  "release": "release-it"
25
25
  },
26
26
  "peerDependencies": {
27
- "vue": "^2.6.11",
28
- "@asd20/notifications-ui": "^0.8.20"
27
+ "vue": "^2.6.11"
29
28
  },
30
29
  "dependencies": {
31
- "@asd20/notifications-ui": "^0.11.3",
32
30
  "axios": "^0.19.2",
33
31
  "basicscroll": "^3.0.2",
34
32
  "countup.js": "^2.0.0",
@@ -15,10 +15,10 @@
15
15
  <span v-if="description" v-html="description"> </span>
16
16
  <a
17
17
  v-if="detailLinkUrl"
18
- :tabindex="focusDisabled ? '-1' : undefined"
18
+ :tabindex="focusDisabled ? '-1' : undefined"
19
19
  :href="detailLinkUrl"
20
20
  >
21
- {{ detailLinkLabel || detailLinkUrl }}
21
+ {{ detailLinkLabel || detailLinkUrl }}
22
22
  </a>
23
23
  </div>
24
24
 
@@ -78,10 +78,14 @@ export default {
78
78
  classes() {
79
79
  let classes = {
80
80
  'asd20-notification': true,
81
- 'asd20-notification--banner': this.notificationStyle.toLowerCase() === 'banner',
82
- 'asd20-notification--floating': this.notificationStyle.toLowerCase() === 'floating',
83
- 'asd20-notification--inline': this.notificationStyle.toLowerCase() === 'inline',
84
- 'asd20-notification--status': this.notificationStyle.toLowerCase() === 'status',
81
+ 'asd20-notification--banner':
82
+ this.notificationStyle.toLowerCase() === 'banner',
83
+ 'asd20-notification--floating':
84
+ this.notificationStyle.toLowerCase() === 'floating',
85
+ 'asd20-notification--inline':
86
+ this.notificationStyle.toLowerCase() === 'inline',
87
+ 'asd20-notification--status':
88
+ this.notificationStyle.toLowerCase() === 'status',
85
89
  'asd20-notification--dismissible': this.dismissible,
86
90
  }
87
91
 
@@ -115,13 +119,8 @@ export default {
115
119
  </script>
116
120
 
117
121
  <style lang="scss">
118
- // @import '../../../design/_variables.scss';
119
- // @import '../../../design/_mixins.scss';
120
- // @import '../../../design/_typography.scss';
121
- // @import '../../../design/_template.scss';
122
- // @import '../../../design/_print.scss';
123
- // @import '../../../design/tokens.css';
124
-
122
+ @import '../../../design/_variables.scss';
123
+ @import '../../../design/_mixins.scss';
125
124
 
126
125
  .asd20-notification {
127
126
  position: relative;
@@ -178,7 +177,6 @@ export default {
178
177
  .asd20-notification__cta {
179
178
  color: #da2e0b;
180
179
  border-color: #da2e0b;
181
-
182
180
  }
183
181
  .asd20-icon {
184
182
  --line-color: #da2e0b;
@@ -215,9 +213,11 @@ export default {
215
213
  &--status {
216
214
  .asd20-notification__title,
217
215
  .asd20-notification__cta {
218
- color: white;
216
+ color: black;
219
217
  }
220
218
  .asd20-icon {
219
+ height: 24px;
220
+ width: 24px;
221
221
  --line-color: black;
222
222
  --fill-color: white;
223
223
  }
@@ -225,6 +225,10 @@ export default {
225
225
 
226
226
  &.asd20-notification--floating {
227
227
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.125);
228
+ .asd20-icon {
229
+ --line-color: #23464e;
230
+ --fill-color: #70b4c2;
231
+ }
228
232
  .asd20-notification__content {
229
233
  padding: 0;
230
234
  }
@@ -254,12 +258,17 @@ export default {
254
258
  flex-wrap: nowrap;
255
259
  align-items: center;
256
260
  justify-content: center;
261
+ border-left: none;
262
+ border-top: none;
263
+ margin: 0;
264
+ padding-top: 0;
257
265
  }
258
266
  .asd20-icon {
259
- --line-color: white;
260
- --fill-color: white;
261
- .fill {
262
- opacity: 0.25;
267
+ height: 24px;
268
+ width: 24px;
269
+ .asd20-icon {
270
+ --line-color: #23464e;
271
+ --fill-color: #70b4c2;
263
272
  }
264
273
  }
265
274
  .asd20-notification__title {
@@ -271,7 +280,7 @@ export default {
271
280
  }
272
281
  .asd20-notification__description {
273
282
  font-size: 0.875rem;
274
- color: white;
283
+ color: black;
275
284
  margin: 0 0 0 0.25rem;
276
285
  white-space: nowrap;
277
286
  }
@@ -288,6 +297,10 @@ export default {
288
297
 
289
298
  &.asd20-notification--inline {
290
299
  box-shadow: 0 0 0 5px #70b4c2;
300
+ .asd20-icon {
301
+ --line-color: #23464e;
302
+ --fill-color: #70b4c2;
303
+ }
291
304
  }
292
305
 
293
306
  &.asd20-notification--banner {
@@ -403,7 +416,6 @@ export default {
403
416
  }
404
417
  }
405
418
 
406
-
407
419
  @media (min-width: 1024px) {
408
420
  .asd20-notification {
409
421
  &__title {
@@ -259,12 +259,8 @@ export default {
259
259
  </script>
260
260
 
261
261
  <style lang="scss">
262
- // @import '../../../design/_variables.scss';
263
- // @import '../../../design/_mixins.scss';
264
- // @import '../../../design/_typography.scss';
265
- // @import '../../../design/_template.scss';
266
- // @import '../../../design/_print.scss';
267
- // @import '../../../design/tokens.css';
262
+ @import '../../../design/_variables.scss';
263
+ @import '../../../design/_mixins.scss';
268
264
 
269
265
  .notification-group {
270
266
  position: relative;
@@ -99,7 +99,7 @@ export default {
99
99
  object-fit: cover;
100
100
  }
101
101
  & ::v-deep .notification-group--status .notifications {
102
- padding: 0.375em;
102
+ padding: 0.1875em;
103
103
  border-radius: 3rem;
104
104
  background: rgba(255, 255, 255, 0.95);
105
105
  }
@@ -119,6 +119,8 @@ export default {
119
119
  .asd20-notification {
120
120
  margin: 0;
121
121
  padding: 0 !important;
122
+ align-items: center;
123
+ flex-direction: row;
122
124
  }
123
125
  }
124
126
 
@@ -98,7 +98,7 @@
98
98
  <slot />
99
99
  </asd20-video-header-content>
100
100
  </asd20-video-header>
101
- <asd20-secondary-header v-if="messages.length > 1" :messages="messages"/>
101
+ <asd20-secondary-header v-if="messages.length > 1" :messages="messages" />
102
102
 
103
103
  <asd20-feeds-section
104
104
  :announcements="announcements"
@@ -253,8 +253,7 @@ export default {
253
253
  }
254
254
  .weather-status-and-translation-container {
255
255
  display: flex;
256
- flex-direction: row;
257
- align-items: center;
256
+ flex-direction: column;
258
257
  margin: space(0.25) 0;
259
258
  justify-content: flex-end;
260
259
  }
@@ -287,6 +286,7 @@ export default {
287
286
  .weather-link {
288
287
  text-decoration: none;
289
288
  border-radius: 3rem;
289
+ margin-bottom: 0.5rem;
290
290
  }
291
291
  .asd20-organization-picker {
292
292
  display: none;
@@ -318,6 +318,16 @@ export default {
318
318
  @media (min-width: 768px) {
319
319
  .asd20-district-video-template {
320
320
  .asd20-video-header {
321
+ .weather-status-and-translation-container {
322
+ display: flex;
323
+ flex-direction: row;
324
+ align-items: center;
325
+ margin: space(0.25) 0;
326
+ justify-content: flex-end;
327
+ }
328
+ .weather-link {
329
+ margin-bottom: 0;
330
+ }
321
331
  .asd20-language-translation {
322
332
  position: relative;
323
333
  top: 0;