@explorer-1/vue 0.1.0 → 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/BackToTop/BackToTop.vue +1 -1
- 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/MissionDetailHighlights/MissionDetailHighlights.vue +1 -1
- 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 +3 -3
- package/src/components/NavDesktop/NavDesktopDropdownMore.vue +2 -2
- 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/SearchFilterGroup/SearchFilterGroup.vue +1 -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 +2 -2
- 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
|
@@ -28,7 +28,7 @@ export default {
|
|
|
28
28
|
excludeStories: /.*Data$/
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export const
|
|
31
|
+
export const BaseStory = {
|
|
32
32
|
args: {
|
|
33
33
|
data: {
|
|
34
34
|
slug: 'nasas-ingenuity-mars-helicopter-recharges-its-batteries-in-flight',
|
|
@@ -75,7 +75,7 @@ export const NewsDetail = {
|
|
|
75
75
|
export const InlineHero = {
|
|
76
76
|
args: {
|
|
77
77
|
data: {
|
|
78
|
-
...
|
|
78
|
+
...BaseStory.args.data,
|
|
79
79
|
heroPosition: 'inline'
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -84,7 +84,7 @@ export const InlineHero = {
|
|
|
84
84
|
export const HeroCarousel = {
|
|
85
85
|
args: {
|
|
86
86
|
data: {
|
|
87
|
-
...
|
|
87
|
+
...BaseStory.args.data,
|
|
88
88
|
hero: [{ blockType: 'CarouselBlock', blocks: BlockImageCarouselData }]
|
|
89
89
|
}
|
|
90
90
|
}
|
|
@@ -93,7 +93,7 @@ export const HeroCarousel = {
|
|
|
93
93
|
export const HeroImageComparison = {
|
|
94
94
|
args: {
|
|
95
95
|
data: {
|
|
96
|
-
...
|
|
96
|
+
...BaseStory.args.data,
|
|
97
97
|
heroPosition: 'inline',
|
|
98
98
|
hero: [
|
|
99
99
|
{
|
|
@@ -107,7 +107,7 @@ export const HeroImageComparison = {
|
|
|
107
107
|
export const HeroVideo = {
|
|
108
108
|
args: {
|
|
109
109
|
data: {
|
|
110
|
-
...
|
|
110
|
+
...BaseStory.args.data,
|
|
111
111
|
hero: [
|
|
112
112
|
{
|
|
113
113
|
blockType: 'VideoBlock',
|
|
@@ -123,7 +123,7 @@ export const HeroVideo = {
|
|
|
123
123
|
export const HeroVideoEmbed = {
|
|
124
124
|
args: {
|
|
125
125
|
data: {
|
|
126
|
-
...
|
|
126
|
+
...BaseStory.args.data,
|
|
127
127
|
heroPosition: 'inline',
|
|
128
128
|
hero: [
|
|
129
129
|
{
|
|
@@ -141,7 +141,7 @@ export const HeroVideoEmbed = {
|
|
|
141
141
|
export const NoHero = {
|
|
142
142
|
args: {
|
|
143
143
|
data: {
|
|
144
|
-
...
|
|
144
|
+
...BaseStory.args.data,
|
|
145
145
|
hero: []
|
|
146
146
|
}
|
|
147
147
|
}
|
|
@@ -150,7 +150,7 @@ export const NoHero = {
|
|
|
150
150
|
export const WithTopper = {
|
|
151
151
|
args: {
|
|
152
152
|
data: {
|
|
153
|
-
...
|
|
153
|
+
...BaseStory.args.data,
|
|
154
154
|
topper:
|
|
155
155
|
'<p>Editor’s Note: Mars Helicopter flight delayed to no earlier than April 14.</p><p><a href="https://mars.nasa.gov/technology/helicopter/status/291/mars-helicopter-flight-delayed-to-no-earlier-than-april-14/"><i>Read here for more information</i></a><i>.</i></p><p></p><hr/><p></p>'
|
|
156
156
|
}
|
|
@@ -13,12 +13,17 @@ export default {
|
|
|
13
13
|
parameters: {
|
|
14
14
|
html: {
|
|
15
15
|
root: '#storyDecorator'
|
|
16
|
+
},
|
|
17
|
+
docs: {
|
|
18
|
+
description: {
|
|
19
|
+
component: 'Doesn\'t look like EDU? Be sure to select "EDU Theme" in the toolbar dropdown.'
|
|
20
|
+
}
|
|
16
21
|
}
|
|
17
22
|
},
|
|
18
23
|
excludeStories: /.*Data$/
|
|
19
24
|
}
|
|
20
25
|
|
|
21
|
-
export const
|
|
26
|
+
export const BaseStory = {
|
|
22
27
|
args: {
|
|
23
28
|
data: {
|
|
24
29
|
slug: 'nasas-ingenuity-mars-helicopter-recharges-its-batteries-in-flight',
|
|
@@ -48,7 +53,7 @@ export const EduNewsDetail = {
|
|
|
48
53
|
export const InlineHero = {
|
|
49
54
|
args: {
|
|
50
55
|
data: {
|
|
51
|
-
...
|
|
56
|
+
...BaseStory.args.data,
|
|
52
57
|
heroPosition: 'inline'
|
|
53
58
|
}
|
|
54
59
|
}
|
|
@@ -57,7 +62,7 @@ export const InlineHero = {
|
|
|
57
62
|
export const NoHero = {
|
|
58
63
|
args: {
|
|
59
64
|
data: {
|
|
60
|
-
...
|
|
65
|
+
...BaseStory.args.data,
|
|
61
66
|
hero: []
|
|
62
67
|
}
|
|
63
68
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed } from 'vue'
|
|
3
|
-
import isEmpty from 'lodash/isEmpty'
|
|
3
|
+
import isEmpty from 'lodash/isEmpty.js'
|
|
4
4
|
import type { StreamfieldBlockData } from '../../components/BlockStreamfield/BlockStreamfield.vue'
|
|
5
5
|
import type {
|
|
6
6
|
ImageObject,
|
|
@@ -67,7 +67,7 @@ const dateTimeArray = computed(() => {
|
|
|
67
67
|
<template>
|
|
68
68
|
<div
|
|
69
69
|
v-if="data"
|
|
70
|
-
class="ThemeVariantLight"
|
|
70
|
+
class="ThemeEdu ThemeVariantLight"
|
|
71
71
|
:class="computedClass"
|
|
72
72
|
itemscope
|
|
73
73
|
itemtype="http://schema.org/Article"
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
-
import BaseCheckboxGroup from './BaseCheckboxGroup.vue'
|
|
3
|
-
|
|
4
|
-
<Meta
|
|
5
|
-
title="Components/Base/BaseCheckboxGroup"
|
|
6
|
-
component={BaseCheckboxGroup}
|
|
7
|
-
parameters={{ viewMode: 'docs' }}
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
export const BaseCheckboxGroupData = {
|
|
11
|
-
options: [
|
|
12
|
-
{
|
|
13
|
-
id: 'educators',
|
|
14
|
-
title: 'Educators',
|
|
15
|
-
text: null
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: 'educator-workshop',
|
|
19
|
-
title: 'Educators Workshops',
|
|
20
|
-
text: 'Southern California'
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: 'students',
|
|
24
|
-
title: 'Students K-12',
|
|
25
|
-
text: null
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: 'internships',
|
|
29
|
-
title: 'Internships',
|
|
30
|
-
text: null
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
group: 'edumail',
|
|
34
|
-
heading: 'JPL Education Groups',
|
|
35
|
-
subHeading:
|
|
36
|
-
'The JPL Education Office also offers email updates about classroom activities and workshops for educators, projects and competitons for K-12 students and internship opportunities at JPL and NASA.',
|
|
37
|
-
title: 'Education Email Groups'
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const BaseCheckboxGroupTemplate = (args) => ({
|
|
41
|
-
props: Object.keys(args),
|
|
42
|
-
components: { BaseCheckboxGroup },
|
|
43
|
-
template: `<BaseCheckboxGroup :options="options" :group="group" :heading="heading" :sub-heading="subHeading" :title="title"
|
|
44
|
-
></BaseCheckboxGroup>`
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
# Base Checkbox Group
|
|
48
|
-
|
|
49
|
-
## Usage
|
|
50
|
-
|
|
51
|
-
The BaseCheckboxGroup component is expected to contain an array of options and a grouping name with the goal of selecting multiple options.
|
|
52
|
-
|
|
53
|
-
<Canvas>
|
|
54
|
-
<Story
|
|
55
|
-
name="Default"
|
|
56
|
-
args={BaseCheckboxGroupData}
|
|
57
|
-
>
|
|
58
|
-
{BaseCheckboxGroupTemplate.bind({})}
|
|
59
|
-
</Story>
|
|
60
|
-
</Canvas>
|
|
61
|
-
|
|
62
|
-
## Props
|
|
63
|
-
|
|
64
|
-
<ArgsTable for={BaseCheckboxGroup} />
|
|
65
|
-
|
|
66
|
-
## Example data
|
|
67
|
-
|
|
68
|
-
<code language="json">{JSON.stringify(BaseCheckboxGroupData, null, 2)}</code>
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
-
import BaseRadioGroup from './BaseRadioGroup.vue'
|
|
3
|
-
|
|
4
|
-
<Meta
|
|
5
|
-
title="Components/Base/BaseRadioGroup"
|
|
6
|
-
component={BaseRadioGroup}
|
|
7
|
-
parameters={{ viewMode: 'docs' }}
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
export const BaseRadioGroupData = {
|
|
11
|
-
options: [
|
|
12
|
-
{
|
|
13
|
-
id: 'breaking',
|
|
14
|
-
title: 'Breaking News',
|
|
15
|
-
text: 'All JPL News delivered immediately'
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
id: 'daily',
|
|
19
|
-
title: 'Daily News',
|
|
20
|
-
text: 'Single Daily JPL News summary'
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: 'weekly',
|
|
24
|
-
title: 'Weekly News',
|
|
25
|
-
text: 'Single Weekly JPL News summary'
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: 'monthly',
|
|
29
|
-
title: 'Monthly News',
|
|
30
|
-
text: 'Monthly Digest for JPL News'
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
group: 'email',
|
|
34
|
-
preselected: 'breaking',
|
|
35
|
-
heading: 'JPL Forms',
|
|
36
|
-
subHeading: 'Choose how frequently you want to receive updates (opt out anytime):',
|
|
37
|
-
title: 'Email Groups'
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export const BaseRadioGroupTemplate = (args) => ({
|
|
41
|
-
props: Object.keys(args),
|
|
42
|
-
components: { BaseRadioGroup },
|
|
43
|
-
template: `<BaseRadioGroup :options="options" :group="group" :preselected="preselected" :heading="heading" :sub-heading="subHeading" :title="title"
|
|
44
|
-
></BaseRadioGroup>`
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
# Base Radio Group
|
|
48
|
-
|
|
49
|
-
## Usage
|
|
50
|
-
|
|
51
|
-
The BaseRadioGroup component is expected to contain an array of options and a grouping name with the goal of selecting a single option.
|
|
52
|
-
|
|
53
|
-
<Canvas>
|
|
54
|
-
<Story
|
|
55
|
-
name="Default"
|
|
56
|
-
args={BaseRadioGroupData}
|
|
57
|
-
>
|
|
58
|
-
{BaseRadioGroupTemplate.bind({})}
|
|
59
|
-
</Story>
|
|
60
|
-
</Canvas>
|
|
61
|
-
|
|
62
|
-
## Props
|
|
63
|
-
|
|
64
|
-
<ArgsTable for={BaseRadioGroup} />
|
|
65
|
-
|
|
66
|
-
## Example data
|
|
67
|
-
|
|
68
|
-
<code language="json">{JSON.stringify(BaseRadioGroupData, null, 2)}</code>
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
-
import BaseSwimlane from './BaseSwimlane.vue'
|
|
3
|
-
|
|
4
|
-
<Meta
|
|
5
|
-
title="Components/Base/BaseSwimlane"
|
|
6
|
-
component={BaseSwimlane}
|
|
7
|
-
parameters={{ viewMode: 'docs' }}
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
export const BaseSwimlaneData = {
|
|
11
|
-
words: [
|
|
12
|
-
'Artists',
|
|
13
|
-
'Communicators',
|
|
14
|
-
'Designers',
|
|
15
|
-
'Disruptors',
|
|
16
|
-
'Dreamers',
|
|
17
|
-
'Educators',
|
|
18
|
-
'Engineers',
|
|
19
|
-
'Innovators',
|
|
20
|
-
'Inventors',
|
|
21
|
-
'Makers',
|
|
22
|
-
'Problem Solvers',
|
|
23
|
-
'Roboticists',
|
|
24
|
-
'Scientists',
|
|
25
|
-
'Software Engineers',
|
|
26
|
-
'Thinkers',
|
|
27
|
-
'Visualizers'
|
|
28
|
-
],
|
|
29
|
-
rows: 9,
|
|
30
|
-
scale: 2,
|
|
31
|
-
transition: 'ease-out',
|
|
32
|
-
transitionDuration: 1800,
|
|
33
|
-
transitionDelay: 800
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export const BaseSwimlaneTemplate = (args) => ({
|
|
37
|
-
props: Object.keys(args),
|
|
38
|
-
components: { BaseSwimlane },
|
|
39
|
-
template: `<BaseSwimlane :words="words" :rows="rows" :scale="scale" :transition="transition" :transition-duration="transitionDuration" :transition-delay="transitionDelay"
|
|
40
|
-
></BaseSwimlane>`
|
|
41
|
-
})
|
|
42
|
-
|
|
43
|
-
# Base Swimlane
|
|
44
|
-
|
|
45
|
-
## Usage
|
|
46
|
-
|
|
47
|
-
The BaseSwimlane component is expected to contain an array of words to create a 'swimlane' effect as the text swims through.
|
|
48
|
-
|
|
49
|
-
<Canvas>
|
|
50
|
-
<Story
|
|
51
|
-
name="Default"
|
|
52
|
-
args={BaseSwimlaneData}
|
|
53
|
-
>
|
|
54
|
-
{BaseSwimlaneTemplate.bind({})}
|
|
55
|
-
</Story>
|
|
56
|
-
</Canvas>
|
|
57
|
-
|
|
58
|
-
## Props
|
|
59
|
-
|
|
60
|
-
<ArgsTable for={BaseSwimlane} />
|
|
61
|
-
|
|
62
|
-
## Example data
|
|
63
|
-
|
|
64
|
-
<code language="json">{JSON.stringify(BaseSwimlaneData, null, 2)}</code>
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { Meta, Story, Canvas, ArgsTable } from '@storybook/addon-docs'
|
|
2
|
-
import SwimlaneCTA from './SwimlaneCTA.vue'
|
|
3
|
-
|
|
4
|
-
<Meta
|
|
5
|
-
title="Components/SwimlaneCTA"
|
|
6
|
-
component={SwimlaneCTA}
|
|
7
|
-
parameters={{ viewMode: 'docs' }}
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
export const SwimlaneCTAData = {
|
|
11
|
-
darkMode: true,
|
|
12
|
-
targetLink: 'https://jpl.nasa.gov/about',
|
|
13
|
-
backgroundImages: [
|
|
14
|
-
'https://picsum.photos/1380/540?random=1',
|
|
15
|
-
'https://picsum.photos/1380/540?random=2',
|
|
16
|
-
'https://picsum.photos/1380/540?random=3',
|
|
17
|
-
'https://picsum.photos/1380/540?random=4',
|
|
18
|
-
'https://picsum.photos/1380/540?random=5'
|
|
19
|
-
],
|
|
20
|
-
backgroundImagesSmall: [
|
|
21
|
-
'https://picsum.photos/1380/540?random=1',
|
|
22
|
-
'https://picsum.photos/1380/540?random=2',
|
|
23
|
-
'https://picsum.photos/1380/540?random=3',
|
|
24
|
-
'https://picsum.photos/1380/540?random=4',
|
|
25
|
-
'https://picsum.photos/1380/540?random=5'
|
|
26
|
-
],
|
|
27
|
-
words: [
|
|
28
|
-
'Artists',
|
|
29
|
-
'Communicators',
|
|
30
|
-
'Designers',
|
|
31
|
-
'Disruptors',
|
|
32
|
-
'Dreamers',
|
|
33
|
-
'Developers',
|
|
34
|
-
'Educators',
|
|
35
|
-
'Engineers',
|
|
36
|
-
'Innovators',
|
|
37
|
-
'Inventors',
|
|
38
|
-
'Makers',
|
|
39
|
-
'Problem Solvers',
|
|
40
|
-
'Roboticists',
|
|
41
|
-
'Scientists',
|
|
42
|
-
'Software Engineers',
|
|
43
|
-
'Thinkers',
|
|
44
|
-
'Visualizers'
|
|
45
|
-
],
|
|
46
|
-
rows: 9,
|
|
47
|
-
transitionDuration: 1800,
|
|
48
|
-
transitionDelay: 800
|
|
49
|
-
}
|
|
50
|
-
export const SwimlaneCTATemplate = (args) => ({
|
|
51
|
-
props: Object.keys(args),
|
|
52
|
-
components: { SwimlaneCTA },
|
|
53
|
-
template: `<SwimlaneCTA :dark-mode="darkMode" :background-images="backgroundImages" :background-images-small="backgroundImagesSmall" :target-link="targetLink"/>`
|
|
54
|
-
})
|
|
55
|
-
|
|
56
|
-
# SwimlaneCTA
|
|
57
|
-
|
|
58
|
-
## Usage
|
|
59
|
-
|
|
60
|
-
The SwimlaneCTA component combines [BaseSwimlane](?path=/story/www-components-base-baseswimlane--default) with other elements (JPL logo, links, etc.) to create the component that is used on the WWW homepage.
|
|
61
|
-
|
|
62
|
-
<Canvas className="sbdocs-preview-full-width">
|
|
63
|
-
<Story
|
|
64
|
-
name="SwimlaneCTA"
|
|
65
|
-
args={SwimlaneCTAData}
|
|
66
|
-
>
|
|
67
|
-
{SwimlaneCTATemplate.bind({})}
|
|
68
|
-
</Story>
|
|
69
|
-
</Canvas>
|
|
70
|
-
|
|
71
|
-
## Props
|
|
72
|
-
|
|
73
|
-
<ArgsTable for={SwimlaneCTA} />
|
|
74
|
-
|
|
75
|
-
## Example data
|
|
76
|
-
|
|
77
|
-
<code language="json">{JSON.stringify(SwimlaneCTAData, null, 2)}</code>
|