@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
package/lib/main.ts CHANGED
@@ -161,7 +161,7 @@ import MissionDetailStats from './../src/components/MissionDetailStats/MissionDe
161
161
  import MissionDetailStreamfield from './../src/components/MissionDetailStreamfield/MissionDetailStreamfield.vue'
162
162
  import MixinAnimationCaret from './../src/components/MixinAnimationCaret/MixinAnimationCaret.vue'
163
163
  import MixinCarousel from './../src/components/MixinCarousel/MixinCarousel.vue'
164
- import MixinDropdownToggle from './../src/components/MixinDropdownToggle/MixinDropdownToggle.vue'
164
+ import NavDropdownToggle from './../src/components/NavDropdownToggle/NavDropdownToggle.vue'
165
165
  import MixinFancybox from './../src/components/MixinFancybox/MixinFancybox.vue'
166
166
  import MixinVideoBg from './../src/components/MixinVideoBg/MixinVideoBg.vue'
167
167
  import NavDesktop from './../src/components/NavDesktop/NavDesktop.vue'
@@ -363,7 +363,7 @@ export {
363
363
  MissionDetailStreamfield,
364
364
  MixinAnimationCaret,
365
365
  MixinCarousel,
366
- MixinDropdownToggle,
366
+ NavDropdownToggle,
367
367
  MixinFancybox,
368
368
  MixinVideoBg,
369
369
  NavDesktop,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -19,8 +19,8 @@
19
19
  "click-outside-vue3": "^4.0.1",
20
20
  "datebook": "^8.0.1",
21
21
  "dayjs": "^1.11.11",
22
+ "fast-qs": "^2.0.3",
22
23
  "lodash": "^4.17.21",
23
- "qs": "^6.12.1",
24
24
  "sass": "^1.77.4",
25
25
  "swiper": "^11.1.3",
26
26
  "tailwindcss": "^3.4.3",
@@ -28,7 +28,7 @@
28
28
  "vue": "^3.4.21",
29
29
  "vue-observe-visibility": "^1.0.0",
30
30
  "vue3-compare-image": "^1.2.5",
31
- "@explorer-1/common": "1.0.3"
31
+ "@explorer-1/common": "1.0.4"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@vitejs/plugin-vue": "^5.0.4",
@@ -1,7 +1,7 @@
1
1
  import AsteroidWatchWidget from './AsteroidWatchWidget.vue'
2
2
 
3
3
  export default {
4
- title: 'Components/AsteroidWatchWidget',
4
+ title: 'Components/WWW/AsteroidWatchWidget',
5
5
  component: AsteroidWatchWidget,
6
6
  excludeStories: /.*Data$/,
7
7
  decorators: [
@@ -151,6 +151,6 @@ export const AsteroidWatchWidgetData = {
151
151
  ]
152
152
  }
153
153
 
154
- export const Base = {
154
+ export const BaseStory = {
155
155
  args: AsteroidWatchWidgetData
156
156
  }
@@ -16,9 +16,9 @@ const BackToTopTemplate = (args) => ({
16
16
  `
17
17
  })
18
18
 
19
- export const Default = BackToTopTemplate.bind({})
20
- Default.storyName = 'BackToTop'
21
- Default.args = {
19
+ export const BaseStory = BackToTopTemplate.bind({})
20
+ BaseStory.storyName = 'BackToTop'
21
+ BaseStory.args = {
22
22
  threshhold: 300,
23
23
  scrollTo: 0
24
24
  }
@@ -23,7 +23,7 @@ export const BaseAudioData = {
23
23
  loop: false
24
24
  }
25
25
 
26
- export const Base = {
26
+ export const BaseStory = {
27
27
  name: 'BaseAudio', // single story hoisting
28
28
  args: BaseAudioData
29
29
  }
@@ -8,7 +8,7 @@ export default {
8
8
  tags: ['autodocs'],
9
9
  parameters: {
10
10
  slots: {
11
- default: 'Default slot content'
11
+ default: 'BaseStory slot content'
12
12
  },
13
13
  docs: {
14
14
  description: {
@@ -45,7 +45,8 @@ export const BaseButtonData = {
45
45
  default: 'Button'
46
46
  }
47
47
 
48
- export const PrimaryButton = {
48
+ export const BaseStory = {
49
+ name: 'Primary Button',
49
50
  args: {
50
51
  ...BaseButtonData,
51
52
  variant: 'primary'
@@ -0,0 +1,39 @@
1
+ import BaseCheckboxGroup from './BaseCheckboxGroup.vue'
2
+
3
+ export default {
4
+ title: 'Components/Base/BaseCheckboxGroup',
5
+ component: BaseCheckboxGroup
6
+ }
7
+
8
+ // stories
9
+ export const BaseStory = {
10
+ args: {
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
+ }
@@ -23,7 +23,7 @@ export default {
23
23
  },
24
24
  parameters: {
25
25
  slots: {
26
- default: 'Default slot content'
26
+ default: 'BaseStory slot content'
27
27
  },
28
28
  viewMode: 'docs',
29
29
  docs: {
@@ -36,7 +36,7 @@ export default {
36
36
  }
37
37
 
38
38
  // stories
39
- export const H1 = {
39
+ export const BaseStory = {
40
40
  name: 'H1',
41
41
  args: { size: 'h1', level: 'h1', default: 'Heading 1' }
42
42
  }
@@ -31,7 +31,7 @@ export const BaseImageData = {
31
31
  objectFitClass: 'contain'
32
32
  }
33
33
  // stories
34
- export const Default = {
34
+ export const BaseStory = {
35
35
  args: BaseImageData,
36
36
  decorators: [() => ({ template: '<div class="max-w-full"><story /></div>' })]
37
37
  }
@@ -20,7 +20,7 @@ export const BaseImageCaptionData = {
20
20
  detailUrl: '/image-detail/slug/'
21
21
  }
22
22
 
23
- export const Default = {
23
+ export const BaseStory = {
24
24
  args: {
25
25
  data: BaseImageCaptionData
26
26
  }
@@ -42,6 +42,7 @@ export const BaseImagePlaceholderData = {
42
42
  }
43
43
 
44
44
  export const WithImage = {
45
+ name: 'With Image',
45
46
  args: {
46
47
  ...BaseImagePlaceholderData,
47
48
  BaseImageProps: {
@@ -55,7 +56,8 @@ export const WithImage = {
55
56
  }
56
57
  }
57
58
  }
58
- export const NoImage = {
59
+ export const BaseStory = {
60
+ name: 'No Image',
59
61
  args: {
60
62
  ...BaseImagePlaceholderData,
61
63
  BaseImageProps: {
@@ -4,7 +4,7 @@ export default {
4
4
  component: BaseLink,
5
5
  parameters: {
6
6
  slots: {
7
- default: 'Default slot content'
7
+ default: 'BaseStory slot content'
8
8
  }
9
9
  },
10
10
  argTypes: {
@@ -27,7 +27,8 @@ export const BaseLinkData = {
27
27
  }
28
28
 
29
29
  // stories
30
- export const Primary = {
30
+ export const BaseStory = {
31
+ name: 'Primary',
31
32
  args: { ...BaseLinkData }
32
33
  }
33
34
 
@@ -71,8 +71,8 @@ export const BaseModalDialogData = {
71
71
  }
72
72
 
73
73
  // stories
74
- export const Default = BaseModalTemplate.bind({})
75
- Default.args = { ...BaseModalData }
74
+ export const BaseStory = BaseModalTemplate.bind({})
75
+ BaseStory.args = { ...BaseModalData }
76
76
 
77
77
  export const CustomTrigger = BaseModalWithTriggerTemplate.bind({})
78
78
  CustomTrigger.args = { ...BaseModalData }
@@ -24,6 +24,6 @@ const BasePlaceholderTemplate = (args) => ({
24
24
  template: `<div><BasePlaceholder /></div>`
25
25
  })
26
26
 
27
- export const Base = BasePlaceholderTemplate.bind({})
28
- Base.storyName = 'BasePlaceholder' // single story hoisting
29
- Base.args = { ...BasePlaceholderData }
27
+ export const BaseStory = BasePlaceholderTemplate.bind({})
28
+ BaseStory.storyName = 'BasePlaceholder' // single story hoisting
29
+ BaseStory.args = { ...BasePlaceholderData }
@@ -0,0 +1,47 @@
1
+ import BaseRadioGroup from './BaseRadioGroup.vue'
2
+
3
+ export default {
4
+ title: 'Components/Base/BaseRadioGroup',
5
+ component: BaseRadioGroup,
6
+ parameters: {
7
+ docs: {
8
+ description: {
9
+ component:
10
+ 'The BaseRadioGroup component is expected to contain an array of options and a grouping name with the goal of selecting a single option.'
11
+ }
12
+ }
13
+ }
14
+ }
15
+
16
+ // stories
17
+ export const BaseStory = {
18
+ args: {
19
+ options: [
20
+ {
21
+ id: 'breaking',
22
+ title: 'Breaking News',
23
+ text: 'All JPL News delivered immediately'
24
+ },
25
+ {
26
+ id: 'daily',
27
+ title: 'Daily News',
28
+ text: 'Single Daily JPL News summary'
29
+ },
30
+ {
31
+ id: 'weekly',
32
+ title: 'Weekly News',
33
+ text: 'Single Weekly JPL News summary'
34
+ },
35
+ {
36
+ id: 'monthly',
37
+ title: 'Monthly News',
38
+ text: 'Monthly Digest for JPL News'
39
+ }
40
+ ],
41
+ group: 'email',
42
+ preselected: 'breaking',
43
+ heading: 'JPL Forms',
44
+ subHeading: 'Choose how frequently you want to receive updates (opt out anytime):',
45
+ title: 'Email Groups'
46
+ }
47
+ }
@@ -0,0 +1,45 @@
1
+ import BaseSwimlane from './BaseSwimlane.vue'
2
+
3
+ export default {
4
+ title: 'Components/Base/BaseSwimlane',
5
+ component: BaseSwimlane,
6
+ excludeStories: /.*Data$/,
7
+ parameters: {
8
+ docs: {
9
+ description: {
10
+ component: `The BaseSwimlane component is expected to contain an array of words to create a 'swimlane' effect as the text swims through.`
11
+ }
12
+ }
13
+ }
14
+ }
15
+
16
+ export const BaseSwimlaneData = {
17
+ words: [
18
+ 'Artists',
19
+ 'Communicators',
20
+ 'Designers',
21
+ 'Disruptors',
22
+ 'Dreamers',
23
+ 'Educators',
24
+ 'Engineers',
25
+ 'Innovators',
26
+ 'Inventors',
27
+ 'Makers',
28
+ 'Problem Solvers',
29
+ 'Roboticists',
30
+ 'Scientists',
31
+ 'Software Engineers',
32
+ 'Thinkers',
33
+ 'Visualizers'
34
+ ],
35
+ rows: 9,
36
+ scale: 2,
37
+ transition: 'ease-out',
38
+ transitionDuration: 1800,
39
+ transitionDelay: 800
40
+ }
41
+
42
+ // stories
43
+ export const BaseStory = {
44
+ args: BaseSwimlaneData
45
+ }
@@ -19,7 +19,7 @@ export default {
19
19
  },
20
20
  parameters: {
21
21
  slots: {
22
- default: 'Default slot'
22
+ default: 'BaseStory slot'
23
23
  }
24
24
  }
25
25
  }
@@ -5,7 +5,8 @@ export default {
5
5
  component: BaseTimer
6
6
  }
7
7
 
8
- export const FullDateTime = {
8
+ export const BaseStory = {
9
+ name: 'Full Date Time',
9
10
  args: {
10
11
  targetDateTime: '2011-11-26 15:02:21+01:00',
11
12
  selectedUnits: ['years', 'months', 'days', 'hours', 'minutes', 'seconds'],
@@ -42,7 +42,8 @@ Imperial.args = {
42
42
  valueSystem: 'imperial'
43
43
  }
44
44
 
45
- export const Metric = {
45
+ export const BaseStory = {
46
+ name: 'Metric',
46
47
  args: {
47
48
  unitPair: 'MI_KM',
48
49
  value: 999999,
@@ -22,7 +22,7 @@ export const BaseVideoData = {
22
22
  width: null
23
23
  }
24
24
 
25
- export const Base = {
25
+ export const BaseStory = {
26
26
  args: {
27
27
  data: BaseVideoData
28
28
  }
@@ -26,4 +26,4 @@ export const BlockAudioData = {
26
26
  type: 'audio'
27
27
  }
28
28
  }
29
- export const Base = { name: 'BlockAudio', args: { data: BlockAudioData } }
29
+ export const BaseStory = { name: 'BlockAudio', args: { data: BlockAudioData } }
@@ -31,4 +31,4 @@ export const BlockCardData = {
31
31
  }
32
32
  }
33
33
 
34
- export const Item = { name: 'BlockCard', args: BlockCardData }
34
+ export const BaseStory = { name: 'BlockCard', args: BlockCardData }
@@ -65,7 +65,7 @@ export const BlockCardGroupData = [
65
65
  }
66
66
  ]
67
67
 
68
- export const Group = {
68
+ export const BaseStory = {
69
69
  name: 'BlockCardGroup',
70
70
  args: { facts: BlockCardGroupData }
71
71
  }
@@ -45,7 +45,7 @@ export const BlockCircleImageCardData = {
45
45
  icon: true
46
46
  }
47
47
 
48
- export const Default = {
48
+ export const BaseStory = {
49
49
  args: {
50
50
  ...BlockCircleImageCardData,
51
51
  icon: false
@@ -17,7 +17,7 @@ export const BlockCtaData = {
17
17
  externalLink: ''
18
18
  }
19
19
 
20
- export const Default = {
20
+ export const BaseStory = {
21
21
  args: {
22
22
  data: BlockCtaData
23
23
  }
@@ -14,7 +14,7 @@ export const BlockHeadingData = {
14
14
  }
15
15
 
16
16
  // stories
17
- export const Heading = {
17
+ export const BaseStory = {
18
18
  name: 'BlockHeading',
19
19
  args: {
20
20
  data: BlockHeadingData
@@ -25,7 +25,7 @@ export const BlockIframeEmbedData = {
25
25
  url: `https://eyes.nasa.gov/apps/orrery/#/sc_perseverance`
26
26
  }
27
27
 
28
- export const Default = {
28
+ export const BaseStory = {
29
29
  args: {
30
30
  data: BlockIframeEmbedData
31
31
  }
@@ -84,8 +84,9 @@ const BlockImageTemplate = (args) => ({
84
84
  <BlockImage v-bind="args" />`
85
85
  })
86
86
 
87
- export const Standard = BlockImageTemplate.bind({})
88
- Standard.args = {
87
+ export const BaseStory = BlockImageTemplate.bind({})
88
+ BaseStory.storyName = 'Standard'
89
+ BaseStory.args = {
89
90
  data: BlockImageData,
90
91
  fullBleed: BlockImageData.fullBleed
91
92
  }
@@ -98,7 +98,7 @@ export const BlockImageCarouselData = [
98
98
  ]
99
99
 
100
100
  // stories
101
- export const Carousel = {
101
+ export const BaseStory = {
102
102
  name: 'BlockImageCarousel',
103
103
  args: {
104
104
  blockId: 'ev106po56n',
@@ -51,7 +51,7 @@ export const BlockImageCarouselItemData = {
51
51
  }
52
52
  }
53
53
 
54
- export const SingleItem = {
54
+ export const BaseStory = {
55
55
  name: 'BlockImageCarouselItem',
56
56
  args: {
57
57
  image: BlockImageCarouselItemData.item.image,
@@ -38,7 +38,7 @@ export const BlockImageComparisonData = {
38
38
  }
39
39
 
40
40
  // stories
41
- export const Comparison = {
41
+ export const BaseStory = {
42
42
  name: 'BlockImageComparison',
43
43
  args: {
44
44
  data: BlockImageComparisonData
@@ -49,7 +49,7 @@ export const ImageGalleryData = {
49
49
  items: BlockImageCarouselData.slice(1)
50
50
  }
51
51
 
52
- export const Gallery = {
52
+ export const BaseStory = {
53
53
  name: 'BlockImageGallery',
54
54
  args: ImageGalleryData
55
55
  }
@@ -28,7 +28,8 @@ export const BlockInlineImageData = {
28
28
  }
29
29
  }
30
30
 
31
- export const AlignRight = {
31
+ export const BaseStory = {
32
+ name: 'Align Right',
32
33
  args: { data: BlockInlineImageData.block }
33
34
  }
34
35
 
@@ -20,7 +20,7 @@ export const BlockKeyPointsData = {
20
20
  }
21
21
 
22
22
  // stories
23
- export const KeyPoints = {
23
+ export const BaseStory = {
24
24
  name: 'BlockKeyPoints',
25
25
  args: {
26
26
  data: BlockKeyPointsData
@@ -50,7 +50,8 @@ export const BlockLinkCardData = {
50
50
  compact: false
51
51
  }
52
52
 
53
- export const SingleItem = {
53
+ export const BaseStory = {
54
+ name: 'Single Item',
54
55
  args: {
55
56
  ...BlockLinkCardData
56
57
  }
@@ -169,7 +169,8 @@ const BlockLinkCarouselMultipleTemplate = (args) => ({
169
169
  })
170
170
 
171
171
  // stories
172
- export const CardCarousel = {
172
+ export const BaseStory = {
173
+ name: 'Card Carousel',
173
174
  args: {
174
175
  itemType: 'cards',
175
176
  heading: 'Related Pages',
@@ -45,7 +45,8 @@ export const BlockLinkTileData = {
45
45
  }
46
46
  }
47
47
 
48
- export const SingleItem = {
48
+ export const BaseStory = {
49
+ name: 'Single Item',
49
50
  args: {
50
51
  data: BlockLinkTileData.card,
51
52
  headingLevel: 'h2',
@@ -61,7 +61,7 @@ export const BlockListCardsData = {
61
61
  }
62
62
 
63
63
  // stories
64
- export const Default = {
64
+ export const BaseStory = {
65
65
  name: 'BlockListCards',
66
66
  args: {
67
67
  data: BlockListCardsData
@@ -44,8 +44,8 @@ const BlockQuoteTemplate = (args) => ({
44
44
  template: `<BlockQuote v-bind="args" />`
45
45
  })
46
46
 
47
- export const Default = BlockQuoteTemplate.bind({})
48
- Default.args = {
47
+ export const BaseStory = BlockQuoteTemplate.bind({})
48
+ BaseStory.args = {
49
49
  data: {
50
50
  quote: BlockQuoteData.quote,
51
51
  attribution: BlockQuoteData.attribution,
@@ -52,7 +52,7 @@ export const BlockRelatedLinksData = {
52
52
  }
53
53
  }
54
54
 
55
- export const Default = {
55
+ export const BaseStory = {
56
56
  name: 'BlockRelatedLinks',
57
57
  args: {
58
58
  ...BlockRelatedLinksData
@@ -76,7 +76,7 @@ export const BlockStreamfieldData = {
76
76
  ]
77
77
  }
78
78
 
79
- export const Default = {
79
+ export const BaseStory = {
80
80
  args: { data: BlockStreamfieldData.body, variant: 'default' }
81
81
  }
82
82
 
@@ -12,7 +12,7 @@ export const BlockTableData = {
12
12
  "{'data': [['Header 1', 'Header 2', 'Header 3'], ['Lorem ipsum dolor sit amet', 'Lorem ipsum dolor sit amet', 'Lorem ipsum dolor sit amet'], [None, None, None]], 'cell': [], 'first_row_is_table_header': True, 'first_col_is_header': False, 'table_caption': 'Third row intentionally blank to test parsing.'}"
13
13
  }
14
14
 
15
- export const Table = {
15
+ export const BaseStory = {
16
16
  name: 'BlockTable',
17
17
  args: {
18
18
  data: BlockTableData
@@ -50,7 +50,7 @@ export const BlockTeaserData = {
50
50
  ]
51
51
  }
52
52
 
53
- export const Default = {
53
+ export const BaseStory = {
54
54
  args: {
55
55
  ...BlockTeaserData
56
56
  }
@@ -12,7 +12,7 @@ export default {
12
12
  }
13
13
  }
14
14
 
15
- export const Default = {
15
+ export const BaseStory = {
16
16
  name: 'BlockText',
17
17
  args: {
18
18
  variant: 'large',
@@ -11,7 +11,7 @@ export const BlockTwitterEmbedData = {
11
11
  username: 'NASAJPL'
12
12
  }
13
13
 
14
- export const List = {
14
+ export const BaseStory = {
15
15
  name: 'BlockTwitterEmbed',
16
16
  args: {
17
17
  data: BlockTwitterEmbedData
@@ -17,7 +17,7 @@ export const BlockVideoData = {
17
17
  }
18
18
  }
19
19
 
20
- export const Default = {
20
+ export const BaseStory = {
21
21
  name: 'BlockVideo',
22
22
  args: { data: BlockVideoData.block }
23
23
  }
@@ -17,4 +17,4 @@ export const BlockVideoEmbedData = {
17
17
  }
18
18
  }
19
19
 
20
- export const Default = { name: 'BlockVideoEmbed', args: { data: BlockVideoEmbedData.data } }
20
+ export const BaseStory = { name: 'BlockVideoEmbed', args: { data: BlockVideoEmbedData.data } }