@explorer-1/vue 0.1.1 → 0.1.2
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/components.d.ts +2 -0
- package/dist/explorer-1-vue.js +4833 -4820
- package/dist/explorer-1-vue.umd.cjs +14 -14
- package/dist/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.d.ts +1 -1
- package/dist/src/components/BackToTop/BackToTop.stories.d.ts +2 -2
- package/dist/src/components/BaseAudio/BaseAudio.stories.d.ts +1 -1
- package/dist/src/components/BaseButton/BaseButton.stories.d.ts +2 -1
- package/dist/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.d.ts +24 -0
- package/dist/src/components/BaseHeading/BaseHeading.stories.d.ts +1 -1
- package/dist/src/components/BaseImage/BaseImage.stories.d.ts +1 -1
- package/dist/src/components/BaseImageCaption/BaseImageCaption.stories.d.ts +1 -1
- package/dist/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.d.ts +4 -1
- package/dist/src/components/BaseLink/BaseLink.stories.d.ts +2 -1
- package/dist/src/components/BaseModal/BaseModal.stories.d.ts +2 -2
- package/dist/src/components/BasePlaceholder/BasePlaceholder.stories.d.ts +2 -2
- package/dist/src/components/BaseRadioGroup/BaseRadioGroup.stories.d.ts +28 -0
- package/dist/src/components/BaseSwimlane/BaseSwimlane.stories.d.ts +25 -0
- package/dist/src/components/BaseTimer/BaseTimer.stories.d.ts +2 -1
- package/dist/src/components/BaseUnitToggle/BaseUnitToggle.stories.d.ts +2 -1
- package/dist/src/components/BaseVideo/BaseVideo.stories.d.ts +1 -1
- package/dist/src/components/BlockAudio/BlockAudio.stories.d.ts +1 -1
- package/dist/src/components/BlockCard/BlockCard.stories.d.ts +1 -1
- package/dist/src/components/BlockCardGroup/BlockCardGroup.stories.d.ts +1 -1
- package/dist/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.d.ts +1 -1
- package/dist/src/components/BlockCta/BlockCta.stories.d.ts +1 -1
- package/dist/src/components/BlockHeading/BlockHeading.stories.d.ts +1 -1
- package/dist/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.d.ts +1 -1
- package/dist/src/components/BlockImage/BlockImage.stories.d.ts +3 -2
- package/dist/src/components/BlockImageCarousel/BlockImageCarousel.stories.d.ts +1 -1
- package/dist/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.d.ts +1 -1
- package/dist/src/components/BlockImageComparison/BlockImageComparison.stories.d.ts +1 -1
- package/dist/src/components/BlockImageGallery/BlockImageGallery.stories.d.ts +1 -1
- package/dist/src/components/BlockInlineImage/BlockInlineImage.stories.d.ts +2 -1
- package/dist/src/components/BlockKeyPoints/BlockKeyPoints.stories.d.ts +1 -1
- package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +4 -2
- package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.d.ts +2 -1
- package/dist/src/components/BlockLinkTile/BlockLinkTile.stories.d.ts +2 -1
- package/dist/src/components/BlockListCards/BlockListCards.stories.d.ts +1 -1
- package/dist/src/components/BlockQuote/BlockQuote.stories.d.ts +2 -2
- package/dist/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.d.ts +1 -1
- package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +1 -1
- package/dist/src/components/BlockTable/BlockTable.stories.d.ts +1 -1
- package/dist/src/components/BlockTeaser/BlockTeaser.stories.d.ts +1 -1
- package/dist/src/components/BlockText/BlockText.stories.d.ts +1 -1
- package/dist/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.d.ts +1 -1
- package/dist/src/components/BlockVideo/BlockVideo.stories.d.ts +1 -1
- package/dist/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.d.ts +1 -1
- package/dist/src/components/CalendarButton/CalendarButton.stories.d.ts +2 -2
- package/dist/src/components/DetailHeadline/DetailHeadline.stories.d.ts +1 -1
- package/dist/src/components/DsnWidget/DsnWidget.stories.d.ts +1 -1
- package/dist/src/components/EventDetailHero/EventDetailHero.stories.d.ts +1 -1
- package/dist/src/components/FormContact/FormContact.stories.d.ts +2 -2
- package/dist/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.d.ts +2 -2
- package/dist/src/components/HeroLarge/HeroLarge.stories.d.ts +1 -1
- package/dist/src/components/HeroListingIndex/HeroListingIndex.stories.d.ts +1 -1
- package/dist/src/components/HeroMedia/HeroMedia.stories.d.ts +7 -2
- package/dist/src/components/HeroMedium/HeroMedium.stories.d.ts +19 -3
- package/dist/src/components/HeroMedium/HeroMedium.vue.d.ts +11 -0
- package/dist/src/components/HeroMedium/HeroSmall.stories.d.ts +90 -0
- package/dist/src/components/HomepageCarousel/HomepageCarousel.stories.d.ts +8 -6
- package/dist/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.d.ts +2 -1
- package/dist/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.d.ts +1 -1
- package/dist/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.d.ts +2 -1
- package/dist/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.d.ts +1 -1
- package/dist/src/components/HomepageStats/HomepageStats.stories.d.ts +2 -2
- package/dist/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.d.ts +3 -2
- package/dist/src/components/LogoCaltech/LogoCaltech.stories.d.ts +2 -2
- package/dist/src/components/LogoTribrand/LogoTribrand.stories.d.ts +3 -2
- package/dist/src/components/MissionDetailAbout/MissionDetailAbout.stories.d.ts +1 -1
- package/dist/src/components/MissionDetailHero/MissionDetailHero.stories.d.ts +2 -1
- package/dist/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.d.ts +2 -1
- package/dist/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.d.ts +1 -1
- package/dist/src/components/MissionDetailStats/MissionDetailStats.stories.d.ts +2 -1
- package/dist/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.d.ts +1 -1
- package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.d.ts +1 -1
- package/dist/src/components/MixinCarousel/MixinCarousel.stories.d.ts +1 -1
- package/dist/src/components/MixinVideoBg/MixinVideoBg.stories.d.ts +1 -9
- package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +2 -1
- package/dist/src/components/NavHeading/NavHeading.stories.d.ts +1 -1
- package/dist/src/components/NavHighlight/NavHighlight.stories.d.ts +1 -1
- package/dist/src/components/NavLinkList/NavLinkList.stories.d.ts +1 -1
- package/dist/src/components/NavLogoLinks/NavLogoLinks.stories.d.ts +1 -1
- package/dist/src/components/NavMobile/NavMobile.stories.d.ts +2 -1
- package/dist/src/components/NavSearchForm/NavSearchForm.stories.d.ts +1 -1
- package/dist/src/components/NavSecondary/NavSecondary.stories.d.ts +1 -1
- package/dist/src/components/NavSocial/NavSocial.stories.d.ts +2 -2
- package/dist/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.d.ts +1 -1
- package/dist/src/components/ParallaxContainer/ParallaxContainer.stories.d.ts +2 -2
- package/dist/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.d.ts +1 -1
- package/dist/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.d.ts +1 -1
- package/dist/src/components/SearchFilterGroup/SearchFilterGroup.stories.d.ts +2 -1
- package/dist/src/components/SearchInput/SearchInput.stories.d.ts +1 -1
- package/dist/src/components/SearchInput/SearchInput.vue.d.ts +9 -9
- package/dist/src/components/SearchPagination/SearchPagination.stories.d.ts +2 -1
- package/dist/src/components/SearchResultCard/SearchResultCard.stories.d.ts +2 -1
- package/dist/src/components/SearchResultGridItem/SearchResultGridItem.stories.d.ts +2 -1
- package/dist/src/components/SearchSelectMenu/SearchSelectMenu.stories.d.ts +1 -1
- package/dist/src/components/ShareButtons/ShareButtons.stories.d.ts +1 -1
- package/dist/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.d.ts +1 -1
- package/dist/src/components/SkipLink/SkipLink.stories.d.ts +1 -1
- package/dist/src/components/SwimlaneCTA/SwimlaneCTA.stories.d.ts +25 -0
- package/dist/src/components/TextArea/TextArea.stories.d.ts +30 -0
- package/dist/src/components/TextArea/TextArea.vue.d.ts +95 -0
- package/dist/src/components/TextInput/TextInput.stories.d.ts +33 -0
- package/dist/src/components/TextInput/TextInput.vue.d.ts +116 -0
- package/dist/src/components/TheFooter/TheFooter.stories.d.ts +6 -2
- package/dist/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailMore/TopicDetailMore.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.d.ts +1 -1
- package/dist/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.d.ts +1 -1
- package/dist/src/components/YearTicker/YearTicker.stories.d.ts +2 -2
- package/dist/src/docs/foundation/typography.stories.d.ts +0 -6
- package/dist/src/docs/guides/responsive.stories.d.ts +13 -0
- package/dist/src/docs/utils/ComponentItem.d.ts +2 -0
- package/dist/src/docs/utils/ComponentList.d.ts +2 -0
- package/dist/src/templates/PageContent/PageContent.stories.d.ts +1 -1
- package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +1 -1
- package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +44 -3178
- package/dist/src/templates/edu/PageEduNewsDetail.stories.d.ts +9 -772
- package/dist/style.css +1 -1
- package/lib/main.ts +2 -2
- package/package.json +3 -3
- package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.js +2 -2
- package/src/components/BackToTop/BackToTop.stories.js +3 -3
- package/src/components/BaseAudio/BaseAudio.stories.js +1 -1
- package/src/components/BaseButton/BaseButton.stories.ts +3 -2
- package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.js +39 -0
- package/src/components/BaseHeading/BaseHeading.stories.js +2 -2
- package/src/components/BaseImage/BaseImage.stories.ts +1 -1
- package/src/components/BaseImageCaption/BaseImageCaption.stories.js +1 -1
- package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.js +3 -1
- package/src/components/BaseLink/BaseLink.stories.js +3 -2
- package/src/components/BaseModal/BaseModal.stories.js +2 -2
- package/src/components/BasePlaceholder/BasePlaceholder.stories.js +3 -3
- package/src/components/BaseRadioGroup/BaseRadioGroup.stories.js +47 -0
- package/src/components/BaseSwimlane/BaseSwimlane.stories.js +45 -0
- package/src/components/BaseTag/BaseTag.stories.js +1 -1
- package/src/components/BaseTimer/BaseTimer.stories.js +2 -1
- package/src/components/BaseUnitToggle/BaseUnitToggle.stories.js +2 -1
- package/src/components/BaseVideo/BaseVideo.stories.js +1 -1
- package/src/components/BlockAudio/BlockAudio.stories.js +1 -1
- package/src/components/BlockCard/BlockCard.stories.js +1 -1
- package/src/components/BlockCardGroup/BlockCardGroup.stories.js +1 -1
- package/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.js +1 -1
- package/src/components/BlockCta/BlockCta.stories.js +1 -1
- package/src/components/BlockHeading/BlockHeading.stories.js +1 -1
- package/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.js +1 -1
- package/src/components/BlockImage/BlockImage.stories.js +3 -2
- package/src/components/BlockImageCarousel/BlockImageCarousel.stories.js +1 -1
- package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.js +1 -1
- package/src/components/BlockImageComparison/BlockImageComparison.stories.js +1 -1
- package/src/components/BlockImageGallery/BlockImageGallery.stories.js +1 -1
- package/src/components/BlockInlineImage/BlockInlineImage.stories.js +2 -1
- package/src/components/BlockKeyPoints/BlockKeyPoints.stories.js +1 -1
- package/src/components/BlockLinkCard/BlockLinkCard.stories.js +2 -1
- package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +2 -1
- package/src/components/BlockLinkTile/BlockLinkTile.stories.js +2 -1
- package/src/components/BlockListCards/BlockListCards.stories.js +1 -1
- package/src/components/BlockQuote/BlockQuote.stories.js +2 -2
- package/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.js +1 -1
- package/src/components/BlockStreamfield/BlockStreamfield.stories.js +1 -1
- package/src/components/BlockTable/BlockTable.stories.js +1 -1
- package/src/components/BlockTeaser/BlockTeaser.stories.js +1 -1
- package/src/components/BlockText/BlockText.stories.js +1 -1
- package/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.js +1 -1
- package/src/components/BlockVideo/BlockVideo.stories.js +1 -1
- package/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.js +1 -1
- package/src/components/CalendarButton/CalendarButton.stories.js +3 -3
- package/src/components/DetailHeadline/DetailHeadline.stories.js +2 -2
- package/src/components/DsnWidget/DsnWidget.stories.js +2 -2
- package/src/components/EventDetailHero/EventDetailHero.stories.js +2 -2
- package/src/components/FormContact/FormContact.stories.js +3 -3
- package/src/components/FormContact/FormContact.vue +40 -87
- package/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.js +3 -3
- package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +43 -90
- package/src/components/HeroLarge/HeroLarge.stories.js +2 -2
- package/src/components/HeroListingIndex/HeroListingIndex.stories.js +3 -2
- package/src/components/HeroMedia/HeroMedia.stories.js +8 -3
- package/src/components/HeroMedium/HeroMedium.stories.js +13 -2
- package/src/components/HeroMedium/HeroMedium.vue +21 -4
- package/src/components/HeroMedium/HeroSmall.stories.js +58 -0
- package/src/components/HomepageCarousel/HomepageCarousel.stories.js +3 -2
- package/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.js +3 -2
- package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.js +2 -2
- package/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.js +3 -2
- package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.js +2 -2
- package/src/components/HomepageStats/HomepageStats.stories.js +3 -3
- package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.js +4 -3
- package/src/components/Icons/Icons.stories.ts +1 -1
- package/src/components/LogoCaltech/LogoCaltech.stories.js +4 -4
- package/src/components/LogoTribrand/LogoTribrand.stories.js +6 -5
- package/src/components/MissionDetailAbout/MissionDetailAbout.stories.js +2 -2
- package/src/components/MissionDetailHero/MissionDetailHero.stories.js +3 -2
- package/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.js +3 -2
- package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.js +2 -2
- package/src/components/MissionDetailStats/MissionDetailStats.stories.js +3 -2
- package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.js +2 -2
- package/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.ts +2 -2
- package/src/components/MixinCarousel/MixinCarousel.stories.js +3 -3
- package/src/components/MixinVideoBg/MixinVideoBg.stories.js +2 -12
- package/src/components/NavDesktop/NavDesktop.stories.js +3 -2
- package/src/components/NavDesktop/NavDesktopDropdown.vue +10 -10
- package/src/components/NavDesktop/NavDesktopDropdownContent.vue +1 -1
- package/src/components/NavDesktopEdu/NavDesktopEdu.stories.js +186 -0
- package/src/components/NavDesktopEdu/NavDesktopEdu.vue +315 -0
- package/src/components/{MixinDropdownToggle/MixinDropdownToggle.vue → NavDropdownToggle/NavDropdownToggle.vue} +2 -2
- package/src/components/NavHeading/NavHeading.stories.js +2 -2
- package/src/components/NavHeading/NavHeading.vue +2 -2
- package/src/components/NavHighlight/NavHighlight.stories.js +2 -2
- package/src/components/NavLinkList/NavLinkList.stories.js +2 -2
- package/src/components/NavLogoLinks/NavLogoLinks.stories.js +3 -6
- package/src/components/NavLogoLinks/NavLogoLinks.vue +0 -1
- package/src/components/NavMobile/NavMobile.stories.js +3 -2
- package/src/components/NavMobile/NavMobile.vue +40 -15
- package/src/components/NavMobile/NavMobileDropdown.vue +4 -4
- package/src/components/NavMobile/NavMobileEdu.stories.js +174 -0
- package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +5 -5
- package/src/components/NavSearchForm/NavSearchForm.stories.js +2 -2
- package/src/components/NavSecondary/NavSecondary.stories.js +2 -2
- package/src/components/NavSecondary/NavSecondaryDropdown.vue +5 -5
- package/src/components/NavSocial/NavSocial.stories.js +3 -3
- package/src/components/NavSocial/NavSocial.vue +70 -42
- package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.js +2 -2
- package/src/components/ParallaxContainer/ParallaxContainer.stories.js +4 -4
- package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.js +2 -2
- package/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.js +2 -2
- package/src/components/SearchFilterGroup/SearchFilterGroup.stories.js +2 -1
- package/src/components/SearchInput/SearchInput.stories.js +1 -1
- package/src/components/SearchInput/SearchInput.vue +36 -36
- package/src/components/SearchPagination/SearchPagination.stories.js +2 -1
- package/src/components/SearchResultCard/SearchResultCard.stories.js +1 -1
- package/src/components/SearchResultGridItem/SearchResultGridItem.stories.js +2 -1
- package/src/components/SearchSelectMenu/SearchSelectMenu.stories.js +1 -1
- package/src/components/ShareButtons/ShareButtons.stories.js +2 -2
- package/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.js +2 -2
- package/src/components/SkipLink/SkipLink.stories.js +2 -2
- package/src/components/SwimlaneCTA/SwimlaneCTA.stories.js +57 -0
- package/src/components/SwimlaneCTA/SwimlaneCTA.vue +12 -5
- package/src/components/TextArea/TextArea.stories.js +28 -0
- package/src/components/TextArea/TextArea.vue +74 -0
- package/src/components/TextInput/TextInput.stories.js +30 -0
- package/src/components/TextInput/TextInput.vue +87 -0
- package/src/components/TheFooter/TheFooter.stories.js +8 -3
- package/src/components/TheFooter/TheFooter.vue +31 -15
- package/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.js +2 -2
- package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.js +2 -2
- package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.js +2 -2
- package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.js +2 -2
- package/src/components/TopicDetailMore/TopicDetailMore.stories.js +2 -2
- package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.js +2 -2
- package/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.js +2 -2
- package/src/components/YearTicker/YearTicker.stories.js +3 -3
- package/src/docs/foundation/color.docs.mdx +1 -1
- package/src/docs/foundation/grid.stories.js +1 -1
- package/src/docs/foundation/grid_layouthelpers.stories.js +1 -1
- package/src/docs/foundation/themes.stories.js +1 -1
- package/src/docs/foundation/typography.stories.js +2 -3
- package/src/docs/getting-started/designer.docs.mdx +18 -0
- package/src/docs/getting-started/developer.docs.mdx +81 -0
- package/src/docs/guides/accessibility.docs.mdx +39 -0
- package/src/docs/guides/responsive.docs.mdx +67 -0
- package/src/docs/guides/responsive.stories.js +36 -0
- package/src/docs/introduction.docs.mdx +42 -0
- package/src/docs/overviews/base.docs.mdx +88 -0
- package/src/docs/overviews/blocks.docs.mdx.disabled +185 -0
- package/src/docs/overviews/components.docs.mdx +48 -0
- package/src/docs/overviews/forms.docs.mdx +59 -0
- package/src/docs/overviews/global.docs.mdx +15 -0
- package/src/docs/overviews/global_footers.docs.mdx +21 -0
- package/src/docs/overviews/global_headers.docs.mdx +29 -0
- package/src/docs/overviews/heroes.docs.mdx +57 -0
- package/src/docs/overviews/mixins.docs.mdx +39 -0
- package/src/docs/overviews/search.docs.mdx +30 -0
- package/src/docs/overviews/utilities.docs.mdx +22 -0
- package/src/docs/roadmap.docs.mdx +25 -0
- package/src/docs/utils/ComponentItem.jsx +102 -0
- package/src/docs/utils/ComponentList.jsx +17 -0
- package/src/templates/PageContent/PageContent.stories.js +1 -1
- package/src/templates/PageEventDetail/PageEventDetail.stories.js +1 -1
- package/src/templates/PageNewsDetail/PageNewsDetail.stories.js +8 -8
- package/src/templates/edu/PageEduNewsDetail.stories.js +8 -3
- package/src/templates/edu/PageEduNewsDetail.vue +1 -1
- package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.mdx +0 -68
- package/src/components/BaseRadioGroup/BaseRadioGroup.stories.mdx +0 -68
- package/src/components/BaseSwimlane/BaseSwimlane.stories.mdx +0 -64
- package/src/components/SwimlaneCTA/SwimlaneCTA.stories.mdx +0 -77
|
@@ -2,7 +2,7 @@ import { HomepageCarouselItemData } from './../HomepageCarouselItem/HomepageCaro
|
|
|
2
2
|
import HomepageCarousel from './HomepageCarousel.vue'
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'WWW/Homepage/HomepageCarousel',
|
|
5
|
+
title: 'Components/WWW/Homepage/HomepageCarousel',
|
|
6
6
|
component: HomepageCarousel,
|
|
7
7
|
excludeStories: /.*Data$/,
|
|
8
8
|
parameters: {
|
|
@@ -83,7 +83,8 @@ const HomepageCarouselShuffledData = () => {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// stories
|
|
86
|
-
export const
|
|
86
|
+
export const BaseStory = {
|
|
87
|
+
name: 'HomepageCarousel',
|
|
87
88
|
args: {
|
|
88
89
|
items: HomepageCarouselData,
|
|
89
90
|
duration: 10000
|
|
@@ -2,7 +2,7 @@ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories'
|
|
|
2
2
|
import HomepageCarouselItem from './HomepageCarouselItem.vue'
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'WWW/Homepage/HomepageCarousel/HomepageCarouselItem',
|
|
5
|
+
title: 'Components/WWW/Homepage/HomepageCarousel/HomepageCarouselItem',
|
|
6
6
|
component: HomepageCarouselItem,
|
|
7
7
|
decorators: [
|
|
8
8
|
() => ({
|
|
@@ -46,7 +46,8 @@ export const HomepageCarouselItemData = {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export const
|
|
49
|
+
export const BaseStory = {
|
|
50
|
+
name: 'Single Item',
|
|
50
51
|
args: {
|
|
51
52
|
item: {
|
|
52
53
|
...HomepageCarouselItemData.item,
|
|
@@ -2,7 +2,7 @@ import { BlockVideoEmbedData } from './../BlockVideoEmbed/BlockVideoEmbed.storie
|
|
|
2
2
|
import HomepageEmbedBlock from './HomepageEmbedBlock.vue'
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'WWW/Homepage/HomepageEmbedBlock',
|
|
5
|
+
title: 'Components/WWW/Homepage/HomepageEmbedBlock',
|
|
6
6
|
component: HomepageEmbedBlock,
|
|
7
7
|
decorators: [
|
|
8
8
|
() => ({
|
|
@@ -27,7 +27,7 @@ export const HomepageEmbedBlockData = [
|
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
// stories
|
|
30
|
-
export const
|
|
30
|
+
export const BaseStory = {
|
|
31
31
|
name: 'HomepageEmbedBlock',
|
|
32
32
|
args: {
|
|
33
33
|
data: HomepageEmbedBlockData
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import HomepageFeaturedRobot from './HomepageFeaturedRobot.vue'
|
|
2
2
|
export default {
|
|
3
|
-
title: 'WWW/Homepage/HomepageFeaturedRobot',
|
|
3
|
+
title: 'Components/WWW/Homepage/HomepageFeaturedRobot',
|
|
4
4
|
component: HomepageFeaturedRobot,
|
|
5
5
|
excludeStories: /.*Data$/,
|
|
6
6
|
parameters: {
|
|
@@ -63,7 +63,8 @@ export const HomepageFeaturedRobotData = {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
// stories
|
|
66
|
-
export const
|
|
66
|
+
export const BaseStory = {
|
|
67
|
+
name: 'Featured Robot',
|
|
67
68
|
args: {
|
|
68
69
|
data: HomepageFeaturedRobotData
|
|
69
70
|
}
|
|
@@ -7,7 +7,7 @@ import HomepageMissionsCarousel from './HomepageMissionsCarousel.vue'
|
|
|
7
7
|
import HomepageMissionsCarouselItem from './HomepageMissionsCarouselItem.vue'
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
|
-
title: 'WWW/Homepage/HomepageMissionsCarousel',
|
|
10
|
+
title: 'Components/WWW/Homepage/HomepageMissionsCarousel',
|
|
11
11
|
component: HomepageMissionsCarousel,
|
|
12
12
|
excludeStories: /.*Data$/,
|
|
13
13
|
parameters: {
|
|
@@ -134,7 +134,7 @@ const HomepageMissionsCarouselItemTemplate = (args) => ({
|
|
|
134
134
|
})
|
|
135
135
|
|
|
136
136
|
// stories
|
|
137
|
-
export const
|
|
137
|
+
export const BaseStory = {
|
|
138
138
|
args: {
|
|
139
139
|
data: HomepageMissionsCarouselData.missionsCarousel
|
|
140
140
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import HomepageStats from './HomepageStats.vue'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
title: 'WWW/Homepage/HomepageStats',
|
|
4
|
+
title: 'Components/WWW/Homepage/HomepageStats',
|
|
5
5
|
component: HomepageStats,
|
|
6
6
|
excludeStories: /.*Data$/,
|
|
7
7
|
parameters: {
|
|
@@ -57,8 +57,8 @@ const HomepageStatsTemplate = (args) => ({
|
|
|
57
57
|
/>`
|
|
58
58
|
})
|
|
59
59
|
|
|
60
|
-
export const
|
|
61
|
-
|
|
60
|
+
export const BaseStory = HomepageStatsTemplate.bind({})
|
|
61
|
+
BaseStory.args = HomepageStatsData
|
|
62
62
|
|
|
63
63
|
export const StaticDate = HomepageStatsTemplate.bind({})
|
|
64
64
|
StaticDate.args = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import HomepageTeaserBlock from './HomepageTeaserBlock.vue'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
title: 'WWW/Homepage/HomepageTeaserBlock',
|
|
4
|
+
title: 'Components/WWW/Homepage/HomepageTeaserBlock',
|
|
5
5
|
component: HomepageTeaserBlock,
|
|
6
6
|
excludeStories: /.*(Data|Decorator)$/,
|
|
7
7
|
parameters: {
|
|
@@ -76,8 +76,9 @@ export const HomepageTeaserBlockData = {
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
// stories
|
|
79
|
-
export const
|
|
80
|
-
|
|
79
|
+
export const BaseStory = HomepageTeaserBlockTemplate.bind({})
|
|
80
|
+
BaseStory.storyName = 'Teaser Block'
|
|
81
|
+
BaseStory.args = {
|
|
81
82
|
...HomepageTeaserBlockData
|
|
82
83
|
}
|
|
83
84
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import LogoCaltech from './LogoCaltech.vue'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
title: '
|
|
4
|
+
title: 'Foundations/Logos/LogoCaltech',
|
|
5
5
|
component: LogoCaltech,
|
|
6
6
|
argTypes: {
|
|
7
7
|
size: {
|
|
@@ -34,6 +34,6 @@ const LogoCaltechComponentTemplate = (args) => ({
|
|
|
34
34
|
template: `<LogoCaltech :class="size" />`
|
|
35
35
|
})
|
|
36
36
|
|
|
37
|
-
export const
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
export const BaseStory = LogoCaltechComponentTemplate.bind({})
|
|
38
|
+
BaseStory.storyName = 'LogoCaltech' // single story hoisting
|
|
39
|
+
BaseStory.args = { size: 'text-base' }
|
|
@@ -3,7 +3,7 @@ import LogoWhite from '@explorer-1/common/src/images/svg/logo-tribrand-white.svg
|
|
|
3
3
|
import LogoTribrand from './LogoTribrand.vue'
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
-
title: '
|
|
6
|
+
title: 'Foundations/Logos/LogoTribrand',
|
|
7
7
|
component: LogoTribrand,
|
|
8
8
|
excludeStories: /.*Data$/,
|
|
9
9
|
parameters: {
|
|
@@ -28,9 +28,10 @@ const LogoTribrandImageTemplate = (args) => ({
|
|
|
28
28
|
template: `<img :src="src" alt="Logo Image" />`
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
-
export const
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
export const BaseStory = LogoTribrandComponentTemplate.bind({})
|
|
32
|
+
BaseStory.storyName = 'Logo Inline SVG'
|
|
33
|
+
BaseStory.args = { invert: false, size: 'text-base' }
|
|
34
|
+
BaseStory.argTypes = {
|
|
34
35
|
size: {
|
|
35
36
|
control: {
|
|
36
37
|
type: 'select',
|
|
@@ -43,7 +44,7 @@ LogoInlineSvg.argTypes = {
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
+
BaseStory.decorators = [
|
|
47
48
|
() => ({
|
|
48
49
|
template: `<div class="inline-block" :class="invert ? 'bg-black ' : 'bg-white '"><story/></div>`,
|
|
49
50
|
props: ['size', 'invert']
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import MissionDetailAbout from './MissionDetailAbout.vue'
|
|
2
2
|
|
|
3
3
|
export default {
|
|
4
|
-
title: 'WWW/MissionDetail/MissionDetailAbout',
|
|
4
|
+
title: 'Components/WWW/MissionDetail/MissionDetailAbout',
|
|
5
5
|
component: MissionDetailAbout,
|
|
6
6
|
decorators: [
|
|
7
7
|
() => ({
|
|
@@ -60,7 +60,7 @@ export const MissionDetailAboutData = {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// stories
|
|
63
|
-
export const
|
|
63
|
+
export const BaseStory = { args: MissionDetailAboutData }
|
|
64
64
|
|
|
65
65
|
export const NoInstruments = {
|
|
66
66
|
args: {
|
|
@@ -13,7 +13,7 @@ import imageInstrumentOco2WebP from '@explorer-1/common-storybook/src/images/mis
|
|
|
13
13
|
import MissionDetailHero from './MissionDetailHero.vue'
|
|
14
14
|
|
|
15
15
|
export default {
|
|
16
|
-
title: 'WWW/MissionDetail/MissionDetailHero',
|
|
16
|
+
title: 'Components/WWW/MissionDetail/MissionDetailHero',
|
|
17
17
|
component: MissionDetailHero,
|
|
18
18
|
argTypes: {
|
|
19
19
|
templateStyle: {
|
|
@@ -89,7 +89,8 @@ const MissionDetailHeroTemplate = (args) => ({
|
|
|
89
89
|
})
|
|
90
90
|
|
|
91
91
|
// stories
|
|
92
|
-
export const
|
|
92
|
+
export const BaseStory = {
|
|
93
|
+
name: 'CubeRRT',
|
|
93
94
|
args: {
|
|
94
95
|
templateStyle: 'light',
|
|
95
96
|
title: 'CubeRRT',
|
|
@@ -7,7 +7,7 @@ import imagePlanetMarsB from '@explorer-1/common-storybook/src/images/mission-hi
|
|
|
7
7
|
|
|
8
8
|
import MissionDetailHighlights from './MissionDetailHighlights.vue'
|
|
9
9
|
export default {
|
|
10
|
-
title: 'WWW/MissionDetail/MissionHighlights',
|
|
10
|
+
title: 'Components/WWW/MissionDetail/MissionHighlights',
|
|
11
11
|
component: MissionDetailHighlights,
|
|
12
12
|
parameters: {
|
|
13
13
|
viewMode: 'canvas'
|
|
@@ -103,7 +103,8 @@ const MissionDetailHighlightsNoImagesTemplate = (args) => ({
|
|
|
103
103
|
})
|
|
104
104
|
|
|
105
105
|
// stories
|
|
106
|
-
export const
|
|
106
|
+
export const BaseStory = {
|
|
107
|
+
name: 'Earth',
|
|
107
108
|
args: {
|
|
108
109
|
animation: MissionDetailHighlightsData.showHighlightsAnimation,
|
|
109
110
|
graphic: MissionDetailHighlightsData.highlightsGraphic,
|
|
@@ -2,7 +2,7 @@ import { BaseImageCaptionData } from './../BaseImageCaption/BaseImageCaption.sto
|
|
|
2
2
|
import MissionDetailInlineImage from './MissionDetailInlineImage.vue'
|
|
3
3
|
|
|
4
4
|
export default {
|
|
5
|
-
title: 'WWW/MissionDetail/MissionDetailInlineImage',
|
|
5
|
+
title: 'Components/WWW/MissionDetail/MissionDetailInlineImage',
|
|
6
6
|
component: MissionDetailInlineImage,
|
|
7
7
|
argTypes: {
|
|
8
8
|
alignTo: {
|
|
@@ -34,7 +34,7 @@ const MissionDetailInlineImageData = {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export const
|
|
37
|
+
export const BaseStory = {
|
|
38
38
|
args: {
|
|
39
39
|
alignment: MissionDetailInlineImageData.alignTo,
|
|
40
40
|
text: MissionDetailInlineImageData.text,
|
|
@@ -4,7 +4,7 @@ import MissionDetailStatsMicro from './MissionDetailStatsMicro.vue'
|
|
|
4
4
|
import { distanceTypes } from './DistanceStats.vue'
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
|
-
title: 'WWW/MissionDetail/MissionDetailStats',
|
|
7
|
+
title: 'Components/WWW/MissionDetail/MissionDetailStats',
|
|
8
8
|
component: MissionDetailStats,
|
|
9
9
|
subcomponents: { MissionDetailStatsMini, MissionDetailStatsMicro },
|
|
10
10
|
decorators: [
|
|
@@ -50,7 +50,8 @@ export const MissionDetailStatsData = {
|
|
|
50
50
|
status: 'future'
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export const
|
|
53
|
+
export const BaseStory = {
|
|
54
|
+
name: 'Full',
|
|
54
55
|
args: MissionDetailStatsData,
|
|
55
56
|
render: (args) => ({
|
|
56
57
|
setup() {
|
|
@@ -3,7 +3,7 @@ import { BlockIframeEmbedData } from './../BlockIframeEmbed/BlockIframeEmbed.sto
|
|
|
3
3
|
import MissionDetailStreamfield from './MissionDetailStreamfield.vue'
|
|
4
4
|
|
|
5
5
|
export default {
|
|
6
|
-
title: 'WWW/MissionDetail/MissionDetailStreamfield',
|
|
6
|
+
title: 'Components/WWW/MissionDetail/MissionDetailStreamfield',
|
|
7
7
|
component: MissionDetailStreamfield,
|
|
8
8
|
excludeStories: /.*Data$/
|
|
9
9
|
}
|
|
@@ -52,4 +52,4 @@ export const MissionDetailStreamfieldData = {
|
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export const
|
|
55
|
+
export const BaseStory = { args: { data: MissionDetailStreamfieldData.feature } }
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
component: MixinAnimationCaret,
|
|
6
6
|
parameters: {
|
|
7
7
|
slots: {
|
|
8
|
-
default: '
|
|
8
|
+
default: 'BaseStory slot content'
|
|
9
9
|
},
|
|
10
10
|
viewMode: 'docs',
|
|
11
11
|
docs: {
|
|
@@ -17,7 +17,7 @@ export default {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export const
|
|
20
|
+
export const BaseStory = {
|
|
21
21
|
args: {
|
|
22
22
|
default: 'Text with caret'
|
|
23
23
|
}
|
|
@@ -12,7 +12,7 @@ export default {
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export const
|
|
15
|
+
export const BaseStory = {
|
|
16
16
|
name: 'BaseCarousel',
|
|
17
17
|
args: {
|
|
18
18
|
heading: 'Heading',
|
|
@@ -24,8 +24,8 @@ export const Default = {
|
|
|
24
24
|
return { args }
|
|
25
25
|
},
|
|
26
26
|
template: `<MixinCarousel v-bind="args">
|
|
27
|
-
<div v-for="(item, index) in [1, 2, 3, 4, 5, 6, 7]" :key="index" class="swiper-slide">
|
|
28
|
-
<img src="https://picsum.photos/550/483" width="550" height="483" alt="
|
|
27
|
+
<div v-for="(item, index) in [1, 2, 3, 4, 5, 6, 7]" :key="index" class="swiper-slide bg-gray-dark">
|
|
28
|
+
<img src="https://picsum.photos/550/483" width="550" height="483" :alt="'Demo slide ' + index" data-chromatic="ignore">
|
|
29
29
|
</div>
|
|
30
30
|
</MixinCarousel>`
|
|
31
31
|
})
|
|
@@ -4,20 +4,10 @@ import MixinVideoBg from './MixinVideoBg.vue'
|
|
|
4
4
|
export default {
|
|
5
5
|
title: 'Mixins/MixinVideoBg',
|
|
6
6
|
component: MixinVideoBg,
|
|
7
|
-
excludeStories: /.*Data
|
|
8
|
-
decorators: [
|
|
9
|
-
() => ({
|
|
10
|
-
template: `<div id="storyDecorator" class="absolute inset-0"><story/></div>`
|
|
11
|
-
})
|
|
12
|
-
],
|
|
13
|
-
parameters: {
|
|
14
|
-
html: {
|
|
15
|
-
root: '#storyDecorator'
|
|
16
|
-
}
|
|
17
|
-
}
|
|
7
|
+
excludeStories: /.*Data$/
|
|
18
8
|
}
|
|
19
9
|
|
|
20
|
-
export const
|
|
10
|
+
export const BaseStory = {
|
|
21
11
|
name: 'MixinVideoBg',
|
|
22
12
|
args: { video: BaseVideoData }
|
|
23
13
|
}
|
|
@@ -7,7 +7,7 @@ import NavDesktopDropdownContent from './NavDesktopDropdownContent.vue'
|
|
|
7
7
|
import NavDesktopDropdownMore from './NavDesktopDropdownMore.vue'
|
|
8
8
|
|
|
9
9
|
export default {
|
|
10
|
-
title: '
|
|
10
|
+
title: 'Navigation/Headers/WWW/NavDesktop',
|
|
11
11
|
component: NavDesktop,
|
|
12
12
|
excludeStories: /.*Data$/,
|
|
13
13
|
parameters: {
|
|
@@ -168,7 +168,8 @@ export const NavDesktopData = {
|
|
|
168
168
|
]
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
export const
|
|
171
|
+
export const BaseStory = {
|
|
172
|
+
name: 'NavDesktop',
|
|
172
173
|
args: {
|
|
173
174
|
data: NavDesktopData,
|
|
174
175
|
headerVisible: true,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="NavDesktopDropdown">
|
|
3
|
-
<
|
|
3
|
+
<NavDropdownToggle
|
|
4
4
|
v-click-outside="closeDropdown"
|
|
5
5
|
:aria-expanded="dropdownVisible ? true : false"
|
|
6
6
|
class="group relative z-20 px-4 font-medium border-t-2 border-transparent"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
>
|
|
17
17
|
<slot name="dropdownLabel">Dropdown</slot>
|
|
18
18
|
</span>
|
|
19
|
-
</
|
|
19
|
+
</NavDropdownToggle>
|
|
20
20
|
|
|
21
21
|
<transition name="navfade">
|
|
22
22
|
<div
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
import { defineComponent } from 'vue'
|
|
40
40
|
import { mapStores } from 'pinia'
|
|
41
41
|
import { useHeaderStore } from './../../store/header'
|
|
42
|
-
import
|
|
42
|
+
import NavDropdownToggle from './../NavDropdownToggle/NavDropdownToggle.vue'
|
|
43
43
|
|
|
44
44
|
export default defineComponent({
|
|
45
45
|
name: 'NavDesktopDropdown',
|
|
46
46
|
components: {
|
|
47
|
-
|
|
47
|
+
NavDropdownToggle
|
|
48
48
|
},
|
|
49
49
|
props: {
|
|
50
50
|
parentScrolled: {
|
|
@@ -125,27 +125,27 @@ export default defineComponent({
|
|
|
125
125
|
|
|
126
126
|
&.-open {
|
|
127
127
|
> span {
|
|
128
|
-
@apply border-
|
|
128
|
+
@apply border-primary edu:border-white;
|
|
129
129
|
|
|
130
130
|
.-transparent & {
|
|
131
131
|
@apply border-white;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.-transparent.-scrolled & {
|
|
135
|
-
@apply border-
|
|
135
|
+
@apply border-primary edu:border-white;
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
&:hover {
|
|
140
140
|
> span {
|
|
141
|
-
@apply border-
|
|
141
|
+
@apply border-primary edu:border-white;
|
|
142
142
|
|
|
143
143
|
.-transparent & {
|
|
144
144
|
@apply border-white;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
.-transparent.-scrolled & {
|
|
148
|
-
@apply border-
|
|
148
|
+
@apply border-primary edu:border-white;
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
}
|
|
@@ -154,14 +154,14 @@ export default defineComponent({
|
|
|
154
154
|
&.-active {
|
|
155
155
|
> button {
|
|
156
156
|
> span {
|
|
157
|
-
@apply border-
|
|
157
|
+
@apply border-primary edu:border-white font-bold;
|
|
158
158
|
|
|
159
159
|
.-transparent & {
|
|
160
160
|
@apply border-white;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
.-transparent.-scrolled & {
|
|
164
|
-
@apply border-
|
|
164
|
+
@apply border-primary edu:border-white;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
167
|
&.hasSecondary {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
v-if="data"
|
|
4
|
-
class="NavDesktopDropdownContent bg-jpl-blue-darker bg-opacity-98 3xl:px-0 px-4 py-10 text-white"
|
|
4
|
+
class="NavDesktopDropdownContent bg-jpl-blue-darker bg-opacity-98 edu:bg-gradient-to-r edu:bg-transparent edu:from-black/[.98] edu:to-jpl-violet/[.98] edu:to-90% 3xl:px-0 px-4 py-10 text-white"
|
|
5
5
|
>
|
|
6
6
|
<div
|
|
7
7
|
v-if="data.menuColumns"
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { MenuHighlightColumnData } from './../NavHighlight/NavHighlight.stories'
|
|
2
|
+
import { MenuLinkColumnWithHeaderData } from './../NavLinkList/NavLinkList.stories'
|
|
3
|
+
import NavDesktop from './NavDesktopEdu.vue'
|
|
4
|
+
import NavDesktopTopHat from './../NavDesktop/NavDesktopTopHat.vue'
|
|
5
|
+
import NavDesktopDropdown from './../NavDesktop/NavDesktopDropdown.vue'
|
|
6
|
+
import NavDesktopDropdownContent from './../NavDesktop/NavDesktopDropdownContent.vue'
|
|
7
|
+
import NavDesktopDropdownMore from './../NavDesktop/NavDesktopDropdownMore.vue'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: 'Navigation/Headers/EDU/NavDesktopEdu',
|
|
11
|
+
component: NavDesktop,
|
|
12
|
+
excludeStories: /.*Data$/,
|
|
13
|
+
parameters: {
|
|
14
|
+
viewMode: 'canvas'
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const NavDesktopTopHatData = {
|
|
19
|
+
topHat: [
|
|
20
|
+
{
|
|
21
|
+
linkPage: {
|
|
22
|
+
title: 'Home',
|
|
23
|
+
url: '/'
|
|
24
|
+
},
|
|
25
|
+
title: 'JPL',
|
|
26
|
+
path: null
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
linkPage: null,
|
|
30
|
+
title: 'Career',
|
|
31
|
+
path: 'https://jpl.jobs/'
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
linkPage: null,
|
|
35
|
+
title: 'Science and Technology',
|
|
36
|
+
path: 'https://scienceandtechnology.jpl.nasa.gov/'
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// combined dropdown data
|
|
42
|
+
export const NavDesktopDropdownContentData = {
|
|
43
|
+
blockType: 'MenuPanel',
|
|
44
|
+
titleLink: {
|
|
45
|
+
linkPage: {
|
|
46
|
+
title: 'About',
|
|
47
|
+
url: '/about/'
|
|
48
|
+
},
|
|
49
|
+
title: null
|
|
50
|
+
},
|
|
51
|
+
menuColumns: [
|
|
52
|
+
MenuHighlightColumnData,
|
|
53
|
+
{
|
|
54
|
+
blockType: 'MenuDescriptionColumn',
|
|
55
|
+
description: 'Lorem ipsum dolor sit amet.',
|
|
56
|
+
title: 'About'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
...MenuLinkColumnWithHeaderData,
|
|
60
|
+
heading: null,
|
|
61
|
+
headingPage: null
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
...MenuLinkColumnWithHeaderData,
|
|
65
|
+
heading: null,
|
|
66
|
+
headingPage: null
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
// combined dropdown data for "more" menu
|
|
71
|
+
export const NavDesktopDropdownMoreData = {
|
|
72
|
+
blockType: 'MenuMorePanel',
|
|
73
|
+
titleText: 'More',
|
|
74
|
+
strapline:
|
|
75
|
+
'JPL is a unique research facility that carries out robotic space and Earth science missions.',
|
|
76
|
+
menuColumns: [
|
|
77
|
+
{
|
|
78
|
+
blockType: 'MenuDescriptionColumn',
|
|
79
|
+
description: 'Lorem ipsum dolor sit amet.',
|
|
80
|
+
title: 'About'
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
...MenuLinkColumnWithHeaderData,
|
|
84
|
+
heading: 'More from JPL',
|
|
85
|
+
headingPage: null
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
...MenuLinkColumnWithHeaderData,
|
|
89
|
+
heading: 'Explore Topics',
|
|
90
|
+
headingPage: null
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
blockType: 'MenuMoreHighlightsColumn',
|
|
94
|
+
heading: 'Discover',
|
|
95
|
+
headingPage: null,
|
|
96
|
+
highlights: [MenuHighlightColumnData, MenuHighlightColumnData]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
// combined header data // desktop and mobile
|
|
102
|
+
|
|
103
|
+
export const NavDesktopData = {
|
|
104
|
+
breadcrumb:
|
|
105
|
+
'{"/": [{"path": "http://www.jpl.nasa.gov/", "title": "Asteroid watch"}, {"path": "http://www.jpl.nasa.gov/", "title": "Asteroid fast facts"}, {"path": "http://www.jpl.nasa.gov/", "title": "Meteor shower viewing guide"}, {"path": "http://www.jpl.nasa.gov/", "title": "Yeoman\'s top 10"}, {"path": "http://www.jpl.nasa.gov/", "title": "Glossary of space rocks"}, {"path": "/robotics-at-jpl/", "title": "Robotics"}, {"path": "http://www.jpl.nasa.gov/", "title": "Apps"}, {"path": "/jpl-life/", "title": "JPL Life"}, {"path": "/stars-and-galaxies/", "title": "Stars and Galaxies"}, {"path": "/exoplanets/", "title": "Exoplanets"}, {"path": "/solar-system/", "title": "Solar System"}, {"path": "/asteroids/", "title": "Asteroids"}, {"path": "/comets/", "title": "Comets"}, {"path": "/technology/", "title": "Technology"}, {"path": "/mars/", "title": "Mars"}, {"path": "/earth/", "title": "Earth"}, {"path": "/climate-change/", "title": "Climate Change"}, {"path": "/earthquakes/", "title": "Earthquakes"}, {"path": "/weather/", "title": "Weather"}, {"path": "/robotics/", "title": "Robotics"}], "/missions/": [{"path": "/missions/", "title": "Current"}, {"path": "/missions/", "title": "Past"}, {"path": "/missions/", "title": "Future"}, {"path": "/missions/", "title": "Proposed"}, {"path": "/missions/", "title": "All"}], "/news/": [{"path": "/news/", "title": "All news"}, {"path": "/news/", "title": "Press kits"}, {"path": "/news/", "title": "Fact sheets"}, {"path": "/news/", "title": "Media Information"}, {"path": "/news/", "title": "JPL newsletter"}]}',
|
|
106
|
+
...NavDesktopTopHatData,
|
|
107
|
+
primaryNavigation: [
|
|
108
|
+
NavDesktopDropdownContentData,
|
|
109
|
+
{
|
|
110
|
+
...NavDesktopDropdownContentData,
|
|
111
|
+
titleLink: {
|
|
112
|
+
linkPage: {
|
|
113
|
+
title: 'Missions',
|
|
114
|
+
url: '/missions/'
|
|
115
|
+
},
|
|
116
|
+
title: null
|
|
117
|
+
},
|
|
118
|
+
menuColumns: [
|
|
119
|
+
MenuHighlightColumnData,
|
|
120
|
+
{
|
|
121
|
+
blockType: 'MenuDescriptionColumn',
|
|
122
|
+
description: 'Lorem ipsum dolor sit amet.',
|
|
123
|
+
title: 'Missions'
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
...MenuLinkColumnWithHeaderData,
|
|
127
|
+
heading: null,
|
|
128
|
+
headingPage: null
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
...MenuLinkColumnWithHeaderData,
|
|
132
|
+
heading: null,
|
|
133
|
+
headingPage: null
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
...NavDesktopDropdownContentData,
|
|
139
|
+
titleLink: {
|
|
140
|
+
linkPage: {
|
|
141
|
+
title: 'News',
|
|
142
|
+
url: '/news/'
|
|
143
|
+
},
|
|
144
|
+
title: null
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
...NavDesktopDropdownContentData,
|
|
149
|
+
titleLink: {
|
|
150
|
+
linkPage: {
|
|
151
|
+
title: 'Galleries',
|
|
152
|
+
url: '/galleries/'
|
|
153
|
+
},
|
|
154
|
+
title: null
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
...NavDesktopDropdownContentData,
|
|
159
|
+
titleLink: {
|
|
160
|
+
linkPage: {
|
|
161
|
+
title: 'Engage',
|
|
162
|
+
url: '/engage/'
|
|
163
|
+
},
|
|
164
|
+
title: null
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export const BaseStory = {
|
|
171
|
+
name: 'NavDesktop',
|
|
172
|
+
args: {
|
|
173
|
+
data: NavDesktopData,
|
|
174
|
+
headerVisible: true,
|
|
175
|
+
scrolledUp: false,
|
|
176
|
+
scrollTop: 0,
|
|
177
|
+
invertOverride: false
|
|
178
|
+
},
|
|
179
|
+
render: (args) => ({
|
|
180
|
+
components: { NavDesktop },
|
|
181
|
+
setup() {
|
|
182
|
+
return { args }
|
|
183
|
+
},
|
|
184
|
+
template: `<NavDesktop v-bind="args" />`
|
|
185
|
+
})
|
|
186
|
+
}
|