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.
- package/dist/index.js +15 -294
- package/dist/luna/components/2x2/2x2.stories.js +456 -0
- package/dist/luna/components/2x2/2x2Documentation.mdx +77 -0
- package/dist/luna/components/Accordion/Accordion.stories.js +100 -0
- package/dist/luna/components/Accordion/AccordionDocumentation.mdx +46 -0
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.stories.js +43 -0
- package/dist/luna/components/AdminCategoryData/CategoryTranslationData.js +4 -4
- package/dist/luna/components/AdminProductData/AdminProductData.js +4 -4
- package/dist/luna/components/AdminProductData/AdminProductData.stories.js +44 -0
- package/dist/luna/components/BlockListItems/BlockListItem.stories.js +2381 -0
- package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -0
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBrowser.stories.js +19 -0
- package/dist/luna/components/CTAButtons/CTAButtons.stories.js +142 -0
- package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -0
- package/dist/luna/components/Carousel/Carousel.stories.js +257 -0
- package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -0
- package/dist/luna/components/ComparisonTable/ComparisonTable.stories.js +608 -0
- package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -0
- package/dist/luna/components/CtaWithHeader/CTAHeaderText.stories.js +192 -0
- package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -0
- package/dist/luna/components/DataPoint/DataPoint.stories.js +235 -0
- package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -0
- package/dist/luna/components/EventCard/EventCard.js +3 -3
- package/dist/luna/components/EventCard/EventCard.stories.js +56 -0
- package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -0
- package/dist/luna/components/FilterHero/FilterHero.stories.js +129 -0
- package/dist/luna/components/FilterSection/FilterSection.stories.js +174 -0
- package/dist/luna/{other-organisms → components}/Flyout/Flyout.js +4 -5
- package/dist/luna/components/Flyout/Flyout.stories.js +216 -0
- package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -0
- package/dist/luna/components/Footer/Footer.stories.js +418 -0
- package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -0
- package/dist/{application → luna}/components/FooterHandler/FooterHandler.js +1 -1
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.stories.js +574 -0
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +94 -0
- package/dist/luna/components/HTMLEmbed/HTMLEmbed.stories.js +136 -0
- package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -0
- package/dist/luna/components/Header/Header.stories.js +75 -0
- package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -0
- package/dist/luna/components/IconTextList/IconTextList.stories.js +100 -0
- package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +46 -0
- package/dist/luna/components/ImageGallery/ImageGallery.stories.js +194 -0
- package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -0
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.stories.js +104 -0
- package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +23 -0
- package/dist/luna/components/JobPosting/JobPosting.stories.js +76 -0
- package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -0
- package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.js +3 -4
- package/dist/luna/components/LanguageSelector/LanguageSelector.stories.js +128 -0
- package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +120 -0
- package/dist/luna/components/LinkList/LinkList.stories.js +170 -0
- package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -0
- package/dist/luna/components/LoadingSpinner/LoadingSpinner.stories.js +53 -0
- package/dist/luna/components/Login/Login.js +3 -4
- package/dist/luna/components/Login/Login.stories.js +86 -0
- package/dist/luna/components/MarketoForm/MarketoForm.stories.js +65 -0
- package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -0
- package/dist/luna/components/MegaMenu/MegaMenu.js +6 -7
- package/dist/luna/components/MegaMenu/menu-generators/FullSubMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/PartialSubMenu.js +4 -5
- package/dist/luna/components/MegaMenu/menu-generators/SubMenu.js +16 -14
- package/dist/luna/components/MegaMenu/menu-generators/TertiaryMenu.js +13 -11
- package/dist/luna/components/MegaMenu/menu-generators/UncollapsedLinks.js +4 -5
- package/dist/luna/components/MobileLogin/MobileLogin.js +3 -4
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.js +6 -6
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuCategory.js +9 -9
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuPartialCategory.js +3 -3
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuSubCategory.js +8 -9
- package/dist/luna/components/MobileNav/MobileNav.js +3 -4
- package/dist/luna/{other-organisms → components}/NavBar/NavMiniMenu.js +3 -4
- package/dist/luna/components/NavBar/NavigationBar.stories.js +2297 -0
- package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -0
- package/dist/luna/{other-organisms → components}/NavBar/UtilityNav.js +5 -5
- package/dist/{application → luna}/components/NavBarHandler/NavBarHandler.js +1 -1
- package/dist/luna/components/NavBarTop/NavBarTop.js +9 -10
- package/dist/luna/components/NavSearch/NavSearch.js +1 -1
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.stories.js +118 -0
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -0
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesMethods.js +1 -1
- package/dist/luna/components/OverlayNotice/OverlayNotice.stories.js +96 -0
- package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -0
- package/dist/luna/components/ProductSummary/ProductSummary.stories.js +163 -0
- package/dist/luna/components/ProductsPackage/ProductsPackage.stories.js +384 -0
- package/dist/luna/components/ProseLayout/ProseLayout.stories.js +187 -0
- package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -0
- package/dist/luna/components/PullQuote/PullQuote.stories.js +556 -0
- package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -0
- package/dist/luna/components/RegionCard/RegionCard.js +4 -4
- package/dist/luna/components/ResourceGrid/ResourceGrid.stories.js +765 -0
- package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -0
- package/dist/luna/components/ScrollInPlace/ScrollInPlace.stories.js +171 -0
- package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -0
- package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.stories.js +91 -0
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.stories.js +32 -0
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.js +1 -2
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.stories.js +46 -0
- package/dist/luna/{other-organisms → components}/SubNav/SiblingsMenu.js +3 -3
- package/dist/luna/{other-organisms → components}/SubNav/SubNav.js +6 -7
- package/dist/luna/components/SuperHero/SuperHero.stories.js +806 -0
- package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -0
- package/dist/luna/components/SupportCard/SupportCard.stories.js +76 -0
- package/dist/luna/components/Tabs/Tabs.js +1 -2
- package/dist/luna/components/Tabs/Tabs.stories.js +585 -0
- package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -0
- package/dist/luna/components/TimeBasedList/TimeBasedList.stories.js +297 -0
- package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -0
- package/dist/luna/components/TrainerCard/TrainerCard.stories.js +39 -0
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.stories.js +69 -0
- package/dist/luna/components/VariableContentCard/VariableContentCard.js +4 -4
- package/dist/luna/components/Video/Video.stories.js +135 -0
- package/dist/luna/components/Video/VideoDocumentation.mdx +56 -0
- package/dist/luna/components/WaffleMenu/WaffleMenu.js +1 -1
- package/package.json +3 -3
- package/dist/application/components/HelmetHandler/HelmetHandler.js +0 -40
- package/dist/application/components/Loading/Loading.js +0 -22
- package/dist/application/components/Loading/Loading.scss +0 -10
- package/dist/application/components/Stack/Stack.js +0 -413
- package/dist/application/hooks/tests/useErrorPageData.test.js +0 -74
- package/dist/application/hooks/tests/useFetch.test.js +0 -70
- package/dist/application/hooks/tests/useFooterData.test.js +0 -106
- package/dist/application/hooks/tests/useFooterResponse.test.js +0 -70
- package/dist/application/hooks/tests/useFooterURL.test.js +0 -46
- package/dist/application/hooks/tests/useInnerPageNav.test.js +0 -36
- package/dist/application/hooks/tests/useLanguage.test.js +0 -57
- package/dist/application/hooks/tests/useLanguages.test.js +0 -133
- package/dist/application/hooks/tests/useMetadata.test.js +0 -33
- package/dist/application/hooks/tests/useNavResponse.test.js +0 -136
- package/dist/application/hooks/tests/useNavURL.test.js +0 -49
- package/dist/application/hooks/tests/usePageFetch.test.js +0 -203
- package/dist/application/hooks/tests/useRegions.test.js +0 -234
- package/dist/application/hooks/tests/useRoutes.test.js +0 -116
- package/dist/application/hooks/tests/useSiteData.test.js +0 -86
- package/dist/application/hooks/useErrorPageData.js +0 -59
- package/dist/application/hooks/useFetch.js +0 -67
- package/dist/application/hooks/useFooterData.js +0 -45
- package/dist/application/hooks/useFooterResponse.js +0 -56
- package/dist/application/hooks/useFooterURL.js +0 -32
- package/dist/application/hooks/useLanguage.js +0 -44
- package/dist/application/hooks/useLanguages.js +0 -66
- package/dist/application/hooks/useMetadata.js +0 -23
- package/dist/application/hooks/useNavData.js +0 -45
- package/dist/application/hooks/useNavResponse.js +0 -59
- package/dist/application/hooks/useNavURL.js +0 -41
- package/dist/application/hooks/usePageFetch.js +0 -109
- package/dist/application/hooks/useRegions.js +0 -149
- package/dist/application/hooks/useRoutes.js +0 -59
- package/dist/application/hooks/useScrollTo.js +0 -60
- package/dist/application/hooks/useSiteData.js +0 -58
- package/dist/application/methods/__mocks__/formatFooterDataMethods.js +0 -54
- package/dist/application/methods/formatContentSections.js +0 -130
- package/dist/application/methods/formatFooterDataMethods.js +0 -82
- package/dist/application/methods/formatMenuSiteData.js +0 -45
- package/dist/application/methods/formatMenus.js +0 -120
- package/dist/application/methods/locationRedirect.js +0 -16
- package/dist/application/methods/organismFormat/__mocks__/formatAnchors.js +0 -11
- package/dist/application/methods/organismFormat/__mocks__/formatCTAs.js +0 -10
- package/dist/application/methods/organismFormat/__mocks__/formatTheme.js +0 -15
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFive.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFour.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatOne.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatSeven.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatThree.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoA.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoB.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoBIcons.js +0 -14
- package/dist/application/methods/organismFormat/feats/__mocks__/formatPullQuote.js +0 -12
- package/dist/application/methods/organismFormat/feats/formatFeatFive.js +0 -39
- package/dist/application/methods/organismFormat/feats/formatFeatFour.js +0 -36
- package/dist/application/methods/organismFormat/feats/formatFeatOne.js +0 -52
- package/dist/application/methods/organismFormat/feats/formatFeatSeven.js +0 -193
- package/dist/application/methods/organismFormat/feats/formatFeatThree.js +0 -41
- package/dist/application/methods/organismFormat/feats/formatFeatTwoA.js +0 -37
- package/dist/application/methods/organismFormat/feats/formatFeatTwoAFolds.js +0 -27
- package/dist/application/methods/organismFormat/feats/formatFeatTwoB.js +0 -40
- package/dist/application/methods/organismFormat/feats/formatFeatTwoBIcons.js +0 -20
- package/dist/application/methods/organismFormat/feats/formatPullQuote.js +0 -49
- package/dist/application/methods/organismFormat/feats/tests/formatFeatFive.test.js +0 -173
- package/dist/application/methods/organismFormat/feats/tests/formatFeatFour.test.js +0 -140
- package/dist/application/methods/organismFormat/feats/tests/formatFeatOne.test.js +0 -204
- package/dist/application/methods/organismFormat/feats/tests/formatFeatSeven.test.js +0 -680
- package/dist/application/methods/organismFormat/feats/tests/formatFeatThree.test.js +0 -142
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoA.test.js +0 -342
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoAFolds.test.js +0 -99
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoB.test.js +0 -293
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoBIcons.test.js +0 -78
- package/dist/application/methods/organismFormat/feats/tests/formatPullQuote.test.js +0 -178
- package/dist/application/methods/organismFormat/formatAnchors.js +0 -16
- package/dist/application/methods/organismFormat/formatCTAs.js +0 -34
- package/dist/application/methods/organismFormat/formatTheme.js +0 -29
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroFour.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroOne.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroSix.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroThree.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroTwo.js +0 -12
- package/dist/application/methods/organismFormat/heroes/formatHeroFour.js +0 -39
- package/dist/application/methods/organismFormat/heroes/formatHeroOne.js +0 -56
- package/dist/application/methods/organismFormat/heroes/formatHeroSeven.js +0 -56
- package/dist/application/methods/organismFormat/heroes/formatHeroSix.js +0 -51
- package/dist/application/methods/organismFormat/heroes/formatHeroThree.js +0 -58
- package/dist/application/methods/organismFormat/heroes/formatHeroTwo.js +0 -42
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroFour.test.js +0 -245
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroOne.test.js +0 -165
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroSeven.test.js +0 -198
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroSix.test.js +0 -196
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroThree.test.js +0 -185
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroTwo.test.js +0 -205
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFive.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFour.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFourCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOne.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneCards.js +0 -17
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneV2Cards.js +0 -27
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSeven.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSevenCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSix.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSixCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThree.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeV2Cards.js +0 -32
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTopSection.js +0 -23
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwo.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoV2Cards.js +0 -34
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatType.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatV2.js +0 -33
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFive.js +0 -53
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveItemsV2.js +0 -32
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveV2.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFour.js +0 -35
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourCards.js +0 -24
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourDumplingsV2.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourV2.js +0 -38
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOne.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneCards.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2.js +0 -41
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2Cards.js +0 -64
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSeven.js +0 -37
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCards.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCardsV2.js +0 -48
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenV2.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSix.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCards.js +0 -15
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCardsV2.js +0 -16
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixV2.js +0 -38
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThree.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeCards.js +0 -48
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2Cards.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTopSection.js +0 -33
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwo.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoCards.js +0 -34
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2Cards.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatType.js +0 -27
- package/dist/application/methods/organismFormat/listFeats/formatListFeatV2.js +0 -21
- package/dist/application/methods/organismFormat/listFeats/tests/formatFeatSevenV2.test.js +0 -463
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFive.test.js +0 -89
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFiveV2.test.js +0 -238
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFour.test.js +0 -75
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourCards.test.js +0 -65
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourV2.test.js +0 -358
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOne.test.js +0 -98
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneCards.test.js +0 -67
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2.test.js +0 -191
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2Cards.test.js +0 -87
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSeven.test.js +0 -120
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSevenCards.test.js +0 -111
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSix.test.js +0 -67
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixCards.test.js +0 -25
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixV2.test.js +0 -242
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThree.test.js +0 -96
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeCards.test.js +0 -94
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2.test.js +0 -242
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2Cards.test.js +0 -96
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTopSection.test.js +0 -63
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwo.test.js +0 -86
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoCards.test.js +0 -81
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2.test.js +0 -299
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2Cards.test.js +0 -159
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatV2.test.js +0 -69
- package/dist/application/methods/organismFormat/listFeats/tests/mockData/listFeatOneV2MockData.js +0 -125
- package/dist/application/methods/organismFormat/tests/formatAnchors.test.js +0 -20
- package/dist/application/methods/organismFormat/tests/formatCTAs.test.js +0 -109
- package/dist/application/methods/organismFormat/tests/formatTheme.test.js +0 -54
- package/dist/application/methods/tests/formatContentSections.test.js +0 -237
- package/dist/application/methods/tests/formatFooterDataMethods.test.js +0 -138
- package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.js +0 -78
- package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.scss +0 -107
- package/dist/luna/featurettes/CustomFeat/CustomFeat.js +0 -157
- package/dist/luna/featurettes/CustomFeat/CustomFeat.scss +0 -18
- package/dist/luna/featurettes/Feat1/Feat1.js +0 -122
- package/dist/luna/featurettes/Feat1/Feat1.scss +0 -110
- package/dist/luna/featurettes/Feat1/feat1Methods.js +0 -18
- package/dist/luna/featurettes/Feat1/feat1Methods.test.js +0 -21
- package/dist/luna/featurettes/Feat2A/Feat2A.js +0 -101
- package/dist/luna/featurettes/Feat2A/Feat2A.scss +0 -132
- package/dist/luna/featurettes/Feat2B/Feat2B.js +0 -131
- package/dist/luna/featurettes/Feat2B/Feat2B.scss +0 -231
- package/dist/luna/featurettes/Feat2B/Feat2BMethods.js +0 -75
- package/dist/luna/featurettes/Feat2B/Feat2BMethods.test.js +0 -38
- package/dist/luna/featurettes/Feat3/Feat3.js +0 -89
- package/dist/luna/featurettes/Feat3/Feat3.scss +0 -49
- package/dist/luna/featurettes/Feat4/Feat4.js +0 -95
- package/dist/luna/featurettes/Feat4/Feat4.scss +0 -86
- package/dist/luna/featurettes/Feat5/Feat5.js +0 -194
- package/dist/luna/featurettes/Feat5/Feat5.scss +0 -235
- package/dist/luna/featurettes/Feat5/Feat5Methods.js +0 -19
- package/dist/luna/featurettes/Feat5/Feat5Methods.test.js +0 -23
- package/dist/luna/featurettes/Feat7/Feat7.js +0 -79
- package/dist/luna/featurettes/Feat7/Feat7.scss +0 -49
- package/dist/luna/featurettes/Feat7/Feat7Methods.js +0 -41
- package/dist/luna/featurettes/Feat8/Feat8.js +0 -75
- package/dist/luna/featurettes/Feat8/Feat8.scss +0 -103
- package/dist/luna/featurettes/Feat8/feat8Methods.js +0 -18
- package/dist/luna/featurettes/Feat8/feat8Methods.test.js +0 -21
- package/dist/luna/heroes/Hero1/Hero1.js +0 -111
- package/dist/luna/heroes/Hero1/Hero1.scss +0 -223
- package/dist/luna/heroes/Hero1/Hero1Methods.js +0 -84
- package/dist/luna/heroes/Hero1/useWindowSize.js +0 -47
- package/dist/luna/heroes/Hero2/Hero2.js +0 -130
- package/dist/luna/heroes/Hero2/Hero2.scss +0 -165
- package/dist/luna/heroes/Hero3/Hero3.js +0 -246
- package/dist/luna/heroes/Hero3/Hero3.scss +0 -250
- package/dist/luna/heroes/Hero3/Hero3Methods.js +0 -37
- package/dist/luna/heroes/Hero4/Hero4.js +0 -175
- package/dist/luna/heroes/Hero4/Hero4.scss +0 -112
- package/dist/luna/heroes/Hero4/hero4Methods.js +0 -18
- package/dist/luna/heroes/Hero6/Hero6.js +0 -179
- package/dist/luna/heroes/Hero6/Hero6.scss +0 -127
- package/dist/luna/heroes/Hero7/Hero7.js +0 -118
- package/dist/luna/heroes/Hero7/Hero7.scss +0 -193
- package/dist/luna/heroes/Hero7/Hero7Methods.js +0 -39
- package/dist/luna/heroes/Hero7/Hero7Methods.test.js +0 -109
- package/dist/luna/heroes/Hero7/useWindowWidth.js +0 -40
- package/dist/luna/list-feats/ListFeat/ListFeat.js +0 -149
- package/dist/luna/list-feats/ListFeat/ListFeat.scss +0 -112
- package/dist/luna/list-feats/ListFeat1/ListFeat1.js +0 -91
- package/dist/luna/list-feats/ListFeat1/ListFeat1.scss +0 -94
- package/dist/luna/list-feats/ListFeat1/listFeat1Methods.js +0 -14
- package/dist/luna/list-feats/ListFeat1/listFeat1Methods.test.js +0 -17
- package/dist/luna/list-feats/ListFeat2/ListFeat2.js +0 -30
- package/dist/luna/list-feats/ListFeat2/ListFeat2.scss +0 -20
- package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.js +0 -33
- package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.test.js +0 -11
- package/dist/luna/list-feats/ListFeat4/ListFeat4.js +0 -34
- package/dist/luna/list-feats/ListFeat4/ListFeat4.scss +0 -32
- package/dist/luna/list-feats/ListFeat5/ListFeat5.js +0 -28
- package/dist/luna/list-feats/ListFeat5/ListFeat5.scss +0 -27
- package/dist/luna/list-feats/ListFeat5/ListFeat5Methods.js +0 -24
- package/dist/luna/list-feats/ListFeat6/ListFeat6.js +0 -59
- package/dist/luna/list-feats/ListFeat6/ListFeat6.scss +0 -34
- package/dist/luna/list-feats/ListFeat7/ListFeat7.js +0 -51
- package/dist/luna/list-feats/ListFeat7/ListFeat7.scss +0 -14
- package/dist/luna/list-feats/ListFeat7/ListFeat7Methods.js +0 -49
- package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.js +0 -25
- package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.scss +0 -8
- package/dist/luna/list-feats/methods/listFeatMethods.js +0 -119
- /package/dist/luna/{featurettes → components}/Accordion/Accordion.js +0 -0
- /package/dist/luna/{featurettes → components}/Accordion/Accordion.scss +0 -0
- /package/dist/luna/{featurettes → components}/Accordion/AccordionItem.js +0 -0
- /package/dist/luna/{other-organisms → components}/Carousel/Carousel.js +0 -0
- /package/dist/luna/{other-organisms → components}/Carousel/Carousel.scss +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHero.js +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHero.scss +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHeroMethods.js +0 -0
- /package/dist/luna/{other-organisms → components}/Flyout/Flyout.scss +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/ExportedFooter.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/Footer.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/Footer.scss +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/GlobalFooter.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/SectorFooter.js +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.js +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.scss +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHeroMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.js +0 -0
- /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.scss +0 -0
- /package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.scss +0 -0
- /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.js +0 -0
- /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.scss +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavBar.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavBar.scss +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavOption.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/useNavPosition.js +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.js +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.scss +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackageMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.js +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.scss +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/ico-quote-white.svg +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/ico-quote.svg +0 -0
- /package/dist/luna/{other-organisms → components}/SubNav/SubNav.scss +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHero.js +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHero.scss +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHeroMethods.js +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/useCompareContainerHeights.js +0 -0
- /package/dist/{application/assets → luna}/images/carat-down.svg +0 -0
- /package/dist/{application/assets → luna}/images/carat-up.svg +0 -0
- /package/dist/{application/assets → luna}/images/close-blue.svg +0 -0
- /package/dist/{application/assets → luna}/images/close.svg +0 -0
- /package/dist/{application/assets → luna}/images/ellipses.svg +0 -0
- /package/dist/{application/assets → luna}/images/facebook.svg +0 -0
- /package/dist/{application/assets → luna}/images/favicon.ico +0 -0
- /package/dist/{application/assets → luna}/images/fpoBox.png +0 -0
- /package/dist/{application/assets → luna}/images/fpoSquare.png +0 -0
- /package/dist/{application/assets → luna}/images/instagram.svg +0 -0
- /package/dist/{application/assets → luna}/images/linkedin.svg +0 -0
- /package/dist/{application/assets → luna}/images/loading-mini.gif +0 -0
- /package/dist/{application/assets → luna}/images/trimble_logo.png +0 -0
- /package/dist/{application/assets → luna}/images/twitter.svg +0 -0
- /package/dist/{application/assets → luna}/images/youtube.svg +0 -0
- /package/dist/{application → luna/utils}/hooks/useInnerPageNav.js +0 -0
@@ -1,118 +0,0 @@
|
|
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"] = void 0;
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
9
|
-
require("./Hero7.scss");
|
10
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
11
|
-
var _terraOne = require("terra-one");
|
12
|
-
var _Hero2 = _interopRequireDefault(require("../Hero2/Hero2"));
|
13
|
-
var _useWindowWidth2 = _interopRequireDefault(require("./useWindowWidth"));
|
14
|
-
var _Hero7Methods = require("./Hero7Methods");
|
15
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
16
|
-
var _generateFocusedImageAlt = _interopRequireDefault(require("../../utils/generateFocusedImageAlt"));
|
17
|
-
var Hero7 = function Hero7(_ref) {
|
18
|
-
var _focusedImage$focalPo;
|
19
|
-
var content = _ref.content,
|
20
|
-
motion = _ref.motion;
|
21
|
-
var _useWindowWidth = (0, _useWindowWidth2["default"])(),
|
22
|
-
screenSize = _useWindowWidth.screenSize;
|
23
|
-
var header = content.header,
|
24
|
-
subHeader = content.subHeader,
|
25
|
-
images = content.images,
|
26
|
-
theme = content.theme,
|
27
|
-
contentSide = content.contentSide,
|
28
|
-
GatsbyImage = content.GatsbyImage,
|
29
|
-
focusedImage = content.focusedImage;
|
30
|
-
var mainImage;
|
31
|
-
if (focusedImage && focusedImage !== null && focusedImage !== void 0 && (_focusedImage$focalPo = focusedImage.focalPointImage) !== null && _focusedImage$focalPo !== void 0 && _focusedImage$focalPo.url) {
|
32
|
-
mainImage = /*#__PURE__*/_react["default"].createElement("div", {
|
33
|
-
className: "ter-hero-7__inner-wrapper",
|
34
|
-
style: {
|
35
|
-
backgroundColor: theme ? theme : "#000000"
|
36
|
-
}
|
37
|
-
}, /*#__PURE__*/_react["default"].createElement(_terraOne.FocusedImage, {
|
38
|
-
focalPointImage: focusedImage === null || focusedImage === void 0 ? void 0 : focusedImage.focalPointImage,
|
39
|
-
alt: (0, _generateFocusedImageAlt["default"])(focusedImage),
|
40
|
-
fullHeightWrapper: true,
|
41
|
-
imageSizes: {
|
42
|
-
desktop: {
|
43
|
-
width: 2240,
|
44
|
-
height: 560,
|
45
|
-
ratio: {
|
46
|
-
width: 4,
|
47
|
-
height: 1
|
48
|
-
}
|
49
|
-
},
|
50
|
-
tablet: {
|
51
|
-
width: 900,
|
52
|
-
height: 450,
|
53
|
-
ratio: {
|
54
|
-
width: 2,
|
55
|
-
height: 1
|
56
|
-
}
|
57
|
-
},
|
58
|
-
mobile: {
|
59
|
-
width: 900,
|
60
|
-
height: 450,
|
61
|
-
ratio: {
|
62
|
-
width: 2,
|
63
|
-
height: 1
|
64
|
-
}
|
65
|
-
}
|
66
|
-
}
|
67
|
-
}));
|
68
|
-
} else {
|
69
|
-
var _images$desktop, _images$desktop2, _images$desktop3;
|
70
|
-
mainImage = ((images === null || images === void 0 ? void 0 : (_images$desktop = images.desktop) === null || _images$desktop === void 0 ? void 0 : _images$desktop.url) || (images === null || images === void 0 ? void 0 : (_images$desktop2 = images.desktop) === null || _images$desktop2 === void 0 ? void 0 : _images$desktop2.src)) && /*#__PURE__*/_react["default"].createElement(_terraOne.Image, {
|
71
|
-
GatsbyImage: GatsbyImage ? GatsbyImage : null,
|
72
|
-
image: images === null || images === void 0 ? void 0 : (_images$desktop3 = images.desktop) === null || _images$desktop3 === void 0 ? void 0 : _images$desktop3.image,
|
73
|
-
src: (0, _Hero7Methods.generateBackground)(screenSize, images),
|
74
|
-
className: "ter-hero-7__opacity-background"
|
75
|
-
});
|
76
|
-
}
|
77
|
-
return /*#__PURE__*/_react["default"].createElement("div", null, screenSize !== "mobile" && /*#__PURE__*/_react["default"].createElement("section", {
|
78
|
-
className: "ter-hero-7 ".concat(focusedImage ? "ter-hero-7--focused-image" : ""),
|
79
|
-
style: {
|
80
|
-
backgroundColor: theme ? theme : "#000000"
|
81
|
-
}
|
82
|
-
}, /*#__PURE__*/_react["default"].createElement("section", {
|
83
|
-
className: contentSide === "right" ? "ter-hero-7__container--right" : "ter-hero-7__container"
|
84
|
-
}, mainImage, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
85
|
-
bottom: true,
|
86
|
-
delay: motion ? 200 : 0,
|
87
|
-
fraction: 0,
|
88
|
-
distance: motion ? "100px" : "0",
|
89
|
-
duration: motion ? 1000 : 0
|
90
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
91
|
-
className: "ter-hero-7__content-container"
|
92
|
-
}, header && /*#__PURE__*/_react["default"].createElement("h2", {
|
93
|
-
className: "ter-hero-7__header ter-hero__header"
|
94
|
-
}, header), subHeader && !(0, _checkForDangerouslySet["default"])(subHeader) && /*#__PURE__*/_react["default"].createElement("p", {
|
95
|
-
className: "ter-hero-7__subHeader ter-hero__sub-header"
|
96
|
-
}, subHeader), subHeader && (0, _checkForDangerouslySet["default"])(subHeader) && /*#__PURE__*/_react["default"].createElement("div", {
|
97
|
-
className: "ter-hero-7__subHeader-container ter-hero__sub-header-container dangerously-set-content",
|
98
|
-
dangerouslySetInnerHTML: {
|
99
|
-
__html: subHeader
|
100
|
-
}
|
101
|
-
}), content.ctas && content.ctas.ctaOne && /*#__PURE__*/_react["default"].createElement(_terraOne.Button, {
|
102
|
-
Link: content === null || content === void 0 ? void 0 : content.Link,
|
103
|
-
text: content.ctas.ctaOne.text ? content.ctas.ctaOne.text : null,
|
104
|
-
url: content.ctas.ctaOne.url ? content.ctas.ctaOne.url : null,
|
105
|
-
className: "ter-hero-7__button ter-hero-7__button-1 ".concat(theme === "theme-1" ? "ter-hero-7__button1-theme-1" : theme === "theme-2" ? "ter-hero-7__button1-theme-2" : "")
|
106
|
-
}), content.ctas && content.ctas.ctaTwo && /*#__PURE__*/_react["default"].createElement(_terraOne.Button, {
|
107
|
-
Link: content === null || content === void 0 ? void 0 : content.Link,
|
108
|
-
text: content.ctas.ctaTwo.text ? content.ctas.ctaTwo.text : null,
|
109
|
-
url: content.ctas.ctaTwo.url ? content.ctas.ctaTwo.url : null,
|
110
|
-
className: "ter-hero-7__button ter-hero-7__button-2"
|
111
|
-
}))))), screenSize === "mobile" && /*#__PURE__*/_react["default"].createElement("section", {
|
112
|
-
className: "ter-hero-7__mobile-container"
|
113
|
-
}, /*#__PURE__*/_react["default"].createElement(_Hero2["default"], {
|
114
|
-
content: (0, _Hero7Methods.mobileContent)(content)
|
115
|
-
})));
|
116
|
-
};
|
117
|
-
var _default = Hero7;
|
118
|
-
exports["default"] = _default;
|
@@ -1,193 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-hero-7 {
|
4
|
-
padding: spacing("super") calc((100vw - 1200px) / 2);
|
5
|
-
position: relative;
|
6
|
-
height: 400px;
|
7
|
-
min-height: 400px;
|
8
|
-
z-index: 1;
|
9
|
-
background-color: #000000;
|
10
|
-
|
11
|
-
@media screen and (max-width: 1272px) {
|
12
|
-
padding: spacing("super") 36px;
|
13
|
-
}
|
14
|
-
|
15
|
-
@media screen and (max-width: 900px) {
|
16
|
-
height: 450px;
|
17
|
-
}
|
18
|
-
|
19
|
-
@media screen and (max-width: 750px) {
|
20
|
-
display: none;
|
21
|
-
}
|
22
|
-
|
23
|
-
&__container--right {
|
24
|
-
float: right;
|
25
|
-
}
|
26
|
-
|
27
|
-
&__opacity-background {
|
28
|
-
object-fit: cover;
|
29
|
-
position: absolute;
|
30
|
-
z-index: -1;
|
31
|
-
top: 0;
|
32
|
-
bottom: 0;
|
33
|
-
left: 0;
|
34
|
-
right: 0;
|
35
|
-
opacity: 0.5;
|
36
|
-
background-size: cover;
|
37
|
-
height: 400px;
|
38
|
-
width: 100%;
|
39
|
-
|
40
|
-
@media screen and (max-width: 900px) {
|
41
|
-
height: 450px;
|
42
|
-
}
|
43
|
-
|
44
|
-
@media screen and (max-width: 750px) {
|
45
|
-
display: none;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
&__header,
|
50
|
-
&__subHeader {
|
51
|
-
color: $white;
|
52
|
-
}
|
53
|
-
|
54
|
-
&__header {
|
55
|
-
font-size: $heading-3-size;
|
56
|
-
height: 90px;
|
57
|
-
width: 600px;
|
58
|
-
@include benton-very-bold();
|
59
|
-
|
60
|
-
@media screen and (max-width: 900px) {
|
61
|
-
width: 430px;
|
62
|
-
}
|
63
|
-
}
|
64
|
-
|
65
|
-
&__subHeader,
|
66
|
-
&__subHeader-container > p, &__sub-header-container > p {
|
67
|
-
margin: 0 0 30px;
|
68
|
-
max-height: 72px;
|
69
|
-
width: 600px;
|
70
|
-
color: $white;
|
71
|
-
font-size: $subheading-size;
|
72
|
-
@include benton-light();
|
73
|
-
padding-bottom: 16px;
|
74
|
-
|
75
|
-
@media screen and (max-width: 900px) {
|
76
|
-
width: 430px;
|
77
|
-
margin-bottom: 70px;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
|
82
|
-
&__subHeader-container p, &__subHeader-container a, &__subHeader-container h1, &__subHeader-container h2, &__subHeader-container h3, &__subHeader-container h4, &__subHeader-container h5, &__subHeader-container h6, &__subHeader-container ul, &__subHeader-container ol {
|
83
|
-
color: $white;
|
84
|
-
}
|
85
|
-
|
86
|
-
&__button {
|
87
|
-
margin-right: 20px;
|
88
|
-
color: $white;
|
89
|
-
max-height: 32px;
|
90
|
-
width: 144px;
|
91
|
-
@media screen and (max-width: 900px) {
|
92
|
-
margin-top: 40px;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
a.ter-button {
|
97
|
-
margin-top: 12px;
|
98
|
-
color: $white;
|
99
|
-
font-size: $body-font-size;
|
100
|
-
letter-spacing: 0;
|
101
|
-
line-height: 20px;
|
102
|
-
align-self: center;
|
103
|
-
justify-content: center;
|
104
|
-
align-items: center;
|
105
|
-
justify-self: center;
|
106
|
-
|
107
|
-
a.ter-button:hover,
|
108
|
-
a.ter-button:active,
|
109
|
-
a.ter-button:focus,
|
110
|
-
a.ter-button:visited {
|
111
|
-
cursor: pointer;
|
112
|
-
text-decoration: none;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
&__button1-theme-1 {
|
117
|
-
background: $trimble-blue;
|
118
|
-
}
|
119
|
-
|
120
|
-
&__button1-theme-2 {
|
121
|
-
background: $white;
|
122
|
-
}
|
123
|
-
|
124
|
-
a.ter-button.ter-hero-7__button.ter-hero-7__button1-theme-2 {
|
125
|
-
color: $trimble-blue !important;
|
126
|
-
text-align: center !important;
|
127
|
-
}
|
128
|
-
|
129
|
-
&__button-2 {
|
130
|
-
border: 1px solid $white;
|
131
|
-
}
|
132
|
-
|
133
|
-
&__mobile-container {
|
134
|
-
.ter-hero-2__header,
|
135
|
-
.ter-hero-2__sub-header {
|
136
|
-
text-align: start !important;
|
137
|
-
}
|
138
|
-
|
139
|
-
.ter-card__body {
|
140
|
-
padding: 12px 24px;
|
141
|
-
}
|
142
|
-
|
143
|
-
.ter-hero-2__sub-header,
|
144
|
-
.ter-hero-2__sub-header-container p {
|
145
|
-
font-size: $heading-6-size;
|
146
|
-
@include benton-light();
|
147
|
-
margin-bottom: 0 !important;
|
148
|
-
}
|
149
|
-
|
150
|
-
.ter-hero-2__header {
|
151
|
-
@include benton-very-bold();
|
152
|
-
font-size: 28px;
|
153
|
-
}
|
154
|
-
|
155
|
-
.ter-hero-2__cta-section-wrapper {
|
156
|
-
align-self: start;
|
157
|
-
margin-top: 30px;
|
158
|
-
}
|
159
|
-
}
|
160
|
-
|
161
|
-
.ter-hero-7__content-container
|
162
|
-
> a.ter-button.ter-hero-7__button.ter-hero-7__button-2.active {
|
163
|
-
text-align: center;
|
164
|
-
justify-content: center;
|
165
|
-
}
|
166
|
-
|
167
|
-
.ter-hero-7__content-container
|
168
|
-
> a.ter-button.ter-hero-7__button.ter-hero-7__button-1.active {
|
169
|
-
text-align: center;
|
170
|
-
justify-content: center;
|
171
|
-
}
|
172
|
-
|
173
|
-
.ter-hero-7__inner-wrapper {
|
174
|
-
position: absolute;
|
175
|
-
left: 0;
|
176
|
-
right: 0;
|
177
|
-
bottom: 0;
|
178
|
-
top: 0;
|
179
|
-
overflow: hidden;
|
180
|
-
.focused-image {
|
181
|
-
z-index: -1;
|
182
|
-
opacity: 0.5;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
|
186
|
-
&.ter-hero-7--focused-image {
|
187
|
-
display: block;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
5
|
-
value: true
|
6
|
-
});
|
7
|
-
exports.mobileContent = exports.generateBackground = void 0;
|
8
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
9
|
-
var mobileContent = function mobileContent() {
|
10
|
-
var _content$images, _content$images2, _content$images3;
|
11
|
-
var content = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
12
|
-
return (0, _defineProperty2["default"])({
|
13
|
-
header: (content === null || content === void 0 ? void 0 : content.header) || null,
|
14
|
-
subHeader: (content === null || content === void 0 ? void 0 : content.subHeader) || null,
|
15
|
-
images: {
|
16
|
-
desktop: (content === null || content === void 0 ? void 0 : (_content$images = content.images) === null || _content$images === void 0 ? void 0 : _content$images.desktop) || null,
|
17
|
-
mobile: (content === null || content === void 0 ? void 0 : (_content$images2 = content.images) === null || _content$images2 === void 0 ? void 0 : _content$images2.mobile) || (content === null || content === void 0 ? void 0 : (_content$images3 = content.images) === null || _content$images3 === void 0 ? void 0 : _content$images3.desktop) || null
|
18
|
-
},
|
19
|
-
ctas: (content === null || content === void 0 ? void 0 : content.ctas) || null,
|
20
|
-
GatsbyImage: (content === null || content === void 0 ? void 0 : content.GatsbyImage) || null,
|
21
|
-
focusedImage: (content === null || content === void 0 ? void 0 : content.focusedImage) || null,
|
22
|
-
imageSizes: (content === null || content === void 0 ? void 0 : content.imageSizes) || null
|
23
|
-
}, "focusedImage", (content === null || content === void 0 ? void 0 : content.focusedImage) || null);
|
24
|
-
};
|
25
|
-
exports.mobileContent = mobileContent;
|
26
|
-
var generateBackground = function generateBackground(screenSize, images) {
|
27
|
-
var _images$mobile, _images$mobile2, _images$tablet, _images$tablet2;
|
28
|
-
if (screenSize === "mobile" && images !== null && images !== void 0 && (_images$mobile = images.mobile) !== null && _images$mobile !== void 0 && _images$mobile.url || screenSize === "mobile" && images !== null && images !== void 0 && (_images$mobile2 = images.mobile) !== null && _images$mobile2 !== void 0 && _images$mobile2.src) {
|
29
|
-
var _images$mobile3, _images$mobile4;
|
30
|
-
return (images === null || images === void 0 ? void 0 : (_images$mobile3 = images.mobile) === null || _images$mobile3 === void 0 ? void 0 : _images$mobile3.url) || (images === null || images === void 0 ? void 0 : (_images$mobile4 = images.mobile) === null || _images$mobile4 === void 0 ? void 0 : _images$mobile4.src);
|
31
|
-
} else if (screenSize === "tablet" && images !== null && images !== void 0 && (_images$tablet = images.tablet) !== null && _images$tablet !== void 0 && _images$tablet.url || screenSize === "tablet" && images !== null && images !== void 0 && (_images$tablet2 = images.tablet) !== null && _images$tablet2 !== void 0 && _images$tablet2.src) {
|
32
|
-
var _images$tablet3, _images$tablet4;
|
33
|
-
return (images === null || images === void 0 ? void 0 : (_images$tablet3 = images.tablet) === null || _images$tablet3 === void 0 ? void 0 : _images$tablet3.url) || (images === null || images === void 0 ? void 0 : (_images$tablet4 = images.tablet) === null || _images$tablet4 === void 0 ? void 0 : _images$tablet4.src);
|
34
|
-
} else {
|
35
|
-
var _images$desktop, _images$desktop2;
|
36
|
-
return (images === null || images === void 0 ? void 0 : (_images$desktop = images.desktop) === null || _images$desktop === void 0 ? void 0 : _images$desktop.url) || (images === null || images === void 0 ? void 0 : (_images$desktop2 = images.desktop) === null || _images$desktop2 === void 0 ? void 0 : _images$desktop2.src);
|
37
|
-
}
|
38
|
-
};
|
39
|
-
exports.generateBackground = generateBackground;
|
@@ -1,109 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _Hero7Methods = require("./Hero7Methods");
|
4
|
-
describe("Hero7Methods", function () {
|
5
|
-
var _content = {
|
6
|
-
header: "test header",
|
7
|
-
subHeader: "test subheader",
|
8
|
-
images: {
|
9
|
-
desktop: "test image desktop",
|
10
|
-
mobile: "test image mobile"
|
11
|
-
},
|
12
|
-
ctas: "test ctas",
|
13
|
-
junk: "this is junk"
|
14
|
-
};
|
15
|
-
var _nullContent = {};
|
16
|
-
describe("mobileContent", function () {
|
17
|
-
it("should return a formatted object", function () {
|
18
|
-
var response = (0, _Hero7Methods.mobileContent)(_content);
|
19
|
-
var expected = {
|
20
|
-
header: "test header",
|
21
|
-
subHeader: "test subheader",
|
22
|
-
images: {
|
23
|
-
desktop: "test image desktop",
|
24
|
-
mobile: "test image mobile"
|
25
|
-
},
|
26
|
-
ctas: "test ctas",
|
27
|
-
GatsbyImage: null,
|
28
|
-
className: "focused-image",
|
29
|
-
focusedImage: null,
|
30
|
-
imageSizes: null,
|
31
|
-
wrapperClassName: null,
|
32
|
-
wrapperHeight: null
|
33
|
-
};
|
34
|
-
expect(response).toStrictEqual(expected);
|
35
|
-
});
|
36
|
-
it("should return a null-checked object", function () {
|
37
|
-
var response = (0, _Hero7Methods.mobileContent)(_nullContent);
|
38
|
-
expect(response).toStrictEqual({
|
39
|
-
header: null,
|
40
|
-
subHeader: null,
|
41
|
-
images: {
|
42
|
-
desktop: null,
|
43
|
-
mobile: null
|
44
|
-
},
|
45
|
-
ctas: null,
|
46
|
-
GatsbyImage: null,
|
47
|
-
className: "focused-image",
|
48
|
-
focusedImage: null,
|
49
|
-
imageSizes: null,
|
50
|
-
wrapperClassName: null,
|
51
|
-
wrapperHeight: null
|
52
|
-
});
|
53
|
-
});
|
54
|
-
});
|
55
|
-
describe("generateBackground", function () {
|
56
|
-
var _urlImages = {
|
57
|
-
mobile: {
|
58
|
-
url: "mobile-url"
|
59
|
-
},
|
60
|
-
tablet: {
|
61
|
-
url: "tablet-url"
|
62
|
-
},
|
63
|
-
desktop: {
|
64
|
-
url: "desktop-url"
|
65
|
-
}
|
66
|
-
};
|
67
|
-
var _srcImages = {
|
68
|
-
mobile: {
|
69
|
-
src: "mobile-src"
|
70
|
-
},
|
71
|
-
tablet: {
|
72
|
-
src: "tablet-src"
|
73
|
-
},
|
74
|
-
desktop: {
|
75
|
-
src: "desktop-src"
|
76
|
-
}
|
77
|
-
};
|
78
|
-
it("should return a url for mobile", function () {
|
79
|
-
var response = (0, _Hero7Methods.generateBackground)("mobile", _urlImages);
|
80
|
-
var expected = "mobile-url";
|
81
|
-
expect(response).toStrictEqual(expected);
|
82
|
-
});
|
83
|
-
it("should return a src for mobile", function () {
|
84
|
-
var response = (0, _Hero7Methods.generateBackground)("mobile", _srcImages);
|
85
|
-
var expected = "mobile-src";
|
86
|
-
expect(response).toStrictEqual(expected);
|
87
|
-
});
|
88
|
-
it("should return a url for tablet", function () {
|
89
|
-
var response = (0, _Hero7Methods.generateBackground)("tablet", _urlImages);
|
90
|
-
var expected = "tablet-url";
|
91
|
-
expect(response).toStrictEqual(expected);
|
92
|
-
});
|
93
|
-
it("should return a src for tablet", function () {
|
94
|
-
var response = (0, _Hero7Methods.generateBackground)("tablet", _srcImages);
|
95
|
-
var expected = "tablet-src";
|
96
|
-
expect(response).toStrictEqual(expected);
|
97
|
-
});
|
98
|
-
it("should return a url for desktop", function () {
|
99
|
-
var response = (0, _Hero7Methods.generateBackground)("desktop", _urlImages);
|
100
|
-
var expected = "desktop-url";
|
101
|
-
expect(response).toStrictEqual(expected);
|
102
|
-
});
|
103
|
-
it("should return a src for desktop", function () {
|
104
|
-
var response = (0, _Hero7Methods.generateBackground)("desktop", _srcImages);
|
105
|
-
var expected = "desktop-src";
|
106
|
-
expect(response).toStrictEqual(expected);
|
107
|
-
});
|
108
|
-
});
|
109
|
-
});
|
@@ -1,40 +0,0 @@
|
|
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"] = void 0;
|
8
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
9
|
-
var _react = require("react");
|
10
|
-
var useWindowWidth = function useWindowWidth() {
|
11
|
-
var _useState = (0, _react.useState)(null),
|
12
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
13
|
-
screenSize = _useState2[0],
|
14
|
-
setScreenSize = _useState2[1];
|
15
|
-
(0, _react.useEffect)(function () {
|
16
|
-
if (typeof window !== "undefined") {
|
17
|
-
var windowSize = function windowSize() {
|
18
|
-
if (window.innerWidth > 900) {
|
19
|
-
setScreenSize("desktop");
|
20
|
-
} else if (window.innerWidth < 900 && window.innerWidth > 750) {
|
21
|
-
setScreenSize("tablet");
|
22
|
-
} else if (window.innerWidth < 750) {
|
23
|
-
setScreenSize("mobile");
|
24
|
-
}
|
25
|
-
};
|
26
|
-
window.addEventListener("resize", windowSize);
|
27
|
-
windowSize();
|
28
|
-
return function () {
|
29
|
-
if (typeof window !== "undefined") {
|
30
|
-
window.removeEventListener("resize", windowSize);
|
31
|
-
}
|
32
|
-
};
|
33
|
-
}
|
34
|
-
}, []);
|
35
|
-
return {
|
36
|
-
screenSize: screenSize
|
37
|
-
};
|
38
|
-
};
|
39
|
-
var _default = useWindowWidth;
|
40
|
-
exports["default"] = _default;
|
@@ -1,149 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
exports["default"] = void 0;
|
9
|
-
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
10
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
11
|
-
var _react = _interopRequireWildcard(require("react"));
|
12
|
-
require("./ListFeat.scss");
|
13
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
14
|
-
var _listFeatMethods = require("../methods/listFeatMethods");
|
15
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
16
|
-
var _generateBackgroundImage = _interopRequireDefault(require("../../utils/generateBackgroundImage"));
|
17
|
-
var _getOffsetTop = _interopRequireDefault(require("../../utils/getOffsetTop"));
|
18
|
-
var _terraOne = require("terra-one");
|
19
|
-
var _checkForThemeProps = require("../../utils/checkForThemeProps");
|
20
|
-
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
21
|
-
// TODO - REMOVE THIS COMPONENT ONCE BLOCK LIST ITEM FULLY BUILT
|
22
|
-
|
23
|
-
var ListFeat = function ListFeat(_ref) {
|
24
|
-
var _content$ctas, _content$ctas$ctaOne, _content$ctas2, _content$ctas2$ctaOne, _content$ctas3, _content$ctas3$ctaOne, _content$ctas4, _content$ctas4$ctaOne, _content$ctas5, _content$ctas5$ctaOne, _content$ctas6, _content$ctas6$ctaOne;
|
25
|
-
var content = _ref.content,
|
26
|
-
paddingClass = _ref.paddingClass,
|
27
|
-
motion = _ref.motion,
|
28
|
-
parallax = _ref.parallax,
|
29
|
-
maxWidth = _ref.maxWidth,
|
30
|
-
zIndex = _ref.zIndex,
|
31
|
-
type = _ref.type,
|
32
|
-
_ref$background = _ref.background,
|
33
|
-
background = _ref$background === void 0 ? {} : _ref$background,
|
34
|
-
parallaxPosition = _ref.parallaxPosition;
|
35
|
-
var _useState = (0, _react.useState)(false),
|
36
|
-
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
37
|
-
modalOpen = _useState2[0],
|
38
|
-
updateModalState = _useState2[1];
|
39
|
-
var wrapper = (0, _react.useRef)(null);
|
40
|
-
var style = background.image ? (0, _generateBackgroundImage["default"])((0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, background), {}, {
|
41
|
-
zIndex: zIndex,
|
42
|
-
parallaxPosition: parallaxPosition,
|
43
|
-
elementPosition: (0, _getOffsetTop["default"])(wrapper)
|
44
|
-
})) : {};
|
45
|
-
var themes = (0, _checkForThemeProps.checkForThemeProps)(content === null || content === void 0 ? void 0 : content.theme);
|
46
|
-
var _useStyles = (0, _useStyles2["default"])(themes),
|
47
|
-
backgroundColor = _useStyles.backgroundColor,
|
48
|
-
color = _useStyles.color,
|
49
|
-
ctaOne = _useStyles.ctaOne,
|
50
|
-
ctaTwo = _useStyles.ctaTwo;
|
51
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
52
|
-
ref: wrapper,
|
53
|
-
className: "ter-list-feat-main ".concat(type === "list_feat_custom" && "ter-list-feat-main--custom", " ").concat(modalOpen ? "ter-list-feat-main--modal-deployed" : "ter-list-feat-main--modal-hidden", " ").concat(paddingClass),
|
54
|
-
style: {
|
55
|
-
zIndex: zIndex + 1 || "auto"
|
56
|
-
}
|
57
|
-
}, background.image && type === "list_feat_3" && /*#__PURE__*/_react["default"].createElement("div", {
|
58
|
-
className: "ter-list-feat-main__background-image",
|
59
|
-
alt: (background === null || background === void 0 ? void 0 : background.altText) || (background === null || background === void 0 ? void 0 : background.alt) || "placeholder image",
|
60
|
-
style: (0, _objectSpread2["default"])({}, style)
|
61
|
-
}), /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
62
|
-
direction: motion ? "up" : "",
|
63
|
-
delay: motion ? 150 : 0,
|
64
|
-
triggerOnce: true
|
65
|
-
}, /*#__PURE__*/_react["default"].createElement("div", null, (content === null || content === void 0 ? void 0 : content.header) && !(0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.header) && /*#__PURE__*/_react["default"].createElement("h3", {
|
66
|
-
className: "ter-list-feat-main__header ter-feat__header",
|
67
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
68
|
-
color: color,
|
69
|
-
textAlign: "left"
|
70
|
-
} : {
|
71
|
-
color: color,
|
72
|
-
textAlign: "center"
|
73
|
-
}
|
74
|
-
}, content.header), (content === null || content === void 0 ? void 0 : content.header) && (0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.header) && /*#__PURE__*/_react["default"].createElement("div", {
|
75
|
-
className: "ter-list-feat-main__header ter-feat__header dangerously-set-content",
|
76
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
77
|
-
color: color,
|
78
|
-
textAlign: "left"
|
79
|
-
} : {
|
80
|
-
color: color,
|
81
|
-
textAlign: "center"
|
82
|
-
},
|
83
|
-
dangerouslySetInnerHTML: {
|
84
|
-
__html: content.header
|
85
|
-
}
|
86
|
-
}), (content === null || content === void 0 ? void 0 : content.subHeader) && !(0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.subHeader) && /*#__PURE__*/_react["default"].createElement("p", {
|
87
|
-
className: "ter-list-feat-main__sub-header ter-feat__sub-header",
|
88
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
89
|
-
color: color,
|
90
|
-
textAlign: "left",
|
91
|
-
padding: "16px 0 50px"
|
92
|
-
} : {
|
93
|
-
color: color,
|
94
|
-
textAlign: "center",
|
95
|
-
padding: "16px 16px 50px"
|
96
|
-
}
|
97
|
-
}, content.subHeader), (content === null || content === void 0 ? void 0 : content.subHeader) && (0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.subHeader) && /*#__PURE__*/_react["default"].createElement("div", {
|
98
|
-
className: "ter-list-feat-main__sub-header-holder ter-feat__sub-header-container dangerously-set-content",
|
99
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
100
|
-
color: color,
|
101
|
-
textAlign: "left",
|
102
|
-
padding: "16px 0 50px"
|
103
|
-
} : {
|
104
|
-
color: color,
|
105
|
-
textAlign: "center",
|
106
|
-
padding: "16px 16px 50px"
|
107
|
-
},
|
108
|
-
dangerouslySetInnerHTML: {
|
109
|
-
__html: content.subHeader
|
110
|
-
}
|
111
|
-
}), (content === null || content === void 0 ? void 0 : content.text) && !(0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.text) && /*#__PURE__*/_react["default"].createElement("p", {
|
112
|
-
className: "ter-list-feat-main__text ter-feat__text",
|
113
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
114
|
-
color: color,
|
115
|
-
textAlign: "left",
|
116
|
-
padding: "16px 0 50px"
|
117
|
-
} : {
|
118
|
-
color: color,
|
119
|
-
textAlign: "center",
|
120
|
-
padding: "16px 16px 50px"
|
121
|
-
}
|
122
|
-
}, content.text), (content === null || content === void 0 ? void 0 : content.text) && (0, _checkForDangerouslySet["default"])(content === null || content === void 0 ? void 0 : content.text) && /*#__PURE__*/_react["default"].createElement("div", {
|
123
|
-
className: "ter-list-feat-main__text-holder ter-feat__text-container",
|
124
|
-
style: (content === null || content === void 0 ? void 0 : content.introAlignment) === "left" ? {
|
125
|
-
color: color,
|
126
|
-
textAlign: "left",
|
127
|
-
padding: "16px 0 50px"
|
128
|
-
} : {
|
129
|
-
color: color,
|
130
|
-
textAlign: "center",
|
131
|
-
padding: "16px 16px 50px"
|
132
|
-
},
|
133
|
-
dangerouslySetInnerHTML: {
|
134
|
-
__html: content.text
|
135
|
-
}
|
136
|
-
}), (content === null || content === void 0 ? void 0 : content.ctas) && /*#__PURE__*/_react["default"].createElement("div", {
|
137
|
-
className: "ter-list-feat-main__cta-section"
|
138
|
-
}, (content === null || content === void 0 ? void 0 : (_content$ctas = content.ctas) === null || _content$ctas === void 0 ? void 0 : (_content$ctas$ctaOne = _content$ctas.ctaOne) === null || _content$ctas$ctaOne === void 0 ? void 0 : _content$ctas$ctaOne.text) && (content === null || content === void 0 ? void 0 : (_content$ctas2 = content.ctas) === null || _content$ctas2 === void 0 ? void 0 : (_content$ctas2$ctaOne = _content$ctas2.ctaOne) === null || _content$ctas2$ctaOne === void 0 ? void 0 : _content$ctas2$ctaOne.url) && /*#__PURE__*/_react["default"].createElement(_terraOne.Button, {
|
139
|
-
Link: content === null || content === void 0 ? void 0 : content.Link,
|
140
|
-
url: content === null || content === void 0 ? void 0 : (_content$ctas3 = content.ctas) === null || _content$ctas3 === void 0 ? void 0 : (_content$ctas3$ctaOne = _content$ctas3.ctaOne) === null || _content$ctas3$ctaOne === void 0 ? void 0 : _content$ctas3$ctaOne.url,
|
141
|
-
text: content === null || content === void 0 ? void 0 : (_content$ctas4 = content.ctas) === null || _content$ctas4 === void 0 ? void 0 : (_content$ctas4$ctaOne = _content$ctas4.ctaOne) === null || _content$ctas4$ctaOne === void 0 ? void 0 : _content$ctas4$ctaOne.text,
|
142
|
-
className: content === null || content === void 0 ? void 0 : (_content$ctas5 = content.ctas) === null || _content$ctas5 === void 0 ? void 0 : (_content$ctas5$ctaOne = _content$ctas5.ctaOne) === null || _content$ctas5$ctaOne === void 0 ? void 0 : _content$ctas5$ctaOne.className,
|
143
|
-
external: content === null || content === void 0 ? void 0 : (_content$ctas6 = content.ctas) === null || _content$ctas6 === void 0 ? void 0 : (_content$ctas6$ctaOne = _content$ctas6.ctaOne) === null || _content$ctas6$ctaOne === void 0 ? void 0 : _content$ctas6$ctaOne.external
|
144
|
-
})))), (0, _listFeatMethods.renderListFeat)(content, motion, parallax, maxWidth, zIndex, type, updateModalState));
|
145
|
-
};
|
146
|
-
|
147
|
-
// TODO refactor parameters for renderListFeeat - won't need parallax, maxWidth - KS
|
148
|
-
var _default = ListFeat;
|
149
|
-
exports["default"] = _default;
|