@explorer-1/vue 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (294) hide show
  1. package/components.d.ts +2 -0
  2. package/dist/explorer-1-vue.js +4833 -4820
  3. package/dist/explorer-1-vue.umd.cjs +14 -14
  4. package/dist/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.d.ts +1 -1
  5. package/dist/src/components/BackToTop/BackToTop.stories.d.ts +2 -2
  6. package/dist/src/components/BaseAudio/BaseAudio.stories.d.ts +1 -1
  7. package/dist/src/components/BaseButton/BaseButton.stories.d.ts +2 -1
  8. package/dist/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.d.ts +24 -0
  9. package/dist/src/components/BaseHeading/BaseHeading.stories.d.ts +1 -1
  10. package/dist/src/components/BaseImage/BaseImage.stories.d.ts +1 -1
  11. package/dist/src/components/BaseImageCaption/BaseImageCaption.stories.d.ts +1 -1
  12. package/dist/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.d.ts +4 -1
  13. package/dist/src/components/BaseLink/BaseLink.stories.d.ts +2 -1
  14. package/dist/src/components/BaseModal/BaseModal.stories.d.ts +2 -2
  15. package/dist/src/components/BasePlaceholder/BasePlaceholder.stories.d.ts +2 -2
  16. package/dist/src/components/BaseRadioGroup/BaseRadioGroup.stories.d.ts +28 -0
  17. package/dist/src/components/BaseSwimlane/BaseSwimlane.stories.d.ts +25 -0
  18. package/dist/src/components/BaseTimer/BaseTimer.stories.d.ts +2 -1
  19. package/dist/src/components/BaseUnitToggle/BaseUnitToggle.stories.d.ts +2 -1
  20. package/dist/src/components/BaseVideo/BaseVideo.stories.d.ts +1 -1
  21. package/dist/src/components/BlockAudio/BlockAudio.stories.d.ts +1 -1
  22. package/dist/src/components/BlockCard/BlockCard.stories.d.ts +1 -1
  23. package/dist/src/components/BlockCardGroup/BlockCardGroup.stories.d.ts +1 -1
  24. package/dist/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.d.ts +1 -1
  25. package/dist/src/components/BlockCta/BlockCta.stories.d.ts +1 -1
  26. package/dist/src/components/BlockHeading/BlockHeading.stories.d.ts +1 -1
  27. package/dist/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.d.ts +1 -1
  28. package/dist/src/components/BlockImage/BlockImage.stories.d.ts +3 -2
  29. package/dist/src/components/BlockImageCarousel/BlockImageCarousel.stories.d.ts +1 -1
  30. package/dist/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.d.ts +1 -1
  31. package/dist/src/components/BlockImageComparison/BlockImageComparison.stories.d.ts +1 -1
  32. package/dist/src/components/BlockImageGallery/BlockImageGallery.stories.d.ts +1 -1
  33. package/dist/src/components/BlockInlineImage/BlockInlineImage.stories.d.ts +2 -1
  34. package/dist/src/components/BlockKeyPoints/BlockKeyPoints.stories.d.ts +1 -1
  35. package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +4 -2
  36. package/dist/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.d.ts +2 -1
  37. package/dist/src/components/BlockLinkTile/BlockLinkTile.stories.d.ts +2 -1
  38. package/dist/src/components/BlockListCards/BlockListCards.stories.d.ts +1 -1
  39. package/dist/src/components/BlockQuote/BlockQuote.stories.d.ts +2 -2
  40. package/dist/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.d.ts +1 -1
  41. package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +1 -1
  42. package/dist/src/components/BlockTable/BlockTable.stories.d.ts +1 -1
  43. package/dist/src/components/BlockTeaser/BlockTeaser.stories.d.ts +1 -1
  44. package/dist/src/components/BlockText/BlockText.stories.d.ts +1 -1
  45. package/dist/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.d.ts +1 -1
  46. package/dist/src/components/BlockVideo/BlockVideo.stories.d.ts +1 -1
  47. package/dist/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.d.ts +1 -1
  48. package/dist/src/components/CalendarButton/CalendarButton.stories.d.ts +2 -2
  49. package/dist/src/components/DetailHeadline/DetailHeadline.stories.d.ts +1 -1
  50. package/dist/src/components/DsnWidget/DsnWidget.stories.d.ts +1 -1
  51. package/dist/src/components/EventDetailHero/EventDetailHero.stories.d.ts +1 -1
  52. package/dist/src/components/FormContact/FormContact.stories.d.ts +2 -2
  53. package/dist/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.d.ts +2 -2
  54. package/dist/src/components/HeroLarge/HeroLarge.stories.d.ts +1 -1
  55. package/dist/src/components/HeroListingIndex/HeroListingIndex.stories.d.ts +1 -1
  56. package/dist/src/components/HeroMedia/HeroMedia.stories.d.ts +7 -2
  57. package/dist/src/components/HeroMedium/HeroMedium.stories.d.ts +19 -3
  58. package/dist/src/components/HeroMedium/HeroMedium.vue.d.ts +11 -0
  59. package/dist/src/components/HeroMedium/HeroSmall.stories.d.ts +90 -0
  60. package/dist/src/components/HomepageCarousel/HomepageCarousel.stories.d.ts +8 -6
  61. package/dist/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.d.ts +2 -1
  62. package/dist/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.d.ts +1 -1
  63. package/dist/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.d.ts +2 -1
  64. package/dist/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.d.ts +1 -1
  65. package/dist/src/components/HomepageStats/HomepageStats.stories.d.ts +2 -2
  66. package/dist/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.d.ts +3 -2
  67. package/dist/src/components/LogoCaltech/LogoCaltech.stories.d.ts +2 -2
  68. package/dist/src/components/LogoTribrand/LogoTribrand.stories.d.ts +3 -2
  69. package/dist/src/components/MissionDetailAbout/MissionDetailAbout.stories.d.ts +1 -1
  70. package/dist/src/components/MissionDetailHero/MissionDetailHero.stories.d.ts +2 -1
  71. package/dist/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.d.ts +2 -1
  72. package/dist/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.d.ts +1 -1
  73. package/dist/src/components/MissionDetailStats/MissionDetailStats.stories.d.ts +2 -1
  74. package/dist/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.d.ts +1 -1
  75. package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.d.ts +1 -1
  76. package/dist/src/components/MixinCarousel/MixinCarousel.stories.d.ts +1 -1
  77. package/dist/src/components/MixinVideoBg/MixinVideoBg.stories.d.ts +1 -9
  78. package/dist/src/components/NavDesktop/NavDesktop.stories.d.ts +2 -1
  79. package/dist/src/components/NavHeading/NavHeading.stories.d.ts +1 -1
  80. package/dist/src/components/NavHighlight/NavHighlight.stories.d.ts +1 -1
  81. package/dist/src/components/NavLinkList/NavLinkList.stories.d.ts +1 -1
  82. package/dist/src/components/NavLogoLinks/NavLogoLinks.stories.d.ts +1 -1
  83. package/dist/src/components/NavMobile/NavMobile.stories.d.ts +2 -1
  84. package/dist/src/components/NavSearchForm/NavSearchForm.stories.d.ts +1 -1
  85. package/dist/src/components/NavSecondary/NavSecondary.stories.d.ts +1 -1
  86. package/dist/src/components/NavSocial/NavSocial.stories.d.ts +2 -2
  87. package/dist/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.d.ts +1 -1
  88. package/dist/src/components/ParallaxContainer/ParallaxContainer.stories.d.ts +2 -2
  89. package/dist/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.d.ts +1 -1
  90. package/dist/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.d.ts +1 -1
  91. package/dist/src/components/SearchFilterGroup/SearchFilterGroup.stories.d.ts +2 -1
  92. package/dist/src/components/SearchInput/SearchInput.stories.d.ts +1 -1
  93. package/dist/src/components/SearchInput/SearchInput.vue.d.ts +9 -9
  94. package/dist/src/components/SearchPagination/SearchPagination.stories.d.ts +2 -1
  95. package/dist/src/components/SearchResultCard/SearchResultCard.stories.d.ts +2 -1
  96. package/dist/src/components/SearchResultGridItem/SearchResultGridItem.stories.d.ts +2 -1
  97. package/dist/src/components/SearchSelectMenu/SearchSelectMenu.stories.d.ts +1 -1
  98. package/dist/src/components/ShareButtons/ShareButtons.stories.d.ts +1 -1
  99. package/dist/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.d.ts +1 -1
  100. package/dist/src/components/SkipLink/SkipLink.stories.d.ts +1 -1
  101. package/dist/src/components/SwimlaneCTA/SwimlaneCTA.stories.d.ts +25 -0
  102. package/dist/src/components/TextArea/TextArea.stories.d.ts +30 -0
  103. package/dist/src/components/TextArea/TextArea.vue.d.ts +95 -0
  104. package/dist/src/components/TextInput/TextInput.stories.d.ts +33 -0
  105. package/dist/src/components/TextInput/TextInput.vue.d.ts +116 -0
  106. package/dist/src/components/TheFooter/TheFooter.stories.d.ts +6 -2
  107. package/dist/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.d.ts +1 -1
  108. package/dist/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.d.ts +1 -1
  109. package/dist/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.d.ts +1 -1
  110. package/dist/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.d.ts +1 -1
  111. package/dist/src/components/TopicDetailMore/TopicDetailMore.stories.d.ts +1 -1
  112. package/dist/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.d.ts +1 -1
  113. package/dist/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.d.ts +1 -1
  114. package/dist/src/components/YearTicker/YearTicker.stories.d.ts +2 -2
  115. package/dist/src/docs/foundation/typography.stories.d.ts +0 -6
  116. package/dist/src/docs/guides/responsive.stories.d.ts +13 -0
  117. package/dist/src/docs/utils/ComponentItem.d.ts +2 -0
  118. package/dist/src/docs/utils/ComponentList.d.ts +2 -0
  119. package/dist/src/templates/PageContent/PageContent.stories.d.ts +1 -1
  120. package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +1 -1
  121. package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +44 -3178
  122. package/dist/src/templates/edu/PageEduNewsDetail.stories.d.ts +9 -772
  123. package/dist/style.css +1 -1
  124. package/lib/main.ts +2 -2
  125. package/package.json +3 -3
  126. package/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.js +2 -2
  127. package/src/components/BackToTop/BackToTop.stories.js +3 -3
  128. package/src/components/BaseAudio/BaseAudio.stories.js +1 -1
  129. package/src/components/BaseButton/BaseButton.stories.ts +3 -2
  130. package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.js +39 -0
  131. package/src/components/BaseHeading/BaseHeading.stories.js +2 -2
  132. package/src/components/BaseHeading/BaseHeading.vue +1 -1
  133. package/src/components/BaseImage/BaseImage.stories.ts +1 -1
  134. package/src/components/BaseImageCaption/BaseImageCaption.stories.js +1 -1
  135. package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.js +3 -1
  136. package/src/components/BaseLink/BaseLink.stories.js +3 -2
  137. package/src/components/BaseModal/BaseModal.stories.js +2 -2
  138. package/src/components/BasePlaceholder/BasePlaceholder.stories.js +3 -3
  139. package/src/components/BaseRadioGroup/BaseRadioGroup.stories.js +47 -0
  140. package/src/components/BaseSwimlane/BaseSwimlane.stories.js +45 -0
  141. package/src/components/BaseTag/BaseTag.stories.js +1 -1
  142. package/src/components/BaseTimer/BaseTimer.stories.js +2 -1
  143. package/src/components/BaseUnitToggle/BaseUnitToggle.stories.js +2 -1
  144. package/src/components/BaseVideo/BaseVideo.stories.js +1 -1
  145. package/src/components/BlockAudio/BlockAudio.stories.js +1 -1
  146. package/src/components/BlockCard/BlockCard.stories.js +1 -1
  147. package/src/components/BlockCardGroup/BlockCardGroup.stories.js +1 -1
  148. package/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.js +1 -1
  149. package/src/components/BlockCta/BlockCta.stories.js +1 -1
  150. package/src/components/BlockHeading/BlockHeading.stories.js +1 -1
  151. package/src/components/BlockHeading/BlockHeading.vue +0 -1
  152. package/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.js +1 -1
  153. package/src/components/BlockImage/BlockImage.stories.js +3 -2
  154. package/src/components/BlockImageCarousel/BlockImageCarousel.stories.js +1 -1
  155. package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.js +1 -1
  156. package/src/components/BlockImageComparison/BlockImageComparison.stories.js +1 -1
  157. package/src/components/BlockImageGallery/BlockImageGallery.stories.js +1 -1
  158. package/src/components/BlockInlineImage/BlockInlineImage.stories.js +2 -1
  159. package/src/components/BlockKeyPoints/BlockKeyPoints.stories.js +1 -1
  160. package/src/components/BlockLinkCard/BlockLinkCard.stories.js +2 -1
  161. package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +2 -1
  162. package/src/components/BlockLinkTile/BlockLinkTile.stories.js +2 -1
  163. package/src/components/BlockListCards/BlockListCards.stories.js +1 -1
  164. package/src/components/BlockQuote/BlockQuote.stories.js +2 -2
  165. package/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.js +1 -1
  166. package/src/components/BlockStreamfield/BlockStreamfield.stories.js +11 -1
  167. package/src/components/BlockTable/BlockTable.stories.js +1 -1
  168. package/src/components/BlockTable/BlockTable.vue +0 -4
  169. package/src/components/BlockTeaser/BlockTeaser.stories.js +1 -1
  170. package/src/components/BlockText/BlockText.stories.js +1 -1
  171. package/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.js +1 -1
  172. package/src/components/BlockVideo/BlockVideo.stories.js +1 -1
  173. package/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.js +1 -1
  174. package/src/components/CalendarButton/CalendarButton.stories.js +3 -3
  175. package/src/components/DetailHeadline/DetailHeadline.stories.js +2 -2
  176. package/src/components/DsnWidget/DsnWidget.stories.js +2 -2
  177. package/src/components/EventDetailHero/EventDetailHero.stories.js +2 -2
  178. package/src/components/FormContact/FormContact.stories.js +3 -3
  179. package/src/components/FormContact/FormContact.vue +40 -87
  180. package/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.js +3 -3
  181. package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +43 -90
  182. package/src/components/HeroLarge/HeroLarge.stories.js +2 -2
  183. package/src/components/HeroListingIndex/HeroListingIndex.stories.js +3 -2
  184. package/src/components/HeroMedia/HeroMedia.stories.js +8 -3
  185. package/src/components/HeroMedium/HeroMedium.stories.js +13 -2
  186. package/src/components/HeroMedium/HeroMedium.vue +21 -4
  187. package/src/components/HeroMedium/HeroSmall.stories.js +58 -0
  188. package/src/components/HomepageCarousel/HomepageCarousel.stories.js +3 -2
  189. package/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.js +3 -2
  190. package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.js +2 -2
  191. package/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.js +3 -2
  192. package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.js +2 -2
  193. package/src/components/HomepageStats/HomepageStats.stories.js +3 -3
  194. package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.js +4 -3
  195. package/src/components/Icons/Icons.stories.ts +1 -1
  196. package/src/components/LogoCaltech/LogoCaltech.stories.js +4 -4
  197. package/src/components/LogoTribrand/LogoTribrand.stories.js +6 -5
  198. package/src/components/MissionDetailAbout/MissionDetailAbout.stories.js +2 -2
  199. package/src/components/MissionDetailHero/MissionDetailHero.stories.js +3 -2
  200. package/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.js +3 -2
  201. package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.js +2 -2
  202. package/src/components/MissionDetailStats/MissionDetailStats.stories.js +3 -2
  203. package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.js +2 -2
  204. package/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.ts +2 -2
  205. package/src/components/MixinCarousel/MixinCarousel.stories.js +3 -3
  206. package/src/components/MixinVideoBg/MixinVideoBg.stories.js +2 -12
  207. package/src/components/NavDesktop/NavDesktop.stories.js +3 -2
  208. package/src/components/NavDesktop/NavDesktopDropdown.vue +10 -10
  209. package/src/components/NavDesktop/NavDesktopDropdownContent.vue +1 -1
  210. package/src/components/NavDesktopEdu/NavDesktopEdu.stories.js +186 -0
  211. package/src/components/NavDesktopEdu/NavDesktopEdu.vue +315 -0
  212. package/src/components/{MixinDropdownToggle/MixinDropdownToggle.vue → NavDropdownToggle/NavDropdownToggle.vue} +2 -2
  213. package/src/components/NavHeading/NavHeading.stories.js +2 -2
  214. package/src/components/NavHeading/NavHeading.vue +2 -2
  215. package/src/components/NavHighlight/NavHighlight.stories.js +2 -2
  216. package/src/components/NavLinkList/NavLinkList.stories.js +2 -2
  217. package/src/components/NavLogoLinks/NavLogoLinks.stories.js +3 -6
  218. package/src/components/NavLogoLinks/NavLogoLinks.vue +0 -1
  219. package/src/components/NavMobile/NavMobile.stories.js +3 -2
  220. package/src/components/NavMobile/NavMobile.vue +40 -15
  221. package/src/components/NavMobile/NavMobileDropdown.vue +4 -4
  222. package/src/components/NavMobile/NavMobileEdu.stories.js +174 -0
  223. package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +5 -5
  224. package/src/components/NavSearchForm/NavSearchForm.stories.js +2 -2
  225. package/src/components/NavSecondary/NavSecondary.stories.js +2 -2
  226. package/src/components/NavSecondary/NavSecondaryDropdown.vue +5 -5
  227. package/src/components/NavSocial/NavSocial.stories.js +3 -3
  228. package/src/components/NavSocial/NavSocial.vue +70 -42
  229. package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.js +2 -2
  230. package/src/components/ParallaxContainer/ParallaxContainer.stories.js +4 -4
  231. package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.js +2 -2
  232. package/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.js +2 -2
  233. package/src/components/SearchFilterGroup/SearchFilterGroup.stories.js +2 -1
  234. package/src/components/SearchInput/SearchInput.stories.js +1 -1
  235. package/src/components/SearchInput/SearchInput.vue +36 -36
  236. package/src/components/SearchPagination/SearchPagination.stories.js +2 -1
  237. package/src/components/SearchResultCard/SearchResultCard.stories.js +1 -1
  238. package/src/components/SearchResultGridItem/SearchResultGridItem.stories.js +2 -1
  239. package/src/components/SearchSelectMenu/SearchSelectMenu.stories.js +1 -1
  240. package/src/components/ShareButtons/ShareButtons.stories.js +2 -2
  241. package/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.js +2 -2
  242. package/src/components/SkipLink/SkipLink.stories.js +2 -2
  243. package/src/components/SwimlaneCTA/SwimlaneCTA.stories.js +57 -0
  244. package/src/components/SwimlaneCTA/SwimlaneCTA.vue +12 -5
  245. package/src/components/TextArea/TextArea.stories.js +28 -0
  246. package/src/components/TextArea/TextArea.vue +74 -0
  247. package/src/components/TextInput/TextInput.stories.js +30 -0
  248. package/src/components/TextInput/TextInput.vue +87 -0
  249. package/src/components/TheFooter/TheFooter.stories.js +8 -3
  250. package/src/components/TheFooter/TheFooter.vue +31 -15
  251. package/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.js +2 -2
  252. package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.js +2 -2
  253. package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.js +2 -2
  254. package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.js +2 -2
  255. package/src/components/TopicDetailMore/TopicDetailMore.stories.js +2 -2
  256. package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.js +2 -2
  257. package/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.js +2 -2
  258. package/src/components/YearTicker/YearTicker.stories.js +3 -3
  259. package/src/docs/foundation/color.docs.mdx +1 -1
  260. package/src/docs/foundation/grid.stories.js +1 -1
  261. package/src/docs/foundation/grid_layouthelpers.stories.js +1 -1
  262. package/src/docs/foundation/themes.stories.js +1 -1
  263. package/src/docs/foundation/typography.stories.js +2 -3
  264. package/src/docs/getting-started/designer.docs.mdx +18 -0
  265. package/src/docs/getting-started/developer.docs.mdx +81 -0
  266. package/src/docs/guides/accessibility.docs.mdx +39 -0
  267. package/src/docs/guides/responsive.docs.mdx +67 -0
  268. package/src/docs/guides/responsive.stories.js +36 -0
  269. package/src/docs/introduction.docs.mdx +42 -0
  270. package/src/docs/overviews/base.docs.mdx +88 -0
  271. package/src/docs/overviews/blocks.docs.mdx.disabled +185 -0
  272. package/src/docs/overviews/components.docs.mdx +48 -0
  273. package/src/docs/overviews/forms.docs.mdx +59 -0
  274. package/src/docs/overviews/global.docs.mdx +15 -0
  275. package/src/docs/overviews/global_footers.docs.mdx +21 -0
  276. package/src/docs/overviews/global_headers.docs.mdx +29 -0
  277. package/src/docs/overviews/heroes.docs.mdx +57 -0
  278. package/src/docs/overviews/mixins.docs.mdx +39 -0
  279. package/src/docs/overviews/search.docs.mdx +30 -0
  280. package/src/docs/overviews/utilities.docs.mdx +22 -0
  281. package/src/docs/roadmap.docs.mdx +25 -0
  282. package/src/docs/utils/ComponentItem.jsx +102 -0
  283. package/src/docs/utils/ComponentList.jsx +17 -0
  284. package/src/templates/PageContent/PageContent.stories.js +1 -1
  285. package/src/templates/PageContent/PageContent.vue +17 -1
  286. package/src/templates/PageEventDetail/PageEventDetail.stories.js +1 -1
  287. package/src/templates/PageNewsDetail/PageNewsDetail.stories.js +8 -8
  288. package/src/templates/edu/PageContentEdu.stories.js +31 -0
  289. package/src/templates/edu/PageEduNewsDetail.stories.js +8 -3
  290. package/src/templates/edu/PageEduNewsDetail.vue +2 -2
  291. package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.mdx +0 -68
  292. package/src/components/BaseRadioGroup/BaseRadioGroup.stories.mdx +0 -68
  293. package/src/components/BaseSwimlane/BaseSwimlane.stories.mdx +0 -64
  294. package/src/components/SwimlaneCTA/SwimlaneCTA.stories.mdx +0 -77
@@ -2,22 +2,39 @@
2
2
  <transition name="headerMobileReveal">
3
3
  <div
4
4
  v-show="headerVisible"
5
- class="NavMobile border-gray-light-mid z-50 w-full transition-all duration-150 ease-in bg-white border-b"
5
+ class="NavMobile border-gray-light-mid z-50 w-full transition-all duration-150 ease-in bg-white border-b edu:bg-gray-light edu:border-none"
6
6
  :class="headerClasses"
7
7
  >
8
8
  <!-- navbar -->
9
9
  <div class="relative w-full">
10
- <div class="h-18 flex items-center justify-between px-5">
10
+ <div
11
+ class="h-18 flex w-full justify-between items-center px-5 edu:bg-gradient-to-r edu:from-black edu:to-primary edu:to-90% edu:bg-black"
12
+ >
11
13
  <!-- branding -->
12
- <NavLogoLinks class="lg:p-0 w-72 z-20 p-2 pl-0 -ml-3">
13
- <img
14
- :src="LogoColor"
15
- alt="JPL Logo"
16
- width="324"
17
- height="72"
18
- />
19
- </NavLogoLinks>
20
-
14
+ <div class="flex items-center">
15
+ <NavLogoLinks class="lg:p-0 w-72 z-20 p-2 pl-0 -ml-3 edu:w-[12rem]">
16
+ <img
17
+ v-if="themeStore.theme === 'ThemeEdu'"
18
+ :src="LogoWhite"
19
+ alt="JPL Logo"
20
+ width="324"
21
+ height="72"
22
+ />
23
+ <img
24
+ v-else
25
+ :src="LogoColor"
26
+ alt="JPL Logo"
27
+ width="324"
28
+ height="72"
29
+ />
30
+ </NavLogoLinks>
31
+ <div
32
+ v-if="themeStore.theme === 'ThemeEdu'"
33
+ class="-ml-1 pl-2 border-l border-white border-opacity-30 z-20"
34
+ >
35
+ <span class="text-white font-bold text-xl pl-px">Education</span>
36
+ </div>
37
+ </div>
21
38
  <button
22
39
  v-if="data"
23
40
  class="text-gray-dark p-4 -mr-4 cursor-pointer"
@@ -26,11 +43,11 @@
26
43
  >
27
44
  <IconMenu
28
45
  v-if="!menuVisible"
29
- class="text-6xl"
46
+ class="text-6xl edu:text-white"
30
47
  />
31
48
  <IconClose
32
49
  v-else
33
- class="text-3xl"
50
+ class="text-3xl edu:text-white"
34
51
  />
35
52
  </button>
36
53
  </div>
@@ -84,7 +101,10 @@
84
101
  :data="item"
85
102
  />
86
103
  </nav>
87
- <NavSocial class="mt-8" />
104
+ <NavSocial
105
+ v-if="themeStore.theme === 'defaultTheme'"
106
+ class="mt-8"
107
+ />
88
108
  </div>
89
109
  </div>
90
110
  </div>
@@ -96,7 +116,9 @@
96
116
  import { defineComponent } from 'vue'
97
117
  import { mapStores } from 'pinia'
98
118
  import LogoColor from '@explorer-1/common/src/images/svg/logo-tribrand-color.svg'
119
+ import LogoWhite from '@explorer-1/common/src/images/svg/logo-tribrand-white.svg'
99
120
  import { useHeaderStore } from './../../store/header'
121
+ import { useThemeStore } from './../../store/theme'
100
122
  import IconMenu from './../Icons/IconMenu.vue'
101
123
  import IconClose from './../Icons/IconClose.vue'
102
124
  import NavLogoLinks from './../NavLogoLinks/NavLogoLinks.vue'
@@ -146,15 +168,18 @@ export default defineComponent({
146
168
  default: null
147
169
  }
148
170
  },
171
+ emits: ['closeMobileMenu', 'openMobileMenu'],
149
172
  data() {
150
173
  return {
151
174
  menuVisible: false,
152
175
  searchQuery: null,
153
- LogoColor: LogoColor
176
+ LogoColor,
177
+ LogoWhite
154
178
  }
155
179
  },
156
180
  computed: {
157
181
  ...mapStores(useHeaderStore),
182
+ ...mapStores(useThemeStore),
158
183
  // get the breadcrumb JSON string and convert to object. used to determine active class.
159
184
  breadcrumb(): BreadcrumbObject | null {
160
185
  if (this.data) {
@@ -3,7 +3,7 @@
3
3
  ref="NavDropdownMobile"
4
4
  class="NavDropdownMobile"
5
5
  >
6
- <MixinDropdownToggle
6
+ <NavDropdownToggle
7
7
  :aria-expanded="dropdownVisible ? true : false"
8
8
  class="group relative block w-full px-4 py-2 text-xl font-medium text-left"
9
9
  :class="{
@@ -18,7 +18,7 @@
18
18
  >
19
19
  {{ (data.length && data[0].title) || getLinkText(data.titleLink) }}
20
20
  </span>
21
- </MixinDropdownToggle>
21
+ </NavDropdownToggle>
22
22
 
23
23
  <div v-if="dropdownVisible">
24
24
  <div class="mt-1 mb-3">
@@ -60,14 +60,14 @@
60
60
  // @ts-nocheck
61
61
  import { defineComponent } from 'vue'
62
62
  import type { LinkObject } from '../../utils/mixins'
63
- import MixinDropdownToggle from './../MixinDropdownToggle/MixinDropdownToggle.vue'
63
+ import NavDropdownToggle from './../NavDropdownToggle/NavDropdownToggle.vue'
64
64
  import NavMobileLink from './../NavMobile/NavMobileLink.vue'
65
65
  import NavMobileSecondaryDropdown from './../NavMobile/NavMobileSecondaryDropdown.vue'
66
66
  import { mixinGetLinkText } from '../../utils/mixins'
67
67
  export default defineComponent({
68
68
  name: 'NavMobileDropdown',
69
69
  components: {
70
- MixinDropdownToggle,
70
+ NavDropdownToggle,
71
71
  NavMobileLink,
72
72
  NavMobileSecondaryDropdown
73
73
  },
@@ -0,0 +1,174 @@
1
+ import { TheFooterData } from './../TheFooter/TheFooter.stories'
2
+ import NavMobile from './NavMobile.vue'
3
+
4
+ export default {
5
+ title: 'Navigation/Headers/EDU/NavMobile',
6
+ component: NavMobile,
7
+ excludeStories: /.*Data$/,
8
+ parameters: {
9
+ viewMode: 'canvas',
10
+ viewport: {
11
+ defaultViewport: 'mobile2'
12
+ },
13
+ docs: {
14
+ description: {
15
+ component: 'Doesn\'t look like EDU? Be sure to select "EDU Theme" in the toolbar dropdown.'
16
+ }
17
+ }
18
+ }
19
+ }
20
+
21
+ // data
22
+ export const NavMobileData = {
23
+ mobileBreadcrumb:
24
+ '{"/": [{"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"}]}',
25
+ footerNavigation: TheFooterData.footerNavigation,
26
+ footerMoreFromJpl: TheFooterData.footerMoreFromJpl
27
+ }
28
+
29
+ const NavMobileSecondaryNavData = [
30
+ { path: '/custom', title: 'Secondary Nav' },
31
+ {
32
+ path: '/custom/placeholder-1',
33
+ title: 'First subpage'
34
+ },
35
+ {
36
+ path: '/custom/placeholder-2',
37
+ title: 'Second subpage'
38
+ },
39
+ {
40
+ path: '/custom/placeholder-3',
41
+ title: 'Third subpage'
42
+ },
43
+ {
44
+ path: '/custom/placeholder-4',
45
+ title: 'Fourth subpage'
46
+ }
47
+ ]
48
+
49
+ const NavMobileTertiaryNavData = [
50
+ { path: '/go/test-site', title: 'Test Go Site', children: [] },
51
+ {
52
+ path: '/go/test-site/has-children',
53
+ title: 'Has Children',
54
+ children: [
55
+ {
56
+ path: '/go/test-site/has-children/level-3-no-children',
57
+ title: 'Lvl 3 No Children',
58
+ children: []
59
+ },
60
+ {
61
+ path: '/go/test-site/has-children/level-3-has-children',
62
+ title: 'Lvl 3 Has Children',
63
+ children: [
64
+ {
65
+ path: '/go/test-site/has-children/level-3-has-children/level-4-no-children-1',
66
+ title: 'Lvl 4 No Children 1',
67
+ children: []
68
+ },
69
+ {
70
+ path: '/go/test-site/has-children/level-3-has-children/level-4-no-children-2',
71
+ title: 'Lvl 4 No Children 2',
72
+ children: []
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ path: '/go/test-site/has-children/level-3-no-children',
78
+ title: 'Lvl 3 No Children',
79
+ children: []
80
+ }
81
+ ]
82
+ },
83
+ { path: '/go/test-site/no-children-1', title: 'No Children 1', children: [] },
84
+ { path: '/go/test-site/no-children-2', title: 'No Children 2', children: [] },
85
+ {
86
+ path: '/go/test-site/has-children',
87
+ title: 'Has Children',
88
+ children: [
89
+ {
90
+ path: '/go/test-site/has-children/level-3-no-children',
91
+ title: 'Lvl 3 No Children',
92
+ children: []
93
+ },
94
+ {
95
+ path: '/go/test-site/has-children/level-3-has-children',
96
+ title: 'Lvl 3 Has Children',
97
+ children: [
98
+ {
99
+ path: '/go/test-site/has-children/level-3-has-children/level-4-no-children-1',
100
+ title: 'Lvl 4 No Children 1',
101
+ children: []
102
+ },
103
+ {
104
+ path: '/go/test-site/has-children/level-3-has-children/level-4-no-children-2',
105
+ title: 'Lvl 4 No Children 2',
106
+ children: []
107
+ }
108
+ ]
109
+ },
110
+ {
111
+ path: '/go/test-site/has-children/level-3-no-children',
112
+ title: 'Lvl 3 No Children',
113
+ children: []
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+
119
+ export const BaseStory = {
120
+ name: 'NavMobile',
121
+ args: {
122
+ data: NavMobileData,
123
+ headerVisible: true,
124
+ scrolledUp: false,
125
+ scrollTop: 0
126
+ },
127
+ render: (args) => ({
128
+ components: { NavMobile },
129
+ setup() {
130
+ return { args }
131
+ },
132
+ template: `<NavMobile
133
+ v-bind="args"
134
+ />`
135
+ })
136
+ }
137
+
138
+ export const WithSecondaryNav = {
139
+ args: {
140
+ data: NavMobileData,
141
+ headerVisible: true,
142
+ scrolledUp: false,
143
+ scrollTop: 0,
144
+ staticSecondaryData: NavMobileSecondaryNavData
145
+ },
146
+ render: (args) => ({
147
+ components: { NavMobile },
148
+ setup() {
149
+ return { args }
150
+ },
151
+ template: `<NavMobile
152
+ v-bind="args"
153
+ />`
154
+ })
155
+ }
156
+
157
+ export const WithTertiaryNav = {
158
+ args: {
159
+ data: NavMobileData,
160
+ headerVisible: true,
161
+ scrolledUp: false,
162
+ scrollTop: 0,
163
+ staticSecondaryData: NavMobileTertiaryNavData
164
+ },
165
+ render: (args) => ({
166
+ components: { NavMobile },
167
+ setup() {
168
+ return { args }
169
+ },
170
+ template: `<NavMobile
171
+ v-bind="args"
172
+ />`
173
+ })
174
+ }
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="NavMobileSecondaryDropdown relative">
3
- <MixinDropdownToggle
3
+ <NavDropdownToggle
4
4
  :aria-expanded="dropdownVisible ? true : false"
5
5
  :path="item.path"
6
6
  class="w-full group cursor-pointer pl-12 flex items-center py-2 text-lg leading-tight"
@@ -12,7 +12,7 @@
12
12
  >
13
13
  <span>{{ index === 0 ? 'Home' : item.title }}</span>
14
14
  <IconCaret class="transform rotate-90 text-sm ml-2" />
15
- </MixinDropdownToggle>
15
+ </NavDropdownToggle>
16
16
  <template v-if="dropdownVisible">
17
17
  <slot>
18
18
  <NavSecondaryDropdownContent
@@ -28,7 +28,7 @@
28
28
  import { defineComponent } from 'vue'
29
29
  import { mixinIsActivePath } from '../../utils/mixins'
30
30
  import IconCaret from './../Icons/IconCaret.vue'
31
- import MixinDropdownToggle from './../MixinDropdownToggle/MixinDropdownToggle.vue'
31
+ import NavDropdownToggle from './../NavDropdownToggle/NavDropdownToggle.vue'
32
32
  import NavSecondaryDropdownContent from './../NavSecondary/NavSecondaryDropdownContent.vue'
33
33
 
34
34
  export default defineComponent({
@@ -36,7 +36,7 @@ export default defineComponent({
36
36
 
37
37
  components: {
38
38
  IconCaret,
39
- MixinDropdownToggle,
39
+ NavDropdownToggle,
40
40
  NavSecondaryDropdownContent
41
41
  },
42
42
  props: {
@@ -103,7 +103,7 @@ export default defineComponent({
103
103
  </script>
104
104
  <style lang="scss">
105
105
  .NavMobileSecondaryDropdown {
106
- .MixinDropdownToggle {
106
+ .NavDropdownToggle {
107
107
  span {
108
108
  @apply border-b border-transparent;
109
109
  }
@@ -1,12 +1,12 @@
1
1
  import NavSearchForm from './NavSearchForm.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/Header & Footer/Elements/NavSearchForm',
4
+ title: 'Navigation/Elements/NavSearchForm',
5
5
  component: NavSearchForm,
6
6
  excludeStories: /.*Data$/
7
7
  }
8
8
 
9
- export const Form = {
9
+ export const BaseStory = {
10
10
  args: {
11
11
  mobile: false
12
12
  }
@@ -1,7 +1,7 @@
1
1
  import NavSecondary from './NavSecondary.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/Header & Footer/Elements/NavSecondary',
4
+ title: 'Navigation/Secondary Navigation/NavSecondary',
5
5
  component: NavSecondary,
6
6
  excludeStories: /.*Data$/,
7
7
  parameters: {
@@ -18,7 +18,7 @@ export const NavSecondaryData = {
18
18
  '[{"path": "/go/test-site", "title": "Test Go Site", "children": []}, {"path": "/go/test-site/has-children", "title": "Has Children", "children": [{"path": "/go/test-site/has-children/level-3-has-children", "title": "Lvl 3 Has Children", "children": [{"path": "/go/test-site/has-children/level-3-has-children/level-4-no-children-1", "title": "Lvl 4 No Children 1"}, {"path": "/go/test-site/has-children/level-3-has-children/level-4-no-children-2", "title": "Lvl 4 No Children 2"}]}, {"path": "/go/test-site/has-children/level-3-no-children", "title": "Lvl 3 No Children", "children": []}]}, {"path": "/go/test-site/no-children-1", "title": "No Children 1", "children": []}, {"path": "/go/test-site/no-children-2", "title": "No Children 2", "children": []}, {"path": "/go/test-site/has-children", "title": "Has Children", "children": [{"path": "/go/test-site/has-children/level-3-has-children", "title": "Lvl 3 Has Children", "children": [{"path": "/go/test-site/has-children/level-3-has-children/level-4-no-children-1", "title": "Lvl 4 No Children 1"}, {"path": "/go/test-site/has-children/level-3-has-children/level-4-no-children-2", "title": "Lvl 4 No Children 2"}]}, {"path": "/go/test-site/has-children/level-3-no-children", "title": "Lvl 3 No Children", "children": []}]}]'
19
19
  }
20
20
 
21
- export const SecondaryNav = {
21
+ export const BaseStory = {
22
22
  name: 'NavSecondary',
23
23
  args: { breadcrumb: NavSecondaryData.breadcrumb }
24
24
  }
@@ -6,7 +6,7 @@
6
6
  'mr-auto': index === 0
7
7
  }"
8
8
  >
9
- <MixinDropdownToggle
9
+ <NavDropdownToggle
10
10
  :aria-expanded="dropdownVisible ? true : false"
11
11
  :path="item.path"
12
12
  class="font-medium border-t-2 border-transparent block px-3 py-2"
@@ -29,7 +29,7 @@
29
29
  <span>{{ item.title }}</span>
30
30
  <IconCaret class="transform rotate-90 text-sm ml-2 pl-2 -mt-px" />
31
31
  </span>
32
- </MixinDropdownToggle>
32
+ </NavDropdownToggle>
33
33
  <transition name="navfade">
34
34
  <div
35
35
  v-if="dropdownVisible"
@@ -48,14 +48,14 @@
48
48
  <script lang="ts">
49
49
  import { defineComponent } from 'vue'
50
50
  import IconCaret from './../Icons/IconCaret.vue'
51
- import MixinDropdownToggle from './../MixinDropdownToggle/MixinDropdownToggle.vue'
51
+ import NavDropdownToggle from './../NavDropdownToggle/NavDropdownToggle.vue'
52
52
  import NavSecondaryDropdownContent from './../NavSecondary/NavSecondaryDropdownContent.vue'
53
53
 
54
54
  export default defineComponent({
55
55
  name: 'NavSecondaryDropdown',
56
56
  components: {
57
57
  IconCaret,
58
- MixinDropdownToggle,
58
+ NavDropdownToggle,
59
59
  NavSecondaryDropdownContent
60
60
  },
61
61
  props: {
@@ -126,7 +126,7 @@ export default defineComponent({
126
126
  </script>
127
127
  <style lang="scss">
128
128
  .NavSecondaryDropdown {
129
- .MixinDropdownToggle {
129
+ .NavDropdownToggle {
130
130
  &.-open {
131
131
  > span {
132
132
  @apply border-black text-gray-dark #{!important};
@@ -1,14 +1,14 @@
1
1
  import NavSocial from './NavSocial.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/Header & Footer/Elements/NavSocial',
4
+ title: 'Navigation/Elements/NavSocial',
5
5
  component: NavSocial,
6
6
  excludeStories: /.*Data$/
7
7
  }
8
8
 
9
- export const Social = { args: { dark: false } }
9
+ export const BaseStory = { args: { dark: false } }
10
10
 
11
- export const SocialDark = {
11
+ export const Dark = {
12
12
  args: { dark: true },
13
13
  render: (args) => ({
14
14
  components: { NavSocial },
@@ -1,54 +1,26 @@
1
1
  <template>
2
2
  <div class="NavSocial relative flex flex-row items-start border-collapse">
3
3
  <BaseButton
4
+ v-for="(item, index) in socialLinks"
5
+ :key="index"
4
6
  :variant="dark ? 'dark' : 'social'"
5
7
  class="-facebook w-12 h-12 text-2xl"
6
- href="http://www.facebook.com/NASAJPL"
7
- aria-label="Follow JPL on Facebook"
8
+ :class="{
9
+ '-facebook': item.facebook,
10
+ '-twitter': item.twitter,
11
+ '-instagram': item.instagram,
12
+ '-youtube': item.youtube
13
+ }"
14
+ :href="item.url"
15
+ :aria-label="item.label"
8
16
  target="_blank"
9
17
  rel="noopener"
10
18
  >
11
19
  <template #icon>
12
- <IconSocialFacebook />
13
- </template>
14
- </BaseButton>
15
- <BaseButton
16
- :variant="dark ? 'dark' : 'social'"
17
- class="-twitter w-12 h-12 text-2xl"
18
- :class="{ '-ml-px': !dark }"
19
- href="https://x.com/NASAJPL"
20
- aria-label="Follow JPL on X"
21
- target="_blank"
22
- rel="noopener"
23
- >
24
- <template #icon>
25
- <IconSocialTwitter />
26
- </template>
27
- </BaseButton>
28
- <BaseButton
29
- :variant="dark ? 'dark' : 'social'"
30
- class="-instagram w-12 h-12 text-2xl"
31
- :class="{ '-ml-px': !dark }"
32
- href="http://instagram.com/nasajpl"
33
- aria-label="Follow JPL on Instagram"
34
- target="_blank"
35
- rel="noopener"
36
- >
37
- <template #icon>
38
- <IconSocialInstagram />
39
- </template>
40
- </BaseButton>
41
- <BaseButton
42
- :variant="dark ? 'dark' : 'social'"
43
- class="-youtube w-12 h-12 text-3xl"
44
- :class="{ '-ml-px': !dark }"
45
- href="http://www.youtube.com/user/JPLnews?sub_confirmation=1"
46
- aria-label="Follow JPL on YouTube"
47
- target="_blank"
48
- rel="noopener"
49
- >
50
- <template #icon>
51
- <IconSocialYoutube />
20
+ <IconSocialFacebook v-if="item.facebook" />
21
+ <IconSocialTwitter v-else-if="item.twitter" />
22
+ <IconSocialInstagram v-else-if="item.instagram" />
23
+ <IconSocialYoutube v-else-if="item.youtube" />
52
24
  </template>
53
25
  </BaseButton>
54
26
  </div>
@@ -61,6 +33,52 @@ import IconSocialTwitter from './../Icons/IconSocialTwitter.vue'
61
33
  import IconSocialInstagram from './../Icons/IconSocialInstagram.vue'
62
34
  import IconSocialYoutube from './../Icons/IconSocialYoutube.vue'
63
35
 
36
+ const wwwSocialLinks = [
37
+ {
38
+ facebook: true,
39
+ url: 'http://www.facebook.com/NASAJPL',
40
+ label: 'Follow JPL on Facebook'
41
+ },
42
+ {
43
+ twitter: true,
44
+ url: 'https://x.com/NASAJPL',
45
+ label: 'Follow JPL on X'
46
+ },
47
+ {
48
+ instagram: true,
49
+ url: 'http://instagram.com/nasajpl',
50
+ label: 'Follow JPL on Instagram'
51
+ },
52
+ {
53
+ youtube: true,
54
+ url: 'http://www.youtube.com/user/JPLnews?sub_confirmation=1',
55
+ label: 'Follow JPL on YouTube'
56
+ }
57
+ ]
58
+
59
+ const eduSocialLinks = [
60
+ {
61
+ facebook: true,
62
+ url: 'http://facebook.com/nasajpledu',
63
+ label: 'Follow JPL Education on Facebook'
64
+ },
65
+ {
66
+ twitter: true,
67
+ url: 'http://x.com/nasajpl_edu',
68
+ label: 'Follow JPL Education on X'
69
+ },
70
+ {
71
+ instagram: true,
72
+ url: 'http://instagram.com/nasajpl_edu',
73
+ label: 'Follow JPL Education on Instagram'
74
+ },
75
+ {
76
+ youtube: true,
77
+ url: 'https://www.youtube.com/@nasajpledu3401',
78
+ label: 'Follow JPL Education on YouTube'
79
+ }
80
+ ]
81
+
64
82
  export default defineComponent({
65
83
  name: 'NavSocial',
66
84
  components: {
@@ -75,6 +93,16 @@ export default defineComponent({
75
93
  type: Boolean,
76
94
  required: false,
77
95
  default: false
96
+ },
97
+ edu: {
98
+ type: Boolean,
99
+ required: false,
100
+ default: false
101
+ }
102
+ },
103
+ computed: {
104
+ socialLinks() {
105
+ return this.edu ? eduSocialLinks : wwwSocialLinks
78
106
  }
79
107
  }
80
108
  })
@@ -1,7 +1,7 @@
1
1
  import NewsDetailMediaContact from './NewsDetailMediaContact.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/NewsDetail/NewsDetailMediaContact',
4
+ title: 'Components/WWW/NewsDetail/NewsDetailMediaContact',
5
5
  component: NewsDetailMediaContact
6
6
  }
7
7
 
@@ -16,7 +16,7 @@ const contacts = [
16
16
  }
17
17
  ]
18
18
 
19
- export const Single = { args: { contacts, releaseNumber: '2020-140' } }
19
+ export const BaseStory = { args: { contacts, releaseNumber: '2020-140' } }
20
20
 
21
21
  export const Multiple = {
22
22
  args: {
@@ -2,7 +2,7 @@ import ParallaxElement from './../ParallaxElement/ParallaxElement.vue'
2
2
  import ParallaxContainer from './ParallaxContainer.vue'
3
3
 
4
4
  export default {
5
- title: 'Components/ParallaxContainer',
5
+ title: 'Components/Utilities/ParallaxContainer',
6
6
  component: ParallaxContainer,
7
7
  decorators: [
8
8
  () => ({
@@ -39,9 +39,9 @@ const ParallaxContainerTemplate = (args) => ({
39
39
  </ParallaxContainer>`
40
40
  })
41
41
 
42
- export const Default = ParallaxContainerTemplate.bind({})
43
- Default.storyName = 'ParallaxContainer'
44
- Default.args = {
42
+ export const BaseStory = ParallaxContainerTemplate.bind({})
43
+ BaseStory.storyName = 'ParallaxContainer'
44
+ BaseStory.args = {
45
45
  invert: true,
46
46
  overflow: true
47
47
  }
@@ -1,7 +1,7 @@
1
1
  import PodcastSeriesCarousel from './PodcastSeriesCarousel.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/PodcastDetail/PodcastSeriesCarousel',
4
+ title: 'Components/WWW/PodcastDetail/PodcastSeriesCarousel',
5
5
  component: PodcastSeriesCarousel,
6
6
  parameters: {
7
7
  docs: {
@@ -225,7 +225,7 @@ export const PodcastSeriesCarouselData = {
225
225
  }
226
226
  }
227
227
 
228
- export const Default = {
228
+ export const BaseStory = {
229
229
  args: {
230
230
  series: PodcastSeriesCarouselData.series,
231
231
  initialSeasonId: PodcastSeriesCarouselData.parent?.id
@@ -2,7 +2,7 @@ import RoboticsDetailStats from './RoboticsDetailStats.vue'
2
2
  import RoboticsDetailStatsMini from './RoboticsDetailStatsMini.vue'
3
3
 
4
4
  export default {
5
- title: 'WWW/RoboticsDetail/RoboticsDetailStats',
5
+ title: 'Components/WWW/RoboticsDetail/RoboticsDetailStats',
6
6
  component: RoboticsDetailStats,
7
7
  subcomponents: { RoboticsDetailStatsMini },
8
8
  decorators: [
@@ -67,7 +67,7 @@ export const RoboticsDetailStatsData = {
67
67
  ]
68
68
  }
69
69
 
70
- export const Base = {
70
+ export const BaseStory = {
71
71
  args: {
72
72
  mass: RoboticsDetailStatsData.mass,
73
73
  height: RoboticsDetailStatsData.height,