luna-one 3.1.593 → 3.1.595

Sign up to get free protection for your applications and to get access to all the features.
Files changed (411) hide show
  1. package/dist/index.js +15 -294
  2. package/dist/luna/components/2x2/2x2.stories.js +456 -0
  3. package/dist/luna/components/2x2/2x2Documentation.mdx +77 -0
  4. package/dist/luna/components/Accordion/Accordion.stories.js +100 -0
  5. package/dist/luna/components/Accordion/AccordionDocumentation.mdx +46 -0
  6. package/dist/luna/components/AdminCategoryData/AdminCategoryData.stories.js +43 -0
  7. package/dist/luna/components/AdminCategoryData/CategoryTranslationData.js +4 -4
  8. package/dist/luna/components/AdminProductData/AdminProductData.js +4 -4
  9. package/dist/luna/components/AdminProductData/AdminProductData.stories.js +44 -0
  10. package/dist/luna/components/BlockListItems/BlockListItem.stories.js +2381 -0
  11. package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -0
  12. package/dist/luna/components/BrowserSupportBanner/BrowserSupportBrowser.stories.js +19 -0
  13. package/dist/luna/components/CTAButtons/CTAButtons.stories.js +142 -0
  14. package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -0
  15. package/dist/luna/components/Carousel/Carousel.stories.js +257 -0
  16. package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -0
  17. package/dist/luna/components/ComparisonTable/ComparisonTable.stories.js +608 -0
  18. package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -0
  19. package/dist/luna/components/CtaWithHeader/CTAHeaderText.stories.js +192 -0
  20. package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -0
  21. package/dist/luna/components/DataPoint/DataPoint.stories.js +235 -0
  22. package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -0
  23. package/dist/luna/components/EventCard/EventCard.js +3 -3
  24. package/dist/luna/components/EventCard/EventCard.stories.js +56 -0
  25. package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -0
  26. package/dist/luna/components/FilterHero/FilterHero.stories.js +129 -0
  27. package/dist/luna/components/FilterSection/FilterSection.stories.js +174 -0
  28. package/dist/luna/{other-organisms → components}/Flyout/Flyout.js +4 -5
  29. package/dist/luna/components/Flyout/Flyout.stories.js +216 -0
  30. package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -0
  31. package/dist/luna/components/Footer/Footer.stories.js +418 -0
  32. package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -0
  33. package/dist/{application → luna}/components/FooterHandler/FooterHandler.js +1 -1
  34. package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.stories.js +574 -0
  35. package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +94 -0
  36. package/dist/luna/components/HTMLEmbed/HTMLEmbed.stories.js +136 -0
  37. package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -0
  38. package/dist/luna/components/Header/Header.stories.js +75 -0
  39. package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -0
  40. package/dist/luna/components/IconTextList/IconTextList.stories.js +100 -0
  41. package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +46 -0
  42. package/dist/luna/components/ImageGallery/ImageGallery.stories.js +194 -0
  43. package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -0
  44. package/dist/luna/components/InPageJumpNav/InPageJumpNav.stories.js +104 -0
  45. package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +23 -0
  46. package/dist/luna/components/JobPosting/JobPosting.stories.js +76 -0
  47. package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -0
  48. package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.js +3 -4
  49. package/dist/luna/components/LanguageSelector/LanguageSelector.stories.js +128 -0
  50. package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +120 -0
  51. package/dist/luna/components/LinkList/LinkList.stories.js +170 -0
  52. package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -0
  53. package/dist/luna/components/LoadingSpinner/LoadingSpinner.stories.js +53 -0
  54. package/dist/luna/components/Login/Login.js +3 -4
  55. package/dist/luna/components/Login/Login.stories.js +86 -0
  56. package/dist/luna/components/MarketoForm/MarketoForm.stories.js +65 -0
  57. package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -0
  58. package/dist/luna/components/MegaMenu/MegaMenu.js +6 -7
  59. package/dist/luna/components/MegaMenu/menu-generators/FullSubMenu.js +1 -1
  60. package/dist/luna/components/MegaMenu/menu-generators/PartialSubMenu.js +4 -5
  61. package/dist/luna/components/MegaMenu/menu-generators/SubMenu.js +16 -14
  62. package/dist/luna/components/MegaMenu/menu-generators/TertiaryMenu.js +13 -11
  63. package/dist/luna/components/MegaMenu/menu-generators/UncollapsedLinks.js +4 -5
  64. package/dist/luna/components/MobileLogin/MobileLogin.js +3 -4
  65. package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.js +6 -6
  66. package/dist/luna/components/MobileMegaMenu/MobileMegaMenuCategory.js +9 -9
  67. package/dist/luna/components/MobileMegaMenu/MobileMegaMenuPartialCategory.js +3 -3
  68. package/dist/luna/components/MobileMegaMenu/MobileMegaMenuSubCategory.js +8 -9
  69. package/dist/luna/components/MobileNav/MobileNav.js +3 -4
  70. package/dist/luna/{other-organisms → components}/NavBar/NavMiniMenu.js +3 -4
  71. package/dist/luna/components/NavBar/NavigationBar.stories.js +2297 -0
  72. package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -0
  73. package/dist/luna/{other-organisms → components}/NavBar/UtilityNav.js +5 -5
  74. package/dist/{application → luna}/components/NavBarHandler/NavBarHandler.js +1 -1
  75. package/dist/luna/components/NavBarTop/NavBarTop.js +9 -10
  76. package/dist/luna/components/NavSearch/NavSearch.js +1 -1
  77. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.stories.js +118 -0
  78. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -0
  79. package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesMethods.js +1 -1
  80. package/dist/luna/components/OverlayNotice/OverlayNotice.stories.js +96 -0
  81. package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -0
  82. package/dist/luna/components/ProductSummary/ProductSummary.stories.js +163 -0
  83. package/dist/luna/components/ProductsPackage/ProductsPackage.stories.js +384 -0
  84. package/dist/luna/components/ProseLayout/ProseLayout.stories.js +187 -0
  85. package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -0
  86. package/dist/luna/components/PullQuote/PullQuote.stories.js +556 -0
  87. package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -0
  88. package/dist/luna/components/RegionCard/RegionCard.js +4 -4
  89. package/dist/luna/components/ResourceGrid/ResourceGrid.stories.js +765 -0
  90. package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -0
  91. package/dist/luna/components/ScrollInPlace/ScrollInPlace.stories.js +171 -0
  92. package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -0
  93. package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.stories.js +91 -0
  94. package/dist/luna/components/SlideOutFeat/SlideOutFeat.stories.js +32 -0
  95. package/dist/luna/components/StoreFrontCard/StoreFrontCard.js +1 -2
  96. package/dist/luna/components/StoreFrontCard/StoreFrontCard.stories.js +46 -0
  97. package/dist/luna/{other-organisms → components}/SubNav/SiblingsMenu.js +3 -3
  98. package/dist/luna/{other-organisms → components}/SubNav/SubNav.js +6 -7
  99. package/dist/luna/components/SuperHero/SuperHero.stories.js +806 -0
  100. package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -0
  101. package/dist/luna/components/SupportCard/SupportCard.stories.js +76 -0
  102. package/dist/luna/components/Tabs/Tabs.js +1 -2
  103. package/dist/luna/components/Tabs/Tabs.stories.js +585 -0
  104. package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -0
  105. package/dist/luna/components/TimeBasedList/TimeBasedList.stories.js +297 -0
  106. package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -0
  107. package/dist/luna/components/TrainerCard/TrainerCard.stories.js +39 -0
  108. package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.stories.js +69 -0
  109. package/dist/luna/components/VariableContentCard/VariableContentCard.js +4 -4
  110. package/dist/luna/components/Video/Video.stories.js +135 -0
  111. package/dist/luna/components/Video/VideoDocumentation.mdx +56 -0
  112. package/dist/luna/components/WaffleMenu/WaffleMenu.js +1 -1
  113. package/package.json +3 -3
  114. package/dist/application/components/HelmetHandler/HelmetHandler.js +0 -40
  115. package/dist/application/components/Loading/Loading.js +0 -22
  116. package/dist/application/components/Loading/Loading.scss +0 -10
  117. package/dist/application/components/Stack/Stack.js +0 -413
  118. package/dist/application/hooks/tests/useErrorPageData.test.js +0 -74
  119. package/dist/application/hooks/tests/useFetch.test.js +0 -70
  120. package/dist/application/hooks/tests/useFooterData.test.js +0 -106
  121. package/dist/application/hooks/tests/useFooterResponse.test.js +0 -70
  122. package/dist/application/hooks/tests/useFooterURL.test.js +0 -46
  123. package/dist/application/hooks/tests/useInnerPageNav.test.js +0 -36
  124. package/dist/application/hooks/tests/useLanguage.test.js +0 -57
  125. package/dist/application/hooks/tests/useLanguages.test.js +0 -133
  126. package/dist/application/hooks/tests/useMetadata.test.js +0 -33
  127. package/dist/application/hooks/tests/useNavResponse.test.js +0 -136
  128. package/dist/application/hooks/tests/useNavURL.test.js +0 -49
  129. package/dist/application/hooks/tests/usePageFetch.test.js +0 -203
  130. package/dist/application/hooks/tests/useRegions.test.js +0 -234
  131. package/dist/application/hooks/tests/useRoutes.test.js +0 -116
  132. package/dist/application/hooks/tests/useSiteData.test.js +0 -86
  133. package/dist/application/hooks/useErrorPageData.js +0 -59
  134. package/dist/application/hooks/useFetch.js +0 -67
  135. package/dist/application/hooks/useFooterData.js +0 -45
  136. package/dist/application/hooks/useFooterResponse.js +0 -56
  137. package/dist/application/hooks/useFooterURL.js +0 -32
  138. package/dist/application/hooks/useLanguage.js +0 -44
  139. package/dist/application/hooks/useLanguages.js +0 -66
  140. package/dist/application/hooks/useMetadata.js +0 -23
  141. package/dist/application/hooks/useNavData.js +0 -45
  142. package/dist/application/hooks/useNavResponse.js +0 -59
  143. package/dist/application/hooks/useNavURL.js +0 -41
  144. package/dist/application/hooks/usePageFetch.js +0 -109
  145. package/dist/application/hooks/useRegions.js +0 -149
  146. package/dist/application/hooks/useRoutes.js +0 -59
  147. package/dist/application/hooks/useScrollTo.js +0 -60
  148. package/dist/application/hooks/useSiteData.js +0 -58
  149. package/dist/application/methods/__mocks__/formatFooterDataMethods.js +0 -54
  150. package/dist/application/methods/formatContentSections.js +0 -130
  151. package/dist/application/methods/formatFooterDataMethods.js +0 -82
  152. package/dist/application/methods/formatMenuSiteData.js +0 -45
  153. package/dist/application/methods/formatMenus.js +0 -120
  154. package/dist/application/methods/locationRedirect.js +0 -16
  155. package/dist/application/methods/organismFormat/__mocks__/formatAnchors.js +0 -11
  156. package/dist/application/methods/organismFormat/__mocks__/formatCTAs.js +0 -10
  157. package/dist/application/methods/organismFormat/__mocks__/formatTheme.js +0 -15
  158. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFive.js +0 -12
  159. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFour.js +0 -12
  160. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatOne.js +0 -12
  161. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatSeven.js +0 -12
  162. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatThree.js +0 -12
  163. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoA.js +0 -12
  164. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoB.js +0 -12
  165. package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoBIcons.js +0 -14
  166. package/dist/application/methods/organismFormat/feats/__mocks__/formatPullQuote.js +0 -12
  167. package/dist/application/methods/organismFormat/feats/formatFeatFive.js +0 -39
  168. package/dist/application/methods/organismFormat/feats/formatFeatFour.js +0 -36
  169. package/dist/application/methods/organismFormat/feats/formatFeatOne.js +0 -52
  170. package/dist/application/methods/organismFormat/feats/formatFeatSeven.js +0 -193
  171. package/dist/application/methods/organismFormat/feats/formatFeatThree.js +0 -41
  172. package/dist/application/methods/organismFormat/feats/formatFeatTwoA.js +0 -37
  173. package/dist/application/methods/organismFormat/feats/formatFeatTwoAFolds.js +0 -27
  174. package/dist/application/methods/organismFormat/feats/formatFeatTwoB.js +0 -40
  175. package/dist/application/methods/organismFormat/feats/formatFeatTwoBIcons.js +0 -20
  176. package/dist/application/methods/organismFormat/feats/formatPullQuote.js +0 -49
  177. package/dist/application/methods/organismFormat/feats/tests/formatFeatFive.test.js +0 -173
  178. package/dist/application/methods/organismFormat/feats/tests/formatFeatFour.test.js +0 -140
  179. package/dist/application/methods/organismFormat/feats/tests/formatFeatOne.test.js +0 -204
  180. package/dist/application/methods/organismFormat/feats/tests/formatFeatSeven.test.js +0 -680
  181. package/dist/application/methods/organismFormat/feats/tests/formatFeatThree.test.js +0 -142
  182. package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoA.test.js +0 -342
  183. package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoAFolds.test.js +0 -99
  184. package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoB.test.js +0 -293
  185. package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoBIcons.test.js +0 -78
  186. package/dist/application/methods/organismFormat/feats/tests/formatPullQuote.test.js +0 -178
  187. package/dist/application/methods/organismFormat/formatAnchors.js +0 -16
  188. package/dist/application/methods/organismFormat/formatCTAs.js +0 -34
  189. package/dist/application/methods/organismFormat/formatTheme.js +0 -29
  190. package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroFour.js +0 -12
  191. package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroOne.js +0 -12
  192. package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroSix.js +0 -12
  193. package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroThree.js +0 -12
  194. package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroTwo.js +0 -12
  195. package/dist/application/methods/organismFormat/heroes/formatHeroFour.js +0 -39
  196. package/dist/application/methods/organismFormat/heroes/formatHeroOne.js +0 -56
  197. package/dist/application/methods/organismFormat/heroes/formatHeroSeven.js +0 -56
  198. package/dist/application/methods/organismFormat/heroes/formatHeroSix.js +0 -51
  199. package/dist/application/methods/organismFormat/heroes/formatHeroThree.js +0 -58
  200. package/dist/application/methods/organismFormat/heroes/formatHeroTwo.js +0 -42
  201. package/dist/application/methods/organismFormat/heroes/tests/formatHeroFour.test.js +0 -245
  202. package/dist/application/methods/organismFormat/heroes/tests/formatHeroOne.test.js +0 -165
  203. package/dist/application/methods/organismFormat/heroes/tests/formatHeroSeven.test.js +0 -198
  204. package/dist/application/methods/organismFormat/heroes/tests/formatHeroSix.test.js +0 -196
  205. package/dist/application/methods/organismFormat/heroes/tests/formatHeroThree.test.js +0 -185
  206. package/dist/application/methods/organismFormat/heroes/tests/formatHeroTwo.test.js +0 -205
  207. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFive.js +0 -12
  208. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFour.js +0 -12
  209. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFourCards.js +0 -10
  210. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOne.js +0 -12
  211. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneCards.js +0 -17
  212. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneV2Cards.js +0 -27
  213. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSeven.js +0 -12
  214. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSevenCards.js +0 -10
  215. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSix.js +0 -12
  216. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSixCards.js +0 -10
  217. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThree.js +0 -12
  218. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeCards.js +0 -10
  219. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeV2Cards.js +0 -32
  220. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTopSection.js +0 -23
  221. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwo.js +0 -12
  222. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoCards.js +0 -10
  223. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoV2Cards.js +0 -34
  224. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatType.js +0 -10
  225. package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatV2.js +0 -33
  226. package/dist/application/methods/organismFormat/listFeats/formatListFeatFive.js +0 -53
  227. package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveItemsV2.js +0 -32
  228. package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveV2.js +0 -39
  229. package/dist/application/methods/organismFormat/listFeats/formatListFeatFour.js +0 -35
  230. package/dist/application/methods/organismFormat/listFeats/formatListFeatFourCards.js +0 -24
  231. package/dist/application/methods/organismFormat/listFeats/formatListFeatFourDumplingsV2.js +0 -36
  232. package/dist/application/methods/organismFormat/listFeats/formatListFeatFourV2.js +0 -38
  233. package/dist/application/methods/organismFormat/listFeats/formatListFeatOne.js +0 -46
  234. package/dist/application/methods/organismFormat/listFeats/formatListFeatOneCards.js +0 -36
  235. package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2.js +0 -41
  236. package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2Cards.js +0 -64
  237. package/dist/application/methods/organismFormat/listFeats/formatListFeatSeven.js +0 -37
  238. package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCards.js +0 -46
  239. package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCardsV2.js +0 -48
  240. package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenV2.js +0 -39
  241. package/dist/application/methods/organismFormat/listFeats/formatListFeatSix.js +0 -36
  242. package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCards.js +0 -15
  243. package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCardsV2.js +0 -16
  244. package/dist/application/methods/organismFormat/listFeats/formatListFeatSixV2.js +0 -38
  245. package/dist/application/methods/organismFormat/listFeats/formatListFeatThree.js +0 -40
  246. package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeCards.js +0 -48
  247. package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2.js +0 -40
  248. package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2Cards.js +0 -39
  249. package/dist/application/methods/organismFormat/listFeats/formatListFeatTopSection.js +0 -33
  250. package/dist/application/methods/organismFormat/listFeats/formatListFeatTwo.js +0 -36
  251. package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoCards.js +0 -34
  252. package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2.js +0 -40
  253. package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2Cards.js +0 -46
  254. package/dist/application/methods/organismFormat/listFeats/formatListFeatType.js +0 -27
  255. package/dist/application/methods/organismFormat/listFeats/formatListFeatV2.js +0 -21
  256. package/dist/application/methods/organismFormat/listFeats/tests/formatFeatSevenV2.test.js +0 -463
  257. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFive.test.js +0 -89
  258. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFiveV2.test.js +0 -238
  259. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFour.test.js +0 -75
  260. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourCards.test.js +0 -65
  261. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourV2.test.js +0 -358
  262. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOne.test.js +0 -98
  263. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneCards.test.js +0 -67
  264. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2.test.js +0 -191
  265. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2Cards.test.js +0 -87
  266. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSeven.test.js +0 -120
  267. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSevenCards.test.js +0 -111
  268. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSix.test.js +0 -67
  269. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixCards.test.js +0 -25
  270. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixV2.test.js +0 -242
  271. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThree.test.js +0 -96
  272. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeCards.test.js +0 -94
  273. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2.test.js +0 -242
  274. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2Cards.test.js +0 -96
  275. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTopSection.test.js +0 -63
  276. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwo.test.js +0 -86
  277. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoCards.test.js +0 -81
  278. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2.test.js +0 -299
  279. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2Cards.test.js +0 -159
  280. package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatV2.test.js +0 -69
  281. package/dist/application/methods/organismFormat/listFeats/tests/mockData/listFeatOneV2MockData.js +0 -125
  282. package/dist/application/methods/organismFormat/tests/formatAnchors.test.js +0 -20
  283. package/dist/application/methods/organismFormat/tests/formatCTAs.test.js +0 -109
  284. package/dist/application/methods/organismFormat/tests/formatTheme.test.js +0 -54
  285. package/dist/application/methods/tests/formatContentSections.test.js +0 -237
  286. package/dist/application/methods/tests/formatFooterDataMethods.test.js +0 -138
  287. package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.js +0 -78
  288. package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.scss +0 -107
  289. package/dist/luna/featurettes/CustomFeat/CustomFeat.js +0 -157
  290. package/dist/luna/featurettes/CustomFeat/CustomFeat.scss +0 -18
  291. package/dist/luna/featurettes/Feat1/Feat1.js +0 -122
  292. package/dist/luna/featurettes/Feat1/Feat1.scss +0 -110
  293. package/dist/luna/featurettes/Feat1/feat1Methods.js +0 -18
  294. package/dist/luna/featurettes/Feat1/feat1Methods.test.js +0 -21
  295. package/dist/luna/featurettes/Feat2A/Feat2A.js +0 -101
  296. package/dist/luna/featurettes/Feat2A/Feat2A.scss +0 -132
  297. package/dist/luna/featurettes/Feat2B/Feat2B.js +0 -131
  298. package/dist/luna/featurettes/Feat2B/Feat2B.scss +0 -231
  299. package/dist/luna/featurettes/Feat2B/Feat2BMethods.js +0 -75
  300. package/dist/luna/featurettes/Feat2B/Feat2BMethods.test.js +0 -38
  301. package/dist/luna/featurettes/Feat3/Feat3.js +0 -89
  302. package/dist/luna/featurettes/Feat3/Feat3.scss +0 -49
  303. package/dist/luna/featurettes/Feat4/Feat4.js +0 -95
  304. package/dist/luna/featurettes/Feat4/Feat4.scss +0 -86
  305. package/dist/luna/featurettes/Feat5/Feat5.js +0 -194
  306. package/dist/luna/featurettes/Feat5/Feat5.scss +0 -235
  307. package/dist/luna/featurettes/Feat5/Feat5Methods.js +0 -19
  308. package/dist/luna/featurettes/Feat5/Feat5Methods.test.js +0 -23
  309. package/dist/luna/featurettes/Feat7/Feat7.js +0 -79
  310. package/dist/luna/featurettes/Feat7/Feat7.scss +0 -49
  311. package/dist/luna/featurettes/Feat7/Feat7Methods.js +0 -41
  312. package/dist/luna/featurettes/Feat8/Feat8.js +0 -75
  313. package/dist/luna/featurettes/Feat8/Feat8.scss +0 -103
  314. package/dist/luna/featurettes/Feat8/feat8Methods.js +0 -18
  315. package/dist/luna/featurettes/Feat8/feat8Methods.test.js +0 -21
  316. package/dist/luna/heroes/Hero1/Hero1.js +0 -111
  317. package/dist/luna/heroes/Hero1/Hero1.scss +0 -223
  318. package/dist/luna/heroes/Hero1/Hero1Methods.js +0 -84
  319. package/dist/luna/heroes/Hero1/useWindowSize.js +0 -47
  320. package/dist/luna/heroes/Hero2/Hero2.js +0 -130
  321. package/dist/luna/heroes/Hero2/Hero2.scss +0 -165
  322. package/dist/luna/heroes/Hero3/Hero3.js +0 -246
  323. package/dist/luna/heroes/Hero3/Hero3.scss +0 -250
  324. package/dist/luna/heroes/Hero3/Hero3Methods.js +0 -37
  325. package/dist/luna/heroes/Hero4/Hero4.js +0 -175
  326. package/dist/luna/heroes/Hero4/Hero4.scss +0 -112
  327. package/dist/luna/heroes/Hero4/hero4Methods.js +0 -18
  328. package/dist/luna/heroes/Hero6/Hero6.js +0 -179
  329. package/dist/luna/heroes/Hero6/Hero6.scss +0 -127
  330. package/dist/luna/heroes/Hero7/Hero7.js +0 -118
  331. package/dist/luna/heroes/Hero7/Hero7.scss +0 -193
  332. package/dist/luna/heroes/Hero7/Hero7Methods.js +0 -39
  333. package/dist/luna/heroes/Hero7/Hero7Methods.test.js +0 -109
  334. package/dist/luna/heroes/Hero7/useWindowWidth.js +0 -40
  335. package/dist/luna/list-feats/ListFeat/ListFeat.js +0 -149
  336. package/dist/luna/list-feats/ListFeat/ListFeat.scss +0 -112
  337. package/dist/luna/list-feats/ListFeat1/ListFeat1.js +0 -91
  338. package/dist/luna/list-feats/ListFeat1/ListFeat1.scss +0 -94
  339. package/dist/luna/list-feats/ListFeat1/listFeat1Methods.js +0 -14
  340. package/dist/luna/list-feats/ListFeat1/listFeat1Methods.test.js +0 -17
  341. package/dist/luna/list-feats/ListFeat2/ListFeat2.js +0 -30
  342. package/dist/luna/list-feats/ListFeat2/ListFeat2.scss +0 -20
  343. package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.js +0 -33
  344. package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.test.js +0 -11
  345. package/dist/luna/list-feats/ListFeat4/ListFeat4.js +0 -34
  346. package/dist/luna/list-feats/ListFeat4/ListFeat4.scss +0 -32
  347. package/dist/luna/list-feats/ListFeat5/ListFeat5.js +0 -28
  348. package/dist/luna/list-feats/ListFeat5/ListFeat5.scss +0 -27
  349. package/dist/luna/list-feats/ListFeat5/ListFeat5Methods.js +0 -24
  350. package/dist/luna/list-feats/ListFeat6/ListFeat6.js +0 -59
  351. package/dist/luna/list-feats/ListFeat6/ListFeat6.scss +0 -34
  352. package/dist/luna/list-feats/ListFeat7/ListFeat7.js +0 -51
  353. package/dist/luna/list-feats/ListFeat7/ListFeat7.scss +0 -14
  354. package/dist/luna/list-feats/ListFeat7/ListFeat7Methods.js +0 -49
  355. package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.js +0 -25
  356. package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.scss +0 -8
  357. package/dist/luna/list-feats/methods/listFeatMethods.js +0 -119
  358. /package/dist/luna/{featurettes → components}/Accordion/Accordion.js +0 -0
  359. /package/dist/luna/{featurettes → components}/Accordion/Accordion.scss +0 -0
  360. /package/dist/luna/{featurettes → components}/Accordion/AccordionItem.js +0 -0
  361. /package/dist/luna/{other-organisms → components}/Carousel/Carousel.js +0 -0
  362. /package/dist/luna/{other-organisms → components}/Carousel/Carousel.scss +0 -0
  363. /package/dist/luna/{heroes → components}/FilterHero/FilterHero.js +0 -0
  364. /package/dist/luna/{heroes → components}/FilterHero/FilterHero.scss +0 -0
  365. /package/dist/luna/{heroes → components}/FilterHero/FilterHeroMethods.js +0 -0
  366. /package/dist/luna/{other-organisms → components}/Flyout/Flyout.scss +0 -0
  367. /package/dist/luna/{other-organisms → components}/Footer/ExportedFooter.js +0 -0
  368. /package/dist/luna/{other-organisms → components}/Footer/Footer.js +0 -0
  369. /package/dist/luna/{other-organisms → components}/Footer/Footer.scss +0 -0
  370. /package/dist/luna/{other-organisms → components}/Footer/GlobalFooter.js +0 -0
  371. /package/dist/luna/{other-organisms → components}/Footer/SectorFooter.js +0 -0
  372. /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.js +0 -0
  373. /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.scss +0 -0
  374. /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHeroMethods.js +0 -0
  375. /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.js +0 -0
  376. /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.scss +0 -0
  377. /package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.scss +0 -0
  378. /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.js +0 -0
  379. /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.scss +0 -0
  380. /package/dist/luna/{other-organisms → components}/NavBar/NavBar.js +0 -0
  381. /package/dist/luna/{other-organisms → components}/NavBar/NavBar.scss +0 -0
  382. /package/dist/luna/{other-organisms → components}/NavBar/NavOption.js +0 -0
  383. /package/dist/luna/{other-organisms → components}/NavBar/useNavPosition.js +0 -0
  384. /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.js +0 -0
  385. /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.scss +0 -0
  386. /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackageMethods.js +0 -0
  387. /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.js +0 -0
  388. /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.scss +0 -0
  389. /package/dist/luna/{featurettes → components}/PullQuote/ico-quote-white.svg +0 -0
  390. /package/dist/luna/{featurettes → components}/PullQuote/ico-quote.svg +0 -0
  391. /package/dist/luna/{other-organisms → components}/SubNav/SubNav.scss +0 -0
  392. /package/dist/luna/{heroes → components}/SuperHero/SuperHero.js +0 -0
  393. /package/dist/luna/{heroes → components}/SuperHero/SuperHero.scss +0 -0
  394. /package/dist/luna/{heroes → components}/SuperHero/SuperHeroMethods.js +0 -0
  395. /package/dist/luna/{heroes → components}/SuperHero/useCompareContainerHeights.js +0 -0
  396. /package/dist/{application/assets → luna}/images/carat-down.svg +0 -0
  397. /package/dist/{application/assets → luna}/images/carat-up.svg +0 -0
  398. /package/dist/{application/assets → luna}/images/close-blue.svg +0 -0
  399. /package/dist/{application/assets → luna}/images/close.svg +0 -0
  400. /package/dist/{application/assets → luna}/images/ellipses.svg +0 -0
  401. /package/dist/{application/assets → luna}/images/facebook.svg +0 -0
  402. /package/dist/{application/assets → luna}/images/favicon.ico +0 -0
  403. /package/dist/{application/assets → luna}/images/fpoBox.png +0 -0
  404. /package/dist/{application/assets → luna}/images/fpoSquare.png +0 -0
  405. /package/dist/{application/assets → luna}/images/instagram.svg +0 -0
  406. /package/dist/{application/assets → luna}/images/linkedin.svg +0 -0
  407. /package/dist/{application/assets → luna}/images/loading-mini.gif +0 -0
  408. /package/dist/{application/assets → luna}/images/trimble_logo.png +0 -0
  409. /package/dist/{application/assets → luna}/images/twitter.svg +0 -0
  410. /package/dist/{application/assets → luna}/images/youtube.svg +0 -0
  411. /package/dist/{application → luna/utils}/hooks/useInnerPageNav.js +0 -0
@@ -0,0 +1,136 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.IframeExampleThreeFour = exports.IframeExampleFourThree = exports.IframeExample = exports.ExampleWithScript = exports.ExampleWithOutHeaderAndSubHeader = exports.ExampleWithMarketo = exports.ExampleWithHeaderAndSubHeader = exports.ExampleWithHeader = exports.ExampleWithDocushare = exports.ExampleWithCognitoForms = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _HTMLEmbed = _interopRequireDefault(require("./HTMLEmbed"));
10
+ var _HTMLEmbedDocumentation = _interopRequireDefault(require("./HTMLEmbedDocumentation.mdx"));
11
+ var _themes = require("../../utils/themes");
12
+ var header = "I am the header®";
13
+ var subheader = "I am the subheader";
14
+ var HTML = "<iframe id=\"iFrameGB\" width=\"980px\" height=\"1200px\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" src=\"https://mytrimbleprotected.com/cc/servicelocator.html\" frameborder=\"no\" scrolling=\"auto\"></iframe>";
15
+ var isScript = null;
16
+ var content = {
17
+ header: header,
18
+ subheader: subheader,
19
+ HTML: HTML,
20
+ isScript: isScript
21
+ };
22
+ var content2 = {
23
+ HTML: "<div>\n <p>I am an HTML block</p>\n <p>Enjoy your day!</p>\n </div>"
24
+ };
25
+ var content3 = {
26
+ header: "Enjoy this video! ",
27
+ HTML: "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/Kbuoxq5S_M4\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>"
28
+ };
29
+ var content4 = {
30
+ header: "iFrame Knowledge Center - Ratio 1/1",
31
+ HTML: "<iframe id=\"iFrameGB\" width=\"100%\" height=\"1000px\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" src=\"https://mytrimbleprotected.com/cc/knowledgeCenter.html\" frameborder=\"no\" scrolling=\"auto\"></iframe>",
32
+ isScript: false,
33
+ ratio: "1:1"
34
+ };
35
+ var content4Two = {
36
+ header: "iFrame Knowledge Center - Ratio 3/4",
37
+ HTML: "<iframe id=\"iFrameGB\" width=\"100%\" height=\"1000px\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" src=\"https://mytrimbleprotected.com/cc/knowledgeCenter.html\" frameborder=\"no\" scrolling=\"auto\"></iframe>",
38
+ isScript: false,
39
+ ratio: "3:4"
40
+ };
41
+ var content4Three = {
42
+ header: "iFrame Knowledge Center - Ratio 4/3",
43
+ HTML: "<iframe id=\"iFrameGB\" width=\"100%\" height=\"1000px\" marginwidth=\"0\" marginheight=\"0\" vspace=\"0\" hspace=\"0\" src=\"https://mytrimbleprotected.com/cc/knowledgeCenter.html\" frameborder=\"no\" scrolling=\"auto\"></iframe>",
44
+ isScript: false,
45
+ ratio: "4:3"
46
+ };
47
+ var content5 = {
48
+ header: 'News Release',
49
+ subheader: null,
50
+ HTML: "\n <div class=\"customHTMLEmbed\">\n <div id=\"newsContainer\"></div>\n <script src=\"https://ww2.trimble.com/html/js/newsAJAX-mxp.js\"></script>\n <script>generateNewsContentsMXP('newsContainer');</script>\n </div>"
51
+ };
52
+ var content6 = {
53
+ header: 'Cognito Embed Script',
54
+ subheader: null,
55
+ HTML: "\n <div class=\"customHTMLEmbed\">\n <div class=\"cognito\"></div>\n <script src=\"https://services.cognitoforms.com/s/0cXQNplKOk-LZ2g6xRL5fQ\"></script>\n <script type=\"text/javascript\" defer>\n Cognito.load(\"forms\", { id: \"1\" });\n </script>\n \n </div>"
56
+ };
57
+ var content7 = {
58
+ header: 'Docushare',
59
+ subheader: null,
60
+ HTML: "\n <div>\n <br/> <br/>\n <h6 id=\"TRLtitle\">{item title renders here}</h6>\n <div class=\"centercol\" id=\"TRLcontent\">{docushare data renders here}</div>\n <link href=\"https://forms.trimble.com/globalTRL.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n <script src=\"https://forms.trimble.com/globalTRL.js\"></script>\n <script>loadTRLCollection(getDCSParam(), 'TRLcontent'); </script>\n </div>"
61
+ };
62
+ var content8 = {
63
+ header: 'Marketo Form',
64
+ subheader: null,
65
+ HTML: "\n <div>\n <script src=\"//go.trimble.com/js/forms2/js/forms2.min.js\"></script>\n <form id=\"mktoForm_7858\"></form>\n <script>MktoForms2.loadForm(\"//go.trimble.com\", \"593-HFN-635\", 7858);</script>\n </div>"
66
+ };
67
+ var _default = {
68
+ component: _HTMLEmbed["default"],
69
+ title: "MXP Components/HTML Embed",
70
+ parameters: {
71
+ docs: {
72
+ page: _HTMLEmbedDocumentation["default"]
73
+ }
74
+ }
75
+ };
76
+ exports["default"] = _default;
77
+ var ExampleWithHeaderAndSubHeader = function ExampleWithHeaderAndSubHeader() {
78
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
79
+ content: content
80
+ });
81
+ };
82
+ exports.ExampleWithHeaderAndSubHeader = ExampleWithHeaderAndSubHeader;
83
+ var ExampleWithOutHeaderAndSubHeader = function ExampleWithOutHeaderAndSubHeader() {
84
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
85
+ content: content2
86
+ });
87
+ };
88
+ exports.ExampleWithOutHeaderAndSubHeader = ExampleWithOutHeaderAndSubHeader;
89
+ var ExampleWithHeader = function ExampleWithHeader() {
90
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
91
+ content: content3
92
+ });
93
+ };
94
+ exports.ExampleWithHeader = ExampleWithHeader;
95
+ var IframeExample = function IframeExample() {
96
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
97
+ content: content4
98
+ });
99
+ };
100
+ exports.IframeExample = IframeExample;
101
+ var IframeExampleThreeFour = function IframeExampleThreeFour() {
102
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
103
+ content: content4Two
104
+ });
105
+ };
106
+ exports.IframeExampleThreeFour = IframeExampleThreeFour;
107
+ var IframeExampleFourThree = function IframeExampleFourThree() {
108
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
109
+ content: content4Three
110
+ });
111
+ };
112
+ exports.IframeExampleFourThree = IframeExampleFourThree;
113
+ var ExampleWithScript = function ExampleWithScript() {
114
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
115
+ content: content5
116
+ });
117
+ };
118
+ exports.ExampleWithScript = ExampleWithScript;
119
+ var ExampleWithCognitoForms = function ExampleWithCognitoForms() {
120
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
121
+ content: content6
122
+ });
123
+ };
124
+ exports.ExampleWithCognitoForms = ExampleWithCognitoForms;
125
+ var ExampleWithDocushare = function ExampleWithDocushare() {
126
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
127
+ content: content7
128
+ });
129
+ };
130
+ exports.ExampleWithDocushare = ExampleWithDocushare;
131
+ var ExampleWithMarketo = function ExampleWithMarketo() {
132
+ return /*#__PURE__*/_react["default"].createElement(_HTMLEmbed["default"], {
133
+ content: content8
134
+ });
135
+ };
136
+ exports.ExampleWithMarketo = ExampleWithMarketo;
@@ -0,0 +1,31 @@
1
+ #### HTMLEmbed
2
+
3
+ ###### Props -
4
+
5
+ - `content` - object with the keys `header`, `subheader`, and `HTML` with values all strings
6
+ - `header` - string to represent Header text. This is optional
7
+ - `subheader` - string to represent Subheader text. This is optional
8
+ - `HTML` - string to represent an HTML block.
9
+ - `paddingClass` - string to generate a custom class to pass into the outermost div of the component.
10
+
11
+ ###### Example -
12
+
13
+ ```
14
+ const header = "I am the header";
15
+ const subheader = "I am the subheader";
16
+ const HTML = `<iframe id="iFrameGB" width="980px" height="1200px" marginwidth="0" marginheight="0" vspace="0" hspace="0" src="https://mytrimbleprotected.com/cc/servicelocator.html" frameborder="no" scrolling="auto"></iframe>`;
17
+
18
+ const content = {
19
+ header,
20
+ subheader,
21
+ HTML,
22
+ };
23
+
24
+
25
+
26
+ return (
27
+ <HTMLEmbed
28
+ content={content}
29
+ />
30
+ );
31
+ ```
@@ -0,0 +1,75 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.TransparentLightText = exports.TransparentDarkText = exports.DefaultCentered = exports.Default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _Header = _interopRequireDefault(require("./Header"));
10
+ var _HeaderDocumentation = _interopRequireDefault(require("./HeaderDocumentation.mdx"));
11
+ var _themes = require("../../utils/themes");
12
+ var eyebrow = "Eyebrow option";
13
+ var headline = "Header title®";
14
+ var subhead = "Subhead can go here.";
15
+ var _default = {
16
+ component: _Header["default"],
17
+ title: "MXP Components/Header",
18
+ parameters: {
19
+ docs: {
20
+ page: _HeaderDocumentation["default"]
21
+ }
22
+ }
23
+ };
24
+ exports["default"] = _default;
25
+ var Default = function Default() {
26
+ return /*#__PURE__*/_react["default"].createElement(_Header["default"], {
27
+ eyebrow: eyebrow,
28
+ headline: headline,
29
+ subhead: subhead
30
+ });
31
+ };
32
+ exports.Default = Default;
33
+ var DefaultCentered = function DefaultCentered() {
34
+ return /*#__PURE__*/_react["default"].createElement(_Header["default"], {
35
+ eyebrow: eyebrow,
36
+ headline: headline,
37
+ subhead: subhead,
38
+ centered: true
39
+ });
40
+ };
41
+ exports.DefaultCentered = DefaultCentered;
42
+ var TransparentLightText = function TransparentLightText() {
43
+ return /*#__PURE__*/_react["default"].createElement("div", {
44
+ style: {
45
+ position: "relative",
46
+ backgroundImage: "url('https://via.placeholder.com/1920x1080/FF0000/000000')",
47
+ backgroundSize: "cover",
48
+ backgroundPosition: "center",
49
+ backgroundRepeat: "no-repeat"
50
+ }
51
+ }, /*#__PURE__*/_react["default"].createElement(_Header["default"], {
52
+ theme: _themes.themes["transparentLightText"],
53
+ eyebrow: eyebrow,
54
+ headline: headline,
55
+ subhead: subhead
56
+ }));
57
+ };
58
+ exports.TransparentLightText = TransparentLightText;
59
+ var TransparentDarkText = function TransparentDarkText() {
60
+ return /*#__PURE__*/_react["default"].createElement("div", {
61
+ style: {
62
+ position: "relative",
63
+ backgroundImage: "url('https://via.placeholder.com/1920x1080/A6FFFF/FFFFFF')",
64
+ backgroundSize: "cover",
65
+ backgroundPosition: "center",
66
+ backgroundRepeat: "no-repeat"
67
+ }
68
+ }, /*#__PURE__*/_react["default"].createElement(_Header["default"], {
69
+ theme: _themes.themes["transparentDarkText"],
70
+ eyebrow: eyebrow,
71
+ headline: headline,
72
+ subhead: subhead
73
+ }));
74
+ };
75
+ exports.TransparentDarkText = TransparentDarkText;
@@ -0,0 +1,24 @@
1
+ #### Header
2
+
3
+ ###### Props -
4
+
5
+ - `eyebrow` - string that sets the eyebrow (small text above the headline)
6
+ - `headline` - string that sets the headline
7
+ - `subhead` - string that sets the subhead (secondary text below the headline)
8
+ - `theme` - object with `color` as string to represent hex value for fonts color
9
+
10
+ ###### Example -
11
+
12
+ ```
13
+ const eyebrow = "Eyebrow option"
14
+ const headline = "Header title"
15
+ const subhead = "Subhead can go here."
16
+
17
+ return (
18
+ <Header
19
+ eyebrow={eyebrow}
20
+ headline={headline}
21
+ subhead={subhead}
22
+ />
23
+ );
24
+ ```
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.TransparentWithLightText = exports.TransparentWithDarkText = exports.Default = exports.DarkNavyThemeWithoutIcon = exports.DarkGrayThemeWithPadding = exports.ConcreteGrayTheme = exports.BlueTheme = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _IconTextList = _interopRequireDefault(require("./IconTextList"));
10
+ var _IconTextListDocumentation = _interopRequireDefault(require("./IconTextListDocumentation.mdx"));
11
+ var _themes = require("../../utils/themes");
12
+ var items = [{
13
+ icon: "ico-annotate-48px",
14
+ headline: "Headline Lorem ipsum dolor sit amet®",
15
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
16
+ }, {
17
+ icon: "mxp-icon-connection",
18
+ headline: "Headline Lorem ipsum dolor sit amet",
19
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
20
+ }, {
21
+ icon: "ico-annotate-48px",
22
+ headline: "Headline Lorem ipsum dolor sit amet",
23
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec. <ul><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li></ul>"
24
+ }];
25
+ var _default = {
26
+ component: _IconTextList["default"],
27
+ title: "MXP Components/Icon Text List",
28
+ parameters: {
29
+ docs: {
30
+ page: _IconTextListDocumentation["default"]
31
+ }
32
+ }
33
+ };
34
+ exports["default"] = _default;
35
+ var Default = function Default() {
36
+ return /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
37
+ items: items
38
+ });
39
+ };
40
+ exports.Default = Default;
41
+ var ConcreteGrayTheme = function ConcreteGrayTheme() {
42
+ return /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
43
+ items: items,
44
+ theme: _themes.themes["concreteGray"]
45
+ });
46
+ };
47
+ exports.ConcreteGrayTheme = ConcreteGrayTheme;
48
+ var BlueTheme = function BlueTheme() {
49
+ return /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
50
+ items: items,
51
+ theme: _themes.themes["blue"]
52
+ });
53
+ };
54
+ exports.BlueTheme = BlueTheme;
55
+ var TransparentWithLightText = function TransparentWithLightText() {
56
+ return /*#__PURE__*/_react["default"].createElement("div", {
57
+ style: {
58
+ position: "relative",
59
+ backgroundImage: "url('https://via.placeholder.com/1920x1080/FF0000/000000')",
60
+ backgroundSize: "cover",
61
+ backgroundPosition: "center",
62
+ backgroundRepeat: "no-repeat"
63
+ }
64
+ }, /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
65
+ items: items,
66
+ theme: _themes.themes["transparentLightText"]
67
+ }));
68
+ };
69
+ exports.TransparentWithLightText = TransparentWithLightText;
70
+ var TransparentWithDarkText = function TransparentWithDarkText() {
71
+ return /*#__PURE__*/_react["default"].createElement("div", {
72
+ style: {
73
+ position: "relative",
74
+ backgroundImage: "url('https://via.placeholder.com/1920x1080/A6FFFF/FFFFFF')",
75
+ backgroundSize: "cover",
76
+ backgroundPosition: "center",
77
+ backgroundRepeat: "no-repeat"
78
+ }
79
+ }, /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
80
+ items: items,
81
+ theme: _themes.themes["transparentDarkText"]
82
+ }));
83
+ };
84
+ exports.TransparentWithDarkText = TransparentWithDarkText;
85
+ var DarkNavyThemeWithoutIcon = function DarkNavyThemeWithoutIcon() {
86
+ return /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
87
+ items: items,
88
+ theme: _themes.themes["darkNavy"],
89
+ disableIcon: true
90
+ });
91
+ };
92
+ exports.DarkNavyThemeWithoutIcon = DarkNavyThemeWithoutIcon;
93
+ var DarkGrayThemeWithPadding = function DarkGrayThemeWithPadding() {
94
+ return /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
95
+ items: items,
96
+ theme: _themes.themes["darkGray"],
97
+ paddingClass: "ter-icon-text-list--extra-padding"
98
+ });
99
+ };
100
+ exports.DarkGrayThemeWithPadding = DarkGrayThemeWithPadding;
@@ -0,0 +1,46 @@
1
+ #### Icon Text List
2
+
3
+ ###### Props -
4
+
5
+ - `items` - array of objects, each with `icon`, `headline` and `body` as strings to represent the icon text items.
6
+ - `theme` - object with `backgroundColor`, `color` and `iconColor` as strings to represent hex value for background color.
7
+ - `disableIcon` - boolean to don't display icon.
8
+ - `paddingClass` - string to generate a custom class to pass into the outermost div of the component.
9
+
10
+ ###### Example -
11
+
12
+ ```
13
+ const theme = {
14
+ color: "#FFFFFF",
15
+ backgroundColor: "#0063A3",
16
+ iconColor: "#FFFFFF",
17
+ };
18
+
19
+ const items = [
20
+ {
21
+ icon: "ico-annotate-48px",
22
+ headline : "Headline Lorem ipsum dolor sit amet",
23
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
24
+ },
25
+ {
26
+ icon: "ico-annotate-48px",
27
+ headline : "Headline Lorem ipsum dolor sit amet",
28
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
29
+ },
30
+ {
31
+ icon: "ico-annotate-48px",
32
+ headline : "Headline Lorem ipsum dolor sit amet",
33
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec. <ul><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li></ul>"
34
+ }
35
+ ];
36
+
37
+
38
+ return (
39
+ <IconTextList
40
+ items={items}
41
+ theme={theme}
42
+ disableIcon={false}
43
+ paddingClass="custom-class"
44
+ />
45
+ );
46
+ ```
@@ -0,0 +1,194 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = exports.SplitImageGalleryFlipped = exports.SplitImageGalleryAltFlipped = exports.SplitImageGalleryAlt = exports.SplitImageGallery = exports.DefaultImageGalleryAlt = exports.DefaultImageGallery = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ var _CtaWithHeader = _interopRequireDefault(require("../CtaWithHeader/CtaWithHeader"));
10
+ var _ImageGallery = _interopRequireDefault(require("../ImageGallery/ImageGallery"));
11
+ var _IconTextList = _interopRequireDefault(require("../IconTextList/IconTextList"));
12
+ var _ImageGalleryDocumentation = _interopRequireDefault(require("./ImageGalleryDocumentation.mdx"));
13
+ var imagesArray = [{
14
+ x: 2580,
15
+ y: 4700,
16
+ title: "home-hero-original",
17
+ height: 900,
18
+ width: 2280,
19
+ url: "https://images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg"
20
+ }, {
21
+ url: "https://images.ctfassets.net/citn2sn5tdjr/5D1pWT2efLAhK4Jnvsa8SW/14ba92accea63bb461f0437621a56a7d/800x400.jpg",
22
+ title: "Truck Image",
23
+ alt: "Truck",
24
+ x: 80,
25
+ y: 250
26
+ }, {
27
+ type: "lottieAnimation",
28
+ src: "https://assets3.lottiefiles.com/packages/lf20_UJNc2t.json",
29
+ style: {
30
+ maxHeight: "100vh"
31
+ }
32
+ }, {
33
+ url: "https://images.ctfassets.net/citn2sn5tdjr/6BaM3yT27uyIyHAetghuCv/81e91fce8276cd653ee87969a33f90fa/transportation_superhero.png",
34
+ alt: "Truck",
35
+ x: 12,
36
+ y: 24
37
+ }, {
38
+ url: "https://images.ctfassets.net/citn2sn5tdjr/2aIM2EvXTK5yrpIHrvP5k5/6f7a3669abb2bf2ec39b635a91da90f6/720x720.jpg",
39
+ alt: "Truck",
40
+ x: 80,
41
+ y: 250
42
+ }, {
43
+ url: "https://images.ctfassets.net/citn2sn5tdjr/6BaM3yT27uyIyHAetghuCv/81e91fce8276cd653ee87969a33f90fa/transportation_superhero.png",
44
+ alt: "Truck",
45
+ x: 12,
46
+ y: 24
47
+ }];
48
+ var contentDefault = {
49
+ images: imagesArray,
50
+ thumbnailAlignment: true
51
+ };
52
+ var contentDefault2 = {
53
+ images: imagesArray,
54
+ thumbnailAlignment: false
55
+ };
56
+ var _default = {
57
+ component: _ImageGallery["default"],
58
+ title: "MXP Components/Image Gallery",
59
+ parameters: {
60
+ docs: {
61
+ page: _ImageGalleryDocumentation["default"]
62
+ }
63
+ }
64
+ };
65
+ exports["default"] = _default;
66
+ var buttons = [{
67
+ text: "Button 1",
68
+ url: "https://trimble.com"
69
+ }, {
70
+ text: "Button 2",
71
+ url: "/"
72
+ }];
73
+ var ctaSideContent = /*#__PURE__*/_react["default"].createElement(_CtaWithHeader["default"], {
74
+ eyebrow: "Eyebrow option",
75
+ headline: "Header title",
76
+ subhead: "Subhead can go here.",
77
+ content: "<p>Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. Consectetur <a href='/'>commodo nisi laborum</a> voluptate. Commodo est ullamco pariatur ut nostrud pariatur. Anim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat.</p>\n<ul>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n<li>Cillum et laboris aliquip consequat. El nu consectetur commodo nisi laborum voluptate.</li>\n</ul>",
78
+ buttons: buttons
79
+ });
80
+ var contentSplit = {
81
+ images: imagesArray,
82
+ thumbnailAlignment: false,
83
+ contentType: "CtaWithHeader",
84
+ reverseAlignment: false,
85
+ sideContent: ctaSideContent
86
+ };
87
+ var contentSplitFlipped = {
88
+ images: imagesArray,
89
+ thumbnailAlignment: true,
90
+ contentType: "CtaWithHeader",
91
+ reverseAlignment: true,
92
+ sideContent: ctaSideContent
93
+ };
94
+ var iconTextListContent = /*#__PURE__*/_react["default"].createElement(_IconTextList["default"], {
95
+ items: [{
96
+ icon: "ico-annotate-48px",
97
+ headline: "Headline Lorem ipsum dolor sit amet",
98
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
99
+ }, {
100
+ icon: "mxp-icon-connection",
101
+ headline: "Headline Lorem ipsum dolor sit amet",
102
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec."
103
+ }, {
104
+ icon: "ico-annotate-48px",
105
+ headline: "Headline Lorem ipsum dolor sit amet",
106
+ body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Blandit vitae molestie aliquam iaculis eu et ultricies nec. <ul><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li><li>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Elit congue pellentesque rhoncus, at ac commodo ornare interdum arcu. </li></ul>"
107
+ }]
108
+ });
109
+ var contentSplit2 = {
110
+ images: imagesArray,
111
+ thumbnailAlignment: false,
112
+ contentType: "IconTextList",
113
+ reverseAlignment: false,
114
+ sideContent: iconTextListContent
115
+ };
116
+ var contentSplit2Flipped = {
117
+ images: imagesArray,
118
+ thumbnailAlignment: true,
119
+ contentType: "IconTextList",
120
+ reverseAlignment: true,
121
+ sideContent: iconTextListContent
122
+ };
123
+ var DefaultImageGallery = function DefaultImageGallery() {
124
+ return /*#__PURE__*/_react["default"].createElement("div", {
125
+ style: {
126
+ maxWidth: '1280px',
127
+ margin: '0 auto'
128
+ }
129
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
130
+ content: contentDefault
131
+ }));
132
+ };
133
+ exports.DefaultImageGallery = DefaultImageGallery;
134
+ var DefaultImageGalleryAlt = function DefaultImageGalleryAlt() {
135
+ return /*#__PURE__*/_react["default"].createElement("div", {
136
+ style: {
137
+ maxWidth: '1280px',
138
+ margin: '0 auto'
139
+ }
140
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
141
+ content: contentDefault2
142
+ }));
143
+ };
144
+ exports.DefaultImageGalleryAlt = DefaultImageGalleryAlt;
145
+ var SplitImageGallery = function SplitImageGallery() {
146
+ return /*#__PURE__*/_react["default"].createElement("div", {
147
+ style: {
148
+ maxWidth: '1280px',
149
+ margin: '0 auto'
150
+ }
151
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
152
+ content: contentSplit,
153
+ type: "Split"
154
+ }));
155
+ };
156
+ exports.SplitImageGallery = SplitImageGallery;
157
+ var SplitImageGalleryFlipped = function SplitImageGalleryFlipped() {
158
+ return /*#__PURE__*/_react["default"].createElement("div", {
159
+ style: {
160
+ maxWidth: '1280px',
161
+ margin: '0 auto'
162
+ }
163
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
164
+ content: contentSplitFlipped,
165
+ type: "Split"
166
+ }));
167
+ };
168
+ exports.SplitImageGalleryFlipped = SplitImageGalleryFlipped;
169
+ var SplitImageGalleryAlt = function SplitImageGalleryAlt() {
170
+ return /*#__PURE__*/_react["default"].createElement("div", {
171
+ style: {
172
+ maxWidth: '1280px',
173
+ margin: '0 auto'
174
+ }
175
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
176
+ content: contentSplit2,
177
+ type: "Split"
178
+ }));
179
+ };
180
+ exports.SplitImageGalleryAlt = SplitImageGalleryAlt;
181
+ var SplitImageGalleryAltFlipped = function SplitImageGalleryAltFlipped() {
182
+ return /*#__PURE__*/_react["default"].createElement("div", {
183
+ style: {
184
+ maxWidth: '1280px',
185
+ margin: '0 auto'
186
+ }
187
+ }, /*#__PURE__*/_react["default"].createElement(_ImageGallery["default"], {
188
+ content: contentSplit2Flipped,
189
+ type: "Split"
190
+ }));
191
+ };
192
+ // export const MosaicGallery = () => <ImageGallery content={contentDefault} />;
193
+ // export const MosaicGalleryFullWidth = () => <ImageGallery content={contentDefault} />;
194
+ exports.SplitImageGalleryAltFlipped = SplitImageGalleryAltFlipped;