luna-one 3.1.593 → 3.1.594
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2315 -2315
- package/dist/global-styles/content/typography.scss +140 -140
- package/dist/global-styles/fonts/benton.scss +113 -113
- package/dist/global-styles/global-terra.scss +10 -10
- package/dist/global-styles/global-vars.scss +599 -599
- package/dist/global-styles/layout/_css-grid.scss +20 -20
- package/dist/global-styles/layout/_media-queries.scss +35 -35
- package/dist/global-styles/layout/_normalize.scss +340 -340
- package/dist/global-styles/layout/_reset.scss +13 -13
- package/dist/global-styles/mixins/_box-shadow.scss +6 -6
- package/dist/global-styles/mixins/_mixins.scss +5 -5
- package/dist/global-styles/mixins/_organism-padding-hack.scss +7 -7
- package/dist/global-styles/mixins/_typography.scss +102 -102
- package/dist/global-styles/mixins/_yiq.scss +50 -50
- package/dist/global-styles/mixins/_z-index.scss +3 -3
- package/dist/global-styles/terra.scss +15 -15
- package/dist/global-styles/utilities/_box-shadow.scss +8 -8
- package/dist/global-styles/utilities/_display.scss +48 -48
- package/dist/global-styles/utilities/_font-family.scss +15 -15
- package/dist/global-styles/utilities/_parallax.scss +23 -23
- package/dist/global-styles/utilities/_text-align.scss +24 -24
- package/dist/index.js +15 -294
- package/dist/luna/components/2x2/2x2.scss +915 -915
- package/dist/luna/components/2x2/2x2.stories.js +456 -0
- package/dist/luna/components/2x2/2x2Documentation.mdx +77 -0
- package/dist/luna/{featurettes → components}/Accordion/Accordion.scss +154 -154
- 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.scss +81 -81
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.stories.js +43 -0
- package/dist/luna/components/AdminProductData/AdminProductData.scss +75 -75
- 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/BlockListItems.scss +285 -285
- package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -0
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBanner.scss +6 -6
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBrowser.stories.js +19 -0
- package/dist/luna/components/CTAButtons/CTAButtons.scss +19 -19
- package/dist/luna/components/CTAButtons/CTAButtons.stories.js +142 -0
- package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -0
- package/dist/luna/{other-organisms → components}/Carousel/Carousel.scss +155 -155
- 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.scss +331 -331
- 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/CtaWithHeader/CtaWithHeader.scss +324 -324
- package/dist/luna/components/DataPoint/DataPoint.scss +170 -170
- 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.scss +134 -134
- package/dist/luna/components/EventCard/EventCard.stories.js +56 -0
- package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -0
- package/dist/luna/{heroes → components}/FilterHero/FilterHero.scss +80 -80
- package/dist/luna/components/FilterHero/FilterHero.stories.js +129 -0
- package/dist/luna/components/FilterSection/FilterSection.scss +175 -175
- package/dist/luna/components/FilterSection/FilterSection.stories.js +174 -0
- package/dist/luna/{other-organisms → components}/Flyout/Flyout.scss +367 -367
- package/dist/luna/components/Flyout/Flyout.stories.js +216 -0
- package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -0
- package/dist/luna/{other-organisms → components}/Footer/Footer.scss +484 -484
- 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/{heroes → components}/FullBackgroundHero/FullBackgroundHero.scss +722 -722
- 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.scss +51 -51
- 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.scss +36 -36
- package/dist/luna/components/Header/Header.stories.js +75 -0
- package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -0
- package/dist/luna/{featurettes → components}/IconTextList/IconTextList.scss +124 -124
- 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.scss +442 -442
- 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.scss +122 -122
- 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.scss +171 -171
- 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 +1 -1
- package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.scss +318 -318
- 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.scss +59 -59
- 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.scss +34 -34
- package/dist/luna/components/LoadingSpinner/LoadingSpinner.stories.js +53 -0
- package/dist/luna/components/Login/Login.scss +180 -180
- package/dist/luna/components/Login/Login.stories.js +86 -0
- package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.scss +56 -56
- 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 +1 -1
- package/dist/luna/components/MegaMenu/MegaMenu.scss +570 -570
- package/dist/luna/components/MegaMenu/menu-generators/FullSubMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/PartialSubMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/SubMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/TertiaryMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/UncollapsedLinks.js +1 -1
- package/dist/luna/components/MobileLogin/MobileLogin.scss +38 -38
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.scss +289 -289
- package/dist/luna/components/MobileMenu/MobileMenu.scss +70 -70
- package/dist/luna/components/MobileNav/MobileNav.js +2 -2
- package/dist/luna/components/MobileNav/MobileNav.scss +286 -286
- package/dist/luna/{other-organisms → components}/NavBar/NavBar.scss +628 -628
- package/dist/luna/components/NavBar/NavigationBar.stories.js +2297 -0
- package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -0
- package/dist/{application → luna}/components/NavBarHandler/NavBarHandler.js +1 -1
- package/dist/luna/components/NavBarTop/NavBarTop.js +2 -2
- package/dist/luna/components/NavBarTop/NavBarTop.scss +403 -403
- package/dist/luna/components/NavSearch/NavSearch.js +1 -1
- package/dist/luna/components/NavSearch/NavSearch.scss +130 -130
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.scss +339 -339
- 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.scss +247 -247
- package/dist/luna/components/OverlayNotice/OverlayNotice.stories.js +96 -0
- package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -0
- package/dist/luna/components/Pagination/Pagination.scss +27 -27
- package/dist/luna/components/ProductSummary/ProductSummary.scss +273 -273
- package/dist/luna/components/ProductSummary/ProductSummary.stories.js +163 -0
- package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.scss +194 -194
- package/dist/luna/components/ProductsPackage/ProductsPackage.stories.js +384 -0
- package/dist/luna/components/ProseLayout/ProseLayout.scss +384 -384
- package/dist/luna/components/ProseLayout/ProseLayout.stories.js +187 -0
- package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -0
- package/dist/luna/{featurettes → components}/PullQuote/PullQuote.scss +400 -400
- package/dist/luna/components/PullQuote/PullQuote.stories.js +556 -0
- package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -0
- package/dist/luna/{featurettes → components}/PullQuote/ico-quote-white.svg +3 -3
- package/dist/luna/{featurettes → components}/PullQuote/ico-quote.svg +3 -3
- package/dist/luna/components/RegionCard/RegionCard.scss +86 -86
- package/dist/luna/components/ResourceGrid/ResourceGrid.scss +34 -34
- 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.scss +219 -219
- 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.scss +142 -142
- package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.stories.js +91 -0
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.scss +124 -124
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.stories.js +32 -0
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.scss +434 -434
- 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 +2 -2
- package/dist/luna/{other-organisms → components}/SubNav/SubNav.scss +274 -274
- package/dist/luna/{heroes → components}/SuperHero/SuperHero.scss +804 -804
- 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.scss +134 -134
- package/dist/luna/components/SupportCard/SupportCard.stories.js +76 -0
- package/dist/luna/components/Tabs/Tabs.scss +871 -871
- 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.scss +394 -394
- 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.scss +51 -51
- package/dist/luna/components/TrainerCard/TrainerCard.stories.js +39 -0
- package/dist/luna/components/TrialForm/TrialComponents/TrialSpecifics.scss +44 -44
- package/dist/luna/components/TrialForm/TrialComponents/TrialSummary.scss +57 -57
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.scss +28 -28
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.stories.js +69 -0
- package/dist/luna/components/TrialForm/images/check.svg +3 -3
- package/dist/luna/components/TrialForm/images/form-border-bottom-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-bottom-light.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-dark.svg +4 -4
- package/dist/luna/components/TrialForm/images/form-border-top-light.svg +4 -4
- package/dist/luna/components/UnboundedCard/UnboundedCard.scss +108 -108
- package/dist/luna/components/UnboundedCard/playIcon.svg +17 -17
- package/dist/luna/components/VariableContentCard/VariableContentCard.scss +253 -253
- package/dist/luna/components/Video/Video.scss +209 -209
- package/dist/luna/components/Video/Video.stories.js +135 -0
- package/dist/luna/components/Video/VideoDocumentation.mdx +56 -0
- package/dist/luna/components/VidyardModal/VidyardModal.scss +34 -34
- package/dist/luna/components/WaffleMenu/WaffleMenu.js +1 -1
- package/dist/luna/components/WaffleMenu/WaffleMenu.scss +73 -73
- package/dist/luna/images/arrow-diagonal-black.svg +13 -13
- package/dist/luna/images/arrow-diagonal-blue.svg +13 -13
- package/dist/luna/images/arrow-diagonal-white.svg +13 -13
- package/dist/luna/images/bulletpoint.svg +3 -3
- package/dist/luna/images/callout-icon.svg +3 -3
- package/dist/{application/assets → luna}/images/carat-down.svg +3 -3
- package/dist/{application/assets → luna}/images/carat-up.svg +3 -3
- package/dist/luna/images/check-blue.svg +4 -4
- package/dist/luna/images/circle-arrow-right-black.svg +3 -3
- package/dist/luna/images/circle-arrow-right-white.svg +3 -3
- package/dist/luna/images/circle-arrow.svg +3 -3
- package/dist/{application/assets → luna}/images/close-blue.svg +4 -4
- package/dist/luna/images/close-button.svg +42 -42
- package/dist/luna/images/close-dark-navy.svg +3 -3
- package/dist/luna/images/close-icon.svg +3 -3
- package/dist/{application/assets → luna}/images/close.svg +3 -3
- package/dist/luna/images/collapse-close-blue.svg +5 -5
- package/dist/luna/images/collapse-close-gold.svg +5 -5
- package/dist/luna/images/collapse-open-blue.svg +4 -4
- package/dist/luna/images/collapse-open-gold.svg +4 -4
- package/dist/luna/images/cross-medium-blue.svg +4 -4
- package/dist/luna/images/cross-medium-white.svg +5 -5
- package/dist/luna/images/down-caret-dark-blue.svg +4 -4
- package/dist/luna/images/down-caret-dark-gray.svg +4 -4
- package/dist/luna/images/down-caret-light-gray.svg +4 -4
- package/dist/luna/images/downArrow.svg +36 -36
- package/dist/{application/assets → luna}/images/ellipses.svg +6 -6
- package/dist/luna/images/external-arrow-blue.svg +11 -11
- package/dist/luna/images/external-arrow-white-theme.svg +12 -12
- package/dist/luna/images/external-arrow.svg +12 -12
- package/dist/{application/assets → luna}/images/facebook.svg +13 -13
- package/dist/luna/images/form-border-top-light.svg +4 -4
- package/dist/luna/images/frame-intersection.svg +3 -3
- package/dist/luna/images/gallery-image-corner-border.svg +3 -3
- package/dist/luna/images/green-tick.svg +3 -3
- package/dist/{application/assets → luna}/images/instagram.svg +19 -19
- package/dist/luna/images/internal-arrow-blue.svg +15 -15
- package/dist/luna/images/internal-arrow-white-theme.svg +15 -15
- package/dist/luna/images/internal-arrow.svg +15 -15
- package/dist/{application/assets → luna}/images/linkedin.svg +15 -15
- package/dist/luna/images/logo-icon.svg +17 -17
- package/dist/luna/images/pdf-doc.svg +9 -9
- package/dist/luna/images/play.svg +17 -17
- package/dist/luna/images/right-caret-dark-blue.svg +3 -3
- package/dist/luna/images/right-caret-light-gray.svg +4 -4
- package/dist/luna/images/right-caret-light-yellow-stroke.svg +9 -9
- package/dist/luna/images/right-caret-light-yellow.svg +4 -4
- package/dist/luna/images/right-caret-medium-gray.svg +4 -4
- package/dist/luna/images/search.svg +9 -9
- package/dist/luna/images/skipicon.svg +154 -154
- package/dist/luna/images/text-doc.svg +9 -9
- package/dist/luna/images/text-lines.svg +22 -22
- package/dist/luna/images/tooltip-close-icon.svg +3 -3
- package/dist/luna/images/tooltip-icon.svg +3 -3
- package/dist/{application/assets → luna}/images/twitter.svg +17 -17
- package/dist/luna/images/up-arrow.svg +36 -36
- package/dist/luna/images/up-right-arrow.svg +9 -9
- package/dist/luna/images/user-profile.svg +37 -37
- package/dist/luna/images/user.svg +4 -4
- package/dist/luna/images/waffle.svg +11 -11
- package/dist/luna/images/worldwide.svg +19 -19
- package/dist/{application/assets → luna}/images/youtube.svg +14 -14
- package/package.json +91 -91
- 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/AccordionItem.js +0 -0
- /package/dist/luna/{other-organisms → components}/Carousel/Carousel.js +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHero.js +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHeroMethods.js +0 -0
- /package/dist/luna/{other-organisms → components}/Flyout/Flyout.js +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/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/FullBackgroundHeroMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.js +0 -0
- /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavBar.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavMiniMenu.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavOption.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/UtilityNav.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/ProductsPackageMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.js +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHero.js +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/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/loading-mini.gif +0 -0
- /package/dist/{application/assets → luna}/images/trimble_logo.png +0 -0
- /package/dist/{application → luna/utils}/hooks/useInnerPageNav.js +0 -0
@@ -1,175 +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("./Hero4.scss");
|
10
|
-
var _terraOne = require("terra-one");
|
11
|
-
var _generateThemeClassName = _interopRequireDefault(require("../../utils/generateThemeClassName"));
|
12
|
-
var _fpoSquare = _interopRequireDefault(require("../../images/fpo-square.png"));
|
13
|
-
var _generateID = _interopRequireDefault(require("../../utils/generateID"));
|
14
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
15
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
16
|
-
var _hero4Methods = require("./hero4Methods");
|
17
|
-
var _removeSpaces = require("../../utils/removeSpaces");
|
18
|
-
var _checkForThemeProps = require("../../utils/checkForThemeProps");
|
19
|
-
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
20
|
-
var _generateFocusedImageAlt = _interopRequireDefault(require("../../utils/generateFocusedImageAlt"));
|
21
|
-
var Hero4 = function Hero4(_ref) {
|
22
|
-
var _focusedImage$focalPo;
|
23
|
-
var _ref$content = _ref.content,
|
24
|
-
content = _ref$content === void 0 ? {} : _ref$content,
|
25
|
-
id = _ref.id,
|
26
|
-
motion = _ref.motion,
|
27
|
-
zIndex = _ref.zIndex,
|
28
|
-
heroType = _ref.heroType;
|
29
|
-
var image = content.image,
|
30
|
-
header = content.header,
|
31
|
-
subHeader = content.subHeader,
|
32
|
-
text = content.text,
|
33
|
-
ctas = content.ctas,
|
34
|
-
_content$contentSide = content.contentSide,
|
35
|
-
contentSide = _content$contentSide === void 0 ? "right" : _content$contentSide,
|
36
|
-
theme = content.theme,
|
37
|
-
GatsbyImage = content.GatsbyImage,
|
38
|
-
focusedImage = content.focusedImage;
|
39
|
-
var themes = (0, _checkForThemeProps.checkForThemeProps)(theme);
|
40
|
-
var _useStyles = (0, _useStyles2["default"])(themes),
|
41
|
-
backgroundColor = _useStyles.backgroundColor,
|
42
|
-
color = _useStyles.color,
|
43
|
-
ctaOne = _useStyles.ctaOne,
|
44
|
-
ctaTwo = _useStyles.ctaTwo;
|
45
|
-
var renderAlignment = function renderAlignment(contentSide) {
|
46
|
-
if (contentSide && contentSide === "left") {
|
47
|
-
return "ter-hero-four--reverse";
|
48
|
-
} else {
|
49
|
-
return "";
|
50
|
-
}
|
51
|
-
};
|
52
|
-
var switchImageSizes = function switchImageSizes(heroType) {
|
53
|
-
if (heroType == "Hero5") {
|
54
|
-
// render different image size + ratio when used as Hero5
|
55
|
-
return {
|
56
|
-
desktop: {
|
57
|
-
width: 520,
|
58
|
-
height: 520,
|
59
|
-
ratio: {
|
60
|
-
width: 1,
|
61
|
-
height: 1
|
62
|
-
}
|
63
|
-
},
|
64
|
-
tablet: {
|
65
|
-
width: 520,
|
66
|
-
height: 520,
|
67
|
-
ratio: {
|
68
|
-
width: 1,
|
69
|
-
height: 1
|
70
|
-
}
|
71
|
-
},
|
72
|
-
mobile: {
|
73
|
-
width: 520,
|
74
|
-
height: 520,
|
75
|
-
ratio: {
|
76
|
-
width: 1,
|
77
|
-
height: 1
|
78
|
-
}
|
79
|
-
}
|
80
|
-
};
|
81
|
-
} else {
|
82
|
-
return {
|
83
|
-
desktop: {
|
84
|
-
width: 644,
|
85
|
-
height: 363,
|
86
|
-
ratio: {
|
87
|
-
width: 3,
|
88
|
-
height: 2
|
89
|
-
}
|
90
|
-
},
|
91
|
-
tablet: {
|
92
|
-
width: 644,
|
93
|
-
height: 363,
|
94
|
-
ratio: {
|
95
|
-
width: 3,
|
96
|
-
height: 2
|
97
|
-
}
|
98
|
-
},
|
99
|
-
mobile: {
|
100
|
-
width: 644,
|
101
|
-
height: 363,
|
102
|
-
ratio: {
|
103
|
-
width: 3,
|
104
|
-
height: 2
|
105
|
-
}
|
106
|
-
}
|
107
|
-
};
|
108
|
-
}
|
109
|
-
};
|
110
|
-
var mainImage;
|
111
|
-
if (focusedImage !== null && focusedImage !== void 0 && (_focusedImage$focalPo = focusedImage.focalPointImage) !== null && _focusedImage$focalPo !== void 0 && _focusedImage$focalPo.url) {
|
112
|
-
mainImage = /*#__PURE__*/_react["default"].createElement(_terraOne.FocusedImage, {
|
113
|
-
focalPointImage: focusedImage === null || focusedImage === void 0 ? void 0 : focusedImage.focalPointImage,
|
114
|
-
alt: (0, _generateFocusedImageAlt["default"])(focusedImage),
|
115
|
-
imageSizes: switchImageSizes(heroType)
|
116
|
-
});
|
117
|
-
} else {
|
118
|
-
mainImage = /*#__PURE__*/_react["default"].createElement(_terraOne.Image, {
|
119
|
-
image: image === null || image === void 0 ? void 0 : image.image,
|
120
|
-
GatsbyImage: GatsbyImage,
|
121
|
-
src: image ? (0, _removeSpaces.removeSpaces)(image.url || (image === null || image === void 0 ? void 0 : image.src)) : _fpoSquare["default"],
|
122
|
-
alt: (image === null || image === void 0 ? void 0 : image.altText) || (image === null || image === void 0 ? void 0 : image.alt) || "placeholder image",
|
123
|
-
className: "ter-hero-four__image",
|
124
|
-
onError: function onError(e) {
|
125
|
-
e.target.onerror = null;
|
126
|
-
e.target.src = _fpoSquare["default"];
|
127
|
-
}
|
128
|
-
});
|
129
|
-
}
|
130
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
131
|
-
id: (0, _generateID["default"])(id, header),
|
132
|
-
style: {
|
133
|
-
zIndex: zIndex + 1 || "auto",
|
134
|
-
backgroundColor: backgroundColor
|
135
|
-
},
|
136
|
-
className: "ter-hero-four ".concat(renderAlignment(contentSide))
|
137
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
138
|
-
direction: motion ? "up" : "",
|
139
|
-
delay: motion ? 150 : 0,
|
140
|
-
triggerOnce: true,
|
141
|
-
className: "ter-hero-four__image-wrapper"
|
142
|
-
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, mainImage && mainImage)), /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
143
|
-
direction: motion ? "up" : "",
|
144
|
-
delay: motion ? (0, _hero4Methods.contentFadeDelay)(motion) : 0,
|
145
|
-
triggerOnce: true,
|
146
|
-
className: "ter-hero-four__content-container"
|
147
|
-
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, header && /*#__PURE__*/_react["default"].createElement("h2", {
|
148
|
-
className: "ter-hero-four__header ter-hero__header",
|
149
|
-
style: {
|
150
|
-
color: color
|
151
|
-
}
|
152
|
-
}, header), subHeader && /*#__PURE__*/_react["default"].createElement("p", {
|
153
|
-
className: "ter-hero-four__sub-header ter-hero__sub-header",
|
154
|
-
style: {
|
155
|
-
color: color
|
156
|
-
}
|
157
|
-
}, subHeader), text && !(0, _checkForDangerouslySet["default"])(text) && /*#__PURE__*/_react["default"].createElement("p", {
|
158
|
-
className: "ter-hero-four__text",
|
159
|
-
style: {
|
160
|
-
color: color
|
161
|
-
}
|
162
|
-
}, text), text && (0, _checkForDangerouslySet["default"])(text) && /*#__PURE__*/_react["default"].createElement("div", {
|
163
|
-
className: "ter-hero-four__text-holder dangerously-set-content",
|
164
|
-
style: {
|
165
|
-
color: color
|
166
|
-
},
|
167
|
-
dangerouslySetInnerHTML: {
|
168
|
-
__html: text
|
169
|
-
}
|
170
|
-
}), ctas && /*#__PURE__*/_react["default"].createElement(_terraOne.CTASection, {
|
171
|
-
ctas: ctas
|
172
|
-
}))));
|
173
|
-
};
|
174
|
-
var _default = Hero4;
|
175
|
-
exports["default"] = _default;
|
@@ -1,112 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-hero-four {
|
4
|
-
margin: auto;
|
5
|
-
@include organism-padding();
|
6
|
-
position: relative;
|
7
|
-
|
8
|
-
@media (min-width: $breakpoint-xs) {
|
9
|
-
padding-top: spacing("mega");
|
10
|
-
}
|
11
|
-
|
12
|
-
@media (min-width: $breakpoint-sm) {
|
13
|
-
@include grid-container;
|
14
|
-
}
|
15
|
-
|
16
|
-
&--reverse {
|
17
|
-
.ter-hero-four__image-wrapper {
|
18
|
-
grid-row: 1;
|
19
|
-
grid-column: 7/13;
|
20
|
-
}
|
21
|
-
.ter-hero-four__content-container {
|
22
|
-
grid-row: 1;
|
23
|
-
grid-column: 1/7;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
&__background-image {
|
28
|
-
position: absolute;
|
29
|
-
}
|
30
|
-
|
31
|
-
@media (min-width: $breakpoint-sm) {
|
32
|
-
@include organism-padding();
|
33
|
-
-webkit-box-align: center;
|
34
|
-
-ms-flex-align: center;
|
35
|
-
align-items: center;
|
36
|
-
}
|
37
|
-
|
38
|
-
&__image-wrapper {
|
39
|
-
margin-bottom: spacing("md");
|
40
|
-
|
41
|
-
@media (min-width: $breakpoint-sm) {
|
42
|
-
@include grid-column(6);
|
43
|
-
margin-bottom: 0;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
&__image {
|
48
|
-
width: 100%;
|
49
|
-
}
|
50
|
-
|
51
|
-
&__content-container {
|
52
|
-
@media (min-width: $breakpoint-sm) {
|
53
|
-
@include grid-column(6);
|
54
|
-
padding-left: 16px;
|
55
|
-
}
|
56
|
-
|
57
|
-
@media (min-width: $breakpoint-md) {
|
58
|
-
@include grid-column(6);
|
59
|
-
}
|
60
|
-
}
|
61
|
-
|
62
|
-
&__header {
|
63
|
-
font-size: $heading-3-size;
|
64
|
-
}
|
65
|
-
|
66
|
-
&__sub-header {
|
67
|
-
font-size: $subheading-size;
|
68
|
-
@include benton-light();
|
69
|
-
color: gray("gray-7");
|
70
|
-
}
|
71
|
-
|
72
|
-
&__text,
|
73
|
-
&__text-holder p {
|
74
|
-
@include benton-normal();
|
75
|
-
font-size: $subheading-size;
|
76
|
-
margin-top: spacing("md");
|
77
|
-
margin-bottom: 0;
|
78
|
-
}
|
79
|
-
|
80
|
-
.ter-button {
|
81
|
-
display: block;
|
82
|
-
margin-top: spacing("md");
|
83
|
-
|
84
|
-
@media (min-width: $breakpoint-xs) {
|
85
|
-
display: inline-block;
|
86
|
-
padding-right: spacing("lg");
|
87
|
-
padding-left: spacing("lg");
|
88
|
-
}
|
89
|
-
|
90
|
-
@media (min-width: $breakpoint-md) {
|
91
|
-
margin-top: spacing("md");
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
95
|
-
|
96
|
-
@media screen and (-ms-high-contrast: active),
|
97
|
-
screen and (-ms-high-contrast: none) {
|
98
|
-
/* IE10+ specific styles go here */
|
99
|
-
.ter-hero-four {
|
100
|
-
&__image {
|
101
|
-
display: inline-block;
|
102
|
-
width: 50%;
|
103
|
-
float: left;
|
104
|
-
}
|
105
|
-
&__content-container {
|
106
|
-
display: inline-block;
|
107
|
-
float: right;
|
108
|
-
width: 50%;
|
109
|
-
margin-top: 70px;
|
110
|
-
}
|
111
|
-
}
|
112
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.contentFadeDelay = void 0;
|
7
|
-
var contentFadeDelay = function contentFadeDelay(motion) {
|
8
|
-
var _window;
|
9
|
-
if (!motion) {
|
10
|
-
return null;
|
11
|
-
}
|
12
|
-
if (typeof window !== "undefined" && ((_window = window) === null || _window === void 0 ? void 0 : _window.innerWidth) >= 900) {
|
13
|
-
return 200;
|
14
|
-
} else {
|
15
|
-
return 0;
|
16
|
-
}
|
17
|
-
};
|
18
|
-
exports.contentFadeDelay = contentFadeDelay;
|
@@ -1,179 +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("./Hero6.scss");
|
10
|
-
var _fpoSquare = _interopRequireDefault(require("../../images/fpo-square.png"));
|
11
|
-
var _generateID = _interopRequireDefault(require("../../utils/generateID"));
|
12
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
13
|
-
var _terraOne = require("terra-one");
|
14
|
-
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
15
|
-
var _checkForThemeProps = require("../../utils/checkForThemeProps");
|
16
|
-
var _useMouse2 = _interopRequireDefault(require("../../utils/hooks/useMouse"));
|
17
|
-
var _useScreenSize = require("../../utils/hooks/useScreenSize");
|
18
|
-
var _checkForCTAClassName = require("../../utils/checkForCTAClassName");
|
19
|
-
var _generateFocusedImageAlt = _interopRequireDefault(require("../../utils/generateFocusedImageAlt"));
|
20
|
-
var Hero6 = function Hero6(_ref) {
|
21
|
-
var _ref$content = _ref.content,
|
22
|
-
content = _ref$content === void 0 ? {} : _ref$content,
|
23
|
-
id = _ref.id,
|
24
|
-
motion = _ref.motion;
|
25
|
-
var eyebrow = content.eyebrow,
|
26
|
-
header = content.header,
|
27
|
-
text = content.text,
|
28
|
-
ctas = content.ctas,
|
29
|
-
cta = content.cta,
|
30
|
-
Link = content.Link,
|
31
|
-
image = content.image,
|
32
|
-
subHeader = content.subHeader,
|
33
|
-
_content$imageAlignme = content.imageAlignment,
|
34
|
-
imageAlignment = _content$imageAlignme === void 0 ? "left" : _content$imageAlignme,
|
35
|
-
theme = content.theme,
|
36
|
-
GatsbyImage = content.GatsbyImage,
|
37
|
-
focusedImage = content.focusedImage,
|
38
|
-
_content$variant = content.variant,
|
39
|
-
variant = _content$variant === void 0 ? "variant_8" : _content$variant;
|
40
|
-
var imageSizes = {
|
41
|
-
variant_8: {
|
42
|
-
desktop: {
|
43
|
-
width: 720,
|
44
|
-
height: 720,
|
45
|
-
ratio: {
|
46
|
-
width: 1,
|
47
|
-
height: 1
|
48
|
-
}
|
49
|
-
},
|
50
|
-
tablet: {
|
51
|
-
width: 960,
|
52
|
-
height: 480,
|
53
|
-
ratio: {
|
54
|
-
width: 2,
|
55
|
-
height: 1
|
56
|
-
}
|
57
|
-
},
|
58
|
-
mobile: {
|
59
|
-
width: 360,
|
60
|
-
height: 220,
|
61
|
-
ratio: {
|
62
|
-
width: 3,
|
63
|
-
height: 2
|
64
|
-
}
|
65
|
-
}
|
66
|
-
},
|
67
|
-
variant_9: {
|
68
|
-
desktop: {
|
69
|
-
width: 720,
|
70
|
-
height: 480,
|
71
|
-
ratio: {
|
72
|
-
width: 3,
|
73
|
-
height: 2
|
74
|
-
}
|
75
|
-
},
|
76
|
-
tablet: {
|
77
|
-
width: 960,
|
78
|
-
height: 480,
|
79
|
-
ratio: {
|
80
|
-
width: 2,
|
81
|
-
height: 1
|
82
|
-
}
|
83
|
-
},
|
84
|
-
mobile: {
|
85
|
-
width: 360,
|
86
|
-
height: 220,
|
87
|
-
ratio: {
|
88
|
-
width: 3,
|
89
|
-
height: 2
|
90
|
-
}
|
91
|
-
}
|
92
|
-
},
|
93
|
-
variant_10: {
|
94
|
-
desktop: {
|
95
|
-
width: 960,
|
96
|
-
height: 650,
|
97
|
-
ratio: {
|
98
|
-
width: 1.48,
|
99
|
-
height: 1
|
100
|
-
}
|
101
|
-
},
|
102
|
-
tablet: {
|
103
|
-
width: 960,
|
104
|
-
height: 480,
|
105
|
-
ratio: {
|
106
|
-
width: 2,
|
107
|
-
height: 1
|
108
|
-
}
|
109
|
-
},
|
110
|
-
mobile: {
|
111
|
-
width: 360,
|
112
|
-
height: 220,
|
113
|
-
ratio: {
|
114
|
-
width: 3,
|
115
|
-
height: 2
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
};
|
120
|
-
var _useMouse = (0, _useMouse2["default"])(),
|
121
|
-
mouse = _useMouse.mouse;
|
122
|
-
var themes = (0, _checkForThemeProps.checkForThemeProps)(theme);
|
123
|
-
var _useStyles = (0, _useStyles2["default"])(themes),
|
124
|
-
backgroundColor = _useStyles.backgroundColor,
|
125
|
-
color = _useStyles.color,
|
126
|
-
ctaOne = _useStyles.ctaOne,
|
127
|
-
ctaTwo = _useStyles.ctaTwo;
|
128
|
-
(0, _checkForCTAClassName.checkForCTAClassName)(ctas, themes);
|
129
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
130
|
-
className: "ter-hero-6 ter-hero-6-".concat(variant),
|
131
|
-
id: (0, _generateID["default"])(id, header),
|
132
|
-
style: {
|
133
|
-
backgroundColor: (theme === null || theme === void 0 ? void 0 : theme.backgroundColor) || "#F8F8FB"
|
134
|
-
}
|
135
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
136
|
-
className: "ter-hero-6__hero-image ter-hero-6__hero-image-".concat(variant, "-").concat(imageAlignment, " ter-hero-6--focused ter-hero-6--focused-").concat(variant, "-").concat(imageAlignment)
|
137
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
138
|
-
tabIndex: mouse ? "" : "0"
|
139
|
-
}, /*#__PURE__*/_react["default"].createElement(_terraOne.FocusedImage, {
|
140
|
-
focalPointImage: focusedImage === null || focusedImage === void 0 ? void 0 : focusedImage.focalPointImage,
|
141
|
-
alt: (0, _generateFocusedImageAlt["default"])(focusedImage),
|
142
|
-
fullHeightWrapper: true,
|
143
|
-
imageSizes: imageSizes[variant]
|
144
|
-
}))), /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
145
|
-
className: "ter-hero-6__container ter-hero-6__container-".concat(variant, "-").concat(imageAlignment)
|
146
|
-
}, /*#__PURE__*/_react["default"].createElement("aside", {
|
147
|
-
className: "ter-hero-6__content-block ter-hero-6__content-block-".concat(variant, "-").concat(imageAlignment)
|
148
|
-
}, eyebrow && /*#__PURE__*/_react["default"].createElement("h1", {
|
149
|
-
className: "ter-hero-6__eyebrow",
|
150
|
-
style: {
|
151
|
-
color: color
|
152
|
-
}
|
153
|
-
}, eyebrow), header && /*#__PURE__*/_react["default"].createElement("h3", {
|
154
|
-
className: "ter-hero-6__header",
|
155
|
-
style: {
|
156
|
-
color: theme !== null && theme !== void 0 && theme.headerColor ? theme === null || theme === void 0 ? void 0 : theme.headerColor : color
|
157
|
-
}
|
158
|
-
}, header), subHeader && /*#__PURE__*/_react["default"].createElement("h5", {
|
159
|
-
className: "ter-hero-6__subHeader",
|
160
|
-
style: {
|
161
|
-
color: color
|
162
|
-
}
|
163
|
-
}, subHeader), text && /*#__PURE__*/_react["default"].createElement("p", {
|
164
|
-
className: "ter-hero-6__text",
|
165
|
-
style: {
|
166
|
-
color: color
|
167
|
-
}
|
168
|
-
}, text), !ctas && cta && /*#__PURE__*/_react["default"].createElement(_terraOne.Button, {
|
169
|
-
tabIndex: mouse ? "" : "0",
|
170
|
-
Link: Link,
|
171
|
-
url: cta.url,
|
172
|
-
text: cta.text,
|
173
|
-
className: theme !== null && theme !== void 0 && theme.ctaOne ? "ter-button--".concat(theme === null || theme === void 0 ? void 0 : theme.ctaOne) : "ter-button--primary--1"
|
174
|
-
}), ctas && /*#__PURE__*/_react["default"].createElement(_terraOne.CTASection, {
|
175
|
-
ctas: ctas
|
176
|
-
}))));
|
177
|
-
};
|
178
|
-
var _default = Hero6;
|
179
|
-
exports["default"] = _default;
|
@@ -1,127 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-hero-6 {
|
4
|
-
@include grid-container;
|
5
|
-
grid-template-rows: 1fr;
|
6
|
-
|
7
|
-
@media screen and (max-width: $breakpoint-sm) {
|
8
|
-
grid-template-rows: minmax(min-content, max-content);
|
9
|
-
}
|
10
|
-
|
11
|
-
|
12
|
-
&__eyebrow {
|
13
|
-
font-size: $eyebrow-font-size;
|
14
|
-
text-transform: uppercase;
|
15
|
-
}
|
16
|
-
|
17
|
-
&__header {
|
18
|
-
font-size: $heading-3-size;
|
19
|
-
|
20
|
-
@media screen and (max-width: $breakpoint-sm) {
|
21
|
-
font-size: $heading-3-size;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
&__subHeader {
|
26
|
-
font-size: $subheading-size;
|
27
|
-
|
28
|
-
@media screen and (max-width: $breakpoint-sm) {
|
29
|
-
font-size: $subheading-size-mobile;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
&__text {
|
34
|
-
font-size: $body-font-size;
|
35
|
-
|
36
|
-
@media screen and (max-width: $breakpoint-sm) {
|
37
|
-
font-size: $body-font-size-mobile;
|
38
|
-
line-height: 23px;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
|
42
|
-
&__container {
|
43
|
-
grid-row: 1 / span 1;
|
44
|
-
@media screen and (max-width: $breakpoint-sm) {
|
45
|
-
margin: 60px 120px;
|
46
|
-
justify-content: flex-start !important;
|
47
|
-
grid-row: 2 / span 1;
|
48
|
-
grid-column: 1 / span 16 !important;
|
49
|
-
}
|
50
|
-
|
51
|
-
@media screen and (max-width: $breakpoint-xs) {
|
52
|
-
margin: 60px 80px;
|
53
|
-
}
|
54
|
-
|
55
|
-
@media screen and (max-width: $breakpoint-xxs) {
|
56
|
-
margin: 41px 20px;
|
57
|
-
}
|
58
|
-
}
|
59
|
-
|
60
|
-
&__hero-image {
|
61
|
-
|
62
|
-
@media screen and (max-width: $breakpoint-sm) {
|
63
|
-
grid-row: 1 / span 1;
|
64
|
-
grid-column: 1 / span 16 !important;
|
65
|
-
}
|
66
|
-
}
|
67
|
-
|
68
|
-
|
69
|
-
&__container-variant_8-left, &__container-variant_9-left {
|
70
|
-
grid-column: 11 / span 4;
|
71
|
-
|
72
|
-
}
|
73
|
-
|
74
|
-
&__hero-image-variant_8-left, &__hero-image-variant_9-left {
|
75
|
-
grid-column: 1 / span 8;
|
76
|
-
}
|
77
|
-
|
78
|
-
&__container-variant_8-right, &__container-variant_9-right {
|
79
|
-
grid-column: 3 / span 4;
|
80
|
-
|
81
|
-
}
|
82
|
-
|
83
|
-
&__hero-image-variant_8-right, &__hero-image-variant_9-right {
|
84
|
-
grid-column: 9 / span 8;
|
85
|
-
}
|
86
|
-
|
87
|
-
|
88
|
-
&__container-variant_10-left {
|
89
|
-
grid-column: 13 / span 3;
|
90
|
-
|
91
|
-
}
|
92
|
-
|
93
|
-
&__hero-image-variant_10-left{
|
94
|
-
grid-column: 1 / span 11;
|
95
|
-
}
|
96
|
-
|
97
|
-
&__container-variant_10-right{
|
98
|
-
grid-column: 2 / span 3;
|
99
|
-
|
100
|
-
}
|
101
|
-
|
102
|
-
&__hero-image-variant_10-right {
|
103
|
-
grid-column: 6 / span 11;
|
104
|
-
}
|
105
|
-
|
106
|
-
&__container {
|
107
|
-
display: flex;
|
108
|
-
flex-direction: column;
|
109
|
-
justify-content: center;
|
110
|
-
}
|
111
|
-
|
112
|
-
.ter-cta-section {
|
113
|
-
.ter-button {
|
114
|
-
text-align: center;
|
115
|
-
display: block;
|
116
|
-
width: 121px;
|
117
|
-
}
|
118
|
-
}
|
119
|
-
}
|
120
|
-
|
121
|
-
.ter-hero-6-variant_8 {
|
122
|
-
height: calc(100vw / 2);
|
123
|
-
|
124
|
-
@media screen and (max-width: $breakpoint-sm) {
|
125
|
-
height: auto;
|
126
|
-
}
|
127
|
-
}
|