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
@@ -0,0 +1,339 @@
|
|
1
|
+
#### Block List Items
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
- `content` **(required)** - object containing content for the selected block type, fields vary based on type - see individual sub-components for details
|
5
|
+
- `type` **(required)** - required to render the correct type of block list - e.g. `bounded_cards`, `icon_mini_blocks`
|
6
|
+
- `motion` - boolean used to indicate whether or not motion should be used
|
7
|
+
- `zIndex` - used to manually set the z-index of the component
|
8
|
+
- `paddingClass` - string containing the container padding class name
|
9
|
+
|
10
|
+
###### Example -
|
11
|
+
|
12
|
+
```
|
13
|
+
const CardImage = "../images/dummy-image.png";
|
14
|
+
const content = {
|
15
|
+
type: "bounded_cards",
|
16
|
+
const variant1BCards = [
|
17
|
+
{
|
18
|
+
image: { src: CardImage, altText: "FPO Image" },
|
19
|
+
eyebrow: "Eyebrow Option",
|
20
|
+
header: "Trimble S9 HP",
|
21
|
+
buttonSecondary: true,
|
22
|
+
cardLink: {
|
23
|
+
url: "/#",
|
24
|
+
text: "Button",
|
25
|
+
type: "ter-button--secondary-1",
|
26
|
+
},
|
27
|
+
text:
|
28
|
+
"Combines top field technologies with the highest level of accuracy and most advanced engineering features.",
|
29
|
+
},
|
30
|
+
{
|
31
|
+
image: { src: CardImage, altText: "FPO Image" },
|
32
|
+
eyebrow: "Eyebrow Option",
|
33
|
+
header: "Trimble Zephyr 3 for GIS",
|
34
|
+
buttonSecondary: true,
|
35
|
+
cardLink: {
|
36
|
+
url: "/#",
|
37
|
+
text: "Button",
|
38
|
+
type: "ter-button--secondary",
|
39
|
+
},
|
40
|
+
},
|
41
|
+
{
|
42
|
+
image: { src: CardImage, altText: "FPO Image" },
|
43
|
+
eyebrow: "Eyebrow Option",
|
44
|
+
header: "Trimble S5",
|
45
|
+
buttonSecondary: true,
|
46
|
+
cardLink: {
|
47
|
+
url: "/#",
|
48
|
+
text: "Button",
|
49
|
+
type: "ter-button--secondary",
|
50
|
+
},
|
51
|
+
text:
|
52
|
+
"The no nonsense workhorse that works efficiently and dependably while maintaining the highest possible accuracy",
|
53
|
+
}
|
54
|
+
],
|
55
|
+
cardAlignment: true,
|
56
|
+
displayButton: true
|
57
|
+
};
|
58
|
+
|
59
|
+
return (
|
60
|
+
<ListFeat content={content} motion />
|
61
|
+
)
|
62
|
+
|
63
|
+
export const IconMiniBlocks = () => (
|
64
|
+
<div style={{ maxWidth: "1232px", margin: "0 auto" }}>
|
65
|
+
<BlockListItems
|
66
|
+
type="icon_mini_blocks"
|
67
|
+
content={{
|
68
|
+
blocks: [
|
69
|
+
{
|
70
|
+
header: "Communications",
|
71
|
+
link: "https://www.trimble.com",
|
72
|
+
text: "Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet",
|
73
|
+
},
|
74
|
+
{
|
75
|
+
header: "Communications",
|
76
|
+
link: "https://www.trimble.com",
|
77
|
+
text: "Lorem Ipsum dolor sit amet...",
|
78
|
+
},
|
79
|
+
{
|
80
|
+
header: "Communications",
|
81
|
+
link: "https://www.trimble.com",
|
82
|
+
text: "Lorem Ipsum dolor sit amet...",
|
83
|
+
},
|
84
|
+
{
|
85
|
+
header: "Communications",
|
86
|
+
link: "https://www.trimble.com",
|
87
|
+
text: "Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet",
|
88
|
+
},
|
89
|
+
],
|
90
|
+
alignment: "left,
|
91
|
+
largeBlock: false
|
92
|
+
}}
|
93
|
+
/>
|
94
|
+
</div>
|
95
|
+
);
|
96
|
+
|
97
|
+
export const IconListItemBlocks = () => (
|
98
|
+
<div style={{ maxWidth: "1232px", margin: "0 auto" }}>
|
99
|
+
<BlockListItems
|
100
|
+
type="icon_list_item_blocks"
|
101
|
+
content={{
|
102
|
+
blocks: [
|
103
|
+
{
|
104
|
+
icon: "enclosed-arrow-right-dark-32px",
|
105
|
+
header: "Regulatory Compliance",
|
106
|
+
link: text("Block Links", "https://www.trimble.com"),
|
107
|
+
text: "Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet",
|
108
|
+
link: {
|
109
|
+
url: "https://www.trimble.com",
|
110
|
+
text: "Explore more"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
{
|
114
|
+
icon: "enclosed-arrow-right-dark-32px",
|
115
|
+
header: "Supply Chain Visibility",
|
116
|
+
link: text("Block Links", "https://www.trimble.com"),
|
117
|
+
text: "File Manager and Loader. Deserunt aute magna pariatur sunt aliquip cupidatat cillum aliqua magna. Reprehenderit labore excepteur commodo incididunt. Deserunt aute magna pariatur sunt aliquip cupidatat.",
|
118
|
+
link: {
|
119
|
+
url: "/",
|
120
|
+
text: "Explore"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
{
|
124
|
+
header: "Transportation & Logistics Lorem ipsum dolor sit amet magna aute.",
|
125
|
+
link: text("Block Links", "https://www.trimble.com"),
|
126
|
+
text: "File Manager and Loader. Deserunt aute magna pariatur sunt aliquip cupidatat cillum aliqua excepteur commodo incididunt. ",
|
127
|
+
},
|
128
|
+
{
|
129
|
+
header: "Transportation & Logistics",
|
130
|
+
link: text("Block Links", "https://www.trimble.com"),
|
131
|
+
text: "File Manager and Loader. Deserunt aute magna pariatur sunt aliquip cupidatat cillum aliqua.",
|
132
|
+
},
|
133
|
+
{
|
134
|
+
header: "Regulatory Compliance",
|
135
|
+
link: text("Block Links", "https://www.trimble.com"),
|
136
|
+
text: "Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet. Lorem Ipsum dolor sit amet",
|
137
|
+
link: {
|
138
|
+
url: "https://www.trimble.com",
|
139
|
+
text: "Explore more"
|
140
|
+
}
|
141
|
+
},
|
142
|
+
{
|
143
|
+
header: "Supply Chain Visibility",
|
144
|
+
link: text("Block Links", "https://www.trimble.com"),
|
145
|
+
text: "File Manager and Loader. Deserunt aute magna pariatur sunt aliquip cupidatat cillum aliqua magna. Reprehenderit labore excepteur commodo incididunt. Deserunt aute magna pariatur sunt aliquip cupidatat.",
|
146
|
+
link: {
|
147
|
+
url: "/",
|
148
|
+
text: "Explore"
|
149
|
+
}
|
150
|
+
},
|
151
|
+
{
|
152
|
+
header: "Transportation & Logistics Lorem ipsum dolor sit amet magna aute.",
|
153
|
+
link: text("Block Links", "https://www.trimble.com"),
|
154
|
+
text: "Lorem Ipsum dolor sit amet...",
|
155
|
+
},
|
156
|
+
{
|
157
|
+
header: "Transportation & Logistics",
|
158
|
+
link: text("Block Links", "https://www.trimble.com"),
|
159
|
+
text: "File Manager and Loader. Deserunt aute magna pariatur sunt aliquip cupidatat cillum aliqua.",
|
160
|
+
},
|
161
|
+
],
|
162
|
+
}}
|
163
|
+
/>
|
164
|
+
</div>
|
165
|
+
);
|
166
|
+
|
167
|
+
export const BioBlocks = () => (
|
168
|
+
<div style={{ maxWidth: "1232px", margin: "0 auto" }}>
|
169
|
+
<BlockListItems
|
170
|
+
type="bio_blocks"
|
171
|
+
content={{
|
172
|
+
blocks: [
|
173
|
+
{
|
174
|
+
header: "Patience Turner",
|
175
|
+
subHeader: "Senior Vice President",
|
176
|
+
image: {
|
177
|
+
focalPointImage: {
|
178
|
+
height: 4000,
|
179
|
+
title: "dog",
|
180
|
+
url:
|
181
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
182
|
+
width: 6000,
|
183
|
+
x: 3549,
|
184
|
+
y: 1811,
|
185
|
+
},
|
186
|
+
},
|
187
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
188
|
+
link: {
|
189
|
+
url: "https://www.trimble.com",
|
190
|
+
text: "Explore more"
|
191
|
+
}
|
192
|
+
},
|
193
|
+
{
|
194
|
+
header: "Angelique Shroeder",
|
195
|
+
subHeader: "Senior Vice President, Operations and Head of Sustainability",
|
196
|
+
image: {
|
197
|
+
focalPointImage: {
|
198
|
+
height: 4000,
|
199
|
+
title: "dog",
|
200
|
+
url:
|
201
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
202
|
+
width: 6000,
|
203
|
+
x: 3549,
|
204
|
+
y: 1811,
|
205
|
+
},
|
206
|
+
},
|
207
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
208
|
+
link: {
|
209
|
+
url: "/",
|
210
|
+
text: "Explore"
|
211
|
+
}
|
212
|
+
},
|
213
|
+
{
|
214
|
+
header: "Emmanuel Macdonald",
|
215
|
+
subHeader: "Senior Vice President, Chief Digital Officer",
|
216
|
+
image: {
|
217
|
+
focalPointImage: {
|
218
|
+
height: 4000,
|
219
|
+
title: "dog",
|
220
|
+
url:
|
221
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
222
|
+
width: 6000,
|
223
|
+
x: 3549,
|
224
|
+
y: 1811,
|
225
|
+
},
|
226
|
+
},
|
227
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
228
|
+
link: {
|
229
|
+
url: "/",
|
230
|
+
text: "Explore"
|
231
|
+
}
|
232
|
+
},
|
233
|
+
{
|
234
|
+
header: "Blake Daugherty",
|
235
|
+
subHeader: "Senior Vice President, Finance and Chief Accounting Officer",
|
236
|
+
image: {
|
237
|
+
focalPointImage: {
|
238
|
+
height: 4000,
|
239
|
+
title: "dog",
|
240
|
+
url:
|
241
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
242
|
+
width: 6000,
|
243
|
+
x: 3549,
|
244
|
+
y: 1811,
|
245
|
+
},
|
246
|
+
},
|
247
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
248
|
+
link: {
|
249
|
+
url: "/",
|
250
|
+
text: "Explore"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
header: "Patience Turner",
|
255
|
+
subHeader: "Senior Vice President",
|
256
|
+
image: {
|
257
|
+
focalPointImage: {
|
258
|
+
height: 4000,
|
259
|
+
title: "dog",
|
260
|
+
url:
|
261
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
262
|
+
width: 6000,
|
263
|
+
x: 3549,
|
264
|
+
y: 1811,
|
265
|
+
},
|
266
|
+
},
|
267
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
268
|
+
link: {
|
269
|
+
url: "https://www.trimble.com",
|
270
|
+
text: "Explore more"
|
271
|
+
}
|
272
|
+
},
|
273
|
+
{
|
274
|
+
header: "Angelique Shroeder",
|
275
|
+
subHeader: "Senior Vice President, Operations and Head of Sustainability",
|
276
|
+
image: {
|
277
|
+
focalPointImage: {
|
278
|
+
height: 4000,
|
279
|
+
title: "dog",
|
280
|
+
url:
|
281
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
282
|
+
width: 6000,
|
283
|
+
x: 3549,
|
284
|
+
y: 1811,
|
285
|
+
},
|
286
|
+
},
|
287
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
288
|
+
link: {
|
289
|
+
url: "/",
|
290
|
+
text: "Explore"
|
291
|
+
}
|
292
|
+
},
|
293
|
+
{
|
294
|
+
header: "Emmanuel Macdonald",
|
295
|
+
subHeader: "Senior Vice President, Chief Digital Officer",
|
296
|
+
image: {
|
297
|
+
focalPointImage: {
|
298
|
+
height: 4000,
|
299
|
+
title: "dog",
|
300
|
+
url:
|
301
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
302
|
+
width: 6000,
|
303
|
+
x: 3549,
|
304
|
+
y: 1811,
|
305
|
+
},
|
306
|
+
},
|
307
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
308
|
+
link: {
|
309
|
+
url: "/",
|
310
|
+
text: "Explore"
|
311
|
+
}
|
312
|
+
},
|
313
|
+
{
|
314
|
+
header: "Blake Daugherty",
|
315
|
+
subHeader: "Senior Vice President, Finance and Chief Accounting Officer",
|
316
|
+
image: {
|
317
|
+
focalPointImage: {
|
318
|
+
height: 4000,
|
319
|
+
title: "dog",
|
320
|
+
url:
|
321
|
+
"//images.ctfassets.net/citn2sn5tdjr/7wBhLKP8AN67gmNO0MJzsP/151f11bbe5130466fbe942aa63fd42fa/dog.jpg",
|
322
|
+
width: 6000,
|
323
|
+
x: 3549,
|
324
|
+
y: 1811,
|
325
|
+
},
|
326
|
+
},
|
327
|
+
text: "LG/P/Book Body copy nim aliquip aliqua aliqua id qui aute anim reprehenderit tempor velit est sint laborum. Cillum et laboris aliquip consequat. MxChar Count 150",
|
328
|
+
link: {
|
329
|
+
url: "/",
|
330
|
+
text: "Explore"
|
331
|
+
}
|
332
|
+
},
|
333
|
+
],
|
334
|
+
}}
|
335
|
+
/>
|
336
|
+
</div>
|
337
|
+
);
|
338
|
+
|
339
|
+
```
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
5
|
+
var _pattern = _interopRequireDefault(require("../../../../images/pattern.png"));
|
6
|
+
var _react2 = require("@storybook/react");
|
7
|
+
var _BrowserSupportBanner = _interopRequireDefault(require("./BrowserSupportBanner"));
|
8
|
+
var content = {
|
9
|
+
text: "WARNING: Internet Explorer is not recommended for use of this site. Please switch your browser to Chrome, Firefox, or Safari.",
|
10
|
+
type: "danger",
|
11
|
+
browser: "chrome"
|
12
|
+
};
|
13
|
+
|
14
|
+
// storiesOf("Not Yet Implemented/Browser Support Banner", module).add(
|
15
|
+
// "Browser Support Banner",
|
16
|
+
// () => {
|
17
|
+
// return <BrowserSupportBanner content={content} />;
|
18
|
+
// }
|
19
|
+
// );
|
@@ -0,0 +1,142 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = exports.VideoButtons = exports.LunaLinkVideoBtn = exports.Default = exports.Dark = exports.CenterAligned = void 0;
|
9
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/slicedToArray"));
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
11
|
+
var _terraOne = require("terra-one");
|
12
|
+
var _CTAButtons = _interopRequireDefault(require("../CTAButtons/CTAButtons"));
|
13
|
+
var _CTAButtonsDocumentation = _interopRequireDefault(require("./CTAButtonsDocumentation.mdx"));
|
14
|
+
var _Video = _interopRequireDefault(require("../Video/Video"));
|
15
|
+
var buttons = [{
|
16
|
+
text: "Button 1",
|
17
|
+
url: "/"
|
18
|
+
}, {
|
19
|
+
text: "Button 2",
|
20
|
+
url: "https://www.trimble.com/"
|
21
|
+
}];
|
22
|
+
var _default = {
|
23
|
+
component: _CTAButtons["default"],
|
24
|
+
title: "MXP Components/CTA Buttons",
|
25
|
+
parameters: {
|
26
|
+
docs: {
|
27
|
+
page: _CTAButtonsDocumentation["default"]
|
28
|
+
}
|
29
|
+
}
|
30
|
+
};
|
31
|
+
exports["default"] = _default;
|
32
|
+
var Default = function Default() {
|
33
|
+
return /*#__PURE__*/_react["default"].createElement(_CTAButtons["default"], {
|
34
|
+
buttons: buttons
|
35
|
+
});
|
36
|
+
};
|
37
|
+
exports.Default = Default;
|
38
|
+
var Dark = function Dark() {
|
39
|
+
return /*#__PURE__*/_react["default"].createElement(_CTAButtons["default"], {
|
40
|
+
variant: "dark",
|
41
|
+
buttons: buttons
|
42
|
+
});
|
43
|
+
};
|
44
|
+
exports.Dark = Dark;
|
45
|
+
var CenterAligned = function CenterAligned() {
|
46
|
+
return /*#__PURE__*/_react["default"].createElement(_CTAButtons["default"], {
|
47
|
+
alignment: "center",
|
48
|
+
buttons: buttons
|
49
|
+
});
|
50
|
+
};
|
51
|
+
exports.CenterAligned = CenterAligned;
|
52
|
+
var VideoButtons = function VideoButtons() {
|
53
|
+
var _useState = (0, _react.useState)(false),
|
54
|
+
_useState2 = (0, _slicedToArray2["default"])(_useState, 2),
|
55
|
+
override = _useState2[0],
|
56
|
+
setOverride = _useState2[1];
|
57
|
+
var thumbnail = {
|
58
|
+
src: "https://fpoimg.com/720x450",
|
59
|
+
alt: "fpo"
|
60
|
+
};
|
61
|
+
var video = {
|
62
|
+
url: "https://www.youtube.com/embed/UY7r0juBF8Y",
|
63
|
+
allowFullScreen: true,
|
64
|
+
uuid: "UrtwArRETP23TP9yGgCEd6"
|
65
|
+
};
|
66
|
+
var videoContent = {
|
67
|
+
transcript: "View Transcript",
|
68
|
+
closeTranscript: "Hide Transcript",
|
69
|
+
transcriptText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
70
|
+
video: video,
|
71
|
+
thumbnail: thumbnail,
|
72
|
+
setVideoProgress: function setVideoProgress() {},
|
73
|
+
variant: "variant_7"
|
74
|
+
};
|
75
|
+
var thumbnail2 = {
|
76
|
+
src: "https://fpoimg.com/450x450",
|
77
|
+
alt: "fpo"
|
78
|
+
};
|
79
|
+
var video2 = {
|
80
|
+
url: "https://www.youtube.com/embed/W6NZfCO5SIk",
|
81
|
+
allowFullScreen: true
|
82
|
+
};
|
83
|
+
var videoContent2 = {
|
84
|
+
transcript: "View Transcript here",
|
85
|
+
closeTranscript: "Hide Transcript",
|
86
|
+
transcriptText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
87
|
+
video: video2,
|
88
|
+
thumbnail: thumbnail2,
|
89
|
+
setVideoProgress: function setVideoProgress() {},
|
90
|
+
variant: "variant_7"
|
91
|
+
};
|
92
|
+
var videoButtons = [{
|
93
|
+
text: "texty",
|
94
|
+
// url: "/"
|
95
|
+
video: videoContent
|
96
|
+
// setOverride,
|
97
|
+
// override,
|
98
|
+
}, {
|
99
|
+
text: "Button here",
|
100
|
+
video: videoContent2
|
101
|
+
// setOverride: setOverride,
|
102
|
+
}];
|
103
|
+
|
104
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_CTAButtons["default"], {
|
105
|
+
alignment: "center",
|
106
|
+
buttons: videoButtons
|
107
|
+
}));
|
108
|
+
};
|
109
|
+
exports.VideoButtons = VideoButtons;
|
110
|
+
var LunaLinkVideoBtn = function LunaLinkVideoBtn() {
|
111
|
+
var _useState3 = (0, _react.useState)(false),
|
112
|
+
_useState4 = (0, _slicedToArray2["default"])(_useState3, 2),
|
113
|
+
override = _useState4[0],
|
114
|
+
setOverride = _useState4[1];
|
115
|
+
var thumbnail1 = {
|
116
|
+
src: "https://fpoimg.com/720x450",
|
117
|
+
alt: "fpo"
|
118
|
+
};
|
119
|
+
var video1 = {
|
120
|
+
url: "https://www.youtube.com/embed/UY7r0juBF8Y",
|
121
|
+
allowFullScreen: true,
|
122
|
+
uuid: "UrtwArRETP23TP9yGgCEd6"
|
123
|
+
};
|
124
|
+
var videoContent1 = {
|
125
|
+
transcript: "View Transcript",
|
126
|
+
closeTranscript: "Hide Transcript",
|
127
|
+
transcriptText: "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
|
128
|
+
video: video1,
|
129
|
+
thumbnail: thumbnail1,
|
130
|
+
setVideoProgress: function setVideoProgress() {},
|
131
|
+
variant: "variant_7"
|
132
|
+
};
|
133
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_terraOne.LunaLink, {
|
134
|
+
alignment: "center",
|
135
|
+
children: "text",
|
136
|
+
video: videoContent1,
|
137
|
+
VideoComponent: _Video["default"],
|
138
|
+
setOverride: setOverride,
|
139
|
+
override: override
|
140
|
+
}));
|
141
|
+
};
|
142
|
+
exports.LunaLinkVideoBtn = LunaLinkVideoBtn;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
#### CTA Buttons
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
|
5
|
+
- `variant` - string that determines the CTA appearance (either light or dark)
|
6
|
+
- `alignment` - string that sets the CTA text alignment (either left or center)
|
7
|
+
- `buttons` - object array containing information for the buttons displayed below the CTA content
|
8
|
+
- `text` - string that sets the button text
|
9
|
+
- `url` - string that sets the button url
|
10
|
+
- `paddingClass` - string containing the container padding class name
|
11
|
+
|
12
|
+
###### Example -
|
13
|
+
|
14
|
+
```
|
15
|
+
const buttons = [
|
16
|
+
{
|
17
|
+
"text": "Button 1",
|
18
|
+
"url": "/"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"text": "Button 2",
|
22
|
+
"url": "/"
|
23
|
+
}
|
24
|
+
]
|
25
|
+
|
26
|
+
return (
|
27
|
+
<CTAButtons
|
28
|
+
variant="dark"
|
29
|
+
alignment="center"
|
30
|
+
buttons={buttons}
|
31
|
+
/>
|
32
|
+
);
|
33
|
+
```
|