@asd20/ui 3.2.546 → 3.2.548

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.546",
8
+ "version": "3.2.548",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -319,6 +319,12 @@ $min: 3rem;
319
319
  $max: 4rem;
320
320
  @media (min-width: 667px) {
321
321
  .asd20-school-homepage-video-header {
322
+ &__call-to-action {
323
+ .asd20-button {
324
+ min-width: 50%;
325
+ max-width: 50%;
326
+ }
327
+ }
322
328
  &__top {
323
329
  flex-direction: row;
324
330
  justify-content: flex-start;
@@ -339,16 +345,6 @@ $max: 4rem;
339
345
  }
340
346
  }
341
347
  }
342
- @media (min-width: 768px) {
343
- .asd20-school-homepage-video-header {
344
- &__call-to-action {
345
- .asd20-button {
346
- min-width: 50%;
347
- max-width: 50%;
348
- }
349
- }
350
- }
351
- }
352
348
 
353
349
  @media (min-width: 1024px) {
354
350
  .asd20-school-homepage-video-header {
@@ -262,7 +262,7 @@ import Asd20QuicklinksMenu from '../../../components/organisms/Asd20QuicklinksMe
262
262
  import Asd20NotificationGroup from '@asd20/notifications-ui/src/components/Asd20NotificationGroup'
263
263
 
264
264
  import Asd20SearchField from '../../../components/molecules/Asd20SearchField'
265
- import Asd20MultiselectInput from '../../../components/atoms/Asd20MultiselectInput'
265
+ // import Asd20MultiselectInput from '../../../components/atoms/Asd20MultiselectInput'
266
266
  import Asd20Card from '../../../components/molecules/Asd20Card'
267
267
  import Asd20Button from '../../../components/atoms/Asd20Button'
268
268
 
@@ -288,7 +288,7 @@ export default {
288
288
  Asd20NotificationGroup,
289
289
  Asd20QuicklinksMenu,
290
290
  Asd20SearchField,
291
- Asd20MultiselectInput,
291
+ // Asd20MultiselectInput,
292
292
  Asd20Card,
293
293
  Asd20Button,
294
294
  Intersect,
@@ -301,7 +301,7 @@ import Asd20QuicklinksMenu from '../../../components/organisms/Asd20QuicklinksMe
301
301
  import Asd20NotificationGroup from '@asd20/notifications-ui/src/components/Asd20NotificationGroup'
302
302
 
303
303
  import Asd20SearchField from '../../../components/molecules/Asd20SearchField'
304
- import Asd20MultiselectInput from '../../../components/atoms/Asd20MultiselectInput'
304
+ // import Asd20MultiselectInput from '../../../components/atoms/Asd20MultiselectInput'
305
305
  import Asd20Card from '../../../components/molecules/Asd20Card'
306
306
  import Asd20Button from '../../../components/atoms/Asd20Button'
307
307
 
@@ -327,7 +327,7 @@ export default {
327
327
  Asd20NotificationGroup,
328
328
  Asd20QuicklinksMenu,
329
329
  Asd20SearchField,
330
- Asd20MultiselectInput,
330
+ // Asd20MultiselectInput,
331
331
  Asd20Card,
332
332
  Asd20Button,
333
333
  Intersect,
@@ -200,7 +200,7 @@ export default {
200
200
  imageCaption = coverImage.metadata
201
201
  ? coverImage.metadata.alt
202
202
  : coverImage.alt || ''
203
- }
203
+ }
204
204
  // else if (firstVideo) {
205
205
  // imageUrl = firstVideo.coverImageUrl
206
206
  // imageCaption = firstVideo.title
@@ -235,11 +235,13 @@ export default {
235
235
  */
236
236
 
237
237
  const useSidebar =
238
- this.firstMessage &&
239
- this.firstMessage.bodyHtml &&
240
- this.firstMessage.bodyHtml !== '<p></p>' &&
241
- this.desktop &&
242
- this.primaryMessages.length < 3
238
+ (this.firstMessage &&
239
+ this.firstMessage.bodyHtml &&
240
+ this.firstMessage.bodyHtml !== '<p></p>' &&
241
+ this.desktop &&
242
+ this.primaryMessages.length < 3) ||
243
+ this.announcements.length ||
244
+ this.stories.length
243
245
  const relatedLinksContainImages =
244
246
  this.relatedLinks.length && !!this.relatedLinks.find(l => !!l.imageUrl)
245
247