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,102 @@
|
|
1
|
+
#### Resource Grid
|
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
|
+
|
6
|
+
###### Example -
|
7
|
+
|
8
|
+
```
|
9
|
+
const CardImage = "../images/dummy-image.png";
|
10
|
+
const content = [
|
11
|
+
{
|
12
|
+
image: { src: CardImage, altText: "FPO Image" },
|
13
|
+
eyebrow: "Eyebrow Option",
|
14
|
+
header: "Article title lorem ipsum dolor sit amet.",
|
15
|
+
cardLink: {
|
16
|
+
url: "/resource-center/blog-1",
|
17
|
+
text: "Learn more",
|
18
|
+
},
|
19
|
+
},
|
20
|
+
{
|
21
|
+
image: { src: CardImage, altText: "FPO Image" },
|
22
|
+
eyebrow: "Eyebrow Option",
|
23
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
24
|
+
cardLink: {
|
25
|
+
url: "/resource-center/blog-1",
|
26
|
+
text: "Learn more",
|
27
|
+
},
|
28
|
+
},
|
29
|
+
{
|
30
|
+
image: { src: CardImage, altText: "FPO Image" },
|
31
|
+
eyebrow: "Eyebrow Option",
|
32
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
33
|
+
cardLink: {
|
34
|
+
url: "/resource-center/blog-1",
|
35
|
+
text: "Learn more",
|
36
|
+
},
|
37
|
+
},
|
38
|
+
{
|
39
|
+
image: { src: CardImage, altText: "FPO Image" },
|
40
|
+
eyebrow: "Eyebrow Option",
|
41
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
42
|
+
cardLink: {
|
43
|
+
url: "/resource-center/blog-1",
|
44
|
+
text: "Learn more",
|
45
|
+
},
|
46
|
+
},
|
47
|
+
{
|
48
|
+
image: { src: CardImage, altText: "FPO Image" },
|
49
|
+
eyebrow: "Eyebrow Option",
|
50
|
+
header: "Article title lorem ipsum dolor sit amet.",
|
51
|
+
cardLink: {
|
52
|
+
url: "/resource-center/blog-1",
|
53
|
+
text: "Learn more",
|
54
|
+
},
|
55
|
+
},
|
56
|
+
{
|
57
|
+
image: { src: CardImage, altText: "FPO Image" },
|
58
|
+
eyebrow: "Eyebrow Option",
|
59
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
60
|
+
cardLink: {
|
61
|
+
url: "/resource-center/blog-1",
|
62
|
+
text: "Learn more",
|
63
|
+
},
|
64
|
+
},
|
65
|
+
{
|
66
|
+
image: { src: CardImage, altText: "FPO Image" },
|
67
|
+
eyebrow: "Eyebrow Option",
|
68
|
+
header: "Article title lorem ipsum dolor sit amet.",
|
69
|
+
cardLink: {
|
70
|
+
url: "/resource-center/blog-1",
|
71
|
+
text: "Learn more",
|
72
|
+
},
|
73
|
+
},
|
74
|
+
{
|
75
|
+
image: { src: CardImage, altText: "FPO Image" },
|
76
|
+
eyebrow: "Eyebrow Option",
|
77
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
78
|
+
cardLink: {
|
79
|
+
url: "/resource-center/blog-1",
|
80
|
+
text: "Learn more",
|
81
|
+
},
|
82
|
+
},
|
83
|
+
{
|
84
|
+
image: { src: CardImage, altText: "FPO Image" },
|
85
|
+
eyebrow: "Eyebrow Option",
|
86
|
+
header: "Article title lorem ipsum dolor sit amet, consectetur adipiscing.",
|
87
|
+
cardLink: {
|
88
|
+
url: "/resource-center/blog-1",
|
89
|
+
text: "Learn more",
|
90
|
+
},
|
91
|
+
},
|
92
|
+
];
|
93
|
+
|
94
|
+
export const Default = () => (
|
95
|
+
<div style={{ maxWidth: "1400px", margin: "0 auto" }}>
|
96
|
+
<ResourceGrid
|
97
|
+
content={content}
|
98
|
+
/>
|
99
|
+
</div>
|
100
|
+
);
|
101
|
+
|
102
|
+
```
|
@@ -0,0 +1,171 @@
|
|
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"] = exports.WithVideoBackground = exports.DefaultWithLottieAnimation = exports.DefaultWithAccessibilityMode = exports.Default = void 0;
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
9
|
+
var _ScrollInPlace = _interopRequireDefault(require("./ScrollInPlace"));
|
10
|
+
var _ScrollInPlaceDocumentation = _interopRequireDefault(require("./ScrollInPlaceDocumentation.mdx"));
|
11
|
+
var TitleContent = function TitleContent() {
|
12
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
13
|
+
style: {
|
14
|
+
width: "100%",
|
15
|
+
height: "100%",
|
16
|
+
display: "flex",
|
17
|
+
flexDirection: "column",
|
18
|
+
alignItems: "center",
|
19
|
+
justifyContent: "center",
|
20
|
+
color: "white"
|
21
|
+
}
|
22
|
+
}, /*#__PURE__*/_react["default"].createElement("h1", {
|
23
|
+
style: {
|
24
|
+
color: "white"
|
25
|
+
}
|
26
|
+
}, "Scroll In Place"));
|
27
|
+
};
|
28
|
+
var Slide1Content = function Slide1Content() {
|
29
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
30
|
+
style: {
|
31
|
+
width: "100%",
|
32
|
+
height: "100%",
|
33
|
+
display: "flex",
|
34
|
+
flexDirection: "column",
|
35
|
+
alignItems: "center",
|
36
|
+
justifyContent: "center",
|
37
|
+
color: "white",
|
38
|
+
margin: "100px 0"
|
39
|
+
}
|
40
|
+
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
41
|
+
style: {
|
42
|
+
color: "white"
|
43
|
+
}
|
44
|
+
}, "Slide 1"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"));
|
45
|
+
};
|
46
|
+
var Slide2Content = function Slide2Content() {
|
47
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
48
|
+
style: {
|
49
|
+
width: "100%",
|
50
|
+
height: "100%",
|
51
|
+
display: "flex",
|
52
|
+
flexDirection: "column",
|
53
|
+
alignItems: "center",
|
54
|
+
justifyContent: "center",
|
55
|
+
color: "white",
|
56
|
+
margin: "100px 0"
|
57
|
+
}
|
58
|
+
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
59
|
+
style: {
|
60
|
+
color: "white"
|
61
|
+
}
|
62
|
+
}, "Slide 2"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"), /*#__PURE__*/_react["default"].createElement("p", null, "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?"));
|
63
|
+
};
|
64
|
+
var slide1 = {
|
65
|
+
backgroundImage: {
|
66
|
+
src: "https://picsum.photos/id/152/1280/752",
|
67
|
+
alt: "background image"
|
68
|
+
},
|
69
|
+
content: Slide1Content
|
70
|
+
};
|
71
|
+
var slide2 = {
|
72
|
+
backgroundImage: {
|
73
|
+
src: "https://picsum.photos/id/1023/1280/752",
|
74
|
+
alt: "background image"
|
75
|
+
},
|
76
|
+
content: Slide2Content
|
77
|
+
};
|
78
|
+
var titleBackgroundImage = {
|
79
|
+
image: {
|
80
|
+
src: "https://picsum.photos/id/1025/1280/752/",
|
81
|
+
alt: "background-image"
|
82
|
+
}
|
83
|
+
};
|
84
|
+
var titleBackgroundImageLottie = {
|
85
|
+
image: {
|
86
|
+
type: "lottieAnimation",
|
87
|
+
src: "https://assets3.lottiefiles.com/packages/lf20_UJNc2t.json",
|
88
|
+
style: {}
|
89
|
+
}
|
90
|
+
};
|
91
|
+
var titleBackgroundVideo = {
|
92
|
+
video: "https://videos.ctfassets.net/citn2sn5tdjr/ItsVtlZqvkpLmrgyfLKdp/dc627782ba926439c285b65a2f579d1f/video_preview_h264.mp4"
|
93
|
+
};
|
94
|
+
var slides = [slide1, slide2];
|
95
|
+
var _default = {
|
96
|
+
component: _ScrollInPlace["default"],
|
97
|
+
title: "MXP Components/Scroll In Place",
|
98
|
+
parameters: {
|
99
|
+
docs: {
|
100
|
+
page: _ScrollInPlaceDocumentation["default"]
|
101
|
+
}
|
102
|
+
}
|
103
|
+
};
|
104
|
+
exports["default"] = _default;
|
105
|
+
var Default = function Default() {
|
106
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 1"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
107
|
+
titleBackground: titleBackgroundImage,
|
108
|
+
TitleContent: TitleContent,
|
109
|
+
slides: slides
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 2"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
111
|
+
titleBackground: titleBackgroundImage,
|
112
|
+
TitleContent: TitleContent,
|
113
|
+
slides: slides
|
114
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 3"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
115
|
+
titleBackground: titleBackgroundImage,
|
116
|
+
TitleContent: TitleContent,
|
117
|
+
slides: slides
|
118
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null));
|
119
|
+
};
|
120
|
+
exports.Default = Default;
|
121
|
+
var DefaultWithLottieAnimation = function DefaultWithLottieAnimation() {
|
122
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 1"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
123
|
+
titleBackground: titleBackgroundImageLottie,
|
124
|
+
TitleContent: TitleContent,
|
125
|
+
slides: slides
|
126
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 2"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
127
|
+
titleBackground: titleBackgroundImage,
|
128
|
+
TitleContent: TitleContent,
|
129
|
+
slides: slides
|
130
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 3"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
131
|
+
titleBackground: titleBackgroundImage,
|
132
|
+
TitleContent: TitleContent,
|
133
|
+
slides: slides
|
134
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null));
|
135
|
+
};
|
136
|
+
exports.DefaultWithLottieAnimation = DefaultWithLottieAnimation;
|
137
|
+
var WithVideoBackground = function WithVideoBackground() {
|
138
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
139
|
+
titleBackground: titleBackgroundVideo,
|
140
|
+
TitleContent: TitleContent,
|
141
|
+
slides: slides
|
142
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
143
|
+
titleBackground: titleBackgroundVideo,
|
144
|
+
TitleContent: TitleContent,
|
145
|
+
slides: slides
|
146
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
147
|
+
titleBackground: titleBackgroundVideo,
|
148
|
+
TitleContent: TitleContent,
|
149
|
+
slides: slides
|
150
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null));
|
151
|
+
};
|
152
|
+
exports.WithVideoBackground = WithVideoBackground;
|
153
|
+
var DefaultWithAccessibilityMode = function DefaultWithAccessibilityMode() {
|
154
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 1"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
155
|
+
titleBackground: titleBackgroundImage,
|
156
|
+
TitleContent: TitleContent,
|
157
|
+
slides: slides,
|
158
|
+
a11yMode: true
|
159
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 2"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
160
|
+
titleBackground: titleBackgroundImage,
|
161
|
+
TitleContent: TitleContent,
|
162
|
+
slides: slides,
|
163
|
+
a11yMode: true
|
164
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("h1", null, "SET 3"), /*#__PURE__*/_react["default"].createElement(_ScrollInPlace["default"], {
|
165
|
+
titleBackground: titleBackgroundImage,
|
166
|
+
TitleContent: TitleContent,
|
167
|
+
slides: slides,
|
168
|
+
a11yMode: true
|
169
|
+
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null));
|
170
|
+
};
|
171
|
+
exports.DefaultWithAccessibilityMode = DefaultWithAccessibilityMode;
|
@@ -0,0 +1,123 @@
|
|
1
|
+
#### Scroll In Place
|
2
|
+
|
3
|
+
###### Props -
|
4
|
+
|
5
|
+
- `titleBackground` - object containing the background image or video url for the title slide
|
6
|
+
- `image` - object containing the background image information
|
7
|
+
- `src` - string containing the background image source
|
8
|
+
- `alt` - string containing the background image alt text
|
9
|
+
- `video` - string containing the background video URL (note: if this is specified, it overrides all slide background images)
|
10
|
+
- `TitleContent` - a react component containing the content to be displayed on the title slide
|
11
|
+
- `slides` - array of objects containing information on all regular slides
|
12
|
+
- `backgroundImage` - object containing slide background image information
|
13
|
+
- `src` - string containing the background image source
|
14
|
+
- `alt` - string containing the background image alt text
|
15
|
+
- `content` - a react component containing the content to be displayed on the slide
|
16
|
+
|
17
|
+
###### Example -
|
18
|
+
|
19
|
+
```
|
20
|
+
const TitleContent = () => (
|
21
|
+
<h1 className="title-text">Scroll In Place</h1>
|
22
|
+
)
|
23
|
+
|
24
|
+
const Slide1Content = () => (
|
25
|
+
<div className="content-sections">
|
26
|
+
<div className="left-section">
|
27
|
+
<h2>Left Slide 1</h2>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
<div className="center-section">
|
31
|
+
<h2>Center Slide 1</h2>
|
32
|
+
|
33
|
+
<p>
|
34
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
35
|
+
</p>
|
36
|
+
|
37
|
+
<p>
|
38
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
39
|
+
</p>
|
40
|
+
|
41
|
+
<p>
|
42
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
43
|
+
</p>
|
44
|
+
|
45
|
+
<p>
|
46
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
47
|
+
</p>
|
48
|
+
|
49
|
+
<p>
|
50
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
51
|
+
</p>
|
52
|
+
|
53
|
+
<p>
|
54
|
+
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
|
55
|
+
</p>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div className="right-section">
|
59
|
+
<h2>Right Slide 1</h2>
|
60
|
+
</div>
|
61
|
+
</div>
|
62
|
+
)
|
63
|
+
|
64
|
+
const Slide2Content = () => (
|
65
|
+
<div className="content-sections">
|
66
|
+
<div className="left-section">
|
67
|
+
<h2>Left Slide 2</h2>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div className="center-section">
|
71
|
+
<h2>Center Slide 2</h2>
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div className="right-section">
|
75
|
+
<h2>Right Slide 2</h2>
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
)
|
79
|
+
|
80
|
+
const slide1 = {
|
81
|
+
backgroundImage: {
|
82
|
+
src: "https://picsum.photos/id/152/1280/752",
|
83
|
+
alt: "background image",
|
84
|
+
},
|
85
|
+
content: Slide1Content,
|
86
|
+
}
|
87
|
+
|
88
|
+
const slide2 = {
|
89
|
+
backgroundImage: {
|
90
|
+
src: "https://picsum.photos/id/1023/1280/752",
|
91
|
+
alt: "background image",
|
92
|
+
},
|
93
|
+
content: Slide2Content,
|
94
|
+
}
|
95
|
+
|
96
|
+
const titleBackgroundImage = {
|
97
|
+
image: {
|
98
|
+
src: "https://picsum.photos/id/1025/1280/752/",
|
99
|
+
alt: "background-image",
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
const titleBackgroundVideo = {
|
104
|
+
video: "https://videos.ctfassets.net/citn2sn5tdjr/ItsVtlZqvkpLmrgyfLKdp/dc627782ba926439c285b65a2f579d1f/video_preview_h264.mp4",
|
105
|
+
}
|
106
|
+
|
107
|
+
const slides = [slide1, slide2]
|
108
|
+
|
109
|
+
return (
|
110
|
+
<>
|
111
|
+
<ScrollInPlace
|
112
|
+
titleBackground={titleBackgroundVideo}
|
113
|
+
TitleContent={TitleContent}
|
114
|
+
slides={slides}
|
115
|
+
/>
|
116
|
+
<ScrollInPlace
|
117
|
+
titleBackground={titleBackgroundImage}
|
118
|
+
TitleContent={TitleContent}
|
119
|
+
slides={slides}
|
120
|
+
/>
|
121
|
+
</>
|
122
|
+
);
|
123
|
+
```
|
@@ -0,0 +1,91 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
5
|
+
var _react2 = require("@storybook/react");
|
6
|
+
var _SketchUpPricingCard = _interopRequireDefault(require("./SketchUpPricingCard"));
|
7
|
+
var header = "SketchUp";
|
8
|
+
var boldHeader = "Pro";
|
9
|
+
var text = "Model Personal Projects";
|
10
|
+
var price = "$199";
|
11
|
+
var subscript = "/yr";
|
12
|
+
var cta = {
|
13
|
+
text: "Subscribe",
|
14
|
+
url: "/"
|
15
|
+
};
|
16
|
+
var icons = ["enclosed-x-dark-16px", "enclosed-arrow-right-dark-32px"];
|
17
|
+
var iconText = "Web Only";
|
18
|
+
var listItems = [{
|
19
|
+
item: "Lorem ipsum dolor site amet.",
|
20
|
+
featured: false
|
21
|
+
}, {
|
22
|
+
item: "Lorem ipsum dolor sit, adipisicing.",
|
23
|
+
featured: false
|
24
|
+
}, {
|
25
|
+
item: "Lorem ipsum dolor site amet Lorite amet.",
|
26
|
+
featured: true
|
27
|
+
}];
|
28
|
+
var bottomLink = {
|
29
|
+
text: "Learn more about SHOP",
|
30
|
+
url: "/"
|
31
|
+
};
|
32
|
+
var prevPrice = "$299";
|
33
|
+
var featured = true;
|
34
|
+
var featuredText = "Most Popular";
|
35
|
+
var featuredColor = "#0d6aa8";
|
36
|
+
var content = {
|
37
|
+
header: header,
|
38
|
+
boldHeader: boldHeader,
|
39
|
+
text: text,
|
40
|
+
price: price,
|
41
|
+
subscript: subscript,
|
42
|
+
cta: cta,
|
43
|
+
icons: icons,
|
44
|
+
iconText: iconText,
|
45
|
+
listItems: listItems,
|
46
|
+
bottomLink: bottomLink,
|
47
|
+
prevPrice: prevPrice,
|
48
|
+
featuredColor: featuredColor,
|
49
|
+
featured: featured,
|
50
|
+
featuredText: featuredText
|
51
|
+
};
|
52
|
+
var nonFeaturedContent = {
|
53
|
+
header: header,
|
54
|
+
boldHeader: boldHeader,
|
55
|
+
text: text,
|
56
|
+
price: price,
|
57
|
+
subscript: subscript,
|
58
|
+
cta: cta,
|
59
|
+
icons: icons,
|
60
|
+
iconText: iconText,
|
61
|
+
listItems: [{
|
62
|
+
item: "Lorem ipsum dolor site amet.",
|
63
|
+
featured: false
|
64
|
+
}, {
|
65
|
+
item: "Lorem ipsum dolor sit, adipisicing.",
|
66
|
+
featured: false
|
67
|
+
}, {
|
68
|
+
item: "Lorem ipsum dolor site amet.",
|
69
|
+
featured: false
|
70
|
+
}, {
|
71
|
+
item: "Lorem ipsum dolor site amet.",
|
72
|
+
featured: false
|
73
|
+
}],
|
74
|
+
bottomLink: bottomLink
|
75
|
+
};
|
76
|
+
|
77
|
+
// storiesOf("Not Yet Implemented/SketchUp Pricing Card", module)
|
78
|
+
// .add("Pricing Card with feature", () => {
|
79
|
+
// return (
|
80
|
+
// <div style={{ paddingTop: "50px" }}>
|
81
|
+
// <SketchUpPricingCard content={content} />
|
82
|
+
// </div>
|
83
|
+
// );
|
84
|
+
// })
|
85
|
+
// .add("Pricing Card without feature", () => {
|
86
|
+
// return (
|
87
|
+
// <div style={{ paddingTop: "50px" }}>
|
88
|
+
// <SketchUpPricingCard content={nonFeaturedContent} />
|
89
|
+
// </div>
|
90
|
+
// );
|
91
|
+
// });
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
5
|
+
var _react2 = require("@storybook/react");
|
6
|
+
var _SlideOutFeat = _interopRequireDefault(require("./SlideOutFeat"));
|
7
|
+
var _slideoutImage = _interopRequireDefault(require("../../../../images/slideout-image.jpg"));
|
8
|
+
var content = {
|
9
|
+
image: {
|
10
|
+
url: _slideoutImage["default"]
|
11
|
+
},
|
12
|
+
header: "I am a header",
|
13
|
+
text: "<p>Voluptate nisi sint nisi ullamco nulla aute ullamco eiusmod. Exercitation cillum anim aliqua nulla occaecat eiusmod.</p>",
|
14
|
+
ctas: {
|
15
|
+
ctaOne: {
|
16
|
+
url: "/",
|
17
|
+
text: "CTA"
|
18
|
+
},
|
19
|
+
ctaTwo: {
|
20
|
+
url: "/",
|
21
|
+
text: "CTA Two"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
};
|
25
|
+
|
26
|
+
// storiesOf("Not Yet Implemented/SlideOutFeat", module)
|
27
|
+
// .add("SlideOutFeat", () => {
|
28
|
+
// return <SlideOutFeat content={content} />;
|
29
|
+
// })
|
30
|
+
// .add("SlideOutFeat - no CTAs", () => {
|
31
|
+
// return <SlideOutFeat content={{ ...content, ctas: undefined }} />;
|
32
|
+
// });
|
@@ -10,7 +10,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/esm
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
11
11
|
var _removeSpaces = require("../../utils/removeSpaces");
|
12
12
|
require("./StoreFrontCard.scss");
|
13
|
-
var _lodash = require("lodash");
|
14
13
|
var _useMouse2 = _interopRequireDefault(require("../../utils/hooks/useMouse"));
|
15
14
|
var _terraOne = require("terra-one");
|
16
15
|
var StoreFrontCard = function StoreFrontCard(_ref) {
|
@@ -55,7 +54,7 @@ var StoreFrontCard = function StoreFrontCard(_ref) {
|
|
55
54
|
}, content.header), (content === null || content === void 0 ? void 0 : content.text) && /*#__PURE__*/_react["default"].createElement("p", {
|
56
55
|
className: "ftg-storefront-card__description-text"
|
57
56
|
}, content.text), (content === null || content === void 0 ? void 0 : (_content$link = content.link) === null || _content$link === void 0 ? void 0 : _content$link.text) && /*#__PURE__*/_react["default"].createElement("a", {
|
58
|
-
id: (0,
|
57
|
+
id: (0, _react.useId)(),
|
59
58
|
tabIndex: mouse ? "" : "0",
|
60
59
|
className: mouse ? "ftg-storefront-card__link" : "ftg-storefront-card__link tabFocus",
|
61
60
|
href: content === null || content === void 0 ? void 0 : (_content$link2 = content.link) === null || _content$link2 === void 0 ? void 0 : _content$link2.url,
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
4
|
+
var _react = _interopRequireDefault(require("react"));
|
5
|
+
var _react2 = require("@storybook/react");
|
6
|
+
var _StoreFrontCard = _interopRequireDefault(require("./StoreFrontCard"));
|
7
|
+
var title = "Trimble XR10";
|
8
|
+
var header = "Desgined for the frontline worker";
|
9
|
+
var text = "Additional information: Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et aliqua";
|
10
|
+
var link = {
|
11
|
+
url: "/",
|
12
|
+
text: "Learn More"
|
13
|
+
};
|
14
|
+
var image = {
|
15
|
+
url: "http://fpoimg.com/95x95",
|
16
|
+
altText: "image"
|
17
|
+
};
|
18
|
+
var priceTitle = "Price";
|
19
|
+
var quantityTitle = "Quantity";
|
20
|
+
var price = "$4750.00";
|
21
|
+
var button = {
|
22
|
+
url: "Added",
|
23
|
+
text: "Added"
|
24
|
+
};
|
25
|
+
var deliveryEstimation = "Delivery: 4-6 weeks";
|
26
|
+
var content = {
|
27
|
+
title: title,
|
28
|
+
header: header,
|
29
|
+
text: text,
|
30
|
+
link: link,
|
31
|
+
image: image,
|
32
|
+
priceTitle: priceTitle,
|
33
|
+
price: price,
|
34
|
+
button: button,
|
35
|
+
quantityTitle: quantityTitle,
|
36
|
+
deliveryEstimation: deliveryEstimation
|
37
|
+
};
|
38
|
+
|
39
|
+
// storiesOf("Not Yet Implemented/StoreFrontCard", module).add(
|
40
|
+
// "StoreFrontCard",
|
41
|
+
// () => (
|
42
|
+
// <div style={{ maxWidth: "1200px", margin: "auto", padding: "0 32px" }}>
|
43
|
+
// <StoreFrontCard content={content} />
|
44
|
+
// </div>
|
45
|
+
// )
|
46
|
+
// );
|
@@ -12,9 +12,9 @@ var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _useMouse2 = _interopRequireDefault(require("../../utils/hooks/useMouse"));
|
13
13
|
var _formatID = _interopRequireDefault(require("../../utils/formatID"));
|
14
14
|
require("./SubNav.scss");
|
15
|
-
var _caratDown = _interopRequireDefault(require("
|
16
|
-
var _caratUp = _interopRequireDefault(require("
|
17
|
-
var _close = _interopRequireDefault(require("
|
15
|
+
var _caratDown = _interopRequireDefault(require("../../images/carat-down.svg"));
|
16
|
+
var _caratUp = _interopRequireDefault(require("../../images/carat-up.svg"));
|
17
|
+
var _close = _interopRequireDefault(require("../../images/close.svg"));
|
18
18
|
var _lodash = require("lodash");
|
19
19
|
var _terraOne = require("terra-one");
|
20
20
|
var SiblingsMenu = function SiblingsMenu(_ref) {
|