@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.
Files changed (289) 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/BaseImage/BaseImage.stories.ts +1 -1
  133. package/src/components/BaseImageCaption/BaseImageCaption.stories.js +1 -1
  134. package/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.js +3 -1
  135. package/src/components/BaseLink/BaseLink.stories.js +3 -2
  136. package/src/components/BaseModal/BaseModal.stories.js +2 -2
  137. package/src/components/BasePlaceholder/BasePlaceholder.stories.js +3 -3
  138. package/src/components/BaseRadioGroup/BaseRadioGroup.stories.js +47 -0
  139. package/src/components/BaseSwimlane/BaseSwimlane.stories.js +45 -0
  140. package/src/components/BaseTag/BaseTag.stories.js +1 -1
  141. package/src/components/BaseTimer/BaseTimer.stories.js +2 -1
  142. package/src/components/BaseUnitToggle/BaseUnitToggle.stories.js +2 -1
  143. package/src/components/BaseVideo/BaseVideo.stories.js +1 -1
  144. package/src/components/BlockAudio/BlockAudio.stories.js +1 -1
  145. package/src/components/BlockCard/BlockCard.stories.js +1 -1
  146. package/src/components/BlockCardGroup/BlockCardGroup.stories.js +1 -1
  147. package/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.js +1 -1
  148. package/src/components/BlockCta/BlockCta.stories.js +1 -1
  149. package/src/components/BlockHeading/BlockHeading.stories.js +1 -1
  150. package/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.js +1 -1
  151. package/src/components/BlockImage/BlockImage.stories.js +3 -2
  152. package/src/components/BlockImageCarousel/BlockImageCarousel.stories.js +1 -1
  153. package/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.js +1 -1
  154. package/src/components/BlockImageComparison/BlockImageComparison.stories.js +1 -1
  155. package/src/components/BlockImageGallery/BlockImageGallery.stories.js +1 -1
  156. package/src/components/BlockInlineImage/BlockInlineImage.stories.js +2 -1
  157. package/src/components/BlockKeyPoints/BlockKeyPoints.stories.js +1 -1
  158. package/src/components/BlockLinkCard/BlockLinkCard.stories.js +2 -1
  159. package/src/components/BlockLinkCarousel/BlockLinkCarousel.stories.js +2 -1
  160. package/src/components/BlockLinkTile/BlockLinkTile.stories.js +2 -1
  161. package/src/components/BlockListCards/BlockListCards.stories.js +1 -1
  162. package/src/components/BlockQuote/BlockQuote.stories.js +2 -2
  163. package/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.js +1 -1
  164. package/src/components/BlockStreamfield/BlockStreamfield.stories.js +1 -1
  165. package/src/components/BlockTable/BlockTable.stories.js +1 -1
  166. package/src/components/BlockTeaser/BlockTeaser.stories.js +1 -1
  167. package/src/components/BlockText/BlockText.stories.js +1 -1
  168. package/src/components/BlockTwitterEmbed/BlockTwitterEmbed.stories.js +1 -1
  169. package/src/components/BlockVideo/BlockVideo.stories.js +1 -1
  170. package/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.js +1 -1
  171. package/src/components/CalendarButton/CalendarButton.stories.js +3 -3
  172. package/src/components/DetailHeadline/DetailHeadline.stories.js +2 -2
  173. package/src/components/DsnWidget/DsnWidget.stories.js +2 -2
  174. package/src/components/EventDetailHero/EventDetailHero.stories.js +2 -2
  175. package/src/components/FormContact/FormContact.stories.js +3 -3
  176. package/src/components/FormContact/FormContact.vue +40 -87
  177. package/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.js +3 -3
  178. package/src/components/FormNewsletterSignup/FormNewsletterSignup.vue +43 -90
  179. package/src/components/HeroLarge/HeroLarge.stories.js +2 -2
  180. package/src/components/HeroListingIndex/HeroListingIndex.stories.js +3 -2
  181. package/src/components/HeroMedia/HeroMedia.stories.js +8 -3
  182. package/src/components/HeroMedium/HeroMedium.stories.js +13 -2
  183. package/src/components/HeroMedium/HeroMedium.vue +21 -4
  184. package/src/components/HeroMedium/HeroSmall.stories.js +58 -0
  185. package/src/components/HomepageCarousel/HomepageCarousel.stories.js +3 -2
  186. package/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.js +3 -2
  187. package/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.js +2 -2
  188. package/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.js +3 -2
  189. package/src/components/HomepageMissionsCarousel/HomepageMissionsCarousel.stories.js +2 -2
  190. package/src/components/HomepageStats/HomepageStats.stories.js +3 -3
  191. package/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.js +4 -3
  192. package/src/components/Icons/Icons.stories.ts +1 -1
  193. package/src/components/LogoCaltech/LogoCaltech.stories.js +4 -4
  194. package/src/components/LogoTribrand/LogoTribrand.stories.js +6 -5
  195. package/src/components/MissionDetailAbout/MissionDetailAbout.stories.js +2 -2
  196. package/src/components/MissionDetailHero/MissionDetailHero.stories.js +3 -2
  197. package/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.js +3 -2
  198. package/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.js +2 -2
  199. package/src/components/MissionDetailStats/MissionDetailStats.stories.js +3 -2
  200. package/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.js +2 -2
  201. package/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.ts +2 -2
  202. package/src/components/MixinCarousel/MixinCarousel.stories.js +3 -3
  203. package/src/components/MixinVideoBg/MixinVideoBg.stories.js +2 -12
  204. package/src/components/NavDesktop/NavDesktop.stories.js +3 -2
  205. package/src/components/NavDesktop/NavDesktopDropdown.vue +10 -10
  206. package/src/components/NavDesktop/NavDesktopDropdownContent.vue +1 -1
  207. package/src/components/NavDesktopEdu/NavDesktopEdu.stories.js +186 -0
  208. package/src/components/NavDesktopEdu/NavDesktopEdu.vue +315 -0
  209. package/src/components/{MixinDropdownToggle/MixinDropdownToggle.vue → NavDropdownToggle/NavDropdownToggle.vue} +2 -2
  210. package/src/components/NavHeading/NavHeading.stories.js +2 -2
  211. package/src/components/NavHeading/NavHeading.vue +2 -2
  212. package/src/components/NavHighlight/NavHighlight.stories.js +2 -2
  213. package/src/components/NavLinkList/NavLinkList.stories.js +2 -2
  214. package/src/components/NavLogoLinks/NavLogoLinks.stories.js +3 -6
  215. package/src/components/NavLogoLinks/NavLogoLinks.vue +0 -1
  216. package/src/components/NavMobile/NavMobile.stories.js +3 -2
  217. package/src/components/NavMobile/NavMobile.vue +40 -15
  218. package/src/components/NavMobile/NavMobileDropdown.vue +4 -4
  219. package/src/components/NavMobile/NavMobileEdu.stories.js +174 -0
  220. package/src/components/NavMobile/NavMobileSecondaryDropdown.vue +5 -5
  221. package/src/components/NavSearchForm/NavSearchForm.stories.js +2 -2
  222. package/src/components/NavSecondary/NavSecondary.stories.js +2 -2
  223. package/src/components/NavSecondary/NavSecondaryDropdown.vue +5 -5
  224. package/src/components/NavSocial/NavSocial.stories.js +3 -3
  225. package/src/components/NavSocial/NavSocial.vue +70 -42
  226. package/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.js +2 -2
  227. package/src/components/ParallaxContainer/ParallaxContainer.stories.js +4 -4
  228. package/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.js +2 -2
  229. package/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.js +2 -2
  230. package/src/components/SearchFilterGroup/SearchFilterGroup.stories.js +2 -1
  231. package/src/components/SearchInput/SearchInput.stories.js +1 -1
  232. package/src/components/SearchInput/SearchInput.vue +36 -36
  233. package/src/components/SearchPagination/SearchPagination.stories.js +2 -1
  234. package/src/components/SearchResultCard/SearchResultCard.stories.js +1 -1
  235. package/src/components/SearchResultGridItem/SearchResultGridItem.stories.js +2 -1
  236. package/src/components/SearchSelectMenu/SearchSelectMenu.stories.js +1 -1
  237. package/src/components/ShareButtons/ShareButtons.stories.js +2 -2
  238. package/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.js +2 -2
  239. package/src/components/SkipLink/SkipLink.stories.js +2 -2
  240. package/src/components/SwimlaneCTA/SwimlaneCTA.stories.js +57 -0
  241. package/src/components/SwimlaneCTA/SwimlaneCTA.vue +12 -5
  242. package/src/components/TextArea/TextArea.stories.js +28 -0
  243. package/src/components/TextArea/TextArea.vue +74 -0
  244. package/src/components/TextInput/TextInput.stories.js +30 -0
  245. package/src/components/TextInput/TextInput.vue +87 -0
  246. package/src/components/TheFooter/TheFooter.stories.js +8 -3
  247. package/src/components/TheFooter/TheFooter.vue +31 -15
  248. package/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.js +2 -2
  249. package/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.js +2 -2
  250. package/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.js +2 -2
  251. package/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.js +2 -2
  252. package/src/components/TopicDetailMore/TopicDetailMore.stories.js +2 -2
  253. package/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.js +2 -2
  254. package/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.js +2 -2
  255. package/src/components/YearTicker/YearTicker.stories.js +3 -3
  256. package/src/docs/foundation/color.docs.mdx +1 -1
  257. package/src/docs/foundation/grid.stories.js +1 -1
  258. package/src/docs/foundation/grid_layouthelpers.stories.js +1 -1
  259. package/src/docs/foundation/themes.stories.js +1 -1
  260. package/src/docs/foundation/typography.stories.js +2 -3
  261. package/src/docs/getting-started/designer.docs.mdx +18 -0
  262. package/src/docs/getting-started/developer.docs.mdx +81 -0
  263. package/src/docs/guides/accessibility.docs.mdx +39 -0
  264. package/src/docs/guides/responsive.docs.mdx +67 -0
  265. package/src/docs/guides/responsive.stories.js +36 -0
  266. package/src/docs/introduction.docs.mdx +42 -0
  267. package/src/docs/overviews/base.docs.mdx +88 -0
  268. package/src/docs/overviews/blocks.docs.mdx.disabled +185 -0
  269. package/src/docs/overviews/components.docs.mdx +48 -0
  270. package/src/docs/overviews/forms.docs.mdx +59 -0
  271. package/src/docs/overviews/global.docs.mdx +15 -0
  272. package/src/docs/overviews/global_footers.docs.mdx +21 -0
  273. package/src/docs/overviews/global_headers.docs.mdx +29 -0
  274. package/src/docs/overviews/heroes.docs.mdx +57 -0
  275. package/src/docs/overviews/mixins.docs.mdx +39 -0
  276. package/src/docs/overviews/search.docs.mdx +30 -0
  277. package/src/docs/overviews/utilities.docs.mdx +22 -0
  278. package/src/docs/roadmap.docs.mdx +25 -0
  279. package/src/docs/utils/ComponentItem.jsx +102 -0
  280. package/src/docs/utils/ComponentList.jsx +17 -0
  281. package/src/templates/PageContent/PageContent.stories.js +1 -1
  282. package/src/templates/PageEventDetail/PageEventDetail.stories.js +1 -1
  283. package/src/templates/PageNewsDetail/PageNewsDetail.stories.js +8 -8
  284. package/src/templates/edu/PageEduNewsDetail.stories.js +8 -3
  285. package/src/templates/edu/PageEduNewsDetail.vue +1 -1
  286. package/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.mdx +0 -68
  287. package/src/components/BaseRadioGroup/BaseRadioGroup.stories.mdx +0 -68
  288. package/src/components/BaseSwimlane/BaseSwimlane.stories.mdx +0 -64
  289. package/src/components/SwimlaneCTA/SwimlaneCTA.stories.mdx +0 -77
@@ -1,7 +1,7 @@
1
1
  import CalendarButton from './CalendarButton.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/CalendarButton',
4
+ title: 'Components/Utilities/CalendarButton',
5
5
  component: CalendarButton,
6
6
  excludeStories: /.*Data$/
7
7
  }
@@ -30,7 +30,7 @@ const CalendarButtonTemplate = (args) => ({
30
30
  `
31
31
  })
32
32
 
33
- export const Default = CalendarButtonTemplate.bind({})
34
- Default.args = {
33
+ export const BaseStory = CalendarButtonTemplate.bind({})
34
+ BaseStory.args = {
35
35
  ...CalendarButtonData
36
36
  }
@@ -1,7 +1,7 @@
1
1
  import DetailHeadline from './DetailHeadline.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/DetailHeadline',
4
+ title: 'Components/Utilities/DetailHeadline',
5
5
  component: DetailHeadline,
6
6
  excludeStories: /.*Data$/
7
7
  }
@@ -26,7 +26,7 @@ export const DetailHeadlineData = {
26
26
  }
27
27
 
28
28
  // stories
29
- export const Default = {
29
+ export const BaseStory = {
30
30
  args: DetailHeadlineData
31
31
  }
32
32
 
@@ -1,7 +1,7 @@
1
1
  import DsnWidget from './DsnWidget.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/DsnWidget',
4
+ title: 'Components/WWW/DsnWidget',
5
5
  component: DsnWidget,
6
6
  excludeStories: /.*Data$/,
7
7
  argTypes: {
@@ -22,7 +22,7 @@ export const DsnWidgetData = {
22
22
  __typename: 'DeepSpaceNetworkWidget'
23
23
  }
24
24
 
25
- export const Base = {
25
+ export const BaseStory = {
26
26
  args: {
27
27
  data: DsnWidgetData
28
28
  }
@@ -1,7 +1,7 @@
1
1
  import EventDetailHero from './EventDetailHero.vue'
2
2
 
3
3
  export default {
4
- title: 'WWW/EventDetail/EventDetailHero',
4
+ title: 'Components/WWW/EventDetail/EventDetailHero',
5
5
  component: EventDetailHero,
6
6
  decorators: [
7
7
  () => ({
@@ -45,7 +45,7 @@ export const EventDetailHeroData = {
45
45
  }
46
46
 
47
47
  // stories
48
- export const Default = {
48
+ export const BaseStory = {
49
49
  args: {
50
50
  image: EventDetailHeroData.heroImage,
51
51
  startDateSplit: EventDetailHeroData.startDateSplit
@@ -1,7 +1,7 @@
1
1
  import FormContact from './FormContact.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/FormContact',
4
+ title: 'Components/Forms/FormContact',
5
5
  component: FormContact
6
6
  }
7
7
 
@@ -12,5 +12,5 @@ const FormContactTemplate = () => ({
12
12
  })
13
13
 
14
14
  // stories
15
- export const Contact = FormContactTemplate.bind({})
16
- Contact.storyName = 'FormContact'
15
+ export const BaseStory = FormContactTemplate.bind({})
16
+ BaseStory.storyName = 'FormContact'
@@ -14,97 +14,46 @@
14
14
  size="h6"
15
15
  >Contact Information</BaseHeading
16
16
  >
17
- <div class="mt-8">
18
- <label
19
- id="full_name_label"
20
- for="full_name"
21
- class="text-gray-dark text-subtitle"
22
- >
23
- Name <span class="text-jpl-red">*</span>
24
- </label>
25
- <div class="mt-2">
26
- <input
27
- id="full_name"
28
- type="text"
29
- name="full_name"
30
- required
31
- aria-required="true"
32
- aria-labelledby="full_name_label"
33
- placeholder="enter your first and last name"
34
- class="w-full px-4 py-3"
35
- />
36
- </div>
37
- </div>
38
- <div class="mt-8">
39
- <label
40
- id="email_label"
41
- for="email"
42
- class="text-gray-dark text-subtitle"
43
- >
44
- Email <span class="text-jpl-red">*</span>
45
- </label>
46
- <div class="mt-2">
47
- <input
48
- id="email"
49
- type="text"
50
- name="email"
51
- required
52
- aria-required="true"
53
- aria-labelledby="email_label"
54
- placeholder="enter your email"
55
- class="w-full px-4 py-3"
56
- />
57
- </div>
58
- </div>
17
+ <TextInput
18
+ class="mt-8"
19
+ input-name="full_name"
20
+ label="Name"
21
+ type="text"
22
+ required
23
+ placeholder="enter your first and last name"
24
+ />
25
+ <TextInput
26
+ class="mt-8"
27
+ input-name="email"
28
+ label="Email"
29
+ type="email"
30
+ required
31
+ placeholder="enter your email"
32
+ />
59
33
  <BaseHeading
60
34
  level="h2"
61
35
  size="h6"
62
36
  class="mt-12"
63
37
  >Write Us</BaseHeading
64
38
  >
39
+ <TextInput
40
+ class="mt-8"
41
+ input-name="subject"
42
+ label="Subject"
43
+ type="text"
44
+ required
45
+ placeholder="write a subject"
46
+ />
47
+ <TextArea
48
+ class="mt-8"
49
+ input-name="message"
50
+ label="Message"
51
+ input-class="w-full px-4 py-3"
52
+ required
53
+ placeholder="write your message..."
54
+ />
55
+
65
56
  <div class="mt-8">
66
- <label
67
- id="subject_label"
68
- for="subject"
69
- class="text-gray-dark text-subtitle"
70
- >
71
- Subject <span class="text-jpl-red">*</span>
72
- </label>
73
- <div class="mt-2">
74
- <input
75
- id="subject"
76
- type="text"
77
- name="subject"
78
- required
79
- aria-required="true"
80
- aria-labelledby="subject_label"
81
- placeholder="write a subject"
82
- class="w-full px-4 py-3"
83
- />
84
- </div>
85
- </div>
86
- <div class="mt-8">
87
- <label
88
- id="message_label"
89
- for="message"
90
- class="text-subtitle text-gray-dark"
91
- >
92
- Message <span class="text-jpl-red">*</span>
93
- </label>
94
- <div class="mt-2">
95
- <textarea
96
- id="message"
97
- name="message"
98
- required
99
- aria-required="true"
100
- aria-labelledby="message_label"
101
- placeholder="write your message..."
102
- rows="4"
103
- class="w-full px-4 py-3"
104
- ></textarea>
105
- </div>
106
- </div>
107
- <div class="mt-4">
108
57
  <BaseButton
109
58
  type="submit"
110
59
  variant="primary"
@@ -132,17 +81,21 @@
132
81
  <script lang="ts">
133
82
  // @ts-nocheck
134
83
  import { defineComponent } from 'vue'
135
- import qs from 'qs'
84
+ import { stringify } from 'fast-qs'
136
85
  import LayoutHelper from './../LayoutHelper/LayoutHelper.vue'
137
86
  import BaseHeading from './../BaseHeading/BaseHeading.vue'
138
87
  import BaseButton from './../BaseButton/BaseButton.vue'
88
+ import TextInput from './../TextInput/TextInput.vue'
89
+ import TextArea from './../TextArea/TextArea.vue'
139
90
 
140
91
  export default defineComponent({
141
92
  name: 'FormContact',
142
93
  components: {
143
94
  LayoutHelper,
144
95
  BaseHeading,
145
- BaseButton
96
+ BaseButton,
97
+ TextArea,
98
+ TextInput
146
99
  },
147
100
  data() {
148
101
  return {
@@ -181,7 +134,7 @@ export default defineComponent({
181
134
  headers: {
182
135
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
183
136
  },
184
- body: qs.stringify({
137
+ body: stringify({
185
138
  full_name: data.full_name,
186
139
  email: data.email,
187
140
  subject: data.subject,
@@ -1,7 +1,7 @@
1
1
  import FormNewsletterSignup from './FormNewsletterSignup.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/FormNewsletterSignup',
4
+ title: 'Components/Forms/FormNewsletterSignup',
5
5
  component: FormNewsletterSignup
6
6
  }
7
7
 
@@ -12,5 +12,5 @@ const FormNewsletterSignupTemplate = () => ({
12
12
  })
13
13
 
14
14
  // stories
15
- export const NewsletterSignup = FormNewsletterSignupTemplate.bind({})
16
- NewsletterSignup.storyName = 'FormNewsletterSignup'
15
+ export const BaseStory = FormNewsletterSignupTemplate.bind({})
16
+ BaseStory.storyName = 'FormNewsletterSignup'
@@ -27,93 +27,44 @@
27
27
  size="h6"
28
28
  >Contact Information</BaseHeading
29
29
  >
30
- <div class="mt-8">
31
- <label
32
- id="email_label"
33
- for="email"
34
- class="text-gray-dark text-subtitle"
35
- >
36
- Email <span class="text-jpl-red">*</span>
37
- </label>
38
- <div class="mt-2">
39
- <input
40
- id="email"
41
- v-model="prefilledEmail"
42
- type="email"
43
- name="data[email]"
44
- required
45
- aria-required="true"
46
- aria-labelledby="email_label"
47
- placeholder="enter your email"
48
- class="w-full px-4 py-3"
49
- />
50
- </div>
51
- </div>
52
- <div class="mt-8">
53
- <label
54
- id="first_name_label"
55
- for="first_name"
56
- class="text-gray-dark text-subtitle"
57
- >
58
- First Name
59
- </label>
60
- <div class="mt-2">
61
- <input
62
- id="first_name"
63
- type="text"
64
- name="data[fname]"
65
- maxlength="32"
66
- aria-required="false"
67
- aria-labelledby="first_name_label"
68
- placeholder="enter your first name"
69
- class="w-full px-4 py-3"
70
- />
71
- </div>
72
- </div>
73
- <div class="mt-8">
74
- <label
75
- id="last_name_label"
76
- for="last_name"
77
- class="text-gray-dark text-subtitle"
78
- >
79
- Last Name
80
- </label>
81
- <div class="mt-2">
82
- <input
83
- id="last_name"
84
- type="text"
85
- name="data[lname]"
86
- maxlength="64"
87
- aria-required="false"
88
- aria-labelledby="last_name_label"
89
- placeholder="enter your last name"
90
- class="w-full px-4 py-3"
91
- />
92
- </div>
93
- </div>
94
- <div class="mt-8">
95
- <label
96
- id="zip_code_label"
97
- for="zip_code"
98
- class="text-gray-dark text-subtitle"
99
- >
100
- Zip
101
- </label>
102
- <div class="mt-2">
103
- <input
104
- id="zip_code"
105
- type="text"
106
- name="data[zip]"
107
- pattern="[0-9]{5-10}"
108
- maxlength="10"
109
- title="Five digit zip code"
110
- aria-required="false"
111
- aria-labelledby="zip_code_label"
112
- placeholder="enter your 5-digit zip code"
113
- class="w-full px-4 py-3"
114
- />
115
- </div>
116
- </div>
30
+ <TextInput
31
+ v-model="prefilledEmail"
32
+ class="mt-8"
33
+ input-name="data[email]"
34
+ label="Email"
35
+ type="email"
36
+ required
37
+ placeholder="enter your email"
38
+ />
39
+
40
+ <TextInput
41
+ class="mt-8"
42
+ input-name="data[fname]"
43
+ label="First Name"
44
+ type="text"
45
+ placeholder="enter your first name"
46
+ />
47
+
48
+ <TextInput
49
+ class="mt-8"
50
+ input-name="data[lname]"
51
+ label="Last Name"
52
+ type="text"
53
+ maxlength="64"
54
+ placeholder="enter your last name"
55
+ />
56
+
57
+ <TextInput
58
+ class="mt-8"
59
+ input-name="data[zip]"
60
+ label="Zip"
61
+ type="text"
62
+ maxlength="10"
63
+ pattern="[0-9]{5-10}"
64
+ title="Five digit zip code"
65
+ placeholder="enter your 5-digit zip code"
66
+ />
67
+
117
68
  <BaseHeading
118
69
  level="h2"
119
70
  size="h6"
@@ -175,12 +126,13 @@
175
126
  <script lang="ts">
176
127
  // @ts-nocheck
177
128
  import { defineComponent } from 'vue'
178
- import qs from 'qs'
129
+ import { stringify } from 'fast-qs'
179
130
  import LayoutHelper from './../LayoutHelper/LayoutHelper.vue'
180
131
  import BaseHeading from './../BaseHeading/BaseHeading.vue'
181
132
  import BaseButton from './../BaseButton/BaseButton.vue'
182
133
  import BaseRadioGroup from './../BaseRadioGroup/BaseRadioGroup.vue'
183
134
  import BaseCheckboxGroup from './../BaseCheckboxGroup/BaseCheckboxGroup.vue'
135
+ import TextInput from './../TextInput/TextInput.vue'
184
136
 
185
137
  const iContactForm =
186
138
  'https://app.icontact.com/icp/core/mycontacts/signup/designer/form/?id=5&cid=1389932&lid=11365'
@@ -267,7 +219,8 @@ export default defineComponent({
267
219
  BaseHeading,
268
220
  BaseButton,
269
221
  BaseCheckboxGroup,
270
- BaseRadioGroup
222
+ BaseRadioGroup,
223
+ TextInput
271
224
  },
272
225
  data() {
273
226
  return {
@@ -327,7 +280,7 @@ export default defineComponent({
327
280
  headers: {
328
281
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
329
282
  },
330
- body: qs.stringify({
283
+ body: stringify({
331
284
  'data[email]': data.email,
332
285
  'data[fname]': data.first_name,
333
286
  'data[lname]': data.last_name,
@@ -1,7 +1,7 @@
1
1
  import HeroLarge from './HeroLarge.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/Heroes/HeroLarge',
4
+ title: 'Components/Heroes/Large',
5
5
  component: HeroLarge,
6
6
  excludeStories: /.*Data$/,
7
7
  parameters: {
@@ -36,7 +36,7 @@ export const HeroLargeData = {
36
36
  }
37
37
 
38
38
  // stories
39
- export const Hero = {
39
+ export const BaseStory = {
40
40
  name: 'HeroLarge',
41
41
  args: {
42
42
  eyebrow: 'Robotics at JPL',
@@ -1,7 +1,7 @@
1
1
  import HeroListingIndex from './HeroListingIndex.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/Heroes/HeroListingIndex',
4
+ title: 'Components/Heroes/For Listing Pages',
5
5
  component: HeroListingIndex,
6
6
  parameters: {
7
7
  viewMode: 'canvas'
@@ -37,7 +37,8 @@ export const HeroListingIndexData = {
37
37
 
38
38
  // templates
39
39
 
40
- export const Default = {
40
+ export const BaseStory = {
41
+ name: 'HeroListingIndex',
41
42
  args: {
42
43
  customLabel: 'Featured',
43
44
  pageData: HeroListingIndexData.listingPage
@@ -2,13 +2,17 @@ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories'
2
2
  import HeroMedia from './HeroMedia.vue'
3
3
 
4
4
  export default {
5
- title: 'Components/Heroes/HeroMedia',
5
+ title: 'Components/Heroes/Media Only',
6
6
  component: HeroMedia,
7
7
  parameters: {
8
8
  html: {
9
9
  root: '#storyDecorator'
10
10
  },
11
- viewMode: 'canvas'
11
+ docs: {
12
+ description: {
13
+ component: 'No text overlay, just an image or video with a caption below.'
14
+ }
15
+ }
12
16
  },
13
17
  excludeStories: /.*Data$/
14
18
  }
@@ -74,7 +78,8 @@ export const HeroMediaData = {
74
78
  }
75
79
 
76
80
  // stories
77
- export const Hero = {
81
+ export const BaseStory = {
82
+ name: 'HeroMedia',
78
83
  args: HeroMediaData
79
84
  }
80
85
  export const CustomImageCaption = {
@@ -2,7 +2,7 @@ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories'
2
2
  import HeroMedium from './HeroMedium.vue'
3
3
 
4
4
  export default {
5
- title: 'Components/Heroes/HeroMedium',
5
+ title: 'Components/Heroes/Medium',
6
6
  component: HeroMedium,
7
7
  decorators: [
8
8
  () => ({
@@ -54,7 +54,8 @@ export const HeroMediumData = {
54
54
  }
55
55
  }
56
56
 
57
- export const Default = {
57
+ export const BaseStory = {
58
+ name: 'HeroMedium',
58
59
  args: {
59
60
  customTag: 'News',
60
61
  customLabel: HeroMediumData.label,
@@ -63,6 +64,16 @@ export const Default = {
63
64
  customVideo: undefined
64
65
  }
65
66
  }
67
+ export const Compact = {
68
+ args: {
69
+ customTag: 'News',
70
+ customLabel: HeroMediumData.label,
71
+ feature: HeroMediumData.feature,
72
+ cta: HeroMediumData.cta,
73
+ customVideo: undefined,
74
+ compact: true
75
+ }
76
+ }
66
77
  export const Video = {
67
78
  args: {
68
79
  customLabel: HeroMediumData.label,
@@ -1,7 +1,8 @@
1
1
  <template>
2
2
  <section
3
3
  aria-label="Feature"
4
- class="HeroMedium ThemeVariantDark relative flex items-center overflow-hidden"
4
+ class="ThemeVariantDark relative flex items-center overflow-hidden"
5
+ :class="compact ? 'HeroSmall' : 'HeroMedium'"
5
6
  >
6
7
  <div class="absolute inset-0 z-10 overflow-hidden bg-black">
7
8
  <!-- video always overrides the image -->
@@ -29,13 +30,22 @@
29
30
  />
30
31
  </picture>
31
32
  </div>
32
- <div class="lg:flex lg:items-end lg:relative lg:h-full absolute bottom-0 z-20 w-full">
33
+ <div
34
+ class="lg:flex lg:items-end lg:relative lg:h-full z-20 w-full"
35
+ :class="{
36
+ 'absolute bottom-0': !compact
37
+ }"
38
+ >
33
39
  <div
34
40
  class="bg-gradient-to-b lg:bg-gradient-to-bl from-transparent lg:from-transparent-w50 to-black lg:to-transparent-black-75 absolute inset-0"
35
41
  ></div>
36
42
  <div
37
43
  v-if="feature"
38
- class="lg:px-10 2xl:px-0 lg:pb-0 lg:py-0 text-contrast container relative px-4 pt-40 pb-2 mx-auto mb-10 text-white"
44
+ class="px-4 lg:px-10 2xl:px-0 lg:pb-0 lg:py-0 text-contrast container relative mx-auto text-white"
45
+ :class="{
46
+ 'pt-40 pb-2 mb-10': !compact,
47
+ 'my-6 lg:mt-0 lg:mb-10': compact
48
+ }"
39
49
  >
40
50
  <nuxt-link
41
51
  :to="feature.url"
@@ -100,7 +110,8 @@ export default defineComponent({
100
110
  components: {
101
111
  IconArrow,
102
112
  BaseLink,
103
- MixinVideoBg
113
+ MixinVideoBg,
114
+ BaseTag
104
115
  },
105
116
  props: {
106
117
  feature: {
@@ -119,6 +130,11 @@ export default defineComponent({
119
130
  type: String,
120
131
  default: 'View'
121
132
  },
133
+ compact: {
134
+ type: Boolean,
135
+ required: false,
136
+ default: false
137
+ },
122
138
  // to override media
123
139
  // use-case: news detail pages use this b/c their feature hero is structured differently
124
140
  customVideo: {
@@ -162,5 +178,6 @@ export default defineComponent({
162
178
  })
163
179
  </script>
164
180
  <style lang="scss">
181
+ @import '@explorer-1/common/src/scss/components/HeroSmall';
165
182
  @import '@explorer-1/common/src/scss/components/HeroMedium';
166
183
  </style>
@@ -0,0 +1,58 @@
1
+ import { BaseVideoData } from './../BaseVideo/BaseVideo.stories'
2
+ import { HeroMediumData } from './HeroMedium.stories'
3
+ import HeroMedium from './HeroMedium.vue'
4
+
5
+ export default {
6
+ title: 'Components/Heroes/Small',
7
+ component: HeroMedium,
8
+ decorators: [
9
+ () => ({
10
+ template: `<div id="storyDecorator" class="max-w-screen-3xl mx-auto"><story/></div>`
11
+ })
12
+ ],
13
+ parameters: {
14
+ html: {
15
+ root: '#storyDecorator'
16
+ },
17
+ themes: {
18
+ clearable: false,
19
+ list: [
20
+ {
21
+ name: 'FullWidthDocs',
22
+ class: 'sbdocs-preview-full-width',
23
+ default: true,
24
+ visible: false
25
+ }
26
+ ]
27
+ },
28
+ docs: {
29
+ description: {
30
+ component:
31
+ '`HeroSmall` is the same component as `HeroMedium, but with `compact` set to `true`.'
32
+ }
33
+ }
34
+ },
35
+ excludeStories: /.*Data$/
36
+ }
37
+
38
+ export const BaseStory = {
39
+ name: 'HeroMedium (compact)',
40
+ args: {
41
+ customTag: 'News',
42
+ customLabel: HeroMediumData.label,
43
+ feature: HeroMediumData.feature,
44
+ cta: HeroMediumData.cta,
45
+ customVideo: undefined,
46
+ compact: true
47
+ }
48
+ }
49
+ export const Video = {
50
+ args: {
51
+ customTag: 'News',
52
+ customLabel: HeroMediumData.label,
53
+ feature: HeroMediumData.feature,
54
+ cta: HeroMediumData.cta,
55
+ customVideo: BaseVideoData,
56
+ compact: true
57
+ }
58
+ }