luna-one 3.1.593 → 3.1.595
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +15 -294
- package/dist/luna/components/2x2/2x2.stories.js +456 -0
- package/dist/luna/components/2x2/2x2Documentation.mdx +77 -0
- package/dist/luna/components/Accordion/Accordion.stories.js +100 -0
- package/dist/luna/components/Accordion/AccordionDocumentation.mdx +46 -0
- package/dist/luna/components/AdminCategoryData/AdminCategoryData.stories.js +43 -0
- package/dist/luna/components/AdminCategoryData/CategoryTranslationData.js +4 -4
- package/dist/luna/components/AdminProductData/AdminProductData.js +4 -4
- package/dist/luna/components/AdminProductData/AdminProductData.stories.js +44 -0
- package/dist/luna/components/BlockListItems/BlockListItem.stories.js +2381 -0
- package/dist/luna/components/BlockListItems/BlockListItemsDocumentation.mdx +339 -0
- package/dist/luna/components/BrowserSupportBanner/BrowserSupportBrowser.stories.js +19 -0
- package/dist/luna/components/CTAButtons/CTAButtons.stories.js +142 -0
- package/dist/luna/components/CTAButtons/CTAButtonsDocumentation.mdx +33 -0
- package/dist/luna/components/Carousel/Carousel.stories.js +257 -0
- package/dist/luna/components/Carousel/CarouselDocumentation.mdx +161 -0
- package/dist/luna/components/ComparisonTable/ComparisonTable.stories.js +608 -0
- package/dist/luna/components/ComparisonTable/ComparisonTableDocumentation.mdx +159 -0
- package/dist/luna/components/CtaWithHeader/CTAHeaderText.stories.js +192 -0
- package/dist/luna/components/CtaWithHeader/CTAHeaderTextDocumentation.mdx +45 -0
- package/dist/luna/components/DataPoint/DataPoint.stories.js +235 -0
- package/dist/luna/components/DataPoint/DataPointDocumentation.mdx +40 -0
- package/dist/luna/components/EventCard/EventCard.js +3 -3
- package/dist/luna/components/EventCard/EventCard.stories.js +56 -0
- package/dist/luna/components/EventCard/EventCardDocumentation.mdx +46 -0
- package/dist/luna/components/FilterHero/FilterHero.stories.js +129 -0
- package/dist/luna/components/FilterSection/FilterSection.stories.js +174 -0
- package/dist/luna/{other-organisms → components}/Flyout/Flyout.js +4 -5
- package/dist/luna/components/Flyout/Flyout.stories.js +216 -0
- package/dist/luna/components/Flyout/FlyoutDocumentation.mdx +60 -0
- package/dist/luna/components/Footer/Footer.stories.js +418 -0
- package/dist/luna/components/Footer/FooterDocumentation.mdx +133 -0
- package/dist/{application → luna}/components/FooterHandler/FooterHandler.js +1 -1
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHero.stories.js +574 -0
- package/dist/luna/components/FullBackgroundHero/FullBackgroundHeroDocumentation.mdx +94 -0
- package/dist/luna/components/HTMLEmbed/HTMLEmbed.stories.js +136 -0
- package/dist/luna/components/HTMLEmbed/HTMLEmbedDocumentation.mdx +31 -0
- package/dist/luna/components/Header/Header.stories.js +75 -0
- package/dist/luna/components/Header/HeaderDocumentation.mdx +24 -0
- package/dist/luna/components/IconTextList/IconTextList.stories.js +100 -0
- package/dist/luna/components/IconTextList/IconTextListDocumentation.mdx +46 -0
- package/dist/luna/components/ImageGallery/ImageGallery.stories.js +194 -0
- package/dist/luna/components/ImageGallery/ImageGalleryDocumentation.mdx +90 -0
- package/dist/luna/components/InPageJumpNav/InPageJumpNav.stories.js +104 -0
- package/dist/luna/components/InPageJumpNav/InPageJumpNavDocumentation.mdx +23 -0
- package/dist/luna/components/JobPosting/JobPosting.stories.js +76 -0
- package/dist/luna/components/JobPosting/JobPostingDocumentation.mdx +69 -0
- package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.js +3 -4
- package/dist/luna/components/LanguageSelector/LanguageSelector.stories.js +128 -0
- package/dist/luna/components/LanguageSelector/LanguageSelectorDocumentation.mdx +120 -0
- package/dist/luna/components/LinkList/LinkList.stories.js +170 -0
- package/dist/luna/components/LinkList/LinkListDocumentation.mdx +54 -0
- package/dist/luna/components/LoadingSpinner/LoadingSpinner.stories.js +53 -0
- package/dist/luna/components/Login/Login.js +3 -4
- package/dist/luna/components/Login/Login.stories.js +86 -0
- package/dist/luna/components/MarketoForm/MarketoForm.stories.js +65 -0
- package/dist/luna/components/MarketoForm/MarketoFormDocumentation.mdx +1 -0
- package/dist/luna/components/MegaMenu/MegaMenu.js +6 -7
- package/dist/luna/components/MegaMenu/menu-generators/FullSubMenu.js +1 -1
- package/dist/luna/components/MegaMenu/menu-generators/PartialSubMenu.js +4 -5
- package/dist/luna/components/MegaMenu/menu-generators/SubMenu.js +16 -14
- package/dist/luna/components/MegaMenu/menu-generators/TertiaryMenu.js +13 -11
- package/dist/luna/components/MegaMenu/menu-generators/UncollapsedLinks.js +4 -5
- package/dist/luna/components/MobileLogin/MobileLogin.js +3 -4
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenu.js +6 -6
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuCategory.js +9 -9
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuPartialCategory.js +3 -3
- package/dist/luna/components/MobileMegaMenu/MobileMegaMenuSubCategory.js +8 -9
- package/dist/luna/components/MobileNav/MobileNav.js +3 -4
- package/dist/luna/{other-organisms → components}/NavBar/NavMiniMenu.js +3 -4
- package/dist/luna/components/NavBar/NavigationBar.stories.js +2297 -0
- package/dist/luna/components/NavBar/NavigationBarDocumentation.mdx +245 -0
- package/dist/luna/{other-organisms → components}/NavBar/UtilityNav.js +5 -5
- package/dist/{application → luna}/components/NavBarHandler/NavBarHandler.js +1 -1
- package/dist/luna/components/NavBarTop/NavBarTop.js +9 -10
- package/dist/luna/components/NavSearch/NavSearch.js +1 -1
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntries.stories.js +118 -0
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesDocumentation.mdx +89 -0
- package/dist/luna/components/NonTimeBasedListEntries/NonTimeBasedListEntriesMethods.js +1 -1
- package/dist/luna/components/OverlayNotice/OverlayNotice.stories.js +96 -0
- package/dist/luna/components/OverlayNotice/OverlayNoticeDocumentation.mdx +45 -0
- package/dist/luna/components/ProductSummary/ProductSummary.stories.js +163 -0
- package/dist/luna/components/ProductsPackage/ProductsPackage.stories.js +384 -0
- package/dist/luna/components/ProseLayout/ProseLayout.stories.js +187 -0
- package/dist/luna/components/ProseLayout/ProseLayoutDocumentation.mdx +93 -0
- package/dist/luna/components/PullQuote/PullQuote.stories.js +556 -0
- package/dist/luna/components/PullQuote/PullQuoteDocumentation.mdx +60 -0
- package/dist/luna/components/RegionCard/RegionCard.js +4 -4
- package/dist/luna/components/ResourceGrid/ResourceGrid.stories.js +765 -0
- package/dist/luna/components/ResourceGrid/ResourceGridDocumentation.mdx +102 -0
- package/dist/luna/components/ScrollInPlace/ScrollInPlace.stories.js +171 -0
- package/dist/luna/components/ScrollInPlace/ScrollInPlaceDocumentation.mdx +123 -0
- package/dist/luna/components/SketchUpPricingCard/SketchUpPricingCard.stories.js +91 -0
- package/dist/luna/components/SlideOutFeat/SlideOutFeat.stories.js +32 -0
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.js +1 -2
- package/dist/luna/components/StoreFrontCard/StoreFrontCard.stories.js +46 -0
- package/dist/luna/{other-organisms → components}/SubNav/SiblingsMenu.js +3 -3
- package/dist/luna/{other-organisms → components}/SubNav/SubNav.js +6 -7
- package/dist/luna/components/SuperHero/SuperHero.stories.js +806 -0
- package/dist/luna/components/SuperHero/SuperHeroDocumentation.mdx +57 -0
- package/dist/luna/components/SupportCard/SupportCard.stories.js +76 -0
- package/dist/luna/components/Tabs/Tabs.js +1 -2
- package/dist/luna/components/Tabs/Tabs.stories.js +585 -0
- package/dist/luna/components/Tabs/TabsDocumentation.mdx +94 -0
- package/dist/luna/components/TimeBasedList/TimeBasedList.stories.js +297 -0
- package/dist/luna/components/TimeBasedList/TimeBasedListDocumentation.mdx +123 -0
- package/dist/luna/components/TrainerCard/TrainerCard.stories.js +39 -0
- package/dist/luna/components/TrialForm/TrialFormStart/TrialFormStart.stories.js +69 -0
- package/dist/luna/components/VariableContentCard/VariableContentCard.js +4 -4
- package/dist/luna/components/Video/Video.stories.js +135 -0
- package/dist/luna/components/Video/VideoDocumentation.mdx +56 -0
- package/dist/luna/components/WaffleMenu/WaffleMenu.js +1 -1
- package/package.json +3 -3
- package/dist/application/components/HelmetHandler/HelmetHandler.js +0 -40
- package/dist/application/components/Loading/Loading.js +0 -22
- package/dist/application/components/Loading/Loading.scss +0 -10
- package/dist/application/components/Stack/Stack.js +0 -413
- package/dist/application/hooks/tests/useErrorPageData.test.js +0 -74
- package/dist/application/hooks/tests/useFetch.test.js +0 -70
- package/dist/application/hooks/tests/useFooterData.test.js +0 -106
- package/dist/application/hooks/tests/useFooterResponse.test.js +0 -70
- package/dist/application/hooks/tests/useFooterURL.test.js +0 -46
- package/dist/application/hooks/tests/useInnerPageNav.test.js +0 -36
- package/dist/application/hooks/tests/useLanguage.test.js +0 -57
- package/dist/application/hooks/tests/useLanguages.test.js +0 -133
- package/dist/application/hooks/tests/useMetadata.test.js +0 -33
- package/dist/application/hooks/tests/useNavResponse.test.js +0 -136
- package/dist/application/hooks/tests/useNavURL.test.js +0 -49
- package/dist/application/hooks/tests/usePageFetch.test.js +0 -203
- package/dist/application/hooks/tests/useRegions.test.js +0 -234
- package/dist/application/hooks/tests/useRoutes.test.js +0 -116
- package/dist/application/hooks/tests/useSiteData.test.js +0 -86
- package/dist/application/hooks/useErrorPageData.js +0 -59
- package/dist/application/hooks/useFetch.js +0 -67
- package/dist/application/hooks/useFooterData.js +0 -45
- package/dist/application/hooks/useFooterResponse.js +0 -56
- package/dist/application/hooks/useFooterURL.js +0 -32
- package/dist/application/hooks/useLanguage.js +0 -44
- package/dist/application/hooks/useLanguages.js +0 -66
- package/dist/application/hooks/useMetadata.js +0 -23
- package/dist/application/hooks/useNavData.js +0 -45
- package/dist/application/hooks/useNavResponse.js +0 -59
- package/dist/application/hooks/useNavURL.js +0 -41
- package/dist/application/hooks/usePageFetch.js +0 -109
- package/dist/application/hooks/useRegions.js +0 -149
- package/dist/application/hooks/useRoutes.js +0 -59
- package/dist/application/hooks/useScrollTo.js +0 -60
- package/dist/application/hooks/useSiteData.js +0 -58
- package/dist/application/methods/__mocks__/formatFooterDataMethods.js +0 -54
- package/dist/application/methods/formatContentSections.js +0 -130
- package/dist/application/methods/formatFooterDataMethods.js +0 -82
- package/dist/application/methods/formatMenuSiteData.js +0 -45
- package/dist/application/methods/formatMenus.js +0 -120
- package/dist/application/methods/locationRedirect.js +0 -16
- package/dist/application/methods/organismFormat/__mocks__/formatAnchors.js +0 -11
- package/dist/application/methods/organismFormat/__mocks__/formatCTAs.js +0 -10
- package/dist/application/methods/organismFormat/__mocks__/formatTheme.js +0 -15
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFive.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatFour.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatOne.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatSeven.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatThree.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoA.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoB.js +0 -12
- package/dist/application/methods/organismFormat/feats/__mocks__/formatFeatTwoBIcons.js +0 -14
- package/dist/application/methods/organismFormat/feats/__mocks__/formatPullQuote.js +0 -12
- package/dist/application/methods/organismFormat/feats/formatFeatFive.js +0 -39
- package/dist/application/methods/organismFormat/feats/formatFeatFour.js +0 -36
- package/dist/application/methods/organismFormat/feats/formatFeatOne.js +0 -52
- package/dist/application/methods/organismFormat/feats/formatFeatSeven.js +0 -193
- package/dist/application/methods/organismFormat/feats/formatFeatThree.js +0 -41
- package/dist/application/methods/organismFormat/feats/formatFeatTwoA.js +0 -37
- package/dist/application/methods/organismFormat/feats/formatFeatTwoAFolds.js +0 -27
- package/dist/application/methods/organismFormat/feats/formatFeatTwoB.js +0 -40
- package/dist/application/methods/organismFormat/feats/formatFeatTwoBIcons.js +0 -20
- package/dist/application/methods/organismFormat/feats/formatPullQuote.js +0 -49
- package/dist/application/methods/organismFormat/feats/tests/formatFeatFive.test.js +0 -173
- package/dist/application/methods/organismFormat/feats/tests/formatFeatFour.test.js +0 -140
- package/dist/application/methods/organismFormat/feats/tests/formatFeatOne.test.js +0 -204
- package/dist/application/methods/organismFormat/feats/tests/formatFeatSeven.test.js +0 -680
- package/dist/application/methods/organismFormat/feats/tests/formatFeatThree.test.js +0 -142
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoA.test.js +0 -342
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoAFolds.test.js +0 -99
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoB.test.js +0 -293
- package/dist/application/methods/organismFormat/feats/tests/formatFeatTwoBIcons.test.js +0 -78
- package/dist/application/methods/organismFormat/feats/tests/formatPullQuote.test.js +0 -178
- package/dist/application/methods/organismFormat/formatAnchors.js +0 -16
- package/dist/application/methods/organismFormat/formatCTAs.js +0 -34
- package/dist/application/methods/organismFormat/formatTheme.js +0 -29
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroFour.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroOne.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroSix.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroThree.js +0 -12
- package/dist/application/methods/organismFormat/heroes/__mocks__/formatHeroTwo.js +0 -12
- package/dist/application/methods/organismFormat/heroes/formatHeroFour.js +0 -39
- package/dist/application/methods/organismFormat/heroes/formatHeroOne.js +0 -56
- package/dist/application/methods/organismFormat/heroes/formatHeroSeven.js +0 -56
- package/dist/application/methods/organismFormat/heroes/formatHeroSix.js +0 -51
- package/dist/application/methods/organismFormat/heroes/formatHeroThree.js +0 -58
- package/dist/application/methods/organismFormat/heroes/formatHeroTwo.js +0 -42
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroFour.test.js +0 -245
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroOne.test.js +0 -165
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroSeven.test.js +0 -198
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroSix.test.js +0 -196
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroThree.test.js +0 -185
- package/dist/application/methods/organismFormat/heroes/tests/formatHeroTwo.test.js +0 -205
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFive.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFour.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatFourCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOne.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneCards.js +0 -17
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatOneV2Cards.js +0 -27
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSeven.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSevenCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSix.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatSixCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThree.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatThreeV2Cards.js +0 -32
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTopSection.js +0 -23
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwo.js +0 -12
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoCards.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatTwoV2Cards.js +0 -34
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatType.js +0 -10
- package/dist/application/methods/organismFormat/listFeats/__mocks__/formatListFeatV2.js +0 -33
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFive.js +0 -53
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveItemsV2.js +0 -32
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFiveV2.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFour.js +0 -35
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourCards.js +0 -24
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourDumplingsV2.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatFourV2.js +0 -38
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOne.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneCards.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2.js +0 -41
- package/dist/application/methods/organismFormat/listFeats/formatListFeatOneV2Cards.js +0 -64
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSeven.js +0 -37
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCards.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenCardsV2.js +0 -48
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSevenV2.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSix.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCards.js +0 -15
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixCardsV2.js +0 -16
- package/dist/application/methods/organismFormat/listFeats/formatListFeatSixV2.js +0 -38
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThree.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeCards.js +0 -48
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatThreeV2Cards.js +0 -39
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTopSection.js +0 -33
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwo.js +0 -36
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoCards.js +0 -34
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2.js +0 -40
- package/dist/application/methods/organismFormat/listFeats/formatListFeatTwoV2Cards.js +0 -46
- package/dist/application/methods/organismFormat/listFeats/formatListFeatType.js +0 -27
- package/dist/application/methods/organismFormat/listFeats/formatListFeatV2.js +0 -21
- package/dist/application/methods/organismFormat/listFeats/tests/formatFeatSevenV2.test.js +0 -463
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFive.test.js +0 -89
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFiveV2.test.js +0 -238
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFour.test.js +0 -75
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourCards.test.js +0 -65
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatFourV2.test.js +0 -358
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOne.test.js +0 -98
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneCards.test.js +0 -67
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2.test.js +0 -191
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatOneV2Cards.test.js +0 -87
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSeven.test.js +0 -120
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSevenCards.test.js +0 -111
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSix.test.js +0 -67
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixCards.test.js +0 -25
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatSixV2.test.js +0 -242
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThree.test.js +0 -96
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeCards.test.js +0 -94
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2.test.js +0 -242
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatThreeV2Cards.test.js +0 -96
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTopSection.test.js +0 -63
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwo.test.js +0 -86
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoCards.test.js +0 -81
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2.test.js +0 -299
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatTwoV2Cards.test.js +0 -159
- package/dist/application/methods/organismFormat/listFeats/tests/formatListFeatV2.test.js +0 -69
- package/dist/application/methods/organismFormat/listFeats/tests/mockData/listFeatOneV2MockData.js +0 -125
- package/dist/application/methods/organismFormat/tests/formatAnchors.test.js +0 -20
- package/dist/application/methods/organismFormat/tests/formatCTAs.test.js +0 -109
- package/dist/application/methods/organismFormat/tests/formatTheme.test.js +0 -54
- package/dist/application/methods/tests/formatContentSections.test.js +0 -237
- package/dist/application/methods/tests/formatFooterDataMethods.test.js +0 -138
- package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.js +0 -78
- package/dist/luna/components/MiniFeatDropdown/MiniFeatDropdown.scss +0 -107
- package/dist/luna/featurettes/CustomFeat/CustomFeat.js +0 -157
- package/dist/luna/featurettes/CustomFeat/CustomFeat.scss +0 -18
- package/dist/luna/featurettes/Feat1/Feat1.js +0 -122
- package/dist/luna/featurettes/Feat1/Feat1.scss +0 -110
- package/dist/luna/featurettes/Feat1/feat1Methods.js +0 -18
- package/dist/luna/featurettes/Feat1/feat1Methods.test.js +0 -21
- package/dist/luna/featurettes/Feat2A/Feat2A.js +0 -101
- package/dist/luna/featurettes/Feat2A/Feat2A.scss +0 -132
- package/dist/luna/featurettes/Feat2B/Feat2B.js +0 -131
- package/dist/luna/featurettes/Feat2B/Feat2B.scss +0 -231
- package/dist/luna/featurettes/Feat2B/Feat2BMethods.js +0 -75
- package/dist/luna/featurettes/Feat2B/Feat2BMethods.test.js +0 -38
- package/dist/luna/featurettes/Feat3/Feat3.js +0 -89
- package/dist/luna/featurettes/Feat3/Feat3.scss +0 -49
- package/dist/luna/featurettes/Feat4/Feat4.js +0 -95
- package/dist/luna/featurettes/Feat4/Feat4.scss +0 -86
- package/dist/luna/featurettes/Feat5/Feat5.js +0 -194
- package/dist/luna/featurettes/Feat5/Feat5.scss +0 -235
- package/dist/luna/featurettes/Feat5/Feat5Methods.js +0 -19
- package/dist/luna/featurettes/Feat5/Feat5Methods.test.js +0 -23
- package/dist/luna/featurettes/Feat7/Feat7.js +0 -79
- package/dist/luna/featurettes/Feat7/Feat7.scss +0 -49
- package/dist/luna/featurettes/Feat7/Feat7Methods.js +0 -41
- package/dist/luna/featurettes/Feat8/Feat8.js +0 -75
- package/dist/luna/featurettes/Feat8/Feat8.scss +0 -103
- package/dist/luna/featurettes/Feat8/feat8Methods.js +0 -18
- package/dist/luna/featurettes/Feat8/feat8Methods.test.js +0 -21
- package/dist/luna/heroes/Hero1/Hero1.js +0 -111
- package/dist/luna/heroes/Hero1/Hero1.scss +0 -223
- package/dist/luna/heroes/Hero1/Hero1Methods.js +0 -84
- package/dist/luna/heroes/Hero1/useWindowSize.js +0 -47
- package/dist/luna/heroes/Hero2/Hero2.js +0 -130
- package/dist/luna/heroes/Hero2/Hero2.scss +0 -165
- package/dist/luna/heroes/Hero3/Hero3.js +0 -246
- package/dist/luna/heroes/Hero3/Hero3.scss +0 -250
- package/dist/luna/heroes/Hero3/Hero3Methods.js +0 -37
- package/dist/luna/heroes/Hero4/Hero4.js +0 -175
- package/dist/luna/heroes/Hero4/Hero4.scss +0 -112
- package/dist/luna/heroes/Hero4/hero4Methods.js +0 -18
- package/dist/luna/heroes/Hero6/Hero6.js +0 -179
- package/dist/luna/heroes/Hero6/Hero6.scss +0 -127
- package/dist/luna/heroes/Hero7/Hero7.js +0 -118
- package/dist/luna/heroes/Hero7/Hero7.scss +0 -193
- package/dist/luna/heroes/Hero7/Hero7Methods.js +0 -39
- package/dist/luna/heroes/Hero7/Hero7Methods.test.js +0 -109
- package/dist/luna/heroes/Hero7/useWindowWidth.js +0 -40
- package/dist/luna/list-feats/ListFeat/ListFeat.js +0 -149
- package/dist/luna/list-feats/ListFeat/ListFeat.scss +0 -112
- package/dist/luna/list-feats/ListFeat1/ListFeat1.js +0 -91
- package/dist/luna/list-feats/ListFeat1/ListFeat1.scss +0 -94
- package/dist/luna/list-feats/ListFeat1/listFeat1Methods.js +0 -14
- package/dist/luna/list-feats/ListFeat1/listFeat1Methods.test.js +0 -17
- package/dist/luna/list-feats/ListFeat2/ListFeat2.js +0 -30
- package/dist/luna/list-feats/ListFeat2/ListFeat2.scss +0 -20
- package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.js +0 -33
- package/dist/luna/list-feats/ListFeat2/ListFeat2Methods.test.js +0 -11
- package/dist/luna/list-feats/ListFeat4/ListFeat4.js +0 -34
- package/dist/luna/list-feats/ListFeat4/ListFeat4.scss +0 -32
- package/dist/luna/list-feats/ListFeat5/ListFeat5.js +0 -28
- package/dist/luna/list-feats/ListFeat5/ListFeat5.scss +0 -27
- package/dist/luna/list-feats/ListFeat5/ListFeat5Methods.js +0 -24
- package/dist/luna/list-feats/ListFeat6/ListFeat6.js +0 -59
- package/dist/luna/list-feats/ListFeat6/ListFeat6.scss +0 -34
- package/dist/luna/list-feats/ListFeat7/ListFeat7.js +0 -51
- package/dist/luna/list-feats/ListFeat7/ListFeat7.scss +0 -14
- package/dist/luna/list-feats/ListFeat7/ListFeat7Methods.js +0 -49
- package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.js +0 -25
- package/dist/luna/list-feats/ListFeatCustom/ListFeatCustom.scss +0 -8
- package/dist/luna/list-feats/methods/listFeatMethods.js +0 -119
- /package/dist/luna/{featurettes → components}/Accordion/Accordion.js +0 -0
- /package/dist/luna/{featurettes → components}/Accordion/Accordion.scss +0 -0
- /package/dist/luna/{featurettes → components}/Accordion/AccordionItem.js +0 -0
- /package/dist/luna/{other-organisms → components}/Carousel/Carousel.js +0 -0
- /package/dist/luna/{other-organisms → components}/Carousel/Carousel.scss +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHero.js +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHero.scss +0 -0
- /package/dist/luna/{heroes → components}/FilterHero/FilterHeroMethods.js +0 -0
- /package/dist/luna/{other-organisms → components}/Flyout/Flyout.scss +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/ExportedFooter.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/Footer.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/Footer.scss +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/GlobalFooter.js +0 -0
- /package/dist/luna/{other-organisms → components}/Footer/SectorFooter.js +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.js +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHero.scss +0 -0
- /package/dist/luna/{heroes → components}/FullBackgroundHero/FullBackgroundHeroMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.js +0 -0
- /package/dist/luna/{featurettes → components}/IconTextList/IconTextList.scss +0 -0
- /package/dist/luna/{other-organisms → components}/LanguageSelector/LanguageSelector.scss +0 -0
- /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.js +0 -0
- /package/dist/luna/{other-organisms → components}/MarketoForm/MarketoForm.scss +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavBar.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavBar.scss +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/NavOption.js +0 -0
- /package/dist/luna/{other-organisms → components}/NavBar/useNavPosition.js +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.js +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackage.scss +0 -0
- /package/dist/luna/{featurettes → components}/ProductsPackage/ProductsPackageMethods.js +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.js +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/PullQuote.scss +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/ico-quote-white.svg +0 -0
- /package/dist/luna/{featurettes → components}/PullQuote/ico-quote.svg +0 -0
- /package/dist/luna/{other-organisms → components}/SubNav/SubNav.scss +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHero.js +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHero.scss +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/SuperHeroMethods.js +0 -0
- /package/dist/luna/{heroes → components}/SuperHero/useCompareContainerHeights.js +0 -0
- /package/dist/{application/assets → luna}/images/carat-down.svg +0 -0
- /package/dist/{application/assets → luna}/images/carat-up.svg +0 -0
- /package/dist/{application/assets → luna}/images/close-blue.svg +0 -0
- /package/dist/{application/assets → luna}/images/close.svg +0 -0
- /package/dist/{application/assets → luna}/images/ellipses.svg +0 -0
- /package/dist/{application/assets → luna}/images/facebook.svg +0 -0
- /package/dist/{application/assets → luna}/images/favicon.ico +0 -0
- /package/dist/{application/assets → luna}/images/fpoBox.png +0 -0
- /package/dist/{application/assets → luna}/images/fpoSquare.png +0 -0
- /package/dist/{application/assets → luna}/images/instagram.svg +0 -0
- /package/dist/{application/assets → luna}/images/linkedin.svg +0 -0
- /package/dist/{application/assets → luna}/images/loading-mini.gif +0 -0
- /package/dist/{application/assets → luna}/images/trimble_logo.png +0 -0
- /package/dist/{application/assets → luna}/images/twitter.svg +0 -0
- /package/dist/{application/assets → luna}/images/youtube.svg +0 -0
- /package/dist/{application → luna/utils}/hooks/useInnerPageNav.js +0 -0
@@ -1,680 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
4
|
-
var _formatFeatSeven = _interopRequireWildcard(require("../formatFeatSeven"));
|
5
|
-
var _languageCode = "en";
|
6
|
-
var _languageEnabled = true;
|
7
|
-
var _featSevenData = {
|
8
|
-
id: "991",
|
9
|
-
entity_type: "paragraph",
|
10
|
-
type: "pbo_feat_7",
|
11
|
-
published: true,
|
12
|
-
fields: ["parent_field_name", "field_anchor_text", "field_anchor_toggle", "field_animation_toggle", "field_intro_cta", "field_intro_description", "field_intro_header", "field_section_theme", "field_s_tab_sections"],
|
13
|
-
parent_field_name: {
|
14
|
-
field_type: "string",
|
15
|
-
values: [{
|
16
|
-
value: "field_main_content"
|
17
|
-
}]
|
18
|
-
},
|
19
|
-
field_anchor_text: null,
|
20
|
-
field_anchor_toggle: {
|
21
|
-
field_type: "boolean",
|
22
|
-
values: [false]
|
23
|
-
},
|
24
|
-
field_animation_toggle: {
|
25
|
-
field_type: "boolean",
|
26
|
-
values: [false]
|
27
|
-
},
|
28
|
-
field_intro_cta: {
|
29
|
-
field_type: "paragraph",
|
30
|
-
values: [{
|
31
|
-
id: "956",
|
32
|
-
entity_type: "paragraph",
|
33
|
-
type: "cta_section_1",
|
34
|
-
published: true,
|
35
|
-
fields: ["parent_field_name", "field_cta_primary_1", "field_cta_secondary_1"],
|
36
|
-
parent_field_name: {
|
37
|
-
field_type: "string",
|
38
|
-
values: [{
|
39
|
-
value: "field_intro_cta"
|
40
|
-
}]
|
41
|
-
},
|
42
|
-
field_cta_primary_1: {
|
43
|
-
field_type: "links",
|
44
|
-
values: [{
|
45
|
-
uri: "internal:#",
|
46
|
-
title: "Primary",
|
47
|
-
options: [],
|
48
|
-
url: "internal:#"
|
49
|
-
}]
|
50
|
-
},
|
51
|
-
field_cta_secondary_1: {
|
52
|
-
field_type: "links",
|
53
|
-
values: [{
|
54
|
-
uri: "internal:#",
|
55
|
-
title: "Secondary",
|
56
|
-
options: [],
|
57
|
-
url: "internal:#"
|
58
|
-
}]
|
59
|
-
}
|
60
|
-
}]
|
61
|
-
},
|
62
|
-
field_intro_description: {
|
63
|
-
field_type: "text_long",
|
64
|
-
values: [{
|
65
|
-
value: "<p>The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.</p>\r\n",
|
66
|
-
format: "wysiwyg_editor"
|
67
|
-
}]
|
68
|
-
},
|
69
|
-
field_intro_header: {
|
70
|
-
field_type: "string",
|
71
|
-
values: [{
|
72
|
-
value: "Feature 7"
|
73
|
-
}]
|
74
|
-
},
|
75
|
-
field_section_theme: {
|
76
|
-
field_type: "taxonomy_term",
|
77
|
-
values: [{
|
78
|
-
id: "1",
|
79
|
-
entity_type: "taxonomy_term",
|
80
|
-
type: "organism_themes",
|
81
|
-
name: "Theme 1",
|
82
|
-
description: "theme-1",
|
83
|
-
children: [],
|
84
|
-
published: true,
|
85
|
-
fields: ["field_theme_background_color", "field_theme_color", "field_theme_cta_one", "field_theme_cta_two"],
|
86
|
-
field_theme_background_color: {
|
87
|
-
field_type: "string",
|
88
|
-
values: [{
|
89
|
-
value: "#f2f2f2"
|
90
|
-
}]
|
91
|
-
},
|
92
|
-
field_theme_color: {
|
93
|
-
field_type: "string",
|
94
|
-
values: [{
|
95
|
-
value: "#000000"
|
96
|
-
}]
|
97
|
-
},
|
98
|
-
field_theme_cta_one: {
|
99
|
-
field_type: "string",
|
100
|
-
values: [{
|
101
|
-
value: "primary--5"
|
102
|
-
}]
|
103
|
-
},
|
104
|
-
field_theme_cta_two: {
|
105
|
-
field_type: "string",
|
106
|
-
values: [{
|
107
|
-
value: "secondary--5"
|
108
|
-
}]
|
109
|
-
}
|
110
|
-
}]
|
111
|
-
},
|
112
|
-
field_s_tab_sections: {
|
113
|
-
field_type: "paragraph",
|
114
|
-
values: [{
|
115
|
-
id: "966",
|
116
|
-
entity_type: "paragraph",
|
117
|
-
type: "s_tab_section_cards",
|
118
|
-
published: true,
|
119
|
-
fields: ["parent_field_name", "field_tab_default", "field_tab_list_cards", "field_tab_name"],
|
120
|
-
parent_field_name: {
|
121
|
-
field_type: "string",
|
122
|
-
values: [{
|
123
|
-
value: "field_s_tab_sections"
|
124
|
-
}]
|
125
|
-
},
|
126
|
-
field_tab_default: {
|
127
|
-
field_type: "boolean",
|
128
|
-
values: [true]
|
129
|
-
},
|
130
|
-
field_tab_list_cards: {
|
131
|
-
field_type: "paragraph",
|
132
|
-
values: [{
|
133
|
-
id: "961",
|
134
|
-
entity_type: "paragraph",
|
135
|
-
type: "m_card",
|
136
|
-
published: true,
|
137
|
-
fields: ["parent_field_name", "field_card_cta", "field_card_description", "field_card_header", "field_card_image"],
|
138
|
-
parent_field_name: {
|
139
|
-
field_type: "string",
|
140
|
-
values: [{
|
141
|
-
value: "field_tab_list_cards"
|
142
|
-
}]
|
143
|
-
},
|
144
|
-
field_card_cta: {
|
145
|
-
field_type: "links",
|
146
|
-
values: [{
|
147
|
-
uri: "internal:#",
|
148
|
-
title: "Primary",
|
149
|
-
options: [],
|
150
|
-
url: "internal:#"
|
151
|
-
}]
|
152
|
-
},
|
153
|
-
field_card_description: {
|
154
|
-
field_type: "string_long",
|
155
|
-
values: [{
|
156
|
-
value: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful."
|
157
|
-
}]
|
158
|
-
},
|
159
|
-
field_card_header: {
|
160
|
-
field_type: "string",
|
161
|
-
values: [{
|
162
|
-
value: "Card Header"
|
163
|
-
}]
|
164
|
-
},
|
165
|
-
field_card_image: {
|
166
|
-
field_type: "media",
|
167
|
-
values: [{
|
168
|
-
id: "21",
|
169
|
-
entity_type: "media",
|
170
|
-
type: "image",
|
171
|
-
published: true,
|
172
|
-
fields: ["field_media_image"],
|
173
|
-
field_media_image: {
|
174
|
-
field_type: "image",
|
175
|
-
values: [{
|
176
|
-
target_id: "21",
|
177
|
-
alt: "fpo",
|
178
|
-
title: "",
|
179
|
-
width: "600",
|
180
|
-
height: "300",
|
181
|
-
source: "/2019-11/600x300.png"
|
182
|
-
}]
|
183
|
-
}
|
184
|
-
}]
|
185
|
-
}
|
186
|
-
}, {
|
187
|
-
id: "2066",
|
188
|
-
entity_type: "paragraph",
|
189
|
-
type: "m_card",
|
190
|
-
published: true,
|
191
|
-
fields: ["parent_field_name", "field_card_cta", "field_card_description", "field_card_header", "field_card_image"],
|
192
|
-
parent_field_name: {
|
193
|
-
field_type: "string",
|
194
|
-
values: [{
|
195
|
-
value: "field_tab_list_cards"
|
196
|
-
}]
|
197
|
-
},
|
198
|
-
field_card_cta: {
|
199
|
-
field_type: "links",
|
200
|
-
values: [{
|
201
|
-
uri: "internal:#",
|
202
|
-
title: "Primary",
|
203
|
-
options: [],
|
204
|
-
url: "internal:#"
|
205
|
-
}]
|
206
|
-
},
|
207
|
-
field_card_description: {
|
208
|
-
field_type: "string_long",
|
209
|
-
values: [{
|
210
|
-
value: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful."
|
211
|
-
}]
|
212
|
-
},
|
213
|
-
field_card_header: {
|
214
|
-
field_type: "string",
|
215
|
-
values: [{
|
216
|
-
value: "Card Header"
|
217
|
-
}]
|
218
|
-
},
|
219
|
-
field_card_image: {
|
220
|
-
field_type: "media",
|
221
|
-
values: [{
|
222
|
-
id: "21",
|
223
|
-
entity_type: "media",
|
224
|
-
type: "image",
|
225
|
-
published: true,
|
226
|
-
fields: ["field_media_image"],
|
227
|
-
field_media_image: {
|
228
|
-
field_type: "image",
|
229
|
-
values: [{
|
230
|
-
target_id: "21",
|
231
|
-
alt: "fpo",
|
232
|
-
title: "",
|
233
|
-
width: "600",
|
234
|
-
height: "300",
|
235
|
-
source: "/2019-11/600x300.png"
|
236
|
-
}]
|
237
|
-
}
|
238
|
-
}]
|
239
|
-
}
|
240
|
-
}]
|
241
|
-
},
|
242
|
-
field_tab_name: {
|
243
|
-
field_type: "string",
|
244
|
-
values: [{
|
245
|
-
value: "Tabs - Cards"
|
246
|
-
}]
|
247
|
-
}
|
248
|
-
}, {
|
249
|
-
id: "976",
|
250
|
-
entity_type: "paragraph",
|
251
|
-
type: "s_tab_section_icon_dumplings",
|
252
|
-
published: true,
|
253
|
-
fields: ["parent_field_name", "field_tab_default", "field_tab_list_dumplings", "field_tab_name"],
|
254
|
-
parent_field_name: {
|
255
|
-
field_type: "string",
|
256
|
-
values: [{
|
257
|
-
value: "field_s_tab_sections"
|
258
|
-
}]
|
259
|
-
},
|
260
|
-
field_tab_default: {
|
261
|
-
field_type: "boolean",
|
262
|
-
values: [false]
|
263
|
-
},
|
264
|
-
field_tab_list_dumplings: {
|
265
|
-
field_type: "paragraph",
|
266
|
-
values: [{
|
267
|
-
id: "971",
|
268
|
-
entity_type: "paragraph",
|
269
|
-
type: "m_icon_dumpling",
|
270
|
-
published: true,
|
271
|
-
fields: ["parent_field_name", "field_dumpling_icon", "field_dumpling_text"],
|
272
|
-
parent_field_name: {
|
273
|
-
field_type: "string",
|
274
|
-
values: [{
|
275
|
-
value: "field_tab_list_dumplings"
|
276
|
-
}]
|
277
|
-
},
|
278
|
-
field_dumpling_icon: {
|
279
|
-
field_type: "taxonomy_term",
|
280
|
-
values: [{
|
281
|
-
id: "951",
|
282
|
-
entity_type: "taxonomy_term",
|
283
|
-
type: "terra_icons_48px",
|
284
|
-
name: "ter-icon--enclosed-arrow-right-dark-48px",
|
285
|
-
description: "ter-icon--enclosed-arrow-right-dark-48px",
|
286
|
-
children: [],
|
287
|
-
published: true,
|
288
|
-
fields: []
|
289
|
-
}]
|
290
|
-
},
|
291
|
-
field_dumpling_text: {
|
292
|
-
field_type: "string",
|
293
|
-
values: [{
|
294
|
-
value: "Dumpling"
|
295
|
-
}]
|
296
|
-
}
|
297
|
-
}, {
|
298
|
-
id: "2031",
|
299
|
-
entity_type: "paragraph",
|
300
|
-
type: "m_icon_dumpling",
|
301
|
-
published: true,
|
302
|
-
fields: ["parent_field_name", "field_dumpling_icon", "field_dumpling_text"],
|
303
|
-
parent_field_name: {
|
304
|
-
field_type: "string",
|
305
|
-
values: [{
|
306
|
-
value: "field_tab_list_dumplings"
|
307
|
-
}]
|
308
|
-
},
|
309
|
-
field_dumpling_icon: {
|
310
|
-
field_type: "taxonomy_term",
|
311
|
-
values: [{
|
312
|
-
id: "951",
|
313
|
-
entity_type: "taxonomy_term",
|
314
|
-
type: "terra_icons_48px",
|
315
|
-
name: "ter-icon--enclosed-arrow-right-dark-48px",
|
316
|
-
description: "ter-icon--enclosed-arrow-right-dark-48px",
|
317
|
-
children: [],
|
318
|
-
published: true,
|
319
|
-
fields: []
|
320
|
-
}]
|
321
|
-
},
|
322
|
-
field_dumpling_text: {
|
323
|
-
field_type: "string",
|
324
|
-
values: [{
|
325
|
-
value: "Dumpling 2"
|
326
|
-
}]
|
327
|
-
}
|
328
|
-
}, {
|
329
|
-
id: "2036",
|
330
|
-
entity_type: "paragraph",
|
331
|
-
type: "m_icon_dumpling",
|
332
|
-
published: true,
|
333
|
-
fields: ["parent_field_name", "field_dumpling_icon", "field_dumpling_text"],
|
334
|
-
parent_field_name: {
|
335
|
-
field_type: "string",
|
336
|
-
values: [{
|
337
|
-
value: "field_tab_list_dumplings"
|
338
|
-
}]
|
339
|
-
},
|
340
|
-
field_dumpling_icon: {
|
341
|
-
field_type: "taxonomy_term",
|
342
|
-
values: [{
|
343
|
-
id: "971",
|
344
|
-
entity_type: "taxonomy_term",
|
345
|
-
type: "terra_icons_48px",
|
346
|
-
name: "ter-icon--enclosed-caret-right-dark-48px",
|
347
|
-
description: "ter-icon--enclosed-caret-right-dark-48px",
|
348
|
-
children: [],
|
349
|
-
published: true,
|
350
|
-
fields: []
|
351
|
-
}]
|
352
|
-
},
|
353
|
-
field_dumpling_text: {
|
354
|
-
field_type: "string",
|
355
|
-
values: [{
|
356
|
-
value: "Dumplin' 3"
|
357
|
-
}]
|
358
|
-
}
|
359
|
-
}]
|
360
|
-
},
|
361
|
-
field_tab_name: {
|
362
|
-
field_type: "string",
|
363
|
-
values: [{
|
364
|
-
value: "Tabs - Icons"
|
365
|
-
}]
|
366
|
-
}
|
367
|
-
}, {
|
368
|
-
id: "986",
|
369
|
-
entity_type: "paragraph",
|
370
|
-
type: "s_tab_section_icon_items",
|
371
|
-
published: true,
|
372
|
-
fields: ["parent_field_name", "field_tab_default", "field_tab_list_icon_items", "field_tab_name"],
|
373
|
-
parent_field_name: {
|
374
|
-
field_type: "string",
|
375
|
-
values: [{
|
376
|
-
value: "field_s_tab_sections"
|
377
|
-
}]
|
378
|
-
},
|
379
|
-
field_tab_default: {
|
380
|
-
field_type: "boolean",
|
381
|
-
values: [false]
|
382
|
-
},
|
383
|
-
field_tab_list_icon_items: {
|
384
|
-
field_type: "paragraph",
|
385
|
-
values: [{
|
386
|
-
id: "981",
|
387
|
-
entity_type: "paragraph",
|
388
|
-
type: "m_icon_list_item",
|
389
|
-
published: true,
|
390
|
-
fields: ["parent_field_name", "field_ili_description", "field_ili_header", "field_ili_icon"],
|
391
|
-
parent_field_name: {
|
392
|
-
field_type: "string",
|
393
|
-
values: [{
|
394
|
-
value: "field_tab_list_icon_items"
|
395
|
-
}]
|
396
|
-
},
|
397
|
-
field_ili_description: {
|
398
|
-
field_type: "string_long",
|
399
|
-
values: [{
|
400
|
-
value: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful."
|
401
|
-
}]
|
402
|
-
},
|
403
|
-
field_ili_header: {
|
404
|
-
field_type: "string",
|
405
|
-
values: [{
|
406
|
-
value: "List Item 1"
|
407
|
-
}]
|
408
|
-
},
|
409
|
-
field_ili_icon: {
|
410
|
-
field_type: "taxonomy_term",
|
411
|
-
values: [{
|
412
|
-
id: "941",
|
413
|
-
entity_type: "taxonomy_term",
|
414
|
-
type: "terra_icons_48px",
|
415
|
-
name: "ter-icon--enclosed-arrow-down-dark-48px",
|
416
|
-
description: "ter-icon--enclosed-arrow-down-dark-48px",
|
417
|
-
children: [],
|
418
|
-
published: true,
|
419
|
-
fields: []
|
420
|
-
}]
|
421
|
-
}
|
422
|
-
}, {
|
423
|
-
id: "2041",
|
424
|
-
entity_type: "paragraph",
|
425
|
-
type: "m_icon_list_item",
|
426
|
-
published: true,
|
427
|
-
fields: ["parent_field_name", "field_ili_description", "field_ili_header", "field_ili_icon"],
|
428
|
-
parent_field_name: {
|
429
|
-
field_type: "string",
|
430
|
-
values: [{
|
431
|
-
value: "field_tab_list_icon_items"
|
432
|
-
}]
|
433
|
-
},
|
434
|
-
field_ili_description: {
|
435
|
-
field_type: "string_long",
|
436
|
-
values: [{
|
437
|
-
value: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful."
|
438
|
-
}]
|
439
|
-
},
|
440
|
-
field_ili_header: {
|
441
|
-
field_type: "string",
|
442
|
-
values: [{
|
443
|
-
value: "List Item 2"
|
444
|
-
}]
|
445
|
-
},
|
446
|
-
field_ili_icon: {
|
447
|
-
field_type: "taxonomy_term",
|
448
|
-
values: [{
|
449
|
-
id: "976",
|
450
|
-
entity_type: "taxonomy_term",
|
451
|
-
type: "terra_icons_48px",
|
452
|
-
name: "ter-icon--enclosed-caret-up-dark-48px",
|
453
|
-
description: "ter-icon--enclosed-caret-up-dark-48px",
|
454
|
-
children: [],
|
455
|
-
published: true,
|
456
|
-
fields: []
|
457
|
-
}]
|
458
|
-
}
|
459
|
-
}, {
|
460
|
-
id: "2046",
|
461
|
-
entity_type: "paragraph",
|
462
|
-
type: "m_icon_list_item",
|
463
|
-
published: true,
|
464
|
-
fields: ["parent_field_name", "field_ili_description", "field_ili_header", "field_ili_icon"],
|
465
|
-
parent_field_name: {
|
466
|
-
field_type: "string",
|
467
|
-
values: [{
|
468
|
-
value: "field_tab_list_icon_items"
|
469
|
-
}]
|
470
|
-
},
|
471
|
-
field_ili_description: {
|
472
|
-
field_type: "string_long",
|
473
|
-
values: [{
|
474
|
-
value: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful."
|
475
|
-
}]
|
476
|
-
},
|
477
|
-
field_ili_header: {
|
478
|
-
field_type: "string",
|
479
|
-
values: [{
|
480
|
-
value: "List Item 3"
|
481
|
-
}]
|
482
|
-
},
|
483
|
-
field_ili_icon: {
|
484
|
-
field_type: "taxonomy_term",
|
485
|
-
values: [{
|
486
|
-
id: "986",
|
487
|
-
entity_type: "taxonomy_term",
|
488
|
-
type: "terra_icons_48px",
|
489
|
-
name: "ter-icon--enclosed-x-dark-48px",
|
490
|
-
description: "ter-icon--enclosed-x-dark-48px",
|
491
|
-
children: [],
|
492
|
-
published: true,
|
493
|
-
fields: []
|
494
|
-
}]
|
495
|
-
}
|
496
|
-
}]
|
497
|
-
},
|
498
|
-
field_tab_name: {
|
499
|
-
field_type: "string",
|
500
|
-
values: [{
|
501
|
-
value: "Tabs - Icon Items"
|
502
|
-
}]
|
503
|
-
}
|
504
|
-
}]
|
505
|
-
}
|
506
|
-
};
|
507
|
-
var expected = {
|
508
|
-
content: {
|
509
|
-
header: "Feature 7",
|
510
|
-
subHeader: "<p>The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.</p>\r\n",
|
511
|
-
tabs: [{
|
512
|
-
type: "list_feat_3",
|
513
|
-
header: "Tabs - Cards",
|
514
|
-
cards: [{
|
515
|
-
header: "Card Header",
|
516
|
-
image: {
|
517
|
-
url: "/2019-11/600x300.png",
|
518
|
-
altText: "fpo"
|
519
|
-
},
|
520
|
-
text: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
521
|
-
link: {
|
522
|
-
url: "/eninternal:#",
|
523
|
-
text: "Primary"
|
524
|
-
}
|
525
|
-
}, {
|
526
|
-
header: "Card Header",
|
527
|
-
image: {
|
528
|
-
url: "/2019-11/600x300.png",
|
529
|
-
altText: "fpo"
|
530
|
-
},
|
531
|
-
text: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
532
|
-
link: {
|
533
|
-
url: "/eninternal:#",
|
534
|
-
text: "Primary"
|
535
|
-
}
|
536
|
-
}],
|
537
|
-
theme: {
|
538
|
-
color: "#363545",
|
539
|
-
backgroundColor: "#f2f2f2",
|
540
|
-
activeTabBarColor: "#0e6ba8",
|
541
|
-
activeTabTextColor: "#0e6ba8",
|
542
|
-
theme: "theme 1"
|
543
|
-
}
|
544
|
-
}, {
|
545
|
-
type: "list_feat_4",
|
546
|
-
header: "Tabs - Icons",
|
547
|
-
dumplings: [{
|
548
|
-
header: "Dumpling",
|
549
|
-
link: null,
|
550
|
-
size: "small",
|
551
|
-
icon: {
|
552
|
-
type: "enclosed-check-dark-48px",
|
553
|
-
size: "48px",
|
554
|
-
color: "#363545"
|
555
|
-
},
|
556
|
-
color: "#363545"
|
557
|
-
}, {
|
558
|
-
header: "Dumpling 2",
|
559
|
-
link: null,
|
560
|
-
size: "small",
|
561
|
-
icon: {
|
562
|
-
type: "enclosed-check-dark-48px",
|
563
|
-
size: "48px",
|
564
|
-
color: "#363545"
|
565
|
-
},
|
566
|
-
color: "#363545"
|
567
|
-
}, {
|
568
|
-
header: "Dumplin' 3",
|
569
|
-
link: null,
|
570
|
-
size: "small",
|
571
|
-
icon: {
|
572
|
-
type: "enclosed-check-dark-48px",
|
573
|
-
size: "48px",
|
574
|
-
color: "#363545"
|
575
|
-
},
|
576
|
-
color: "#363545"
|
577
|
-
}],
|
578
|
-
theme: {
|
579
|
-
color: "#363545",
|
580
|
-
backgroundColor: "#f2f2f2",
|
581
|
-
activeTabBarColor: "#0e6ba8",
|
582
|
-
activeTabTextColor: "#0e6ba8",
|
583
|
-
theme: "theme 1"
|
584
|
-
}
|
585
|
-
}, {
|
586
|
-
type: "list_feat_5",
|
587
|
-
header: "Tabs - Icon Items",
|
588
|
-
iconListItems: [{
|
589
|
-
header: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
590
|
-
text: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
591
|
-
color: "#363545",
|
592
|
-
backgroundColor: "#f2f2f2"
|
593
|
-
}, {
|
594
|
-
header: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
595
|
-
text: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
596
|
-
color: "#363545",
|
597
|
-
backgroundColor: "#f2f2f2"
|
598
|
-
}, {
|
599
|
-
header: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
600
|
-
text: "The aesthetic quality of a product is integral to its usefulness because products we use every day affect our person and our well-being. But only well-executed objects can be beautiful.",
|
601
|
-
color: "#363545",
|
602
|
-
backgroundColor: "#f2f2f2"
|
603
|
-
}],
|
604
|
-
theme: {
|
605
|
-
color: "#363545",
|
606
|
-
backgroundColor: "#f2f2f2",
|
607
|
-
activeTabBarColor: "#0e6ba8",
|
608
|
-
activeTabTextColor: "#0e6ba8",
|
609
|
-
theme: "theme 1"
|
610
|
-
}
|
611
|
-
}],
|
612
|
-
theme: {
|
613
|
-
color: "#363545",
|
614
|
-
backgroundColor: "#f2f2f2",
|
615
|
-
activeTabBarColor: "#0e6ba8",
|
616
|
-
activeTabTextColor: "#0e6ba8",
|
617
|
-
theme: "theme 1"
|
618
|
-
}
|
619
|
-
},
|
620
|
-
type: "feat_7",
|
621
|
-
anchor: null
|
622
|
-
};
|
623
|
-
var expectedJunk = {
|
624
|
-
content: {
|
625
|
-
header: undefined,
|
626
|
-
subHeader: undefined,
|
627
|
-
tabs: undefined,
|
628
|
-
theme: {
|
629
|
-
backgroundColor: "#f9f9fb",
|
630
|
-
activeTabBarColor: "#0e6ba8",
|
631
|
-
activeTabTextColor: "#0e6ba8",
|
632
|
-
color: "#363545",
|
633
|
-
theme: "theme 1"
|
634
|
-
}
|
635
|
-
},
|
636
|
-
type: "feat_7",
|
637
|
-
anchor: null
|
638
|
-
};
|
639
|
-
describe("formatFeatSeven", function () {
|
640
|
-
test("it should return formatted data", function () {
|
641
|
-
var response = (0, _formatFeatSeven["default"])(_featSevenData, _languageCode, _languageEnabled);
|
642
|
-
expect(response).toStrictEqual(expected);
|
643
|
-
});
|
644
|
-
test("it should handle junk data without crashing", function () {
|
645
|
-
var response = (0, _formatFeatSeven["default"])(null, {}, "");
|
646
|
-
expect(response).toStrictEqual(expectedJunk);
|
647
|
-
});
|
648
|
-
});
|
649
|
-
describe("formatThemesForTabbedSections", function () {
|
650
|
-
test("it should return newTheme if theme is theme 4 or theme 5", function () {
|
651
|
-
var _theme5 = {
|
652
|
-
color: "#363545",
|
653
|
-
backgroundColor: "#002d5b",
|
654
|
-
activeTabBarColor: "#009ad9",
|
655
|
-
activeTabTextColor: "#ffffff",
|
656
|
-
theme: "theme 5"
|
657
|
-
};
|
658
|
-
var _theme4 = {
|
659
|
-
color: "#363545",
|
660
|
-
backgroundColor: "#005f9e",
|
661
|
-
activeTabBarColor: "#009ad9",
|
662
|
-
activeTabTextColor: "#ffffff",
|
663
|
-
theme: "theme 4"
|
664
|
-
};
|
665
|
-
var _expected = {
|
666
|
-
backgroundColor: "#002d5b",
|
667
|
-
color: "#ffffff",
|
668
|
-
theme: "theme 5"
|
669
|
-
};
|
670
|
-
var _expected1 = {
|
671
|
-
backgroundColor: "#005f9e",
|
672
|
-
color: "#ffffff",
|
673
|
-
theme: "theme 4"
|
674
|
-
};
|
675
|
-
var response = (0, _formatFeatSeven.formatThemesForTabbedSections)(_theme5);
|
676
|
-
var response1 = (0, _formatFeatSeven.formatThemesForTabbedSections)(_theme4);
|
677
|
-
expect(response).toStrictEqual(_expected);
|
678
|
-
expect(response1).toStrictEqual(_expected1);
|
679
|
-
});
|
680
|
-
});
|