@explorer-1/vue 0.3.0 → 0.3.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 (411) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +55 -5
  3. package/package.json +6 -3
  4. package/src/components/BaseCarousel/BaseCarousel.vue +1 -1
  5. package/src/components/BasePill/BasePill.stories.js +16 -7
  6. package/src/components/BaseTimer/BaseTimer.stories.js +6 -1
  7. package/src/components/BaseTimer/BaseTimer.vue +6 -2
  8. package/src/components/BaseVideo/BaseVideo.vue +1 -0
  9. package/src/components/BlockDialog/BlockDialog.stories.mdx +1 -1
  10. package/src/components/BlockIframeEmbed/BlockIframeEmbed.vue +2 -1
  11. package/src/components/BlockImageCarousel/BlockImageCarousel.vue +1 -1
  12. package/src/components/BlockLinkCard/BlockLinkCard.stories.js +6 -0
  13. package/src/components/BlockStreamfield/BlockStreamfield.stories.js +2 -7
  14. package/src/components/HeroLarge/HeroLarge.vue +1 -0
  15. package/src/components/HeroMedium/HeroMedium.vue +1 -0
  16. package/src/components/MetadataEduResource/MetadataEduResource.stories.js +1 -0
  17. package/src/components/MixinCarousel/MixinCarousel.docs.mdx +2 -2
  18. package/src/components/MixinCarousel/MixinCarousel.vue +17 -1
  19. package/src/components/MixinVideoBg/MixinVideoBg.vue +1 -0
  20. package/src/components/NavDesktopEdu/NavDesktopEdu.stories.js +1 -0
  21. package/src/components/RoboticsDetailStats/RoboticsDetailStats.vue +1 -0
  22. package/src/components/SearchResultCard/SearchResultCard.stories.js +1 -0
  23. package/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.js +1 -0
  24. package/src/components/SwimlaneCTA/SwimlaneCTA.vue +1 -0
  25. package/src/components/TimelineDialog/TimelineDialog.stories.mdx +1 -1
  26. package/src/docs/foundation/color.docs.mdx +1 -1
  27. package/src/docs/foundation/grid.docs.mdx +1 -1
  28. package/src/docs/foundation/grid_layouthelpers.docs.mdx +1 -1
  29. package/src/docs/foundation/themes.docs.mdx +1 -1
  30. package/src/docs/foundation/typography.docs.mdx +1 -1
  31. package/src/docs/foundation/typography.stories.js +1 -1
  32. package/src/docs/getting-started/designer.docs.mdx +1 -1
  33. package/src/docs/getting-started/developer.docs.mdx +3 -25
  34. package/src/docs/guides/accessibility.docs.mdx +1 -1
  35. package/src/docs/guides/responsive.docs.mdx +1 -1
  36. package/src/docs/introduction.docs.mdx +29 -1
  37. package/src/docs/overviews/base.docs.mdx +1 -1
  38. package/src/docs/overviews/blocks.docs.mdx.disabled +1 -1
  39. package/src/docs/overviews/cards.docs.mdx +1 -1
  40. package/src/docs/overviews/components.docs.mdx +1 -1
  41. package/src/docs/overviews/forms.docs.mdx +1 -1
  42. package/src/docs/overviews/global.docs.mdx +1 -1
  43. package/src/docs/overviews/global_footers.docs.mdx +1 -1
  44. package/src/docs/overviews/global_headers.docs.mdx +1 -1
  45. package/src/docs/overviews/heroes.docs.mdx +1 -1
  46. package/src/docs/overviews/mixins.docs.mdx +1 -1
  47. package/src/docs/overviews/search.docs.mdx +1 -1
  48. package/src/docs/overviews/utilities.docs.mdx +1 -1
  49. package/src/docs/roadmap.docs.mdx +1 -1
  50. package/src/docs/utils/ComponentItem.jsx +1 -1
  51. package/src/templates/edu/PageContentEdu.stories.js +1 -0
  52. package/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.stories.js +1 -0
  53. package/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.js +1 -0
  54. package/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.js +1 -0
  55. package/src/templates/edu/PageEduGalleryDetail/PageEduGalleryDetail.stories.js +1 -0
  56. package/src/templates/edu/PageEduHome/PageEduHome.stories.js +1 -0
  57. package/src/templates/edu/PageEduLesson/PageEduLesson.stories.js +1 -15
  58. package/src/templates/edu/PageEduMultimediaDetail/PageEduMultimediaDetail.stories.js +1 -0
  59. package/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.js +1 -0
  60. package/src/templates/edu/PageEduStudentProject/PageEduStudentProject.stories.js +1 -0
  61. package/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.stories.js +1 -0
  62. package/src/templates/www/PageTimeline/PageTimeline.vue +1 -0
  63. package/tailwind.config.js +3 -13
  64. package/dist/edu/.gitkeep +0 -0
  65. package/dist/edu/explorer-1/bg-stars-edu.png +0 -0
  66. package/dist/edu/explorer-1/bg-stars.jpg +0 -0
  67. package/dist/explorer-1/bg-stars-edu.png +0 -0
  68. package/dist/explorer-1/bg-stars.jpg +0 -0
  69. package/dist/explorer-1-vue.d.ts +0 -1
  70. package/dist/explorer-1-vue.js +0 -25799
  71. package/dist/explorer-1-vue.umd.cjs +0 -52
  72. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Artists.jpg +0 -0
  73. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Communicators.jpg +0 -0
  74. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Designers.jpg +0 -0
  75. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Disruptors.jpg +0 -0
  76. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Dreamers.jpg +0 -0
  77. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Educators.jpg +0 -0
  78. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Innovators.jpg +0 -0
  79. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Inventors.jpg +0 -0
  80. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Makers.jpg +0 -0
  81. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Problem_Solvers.jpg +0 -0
  82. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Robiticists.jpg +0 -0
  83. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Scientists.jpg +0 -0
  84. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Software_Engineers.jpg +0 -0
  85. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Thinkers.jpg +0 -0
  86. package/dist/img/SwimlaneCTA/backgroundImages/JPL_is__Visualizers.jpg +0 -0
  87. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Artists.jpg +0 -0
  88. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Communicators.jpg +0 -0
  89. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Designers.jpg +0 -0
  90. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Disruptors.jpg +0 -0
  91. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Dreamers.jpg +0 -0
  92. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Educators.jpg +0 -0
  93. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Innovators.jpg +0 -0
  94. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Inventors.jpg +0 -0
  95. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Makers.jpg +0 -0
  96. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Problem_Solvers.jpg +0 -0
  97. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Robiticists.jpg +0 -0
  98. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Scientists.jpg +0 -0
  99. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Software_Engineers.jpg +0 -0
  100. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Thinkers.jpg +0 -0
  101. package/dist/img/SwimlaneCTA/backgroundImagesSmall/JPL_is__Visualizers.jpg +0 -0
  102. package/dist/src/components/AboutTheAuthor/AboutTheAuthor.stories.d.ts +0 -30
  103. package/dist/src/components/AsteroidWatchWidget/AsteroidWatchWidget.stories.d.ts +0 -52
  104. package/dist/src/components/BackToTop/BackToTop.stories.d.ts +0 -145
  105. package/dist/src/components/BackToTop/BackToTop.vue.d.ts +0 -127
  106. package/dist/src/components/BaseAccordionItem/BaseAccordionItem.stories.d.ts +0 -99
  107. package/dist/src/components/BaseAccordionItem/BaseAccordionItem.vue.d.ts +0 -56
  108. package/dist/src/components/BaseAudio/BaseAudio.stories.d.ts +0 -24
  109. package/dist/src/components/BaseAudio/BaseAudio.vue.d.ts +0 -66
  110. package/dist/src/components/BaseButton/BaseButton.stories.d.ts +0 -167
  111. package/dist/src/components/BaseButton/BaseButton.vue.d.ts +0 -95
  112. package/dist/src/components/BaseCheckboxGroup/BaseCheckboxGroup.stories.d.ts +0 -24
  113. package/dist/src/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -63
  114. package/dist/src/components/BaseHeading/BaseHeading.stories.d.ts +0 -178
  115. package/dist/src/components/BaseHeading/BaseHeading.vue.d.ts +0 -33
  116. package/dist/src/components/BaseImage/BaseImage.stories.d.ts +0 -140
  117. package/dist/src/components/BaseImage/BaseImage.vue.d.ts +0 -85
  118. package/dist/src/components/BaseImageCaption/BaseImageCaption.stories.d.ts +0 -24
  119. package/dist/src/components/BaseImagePlaceholder/BaseImagePlaceholder.stories.d.ts +0 -89
  120. package/dist/src/components/BaseImagePlaceholder/BaseImagePlaceholder.vue.d.ts +0 -61
  121. package/dist/src/components/BaseLightboxCloseButton/BaseLightboxCloseButton.vue.d.ts +0 -7
  122. package/dist/src/components/BaseLightboxOpenButton/BaseLightboxOpenButton.vue.d.ts +0 -6
  123. package/dist/src/components/BaseLink/BaseLink.stories.d.ts +0 -56
  124. package/dist/src/components/BaseLink/BaseLink.vue.d.ts +0 -247
  125. package/dist/src/components/BaseModal/BaseModal.stories.d.ts +0 -994
  126. package/dist/src/components/BaseModal/BaseModal.vue.d.ts +0 -156
  127. package/dist/src/components/BaseModal/BaseModalDialog.vue.d.ts +0 -137
  128. package/dist/src/components/BasePill/BasePill.stories.d.ts +0 -65
  129. package/dist/src/components/BasePill/BasePill.vue.d.ts +0 -41
  130. package/dist/src/components/BasePlaceholder/BasePlaceholder.stories.d.ts +0 -25
  131. package/dist/src/components/BasePlaceholder/BasePlaceholder.vue.d.ts +0 -2
  132. package/dist/src/components/BaseRadioGroup/BaseRadioGroup.stories.d.ts +0 -28
  133. package/dist/src/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -74
  134. package/dist/src/components/BaseSwimlane/BaseSwimlane.stories.d.ts +0 -25
  135. package/dist/src/components/BaseSwimlane/BaseSwimlane.vue.d.ts +0 -85
  136. package/dist/src/components/BaseTimer/BaseTimer.stories.d.ts +0 -107
  137. package/dist/src/components/BaseTimer/BaseTimer.test.d.ts +0 -1
  138. package/dist/src/components/BaseTimer/BaseTimer.vue.d.ts +0 -88
  139. package/dist/src/components/BaseUnitToggle/BaseUnitToggle.stories.d.ts +0 -259
  140. package/dist/src/components/BaseUnitToggle/BaseUnitToggle.test.d.ts +0 -1
  141. package/dist/src/components/BaseUnitToggle/BaseUnitToggle.vue.d.ts +0 -83
  142. package/dist/src/components/BaseVideo/BaseVideo.stories.d.ts +0 -26
  143. package/dist/src/components/BaseVideo/BaseVideo.vue.d.ts +0 -79
  144. package/dist/src/components/BlockAccordion/BlockAccordion.stories.d.ts +0 -83
  145. package/dist/src/components/BlockAccordion/BlockAccordion.vue.d.ts +0 -51
  146. package/dist/src/components/BlockAnchor/BlockAnchor.vue.d.ts +0 -12
  147. package/dist/src/components/BlockAudio/BlockAudio.stories.d.ts +0 -34
  148. package/dist/src/components/BlockAudio/BlockAudio.vue.d.ts +0 -236
  149. package/dist/src/components/BlockCardGrid/BlockCardGrid.stories.d.ts +0 -111
  150. package/dist/src/components/BlockCardGridItem/BlockCardGridItem.stories.d.ts +0 -48
  151. package/dist/src/components/BlockCardGridItem/BlockCardGridItemElement.vue.d.ts +0 -221
  152. package/dist/src/components/BlockCircleImageCard/BlockCircleImageCard.stories.d.ts +0 -58
  153. package/dist/src/components/BlockCircleImageCard/BlockCircleImageCard.vue.d.ts +0 -224
  154. package/dist/src/components/BlockCta/BlockCta.stories.d.ts +0 -36
  155. package/dist/src/components/BlockCta/BlockCta.vue.d.ts +0 -117
  156. package/dist/src/components/BlockDialog/BlockDialog.stories.d.ts +0 -83
  157. package/dist/src/components/BlockGist/BlockGist.stories.d.ts +0 -19
  158. package/dist/src/components/BlockGist/BlockGist.vue.d.ts +0 -19
  159. package/dist/src/components/BlockGist/GitHub404.vue.d.ts +0 -2
  160. package/dist/src/components/BlockHeading/BlockHeading.stories.d.ts +0 -20
  161. package/dist/src/components/BlockHeading/BlockHeading.vue.d.ts +0 -67
  162. package/dist/src/components/BlockIframeEmbed/BlockIframeEmbed.stories.d.ts +0 -37
  163. package/dist/src/components/BlockImageCarousel/BlockImageCarousel.stories.d.ts +0 -61
  164. package/dist/src/components/BlockImageCarouselItem/BlockImageCarouselItem.stories.d.ts +0 -68
  165. package/dist/src/components/BlockImageComparison/BlockImageComparison.stories.d.ts +0 -46
  166. package/dist/src/components/BlockImageGallery/BlockImageGallery.stories.d.ts +0 -103
  167. package/dist/src/components/BlockInlineImage/BlockInlineImage.stories.d.ts +0 -73
  168. package/dist/src/components/BlockKeyPoints/BlockKeyPoints.stories.d.ts +0 -20
  169. package/dist/src/components/BlockKeyPoints/BlockKeyPoints.vue.d.ts +0 -96
  170. package/dist/src/components/BlockLinkCard/BlockLinkCard.stories.d.ts +0 -411
  171. package/dist/src/components/BlockLinkCard/BlockLinkCardCollectionLg.vue.d.ts +0 -47
  172. package/dist/src/components/BlockLinkCardList/BlockLinkCardList.stories.d.ts +0 -142
  173. package/dist/src/components/BlockLinkCardList/BlockLinkCardList.vue.d.ts +0 -30
  174. package/dist/src/components/BlockLinkTile/BlockLinkTile.stories.d.ts +0 -82
  175. package/dist/src/components/BlockListCards/BlockListCards.stories.d.ts +0 -57
  176. package/dist/src/components/BlockRelatedLinks/BlockRelatedLinks.stories.d.ts +0 -44
  177. package/dist/src/components/BlockRichTable/BlockRichTable.stories.d.ts +0 -204
  178. package/dist/src/components/BlockStreamfield/BlockStreamfield.stories.d.ts +0 -743
  179. package/dist/src/components/BlockTeaser/BlockTeaser.stories.d.ts +0 -61
  180. package/dist/src/components/BlockTeaser/BlockTeaser.test.d.ts +0 -1
  181. package/dist/src/components/BlockTeaser/BlockTeaser.vue.d.ts +0 -269
  182. package/dist/src/components/BlockText/BlockText.stories.d.ts +0 -53
  183. package/dist/src/components/BlockText/BlockText.vue.d.ts +0 -32
  184. package/dist/src/components/BlockVideo/BlockVideo.stories.d.ts +0 -23
  185. package/dist/src/components/BlockVideoEmbed/BlockVideoEmbed.stories.d.ts +0 -25
  186. package/dist/src/components/CalendarButton/CalendarButton.stories.d.ts +0 -19
  187. package/dist/src/components/CalendarButton/CalendarButton.vue.d.ts +0 -179
  188. package/dist/src/components/CalendarChip/CalendarChip.vue.d.ts +0 -36
  189. package/dist/src/components/DetailHeadline/DetailHeadline.stories.d.ts +0 -77
  190. package/dist/src/components/DsnWidget/DsnWidget.stories.d.ts +0 -29
  191. package/dist/src/components/EventDetailHero/EventDetailHero.stories.d.ts +0 -48
  192. package/dist/src/components/EventDetailHero/EventDetailHero.vue.d.ts +0 -234
  193. package/dist/src/components/FormContact/FormContact.stories.d.ts +0 -382
  194. package/dist/src/components/FormContact/FormContact.vue.d.ts +0 -369
  195. package/dist/src/components/FormNewsletterSignup/FormNewsletterSignup.stories.d.ts +0 -444
  196. package/dist/src/components/FormNewsletterSignup/FormNewsletterSignup.vue.d.ts +0 -431
  197. package/dist/src/components/HeroLarge/HeroLarge.stories.d.ts +0 -65
  198. package/dist/src/components/HeroLarge/HeroLarge.vue.d.ts +0 -135
  199. package/dist/src/components/HeroListingIndex/HeroListingIndex.stories.d.ts +0 -137
  200. package/dist/src/components/HeroMedia/HeroMedia.stories.d.ts +0 -173
  201. package/dist/src/components/HeroMedium/HeroMedium.stories.d.ts +0 -93
  202. package/dist/src/components/HeroMedium/HeroSmall.stories.d.ts +0 -91
  203. package/dist/src/components/HomepageCarousel/HomepageCarousel.stories.d.ts +0 -353
  204. package/dist/src/components/HomepageCarouselItem/HomepageCarouselItem.stories.d.ts +0 -57
  205. package/dist/src/components/HomepageEmbedBlock/HomepageEmbedBlock.stories.d.ts +0 -27
  206. package/dist/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.stories.d.ts +0 -94
  207. package/dist/src/components/HomepageFeaturedRobot/HomepageFeaturedRobot.vue.d.ts +0 -292
  208. package/dist/src/components/HomepageTeaserBlock/HomepageTeaserBlock.stories.d.ts +0 -80
  209. package/dist/src/components/HomepageTeaserBlock/HomepageTeaserBlockCardImage.vue.d.ts +0 -149
  210. package/dist/src/components/Icons/Icon360.vue.d.ts +0 -2
  211. package/dist/src/components/Icons/IconArrow.vue.d.ts +0 -2
  212. package/dist/src/components/Icons/IconArrows.vue.d.ts +0 -2
  213. package/dist/src/components/Icons/IconAudio.vue.d.ts +0 -2
  214. package/dist/src/components/Icons/IconBook.vue.d.ts +0 -2
  215. package/dist/src/components/Icons/IconBookUser.vue.d.ts +0 -2
  216. package/dist/src/components/Icons/IconBriefcase.vue.d.ts +0 -2
  217. package/dist/src/components/Icons/IconCalendar.vue.d.ts +0 -2
  218. package/dist/src/components/Icons/IconCaret.vue.d.ts +0 -2
  219. package/dist/src/components/Icons/IconCheckbox.vue.d.ts +0 -2
  220. package/dist/src/components/Icons/IconCheckboxSelected.vue.d.ts +0 -2
  221. package/dist/src/components/Icons/IconClose.vue.d.ts +0 -2
  222. package/dist/src/components/Icons/IconCloseLightbox.vue.d.ts +0 -2
  223. package/dist/src/components/Icons/IconDownload.vue.d.ts +0 -2
  224. package/dist/src/components/Icons/IconDropdown.vue.d.ts +0 -2
  225. package/dist/src/components/Icons/IconEnvelope.vue.d.ts +0 -2
  226. package/dist/src/components/Icons/IconExpand.vue.d.ts +0 -2
  227. package/dist/src/components/Icons/IconExternal.vue.d.ts +0 -2
  228. package/dist/src/components/Icons/IconFilter.vue.d.ts +0 -2
  229. package/dist/src/components/Icons/IconForwardTen.vue.d.ts +0 -2
  230. package/dist/src/components/Icons/IconGrid.vue.d.ts +0 -2
  231. package/dist/src/components/Icons/IconHand.vue.d.ts +0 -2
  232. package/dist/src/components/Icons/IconInfo.vue.d.ts +0 -2
  233. package/dist/src/components/Icons/IconLink.vue.d.ts +0 -2
  234. package/dist/src/components/Icons/IconList.vue.d.ts +0 -2
  235. package/dist/src/components/Icons/IconLocation.vue.d.ts +0 -2
  236. package/dist/src/components/Icons/IconMagnifyingGlass.vue.d.ts +0 -2
  237. package/dist/src/components/Icons/IconMedal.vue.d.ts +0 -2
  238. package/dist/src/components/Icons/IconMenu.vue.d.ts +0 -2
  239. package/dist/src/components/Icons/IconMinus.vue.d.ts +0 -2
  240. package/dist/src/components/Icons/IconMute.vue.d.ts +0 -2
  241. package/dist/src/components/Icons/IconNext.vue.d.ts +0 -2
  242. package/dist/src/components/Icons/IconPause.vue.d.ts +0 -2
  243. package/dist/src/components/Icons/IconPlay.vue.d.ts +0 -2
  244. package/dist/src/components/Icons/IconPlus.vue.d.ts +0 -2
  245. package/dist/src/components/Icons/IconPrev.vue.d.ts +0 -2
  246. package/dist/src/components/Icons/IconProfile.vue.d.ts +0 -2
  247. package/dist/src/components/Icons/IconRewindTen.vue.d.ts +0 -2
  248. package/dist/src/components/Icons/IconSearch.vue.d.ts +0 -2
  249. package/dist/src/components/Icons/IconShare.vue.d.ts +0 -2
  250. package/dist/src/components/Icons/IconSlideshow.vue.d.ts +0 -2
  251. package/dist/src/components/Icons/IconSocialEmail.vue.d.ts +0 -2
  252. package/dist/src/components/Icons/IconSocialFacebook.vue.d.ts +0 -2
  253. package/dist/src/components/Icons/IconSocialGoogleClassroom.vue.d.ts +0 -2
  254. package/dist/src/components/Icons/IconSocialInstagram.vue.d.ts +0 -2
  255. package/dist/src/components/Icons/IconSocialPinterest.vue.d.ts +0 -2
  256. package/dist/src/components/Icons/IconSocialReddit.vue.d.ts +0 -2
  257. package/dist/src/components/Icons/IconSocialTwitter.vue.d.ts +0 -2
  258. package/dist/src/components/Icons/IconSocialYoutube.vue.d.ts +0 -2
  259. package/dist/src/components/Icons/IconStop.vue.d.ts +0 -2
  260. package/dist/src/components/Icons/IconSubject.vue.d.ts +0 -2
  261. package/dist/src/components/Icons/IconTime.vue.d.ts +0 -2
  262. package/dist/src/components/Icons/IconUniversity.vue.d.ts +0 -2
  263. package/dist/src/components/Icons/IconUser.vue.d.ts +0 -2
  264. package/dist/src/components/Icons/IconVolume.vue.d.ts +0 -2
  265. package/dist/src/components/Icons/Icons.stories.d.ts +0 -509
  266. package/dist/src/components/ImageDetailContextImage/ImageDetailContextImage.vue.d.ts +0 -152
  267. package/dist/src/components/LayoutHelper/LayoutHelper.vue.d.ts +0 -33
  268. package/dist/src/components/LoadingTransition/LoadingTransition.vue.d.ts +0 -7
  269. package/dist/src/components/LogoCaltech/LogoCaltech.stories.d.ts +0 -41
  270. package/dist/src/components/LogoCaltech/LogoCaltech.vue.d.ts +0 -2
  271. package/dist/src/components/LogoTribrand/LogoTribrand.stories.d.ts +0 -111
  272. package/dist/src/components/LogoTribrand/LogoTribrand.vue.d.ts +0 -14
  273. package/dist/src/components/MetaPanel/MetaPanel.stories.d.ts +0 -58
  274. package/dist/src/components/MetaPanelItems/MetaPanelItems.stories.d.ts +0 -25
  275. package/dist/src/components/MetadataEduResource/MetadataEduResource.stories.d.ts +0 -59
  276. package/dist/src/components/MetadataEduResource/MetadataEduResource.vue.d.ts +0 -42
  277. package/dist/src/components/MetadataEvent/MetadataEvent.stories.d.ts +0 -32
  278. package/dist/src/components/MetadataEvent/MetadataEvent.vue.d.ts +0 -46
  279. package/dist/src/components/MissionDetailAbout/MissionDetailAbout.stories.d.ts +0 -27
  280. package/dist/src/components/MissionDetailAbout/MissionDetailAbout.vue.d.ts +0 -118
  281. package/dist/src/components/MissionDetailHero/MissionDetailHero.stories.d.ts +0 -417
  282. package/dist/src/components/MissionDetailHero/MissionDetailHero.vue.d.ts +0 -240
  283. package/dist/src/components/MissionDetailHighlights/MissionDetailHighlights.stories.d.ts +0 -282
  284. package/dist/src/components/MissionDetailInlineImage/MissionDetailInlineImage.stories.d.ts +0 -50
  285. package/dist/src/components/MissionDetailStats/DistanceStats.test.d.ts +0 -1
  286. package/dist/src/components/MissionDetailStats/DistanceStats.vue.d.ts +0 -170
  287. package/dist/src/components/MissionDetailStats/MissionDetailStats.stories.d.ts +0 -698
  288. package/dist/src/components/MissionDetailStats/MissionDetailStats.test.d.ts +0 -1
  289. package/dist/src/components/MissionDetailStats/MissionDetailStats.vue.d.ts +0 -302
  290. package/dist/src/components/MissionDetailStats/MissionDetailStatsMicro.vue.d.ts +0 -80
  291. package/dist/src/components/MissionDetailStats/MissionDetailStatsMini.vue.d.ts +0 -228
  292. package/dist/src/components/MissionDetailStreamfield/MissionDetailStreamfield.stories.d.ts +0 -76
  293. package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.stories.d.ts +0 -83
  294. package/dist/src/components/MixinAnimationCaret/MixinAnimationCaret.vue.d.ts +0 -64
  295. package/dist/src/components/MixinFancybox/MixinFancybox.vue.d.ts +0 -157
  296. package/dist/src/components/MixinFancybox/MixinFancyboxOpenButton.vue.d.ts +0 -4
  297. package/dist/src/components/MixinVideoBg/MixinVideoBg.stories.d.ts +0 -14
  298. package/dist/src/components/MixinVideoBg/MixinVideoBg.vue.d.ts +0 -12
  299. package/dist/src/components/NavDesktop/NavDesktopDropdown.vue.d.ts +0 -71
  300. package/dist/src/components/NavDropdownToggle/NavDropdownToggle.vue.d.ts +0 -40
  301. package/dist/src/components/NavHeading/NavHeading.stories.d.ts +0 -22
  302. package/dist/src/components/NavHighlight/NavHighlight.stories.d.ts +0 -43
  303. package/dist/src/components/NavJumpMenu/NavJumpMenu.stories.d.ts +0 -44
  304. package/dist/src/components/NavLinkList/NavLinkList.stories.d.ts +0 -39
  305. package/dist/src/components/NavSearchForm/NavSearchForm.stories.d.ts +0 -12
  306. package/dist/src/components/NavSearchForm/NavSearchForm.vue.d.ts +0 -38
  307. package/dist/src/components/NavSecondary/NavSecondary.stories.d.ts +0 -32
  308. package/dist/src/components/NavSocial/NavSocial.stories.d.ts +0 -178
  309. package/dist/src/components/NavSocial/NavSocial.vue.d.ts +0 -152
  310. package/dist/src/components/NewsDetailMediaContact/NewsDetailMediaContact.stories.d.ts +0 -36
  311. package/dist/src/components/NewsDetailMediaContact/NewsDetailMediaContact.test.d.ts +0 -1
  312. package/dist/src/components/NewsDetailMediaContact/NewsDetailMediaContact.vue.d.ts +0 -31
  313. package/dist/src/components/ParallaxContainer/ParallaxContainer.stories.d.ts +0 -91
  314. package/dist/src/components/ParallaxContainer/ParallaxContainer.vue.d.ts +0 -37
  315. package/dist/src/components/ParallaxElement/ParallaxElement.vue.d.ts +0 -23
  316. package/dist/src/components/PodcastSeriesCarousel/PodcastSeriesCarousel.stories.d.ts +0 -50
  317. package/dist/src/components/ProfileDetailSectionGroup/ProfileDetailSectionGroup.vue.d.ts +0 -86
  318. package/dist/src/components/RoboticsDetailStats/RoboticsDetailStats.stories.d.ts +0 -170
  319. package/dist/src/components/RoboticsDetailStats/RoboticsDetailStats.test.d.ts +0 -1
  320. package/dist/src/components/RoboticsDetailStats/RoboticsDetailStats.vue.d.ts +0 -87
  321. package/dist/src/components/RoboticsDetailStats/RoboticsDetailStatsMini.vue.d.ts +0 -85
  322. package/dist/src/components/SearchFilterGroup/SearchFilterGroup.stories.d.ts +0 -82
  323. package/dist/src/components/SearchFilterGroup/SearchFilterGroup.vue.d.ts +0 -190
  324. package/dist/src/components/SearchFilterGroupAccordionItem/SearchFilterGroupAccordionItem.vue.d.ts +0 -44
  325. package/dist/src/components/SearchInput/SearchInput.stories.d.ts +0 -42
  326. package/dist/src/components/SearchInput/SearchInput.vue.d.ts +0 -69
  327. package/dist/src/components/SearchPagination/SearchPagination.stories.d.ts +0 -68
  328. package/dist/src/components/SearchPagination/SearchPagination.vue.d.ts +0 -110
  329. package/dist/src/components/SearchResultCard/SearchResultCard.stories.d.ts +0 -99
  330. package/dist/src/components/SearchResultGridItem/SearchResultGridItem.stories.d.ts +0 -79
  331. package/dist/src/components/SearchResultsList/SearchResultsList.stories.d.ts +0 -404
  332. package/dist/src/components/SearchSelectMenu/SearchSelectMenu.stories.d.ts +0 -18
  333. package/dist/src/components/SearchSelectMenu/SearchSelectMenu.vue.d.ts +0 -39
  334. package/dist/src/components/ShareButtons/ShareButtons.stories.d.ts +0 -16
  335. package/dist/src/components/ShareButtons/ShareButtons.vue.d.ts +0 -134
  336. package/dist/src/components/ShareButtonsEdu/ShareButtonsEdu.stories.d.ts +0 -14
  337. package/dist/src/components/ShareButtonsEdu/ShareButtonsEdu.vue.d.ts +0 -16
  338. package/dist/src/components/SkipLink/SkipLink.stories.d.ts +0 -8
  339. package/dist/src/components/SkipLink/SkipLink.vue.d.ts +0 -98
  340. package/dist/src/components/SwimlaneCTA/SwimlaneCTA.stories.d.ts +0 -25
  341. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -30
  342. package/dist/src/components/TextArea/TextArea.vue.d.ts +0 -95
  343. package/dist/src/components/TextInput/TextInput.stories.d.ts +0 -33
  344. package/dist/src/components/TextInput/TextInput.vue.d.ts +0 -119
  345. package/dist/src/components/TheFooter/TheFooter.stories.d.ts +0 -87
  346. package/dist/src/components/TheFooter/TheFooterSignUp.vue.d.ts +0 -8
  347. package/dist/src/components/ThumbnailCarousel/ThumbnailCarousel.stories.d.ts +0 -32
  348. package/dist/src/components/TopicDetailMissionCarousel/TopicDetailMissionCarousel.stories.d.ts +0 -45
  349. package/dist/src/components/TopicDetailMissionCarouselItem/TopicDetailMissionCarouselItem.stories.d.ts +0 -37
  350. package/dist/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.stories.d.ts +0 -77
  351. package/dist/src/components/TopicDetailMissionSpotlight/TopicDetailMissionSpotlight.vue.d.ts +0 -325
  352. package/dist/src/components/TopicDetailMore/TopicDetailMoreVisibility.vue.d.ts +0 -8
  353. package/dist/src/components/TopicDetailMoreItem/TopicDetailMoreItem.stories.d.ts +0 -157
  354. package/dist/src/components/TopicDetailStreamfield/TopicDetailStreamfield.stories.d.ts +0 -95
  355. package/dist/src/components/YearTicker/YearTicker.stories.d.ts +0 -40
  356. package/dist/src/components/YearTicker/YearTicker.vue.d.ts +0 -17
  357. package/dist/src/constants.d.ts +0 -14
  358. package/dist/src/docs/foundation/grid.stories.d.ts +0 -69
  359. package/dist/src/docs/foundation/grid_layouthelpers.stories.d.ts +0 -194
  360. package/dist/src/docs/foundation/themes.stories.d.ts +0 -21
  361. package/dist/src/docs/foundation/typography.stories.d.ts +0 -92
  362. package/dist/src/docs/guides/responsive.stories.d.ts +0 -13
  363. package/dist/src/docs/utils/ComponentItem.d.ts +0 -2
  364. package/dist/src/docs/utils/ComponentList.d.ts +0 -2
  365. package/dist/src/interfaces.d.ts +0 -284
  366. package/dist/src/main.d.ts +0 -1
  367. package/dist/src/store/curatedGallery.d.ts +0 -6
  368. package/dist/src/store/header.d.ts +0 -20
  369. package/dist/src/store/search.d.ts +0 -10
  370. package/dist/src/store/theme.d.ts +0 -14
  371. package/dist/src/templates/PageAudioDetail/PageAudioDetail.stories.d.ts +0 -102
  372. package/dist/src/templates/PageContent/PageContent.stories.d.ts +0 -197
  373. package/dist/src/templates/PageEventDetail/PageEventDetail.stories.d.ts +0 -94
  374. package/dist/src/templates/PageImageDetail/PageImageDetail.stories.d.ts +0 -185
  375. package/dist/src/templates/PageNewsDetail/PageNewsDetail.stories.d.ts +0 -1843
  376. package/dist/src/templates/PageVideoDetail/PageVideoDetail.stories.d.ts +0 -56
  377. package/dist/src/templates/edu/PageContentEdu.stories.d.ts +0 -205
  378. package/dist/src/templates/edu/PageEduCollectionsDetail/PageEduCollectionsDetail.stories.d.ts +0 -124
  379. package/dist/src/templates/edu/PageEduEventDetail/PageEduEventDetail.stories.d.ts +0 -297
  380. package/dist/src/templates/edu/PageEduExplainerArticle/PageEduExplainerArticle.stories.d.ts +0 -446
  381. package/dist/src/templates/edu/PageEduGalleryDetail/PageEduGalleryDetail.stories.d.ts +0 -284
  382. package/dist/src/templates/edu/PageEduHome/PageEduHome.stories.d.ts +0 -70
  383. package/dist/src/templates/edu/PageEduLesson/PageEduLesson.stories.d.ts +0 -623
  384. package/dist/src/templates/edu/PageEduMultimediaDetail/PageEduMultimediaDetail.stories.d.ts +0 -359
  385. package/dist/src/templates/edu/PageEduNewsDetail/PageEduNewsDetail.stories.d.ts +0 -2094
  386. package/dist/src/templates/edu/PageEduStudentProject/PageEduStudentProject.stories.d.ts +0 -890
  387. package/dist/src/templates/edu/PageEduTeachableMoment/PageEduTeachableMoment.stories.d.ts +0 -412
  388. package/dist/src/templates/www/PageAsteroidWatchContent/PageAsteroidWatchContent.stories.d.ts +0 -99
  389. package/dist/src/templates/www/PageAsteroidWatchIndex/PageAsteroidWatchIndex.stories.d.ts +0 -645
  390. package/dist/src/templates/www/PageCuratedGallery/PageCuratedGallery.stories.d.ts +0 -142
  391. package/dist/src/templates/www/PageGoDirectory/PageGoDirectory.stories.d.ts +0 -56
  392. package/dist/src/templates/www/PageHomepage/PageHomepage.stories.d.ts +0 -705
  393. package/dist/src/templates/www/PageInfographicDetail/PageInfographicDetail.stories.d.ts +0 -41
  394. package/dist/src/templates/www/PageMaintenanceMode/PageMaintenanceMode.stories.d.ts +0 -14
  395. package/dist/src/templates/www/PageMissionDetail/PageMissionDetail.stories.d.ts +0 -875
  396. package/dist/src/templates/www/PagePodcast/PagePodcast.stories.d.ts +0 -115
  397. package/dist/src/templates/www/PagePodcastSeason/PagePodcastSeason.stories.d.ts +0 -84
  398. package/dist/src/templates/www/PagePressKitIndex/PagePressKitIndex.stories.d.ts +0 -64
  399. package/dist/src/templates/www/PageProfileDetail/PageProfileDetail.stories.d.ts +0 -60
  400. package/dist/src/templates/www/PageRoboticsDetail/PageRoboticsDetail.stories.d.ts +0 -256
  401. package/dist/src/templates/www/PageTimeline/PageTimeline.stories.d.ts +0 -339
  402. package/dist/src/templates/www/PageTopicDetail/PageTopicDetail.stories.d.ts +0 -297
  403. package/dist/src/utils/dayjs.d.ts +0 -2
  404. package/dist/src/utils/eventBus.d.ts +0 -1
  405. package/dist/src/utils/filters.d.ts +0 -4
  406. package/dist/src/utils/generateHash.d.ts +0 -1
  407. package/dist/src/utils/getHeadingId.d.ts +0 -1
  408. package/dist/src/utils/lookupContentType.d.ts +0 -3
  409. package/dist/src/utils/mixins.d.ts +0 -59
  410. package/dist/src/utils/rangeifyGrades.d.ts +0 -3
  411. package/dist/style.css +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @explorer-1/vue
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [165092c]
8
+ - @explorer-1/common@1.3.0
9
+
10
+ ## 0.3.1
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [230858f]
15
+ - @explorer-1/common@1.2.1
16
+
3
17
  ## 0.3.0
4
18
 
5
19
  ### Minor Changes
package/README.md CHANGED
@@ -1,9 +1,59 @@
1
- # Vue 3 + TypeScript + Vite
1
+ # @explorer-1/vue
2
2
 
3
- This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
3
+ [![npm](https://img.shields.io/npm/v/@explorer-1/vue)](https://npmjs.com/package/@explorer-1/vue)
4
4
 
5
- ## Recommended Setup
5
+ - [Prerequisites](#prerequisites)
6
+ - [Getting Started](#getting-started)
7
+ - [Configuration (Vite)](#configuration-vite)
8
+ - [Preloading Fonts](#preloading-fonts)
9
+ - [Using Components](#using-components)
6
10
 
7
- - [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur
11
+ ## Prerequisites
8
12
 
9
- - Use [vue-tsc](https://github.com/vuejs/language-tools/tree/master/packages/tsc) for performing the same type checking from the command line, or for generating d.ts files for SFCs.
13
+ - Recommended build tool: [Vite](https://vite.dev/)
14
+
15
+ ## Getting Started
16
+
17
+ Install `@explorer-1/vue` and `@explorer-1/common` with [npm](https://www.npmjs.com/) or similar:
18
+
19
+ ```bash
20
+ npm install --save @explorer-1/vue @explorer-1/common
21
+ ```
22
+
23
+ Install secondary dependencies:
24
+
25
+ - @tailwindcss/forms
26
+ - click-outside-vue3
27
+ - dayjs
28
+ - mitt
29
+ - swiper
30
+ - vue
31
+ - vue-bind-once
32
+ - vue3-compare-image
33
+ - vue3-observe-visibility
34
+
35
+ ```bash
36
+ npm install --save @tailwindcss/forms click-outside-vue3 dayjs mitt swiper vue vue-bind-once vue3-compare-image vue3-observe-visibility
37
+ ```
38
+
39
+ ### Configuration (Vite)
40
+
41
+ View files in the `@explorer-1/vue` package for examples on how to configure your Vue app with Vite.
42
+
43
+ - [vite.config.ts](./vite.config.ts)
44
+ - [postcss.config.js](./postcss.config.js)
45
+ - [tailwind.config.js](./tailwind.config.js)
46
+ - [index.html](./index.html) -- Vite entrypoint
47
+ - [main.ts](./src/main.ts) -- Vue app entrypoint
48
+ - [App.vue](./src/App.vue)
49
+
50
+ ### Preloading Fonts
51
+
52
+ In the example `App.vue`, `@explorer-1/vue/src/assets/scss/styles-with-fonts.scss` is the main SCSS include. However, if you need to preload your fonts separately, you can do so by including `./assets/scss/styles.scss` instead (excludes font declarations). You can then preload fonts using a dedicated stylesheet:
53
+
54
+ 1. Replace `@explorer-1/vue/src/assets/scss/styles-with-fonts.scss` with `@explorer-1/vue/src/assets/scss/styles.scss`
55
+ 2. Preload fonts with this dedicated stylesheet:`@explorer-1/common/dist/assets/css/font-face.css`
56
+
57
+ ## Using Components
58
+
59
+ Available components and usage guidance is documented in our [Storybook](https://nasa-jpl.github.io/explorer-1/).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -8,7 +8,7 @@
8
8
  "author": "DesignLab",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/nasa-jpl/explorer-1"
11
+ "url": "https://github.com/nasa-jpl/explorer-1/tree/main/packages/vue"
12
12
  },
13
13
  "type": "module",
14
14
  "prettier": "@explorer-1/prettier-config",
@@ -31,7 +31,7 @@
31
31
  "vue-bind-once": "^0.2.1",
32
32
  "vue3-compare-image": "^1.2.5",
33
33
  "vue3-observe-visibility": "^1.0.1",
34
- "@explorer-1/common": "1.2.0"
34
+ "@explorer-1/common": "1.3.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-vue": "^5.0.4",
@@ -46,6 +46,9 @@
46
46
  "vue-tsc": "^2.0.6",
47
47
  "@explorer-1/prettier-config": "1.0.0"
48
48
  },
49
+ "storybook": {
50
+ "url": "https://main--668c47cbeb95392cd79c3c0d.chromatic.com"
51
+ },
49
52
  "scripts": {
50
53
  "dev": "pnpm prepare && vite",
51
54
  "build": "pnpm prepare && vue-tsc && vite build",
@@ -35,7 +35,7 @@ import { defineComponent } from 'vue'
35
35
  import Swiper from 'swiper'
36
36
  import { A11y, Navigation } from 'swiper/modules'
37
37
  import type { SwiperOptions } from 'swiper/types'
38
- import swiperOptions from '@explorer-1/common/src/js/_swiperOptions'
38
+ import swiperOptions from '@explorer-1/common/src/js/vendors/_swiperOptions'
39
39
  import IconPrev from './../Icons/IconPrev.vue'
40
40
  import IconNext from './../Icons/IconNext.vue'
41
41
  import BaseButton from './../BaseButton/BaseButton.vue'
@@ -1,4 +1,5 @@
1
1
  import BasePill from './BasePill.vue'
2
+ import { eduMetadataDictionary } from './../../constants'
2
3
 
3
4
  export default {
4
5
  title: 'Components/Base/BasePill',
@@ -15,20 +16,28 @@ export default {
15
16
  description: 'The size of the tag',
16
17
  control: { type: 'select' },
17
18
  options: ['sm', 'md', 'lg']
18
- }
19
- },
20
- parameters: {
21
- slots: {
22
- default: 'BaseStory slot'
19
+ },
20
+ contentType: {
21
+ control: { type: 'select' },
22
+ options: Object.keys(eduMetadataDictionary)
23
23
  }
24
24
  }
25
25
  }
26
26
 
27
27
  // stories
28
28
  export const PrimaryMedium = {
29
- args: { size: 'md', variant: 'primary', default: 'Psyche Asteroid' }
29
+ args: {
30
+ size: 'md',
31
+ variant: 'primary',
32
+ text: 'Psyche Asteroid',
33
+ contentType: 'EDULessonPage'
34
+ }
30
35
  }
31
36
 
32
37
  export const SecondarySmall = {
33
- args: { size: 'sm', variant: 'secondary', default: 'Do it yourself' }
38
+ args: { size: 'sm', variant: 'secondary', text: 'Do it yourself' }
39
+ }
40
+
41
+ export const WithType = {
42
+ args: { size: 'sm', variant: 'secondary', text: 'Do it yourself' }
34
43
  }
@@ -2,7 +2,12 @@ import BaseTimer from './BaseTimer.vue'
2
2
 
3
3
  export default {
4
4
  title: 'Components/Base/BaseTimer',
5
- component: BaseTimer
5
+ component: BaseTimer,
6
+ decorators: [
7
+ () => ({
8
+ template: `<div id="storyDecorator" class="w-full"><story/></div>`
9
+ })
10
+ ]
6
11
  }
7
12
 
8
13
  export const BaseStory = {
@@ -1,9 +1,10 @@
1
1
  <template>
2
2
  <component
3
3
  :is="diff ? 'time' : 'div'"
4
- class="BaseTimer whitespace-nowrap"
4
+ class="BaseTimer whitespace-nowrap block"
5
5
  :datetime="diff ? diff.toISOString() : null"
6
6
  :class="{ '-inline': inline }"
7
+ data-chromatic="ignore"
7
8
  >
8
9
  <span :hidden="!!diff">Loading…</span>
9
10
  <span
@@ -40,7 +41,10 @@
40
41
  <template v-else>{{ unitValue(unit) }}</template>
41
42
  </span>
42
43
  <br v-if="!inline" />
43
- <span class="unit text-body-xs uppercase">
44
+ <span
45
+ class="unit text-body-xs uppercase"
46
+ data-chromatic="ignore"
47
+ >
44
48
  {{ shortLabel(unit) }}
45
49
  </span>
46
50
  </span>
@@ -14,6 +14,7 @@
14
14
  :muted="autoplay"
15
15
  :playsinline="autoplay"
16
16
  :autoplay="autoplay"
17
+ data-chromatic="ignore"
17
18
  controls
18
19
  >
19
20
  <template v-if="data.fileWebm">
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/addon-docs'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './BlockDialog.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -12,6 +12,7 @@
12
12
  :height="data.height"
13
13
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
14
14
  allowfullscreen
15
+ data-chromatic="ignore"
15
16
  ></iframe>
16
17
  </template>
17
18
  <template v-else>
@@ -29,10 +30,10 @@
29
30
  class="w-full border-none"
30
31
  :title="data.title"
31
32
  :src="data.url"
32
- data-chromatic="ignore"
33
33
  width="90%"
34
34
  allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
35
35
  allowfullscreen
36
+ data-chromatic="ignore"
36
37
  ></iframe>
37
38
  </div>
38
39
  </BaseImagePlaceholder>
@@ -60,7 +60,7 @@
60
60
  </div>
61
61
  </template>
62
62
  <script lang="ts">
63
- import swiperOptions from '@explorer-1/common/src/js/_swiperOptions'
63
+ import swiperOptions from '@explorer-1/common/src/js/vendors/_swiperOptions'
64
64
  import Swiper from 'swiper'
65
65
  import { A11y, Navigation } from 'swiper/modules'
66
66
  import type { SwiperOptions } from 'swiper/types'
@@ -181,6 +181,7 @@ export const EduLesson = {
181
181
  template: `<div id="storyDecorator" class="relative grid grid-cols-2 gap-3"><story/></div>`
182
182
  })
183
183
  ],
184
+ globals: { theme: 'ThemeEdu' },
184
185
  args: {
185
186
  ...BlockLinkCardData,
186
187
  size: 'sm',
@@ -210,6 +211,7 @@ export const EduExplainerArticle = {
210
211
  template: `<div id="storyDecorator" class="relative grid grid-cols-2 gap-3"><story/></div>`
211
212
  })
212
213
  ],
214
+ globals: { theme: 'ThemeEdu' },
213
215
  args: {
214
216
  ...BlockLinkCardData,
215
217
  data: {
@@ -234,6 +236,7 @@ export const EduExplainerArticle = {
234
236
  }
235
237
  }
236
238
  export const LargeEduExplainerArticle = {
239
+ globals: { theme: 'ThemeEdu' },
237
240
  args: {
238
241
  ...BlockLinkCardData,
239
242
  size: 'lg',
@@ -260,6 +263,7 @@ export const LargeEduExplainerArticle = {
260
263
  }
261
264
 
262
265
  export const EduCollection = {
266
+ globals: { theme: 'ThemeEdu' },
263
267
  decorators: [
264
268
  () => ({
265
269
  template: `<div id="storyDecorator" class="relative grid grid-cols-2 gap-3"><story/></div>`
@@ -296,6 +300,7 @@ export const EduCollection = {
296
300
  }
297
301
  }
298
302
  export const EduCollectionLarge = {
303
+ globals: { theme: 'ThemeEdu' },
299
304
  args: {
300
305
  ...BlockLinkCardData,
301
306
  size: 'lg',
@@ -328,6 +333,7 @@ export const EduCollectionLarge = {
328
333
  }
329
334
 
330
335
  export const EduNewsItem = {
336
+ globals: { theme: 'ThemeEdu' },
331
337
  decorators: [
332
338
  () => ({
333
339
  template: `<div id="storyDecorator" class="relative grid grid-cols-2 gap-3"><story/></div>`
@@ -46,12 +46,7 @@ export const BlockStreamfieldMinimalData = {
46
46
  {
47
47
  blockType: 'RichTextBlock',
48
48
  value:
49
- '<p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit. Quisque vitae justo quis justo malesuada molestie. Cras sed tincidunt dui.</p><h2 data-block-key="cba9u">A heading in BlockText</h2><p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit.</p><h3 data-block-key="ujfka8">A heading in BlockText</h3><p>Quisque vitae justo quis justo malesuada molestie.</p><h2 data-block-key="ujfka8">A heading in BlockText</h2><p>Cras sed tincidunt dui.</p>\n'
50
- },
51
- {
52
- blockType: 'RichTextBlock',
53
- value:
54
- '<p>Integer imperdiet blandit neque vitae euismod. Nulla aliquet lacus nibh, vel tincidunt urna efficitur non. In et eros vitae ex posuere maximus quis eget urna. Suspendisse fringilla posuere velit sit amet posuere. Morbi malesuada bibendum vehicula. Donec faucibus ut erat ut mattis. Suspendisse ornare, quam at placerat cursus, dolor mi lacinia nunc, eget maximus augue nulla in dolor.</p>\n'
49
+ '<p>Integer imperdiet blandit neque vitae euismod. Nulla aliquet lacus nibh, vel tincidunt urna efficitur non. In et eros vitae ex posuere maximus quis eget urna. Suspendisse fringilla posuere velit sit amet posuere.</p>\n'
55
50
  }
56
51
  ]
57
52
  }
@@ -61,7 +56,7 @@ export const BlockStreamfieldTruncatedData = {
61
56
  {
62
57
  blockType: 'RichTextBlock',
63
58
  value:
64
- '<p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit. Quisque vitae justo quis justo malesuada molestie. Cras sed tincidunt dui.</p><h2 data-block-key="cba9u">A heading in BlockText</h2><p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit.</p><h3 data-block-key="ujfka8">A heading in BlockText</h3><p>Quisque vitae justo quis justo malesuada molestie.</p><h2 data-block-key="ujfka8">A heading in BlockText</h2><p>Cras sed tincidunt dui.</p>\n'
59
+ '<p>Lorem ipsum <a href="/missions/test-mission/">dolor</a> sit amet, consectetur adipiscing elit. Quisque vitae justo quis justo malesuada molestie. Cras sed tincidunt dui.</p>\n'
65
60
  },
66
61
  { ...BlockHeadingData, blockId: Math.random().toString(36).slice(2) },
67
62
  {
@@ -17,6 +17,7 @@
17
17
  :width="image.src.width"
18
18
  :height="image.src.height"
19
19
  :alt="image.alt"
20
+ data-chromatic="ignore"
20
21
  />
21
22
  </picture>
22
23
  </div>
@@ -27,6 +27,7 @@
27
27
  :width="theImage.src.width"
28
28
  :height="theImage.src.height"
29
29
  alt=""
30
+ data-chromatic="ignore"
30
31
  />
31
32
  </picture>
32
33
  </div>
@@ -11,6 +11,7 @@ export default {
11
11
  options: ['primary', 'secondary']
12
12
  }
13
13
  },
14
+ globals: { theme: 'ThemeEdu' },
14
15
  excludeStories: /.*Data$/
15
16
  }
16
17
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/addon-docs'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './MixinCarousel.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -30,4 +30,4 @@ And with a link using the `link` and `linkTitle` props:
30
30
 
31
31
  ## Used in the following components
32
32
 
33
- See [all usage in the repository](https://github.com/nasa-jpl/www-frontend/search?q=MixinCarousel&type=code).
33
+ See [all usage in the repository](https://github.com/nasa-jpl/explorer-1/search?q=MixinCarousel&type=code).
@@ -101,7 +101,7 @@ import { defineComponent } from 'vue'
101
101
  import Swiper from 'swiper'
102
102
  import { A11y, Navigation } from 'swiper/modules'
103
103
  import type { SwiperOptions } from 'swiper/types'
104
- import swiperOptions from '@explorer-1/common/src/js/_swiperOptions'
104
+ import swiperOptions from '@explorer-1/common/src/js/vendors/_swiperOptions'
105
105
 
106
106
  import IconPrev from './../Icons/IconPrev.vue'
107
107
  import IconNext from './../Icons/IconNext.vue'
@@ -196,11 +196,27 @@ export default defineComponent({
196
196
  sliderOptions: {
197
197
  ...MixinCarouselOptions,
198
198
  initialSlide: this.initialSlide,
199
+ watchSlidesProgress: true,
199
200
  a11y: {
200
201
  prevSlideMessage: this.heading ? this.heading + ' - Previous slide' : 'Previous slide',
201
202
  nextSlideMessage: this.heading ? this.heading + ' - Next slide' : 'Next slide',
202
203
  slideRole: 'link'
203
204
  },
205
+ on: {
206
+ ...MixinCarouselOptions.on,
207
+ progress(swiper) {
208
+ const classList = swiper.el.classList
209
+ classList.replace('opacity-0', 'opacity-100')
210
+ swiper.slides.forEach((slide) => {
211
+ if (slide.classList.contains('swiper-slide-fully-visible')) {
212
+ slide.setAttribute('aria-hidden', 'false')
213
+ slide.setAttribute('role', 'link')
214
+ } else {
215
+ slide.setAttribute('role', 'presentation')
216
+ }
217
+ })
218
+ }
219
+ },
204
220
  breakpoints: {
205
221
  ...MixinCarouselOptions.breakpoints,
206
222
  1024: {
@@ -8,6 +8,7 @@
8
8
  controls
9
9
  preload="auto"
10
10
  class="object-cover w-full h-full"
11
+ data-chromatic="ignore"
11
12
  >
12
13
  <source
13
14
  v-if="video.fileWebm"
@@ -161,6 +161,7 @@ export const NavDesktopData = {
161
161
 
162
162
  export const BaseStory = {
163
163
  name: 'NavDesktop',
164
+ globals: { theme: 'ThemeEdu' },
164
165
  args: {
165
166
  data: NavDesktopData,
166
167
  headerVisible: true,
@@ -55,6 +55,7 @@
55
55
  :src="animalAnalogIcon.src.url"
56
56
  width="160"
57
57
  height="160"
58
+ data-chromatic="ignore"
58
59
  alt=""
59
60
  />
60
61
  </picture>
@@ -66,6 +66,7 @@ export const PodcastEpisodeCard = {
66
66
  }
67
67
 
68
68
  export const EduEventCard = {
69
+ globals: { theme: 'ThemeEdu' },
69
70
  args: {
70
71
  ...SearchResultCardData,
71
72
  __typename: 'EDUEventPage',
@@ -7,6 +7,7 @@ export default {
7
7
 
8
8
  export const BaseStory = {
9
9
  name: 'ShareButtonsEdu',
10
+ globals: { theme: 'ThemeEdu' },
10
11
  args: {
11
12
  url: 'https://jpl.nasa.gov/edu/news/nasas-ingenuity-mars-helicopter-recharges-its-batteries-in-flight',
12
13
  title: "NASA's Ingenuity Mars Helicopter Recharges Its Batteries in Flight"
@@ -13,6 +13,7 @@
13
13
  v-bind-once="{ style: 'background-image: url(' + randomizeImage + ');' }"
14
14
  role="presentation"
15
15
  :class="'SwimlaneCTA lg:block hidden' + computedClass"
16
+ data-chromatic="ignore"
16
17
  >
17
18
  <div class="absolute inset-0 z-10 bg-black bg-opacity-25"></div>
18
19
  <div
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/addon-docs'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './TimelineDialog.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Foundations/Colors" />
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './grid.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './grid_layouthelpers.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './themes.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './typography.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -109,7 +109,7 @@ export const HeadingIcons = {
109
109
  export const TextContrast = {
110
110
  args: {},
111
111
  render: () => ({
112
- template: `<div style="background-image: url('https://picsum.photos/1000/400');" class="bg-cover bg-no-repeat bg-center">
112
+ template: `<div style="background-image: url('https://fastly.picsum.photos/id/1015/1000/40.jpg?hmac=fpUcZPtNEqNVb9cio8CwkUIBZKywJSfhaxdieF0Uxgk');" class="bg-cover bg-no-repeat bg-center">
113
113
  <div class="p-10 bg-black/30">
114
114
  <span class="text-h3 text-white text-contrast">
115
115
  This text uses a text shadow that increases readability when used with a semi-transparent overlay.
@@ -1,4 +1,4 @@
1
- import { Meta, Description } from '@storybook/blocks'
1
+ import { Meta, Description } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Getting Started/Designer" />
4
4
 
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Getting Started/Developer" />
4
4
 
@@ -39,29 +39,7 @@ Explorer 1 comprises components that range from very simple, single-purpose elem
39
39
 
40
40
  ### HTML templates
41
41
 
42
- HTML templates are provided by this Storybook in both Docs view and Canvas view. You can also modify the component "controls" to customize the component.
43
-
44
- #### How to copy HTML snippets from Docs view
45
-
46
- 1. Find the story block you want to copy.
47
- 2. In the bottom right corner of the block, click on "Show code".
48
- 3. In the bottom right corner of the now-visible code block, click on "Copy".
49
-
50
- <details className="pl-4 -mt-3 text-sm">
51
- <summary> <span className="font-medium border-b border-blue hover:border-gray-dark">Watch how to copy snippets from Docs view</span></summary>
52
-
53
- ![how to copy snippets from Docs view](./gif/html-storybook-simple.gif)
54
-
55
- </details>
56
-
57
- 4. You can customize the component by modifying the controls. The code will update to match.
58
-
59
- <details className="pl-4 -mt-3 text-sm">
60
- <summary> <span className="font-medium border-b border-blue hover:border-gray-dark">Watch how to customize a component</span></summary>
61
-
62
- ![how to customize a component](./gif/html-storybook-customized.gif)
63
-
64
- </details>
42
+ HTML templates are provided by this Storybook in Canvas view only. To customize component options, modify the component "controls."
65
43
 
66
44
  #### How to copy HTML snippets from Canvas view
67
45
 
@@ -71,7 +49,7 @@ Canvas view is useful to isolate your view to a single rendition of the componen
71
49
  2. Make sure addons (the tabbed pane under the rendered component) are enabled by clicking on the three dots to the right of the JPL logo and checking "Show addons", or by typing `A`. If you still don't see the addons pane, you may need to toggle "Change addons orientation" in the menu (or type `D`) a couple times.
72
50
  3. Click on the "HTML" tab within the addons pane.
73
51
  4. Click on "Copy" in the bottom right of the screen or manually copy and paste the code block.
74
- 5. You can also customize the component by modifying the controls in the "Controls" tab within the Add-ons viewer. The code will update to match.
52
+ 5. You can customize the component by modifying the controls in the "Controls" tab within the Add-ons viewer. The code will update to match.
75
53
 
76
54
  <details className="pl-4 text-sm">
77
55
  <summary> <span className="font-medium border-b border-blue hover:border-gray-dark">Watch how to copy snippets from Canvas view</span></summary>
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta
4
4
  title="Guides/Accessibility"
@@ -1,4 +1,4 @@
1
- import { Meta, Story, Canvas } from '@storybook/blocks'
1
+ import { Meta, Story, Canvas } from '@storybook/addon-docs/blocks'
2
2
  import * as Stories from './responsive.stories'
3
3
 
4
4
  <Meta of={Stories} />
@@ -1,4 +1,4 @@
1
- import { Meta, Description } from '@storybook/blocks'
1
+ import { Meta, Description } from '@storybook/addon-docs/blocks'
2
2
 
3
3
  <Meta title="Introduction" />
4
4
 
@@ -40,3 +40,31 @@ This website uses [Storybook](https://storybook.js.org/) to display our document
40
40
  ---
41
41
 
42
42
  Maintained by [DesignLab](https://www.behance.net/JPL-DesignLab)
43
+
44
+ <div>
45
+ <table
46
+ class="w-auto text-left"
47
+ style={{ width: 'unset' }}
48
+ >
49
+ <thead>
50
+ <tr class="text-left">
51
+ <th>Package</th>
52
+ <th>Version</th>
53
+ </tr>
54
+ </thead>
55
+ <tbody>
56
+ <tr>
57
+ <td>[@explorer-1/common](https://www.npmjs.com/package/@explorer-1/common)</td>
58
+ <td>
59
+ <code>{packageVersions.__VERSION__EXPLORER_1_COMMON__}</code>
60
+ </td>
61
+ </tr>
62
+ <tr>
63
+ <td>[@explorer-1/vue](https://www.npmjs.com/package/@explorer-1/vue)</td>
64
+ <td>
65
+ <code>{packageVersions.__VERSION__EXPLORER_1_VUE__}</code>
66
+ </td>
67
+ </tr>
68
+ </tbody>
69
+ </table>
70
+ </div>
@@ -1,4 +1,4 @@
1
- import { Meta } from '@storybook/blocks'
1
+ import { Meta } from '@storybook/addon-docs/blocks'
2
2
  import { ComponentList } from './../utils/ComponentList'
3
3
  import * as BaseButtonStories from './../../components/BaseButton/BaseButton.stories'
4
4
  import * as BaseHeadingStories from './../../components/BaseHeading/BaseHeading.stories'
@@ -1,5 +1,5 @@
1
1
  {/* TODO: refactor to include all blocks in the vue storybook */}
2
- import { Meta } from '@storybook/blocks'
2
+ import { Meta } from '@storybook/addon-docs/blocks'
3
3
  import { ComponentList } from './../utils/ComponentList'
4
4
  import _ as BlockAccordionStories from './../../components/BlockAccordion/BlockAccordion.stories'
5
5
  import _ as BlockCardGridStories from './../../components/BlockCardGrid/BlockCardGrid.stories'