@explorer-1/vue 0.2.103 → 0.3.0

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.
Files changed (108) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +2 -2
  3. package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.vue +1 -5
  4. package/src/components/BaseAudio/BaseAudio.vue +1 -48
  5. package/src/components/BaseCarousel/BaseCarousel.vue +1 -42
  6. package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.vue +1 -1
  7. package/src/components/BaseLightboxCloseButton/BaseLightboxCloseButton.vue +1 -6
  8. package/src/components/BaseLightboxOpenButton/BaseLightboxOpenButton.vue +1 -8
  9. package/src/components/BaseModal/BaseModal.vue +1 -1
  10. package/src/components/BaseSwimlane/BaseSwimlane.vue +2 -40
  11. package/src/components/BaseTimer/BaseTimer.vue +1 -20
  12. package/src/components/BaseUnitToggle/BaseUnitToggle.vue +1 -28
  13. package/src/components/BaseVideo/BaseVideo.vue +1 -8
  14. package/src/components/BlockAccordion/BlockAccordion.vue +1 -7
  15. package/src/components/BlockAnchor/BlockAnchor.vue +1 -14
  16. package/src/components/BlockAudio/BlockAudio.vue +1 -10
  17. package/src/components/BlockCardGrid/BlockCardGrid.vue +1 -1
  18. package/src/components/BlockCircleImageCard/BlockCircleImageCard.vue +0 -18
  19. package/src/components/BlockCsrTable/BlockCsrTable.vue +2 -43
  20. package/src/components/BlockCsrTable/CsrTestLimitsTable.vue +1 -15
  21. package/src/components/BlockDialog/BlockDialog.vue +1 -26
  22. package/src/components/BlockGist/BlockGist.vue +2 -25
  23. package/src/components/BlockHeading/BlockHeading.vue +1 -8
  24. package/src/components/BlockLinkCard/BlockLinkCard.vue +1 -29
  25. package/src/components/BlockLinkCard/BlockLinkCardCollectionLg.vue +1 -10
  26. package/src/components/BlockLinkCardList/BlockLinkCardList.vue +1 -7
  27. package/src/components/BlockLinkTile/BlockLinkTile.vue +1 -5
  28. package/src/components/BlockNewsletterSignup/BlockNewsletterSignup.vue +2 -12
  29. package/src/components/BlockStreamfield/BlockStreamfield.vue +1 -28
  30. package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +3 -52
  31. package/src/components/HeroLarge/HeroLarge.vue +1 -1
  32. package/src/components/HomepageCarousel/HomepageCarousel.vue +1 -38
  33. package/src/components/HomepageCarouselItem/HomepageCarouselItem.vue +1 -32
  34. package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.vue +1 -73
  35. package/src/components/HomepageMissionsCarousel/HomepageMissionsCarouselItem.vue +1 -57
  36. package/src/components/HomepageStats/HomepageStats.vue +1 -30
  37. package/src/components/Icons/IconSlideshow.vue +1 -5
  38. package/src/components/ImageDetailContextImage/ImageDetailContextImage.vue +2 -39
  39. package/src/components/LoadingTransition/LoadingTransition.vue +2 -17
  40. package/src/components/LogoCaltech/LogoCaltech.vue +1 -4
  41. package/src/components/LogoTribrand/LogoTribrand.vue +1 -23
  42. package/src/components/MetaPanel/MetaPanel.vue +1 -5
  43. package/src/components/MetaPanelAccordion/MetaPanelAccordion.vue +1 -21
  44. package/src/components/MetaPanelItems/MetaPanelItems.vue +1 -17
  45. package/src/components/MetadataEduResource/MetadataEduResource.vue +1 -34
  46. package/src/components/MetadataEvent/MetadataEvent.vue +1 -34
  47. package/src/components/MissionDetailAbout/MissionDetailAbout.vue +1 -74
  48. package/src/components/MissionDetailHero/MissionDetailHero.vue +2 -46
  49. package/src/components/MissionDetailHighlights/MissionDetailHighlights.vue +1 -12
  50. package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarousel.vue +1 -16
  51. package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarouselItem.vue +2 -8
  52. package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.vue +1 -7
  53. package/src/components/MissionDetailStats/MissionDetailStats.vue +1 -29
  54. package/src/components/MissionDetailStats/MissionDetailStatsMicro.vue +1 -16
  55. package/src/components/MissionDetailStats/MissionDetailStatsMini.vue +1 -27
  56. package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.vue +2 -23
  57. package/src/components/MixinFancybox/MixinFancybox.vue +1 -96
  58. package/src/components/MixinFancybox/MixinFancyboxOpenButton.vue +1 -8
  59. package/src/components/NavDesktop/NavDesktop.vue +1 -57
  60. package/src/components/NavDesktop/NavDesktopDropdown.vue +1 -89
  61. package/src/components/NavDesktopEdu/NavDesktopEdu.vue +1 -13
  62. package/src/components/NavJumpMenu/NavJumpMenu.vue +1 -19
  63. package/src/components/NavJumpMenu/NavJumpMenuContent.vue +1 -15
  64. package/src/components/NavLinkList/NavLinkList.vue +6 -7
  65. package/src/components/NavLogoLinks/NavLogoLinks.vue +1 -12
  66. package/src/components/NavMobile/NavMobile.vue +1 -37
  67. package/src/components/NavMobile/NavMobileDropdown.vue +1 -29
  68. package/src/components/NavMobile/NavMobileLink.vue +1 -11
  69. package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +1 -19
  70. package/src/components/NavSearchForm/NavSearchForm.vue +1 -39
  71. package/src/components/NavSecondary/NavSecondary.vue +1 -56
  72. package/src/components/NavSecondary/NavSecondaryDropdown.vue +1 -69
  73. package/src/components/NavSecondary/NavSecondaryDropdownContent.vue +1 -21
  74. package/src/components/NavSecondary/NavSecondaryLink.vue +1 -16
  75. package/src/components/NavSocial/NavSocial.vue +2 -15
  76. package/src/components/PodcastEpisodeCard/PodcastEpisodeCard.vue +1 -8
  77. package/src/components/RoboticsDetailStats/RoboticsDetailStats.vue +1 -5
  78. package/src/components/RoboticsDetailStats/RoboticsDetailStatsMini.vue +1 -5
  79. package/src/components/SearchFilterGroupAccordionItem/SearchFilterGroupAccordionItem.vue +1 -5
  80. package/src/components/SearchInput/SearchInput.vue +3 -8
  81. package/src/components/SearchPagination/SearchPagination.vue +1 -9
  82. package/src/components/ShareButtons/ShareButtons.vue +2 -9
  83. package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +1 -19
  84. package/src/components/SwimlaneCTA/SwimlaneCTA.vue +1 -34
  85. package/src/components/TheFooter/TheFooter.vue +2 -20
  86. package/src/components/TheFooter/TheFooterSignUp.vue +1 -5
  87. package/src/components/ThumbnailCarousel/ThumbnailCarousel.vue +1 -25
  88. package/src/components/TimelineDialog/TimelineDialog.vue +1 -20
  89. package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.vue +2 -17
  90. package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.vue +1 -5
  91. package/src/components/YearTicker/YearTicker.vue +1 -83
  92. package/src/templates/PageAudioDetail/PageAudioDetail.vue +1 -67
  93. package/src/templates/PageEventDetail/PageEventDetail.vue +1 -30
  94. package/src/templates/PageImageDetail/PageImageDetail.vue +1 -35
  95. package/src/templates/PageVideoDetail/PageVideoDetail.vue +1 -23
  96. package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.vue +1 -29
  97. package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.vue +1 -11
  98. package/src/templates/edu/PageEduGalleryDetail/PageEduGalleryDetail.vue +1 -25
  99. package/src/templates/edu/PageEduHome/PageEduHome.vue +1 -24
  100. package/src/templates/edu/PageEduLesson/PageEduLessonSection.vue +1 -65
  101. package/src/templates/edu/PageEduMultimediaDetail/PageEduMultimediaDetail.vue +1 -14
  102. package/src/templates/edu/PageEduStudentProject/PageEduStudentProject.vue +1 -12
  103. package/src/templates/edu/PageEduStudentProject/PageEduStudentProjectSection.vue +1 -59
  104. package/src/templates/www/PageCuratedGallery/PageCuratedGallery.vue +1 -86
  105. package/src/templates/www/PageInfographicDetail/PageInfographicDetail.vue +1 -17
  106. package/src/templates/www/PageMaintenanceMode/PageMaintenanceMode.vue +1 -27
  107. package/src/templates/www/PagePodcastSeason/PagePodcastSeason.vue +3 -6
  108. package/src/templates/www/PageTimeline/PageTimeline.vue +1 -100
@@ -105,21 +105,5 @@ export default defineComponent({
105
105
  </script>
106
106
 
107
107
  <style lang="scss">
108
- .PageInfographicDetail {
109
- .BaseImagePlaceholder {
110
- @apply select-none;
111
-
112
- min-height: 400px;
113
- }
114
-
115
- aside {
116
- .BaseButton {
117
- max-width: 200px;
118
- }
119
-
120
- .BlockText {
121
- @apply text-lg;
122
- }
123
- }
124
- }
108
+ @import '@explorer-1/common/src/scss/templates/PageInfographicDetail';
125
109
  </style>
@@ -64,31 +64,5 @@ export default defineComponent({
64
64
  })
65
65
  </script>
66
66
  <style lang="scss">
67
- .PageMaintenanceMode {
68
- .NavSocial {
69
- @apply -ml-2; // visually centered due to narrow facebook icon
70
- .BaseButton.-social {
71
- @apply border-0 bg-none text-gray-dark;
72
- &:hover {
73
- @apply bg-none bg-transparent;
74
-
75
- &.-facebook {
76
- @apply text-facebook;
77
- }
78
-
79
- &.-twitter {
80
- @apply text-twitter;
81
- }
82
-
83
- &.-instagram {
84
- @apply text-instagram;
85
- }
86
-
87
- &.-youtube {
88
- @apply text-youtube;
89
- }
90
- }
91
- }
92
- }
93
- }
67
+ @import '@explorer-1/common/src/scss/templates/PageMaintenanceMode';
94
68
  </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div
3
3
  v-if="data"
4
- class="ThemeVariantLight"
4
+ class="ThemeVariantLight PagePodcastSeason"
5
5
  :class="{ '-nav-offset': data.featuredEpisode }"
6
6
  >
7
7
  <!-- hero image -->
@@ -183,9 +183,6 @@ export default defineComponent({
183
183
  })
184
184
  </script>
185
185
 
186
- <style scoped>
187
- .flip-horizontal > svg {
188
- display: block;
189
- transform: scale(-1, 1);
190
- }
186
+ <style lang="scss">
187
+ @import '@explorer-1/common/src/scss/templates/PagePodcastSeason';
191
188
  </style>
@@ -307,104 +307,5 @@ export default defineComponent({
307
307
  </template>
308
308
 
309
309
  <style lang="scss">
310
- $line-width: 2px;
311
- $column-gap-width: 1.5rem;
312
-
313
- // makes the years able to have a lowercase 's' in the decade
314
- select {
315
- &#select_jumpTo {
316
- text-transform: none;
317
- }
318
- }
319
-
320
- .NavSecondary {
321
- @apply block;
322
- }
323
-
324
- .MilestoneList {
325
- @apply gap-y-0 max-w-screen-4xl mx-auto;
326
-
327
- // Offset the list up so the vertical line starts from the secondary nav.
328
- @screen md {
329
- margin-top: -200px;
330
-
331
- > :first-child {
332
- margin-top: 400px;
333
- }
334
- }
335
- }
336
-
337
- .MilestoneImageWrapper {
338
- @apply hidden md:block absolute w-full h-full overflow-visible;
339
-
340
- // Background images should always be below milestone cards, above the vertical line.
341
- z-index: -20;
342
- }
343
-
344
- .MilestoneImage {
345
- @apply md:transform md:-translate-y-full rounded-full bg-gray-light;
346
-
347
- -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
348
- mask-image: linear-gradient(to bottom, black 60%, transparent);
349
-
350
- @screen md {
351
- --tw-translate-x: var(--x-translate);
352
- }
353
- }
354
-
355
- .MilestoneListItem {
356
- @apply flex relative lg:col-span-5 mb-12 md:mb-40 lg:mb-80 col-start-3 col-end-12;
357
-
358
- scroll-margin-top: 20vh;
359
- transform: translateX($line-width);
360
- grid-row: var(--row);
361
-
362
- &:nth-of-type(1) {
363
- @apply md:pt-20;
364
- }
365
-
366
- &:nth-of-type(even) {
367
- @apply md:justify-start md:col-start-7;
368
-
369
- @screen md {
370
- transform: translateX(calc(-1 * ($column-gap-width - $line-width)));
371
- }
372
- }
373
-
374
- &:nth-of-type(odd) {
375
- @screen md {
376
- @apply md:justify-end md:col-start-2 md:col-end-7;
377
-
378
- transform: none;
379
-
380
- .BlockCircleImageCard {
381
- flex-direction: row-reverse;
382
- }
383
- }
384
- }
385
- }
386
-
387
- .VerticalLine {
388
- @apply border-l border-r border-jpl-red top-5 md:top-2 bottom-0 col-start-3 md:col-start-7 mb-12;
389
-
390
- // Use CSS grid positioning rather than position absolute within relative,
391
- // so we don’t create a new stacking context within the ParallaxContainer.
392
- // This makes it possible for the year ticker to alternate above and below images.
393
- grid-row: 1 / span var(--rows);
394
- z-index: -10;
395
- width: 0;
396
-
397
- @screen md {
398
- border-image-source: linear-gradient(to bottom, theme('colors.jpl-red') 97%, rgba(0, 0, 0, 0));
399
- border-image-width: $line-width;
400
- border-image-slice: 1;
401
- transform: translateX(-1 * $column-gap-width);
402
- }
403
-
404
- &::before {
405
- @apply absolute -top-px -left-2px w-1 h-30 bg-gradient-to-b from-white to-transparent;
406
-
407
- content: '';
408
- }
409
- }
310
+ @import '@explorer-1/common/src/scss/templates/PageTimeline';
410
311
  </style>