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,112 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-main {
|
4
|
-
|
5
|
-
padding-top: 80px;
|
6
|
-
padding-bottom: 75px;
|
7
|
-
|
8
|
-
@media screen and (max-width: $breakpoint-md) {
|
9
|
-
padding-top: 60px;
|
10
|
-
padding-bottom: 60px;
|
11
|
-
}
|
12
|
-
|
13
|
-
@media screen and (max-width: $breakpoint-sm) {
|
14
|
-
padding-top: 40px;
|
15
|
-
padding-bottom: 40px;
|
16
|
-
}
|
17
|
-
|
18
|
-
// TODO - REMOVE DEAD CODE AFTER DEVELOPMENT COMPLETE
|
19
|
-
|
20
|
-
// &--custom {
|
21
|
-
// max-width: 100vw;
|
22
|
-
// overflow: scroll;
|
23
|
-
// }
|
24
|
-
|
25
|
-
// &__sub-header-holder {
|
26
|
-
// img {
|
27
|
-
// width: 100%;
|
28
|
-
// }
|
29
|
-
// }
|
30
|
-
|
31
|
-
// &--modal-deployed {
|
32
|
-
// overflow: visible;
|
33
|
-
// }
|
34
|
-
|
35
|
-
// &__background-image {
|
36
|
-
// position: absolute;
|
37
|
-
// }
|
38
|
-
|
39
|
-
// &__cta-section {
|
40
|
-
// text-align: center;
|
41
|
-
|
42
|
-
// .ter-button {
|
43
|
-
// margin: 0 24px 48px 24px;
|
44
|
-
// }
|
45
|
-
// }
|
46
|
-
|
47
|
-
|
48
|
-
// &__header {
|
49
|
-
// margin: auto;
|
50
|
-
// font-size: $heading-3-size;
|
51
|
-
// @include benton-very-bold();
|
52
|
-
// }
|
53
|
-
|
54
|
-
// &__sub-header,
|
55
|
-
// &__sub-header-holder p, &__text,
|
56
|
-
// &__text-holder p {
|
57
|
-
// @include benton-light();
|
58
|
-
// font-size: $subheading-size;
|
59
|
-
// }
|
60
|
-
|
61
|
-
|
62
|
-
// .ter-list-feat-main__header,
|
63
|
-
// .ter-list-feat-main__sub-header,
|
64
|
-
// .ter-list-feat-main__sub-header-holder,
|
65
|
-
// .ter-list-feat-main__text,
|
66
|
-
// .ter-list-feat-main__text-holder {
|
67
|
-
// opacity: 1;
|
68
|
-
// -webkit-transition: opacity 0.2s;
|
69
|
-
// -o-transition: opacity 0.2s;
|
70
|
-
// transition: opacity 0.2s;
|
71
|
-
// }
|
72
|
-
|
73
|
-
// .ter-variable-card {
|
74
|
-
// .ter-variable-card__header,
|
75
|
-
// .ter-variable-card__text,
|
76
|
-
// .ter-button,
|
77
|
-
// .luna-video-feat__thumbnail {
|
78
|
-
// opacity: 1;
|
79
|
-
// -webkit-transition: opacity 0.2s;
|
80
|
-
// -o-transition: opacity 0.2s;
|
81
|
-
// transition: opacity 0.2s;
|
82
|
-
// }
|
83
|
-
// }
|
84
|
-
|
85
|
-
// &--modal-deployed {
|
86
|
-
// overflow-y: visible;
|
87
|
-
|
88
|
-
// .ter-list-feat-main__header,
|
89
|
-
// .ter-list-feat-main__sub-header,
|
90
|
-
// .ter-list-feat-main__sub-header-holder,
|
91
|
-
// .ter-list-feat-main__text,
|
92
|
-
// .ter-list-feat-main__text-holder {
|
93
|
-
// opacity: 0;
|
94
|
-
// }
|
95
|
-
|
96
|
-
// .ter-variable-card {
|
97
|
-
// .ter-variable-card__header,
|
98
|
-
// .ter-variable-card__text,
|
99
|
-
// .ter-button,
|
100
|
-
// .luna-video-feat__thumbnail {
|
101
|
-
// opacity: 0;
|
102
|
-
// }
|
103
|
-
// }
|
104
|
-
// }
|
105
|
-
}
|
106
|
-
|
107
|
-
// @media screen and (max-width: 800px) {
|
108
|
-
// .ter-list-feat-main__header,
|
109
|
-
// .ter-list-feat-main__sub-header {
|
110
|
-
// margin: 0;
|
111
|
-
// }
|
112
|
-
// }
|
@@ -1,91 +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("./ListFeat1.scss");
|
10
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
11
|
-
var _terraOne = require("terra-one");
|
12
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
13
|
-
var ListFeat1 = function ListFeat1(_ref) {
|
14
|
-
var _ref$content = _ref.content,
|
15
|
-
content = _ref$content === void 0 ? {} : _ref$content,
|
16
|
-
motion = _ref.motion,
|
17
|
-
backgroundColor = _ref.backgroundColor,
|
18
|
-
color = _ref.color;
|
19
|
-
var cardOne = content.cardOne,
|
20
|
-
cardTwo = content.cardTwo,
|
21
|
-
theme = content.theme,
|
22
|
-
cards = content.cards,
|
23
|
-
Link = content.Link;
|
24
|
-
var allCards = cards;
|
25
|
-
var renderCards = function renderCards() {
|
26
|
-
return allCards.map(function (card, index) {
|
27
|
-
if ((card === null || card === void 0 ? void 0 : card.type) === "m_link_tile") {
|
28
|
-
return /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
29
|
-
distance: motion ? "75px" : "0",
|
30
|
-
delay: motion ? 500 : 0,
|
31
|
-
fraction: motion ? 0.25 : 0,
|
32
|
-
duration: motion ? 1000 : 0,
|
33
|
-
bottom: true,
|
34
|
-
key: index,
|
35
|
-
className: "ter-list-feat-one__link-holder"
|
36
|
-
}, /*#__PURE__*/_react["default"].createElement(_terraOne.LinkTile, {
|
37
|
-
content: card,
|
38
|
-
color: color,
|
39
|
-
backgroundColor: backgroundColor
|
40
|
-
}));
|
41
|
-
} else {
|
42
|
-
var _card$cta, _card$cta2;
|
43
|
-
return /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
44
|
-
distance: motion ? "75px" : "0",
|
45
|
-
delay: motion ? 500 : 0,
|
46
|
-
fraction: motion ? 0.25 : 0,
|
47
|
-
duration: motion ? 1000 : 0,
|
48
|
-
bottom: true,
|
49
|
-
key: index
|
50
|
-
}, /*#__PURE__*/_react["default"].createElement("aside", {
|
51
|
-
className: "ter-list-feat-one__column-card",
|
52
|
-
key: index
|
53
|
-
}, (card === null || card === void 0 ? void 0 : card.header) && /*#__PURE__*/_react["default"].createElement("p", {
|
54
|
-
className: "ter-list-feat-one__column-card-header",
|
55
|
-
style: {
|
56
|
-
color: color
|
57
|
-
}
|
58
|
-
}, card.header), (card === null || card === void 0 ? void 0 : card.text) && !(0, _checkForDangerouslySet["default"])(card === null || card === void 0 ? void 0 : card.text) && /*#__PURE__*/_react["default"].createElement("div", {
|
59
|
-
className: "ter-list-feat-one__column-card-text-holder"
|
60
|
-
}, /*#__PURE__*/_react["default"].createElement("p", {
|
61
|
-
className: "ter-list-feat-one__column-card-text",
|
62
|
-
style: {
|
63
|
-
color: color
|
64
|
-
}
|
65
|
-
}, card.text)), (card === null || card === void 0 ? void 0 : card.text) && (0, _checkForDangerouslySet["default"])(card === null || card === void 0 ? void 0 : card.text) && /*#__PURE__*/_react["default"].createElement("div", {
|
66
|
-
className: "ter-list-feat-one__column-card-text-holder",
|
67
|
-
style: {
|
68
|
-
color: color
|
69
|
-
},
|
70
|
-
dangerouslySetInnerHTML: {
|
71
|
-
__html: card.text
|
72
|
-
}
|
73
|
-
}), (card === null || card === void 0 ? void 0 : (_card$cta = card.cta) === null || _card$cta === void 0 ? void 0 : _card$cta.url) && (card === null || card === void 0 ? void 0 : (_card$cta2 = card.cta) === null || _card$cta2 === void 0 ? void 0 : _card$cta2.text) && /*#__PURE__*/_react["default"].createElement(_terraOne.Button, {
|
74
|
-
Link: Link ? Link : null,
|
75
|
-
url: card.cta.url,
|
76
|
-
text: card.cta.text,
|
77
|
-
className: card.cta.className,
|
78
|
-
external: card.cta.external
|
79
|
-
})));
|
80
|
-
}
|
81
|
-
});
|
82
|
-
};
|
83
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
84
|
-
className: "ter-list-feat-one",
|
85
|
-
style: {
|
86
|
-
backgroundColor: backgroundColor
|
87
|
-
}
|
88
|
-
}, renderCards());
|
89
|
-
};
|
90
|
-
var _default = ListFeat1;
|
91
|
-
exports["default"] = _default;
|
@@ -1,94 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-one {
|
4
|
-
margin: 0 auto;
|
5
|
-
display: flex;
|
6
|
-
display: -webkit-box;
|
7
|
-
display: -ms-flexbox;
|
8
|
-
justify-content: space-between;
|
9
|
-
-ms-flex-pack: distribute;
|
10
|
-
flex-wrap: wrap;
|
11
|
-
width: 1200px;
|
12
|
-
|
13
|
-
@media screen and (max-width: 1272px) {
|
14
|
-
width: auto;
|
15
|
-
}
|
16
|
-
|
17
|
-
&__column-card {
|
18
|
-
display: flex;
|
19
|
-
flex-direction: column;
|
20
|
-
width: 500px;
|
21
|
-
height: auto;
|
22
|
-
margin-bottom: 50px;
|
23
|
-
|
24
|
-
@media screen and (max-width: 1075px) {
|
25
|
-
width: 455px;
|
26
|
-
}
|
27
|
-
|
28
|
-
@media screen and (max-width: 1075px) {
|
29
|
-
width: auto;
|
30
|
-
flex-grow: 1;
|
31
|
-
}
|
32
|
-
|
33
|
-
&-header {
|
34
|
-
font-size: $heading-6-size;
|
35
|
-
line-height: 30.47px;
|
36
|
-
margin: 12px 24px;
|
37
|
-
@include benton-very-bold();
|
38
|
-
}
|
39
|
-
|
40
|
-
&-text-holder {
|
41
|
-
flex-grow: 1;
|
42
|
-
margin: 24px;
|
43
|
-
}
|
44
|
-
|
45
|
-
&-text, &-text-holder p {
|
46
|
-
font-size: $large-body-font-size;
|
47
|
-
line-height: 18.75px;
|
48
|
-
}
|
49
|
-
|
50
|
-
.ter-button {
|
51
|
-
width: 144px;
|
52
|
-
justify-content: center;
|
53
|
-
margin: 0 24px;
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
&__link-holder {
|
58
|
-
@media screen and (max-width: 1075px) {
|
59
|
-
margin: 0 auto;
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
.ter-link-tile {
|
64
|
-
display: block;
|
65
|
-
margin: 0 auto 32px;
|
66
|
-
width: 500px;
|
67
|
-
height: calc(100% - 32px);
|
68
|
-
|
69
|
-
@media screen and (max-width: 1150px) {
|
70
|
-
width: 465px;
|
71
|
-
}
|
72
|
-
|
73
|
-
@media screen and (max-width: 1075px) {
|
74
|
-
width: 500px;
|
75
|
-
}
|
76
|
-
|
77
|
-
@media screen and (max-width: 575px) {
|
78
|
-
width: 400px;
|
79
|
-
}
|
80
|
-
|
81
|
-
@media screen and (max-width: 475px) {
|
82
|
-
width: 325px;
|
83
|
-
}
|
84
|
-
|
85
|
-
@media screen and (max-width: 400px) {
|
86
|
-
width: auto;
|
87
|
-
}
|
88
|
-
|
89
|
-
.ter-link-card__body {
|
90
|
-
margin: 0;
|
91
|
-
}
|
92
|
-
|
93
|
-
}
|
94
|
-
}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.determineButtonType = void 0;
|
7
|
-
var determineButtonType = function determineButtonType(theme) {
|
8
|
-
if (theme === "theme-4" || theme === "theme-5") {
|
9
|
-
return "ter-button--primary--5";
|
10
|
-
} else {
|
11
|
-
return "ter-button--primary--1";
|
12
|
-
}
|
13
|
-
};
|
14
|
-
exports.determineButtonType = determineButtonType;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _listFeat1Methods = require("./listFeat1Methods");
|
4
|
-
describe("listFeat1Methods", function () {
|
5
|
-
describe("determineButtonType", function () {
|
6
|
-
it("should return 5", function () {
|
7
|
-
var resultOne = (0, _listFeat1Methods.determineButtonType)("theme-4");
|
8
|
-
var resultTwo = (0, _listFeat1Methods.determineButtonType)("theme-5");
|
9
|
-
expect(resultOne).toEqual("ter-button--primary--5");
|
10
|
-
expect(resultTwo).toEqual("ter-button--primary--5");
|
11
|
-
});
|
12
|
-
it("should return 1", function () {
|
13
|
-
var result = (0, _listFeat1Methods.determineButtonType)("theme-1");
|
14
|
-
expect(result).toEqual("ter-button--primary--1");
|
15
|
-
});
|
16
|
-
});
|
17
|
-
});
|
@@ -1,30 +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("./ListFeat2.scss");
|
10
|
-
var _generateThemeClassName = _interopRequireDefault(require("../../utils/generateThemeClassName"));
|
11
|
-
var _ListFeat2Methods = require("./ListFeat2Methods");
|
12
|
-
var ListFeat2 = function ListFeat2(_ref) {
|
13
|
-
var content = _ref.content,
|
14
|
-
motion = _ref.motion,
|
15
|
-
theme = _ref.theme,
|
16
|
-
zIndex = _ref.zIndex,
|
17
|
-
backgroundColor = _ref.backgroundColor,
|
18
|
-
color = _ref.color;
|
19
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
20
|
-
className: "ter-list-feat-two",
|
21
|
-
style: {
|
22
|
-
zIndex: zIndex || "auto",
|
23
|
-
backgroundColor: backgroundColor
|
24
|
-
}
|
25
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
26
|
-
className: "ter-list-feat-two__dumpling-container"
|
27
|
-
}, (0, _ListFeat2Methods.getHeadshotDumpling)(content === null || content === void 0 ? void 0 : content.headShotdumplings, motion, content === null || content === void 0 ? void 0 : content.type, backgroundColor, color)));
|
28
|
-
};
|
29
|
-
var _default = ListFeat2;
|
30
|
-
exports["default"] = _default;
|
@@ -1,20 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-two {
|
4
|
-
&__dumpling-container {
|
5
|
-
display: -webkit-box;
|
6
|
-
display: -ms-flexbox;
|
7
|
-
display: flex;
|
8
|
-
-ms-flex-wrap: wrap;
|
9
|
-
flex-wrap: wrap;
|
10
|
-
margin: auto;
|
11
|
-
-webkit-box-pack: center;
|
12
|
-
-ms-flex-pack: center;
|
13
|
-
justify-content: center;
|
14
|
-
|
15
|
-
.ter-headshot-dumpling {
|
16
|
-
width: 250px;
|
17
|
-
margin: 32px 16px 48px;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
@@ -1,33 +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.getHeadshotDumpling = void 0;
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
9
|
-
var _terraOne = require("terra-one");
|
10
|
-
var getHeadshotDumpling = function getHeadshotDumpling(headshotDumplings, motion, type, backgroundColor, color) {
|
11
|
-
return headshotDumplings.map(function (dumpling, index) {
|
12
|
-
return returnImageDumpling(dumpling, index, type, motion, backgroundColor, color);
|
13
|
-
});
|
14
|
-
};
|
15
|
-
exports.getHeadshotDumpling = getHeadshotDumpling;
|
16
|
-
var returnImageDumpling = function returnImageDumpling(dumpling, index, type, motion, backgroundColor, color) {
|
17
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
18
|
-
className: "ter-feat-five__dumpling-wrapper ter-feat-five__dumpling-wrapper--".concat(type),
|
19
|
-
key: "dumpling-".concat(index),
|
20
|
-
style: {
|
21
|
-
backgroundColor: backgroundColor,
|
22
|
-
color: color
|
23
|
-
}
|
24
|
-
}, /*#__PURE__*/_react["default"].createElement(_terraOne.HeadshotDumpling, {
|
25
|
-
content: dumpling === null || dumpling === void 0 ? void 0 : dumpling.content,
|
26
|
-
filter: (dumpling === null || dumpling === void 0 ? void 0 : dumpling.filter) || "blue",
|
27
|
-
header: dumpling === null || dumpling === void 0 ? void 0 : dumpling.header,
|
28
|
-
subHeader: dumpling === null || dumpling === void 0 ? void 0 : dumpling.subHeader,
|
29
|
-
text: dumpling === null || dumpling === void 0 ? void 0 : dumpling.text,
|
30
|
-
link: (dumpling === null || dumpling === void 0 ? void 0 : dumpling.link) || "",
|
31
|
-
motion: motion
|
32
|
-
}));
|
33
|
-
};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _ListFeat2Methods = require("./ListFeat2Methods");
|
4
|
-
describe("ListFeat2Methods", function () {
|
5
|
-
describe("getMotionDelay", function () {
|
6
|
-
it("should return 500", function () {
|
7
|
-
var result = (0, _ListFeat2Methods.getMotionDelay)(5);
|
8
|
-
expect(result).toEqual(500);
|
9
|
-
});
|
10
|
-
});
|
11
|
-
});
|
@@ -1,34 +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("./ListFeat4.scss");
|
10
|
-
var _generateThemeClassName = _interopRequireDefault(require("../../utils/generateThemeClassName"));
|
11
|
-
var _listFeatMethods = require("../methods/listFeatMethods");
|
12
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
13
|
-
var ListFeat4 = function ListFeat4(_ref) {
|
14
|
-
var content = _ref.content,
|
15
|
-
motion = _ref.motion,
|
16
|
-
theme = _ref.theme,
|
17
|
-
zIndex = _ref.zIndex;
|
18
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
19
|
-
className: "ter-list-feat-four ".concat((0, _generateThemeClassName["default"])("ter-list-feat-four", theme)),
|
20
|
-
style: {
|
21
|
-
zIndex: zIndex || "auto"
|
22
|
-
}
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
24
|
-
className: "ter-list-feat-four__dumpling-container"
|
25
|
-
}, /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
26
|
-
direction: motion ? "up" : "",
|
27
|
-
delay: motion ? 150 : 0,
|
28
|
-
triggerOnce: true,
|
29
|
-
cascade: true,
|
30
|
-
damping: 0.1
|
31
|
-
}, (0, _listFeatMethods.getDumplings)(content.dumplings, content.type))));
|
32
|
-
};
|
33
|
-
var _default = ListFeat4;
|
34
|
-
exports["default"] = _default;
|
@@ -1,32 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-four {
|
4
|
-
&__dumpling-container {
|
5
|
-
display: -webkit-box;
|
6
|
-
display: -ms-flexbox;
|
7
|
-
display: flex;
|
8
|
-
-ms-flex-wrap: wrap;
|
9
|
-
flex-wrap: wrap;
|
10
|
-
margin: auto;
|
11
|
-
-webkit-box-pack: center;
|
12
|
-
-ms-flex-pack: center;
|
13
|
-
justify-content: center;
|
14
|
-
|
15
|
-
.ter-feat-five__dumpling-wrapper {
|
16
|
-
width: 200px;
|
17
|
-
margin: 16px 16px 48px;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
.ter-dumpling {
|
22
|
-
a {
|
23
|
-
color: $trimble-dark-gray;
|
24
|
-
text-decoration: none;
|
25
|
-
|
26
|
-
&:hover {
|
27
|
-
text-decoration: none;
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
|
32
|
-
}
|
@@ -1,28 +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("./ListFeat5.scss");
|
10
|
-
var _ListFeat5Methods = require("./ListFeat5Methods");
|
11
|
-
var ListFeat5 = function ListFeat5(_ref) {
|
12
|
-
var content = _ref.content,
|
13
|
-
motion = _ref.motion,
|
14
|
-
theme = _ref.theme,
|
15
|
-
zIndex = _ref.zIndex,
|
16
|
-
backgroundColor = _ref.backgroundColor;
|
17
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
18
|
-
className: "ter-list-feat-five",
|
19
|
-
style: {
|
20
|
-
zIndex: zIndex || "auto",
|
21
|
-
backgroundColor: backgroundColor
|
22
|
-
}
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
24
|
-
className: "ter-list-feat-five__content-container"
|
25
|
-
}, (0, _ListFeat5Methods.getIconListItems)(content.iconListItems, content.insertCardHTML, theme, motion, backgroundColor)));
|
26
|
-
};
|
27
|
-
var _default = ListFeat5;
|
28
|
-
exports["default"] = _default;
|
@@ -1,27 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-five {
|
4
|
-
|
5
|
-
&__header {
|
6
|
-
font-size: $heading-3-size;
|
7
|
-
}
|
8
|
-
|
9
|
-
&__content-container {
|
10
|
-
display: -webkit-box;
|
11
|
-
display: -ms-flexbox;
|
12
|
-
display: flex;
|
13
|
-
-ms-flex-wrap: wrap;
|
14
|
-
flex-wrap: wrap;
|
15
|
-
margin: auto;
|
16
|
-
-webkit-box-pack: center;
|
17
|
-
-ms-flex-pack: center;
|
18
|
-
justify-content: center;
|
19
|
-
|
20
|
-
.ter-icon-list-item {
|
21
|
-
max-width: 400px;
|
22
|
-
margin: 48px 0 0 0;
|
23
|
-
padding: 16px;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
}
|
@@ -1,24 +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.getIconListItems = void 0;
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
9
|
-
var _terraOne = require("terra-one");
|
10
|
-
var getIconListItems = function getIconListItems(content, insertCardHTML, theme, motion, backgroundColor) {
|
11
|
-
return content.map(function (item, index) {
|
12
|
-
return /*#__PURE__*/_react["default"].createElement(_terraOne.IconListItem, {
|
13
|
-
motion: motion,
|
14
|
-
motionDirection: motion ? motion.motionDirection : {},
|
15
|
-
motionDelay: motion ? index * 0.2 : 0,
|
16
|
-
theme: theme,
|
17
|
-
content: item,
|
18
|
-
key: "".concat(item.header || "icon-list-item").concat(index),
|
19
|
-
insertHTML: insertCardHTML ? true : false,
|
20
|
-
backgroundColor: backgroundColor
|
21
|
-
});
|
22
|
-
});
|
23
|
-
};
|
24
|
-
exports.getIconListItems = getIconListItems;
|
@@ -1,59 +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("./ListFeat6.scss");
|
10
|
-
var _generateThemeClassName = _interopRequireDefault(require("../../utils/generateThemeClassName"));
|
11
|
-
var _reactAwesomeReveal = require("react-awesome-reveal");
|
12
|
-
var _checkForDangerouslySet = _interopRequireDefault(require("../../utils/checkForDangerouslySet"));
|
13
|
-
var ListFeat6 = function ListFeat6(_ref) {
|
14
|
-
var content = _ref.content,
|
15
|
-
motion = _ref.motion,
|
16
|
-
parallax = _ref.parallax,
|
17
|
-
maxWidth = _ref.maxWidth,
|
18
|
-
theme = _ref.theme,
|
19
|
-
zIndex = _ref.zIndex;
|
20
|
-
var renderItems = function renderItems() {
|
21
|
-
if (content && content.list) {
|
22
|
-
return content.list.map(function (item, i) {
|
23
|
-
if ((0, _checkForDangerouslySet["default"])(item)) {
|
24
|
-
return /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
25
|
-
direction: motion ? "up" : "",
|
26
|
-
delay: motion ? 150 : 0,
|
27
|
-
triggerOnce: true,
|
28
|
-
cascade: true,
|
29
|
-
damping: 0.3,
|
30
|
-
className: "ter-list-feat-six__card",
|
31
|
-
key: i
|
32
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
33
|
-
dangerouslySetInnerHTML: {
|
34
|
-
__html: item
|
35
|
-
}
|
36
|
-
}));
|
37
|
-
} else if (!(0, _checkForDangerouslySet["default"])(item)) {
|
38
|
-
return /*#__PURE__*/_react["default"].createElement(_reactAwesomeReveal.Fade, {
|
39
|
-
direction: motion ? "up" : "",
|
40
|
-
delay: motion ? 150 : 0,
|
41
|
-
triggerOnce: true,
|
42
|
-
cascade: true,
|
43
|
-
damping: 0.3,
|
44
|
-
className: "ter-list-feat-six__card dangerously-set-content",
|
45
|
-
key: i
|
46
|
-
}, /*#__PURE__*/_react["default"].createElement("p", null, item));
|
47
|
-
}
|
48
|
-
});
|
49
|
-
}
|
50
|
-
};
|
51
|
-
return /*#__PURE__*/_react["default"].createElement("section", {
|
52
|
-
className: "ter-list-feat-six",
|
53
|
-
style: {
|
54
|
-
zIndex: zIndex || "auto"
|
55
|
-
}
|
56
|
-
}, renderItems());
|
57
|
-
};
|
58
|
-
var _default = ListFeat6;
|
59
|
-
exports["default"] = _default;
|
@@ -1,34 +0,0 @@
|
|
1
|
-
@import "../../../global-styles/terra.scss";
|
2
|
-
|
3
|
-
.ter-list-feat-six {
|
4
|
-
width: 100%;
|
5
|
-
-webkit-box-pack: center;
|
6
|
-
-ms-flex-pack: center;
|
7
|
-
justify-content: center;
|
8
|
-
display: grid;
|
9
|
-
grid-template-columns: 1fr 1fr;
|
10
|
-
gap: 32px;
|
11
|
-
|
12
|
-
@media screen and (max-width: 900px) {
|
13
|
-
display: block;
|
14
|
-
}
|
15
|
-
|
16
|
-
&__card {
|
17
|
-
padding: 32px;
|
18
|
-
margin: 0;
|
19
|
-
width: 100%;
|
20
|
-
background: $concrete-gray-1;
|
21
|
-
min-width: 200px;
|
22
|
-
min-height: 100px;
|
23
|
-
vertical-align: center;
|
24
|
-
img {
|
25
|
-
width: 100%;
|
26
|
-
}
|
27
|
-
|
28
|
-
@media screen and (max-width: 900px) {
|
29
|
-
margin: 0 auto 32px;
|
30
|
-
max-width: 600px;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
}
|