@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,33 +1,69 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "
|
|
3
|
-
import { slugify as h } from "../../utils/helpers.js";
|
|
1
|
+
import { jsxs as t, jsx as r, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { slugify as l } from "../../utils/helpers.js";
|
|
4
3
|
import { AnchorTag as o } from "../AnchorTag/AnchorTag.js";
|
|
5
|
-
import '../../assets/NavList.css';const
|
|
4
|
+
import '../../assets/NavList.css';const _ = {
|
|
6
5
|
"nav-list": "_nav-list_37is6_1",
|
|
7
6
|
"nav-list__item": "_nav-list__item_37is6_7"
|
|
8
|
-
},
|
|
7
|
+
}, c = ({
|
|
8
|
+
links: e = [],
|
|
9
|
+
classname: s = "",
|
|
10
|
+
toggleHandler: i = null
|
|
11
|
+
}) => /* @__PURE__ */ r(d, { children: /* @__PURE__ */ r("ul", { className: [`${s}__nav-list`, _["nav-list"]].join(" "), children: e.map((a) => /* @__PURE__ */ r("li", { className: [`${s}__nav-item`, _["nav-list__item"]].join(" "), children: /* @__PURE__ */ r(
|
|
9
12
|
o,
|
|
10
13
|
{
|
|
11
|
-
label: a.label,
|
|
12
|
-
href: a.href,
|
|
13
|
-
type: a.type,
|
|
14
14
|
classname: `${s}__nav-link ${a != null && a.classname ? `${a.classname}` : ""}`,
|
|
15
|
+
clickHandler: i,
|
|
16
|
+
href: a.href,
|
|
15
17
|
image: a != null && a.image ? a.image : null,
|
|
16
|
-
|
|
18
|
+
label: a.label,
|
|
19
|
+
type: a.type
|
|
17
20
|
}
|
|
18
21
|
) }, `${s}-${Math.round(Math.random() * 1e7)}`)) }) });
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
function f({
|
|
23
|
+
title: e = "",
|
|
24
|
+
links: s = [],
|
|
25
|
+
classname: i = "",
|
|
26
|
+
useNavWrapper: a = !1,
|
|
27
|
+
toggleHandler: n = null
|
|
28
|
+
}) {
|
|
29
|
+
const m = l(e);
|
|
30
|
+
return a ? /* @__PURE__ */ t(
|
|
31
|
+
"nav",
|
|
32
|
+
{
|
|
33
|
+
"aria-labelledby": e !== "" ? m : "",
|
|
34
|
+
className: i,
|
|
35
|
+
children: [
|
|
36
|
+
e !== "" && /* @__PURE__ */ r(
|
|
37
|
+
"h2",
|
|
38
|
+
{
|
|
39
|
+
className: "h4",
|
|
40
|
+
id: e !== "" ? m : void 0,
|
|
41
|
+
children: e
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
/* @__PURE__ */ r(c, { classname: i, links: s, toggleHandler: n })
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
) : /* @__PURE__ */ t("div", { className: i, children: [
|
|
48
|
+
e !== "" && /* @__PURE__ */ r(
|
|
49
|
+
"h2",
|
|
50
|
+
{
|
|
51
|
+
className: "h4",
|
|
52
|
+
id: e !== "" ? m : void 0,
|
|
53
|
+
children: e
|
|
54
|
+
}
|
|
55
|
+
),
|
|
56
|
+
/* @__PURE__ */ r(
|
|
57
|
+
c,
|
|
58
|
+
{
|
|
59
|
+
classname: i,
|
|
60
|
+
links: s,
|
|
61
|
+
toggleHandler: n
|
|
62
|
+
}
|
|
63
|
+
)
|
|
28
64
|
] });
|
|
29
65
|
}
|
|
30
66
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
67
|
+
f as NavList,
|
|
68
|
+
f as default
|
|
33
69
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { NavList
|
|
1
|
+
export { NavList } from './NavList';
|
|
2
|
+
export { NavList as default } from './NavList';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}):
|
|
1
|
+
type OverlayProps = {
|
|
2
|
+
appendToElement?: HTMLElement | undefined;
|
|
3
|
+
state?: 'entering' | 'entered' | 'exiting' | 'exited';
|
|
4
|
+
};
|
|
5
|
+
export declare function Overlay({ appendToElement, state, }: OverlayProps): JSX.Element;
|
|
6
6
|
export default Overlay;
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, Fragment as l } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as s } from "react";
|
|
3
3
|
import { r as i } from "../../index-C-kn9Zhn.mjs";
|
|
4
4
|
import '../../assets/Overlay.css';const v = "_overlay_itsaf_1", d = {
|
|
5
5
|
overlay: v
|
|
6
6
|
};
|
|
7
|
-
function p({
|
|
7
|
+
function p({
|
|
8
|
+
appendToElement: r,
|
|
9
|
+
state: o = "entering"
|
|
10
|
+
}) {
|
|
8
11
|
(() => {
|
|
9
12
|
if (!document.querySelector("#overlay")) {
|
|
10
13
|
const t = document.createElement("div");
|
|
11
|
-
t.setAttribute("id", "overlay"), t.setAttribute("class", `${d.overlay} overlay`), t.setAttribute("data-state", "entering"), r
|
|
14
|
+
t.setAttribute("id", "overlay"), t.setAttribute("class", `${d.overlay} overlay`), t.setAttribute("data-state", "entering"), r ? r.append(t) : document.body.appendChild(t);
|
|
12
15
|
}
|
|
13
16
|
})();
|
|
14
17
|
const a = setInterval(() => {
|
|
@@ -22,12 +25,12 @@ function p({ appendToElement: r, state: o = "entering" }) {
|
|
|
22
25
|
};
|
|
23
26
|
clearInterval(a), e.addEventListener("click", t);
|
|
24
27
|
}
|
|
25
|
-
});
|
|
28
|
+
}, 100);
|
|
26
29
|
return s(() => {
|
|
27
30
|
var e;
|
|
28
31
|
(e = document.querySelector("#overlay")) == null || e.setAttribute("data-state", o);
|
|
29
32
|
}, [o]), i.createPortal(
|
|
30
|
-
/* @__PURE__ */ l
|
|
33
|
+
/* @__PURE__ */ n(l, {}),
|
|
31
34
|
document.getElementById("overlay")
|
|
32
35
|
);
|
|
33
36
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
layoutComponent?: string
|
|
3
|
-
layoutProps?:
|
|
4
|
-
children
|
|
5
|
-
}
|
|
1
|
+
type PageHeroProps = {
|
|
2
|
+
layoutComponent?: string;
|
|
3
|
+
layoutProps?: Record<string, unknown>;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
export declare function PageHero({ layoutComponent, layoutProps, children, }: PageHeroProps): JSX.Element;
|
|
6
7
|
export default PageHero;
|
|
@@ -1,19 +1,32 @@
|
|
|
1
|
-
import { jsx as a,
|
|
2
|
-
import { useState as
|
|
3
|
-
import { classes as
|
|
4
|
-
import { pageHeroLayoutsMap as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsxs as s, jsx as a, Fragment as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as p, useEffect as g } from "react";
|
|
3
|
+
import { classes as i } from "../../utils/helpers.js";
|
|
4
|
+
import { pageHeroLayoutsMap as l } from "../../settings.js";
|
|
5
|
+
import { l as f } from "../../logger-C0N7U0YY.mjs";
|
|
6
|
+
import { s as c } from "../../PageHero.module-BM0IV1P5.mjs";
|
|
7
|
+
f.setComponent("PageHero");
|
|
8
|
+
function w({
|
|
9
|
+
layoutComponent: r = "",
|
|
10
|
+
layoutProps: u = {},
|
|
11
|
+
children: o
|
|
12
|
+
}) {
|
|
13
|
+
const [e, n] = p(null);
|
|
14
|
+
return g(() => {
|
|
15
|
+
n(() => {
|
|
16
|
+
const t = l.get(r);
|
|
17
|
+
return t || f.warn(`No layout found for PageHero layoutComponent: ${r}`), t;
|
|
18
|
+
});
|
|
19
|
+
}, [r]), /* @__PURE__ */ s("section", { className: i([c["page-hero"], "page-hero"]), children: [
|
|
20
|
+
e && /* @__PURE__ */ s(e, { ...u, children: [
|
|
21
|
+
" ",
|
|
22
|
+
o,
|
|
23
|
+
" "
|
|
24
|
+
] }),
|
|
25
|
+
!e && o && /* @__PURE__ */ a(m, { children: o }),
|
|
26
|
+
!e && !o && /* @__PURE__ */ a(m, {})
|
|
27
|
+
] });
|
|
15
28
|
}
|
|
16
29
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
30
|
+
w as PageHero,
|
|
31
|
+
w as default
|
|
19
32
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { PageHero
|
|
1
|
+
export { PageHero } from './PageHero';
|
|
2
|
+
export { PageHero as default } from './PageHero';
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
mobileImage?: {
|
|
4
|
-
url: string;
|
|
5
|
-
dimensions: {
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
};
|
|
9
|
-
} | undefined;
|
|
10
|
-
fullSizeImagePosition?: number[] | undefined;
|
|
11
|
-
mobileImagePosition?: number[] | undefined;
|
|
12
|
-
children: any;
|
|
13
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { PageHeroImageProps } from '../page-hero';
|
|
2
|
+
export declare function ContentHero({ fullSizeImage, mobileImage, fullSizeImagePosition, mobileImagePosition, children, }: PageHeroImageProps): JSX.Element;
|
|
14
3
|
export default ContentHero;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as h, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { ResponsiveImage as p } from "../../../ResponsiveImage/ResponsiveImage.js";
|
|
3
|
-
import { classes as
|
|
4
|
-
import { s as t } from "../../../../PageHero.module-
|
|
5
|
-
import '../../../../assets/ContentHero.css';const
|
|
6
|
-
hero__content:
|
|
3
|
+
import { classes as k } from "../../../../utils/helpers.js";
|
|
4
|
+
import { s as t } from "../../../../PageHero.module-BM0IV1P5.mjs";
|
|
5
|
+
import '../../../../assets/ContentHero.css';const u = "_hero__content_1ktxq_1", x = {
|
|
6
|
+
hero__content: u
|
|
7
7
|
};
|
|
8
|
-
function
|
|
8
|
+
function a({
|
|
9
9
|
fullSizeImage: n,
|
|
10
10
|
mobileImage: _ = {
|
|
11
11
|
url: "",
|
|
@@ -27,14 +27,21 @@ function N({
|
|
|
27
27
|
"--mobile-background-image-position": `${(c == null ? void 0 : c[0]) ?? "50"}% ${(c == null ? void 0 : c[1]) ?? "50"}%`
|
|
28
28
|
},
|
|
29
29
|
children: [
|
|
30
|
-
_.url !== "" && /* @__PURE__ */ s("picture", { className: t["mobile-background-image"], children: /* @__PURE__ */ s("img", { src: _.url
|
|
31
|
-
/* @__PURE__ */ s(
|
|
32
|
-
|
|
30
|
+
_.url !== "" && /* @__PURE__ */ s("picture", { className: t["mobile-background-image"], children: /* @__PURE__ */ s("img", { alt: "", src: _.url }) }),
|
|
31
|
+
/* @__PURE__ */ s(
|
|
32
|
+
p,
|
|
33
|
+
{
|
|
34
|
+
classname: t["background-image"],
|
|
35
|
+
fullSizeUrl: n.url,
|
|
36
|
+
sources: n.sources
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ s("div", { className: k([x.hero__content, "hero__content"]), children: d })
|
|
33
40
|
]
|
|
34
41
|
}
|
|
35
42
|
);
|
|
36
43
|
}
|
|
37
44
|
export {
|
|
38
|
-
|
|
39
|
-
|
|
45
|
+
a as ContentHero,
|
|
46
|
+
a as default
|
|
40
47
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ContentHero
|
|
1
|
+
export { ContentHero } from './ContentHero';
|
|
2
|
+
export { ContentHero as default } from './ContentHero';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Series } from '../../../../types';
|
|
2
|
+
type IONShowHeroProps = {
|
|
3
|
+
show: Series;
|
|
4
|
+
SCHEDULE_ENDPOINT: string;
|
|
5
|
+
NETWORK: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function IONShowHero({ show, SCHEDULE_ENDPOINT, NETWORK, }: IONShowHeroProps): JSX.Element;
|
|
6
8
|
export default IONShowHero;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import { AirDateFormatter as
|
|
5
|
-
import { GetAirdateWrapper as
|
|
6
|
-
import { StringList as
|
|
7
|
-
import { ResponsiveImage as
|
|
8
|
-
import {
|
|
9
|
-
import { s as n } from "../../../../PageHero.module-BdV8z_Xv.mjs";
|
|
1
|
+
import { jsxs as n, jsx as r, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { p as P } from "../../../../index-VjANCDXC.mjs";
|
|
3
|
+
import { classes as a } from "../../../../utils/helpers.js";
|
|
4
|
+
import { AirDateFormatter as N } from "../../../AirDateFormatter/AirDateFormatter.js";
|
|
5
|
+
import { GetAirdateWrapper as v } from "../../../GetAirdateWrapper/GetAirdateWrapper.js";
|
|
6
|
+
import { StringList as $ } from "../../../StringList/StringList.js";
|
|
7
|
+
import { ResponsiveImage as M } from "../../../ResponsiveImage/ResponsiveImage.js";
|
|
8
|
+
import { s as i } from "../../../../PageHero.module-BM0IV1P5.mjs";
|
|
10
9
|
import '../../../../assets/IONShowHero.css';const t = {
|
|
11
10
|
"hero-content": "_hero-content_1ygkx_1",
|
|
12
11
|
"hero-content--right": "_hero-content--right_1ygkx_8",
|
|
@@ -16,49 +15,116 @@ import '../../../../assets/IONShowHero.css';const t = {
|
|
|
16
15
|
"show-hero--display": "_show-hero--display_1ygkx_40",
|
|
17
16
|
"display-none": "_display-none_1ygkx_45"
|
|
18
17
|
};
|
|
19
|
-
function
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
function D({
|
|
19
|
+
show: e,
|
|
20
|
+
SCHEDULE_ENDPOINT: k,
|
|
21
|
+
NETWORK: h
|
|
22
|
+
}) {
|
|
23
|
+
var o, l, m, g, _, p, c, d, s, b, u, y, x, I;
|
|
24
|
+
return /* @__PURE__ */ n(
|
|
22
25
|
"div",
|
|
23
26
|
{
|
|
24
|
-
className:
|
|
27
|
+
className: i.hero,
|
|
25
28
|
style: {
|
|
26
29
|
"--background-image-position": `${((o = e == null ? void 0 : e.bannerImagePosition) == null ? void 0 : o[0]) ?? "50"}% ${((l = e == null ? void 0 : e.bannerImagePosition) == null ? void 0 : l[1]) ?? "50"}%`,
|
|
27
|
-
"--mobile-background-image-position": `${((m = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : m[0]) ?? "50"}% ${((
|
|
30
|
+
"--mobile-background-image-position": `${((m = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : m[0]) ?? "50"}% ${((g = e == null ? void 0 : e.bannerMobileImagePosition) == null ? void 0 : g[1]) ?? "50"}%`
|
|
28
31
|
},
|
|
29
32
|
children: [
|
|
30
|
-
e.bannerMobileImage.url !== "" && /* @__PURE__ */ r("picture", { className:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
33
|
+
e.bannerMobileImage !== void 0 && ((_ = e.bannerMobileImage) == null ? void 0 : _.url) !== "" && /* @__PURE__ */ r("picture", { className: i["mobile-background-image"], children: /* @__PURE__ */ r(
|
|
34
|
+
"img",
|
|
35
|
+
{
|
|
36
|
+
alt: "",
|
|
37
|
+
src: e == null ? void 0 : e.bannerMobileImage.url
|
|
38
|
+
}
|
|
39
|
+
) }),
|
|
40
|
+
e.bannerImage !== void 0 && e.bannerImage.url !== "" && /* @__PURE__ */ n(f, { children: [
|
|
41
|
+
/* @__PURE__ */ r(
|
|
42
|
+
M,
|
|
43
|
+
{
|
|
44
|
+
classname: i["background-image"],
|
|
45
|
+
fullSizeUrl: (p = e.bannerImage) == null ? void 0 : p.url,
|
|
46
|
+
sources: e.bannerImage.sources
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
/* @__PURE__ */ n(
|
|
50
|
+
"div",
|
|
51
|
+
{
|
|
52
|
+
className: a([
|
|
53
|
+
t["hero-content"],
|
|
54
|
+
"show-hero__content",
|
|
55
|
+
e.heroContentAlignment === "right" ? [t["hero-content--right"], "show-hero__content--right"] : null
|
|
56
|
+
]),
|
|
57
|
+
children: [
|
|
58
|
+
(d = (c = e.logoImage) == null ? void 0 : c.image) != null && d.publicUrl ? /* @__PURE__ */ n(f, { children: [
|
|
59
|
+
/* @__PURE__ */ r(
|
|
60
|
+
"div",
|
|
61
|
+
{
|
|
62
|
+
className: a([
|
|
63
|
+
"show-hero__logo-wrapper",
|
|
64
|
+
t["show-hero--display"],
|
|
65
|
+
t["show-hero__logo-wrapper"]
|
|
66
|
+
]),
|
|
67
|
+
children: /* @__PURE__ */ r(
|
|
68
|
+
"img",
|
|
69
|
+
{
|
|
70
|
+
alt: e.title,
|
|
71
|
+
src: (b = (s = e.logoImage) == null ? void 0 : s.image) == null ? void 0 : b.publicUrl
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
/* @__PURE__ */ r(
|
|
77
|
+
"h1",
|
|
78
|
+
{
|
|
79
|
+
className: a([
|
|
80
|
+
t["display-none"],
|
|
81
|
+
t["hero-content__show-title"]
|
|
82
|
+
]),
|
|
83
|
+
children: e.title
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
] }) : /* @__PURE__ */ r(
|
|
87
|
+
"h1",
|
|
88
|
+
{
|
|
89
|
+
className: a([
|
|
90
|
+
t["hero-content__show-title"],
|
|
91
|
+
"h1",
|
|
92
|
+
"show-hero__show-title"
|
|
93
|
+
]),
|
|
94
|
+
children: P(e.title)
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
/* @__PURE__ */ n("div", { className: a([t["hero-content__airdate"], "show-hero__airdate"]), children: [
|
|
98
|
+
(e == null ? void 0 : e.nextProgram) && /* @__PURE__ */ r(
|
|
99
|
+
$,
|
|
100
|
+
{
|
|
101
|
+
list: [
|
|
102
|
+
/* @__PURE__ */ r(N, { airdateStr: e.nextProgram.airdate, separatorType: "pipe" }),
|
|
103
|
+
`${(y = (u = e.nextProgram) == null ? void 0 : u.episode) == null ? void 0 : y.number}: ${(I = (x = e.nextProgram) == null ? void 0 : x.episode) == null ? void 0 : I.title}`
|
|
104
|
+
],
|
|
105
|
+
separatorType: "pipe"
|
|
106
|
+
}
|
|
107
|
+
),
|
|
108
|
+
!(e != null && e.nextProgram) && /* @__PURE__ */ r(
|
|
109
|
+
v,
|
|
110
|
+
{
|
|
111
|
+
includeEpisode: !0,
|
|
112
|
+
NETWORK: h,
|
|
113
|
+
SCHEDULE_ENDPOINT: k,
|
|
114
|
+
programId: e.seriesPrefix,
|
|
115
|
+
separatorType: "pipe"
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] })
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
)
|
|
56
122
|
] })
|
|
57
123
|
]
|
|
58
124
|
}
|
|
59
125
|
);
|
|
60
126
|
}
|
|
61
127
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
128
|
+
D as IONShowHero,
|
|
129
|
+
D as default
|
|
64
130
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { IONShowHero
|
|
1
|
+
export { IONShowHero } from './IONShowHero';
|
|
2
|
+
export { IONShowHero as default } from './IONShowHero';
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
mobileImage?: {
|
|
4
|
-
url: string;
|
|
5
|
-
dimensions: {
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
};
|
|
9
|
-
} | undefined;
|
|
10
|
-
fullSizeImagePosition?: number[] | undefined;
|
|
11
|
-
mobileImagePosition?: number[] | undefined;
|
|
12
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { PageHeroImageProps } from '../page-hero';
|
|
2
|
+
export declare function ImageOnlyHero({ fullSizeImage, mobileImage, fullSizeImagePosition, mobileImagePosition, }: PageHeroImageProps): JSX.Element;
|
|
13
3
|
export default ImageOnlyHero;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { ResponsiveImage as k } from "../../../ResponsiveImage/ResponsiveImage.js";
|
|
4
|
-
import { s as p } from "../../../../PageHero.module-
|
|
5
|
-
function
|
|
3
|
+
import { s as p } from "../../../../PageHero.module-BM0IV1P5.mjs";
|
|
4
|
+
function j({
|
|
6
5
|
fullSizeImage: s,
|
|
7
6
|
mobileImage: h = {
|
|
8
7
|
url: "",
|
|
@@ -23,13 +22,20 @@ function v({
|
|
|
23
22
|
"--mobile-background-image-position": `${(c == null ? void 0 : c[0]) ?? "50"}% ${(c == null ? void 0 : c[1]) ?? "50"}%`
|
|
24
23
|
},
|
|
25
24
|
children: [
|
|
26
|
-
h.url !== "" && /* @__PURE__ */ d("picture", { className: p["mobile-background-image"], children: /* @__PURE__ */ d("img", { src: h.url
|
|
27
|
-
/* @__PURE__ */ d(
|
|
25
|
+
h.url !== "" && /* @__PURE__ */ d("picture", { className: p["mobile-background-image"], children: /* @__PURE__ */ d("img", { alt: "", src: h.url }) }),
|
|
26
|
+
/* @__PURE__ */ d(
|
|
27
|
+
k,
|
|
28
|
+
{
|
|
29
|
+
classname: p["background-image"],
|
|
30
|
+
fullSizeUrl: s.url,
|
|
31
|
+
sources: s.sources
|
|
32
|
+
}
|
|
33
|
+
)
|
|
28
34
|
]
|
|
29
35
|
}
|
|
30
36
|
);
|
|
31
37
|
}
|
|
32
38
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
39
|
+
j as ImageOnlyHero,
|
|
40
|
+
j as default
|
|
35
41
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ImageOnlyHero
|
|
1
|
+
export { ImageOnlyHero } from './ImageOnlyHero';
|
|
2
|
+
export { ImageOnlyHero as default } from './ImageOnlyHero';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { Program } from '../../types.d.ts';
|
|
2
|
+
export type ProgramAirdateProps = {
|
|
3
|
+
brand?: string;
|
|
4
|
+
program: Program;
|
|
5
|
+
type?: 'on-now' | 'on-tomorrow' | 'upcoming';
|
|
6
|
+
buttonStyle?: 'flat' | 'gradient';
|
|
7
|
+
logoStyle?: 'gradient' | string;
|
|
8
|
+
useLogo?: boolean;
|
|
9
|
+
useSeriesColors?: boolean;
|
|
10
|
+
href?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function ProgramAirdate({ brand, program, type, buttonStyle, // flat or gradient
|
|
13
|
+
logoStyle, // gradient or anything else that's not gradient
|
|
14
|
+
useLogo, useSeriesColors, href, }: ProgramAirdateProps): JSX.Element;
|
|
11
15
|
export default ProgramAirdate;
|