@explorer-1/vue 0.0.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.
- package/LICENSE +21 -0
- package/README.md +9 -0
- package/components.d.ts +215 -0
- package/index.html +18 -0
- package/lib/main.ts +78 -0
- package/package.json +54 -0
- package/postcss.config.js +7 -0
- package/public/edu/.gitkeep +0 -0
- package/public/edu/explorer-1/bg-stars-edu.png +0 -0
- package/public/edu/explorer-1/bg-stars.jpg +0 -0
- package/public/explorer-1/bg-stars-edu.png +0 -0
- package/public/explorer-1/bg-stars.jpg +0 -0
- package/src/App.vue +30 -0
- package/src/assets/fonts/README.md +12 -0
- package/src/assets/fonts/archivo-narrow/ArchivoNarrow-Bold.woff2 +0 -0
- package/src/assets/fonts/archivo-narrow/ArchivoNarrow-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/archivo-narrow/ArchivoNarrow-SemiBold.woff2 +0 -0
- package/src/assets/fonts/archivo-narrow/ArchivoNarrow-SemiBoldItalic.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-Bold.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-BoldItalic.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-ExtraBold.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-Medium.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-MediumItalic.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-Regular.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-RegularItalic.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-SemiBold.woff2 +0 -0
- package/src/assets/fonts/metropolis/Metropolis-SemiBoldItalic.woff2 +0 -0
- package/src/assets/scss/styles.scss +1 -0
- package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.js +156 -0
- package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.vue +156 -0
- package/src/components/BackToTop/BackToTop.stories.js +24 -0
- package/src/components/BackToTop/BackToTop.vue +76 -0
- package/src/components/BaseAudio/BaseAudio.stories.js +29 -0
- package/src/components/BaseAudio/BaseAudio.vue +359 -0
- package/src/components/BaseButton/BaseButton.stories.ts +65 -0
- package/src/components/BaseButton/BaseButton.vue +114 -0
- package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.mdx +68 -0
- package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.vue +101 -0
- package/src/components/BaseHeading/BaseHeading.stories.js +75 -0
- package/src/components/BaseHeading/BaseHeading.vue +58 -0
- package/src/components/BaseImage/BaseImage.stories.ts +52 -0
- package/src/components/BaseImage/BaseImage.vue +120 -0
- package/src/components/BaseImageCaption/BaseImageCaption.stories.js +27 -0
- package/src/components/BaseImageCaption/BaseImageCaption.vue +51 -0
- package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.js +73 -0
- package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.vue +90 -0
- package/src/components/BaseLightboxCloseButton/BaseLightboxCloseButton.vue +45 -0
- package/src/components/BaseLightboxOpenButton/BaseLightboxOpenButton.vue +46 -0
- package/src/components/BaseLink/BaseLink.stories.js +47 -0
- package/src/components/BaseLink/BaseLink.vue +227 -0
- package/src/components/BaseModal/BaseModal.stories.js +90 -0
- package/src/components/BaseModal/BaseModal.vue +54 -0
- package/src/components/BaseModal/BaseModalDialog.vue +59 -0
- package/src/components/BasePlaceholder/BasePlaceholder.stories.js +29 -0
- package/src/components/BasePlaceholder/BasePlaceholder.vue +30 -0
- package/src/components/BaseRadioGroup/BaseRadioGroup.stories.mdx +68 -0
- package/src/components/BaseRadioGroup/BaseRadioGroup.vue +102 -0
- package/src/components/BaseSwimlane/BaseSwimlane.stories.mdx +64 -0
- package/src/components/BaseSwimlane/BaseSwimlane.vue +204 -0
- package/src/components/BaseTag/BaseTag.stories.js +34 -0
- package/src/components/BaseTag/BaseTag.vue +36 -0
- package/src/components/BaseTimer/BaseTimer.stories.js +78 -0
- package/src/components/BaseTimer/BaseTimer.test.js +15 -0
- package/src/components/BaseTimer/BaseTimer.vue +270 -0
- package/src/components/BaseUnitToggle/BaseUnitToggle.stories.js +86 -0
- package/src/components/BaseUnitToggle/BaseUnitToggle.test.js +26 -0
- package/src/components/BaseUnitToggle/BaseUnitToggle.vue +255 -0
- package/src/components/BaseVideo/BaseVideo.stories.js +31 -0
- package/src/components/BaseVideo/BaseVideo.vue +73 -0
- package/src/components/BlockAnchor/BlockAnchor.vue +38 -0
- package/src/components/BlockAudio/BlockAudio.stories.js +29 -0
- package/src/components/BlockAudio/BlockAudio.vue +78 -0
- package/src/components/BlockCard/BlockCard.stories.js +24 -0
- package/src/components/BlockCard/BlockCard.vue +88 -0
- package/src/components/BlockCardGroup/BlockCardGroup.stories.js +71 -0
- package/src/components/BlockCardGroup/BlockCardGroup.vue +61 -0
- package/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.js +55 -0
- package/src/components/BlockCircleImageCard/BlockCircleImageCard.vue +120 -0
- package/src/components/BlockCta/BlockCta.stories.js +35 -0
- package/src/components/BlockCta/BlockCta.vue +55 -0
- package/src/components/BlockHeading/BlockHeading.stories.js +22 -0
- package/src/components/BlockHeading/BlockHeading.vue +27 -0
- package/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.js +40 -0
- package/src/components/BlockIframeEmbed/BlockIframeEmbed.vue +84 -0
- package/src/components/BlockImage/BlockImage.stories.js +137 -0
- package/src/components/BlockImage/BlockImage.vue +48 -0
- package/src/components/BlockImage/BlockImageFullBleed.vue +119 -0
- package/src/components/BlockImage/BlockImageStandard.vue +106 -0
- package/src/components/BlockImageCarousel/BlockImageCarousel.stories.js +108 -0
- package/src/components/BlockImageCarousel/BlockImageCarousel.vue +201 -0
- package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.js +63 -0
- package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.vue +120 -0
- package/src/components/BlockImageComparison/BlockImageComparison.stories.js +46 -0
- package/src/components/BlockImageComparison/BlockImageComparison.vue +59 -0
- package/src/components/BlockImageGallery/BlockImageGallery.stories.js +55 -0
- package/src/components/BlockImageGallery/BlockImageGallery.vue +128 -0
- package/src/components/BlockInlineImage/BlockInlineImage.stories.js +68 -0
- package/src/components/BlockInlineImage/BlockInlineImage.vue +124 -0
- package/src/components/BlockKeyPoints/BlockKeyPoints.stories.js +28 -0
- package/src/components/BlockKeyPoints/BlockKeyPoints.vue +48 -0
- package/src/components/BlockLinkCard/BlockLinkCard.stories.js +102 -0
- package/src/components/BlockLinkCard/BlockLinkCard.vue +197 -0
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +217 -0
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.vue +68 -0
- package/src/components/BlockLinkTile/BlockLinkTile.stories.js +72 -0
- package/src/components/BlockLinkTile/BlockLinkTile.vue +193 -0
- package/src/components/BlockListCards/BlockListCards.stories.js +69 -0
- package/src/components/BlockListCards/BlockListCards.vue +129 -0
- package/src/components/BlockQuote/BlockQuote.stories.js +84 -0
- package/src/components/BlockQuote/BlockQuote.vue +87 -0
- package/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.js +60 -0
- package/src/components/BlockRelatedLinks/BlockRelatedLinks.vue +77 -0
- package/src/components/BlockRelatedLinks/RelatedLink.vue +85 -0
- package/src/components/BlockStreamfield/BlockStreamfield.stories.js +88 -0
- package/src/components/BlockStreamfield/BlockStreamfield.vue +333 -0
- package/src/components/BlockTable/BlockTable.stories.js +20 -0
- package/src/components/BlockTable/BlockTable.vue +73 -0
- package/src/components/BlockTeaser/BlockTeaser.stories.js +74 -0
- package/src/components/BlockTeaser/BlockTeaser.test.js +12 -0
- package/src/components/BlockTeaser/BlockTeaser.vue +174 -0
- package/src/components/BlockText/BlockText.stories.js +21 -0
- package/src/components/BlockText/BlockText.vue +44 -0
- package/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.js +19 -0
- package/src/components/BlockTwitterEmbed/BlockTwitterEmbed.vue +61 -0
- package/src/components/BlockVideo/BlockVideo.stories.js +23 -0
- package/src/components/BlockVideo/BlockVideo.vue +41 -0
- package/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.js +20 -0
- package/src/components/BlockVideoEmbed/BlockVideoEmbed.vue +71 -0
- package/src/components/CalendarButton/CalendarButton.stories.js +36 -0
- package/src/components/CalendarButton/CalendarButton.vue +86 -0
- package/src/components/DetailHeadline/DetailHeadline.stories.js +48 -0
- package/src/components/DetailHeadline/DetailHeadline.vue +143 -0
- package/src/components/DsnWidget/DsnWidget.stories.js +29 -0
- package/src/components/DsnWidget/DsnWidget.vue +96 -0
- package/src/components/EventCard/EventCard.vue +188 -0
- package/src/components/EventDetailHero/EventDetailHero.stories.js +53 -0
- package/src/components/EventDetailHero/EventDetailHero.vue +64 -0
- package/src/components/FormContact/FormContact.stories.js +16 -0
- package/src/components/FormContact/FormContact.vue +202 -0
- package/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.js +16 -0
- package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +355 -0
- package/src/components/HeroLarge/HeroLarge.stories.js +46 -0
- package/src/components/HeroLarge/HeroLarge.vue +93 -0
- package/src/components/HeroListingIndex/HeroListingIndex.stories.js +156 -0
- package/src/components/HeroListingIndex/HeroListingIndex.vue +80 -0
- package/src/components/HeroMedia/HeroMedia.stories.js +135 -0
- package/src/components/HeroMedia/HeroMedia.vue +174 -0
- package/src/components/HeroMedium/HeroMedium.stories.js +73 -0
- package/src/components/HeroMedium/HeroMedium.vue +166 -0
- package/src/components/HomepageCarousel/HomepageCarousel.stories.js +112 -0
- package/src/components/HomepageCarousel/HomepageCarousel.vue +382 -0
- package/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.js +60 -0
- package/src/components/HomepageCarouselItem/HomepageCarouselItem.vue +168 -0
- package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.js +35 -0
- package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.vue +39 -0
- package/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.js +93 -0
- package/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.vue +129 -0
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.js +153 -0
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.vue +282 -0
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarouselItem.vue +143 -0
- package/src/components/HomepageStats/HomepageStats.stories.js +155 -0
- package/src/components/HomepageStats/HomepageStats.vue +362 -0
- package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.js +90 -0
- package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.vue +156 -0
- package/src/components/HomepageTeaserBlock/HomepageTeaserBlockCardImage.vue +58 -0
- package/src/components/Icons/Icon360.vue +29 -0
- package/src/components/Icons/IconArrow.vue +26 -0
- package/src/components/Icons/IconArrows.vue +43 -0
- package/src/components/Icons/IconAudio.vue +27 -0
- package/src/components/Icons/IconBook.vue +21 -0
- package/src/components/Icons/IconBookUser.vue +21 -0
- package/src/components/Icons/IconBriefcase.vue +21 -0
- package/src/components/Icons/IconCalendar.vue +25 -0
- package/src/components/Icons/IconCaret.vue +26 -0
- package/src/components/Icons/IconCheckbox.vue +26 -0
- package/src/components/Icons/IconCheckboxSelected.vue +35 -0
- package/src/components/Icons/IconClose.vue +27 -0
- package/src/components/Icons/IconCloseLightbox.vue +25 -0
- package/src/components/Icons/IconDownload.vue +31 -0
- package/src/components/Icons/IconDropdown.vue +25 -0
- package/src/components/Icons/IconEnvelope.vue +21 -0
- package/src/components/Icons/IconExpand.vue +28 -0
- package/src/components/Icons/IconExternal.vue +25 -0
- package/src/components/Icons/IconFilter.vue +25 -0
- package/src/components/Icons/IconForwardTen.vue +38 -0
- package/src/components/Icons/IconGrid.vue +25 -0
- package/src/components/Icons/IconHand.vue +21 -0
- package/src/components/Icons/IconInfo.vue +26 -0
- package/src/components/Icons/IconLink.vue +27 -0
- package/src/components/Icons/IconList.vue +25 -0
- package/src/components/Icons/IconLocation.vue +37 -0
- package/src/components/Icons/IconMagnifyingGlass.vue +21 -0
- package/src/components/Icons/IconMedal.vue +21 -0
- package/src/components/Icons/IconMenu.vue +27 -0
- package/src/components/Icons/IconMinus.vue +26 -0
- package/src/components/Icons/IconMute.vue +27 -0
- package/src/components/Icons/IconNext.vue +25 -0
- package/src/components/Icons/IconPause.vue +28 -0
- package/src/components/Icons/IconPlay.vue +28 -0
- package/src/components/Icons/IconPlus.vue +25 -0
- package/src/components/Icons/IconPrev.vue +25 -0
- package/src/components/Icons/IconRewindTen.vue +42 -0
- package/src/components/Icons/IconSearch.vue +25 -0
- package/src/components/Icons/IconShare.vue +30 -0
- package/src/components/Icons/IconSlideshow.vue +30 -0
- package/src/components/Icons/IconSocialEmail.vue +26 -0
- package/src/components/Icons/IconSocialFacebook.vue +26 -0
- package/src/components/Icons/IconSocialGoogleClassroom.vue +26 -0
- package/src/components/Icons/IconSocialInstagram.vue +35 -0
- package/src/components/Icons/IconSocialPinterest.vue +26 -0
- package/src/components/Icons/IconSocialReddit.vue +25 -0
- package/src/components/Icons/IconSocialTwitter.vue +25 -0
- package/src/components/Icons/IconSocialYoutube.vue +35 -0
- package/src/components/Icons/IconStop.vue +27 -0
- package/src/components/Icons/IconTime.vue +25 -0
- package/src/components/Icons/IconUniversity.vue +21 -0
- package/src/components/Icons/IconUser.vue +26 -0
- package/src/components/Icons/IconVolume.vue +27 -0
- package/src/components/Icons/Icons.stories.ts +440 -0
- package/src/components/ImageDetailContextImage/ImageDetailContextImage.vue +125 -0
- package/src/components/LayoutHelper/LayoutHelper.vue +38 -0
- package/src/components/LoadingTransition/LoadingTransition.vue +48 -0
- package/src/components/LogoCaltech/LogoCaltech.stories.js +39 -0
- package/src/components/LogoCaltech/LogoCaltech.vue +29 -0
- package/src/components/LogoTribrand/LogoTribrand.stories.js +76 -0
- package/src/components/LogoTribrand/LogoTribrand.vue +93 -0
- package/src/components/MissionDetailAbout/MissionDetailAbout.stories.js +70 -0
- package/src/components/MissionDetailAbout/MissionDetailAbout.vue +204 -0
- package/src/components/MissionDetailHero/MissionDetailHero.stories.js +303 -0
- package/src/components/MissionDetailHero/MissionDetailHero.vue +292 -0
- package/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.js +278 -0
- package/src/components/MissionDetailHighlights/MissionDetailHighlights.vue +332 -0
- package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarousel.vue +160 -0
- package/src/components/MissionDetailHighlights/MissionDetailHighlightsCarouselItem.vue +123 -0
- package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.js +43 -0
- package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.vue +97 -0
- package/src/components/MissionDetailStats/DistanceStats.test.js +133 -0
- package/src/components/MissionDetailStats/DistanceStats.vue +250 -0
- package/src/components/MissionDetailStats/MissionDetailStats.stories.js +95 -0
- package/src/components/MissionDetailStats/MissionDetailStats.test.js +23 -0
- package/src/components/MissionDetailStats/MissionDetailStats.vue +187 -0
- package/src/components/MissionDetailStats/MissionDetailStatsMicro.vue +52 -0
- package/src/components/MissionDetailStats/MissionDetailStatsMini.vue +109 -0
- package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.js +55 -0
- package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.vue +95 -0
- package/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.ts +24 -0
- package/src/components/MixinAnimationCaret/MixinAnimationCaret.vue +81 -0
- package/src/components/MixinCarousel/MixinCarousel.docs.mdx +33 -0
- package/src/components/MixinCarousel/MixinCarousel.stories.js +53 -0
- package/src/components/MixinCarousel/MixinCarousel.vue +236 -0
- package/src/components/MixinDropdownToggle/MixinDropdownToggle.vue +53 -0
- package/src/components/MixinFancybox/MixinFancybox.vue +405 -0
- package/src/components/MixinFancybox/MixinFancyboxOpenButton.vue +35 -0
- package/src/components/MixinVideoBg/MixinVideoBg.stories.js +23 -0
- package/src/components/MixinVideoBg/MixinVideoBg.vue +39 -0
- package/src/components/NavDesktop/NavDesktop.stories.js +254 -0
- package/src/components/NavDesktop/NavDesktop.vue +355 -0
- package/src/components/NavDesktop/NavDesktopDropdown.vue +201 -0
- package/src/components/NavDesktop/NavDesktopDropdownContent.vue +87 -0
- package/src/components/NavDesktop/NavDesktopDropdownMore.vue +112 -0
- package/src/components/NavDesktop/NavDesktopTopHat.vue +56 -0
- package/src/components/NavHeading/NavHeading.stories.js +23 -0
- package/src/components/NavHeading/NavHeading.vue +40 -0
- package/src/components/NavHighlight/NavHighlight.stories.js +42 -0
- package/src/components/NavHighlight/NavHighlight.vue +67 -0
- package/src/components/NavLinkList/NavLinkList.stories.js +46 -0
- package/src/components/NavLinkList/NavLinkList.vue +66 -0
- package/src/components/NavLogoLinks/NavLogoLinks.stories.js +22 -0
- package/src/components/NavLogoLinks/NavLogoLinks.vue +57 -0
- package/src/components/NavMobile/NavMobile.stories.js +231 -0
- package/src/components/NavMobile/NavMobile.vue +280 -0
- package/src/components/NavMobile/NavMobileDropdown.vue +175 -0
- package/src/components/NavMobile/NavMobileLink.vue +69 -0
- package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +124 -0
- package/src/components/NavSearchForm/NavSearchForm.stories.js +13 -0
- package/src/components/NavSearchForm/NavSearchForm.vue +102 -0
- package/src/components/NavSecondary/NavSecondary.stories.js +24 -0
- package/src/components/NavSecondary/NavSecondary.vue +191 -0
- package/src/components/NavSecondary/NavSecondaryDropdown.vue +181 -0
- package/src/components/NavSecondary/NavSecondaryDropdownContent.vue +140 -0
- package/src/components/NavSecondary/NavSecondaryLink.vue +62 -0
- package/src/components/NavSocial/NavSocial.stories.js +20 -0
- package/src/components/NavSocial/NavSocial.vue +97 -0
- package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.js +60 -0
- package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.test.js +30 -0
- package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.vue +73 -0
- package/src/components/ParallaxContainer/ParallaxContainer.stories.js +47 -0
- package/src/components/ParallaxContainer/ParallaxContainer.vue +76 -0
- package/src/components/ParallaxElement/ParallaxElement.vue +25 -0
- package/src/components/PastEventsCarousel/PastEventsCarousel.vue +86 -0
- package/src/components/PodcastEpisodeCard/PodcastEpisodeCard.vue +251 -0
- package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.js +235 -0
- package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.vue +171 -0
- package/src/components/ProfileDetailSectionGroup/ProfileDetailSectionGroup.vue +84 -0
- package/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.js +97 -0
- package/src/components/RoboticsDetailStats/RoboticsDetailStats.test.js +21 -0
- package/src/components/RoboticsDetailStats/RoboticsDetailStats.vue +217 -0
- package/src/components/RoboticsDetailStats/RoboticsDetailStatsMini.vue +182 -0
- package/src/components/SearchFilterGroup/SearchFilterGroup.stories.js +59 -0
- package/src/components/SearchFilterGroup/SearchFilterGroup.vue +221 -0
- package/src/components/SearchInput/SearchInput.stories.js +35 -0
- package/src/components/SearchInput/SearchInput.vue +93 -0
- package/src/components/SearchPagination/SearchPagination.stories.js +55 -0
- package/src/components/SearchPagination/SearchPagination.vue +173 -0
- package/src/components/SearchResultCard/SearchResultCard.stories.js +57 -0
- package/src/components/SearchResultCard/SearchResultCard.vue +282 -0
- package/src/components/SearchResultGridItem/SearchResultGridItem.stories.js +70 -0
- package/src/components/SearchResultGridItem/SearchResultGridItem.vue +140 -0
- package/src/components/SearchResultsList/SearchResultsList.vue +183 -0
- package/src/components/SearchSelectMenu/SearchSelectMenu.stories.js +25 -0
- package/src/components/SearchSelectMenu/SearchSelectMenu.vue +86 -0
- package/src/components/ShareButtons/ShareButtons.stories.js +16 -0
- package/src/components/ShareButtons/ShareButtons.vue +132 -0
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.js +14 -0
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.vue +215 -0
- package/src/components/SkipLink/SkipLink.stories.js +9 -0
- package/src/components/SkipLink/SkipLink.vue +53 -0
- package/src/components/SwimlaneCTA/SwimlaneCTA.stories.mdx +77 -0
- package/src/components/SwimlaneCTA/SwimlaneCTA.vue +281 -0
- package/src/components/TheFooter/TheFooter.stories.js +602 -0
- package/src/components/TheFooter/TheFooter.vue +228 -0
- package/src/components/TheFooter/TheFooterSignUp.vue +61 -0
- package/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.js +106 -0
- package/src/components/ThumbnailCarousel/ThumbnailCarousel.vue +76 -0
- package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.js +93 -0
- package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.vue +68 -0
- package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.js +38 -0
- package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.vue +104 -0
- package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.js +84 -0
- package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.vue +112 -0
- package/src/components/TopicDetailMore/TopicDetailMore.stories.js +221 -0
- package/src/components/TopicDetailMore/TopicDetailMore.vue +124 -0
- package/src/components/TopicDetailMore/TopicDetailMoreVisibility.vue +51 -0
- package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.js +116 -0
- package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.vue +130 -0
- package/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.js +34 -0
- package/src/components/TopicDetailStreamfield/TopicDetailStreamfield.vue +98 -0
- package/src/components/YearTicker/YearTicker.stories.js +37 -0
- package/src/components/YearTicker/YearTicker.vue +132 -0
- package/src/docs/foundation/DynamicTokens.vue +106 -0
- package/src/docs/foundation/FontVariants.vue +80 -0
- package/src/docs/foundation/color.docs.mdx +112 -0
- package/src/docs/foundation/grid.docs.mdx +189 -0
- package/src/docs/foundation/grid.stories.js +263 -0
- package/src/docs/foundation/grid_layouthelpers.docs.mdx +78 -0
- package/src/docs/foundation/grid_layouthelpers.stories.js +53 -0
- package/src/docs/foundation/themes.docs.mdx +71 -0
- package/src/docs/foundation/themes.stories.js +63 -0
- package/src/docs/foundation/typography.docs.mdx +50 -0
- package/src/docs/foundation/typography.stories.js +119 -0
- package/src/interfaces.ts +129 -0
- package/src/main.ts +34 -0
- package/src/store/header.ts +40 -0
- package/src/store/theme.ts +27 -0
- package/src/templates/PageContent/PageContent.stories.js +92 -0
- package/src/templates/PageContent/PageContent.vue +140 -0
- package/src/templates/PageEventDetail/PageEventDetail.stories.js +104 -0
- package/src/templates/PageEventDetail/PageEventDetail.vue +358 -0
- package/src/templates/PageNewsDetail/PageNewsDetail.stories.js +158 -0
- package/src/templates/PageNewsDetail/PageNewsDetail.vue +242 -0
- package/src/templates/edu/PageEduNewsDetail.stories.js +64 -0
- package/src/templates/edu/PageEduNewsDetail.vue +155 -0
- package/src/templates/www/HomePage/HomePage.vue +30 -0
- package/src/utils/dayjs.js +32 -0
- package/src/utils/filters.js +33 -0
- package/src/utils/mixins.ts +353 -0
- package/src/vite-env.d.ts +1 -0
- package/tailwind.config.js +24 -0
- package/tsconfig.json +29 -0
- package/tsconfig.node.json +11 -0
- package/vite.config.ts +55 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import ParallaxElement from './../ParallaxElement/ParallaxElement.vue'
|
|
2
|
+
import ParallaxContainer from './ParallaxContainer.vue'
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Components/ParallaxContainer',
|
|
6
|
+
component: ParallaxContainer,
|
|
7
|
+
decorators: [
|
|
8
|
+
() => ({
|
|
9
|
+
template: `<div id="storyDecorator" style="height:3000px"><story/></div>`
|
|
10
|
+
})
|
|
11
|
+
],
|
|
12
|
+
parameters: {
|
|
13
|
+
html: {
|
|
14
|
+
root: '#storyDecorator'
|
|
15
|
+
},
|
|
16
|
+
docs: {
|
|
17
|
+
description: {
|
|
18
|
+
component:
|
|
19
|
+
'Use `ParallaxContainer` with a nested `ParallaxElement` to create a parallax scrolling effect.'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
excludeStories: /.*(Data)$/
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const ParallaxContainerTemplate = (args) => ({
|
|
27
|
+
props: Object.keys(args),
|
|
28
|
+
components: { ParallaxContainer, ParallaxElement },
|
|
29
|
+
template: `<ParallaxContainer :invert="invert" :overflow="overflow">
|
|
30
|
+
<div class="border-black border p-16"><div class="text-h2">Static Content</div><p>Lorem ipsum</p></div>
|
|
31
|
+
<ParallaxElement class="bg-gray-light border-black border py-56 px-24 w-1/2 mx-auto">
|
|
32
|
+
<div class="text-h3">Parallax Content</div><p><code>ParallaxElement</code></p>
|
|
33
|
+
</ParallaxElement>
|
|
34
|
+
<div class="border-black border p-16"><div class="text-h2">Static Content</div><p>Lorem ipsum</p></div>
|
|
35
|
+
<ParallaxElement class="bg-gray-light border-black border py-24 px-24 w-1/4 ml-auto">
|
|
36
|
+
<div class="text-h5">Parallax Content</div><p><code>ParallaxElement</code></p>
|
|
37
|
+
</ParallaxElement>
|
|
38
|
+
<div class="border-black border p-16"><div class="text-h2">Static Content</div><p>Lorem ipsum</p></div>
|
|
39
|
+
</ParallaxContainer>`
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
export const Default = ParallaxContainerTemplate.bind({})
|
|
43
|
+
Default.storyName = 'ParallaxContainer'
|
|
44
|
+
Default.args = {
|
|
45
|
+
invert: true,
|
|
46
|
+
overflow: true
|
|
47
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:class="{ 'overflow-hidden': !overflow }"
|
|
4
|
+
:style="{
|
|
5
|
+
'--scroll-factor': `${data.scrollFactor * data.height}px`
|
|
6
|
+
}"
|
|
7
|
+
>
|
|
8
|
+
<slot />
|
|
9
|
+
</div>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script lang="ts">
|
|
13
|
+
// @ts-nocheck
|
|
14
|
+
export default {
|
|
15
|
+
name: `ParallaxContainer`,
|
|
16
|
+
props: {
|
|
17
|
+
invert: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false,
|
|
20
|
+
required: false
|
|
21
|
+
},
|
|
22
|
+
overflow: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false,
|
|
25
|
+
required: false
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
data() {
|
|
29
|
+
return {
|
|
30
|
+
data: {
|
|
31
|
+
scrollFactor: 0,
|
|
32
|
+
width: 0,
|
|
33
|
+
height: 0
|
|
34
|
+
},
|
|
35
|
+
eventHandler: undefined
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
mounted() {
|
|
39
|
+
this.init()
|
|
40
|
+
},
|
|
41
|
+
beforeUnmount() {
|
|
42
|
+
if (this.eventHandler) {
|
|
43
|
+
window.removeEventListener(`resize`, this.eventHandler)
|
|
44
|
+
window.removeEventListener(`scroll`, this.eventHandler)
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
methods: {
|
|
48
|
+
init() {
|
|
49
|
+
this.calcParallax()
|
|
50
|
+
this.$nextTick(() => {
|
|
51
|
+
this.eventHandler = () => requestAnimationFrame(this.calcParallax)
|
|
52
|
+
window.addEventListener(`resize`, this.eventHandler, false)
|
|
53
|
+
window.addEventListener(`scroll`, this.eventHandler, {
|
|
54
|
+
capture: false,
|
|
55
|
+
passive: true
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
},
|
|
59
|
+
calcParallax() {
|
|
60
|
+
const containerRect = this.$el.getBoundingClientRect()
|
|
61
|
+
|
|
62
|
+
this.data.height = containerRect.height
|
|
63
|
+
this.data.width = containerRect.width
|
|
64
|
+
|
|
65
|
+
const viewportOffsetTop = containerRect.top
|
|
66
|
+
const viewportOffsetBottom = window.innerHeight - viewportOffsetTop
|
|
67
|
+
|
|
68
|
+
if (this.invert) {
|
|
69
|
+
this.data.scrollFactor = viewportOffsetTop / (window.innerHeight + this.data.height)
|
|
70
|
+
} else {
|
|
71
|
+
this.data.scrollFactor = viewportOffsetBottom / (window.innerHeight + this.data.height)
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
</script>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
:style="{
|
|
4
|
+
transform: `translate3d(0, calc(var(--scroll-factor) * ${factor} - ${offset}px), 0)`
|
|
5
|
+
}"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script lang="ts">
|
|
12
|
+
export default {
|
|
13
|
+
name: `ParallaxElement`,
|
|
14
|
+
props: {
|
|
15
|
+
factor: {
|
|
16
|
+
default: 0.25,
|
|
17
|
+
type: Number
|
|
18
|
+
},
|
|
19
|
+
offset: {
|
|
20
|
+
default: 0,
|
|
21
|
+
type: Number
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
</script>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<MixinCarousel
|
|
3
|
+
v-if="hasContent"
|
|
4
|
+
heading="Past Events"
|
|
5
|
+
variant="cards"
|
|
6
|
+
:link="{
|
|
7
|
+
path: '/events',
|
|
8
|
+
query: {
|
|
9
|
+
event_status: 'Past events',
|
|
10
|
+
sortBy: 'eventStartDateLatest',
|
|
11
|
+
page: '1'
|
|
12
|
+
}
|
|
13
|
+
}"
|
|
14
|
+
link-title="View all past events"
|
|
15
|
+
indent="col-1"
|
|
16
|
+
v-bind="$attrs"
|
|
17
|
+
>
|
|
18
|
+
<BlockLinkCard
|
|
19
|
+
v-for="(page, index) in pastEvents"
|
|
20
|
+
:key="index"
|
|
21
|
+
:url="page.url"
|
|
22
|
+
:title="page.title"
|
|
23
|
+
:thumbnail-image="page.image"
|
|
24
|
+
:start-date="page.startDate"
|
|
25
|
+
:end-date="page.endDate"
|
|
26
|
+
class="swiper-slide"
|
|
27
|
+
/>
|
|
28
|
+
</MixinCarousel>
|
|
29
|
+
</template>
|
|
30
|
+
<script lang="ts">
|
|
31
|
+
// @ts-nocheck
|
|
32
|
+
import { defineComponent } from 'vue'
|
|
33
|
+
import type { ElasticSearchPage } from '../../interfaces'
|
|
34
|
+
import MixinCarousel from './../MixinCarousel/MixinCarousel.vue'
|
|
35
|
+
import BlockLinkCard from './../BlockLinkCard/BlockLinkCard.vue'
|
|
36
|
+
|
|
37
|
+
export default defineComponent({
|
|
38
|
+
name: 'PastEventsCarousel',
|
|
39
|
+
components: {
|
|
40
|
+
MixinCarousel,
|
|
41
|
+
BlockLinkCard
|
|
42
|
+
},
|
|
43
|
+
props: {
|
|
44
|
+
data: {
|
|
45
|
+
type: Object,
|
|
46
|
+
required: true
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
computed: {
|
|
50
|
+
hasContent() {
|
|
51
|
+
if (this.data?.length) {
|
|
52
|
+
return true
|
|
53
|
+
}
|
|
54
|
+
return false
|
|
55
|
+
},
|
|
56
|
+
pastEvents(): ElasticSearchPage[] {
|
|
57
|
+
return this.data
|
|
58
|
+
.filter((page: ElasticSearchPage) => {
|
|
59
|
+
return 'url' in page._source
|
|
60
|
+
})
|
|
61
|
+
.map((page: ElasticSearchPage) => {
|
|
62
|
+
// helpers
|
|
63
|
+
const handle = this.parseType(page._source.content_type[0])
|
|
64
|
+
const image = page._source[handle + '__thumbnail_image']
|
|
65
|
+
page.url = page._source.url
|
|
66
|
+
page.title = page._source.title
|
|
67
|
+
page.startDate = page._source[handle + '__start_datetime']
|
|
68
|
+
page.endDate = page._source[handle + '__end_datetime']
|
|
69
|
+
if (image) {
|
|
70
|
+
page.image = {
|
|
71
|
+
src: {
|
|
72
|
+
url: image.thumbnail_image
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return page
|
|
77
|
+
})
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
methods: {
|
|
81
|
+
parseType(type: string): string {
|
|
82
|
+
return type.toLowerCase().replace('.', '_')
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
})
|
|
86
|
+
</script>
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="PodcastEpisodeCard">
|
|
3
|
+
<div class="w-full h-auto">
|
|
4
|
+
<div
|
|
5
|
+
class="border-gray-light-mid lg:pb-10 lg:mb-10 relative grid grid-cols-9 pb-6 mb-6 border-b"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
v-if="showInlinePlayer"
|
|
9
|
+
class="col-span-full animate-fadeIn transition-all"
|
|
10
|
+
>
|
|
11
|
+
<div
|
|
12
|
+
v-if="type || topic"
|
|
13
|
+
class="text-subtitle lg:block hidden mb-3"
|
|
14
|
+
>
|
|
15
|
+
<span v-if="type">
|
|
16
|
+
{{ type }}
|
|
17
|
+
<span class="sr-only">.</span>
|
|
18
|
+
</span>
|
|
19
|
+
<span
|
|
20
|
+
v-if="type && topic"
|
|
21
|
+
class="mx-1"
|
|
22
|
+
>|</span
|
|
23
|
+
>
|
|
24
|
+
<span
|
|
25
|
+
v-if="topic"
|
|
26
|
+
class="text-gray-mid-dark"
|
|
27
|
+
>
|
|
28
|
+
{{ topic }}
|
|
29
|
+
<span class="sr-only">.</span>
|
|
30
|
+
</span>
|
|
31
|
+
</div>
|
|
32
|
+
<BaseHeading
|
|
33
|
+
v-if="title"
|
|
34
|
+
size="h5"
|
|
35
|
+
:level="headingLevel"
|
|
36
|
+
class="mb-3"
|
|
37
|
+
>
|
|
38
|
+
<BaseLink
|
|
39
|
+
variant="none"
|
|
40
|
+
:to="url"
|
|
41
|
+
>
|
|
42
|
+
{{ title }}</BaseLink
|
|
43
|
+
>
|
|
44
|
+
</BaseHeading>
|
|
45
|
+
</div>
|
|
46
|
+
<div
|
|
47
|
+
v-if="showInlinePlayer"
|
|
48
|
+
class="col-span-full flex flex-row animate-fadeIn transition-all bg-gray-dark"
|
|
49
|
+
>
|
|
50
|
+
<div class="PodcastEpisodeCard-thumbnail w-1/6 lg:w-25 min-h-full relative inline-block">
|
|
51
|
+
<BaseImagePlaceholder
|
|
52
|
+
class="h-full"
|
|
53
|
+
aspect-ratio="1:1"
|
|
54
|
+
>
|
|
55
|
+
<BaseImage
|
|
56
|
+
v-if="image?.src"
|
|
57
|
+
:src="image.src.url"
|
|
58
|
+
:width="image.src.width"
|
|
59
|
+
:height="image.src.height"
|
|
60
|
+
alt=""
|
|
61
|
+
object-fit-class="cover"
|
|
62
|
+
loading="lazy"
|
|
63
|
+
/>
|
|
64
|
+
</BaseImagePlaceholder>
|
|
65
|
+
</div>
|
|
66
|
+
<div
|
|
67
|
+
v-if="showInlinePlayer"
|
|
68
|
+
class="w-full pt-3 lg:pt-3.5 px-3.5 flex flex-col justify-center"
|
|
69
|
+
>
|
|
70
|
+
<div class="w-full">
|
|
71
|
+
<BaseAudio
|
|
72
|
+
:file="media"
|
|
73
|
+
auto-play
|
|
74
|
+
/>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
<BaseLink
|
|
79
|
+
v-if="showInlinePlayer"
|
|
80
|
+
variant="none"
|
|
81
|
+
:to="url"
|
|
82
|
+
class="col-span-12 animate-fadeIn transition-all"
|
|
83
|
+
link-class="block"
|
|
84
|
+
>
|
|
85
|
+
<p
|
|
86
|
+
v-if="summary"
|
|
87
|
+
class="hidden sm:block text-gray-mid-dark text-body-sm my-3"
|
|
88
|
+
>
|
|
89
|
+
{{ summary }}
|
|
90
|
+
<span class="sr-only">.</span>
|
|
91
|
+
</p>
|
|
92
|
+
</BaseLink>
|
|
93
|
+
<BaseLink
|
|
94
|
+
v-if="!showInlinePlayer"
|
|
95
|
+
variant="none"
|
|
96
|
+
:to="url"
|
|
97
|
+
class="PodcastEpisodeCard sm:col-span-6 md:col-span-6 lg:col-span-7 xl:col-span-7 col-span-6"
|
|
98
|
+
link-class="block"
|
|
99
|
+
>
|
|
100
|
+
<div
|
|
101
|
+
v-if="type || topic"
|
|
102
|
+
class="text-subtitle lg:block hidden mb-3"
|
|
103
|
+
>
|
|
104
|
+
<span v-if="type">
|
|
105
|
+
{{ type }}
|
|
106
|
+
<span class="sr-only">.</span>
|
|
107
|
+
</span>
|
|
108
|
+
<span
|
|
109
|
+
v-if="type && topic"
|
|
110
|
+
class="mx-1"
|
|
111
|
+
>|</span
|
|
112
|
+
>
|
|
113
|
+
<span
|
|
114
|
+
v-if="topic"
|
|
115
|
+
class="text-gray-mid-dark"
|
|
116
|
+
>
|
|
117
|
+
{{ topic }}
|
|
118
|
+
<span class="sr-only">.</span>
|
|
119
|
+
</span>
|
|
120
|
+
</div>
|
|
121
|
+
|
|
122
|
+
<BaseHeading
|
|
123
|
+
v-if="title"
|
|
124
|
+
size="h5"
|
|
125
|
+
:level="headingLevel"
|
|
126
|
+
class="mb-3"
|
|
127
|
+
>{{ title }}</BaseHeading
|
|
128
|
+
>
|
|
129
|
+
<p
|
|
130
|
+
v-if="summary"
|
|
131
|
+
class="hidden sm:block text-gray-mid-dark text-body-sm mb-3"
|
|
132
|
+
>
|
|
133
|
+
{{ summary }}
|
|
134
|
+
<span class="sr-only">.</span>
|
|
135
|
+
</p>
|
|
136
|
+
</BaseLink>
|
|
137
|
+
<button
|
|
138
|
+
v-if="image && !showInlinePlayer"
|
|
139
|
+
class="PodcastEpisodeCard-image xl:pl-14 sm:col-span-3 md:col-span-3 lg:col-span-2 xl:col-span-2 col-span-3 z-20 ml-3"
|
|
140
|
+
aria-label="Play episode"
|
|
141
|
+
@click="inlinePlayerToggle()"
|
|
142
|
+
>
|
|
143
|
+
<div class="relative h-full w-full group">
|
|
144
|
+
<div
|
|
145
|
+
class="text-white absolute text-8xl animate-fadeIn transition-opacity z-20 inset-0 flex justify-center items-center drop-shadow-lg opacity-90 group-hover:opacity-100 duration-1000"
|
|
146
|
+
>
|
|
147
|
+
<IconPlay />
|
|
148
|
+
</div>
|
|
149
|
+
<BaseImagePlaceholder
|
|
150
|
+
class="bg-opacity-0"
|
|
151
|
+
aspect-ratio="1:1"
|
|
152
|
+
no-logo
|
|
153
|
+
>
|
|
154
|
+
<BaseImage
|
|
155
|
+
v-if="image?.src"
|
|
156
|
+
:src="image.src.url"
|
|
157
|
+
:width="image.src.width"
|
|
158
|
+
:height="image.src.height"
|
|
159
|
+
alt=""
|
|
160
|
+
class="sm:object-cover object-cover"
|
|
161
|
+
image-class="group-hover:opacity-75 opacity-100 duration-500"
|
|
162
|
+
loading="lazy"
|
|
163
|
+
/>
|
|
164
|
+
</BaseImagePlaceholder>
|
|
165
|
+
</div>
|
|
166
|
+
</button>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</template>
|
|
171
|
+
|
|
172
|
+
<script lang="ts">
|
|
173
|
+
import type { PropType } from 'vue'
|
|
174
|
+
import { defineComponent } from 'vue'
|
|
175
|
+
import BaseLink from './../BaseLink/BaseLink.vue'
|
|
176
|
+
import BaseAudio from './../BaseAudio/BaseAudio.vue'
|
|
177
|
+
import BaseHeading from './../BaseHeading/BaseHeading.vue'
|
|
178
|
+
import BaseImage from './../BaseImage/BaseImage.vue'
|
|
179
|
+
import BaseImagePlaceholder from './../BaseImagePlaceholder/BaseImagePlaceholder.vue'
|
|
180
|
+
import IconPlay from './../Icons/IconPlay.vue'
|
|
181
|
+
import type { HeadingLevel } from './../BaseHeading/BaseHeading.vue'
|
|
182
|
+
|
|
183
|
+
export default defineComponent({
|
|
184
|
+
name: 'PodcastEpisodeCard',
|
|
185
|
+
components: {
|
|
186
|
+
BaseLink,
|
|
187
|
+
BaseHeading,
|
|
188
|
+
BaseImage,
|
|
189
|
+
BaseImagePlaceholder,
|
|
190
|
+
BaseAudio,
|
|
191
|
+
IconPlay
|
|
192
|
+
},
|
|
193
|
+
props: {
|
|
194
|
+
url: {
|
|
195
|
+
type: String,
|
|
196
|
+
required: false,
|
|
197
|
+
default: '#'
|
|
198
|
+
},
|
|
199
|
+
type: {
|
|
200
|
+
type: String,
|
|
201
|
+
required: false
|
|
202
|
+
},
|
|
203
|
+
topic: {
|
|
204
|
+
type: String,
|
|
205
|
+
required: false
|
|
206
|
+
},
|
|
207
|
+
title: {
|
|
208
|
+
type: String,
|
|
209
|
+
required: false
|
|
210
|
+
},
|
|
211
|
+
summary: {
|
|
212
|
+
type: String,
|
|
213
|
+
required: false
|
|
214
|
+
},
|
|
215
|
+
media: {
|
|
216
|
+
type: String,
|
|
217
|
+
required: false
|
|
218
|
+
},
|
|
219
|
+
image: {
|
|
220
|
+
type: Object,
|
|
221
|
+
required: false
|
|
222
|
+
},
|
|
223
|
+
headingLevel: {
|
|
224
|
+
type: (String as PropType<HeadingLevel>) || null,
|
|
225
|
+
required: false,
|
|
226
|
+
default: 'h5'
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
data() {
|
|
230
|
+
return {
|
|
231
|
+
showInlinePlayer: false
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
methods: {
|
|
235
|
+
inlinePlayerToggle(): boolean {
|
|
236
|
+
this.showInlinePlayer = !this.showInlinePlayer
|
|
237
|
+
return this.showInlinePlayer
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
})
|
|
241
|
+
</script>
|
|
242
|
+
<style lang="scss">
|
|
243
|
+
.PodcastEpisodeCard {
|
|
244
|
+
.PodcastEpisodeCard-thumbnail {
|
|
245
|
+
@apply hidden;
|
|
246
|
+
@media only screen and (min-width: 325px) {
|
|
247
|
+
@apply block;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
</style>
|