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,235 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.luna-feat-five {
|
4
|
-
padding: spacing("super") calc((100vw - 1200px) / 2);
|
5
|
-
text-align: center;
|
6
|
-
font-family: $font-sans-serif;
|
7
|
-
padding: 96px 0;
|
8
|
-
margin: auto;
|
9
|
-
position: relative;
|
10
|
-
overflow: hidden;
|
11
|
-
|
12
|
-
&__header {
|
13
|
-
font-size: $heading-3-size;
|
14
|
-
@include benton-very-bold();
|
15
|
-
margin: 0 0 38px;
|
16
|
-
}
|
17
|
-
|
18
|
-
&__sub-header, &__sub-header-holder p {
|
19
|
-
font-size: $subheading-size;
|
20
|
-
@include benton-light();
|
21
|
-
}
|
22
|
-
|
23
|
-
&__text-content {
|
24
|
-
padding: 0 32px;
|
25
|
-
max-width: 752px;
|
26
|
-
margin: auto;
|
27
|
-
}
|
28
|
-
|
29
|
-
&__thumbnail-container {
|
30
|
-
padding: 32px;
|
31
|
-
@media screen and (max-width: 400px) {
|
32
|
-
padding: 0;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
&__thumbnail {
|
37
|
-
max-width: 752px;
|
38
|
-
min-width: 688px;
|
39
|
-
max-height: 387px;
|
40
|
-
-o-object-fit: cover;
|
41
|
-
object-fit: cover;
|
42
|
-
display: block;
|
43
|
-
margin: auto;
|
44
|
-
-webkit-transition: 0.2s;
|
45
|
-
-o-transition: 0.2s;
|
46
|
-
transition: 0.2s;
|
47
|
-
|
48
|
-
@media screen and (max-width: 740px) {
|
49
|
-
max-width: 600px;
|
50
|
-
min-width: 600px;
|
51
|
-
min-height: 387px;
|
52
|
-
max-height: 387px;
|
53
|
-
}
|
54
|
-
|
55
|
-
@media screen and (max-width: 655px) {
|
56
|
-
max-width: 550px;
|
57
|
-
min-width: 550px;
|
58
|
-
min-height: 309px;
|
59
|
-
max-height: 309px;
|
60
|
-
}
|
61
|
-
|
62
|
-
@media screen and (max-width: 610px) {
|
63
|
-
max-width: 500px;
|
64
|
-
min-width: 500px;
|
65
|
-
min-height: 281px;
|
66
|
-
max-height: 281px;
|
67
|
-
}
|
68
|
-
|
69
|
-
@media screen and (max-width: 555px) {
|
70
|
-
max-width: 450px;
|
71
|
-
min-width: 450px;
|
72
|
-
min-height: 253px;
|
73
|
-
max-height: 253px;
|
74
|
-
}
|
75
|
-
|
76
|
-
@media screen and (max-width: 510px) {
|
77
|
-
max-width: 400px;
|
78
|
-
min-width: 400px;
|
79
|
-
min-height: 225px;
|
80
|
-
max-height: 225px;
|
81
|
-
}
|
82
|
-
|
83
|
-
@media screen and (max-width: 455px) {
|
84
|
-
max-width: 350px;
|
85
|
-
min-width: 350px;
|
86
|
-
min-height: 197px;
|
87
|
-
max-height: 197px;
|
88
|
-
}
|
89
|
-
|
90
|
-
@media screen and (max-width: 410px) {
|
91
|
-
max-width: 325px;
|
92
|
-
min-width: 325px;
|
93
|
-
min-height: 182px;
|
94
|
-
max-height: 182px;
|
95
|
-
}
|
96
|
-
|
97
|
-
@media screen and (max-width: 380px) {
|
98
|
-
max-width: 275px;
|
99
|
-
min-width: 275px;
|
100
|
-
min-height: 155px;
|
101
|
-
max-height: 155px;
|
102
|
-
}
|
103
|
-
|
104
|
-
&--is-hovering {
|
105
|
-
-webkit-transform: scale(1.03);
|
106
|
-
-ms-transform: scale(1.03);
|
107
|
-
transform: scale(1.03);
|
108
|
-
cursor: pointer;
|
109
|
-
}
|
110
|
-
|
111
|
-
&-container {
|
112
|
-
position: relative;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
&__play-btn {
|
117
|
-
position: absolute;
|
118
|
-
top: 0;
|
119
|
-
bottom: 0;
|
120
|
-
left: 0;
|
121
|
-
right: 0;
|
122
|
-
margin: auto;
|
123
|
-
|
124
|
-
&--is-hovering {
|
125
|
-
-webkit-transform: scale(1.03);
|
126
|
-
-ms-transform: scale(1.03);
|
127
|
-
transform: scale(1.03);
|
128
|
-
cursor: pointer;
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
&__video-wrapper {
|
133
|
-
position: relative;
|
134
|
-
-webkit-transition: 0.3s;
|
135
|
-
-o-transition: 0.3s;
|
136
|
-
|
137
|
-
transition: 0.3s;
|
138
|
-
-webkit-transform: translateY(50px);
|
139
|
-
-ms-transform: translateY(50px);
|
140
|
-
transform: translateY(50px);
|
141
|
-
|
142
|
-
&--default {
|
143
|
-
padding-bottom: 56.25%; /* 16:9 */
|
144
|
-
padding-top: 25px;
|
145
|
-
height: 0;
|
146
|
-
}
|
147
|
-
|
148
|
-
&--is-deployed {
|
149
|
-
-webkit-transform: translateY(0);
|
150
|
-
-ms-transform: translateY(0);
|
151
|
-
transform: translateY(0);
|
152
|
-
}
|
153
|
-
|
154
|
-
iframe {
|
155
|
-
position: absolute;
|
156
|
-
top: 0;
|
157
|
-
bottom: 0;
|
158
|
-
left: 0;
|
159
|
-
right: 0;
|
160
|
-
max-width: 70%;
|
161
|
-
max-height: 70%;
|
162
|
-
margin: 60px auto 0;
|
163
|
-
|
164
|
-
@media screen and (max-width: 1980px) {
|
165
|
-
max-width: 1200px;
|
166
|
-
max-height: 675px;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
}
|
170
|
-
|
171
|
-
&__modal {
|
172
|
-
position: fixed;
|
173
|
-
height: 100vw;
|
174
|
-
width: 100vw;
|
175
|
-
background: rgba(0, 0, 0, 0.5);
|
176
|
-
z-index: 100;
|
177
|
-
top: 0;
|
178
|
-
left: 0;
|
179
|
-
overflow: hidden;
|
180
|
-
-webkit-transition: 0.3s;
|
181
|
-
-o-transition: 0.3s;
|
182
|
-
transition: 0.3s;
|
183
|
-
opacity: 0;
|
184
|
-
-webkit-animation: fade-in 0.5s linear;
|
185
|
-
animation: fade-in 0.5s linear;
|
186
|
-
height: 100vh;
|
187
|
-
width: 100vw;
|
188
|
-
opacity: 0;
|
189
|
-
visibility: hidden;
|
190
|
-
display: -ms-grid;
|
191
|
-
display: grid;
|
192
|
-
-webkit-box-align: center;
|
193
|
-
-ms-flex-align: center;
|
194
|
-
align-items: center;
|
195
|
-
|
196
|
-
&--is-deployed {
|
197
|
-
opacity: 1;
|
198
|
-
visibility: visible;
|
199
|
-
}
|
200
|
-
}
|
201
|
-
|
202
|
-
&__background-image {
|
203
|
-
position: absolute;
|
204
|
-
opacity: 1;
|
205
|
-
|
206
|
-
&--hidden {
|
207
|
-
opacity: 0;
|
208
|
-
}
|
209
|
-
}
|
210
|
-
|
211
|
-
&__wrapper {
|
212
|
-
position: relative;
|
213
|
-
overflow: hidden;
|
214
|
-
}
|
215
|
-
|
216
|
-
.luna-feat-five__header,
|
217
|
-
.luna-feat-five__sub-header,
|
218
|
-
.luna-feat-five__thumbnail-container,
|
219
|
-
.luna-feat-five__thumbnail {
|
220
|
-
-webkit-transition: opacity 0.2s;
|
221
|
-
-o-transition: opacity 0.2s;
|
222
|
-
transition: opacity 0.2s;
|
223
|
-
}
|
224
|
-
|
225
|
-
&--deployed {
|
226
|
-
overflow-y: visible;
|
227
|
-
|
228
|
-
.luna-feat-five__header,
|
229
|
-
.luna-feat-five__sub-header,
|
230
|
-
.luna-feat-five__thumbnail-container,
|
231
|
-
.luna-feat-five__thumbnail {
|
232
|
-
opacity: 0;
|
233
|
-
}
|
234
|
-
}
|
235
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.getZIndex = void 0;
|
7
|
-
var getZIndex = function getZIndex(zIndex, modalDeployed) {
|
8
|
-
if (!zIndex && !modalDeployed) {
|
9
|
-
return "auto";
|
10
|
-
} else if (!zIndex && modalDeployed) {
|
11
|
-
return 60;
|
12
|
-
}
|
13
|
-
if (modalDeployed) {
|
14
|
-
return zIndex + 60;
|
15
|
-
} else {
|
16
|
-
return zIndex;
|
17
|
-
}
|
18
|
-
};
|
19
|
-
exports.getZIndex = getZIndex;
|
@@ -1,23 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _Feat5Methods = require("./Feat5Methods");
|
4
|
-
describe("Feat5Methods", function () {
|
5
|
-
describe("getZIndex", function () {
|
6
|
-
it("should return auto", function () {
|
7
|
-
var response = (0, _Feat5Methods.getZIndex)();
|
8
|
-
expect(response).toStrictEqual("auto");
|
9
|
-
});
|
10
|
-
it("should return 60", function () {
|
11
|
-
var response = (0, _Feat5Methods.getZIndex)(null, true);
|
12
|
-
expect(response).toStrictEqual(60);
|
13
|
-
});
|
14
|
-
it("should return zIndex + 60", function () {
|
15
|
-
var response = (0, _Feat5Methods.getZIndex)(1, true);
|
16
|
-
expect(response).toStrictEqual(61);
|
17
|
-
});
|
18
|
-
it("should return zIndex", function () {
|
19
|
-
var response = (0, _Feat5Methods.getZIndex)(30, false);
|
20
|
-
expect(response).toStrictEqual(30);
|
21
|
-
});
|
22
|
-
});
|
23
|
-
});
|
@@ -1,79 +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("./Feat7.scss");
|
10
|
-
var _generateStyles = _interopRequireDefault(require("../../utils/generateStyles"));
|
11
|
-
var _generateID = _interopRequireDefault(require("../../utils/generateID"));
|
12
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
13
|
-
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
14
|
-
var _terraOne = require("terra-one");
|
15
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
16
|
-
var _Feat7Methods = require("./Feat7Methods");
|
17
|
-
var Feat7 = function Feat7(_ref) {
|
18
|
-
var children = _ref.children,
|
19
|
-
_ref$content = _ref.content,
|
20
|
-
content = _ref$content === void 0 ? {} : _ref$content,
|
21
|
-
theme = _ref.theme,
|
22
|
-
id = _ref.id,
|
23
|
-
motion = _ref.motion,
|
24
|
-
zIndex = _ref.zIndex,
|
25
|
-
override = _ref.override,
|
26
|
-
setOverride = _ref.setOverride;
|
27
|
-
var themes = (0, _Feat7Methods.checkForThemePropsForFeat7)(content === null || content === void 0 ? void 0 : content.theme);
|
28
|
-
var _useStyles = (0, _useStyles2["default"])(themes),
|
29
|
-
backgroundColor = _useStyles.backgroundColor,
|
30
|
-
color = _useStyles.color,
|
31
|
-
ctaOne = _useStyles.ctaOne,
|
32
|
-
ctaTwo = _useStyles.ctaTwo;
|
33
|
-
var header = content.header,
|
34
|
-
subHeader = content.subHeader;
|
35
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
36
|
-
style: {
|
37
|
-
zIndex: zIndex || "auto",
|
38
|
-
backgroundColor: themes === null || themes === void 0 ? void 0 : themes.inactiveTabBarColor,
|
39
|
-
color: color
|
40
|
-
},
|
41
|
-
className: "ter-feat-seven",
|
42
|
-
id: (0, _generateID["default"])(id, header)
|
43
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
44
|
-
direction: motion ? "up" : "",
|
45
|
-
delay: motion ? 400 : 0,
|
46
|
-
duration: 1500,
|
47
|
-
triggerOnce: true
|
48
|
-
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, header && /*#__PURE__*/_react["default"].createElement("h3", {
|
49
|
-
className: "ter-feat-seven__header ter-feat__header",
|
50
|
-
style: {
|
51
|
-
color: themes === null || themes === void 0 ? void 0 : themes.introTextColor
|
52
|
-
}
|
53
|
-
}, header), subHeader && !(0, _checkForDangerouslySet["default"])(subHeader) && /*#__PURE__*/_react["default"].createElement("p", {
|
54
|
-
className: "ter-feat-seven__sub-header ter-feat__sub-header",
|
55
|
-
style: {
|
56
|
-
color: themes === null || themes === void 0 ? void 0 : themes.introTextColor
|
57
|
-
}
|
58
|
-
}, subHeader), subHeader && (0, _checkForDangerouslySet["default"])(subHeader) && /*#__PURE__*/_react["default"].createElement("div", {
|
59
|
-
className: "ter-feat-seven__sub-header ter-feat__sub-header-container dangerously-set-content",
|
60
|
-
dangerouslySetInnerHTML: {
|
61
|
-
__html: subHeader
|
62
|
-
},
|
63
|
-
style: {
|
64
|
-
color: themes === null || themes === void 0 ? void 0 : themes.introTextColor
|
65
|
-
}
|
66
|
-
}), children && /*#__PURE__*/_react["default"].createElement(_terraOne.Tabs, {
|
67
|
-
color: color,
|
68
|
-
backgroundColor: backgroundColor,
|
69
|
-
activeTabBarColor: themes === null || themes === void 0 ? void 0 : themes.activeTabBarColor,
|
70
|
-
activeTabTextColor: themes === null || themes === void 0 ? void 0 : themes.activeTabTextColor,
|
71
|
-
inactiveTabBarColor: themes === null || themes === void 0 ? void 0 : themes.inactiveTabBarColor,
|
72
|
-
selector: 0,
|
73
|
-
fullWidth: false,
|
74
|
-
override: override,
|
75
|
-
setOverride: setOverride
|
76
|
-
}, children))));
|
77
|
-
};
|
78
|
-
var _default = Feat7;
|
79
|
-
exports["default"] = _default;
|
@@ -1,49 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-feat-seven {
|
4
|
-
padding-top: 48px;
|
5
|
-
&__header {
|
6
|
-
font-size: $heading-3-size;
|
7
|
-
@include benton-very-bold();
|
8
|
-
}
|
9
|
-
|
10
|
-
&__header,
|
11
|
-
&__sub-header {
|
12
|
-
max-width: 930px;
|
13
|
-
text-align: center;
|
14
|
-
margin: 0 auto;
|
15
|
-
|
16
|
-
@media screen and (max-width: 960px) {
|
17
|
-
max-width: 610px;
|
18
|
-
}
|
19
|
-
|
20
|
-
@media screen and (max-width: 640px) {
|
21
|
-
margin-left: 0;
|
22
|
-
margin-right: 0;
|
23
|
-
padding: 0 32px;
|
24
|
-
}
|
25
|
-
|
26
|
-
@media screen and (max-width: 600px) {
|
27
|
-
font-size: $heading-6-size;
|
28
|
-
}
|
29
|
-
|
30
|
-
}
|
31
|
-
|
32
|
-
&__sub-header {
|
33
|
-
font-size: $subheading-size;
|
34
|
-
@include benton-light();
|
35
|
-
margin-top: 24px;
|
36
|
-
|
37
|
-
}
|
38
|
-
|
39
|
-
&__sub-header,
|
40
|
-
&__sub-header > p {
|
41
|
-
font-size: $subheading-size;
|
42
|
-
@include benton-light();
|
43
|
-
padding-bottom: 0;
|
44
|
-
}
|
45
|
-
|
46
|
-
.ter-tabs {
|
47
|
-
margin-top: 36px;
|
48
|
-
}
|
49
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.checkForThemePropsForFeat7 = void 0;
|
7
|
-
var checkForThemePropsForFeat7 = function checkForThemePropsForFeat7(theme) {
|
8
|
-
var themeColors = {};
|
9
|
-
if (!(theme !== null && theme !== void 0 && theme.color)) {
|
10
|
-
themeColors["color"] = "#98A0AB";
|
11
|
-
} else if (theme !== null && theme !== void 0 && theme.color) {
|
12
|
-
themeColors["color"] = theme.color;
|
13
|
-
}
|
14
|
-
if (!(theme !== null && theme !== void 0 && theme.backgroundColor)) {
|
15
|
-
themeColors["backgroundColor"] = "#F8F8FB";
|
16
|
-
} else if (theme !== null && theme !== void 0 && theme.backgroundColor) {
|
17
|
-
themeColors["backgroundColor"] = theme.backgroundColor;
|
18
|
-
}
|
19
|
-
if (!(theme !== null && theme !== void 0 && theme.activeTabBarColor)) {
|
20
|
-
themeColors["activeTabBarColor"] = "#0063A3";
|
21
|
-
} else if (theme !== null && theme !== void 0 && theme.activeTabBarColor) {
|
22
|
-
themeColors["activeTabBarColor"] = theme.activeTabBarColor;
|
23
|
-
}
|
24
|
-
if (!(theme !== null && theme !== void 0 && theme.activeTabTextColor)) {
|
25
|
-
themeColors["activeTabTextColor"] = "#0063A3";
|
26
|
-
} else if (theme !== null && theme !== void 0 && theme.activeTabTextColor) {
|
27
|
-
themeColors["activeTabTextColor"] = theme.activeTabTextColor;
|
28
|
-
}
|
29
|
-
if (!(theme !== null && theme !== void 0 && theme.inactiveTabBarColor)) {
|
30
|
-
themeColors["inactiveTabBarColor"] = "#ffffff";
|
31
|
-
} else if (theme !== null && theme !== void 0 && theme.inactiveTabBarColor) {
|
32
|
-
themeColors["inactiveTabBarColor"] = theme.inactiveTabBarColor;
|
33
|
-
}
|
34
|
-
if (!(theme !== null && theme !== void 0 && theme.introTextColor)) {
|
35
|
-
themeColors["introTextColor"] = "#F8F8FB";
|
36
|
-
} else if (theme !== null && theme !== void 0 && theme.introTextColor) {
|
37
|
-
themeColors["introTextColor"] = theme.introTextColor;
|
38
|
-
}
|
39
|
-
return themeColors;
|
40
|
-
};
|
41
|
-
exports.checkForThemePropsForFeat7 = checkForThemePropsForFeat7;
|
@@ -1,75 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
6
|
-
value: true
|
7
|
-
});
|
8
|
-
exports["default"] = void 0;
|
9
|
-
var _react = _interopRequireWildcard(require("react"));
|
10
|
-
require("./Feat8.scss");
|
11
|
-
var _generateID = _interopRequireDefault(require("../../utils/generateID"));
|
12
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
13
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
14
|
-
var _feat8Methods = require("./feat8Methods");
|
15
|
-
var _checkForThemeProps = require("../../utils/checkForThemeProps");
|
16
|
-
var _useStyles2 = _interopRequireDefault(require("../../utils/hooks/useStyles"));
|
17
|
-
var Feat8 = function Feat8(_ref) {
|
18
|
-
var _ref$content = _ref.content,
|
19
|
-
content = _ref$content === void 0 ? {} : _ref$content,
|
20
|
-
id = _ref.id,
|
21
|
-
motion = _ref.motion,
|
22
|
-
zIndex = _ref.zIndex;
|
23
|
-
var header = content.header,
|
24
|
-
subHeader = content.subHeader,
|
25
|
-
text = content.text,
|
26
|
-
theme = content.theme,
|
27
|
-
headerAlignment = content.headerAlignment,
|
28
|
-
subHeaderAlignment = content.subHeaderAlignment;
|
29
|
-
var themes = (0, _checkForThemeProps.checkForThemeProps)(theme);
|
30
|
-
var _useStyles = (0, _useStyles2["default"])(themes),
|
31
|
-
backgroundColor = _useStyles.backgroundColor,
|
32
|
-
color = _useStyles.color;
|
33
|
-
var wrapper = (0, _react.useRef)(null);
|
34
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
35
|
-
ref: wrapper,
|
36
|
-
id: (0, _generateID["default"])(id, header),
|
37
|
-
className: "ter-feat-eight ",
|
38
|
-
style: {
|
39
|
-
zIndex: zIndex + 1 || "auto",
|
40
|
-
background: backgroundColor
|
41
|
-
}
|
42
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
43
|
-
className: "ter-feat-eight__content-container",
|
44
|
-
direction: motion ? "up" : "",
|
45
|
-
triggerOnce: true,
|
46
|
-
delay: motion ? (0, _feat8Methods.contentFadeDelay)(motion) : null
|
47
|
-
}, /*#__PURE__*/_react["default"].createElement("aside", {
|
48
|
-
className: "ter-feat-eight__content-container"
|
49
|
-
}, header && /*#__PURE__*/_react["default"].createElement("h3", {
|
50
|
-
className: "ter-feat-eight__header ter-feat__header ".concat(headerAlignment ? "ter-feat-eight--header-" + headerAlignment : "ter-feat-eight--header-left"),
|
51
|
-
style: {
|
52
|
-
color: color
|
53
|
-
}
|
54
|
-
}, header), subHeader && /*#__PURE__*/_react["default"].createElement("h5", {
|
55
|
-
className: "ter-feat-eight__sub-header ter-feat__sub-header ".concat(subHeaderAlignment ? "ter-feat-eight--subheader-" + subHeaderAlignment : "ter-feat-eight--subheader-left"),
|
56
|
-
style: {
|
57
|
-
color: color
|
58
|
-
}
|
59
|
-
}, subHeader), text && !(0, _checkForDangerouslySet["default"])(text) && /*#__PURE__*/_react["default"].createElement("p", {
|
60
|
-
className: "ter-feat-eight__text ".concat(theme !== null && theme !== void 0 && theme.darkTheme ? "ter-feat-eight--dark-theme" : ""),
|
61
|
-
style: {
|
62
|
-
color: color
|
63
|
-
}
|
64
|
-
}, text), text && (0, _checkForDangerouslySet["default"])(text) && /*#__PURE__*/_react["default"].createElement("div", {
|
65
|
-
className: "ter-feat-eight__text-holder ".concat(theme !== null && theme !== void 0 && theme.darkTheme ? "ter-feat-eight--dark-theme" : ""),
|
66
|
-
style: {
|
67
|
-
color: color
|
68
|
-
},
|
69
|
-
dangerouslySetInnerHTML: {
|
70
|
-
__html: text
|
71
|
-
}
|
72
|
-
}))));
|
73
|
-
};
|
74
|
-
var _default = Feat8;
|
75
|
-
exports["default"] = _default;
|
@@ -1,103 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-feat-eight {
|
4
|
-
width: 100%;
|
5
|
-
margin: auto;
|
6
|
-
@include organism-padding();
|
7
|
-
position: relative;
|
8
|
-
|
9
|
-
@media (min-width: $breakpoint-xs) {
|
10
|
-
padding-top: spacing("mega");
|
11
|
-
}
|
12
|
-
|
13
|
-
@media (min-width: $breakpoint-sm) {
|
14
|
-
@include grid-container;
|
15
|
-
}
|
16
|
-
|
17
|
-
@media (min-width: $breakpoint-sm) {
|
18
|
-
@include organism-padding();
|
19
|
-
-webkit-box-align: center;
|
20
|
-
-ms-flex-align: center;
|
21
|
-
align-items: center;
|
22
|
-
}
|
23
|
-
|
24
|
-
&__content-container {
|
25
|
-
@include grid-column(12);
|
26
|
-
@media (min-width: $breakpoint-md) {
|
27
|
-
max-width: 45rem;
|
28
|
-
margin-left: auto;
|
29
|
-
margin-right: auto;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
|
33
|
-
&__header {
|
34
|
-
font-size: $heading-3-size;
|
35
|
-
}
|
36
|
-
|
37
|
-
&__sub-header {
|
38
|
-
font-size: $heading-6-size;
|
39
|
-
line-height: 38px;
|
40
|
-
@include benton-light();
|
41
|
-
}
|
42
|
-
|
43
|
-
&__text,
|
44
|
-
&__text-holder p,
|
45
|
-
&__text-holder ul,
|
46
|
-
&__text-holder ol {
|
47
|
-
margin-top: spacing("md");
|
48
|
-
line-height: 25px;
|
49
|
-
font-size: $large-body-font-size;
|
50
|
-
@include benton-light();
|
51
|
-
text-align: left;
|
52
|
-
}
|
53
|
-
|
54
|
-
&__text-holder h1 {
|
55
|
-
font-size: $eyebrow-font-size;
|
56
|
-
}
|
57
|
-
|
58
|
-
&__text-holder h2 {
|
59
|
-
font-size: $heading-3-size;
|
60
|
-
}
|
61
|
-
|
62
|
-
&__text-holder h3 {
|
63
|
-
font-size: $heading-6-size;
|
64
|
-
}
|
65
|
-
|
66
|
-
&__text-holder h4 {
|
67
|
-
font-size: $subheading-size;
|
68
|
-
}
|
69
|
-
|
70
|
-
&__text-holder h5 {
|
71
|
-
font-size: $large-subheading-size;
|
72
|
-
}
|
73
|
-
|
74
|
-
&__text-holder h6 {
|
75
|
-
font-size: $large-body-font-size;
|
76
|
-
}
|
77
|
-
|
78
|
-
&--header-center {
|
79
|
-
text-align: center;
|
80
|
-
}
|
81
|
-
|
82
|
-
&--subheader-center {
|
83
|
-
text-align: center;
|
84
|
-
}
|
85
|
-
|
86
|
-
&--dark-theme h1,
|
87
|
-
&--dark-theme h2,
|
88
|
-
&--dark-theme h3,
|
89
|
-
&--dark-theme h4,
|
90
|
-
&--dark-theme h5,
|
91
|
-
&--dark-theme h6,
|
92
|
-
&--dark-theme p {
|
93
|
-
color: $concrete-gray;
|
94
|
-
|
95
|
-
}
|
96
|
-
|
97
|
-
&--dark-theme a {
|
98
|
-
color: $concrete-gray;
|
99
|
-
&:hover {
|
100
|
-
color: darken($concrete-gray, 10%);;
|
101
|
-
}
|
102
|
-
}
|
103
|
-
}
|
@@ -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,21 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _feat8Methods = require("./feat8Methods");
|
4
|
-
describe("feat8Methods", function () {
|
5
|
-
describe("contentFadeDelay", function () {
|
6
|
-
it("should return null", function () {
|
7
|
-
var result = (0, _feat8Methods.contentFadeDelay)();
|
8
|
-
expect(result).toEqual(null);
|
9
|
-
});
|
10
|
-
it("should return 200", function () {
|
11
|
-
global.innerWidth = 1000;
|
12
|
-
var result = (0, _feat8Methods.contentFadeDelay)(true);
|
13
|
-
expect(result).toEqual(200);
|
14
|
-
});
|
15
|
-
it("should return 0", function () {
|
16
|
-
global.innerWidth = 4;
|
17
|
-
var result = (0, _feat8Methods.contentFadeDelay)(true);
|
18
|
-
expect(result).toEqual(0);
|
19
|
-
});
|
20
|
-
});
|
21
|
-
});
|