@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
- package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
- package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
- package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
- package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
- package/dist/assets/ActionButton.css +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/AirDateFormatter.css +1 -1
- package/dist/assets/AnchorTag.css +1 -1
- package/dist/assets/BasicGridModule.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Carousel.css +1 -1
- package/dist/assets/CarouselSlide.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/ChoicesItem.css +1 -1
- package/dist/assets/ContentHero.css +1 -1
- package/dist/assets/CtaBlock.css +1 -1
- package/dist/assets/CustomDataList.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/Figure.css +1 -1
- package/dist/assets/Figure2.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/GradientButton.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/InlineNavigation.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/assets/ScheduleLayout.css +1 -0
- package/dist/assets/ScheduleList.css +1 -1
- package/dist/assets/ShowAboutLayout.css +1 -1
- package/dist/assets/ShowSlide.css +1 -1
- package/dist/assets/SocialLinks.css +1 -1
- package/dist/assets/TextSlide.css +1 -1
- package/dist/assets/TwoColumnSlide.css +1 -1
- package/dist/assets/UpcomingList.css +1 -1
- package/dist/components/ActionButton/ActionButton.d.ts +20 -1
- package/dist/components/ActionButton/ActionButton.js +36 -36
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/components/AdBlock/AdBlock.d.ts +20 -1
- package/dist/components/AdBlock/AdBlock.js +118 -83
- package/dist/components/AdBlock/index.d.ts +2 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
- package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
- package/dist/components/AirDateFormatter/index.d.ts +2 -1
- package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
- package/dist/components/AnchorTag/AnchorTag.js +22 -23
- package/dist/components/AnchorTag/index.d.ts +2 -1
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
- package/dist/components/BCVideoPlayer/index.d.ts +2 -1
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
- package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
- package/dist/components/BasicGridModule/index.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +18 -17
- package/dist/components/Button/Button.js +31 -32
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
- package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
- package/dist/components/ButtonAnchor/index.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts +7 -24
- package/dist/components/Carousel/Carousel.js +113 -113
- package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
- package/dist/components/Carousel/CarouselUtils.class.js +85 -55
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/navigations/Pagination.js +12 -10
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
- package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
- package/dist/components/CarouselSlide/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
- package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
- package/dist/components/ChannelSearch/index.d.ts +2 -1
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
- package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
- package/dist/components/ChoicesItem/index.d.ts +2 -1
- package/dist/components/ChoicesItem/index.js +1 -1
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
- package/dist/components/ChoicesList/ChoicesList.js +3 -4
- package/dist/components/ChoicesList/index.d.ts +2 -1
- package/dist/components/Concat/Concat.d.ts +4 -3
- package/dist/components/Concat/Concat.js +5 -5
- package/dist/components/Concat/index.d.ts +2 -1
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
- package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
- package/dist/components/CreateChoiceList/index.d.ts +2 -1
- package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
- package/dist/components/CtaBlock/CtaBlock.js +23 -22
- package/dist/components/CtaBlock/index.d.ts +2 -1
- package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
- package/dist/components/CustomDataList/CustomDataList.js +200 -174
- package/dist/components/CustomDataList/index.d.ts +2 -1
- package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
- package/dist/components/CustomSelect/CustomSelect.js +224 -154
- package/dist/components/CustomSelect/index.d.ts +2 -1
- package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
- package/dist/components/DateNavigation/DateNavigation.js +125 -82
- package/dist/components/DateNavigation/index.d.ts +2 -1
- package/dist/components/DatePicker/index.d.ts +2 -1
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
- package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
- package/dist/components/DrawerNavigation/index.d.ts +2 -1
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
- package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
- package/dist/components/EqualSizeGrid/index.d.ts +2 -1
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
- package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
- package/dist/components/ErrorHandler/index.d.ts +2 -1
- package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
- package/dist/components/FeaturedList/FeaturedList.js +44 -36
- package/dist/components/FeaturedList/index.d.ts +2 -1
- package/dist/components/Figure/Figure.d.ts +5 -4
- package/dist/components/Figure/Figure.js +8 -9
- package/dist/components/Figure/index.d.ts +2 -1
- package/dist/components/FindUs/FindUs.d.ts +24 -1
- package/dist/components/FindUs/FindUs.js +70 -63
- package/dist/components/FindUs/index.d.ts +2 -1
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
- package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
- package/dist/components/FooterNavigation/index.d.ts +2 -1
- package/dist/components/GenericList/GenericList.d.ts +6 -5
- package/dist/components/GenericList/GenericList.js +13 -14
- package/dist/components/GenericList/index.d.ts +2 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
- package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
- package/dist/components/GradientButton/GradientButton.d.ts +15 -14
- package/dist/components/GradientButton/GradientButton.js +37 -40
- package/dist/components/GradientButton/index.d.ts +2 -1
- package/dist/components/GridList/GridList.d.ts +6 -5
- package/dist/components/GridList/GridList.js +14 -10
- package/dist/components/GridList/index.d.ts +2 -1
- package/dist/components/ImageCard/ImageCard.d.ts +27 -1
- package/dist/components/ImageCard/ImageCard.js +59 -58
- package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
- package/dist/components/ImageCard/ImageCardCore.js +114 -89
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
- package/dist/components/InfoPanel/InfoPanel.js +2 -2
- package/dist/components/InfoPanel/index.d.ts +2 -1
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
- package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
- package/dist/components/Input/Input.d.ts +10 -9
- package/dist/components/Input/Input.js +47 -40
- package/dist/components/Input/index.d.ts +2 -1
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
- package/dist/components/InstructionsList/InstructionsList.js +20 -10
- package/dist/components/InstructionsList/index.d.ts +2 -1
- package/dist/components/Loading/Loading.d.ts +8 -7
- package/dist/components/Loading/Loading.js +25 -20
- package/dist/components/Loading/index.d.ts +2 -1
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
- package/dist/components/LoadingV2/LoadingV2.js +31 -21
- package/dist/components/LoadingV2/index.d.ts +2 -1
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
- package/dist/components/LogoListItem/LogoListItem.js +34 -17
- package/dist/components/LogoListItem/index.d.ts +2 -1
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
- package/dist/components/LogoNavigation/index.d.ts +2 -1
- package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
- package/dist/components/ModalContainer/ModalContainer.js +84 -72
- package/dist/components/ModalContainer/index.d.ts +2 -1
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
- package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
- package/dist/components/NavList/NavList.d.ts +9 -7
- package/dist/components/NavList/NavList.js +56 -20
- package/dist/components/NavList/index.d.ts +2 -1
- package/dist/components/Overlay/Overlay.d.ts +5 -5
- package/dist/components/Overlay/Overlay.js +8 -5
- package/dist/components/PageHero/PageHero.d.ts +6 -5
- package/dist/components/PageHero/PageHero.js +29 -16
- package/dist/components/PageHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
- package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
- package/dist/components/ProgramAirdate/index.d.ts +2 -1
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
- package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
- package/dist/components/PromotionBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
- package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
- package/dist/components/PromotionsRowModule/index.d.ts +2 -1
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
- package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
- package/dist/components/RescanInstructions/index.d.ts +2 -1
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
- package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
- package/dist/components/ResponsiveImage/index.d.ts +2 -1
- package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
- package/dist/components/ResultsTable/ResultsTable.js +21 -16
- package/dist/components/ResultsTable/index.d.ts +2 -1
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
- package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
- package/dist/components/ResultsTableBody/index.d.ts +2 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
- package/dist/components/ResultsTableHeader/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/ScheduleContext.d.ts +25 -0
- package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
- package/dist/components/ScheduleLayout/ScheduleLayout.js +76 -24
- package/dist/components/ScheduleLayout/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -0
- package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
- package/dist/components/ScheduleList/ScheduleList.js +153 -60
- package/dist/components/ScheduleList/index.d.ts +2 -1
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +27 -16
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +53 -37
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
- package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
- package/dist/components/SectionedContent/SectionedContent.js +14 -15
- package/dist/components/SectionedContent/index.d.ts +2 -1
- package/dist/components/Select/Select.d.ts +15 -11
- package/dist/components/Select/Select.js +21 -21
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
- package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
- package/dist/components/ShowAboutContent/index.d.ts +2 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
- package/dist/components/ShowAboutLayout/index.d.ts +2 -1
- package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
- package/dist/components/SocialLinks/SocialLinks.js +192 -138
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
- package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
- package/dist/components/SocialShareBlock/index.d.ts +2 -1
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
- package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
- package/dist/components/SocialShareButton/index.d.ts +2 -1
- package/dist/components/SocialShareButton/index.js +1 -1
- package/dist/components/StringList/StringList.d.ts +6 -5
- package/dist/components/StringList/StringList.js +16 -12
- package/dist/components/StringList/index.d.ts +2 -1
- package/dist/components/TabContent/TabContent.d.ts +5 -4
- package/dist/components/TabContent/TabContent.js +9 -7
- package/dist/components/TabContent/index.d.ts +2 -1
- package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
- package/dist/components/TabNavigation/TabNavigation.js +58 -53
- package/dist/components/TabNavigation/index.d.ts +2 -1
- package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
- package/dist/components/TabbedContent/TabbedContent.js +24 -8
- package/dist/components/TabbedContent/index.d.ts +2 -1
- package/dist/components/TextArea/TextArea.d.ts +9 -1
- package/dist/components/TextArea/TextArea.js +13 -13
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
- package/dist/components/UpcomingList/UpcomingList.js +55 -41
- package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
- package/dist/containers/GetFeatruedListContainer.js +16 -16
- package/dist/containers/NowPlayingContainer.d.ts +17 -15
- package/dist/containers/NowPlayingContainer.js +18 -16
- package/dist/custom-elements.d.js +1 -0
- package/dist/data-resources/FakeDataResource.d.ts +77 -68
- package/dist/data-resources/FakeDataResource.js +244 -142
- package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
- package/dist/error-boundries/BlankErrorBoundry.js +5 -5
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
- package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
- package/dist/hooks/useGetSchedule.d.ts +12 -4
- package/dist/hooks/useGetSchedule.js +31 -27
- package/dist/hooks/useGetUpcoming.d.ts +8 -6
- package/dist/hooks/useGetUpcoming.js +22 -25
- package/dist/icons/Facebook.js +6 -6
- package/dist/icons/Tiktok.js +15 -7
- package/dist/icons/Twitter.js +7 -7
- package/dist/index.js +1 -1
- package/dist/logger-C0N7U0YY.mjs +67 -0
- package/dist/settings.d.ts +4 -3
- package/dist/settings.js +6 -5
- package/dist/types.d.js +27 -0
- package/dist/utils/Redirect.d.ts +2 -2
- package/dist/utils/analytics.js +1 -1
- package/dist/utils/date-helpers.d.ts +3 -2
- package/dist/utils/date-helpers.js +26 -26
- package/dist/utils/events.js +8 -6
- package/dist/utils/getFeaturedList.d.ts +28 -8
- package/dist/utils/getFeaturedList.js +58 -45
- package/dist/utils/getFeaturedListImages.d.ts +15 -5
- package/dist/utils/getFeaturedListImages.js +27 -16
- package/dist/utils/getOnNowProgram.d.ts +17 -3
- package/dist/utils/getOnNowProgram.js +106 -68
- package/dist/utils/getSchedule.d.ts +8 -6
- package/dist/utils/getSchedule.js +6 -1
- package/dist/utils/getUpcomingPrograms.d.ts +10 -7
- package/dist/utils/getUpcomingPrograms.js +5 -4
- package/dist/utils/getViewingPlatforms.d.ts +6 -16
- package/dist/utils/getViewingPlatforms.js +14 -11
- package/dist/utils/gtm.js +1 -1
- package/dist/utils/helpers.d.ts +9 -9
- package/dist/utils/helpers.js +69 -65
- package/dist/utils/program-helpers.d.ts +14 -20
- package/dist/utils/program-helpers.js +9 -8
- package/dist/utils/series-helpers.d.ts +14 -20
- package/dist/utils/series-helpers.js +9 -8
- package/package.json +16 -8
- package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
- package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
- package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
- package/dist/facebook-HCcA1M1m.mjs +0 -54
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
import { jsxs as o, jsx as a, Fragment as I } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { statesForCustomList as
|
|
2
|
+
import { useRef as v, useState as C, useEffect as x } from "react";
|
|
3
|
+
import { statesForCustomList as S } from "../../data-resources/FakeDataResource.js";
|
|
4
4
|
import { publish as V } from "../../utils/events.js";
|
|
5
|
-
import { classes as
|
|
5
|
+
import { classes as l } from "../../utils/helpers.js";
|
|
6
6
|
import { Input as j } from "../Input/Input.js";
|
|
7
7
|
import { CustomDataList as z } from "../CustomDataList/CustomDataList.js";
|
|
8
|
-
import { ActionButton as
|
|
9
|
-
import { ResultsTable as
|
|
8
|
+
import { ActionButton as K } from "../ActionButton/ActionButton.js";
|
|
9
|
+
import { ResultsTable as A } from "../ResultsTable/ResultsTable.js";
|
|
10
10
|
import { AdBlock as F } from "../AdBlock/AdBlock.js";
|
|
11
|
-
import '../../assets/ChannelSearch.css';const
|
|
12
|
-
"channel-search": "_channel-
|
|
13
|
-
"channel-search__inputs": "_channel-
|
|
14
|
-
"ad-wrapper": "_ad-
|
|
15
|
-
"results-table__header": "_results-
|
|
16
|
-
"results-table__header--compact": "_results-table__header--
|
|
17
|
-
"channel-search__submit-btn": "_channel-search__submit-
|
|
18
|
-
"channel-search__label": "_channel-
|
|
11
|
+
import '../../assets/ChannelSearch.css';const n = {
|
|
12
|
+
"channel-search": "_channel-search_1kyd9_6",
|
|
13
|
+
"channel-search__inputs": "_channel-search__inputs_1kyd9_19",
|
|
14
|
+
"ad-wrapper": "_ad-wrapper_1kyd9_42",
|
|
15
|
+
"results-table__header": "_results-table__header_1kyd9_46",
|
|
16
|
+
"results-table__header--compact": "_results-table__header--compact_1kyd9_53",
|
|
17
|
+
"channel-search__submit-btn": "_channel-search__submit-btn_1kyd9_87",
|
|
18
|
+
"channel-search__label": "_channel-search__label_1kyd9_90"
|
|
19
19
|
};
|
|
20
|
-
function
|
|
21
|
-
network:
|
|
22
|
-
baseApiUrl:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
compactLayout: m = !1,
|
|
28
|
-
allowAutoScroll: S = !0,
|
|
20
|
+
function M({
|
|
21
|
+
network: c,
|
|
22
|
+
baseApiUrl: T,
|
|
23
|
+
allowZipcodeSearch: _ = !0,
|
|
24
|
+
allowStateSearch: m = !0,
|
|
25
|
+
compactLayout: d = !1,
|
|
26
|
+
allowAutoScroll: $ = !0,
|
|
29
27
|
autoScrollOffset: k = 25,
|
|
30
28
|
ad: i = {
|
|
31
29
|
campaign: "",
|
|
@@ -34,9 +32,9 @@ function J({
|
|
|
34
32
|
content: ""
|
|
35
33
|
}
|
|
36
34
|
}) {
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const e = `${
|
|
35
|
+
const g = v(""), h = async (r = { type: "", term: "" }) => {
|
|
36
|
+
const y = async () => {
|
|
37
|
+
const e = `${T}/${c.slug}?${r.type}=${r.term}`;
|
|
40
38
|
try {
|
|
41
39
|
const t = await fetch(e);
|
|
42
40
|
return t.ok ? (await t.json()).map((s) => ({
|
|
@@ -49,23 +47,24 @@ function J({
|
|
|
49
47
|
return console.error(t), [];
|
|
50
48
|
}
|
|
51
49
|
};
|
|
52
|
-
return
|
|
53
|
-
}, N = async (
|
|
54
|
-
|
|
55
|
-
const
|
|
50
|
+
return r.term === "" ? [] : await y();
|
|
51
|
+
}, N = async (r) => {
|
|
52
|
+
r.preventDefault();
|
|
53
|
+
const y = new FormData(document.getElementById("channel-search"));
|
|
56
54
|
let e = {};
|
|
57
|
-
for (let [t, p] of
|
|
55
|
+
for (let [t, p] of y.entries())
|
|
58
56
|
e = {
|
|
59
57
|
...e,
|
|
60
58
|
[t]: p
|
|
61
59
|
};
|
|
62
|
-
if (e.zipcode && (e == null ? void 0 : e.zipcode) !== "")
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
60
|
+
if (e.zipcode && (e == null ? void 0 : e.zipcode) !== "") {
|
|
61
|
+
const t = await h({ type: "zip", term: e.zipcode });
|
|
62
|
+
u(t.length === 0 ? [] : t), b(!0);
|
|
63
|
+
} else if (e.state && (e == null ? void 0 : e.state) !== "") {
|
|
64
|
+
const t = S.find((p) => Number.parseInt(p.id, 10) === Number.parseInt(e.state, 10));
|
|
65
|
+
g.current = t === void 0 ? "" : t.label, u(await h({ type: "state", term: t == null ? void 0 : t.value })), b(!0);
|
|
67
66
|
} else
|
|
68
|
-
|
|
67
|
+
u(await h()), b(!1);
|
|
69
68
|
setTimeout(() => {
|
|
70
69
|
V("scripps:action:completed");
|
|
71
70
|
}, 250);
|
|
@@ -86,62 +85,80 @@ function J({
|
|
|
86
85
|
title: "Cable/Satellite",
|
|
87
86
|
resultKey: "provider"
|
|
88
87
|
}
|
|
89
|
-
], [
|
|
88
|
+
], [w, u] = C([]), [R, b] = C(!1), f = v(null);
|
|
90
89
|
return x(() => {
|
|
91
|
-
|
|
92
|
-
window.scroll({
|
|
90
|
+
R && $ && setTimeout(() => {
|
|
91
|
+
f.current !== null && window.scroll({
|
|
93
92
|
left: 0,
|
|
94
|
-
top:
|
|
93
|
+
top: f.current.getBoundingClientRect().y + window.pageYOffset - k,
|
|
95
94
|
behavior: "smooth"
|
|
96
95
|
});
|
|
97
|
-
}, 100)
|
|
96
|
+
}, 100), (async () => {
|
|
97
|
+
u(await h());
|
|
98
|
+
})();
|
|
98
99
|
}), /* @__PURE__ */ o("channel-search__wrapper", { children: [
|
|
99
100
|
/* @__PURE__ */ o(
|
|
100
101
|
"form",
|
|
101
102
|
{
|
|
102
|
-
className:
|
|
103
|
-
|
|
103
|
+
className: l([
|
|
104
|
+
n["channel-search"],
|
|
104
105
|
"channel-search"
|
|
105
106
|
]),
|
|
106
107
|
id: "channel-search",
|
|
107
108
|
children: [
|
|
108
|
-
/* @__PURE__ */ o("span", { className:
|
|
109
|
-
|
|
109
|
+
/* @__PURE__ */ o("span", { className: l([n["channel-search__label"], "channel-search__label"]), children: [
|
|
110
|
+
c.brand_name,
|
|
110
111
|
" Channel Search:"
|
|
111
112
|
] }),
|
|
112
|
-
/* @__PURE__ */ o("span", { className:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
/* @__PURE__ */ o("span", { className: l([n["channel-search__inputs"], "channel-search__inputs"]), children: [
|
|
114
|
+
_ && /* @__PURE__ */ a(j, { name: "zipcode", placeholder: "Enter ZIP Code", showValidation: !1 }),
|
|
115
|
+
_ && m && "or",
|
|
116
|
+
m && /* @__PURE__ */ a(
|
|
117
|
+
z,
|
|
118
|
+
{
|
|
119
|
+
name: "state",
|
|
120
|
+
options: S,
|
|
121
|
+
placeholder: "Select Your State",
|
|
122
|
+
showValidation: !1
|
|
123
|
+
}
|
|
124
|
+
)
|
|
116
125
|
] }),
|
|
117
|
-
/* @__PURE__ */ a(
|
|
126
|
+
/* @__PURE__ */ a(
|
|
127
|
+
K,
|
|
128
|
+
{
|
|
129
|
+
classname: l(["channel-search__submit-btn", n["channel-search__submit-btn"]]),
|
|
130
|
+
label: "Submit",
|
|
131
|
+
type: "submit",
|
|
132
|
+
onClick: N
|
|
133
|
+
}
|
|
134
|
+
)
|
|
118
135
|
]
|
|
119
136
|
}
|
|
120
137
|
),
|
|
121
|
-
|
|
138
|
+
R && /* @__PURE__ */ o(I, { children: [
|
|
122
139
|
/* @__PURE__ */ a(
|
|
123
140
|
"div",
|
|
124
141
|
{
|
|
125
|
-
className:
|
|
126
|
-
|
|
142
|
+
className: l([
|
|
143
|
+
n["results-table__header"],
|
|
127
144
|
"search-results-header",
|
|
128
|
-
|
|
145
|
+
d ? n["results-table__header--compact"] : ""
|
|
129
146
|
]),
|
|
130
|
-
ref:
|
|
131
|
-
children:
|
|
147
|
+
ref: f,
|
|
148
|
+
children: w.length > 1 ? `${m && !_ ? g.current : "Your"} ${c.brand_name} Channels` : `Your ${c.brand_name} Channel`
|
|
132
149
|
}
|
|
133
150
|
),
|
|
134
151
|
/* @__PURE__ */ a(
|
|
135
|
-
|
|
152
|
+
A,
|
|
136
153
|
{
|
|
137
154
|
columns: B,
|
|
138
|
-
|
|
139
|
-
noResultsMsg: `Sorry there are no channels carrying ${
|
|
140
|
-
|
|
155
|
+
compactLayout: d,
|
|
156
|
+
noResultsMsg: `Sorry there are no channels carrying ${c.brand_name} in your area at this time.`,
|
|
157
|
+
results: w
|
|
141
158
|
}
|
|
142
159
|
)
|
|
143
160
|
] }),
|
|
144
|
-
!
|
|
161
|
+
!d && /* @__PURE__ */ a("div", { className: l([n["ad-wrapper"], "ad-wrapper"]), children: /* @__PURE__ */ a(
|
|
145
162
|
F,
|
|
146
163
|
{
|
|
147
164
|
ad: {
|
|
@@ -166,6 +183,6 @@ function J({
|
|
|
166
183
|
] });
|
|
167
184
|
}
|
|
168
185
|
export {
|
|
169
|
-
|
|
170
|
-
|
|
186
|
+
M as ChannelSearch,
|
|
187
|
+
M as default
|
|
171
188
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ChannelSearch
|
|
1
|
+
export { ChannelSearch } from './ChannelSearch';
|
|
2
|
+
export { ChannelSearch as default } from './ChannelSearch';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Choice } from '../../types';
|
|
2
|
+
type ChoicesItemProps = {
|
|
3
|
+
item: Choice;
|
|
4
|
+
handleOnClick: (id: string) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare function ChoicesItem({ item, handleOnClick }: ChoicesItemProps): JSX.Element;
|
|
5
8
|
export default ChoicesItem;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import "../../utils/helpers.js";
|
|
4
|
-
import { C as
|
|
3
|
+
import { C as r, C as a } from "../../ChoicesItem-CT9fXB0I.mjs";
|
|
5
4
|
export {
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
r as ChoicesItem,
|
|
6
|
+
a as default
|
|
8
7
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ChoicesItem
|
|
1
|
+
export { ChoicesItem } from './ChoicesItem';
|
|
2
|
+
export { ChoicesItem as default } from './ChoicesItem';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
children:
|
|
3
|
-
}
|
|
1
|
+
type ChoicesListProps = {
|
|
2
|
+
children: JSX.Element[] | null;
|
|
3
|
+
};
|
|
4
|
+
export declare function ChoicesList({ children }: ChoicesListProps): JSX.Element;
|
|
4
5
|
export default ChoicesList;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
function o({ children: t }) {
|
|
2
|
+
function n({ children: t }) {
|
|
4
3
|
return t === null ? /* @__PURE__ */ r("ul", {}) : /* @__PURE__ */ r("ul", { children: t.length && t.map((u) => u) });
|
|
5
4
|
}
|
|
6
5
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
n as ChoicesList,
|
|
7
|
+
n as default
|
|
9
8
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ChoicesList
|
|
1
|
+
export { ChoicesList } from './ChoicesList';
|
|
2
|
+
export { ChoicesList as default } from './ChoicesList';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as a, Fragment as n } from "react/jsx-runtime";
|
|
2
|
-
import o from "react";
|
|
2
|
+
import { Fragment as o } from "react";
|
|
3
3
|
import { p as e } from "../../index-VjANCDXC.mjs";
|
|
4
|
-
function
|
|
5
|
-
return /* @__PURE__ */ a(n, { children: t.map((r) => /* @__PURE__ */ a(o
|
|
4
|
+
function s({ list: t }) {
|
|
5
|
+
return /* @__PURE__ */ a(n, { children: t.map((r) => /* @__PURE__ */ a(o, { children: typeof r == "string" && r !== "" ? e(r) : r }, `react-frag-${Math.round(Math.random() * 1e7)}`)) });
|
|
6
6
|
}
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
s as Concat,
|
|
9
|
+
s as default
|
|
10
10
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Concat
|
|
1
|
+
export { Concat } from './Concat';
|
|
2
|
+
export { Concat as default } from './Concat';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Choice } from '../../types';
|
|
2
|
+
type CreateChoiceListProps = {
|
|
3
|
+
list: Choice[];
|
|
4
|
+
initialItem?: Choice | null;
|
|
5
|
+
handleOnClick: (id: string) => void;
|
|
6
|
+
};
|
|
7
|
+
export declare function CreateChoiceList({ list, initialItem, handleOnClick }: CreateChoiceListProps): JSX.Element;
|
|
6
8
|
export default CreateChoiceList;
|
|
@@ -1,14 +1,43 @@
|
|
|
1
|
-
import { jsxs as c, Fragment as f, jsx as
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
function b({ list: u, initialItem: s = null, handleOnClick: d }) {
|
|
1
|
+
import { jsxs as c, Fragment as f, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ChoicesList as t } from "../ChoicesList/ChoicesList.js";
|
|
3
|
+
import { C as d } from "../../ChoicesItem-CT9fXB0I.mjs";
|
|
4
|
+
function a({ list: o, initialItem: r = null, handleOnClick: u }) {
|
|
6
5
|
return /* @__PURE__ */ c(f, { children: [
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
r && (r == null ? void 0 : r.status) !== "filtered" && /* @__PURE__ */ e(
|
|
7
|
+
d,
|
|
8
|
+
{
|
|
9
|
+
disabled: (r == null ? void 0 : r.status) === "selected",
|
|
10
|
+
handleOnClick: u,
|
|
11
|
+
item: r
|
|
12
|
+
},
|
|
13
|
+
r.id
|
|
14
|
+
),
|
|
15
|
+
/* @__PURE__ */ e(t, { children: o.map((s) => s.subcategories.length ? /* @__PURE__ */ e(
|
|
16
|
+
a,
|
|
17
|
+
{
|
|
18
|
+
handleOnClick: u,
|
|
19
|
+
initialItem: s,
|
|
20
|
+
list: s.subcategories
|
|
21
|
+
},
|
|
22
|
+
`list-${s.id}`
|
|
23
|
+
) : s.status === "filtered" ? null : /* @__PURE__ */ e(
|
|
24
|
+
d,
|
|
25
|
+
{
|
|
26
|
+
disabled: s.status === "selected",
|
|
27
|
+
handleOnClick: u,
|
|
28
|
+
item: {
|
|
29
|
+
id: s.id,
|
|
30
|
+
parent_id: s.parent_id,
|
|
31
|
+
label: s.label,
|
|
32
|
+
subcategories: s.subcategories,
|
|
33
|
+
status: s.status
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
s.id
|
|
37
|
+
)).filter((s) => s !== null) })
|
|
9
38
|
] });
|
|
10
39
|
}
|
|
11
40
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
41
|
+
a as CreateChoiceList,
|
|
42
|
+
a as default
|
|
14
43
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { CreateChoiceList
|
|
1
|
+
export { CreateChoiceList } from './CreateChoiceList';
|
|
2
|
+
export { CreateChoiceList as default } from './CreateChoiceList';
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ctaButtonStyle?: string | undefined;
|
|
12
|
-
btnGradientStartColor?: string | undefined;
|
|
13
|
-
btnGradientEndColor?: string | undefined;
|
|
1
|
+
import { CTA } from '../../types';
|
|
2
|
+
type CtaBlockProps = {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleImageUrl?: string;
|
|
5
|
+
content?: string | JSX.Element;
|
|
6
|
+
type?: 'play-video' | 'internal-link' | 'external-link';
|
|
7
|
+
cta?: CTA;
|
|
8
|
+
ctaButtonStyle?: 'gradient' | 'flat';
|
|
9
|
+
btnGradientStartColor?: string;
|
|
10
|
+
btnGradientEndColor?: string;
|
|
14
11
|
btnFlatColors?: {
|
|
15
12
|
bgColor: string;
|
|
16
13
|
bgHoverColor: string;
|
|
@@ -18,6 +15,7 @@ export function CtaBlock({ title, titleImageUrl, content, type, cta, ctaButtonSt
|
|
|
18
15
|
hoverColor: string;
|
|
19
16
|
borderColor: string;
|
|
20
17
|
borderHoverColor: string;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare function CtaBlock({ title, titleImageUrl, content, type, cta, ctaButtonStyle, btnGradientStartColor, btnGradientEndColor, btnFlatColors, }: CtaBlockProps): JSX.Element;
|
|
23
21
|
export default CtaBlock;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "react";
|
|
1
|
+
import { jsxs as h, jsx as l } from "react/jsx-runtime";
|
|
3
2
|
import { p as s } from "../../index-VjANCDXC.mjs";
|
|
4
|
-
import { classes as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { classes as m } from "../../utils/helpers.js";
|
|
4
|
+
import { l as b } from "../../logger-C0N7U0YY.mjs";
|
|
5
|
+
import { GradientButton as u } from "../GradientButton/GradientButton.js";
|
|
6
|
+
import { Button as v } from "../Button/Button.js";
|
|
7
7
|
import '../../assets/CtaBlock.css';const c = {
|
|
8
|
-
"cta-block__title-img": "_cta-block__title-
|
|
8
|
+
"cta-block__title-img": "_cta-block__title-img_8isca_5"
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
b.setComponent("CtaBlock");
|
|
11
|
+
function N({
|
|
11
12
|
title: o = "",
|
|
12
13
|
titleImageUrl: a = "",
|
|
13
14
|
content: r = "",
|
|
@@ -15,8 +16,8 @@ function A({
|
|
|
15
16
|
cta: e = { label: "", href: "", type: "" },
|
|
16
17
|
ctaButtonStyle: i = "gradient",
|
|
17
18
|
btnGradientStartColor: d = "",
|
|
18
|
-
btnGradientEndColor:
|
|
19
|
-
btnFlatColors:
|
|
19
|
+
btnGradientEndColor: g = "",
|
|
20
|
+
btnFlatColors: p = {
|
|
20
21
|
bgColor: "",
|
|
21
22
|
bgHoverColor: "",
|
|
22
23
|
color: "",
|
|
@@ -25,11 +26,11 @@ function A({
|
|
|
25
26
|
borderHoverColor: ""
|
|
26
27
|
}
|
|
27
28
|
}) {
|
|
28
|
-
const
|
|
29
|
+
const _ = i === "gradient" ? u : v, k = i === "gradient" ? {
|
|
29
30
|
gradientStartColor: d,
|
|
30
|
-
gradientEndColor:
|
|
31
|
+
gradientEndColor: g
|
|
31
32
|
} : {
|
|
32
|
-
customColors:
|
|
33
|
+
customColors: p
|
|
33
34
|
}, n = {
|
|
34
35
|
"play-video": {
|
|
35
36
|
label: "View Promo",
|
|
@@ -46,10 +47,10 @@ function A({
|
|
|
46
47
|
target: "_blank",
|
|
47
48
|
rel: "noreferrer"
|
|
48
49
|
}
|
|
49
|
-
},
|
|
50
|
-
|
|
50
|
+
}, C = (f) => {
|
|
51
|
+
b.log("cta clicked", f);
|
|
51
52
|
};
|
|
52
|
-
return /* @__PURE__ */
|
|
53
|
+
return /* @__PURE__ */ h(
|
|
53
54
|
"cta-block",
|
|
54
55
|
{
|
|
55
56
|
style: {
|
|
@@ -59,7 +60,7 @@ function A({
|
|
|
59
60
|
o !== "" && /* @__PURE__ */ l(
|
|
60
61
|
"h1",
|
|
61
62
|
{
|
|
62
|
-
className:
|
|
63
|
+
className: m([
|
|
63
64
|
"h2",
|
|
64
65
|
a ? c["cta-block__title-img"] : null
|
|
65
66
|
]),
|
|
@@ -68,15 +69,15 @@ function A({
|
|
|
68
69
|
),
|
|
69
70
|
r !== "" && /* @__PURE__ */ l("div", { className: c["cta-block__content"], children: typeof r == "string" ? s(r) : r }),
|
|
70
71
|
/* @__PURE__ */ l("cta-wrapper", { children: /* @__PURE__ */ l(
|
|
71
|
-
|
|
72
|
+
_,
|
|
72
73
|
{
|
|
73
|
-
classname:
|
|
74
|
+
classname: m([c["cta-block__cta"], "cta-block__cta"]),
|
|
74
75
|
href: e.href,
|
|
75
76
|
label: e.label ? e.label : n[t].label,
|
|
76
|
-
onClick: e.type === "play-video" ? k : () => !0,
|
|
77
77
|
rel: n[t].rel,
|
|
78
78
|
target: n[t].target,
|
|
79
|
-
|
|
79
|
+
onClick: e.type === "play-video" ? C : () => !0,
|
|
80
|
+
...k
|
|
80
81
|
}
|
|
81
82
|
) })
|
|
82
83
|
]
|
|
@@ -84,6 +85,6 @@ function A({
|
|
|
84
85
|
);
|
|
85
86
|
}
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
N as CtaBlock,
|
|
89
|
+
N as default
|
|
89
90
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { CtaBlock
|
|
1
|
+
export { CtaBlock } from './CtaBlock';
|
|
2
|
+
export { CtaBlock as default } from './CtaBlock';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
name:
|
|
4
|
-
options:
|
|
5
|
-
label?: string
|
|
6
|
-
placeholder?: string
|
|
7
|
-
width?: number
|
|
8
|
-
multiple?: boolean
|
|
9
|
-
showValidation?: boolean
|
|
10
|
-
|
|
1
|
+
import { ChoiceList } from '../../types';
|
|
2
|
+
type CustomDataListProps = {
|
|
3
|
+
name: string;
|
|
4
|
+
options: ChoiceList;
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
width?: number;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
showValidation?: boolean;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
};
|
|
12
|
+
export declare function CustomDataList({ name, options, label, placeholder, width, multiple, showValidation, ...attributes }: CustomDataListProps): JSX.Element;
|
|
11
13
|
export default CustomDataList;
|