@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 1.1.0-alpha.3
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/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/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/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/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.js +1 -1
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/navigations/Pagination.js +12 -10
- package/dist/components/CarouselSlide/CarouselSlide.js +25 -87
- 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.js +5 -5
- 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 +115 -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 +96 -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 +28 -17
- 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.js +6 -5
- 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 +18 -14
- 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/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/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,24 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { Children as
|
|
3
|
-
import '../../assets/EqualSizeFlexRow.css';const
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { Children as s, cloneElement as i, isValidElement as f } from "react";
|
|
3
|
+
import '../../assets/EqualSizeFlexRow.css';const m = {
|
|
4
4
|
"equal-size-flex-row__item": "_equal-size-flex-row__item_qnkaz_11"
|
|
5
|
-
}, u = (
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
}, u = (n, e, t) => `${t.length <= e ? 1 : 0} 1 calc(${t.length <= e ? 100 / t.length : 100 / e}% - ${n})`;
|
|
6
|
+
function c({
|
|
7
|
+
children: n,
|
|
8
|
+
gap: e = "1.5rem",
|
|
9
|
+
maxItemsPerRow: t = 4
|
|
10
|
+
}) {
|
|
11
|
+
const l = s.toArray(n), o = l.length === 1 ? "0 1 50%" : u(e, t, l);
|
|
12
|
+
return /* @__PURE__ */ a(
|
|
9
13
|
"equal-size-flex-row",
|
|
10
14
|
{
|
|
15
|
+
"data-item-count": l.length,
|
|
11
16
|
style: {
|
|
12
17
|
"--esfr-gap-size": e,
|
|
13
|
-
"--esfr-item-flex":
|
|
18
|
+
"--esfr-item-flex": o,
|
|
14
19
|
"--esfr-flex-wrap": l.length > t ? "wrap" : "nowrap"
|
|
15
20
|
},
|
|
16
|
-
|
|
17
|
-
children: l.map((n) => /* @__PURE__ */ o(
|
|
21
|
+
children: l.map((r) => /* @__PURE__ */ a(
|
|
18
22
|
"div",
|
|
19
23
|
{
|
|
20
|
-
className:
|
|
21
|
-
children:
|
|
24
|
+
className: m["equal-size-flex-row__item"],
|
|
25
|
+
children: f(r) ? i(r, r.props) : r
|
|
22
26
|
},
|
|
23
27
|
`esfr-${Math.round(Math.random() * 1e7)}`
|
|
24
28
|
))
|
|
@@ -26,6 +30,6 @@ function h({ children: r, gap: e = "1.5rem", maxItemsPerRow: t = 4 }) {
|
|
|
26
30
|
);
|
|
27
31
|
}
|
|
28
32
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
33
|
+
c as EqualSizeFlexRow,
|
|
34
|
+
c as default
|
|
31
35
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { EqualSizeFlexRow
|
|
1
|
+
export { EqualSizeFlexRow } from './EqualSizeFlexRow';
|
|
2
|
+
export { EqualSizeFlexRow as default } from './EqualSizeFlexRow';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
children:
|
|
3
|
-
gap?: string
|
|
4
|
-
itemsPerRow?: number
|
|
5
|
-
classname?: string
|
|
6
|
-
}
|
|
1
|
+
type EqualSizeGridProps = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
gap?: string;
|
|
4
|
+
itemsPerRow?: number;
|
|
5
|
+
classname?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function EqualSizeGrid({ children, gap, itemsPerRow, classname, }: EqualSizeGridProps): JSX.Element;
|
|
7
8
|
export default EqualSizeGrid;
|
|
@@ -1,22 +1,27 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Children as l, cloneElement as o } from "react";
|
|
3
|
-
import '../../assets/EqualSizeGrid.css';const
|
|
4
|
-
function
|
|
5
|
-
|
|
2
|
+
import { Children as l, cloneElement as o, isValidElement as m } from "react";
|
|
3
|
+
import '../../assets/EqualSizeGrid.css';const d = {};
|
|
4
|
+
function c({
|
|
5
|
+
children: s,
|
|
6
|
+
gap: a = "1.5rem",
|
|
7
|
+
itemsPerRow: n = 4,
|
|
8
|
+
classname: i = ""
|
|
9
|
+
}) {
|
|
10
|
+
const r = l.toArray(s);
|
|
6
11
|
return /* @__PURE__ */ t(
|
|
7
12
|
"equal-size-grid",
|
|
8
13
|
{
|
|
14
|
+
class: i,
|
|
15
|
+
"data-item-count": r.length,
|
|
9
16
|
style: {
|
|
10
17
|
"--esg-gap-size": a,
|
|
11
|
-
"--esg-template-columns": `repeat(${
|
|
18
|
+
"--esg-template-columns": `repeat(${n}, 1fr)`
|
|
12
19
|
},
|
|
13
|
-
|
|
14
|
-
class: n,
|
|
15
|
-
children: e.map((r) => /* @__PURE__ */ t(
|
|
20
|
+
children: r.map((e) => /* @__PURE__ */ t(
|
|
16
21
|
"div",
|
|
17
22
|
{
|
|
18
|
-
className:
|
|
19
|
-
children: o(
|
|
23
|
+
className: d["equal-size-grid__item"],
|
|
24
|
+
children: m(e) ? o(e, e.props) : e
|
|
20
25
|
},
|
|
21
26
|
`esfr-${Math.round(Math.random() * 1e7)}`
|
|
22
27
|
))
|
|
@@ -24,6 +29,6 @@ function u({ children: s, gap: a = "1.5rem", itemsPerRow: i = 4, classname: n =
|
|
|
24
29
|
);
|
|
25
30
|
}
|
|
26
31
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
c as EqualSizeGrid,
|
|
33
|
+
c as default
|
|
29
34
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { EqualSizeGrid
|
|
1
|
+
export { EqualSizeGrid } from './EqualSizeGrid';
|
|
2
|
+
export { EqualSizeGrid as default } from './EqualSizeGrid';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
title:
|
|
3
|
-
message:
|
|
4
|
-
}
|
|
1
|
+
type ErrorHandlerProps = {
|
|
2
|
+
title: string;
|
|
3
|
+
message: string;
|
|
4
|
+
};
|
|
5
|
+
export declare function ErrorHandler({ title, message }: ErrorHandlerProps): JSX.Element;
|
|
5
6
|
export default ErrorHandler;
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { p as _ } from "../../index-VjANCDXC.mjs";
|
|
4
3
|
import { classes as e } from "../../utils/helpers.js";
|
|
5
4
|
import '../../assets/ErrorHandler.css';const s = {
|
|
6
5
|
"error-handler__message": "_error-handler__message_4uq8z_1"
|
|
7
6
|
};
|
|
8
|
-
function
|
|
7
|
+
function m({ title: a, message: l }) {
|
|
9
8
|
return /* @__PURE__ */ r("error-handler", { children: /* @__PURE__ */ o("div", { className: e([s["error-handler__message"], "error-handler__message"]), children: [
|
|
10
9
|
/* @__PURE__ */ r("h2", { className: e([s["error-handler__title"], "error-handler__title"]), children: a }),
|
|
11
10
|
/* @__PURE__ */ r("p", { className: e([s["error-handler__message-text"], "error-handler__message-text"]), children: _(l) })
|
|
12
11
|
] }) });
|
|
13
12
|
}
|
|
14
13
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
m as ErrorHandler,
|
|
15
|
+
m as default
|
|
17
16
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ErrorHandler
|
|
1
|
+
export { ErrorHandler } from './ErrorHandler';
|
|
2
|
+
export { ErrorHandler as default } from './ErrorHandler';
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { ScheduleItem, HandleClicksDetails } from '../../types';
|
|
2
|
+
type FeaturedListProps = {
|
|
3
|
+
list: ScheduleItem[] | null;
|
|
4
|
+
imageAspectRatio?: number;
|
|
5
|
+
hasSeriesPages?: boolean;
|
|
6
|
+
handleClicks?: (details: HandleClicksDetails) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare function FeaturedList({ list, imageAspectRatio, hasSeriesPages, handleClicks, }: FeaturedListProps): JSX.Element;
|
|
7
9
|
export default FeaturedList;
|
|
@@ -1,48 +1,56 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { convert12to24 as
|
|
2
|
+
import { createElement as p } from "react";
|
|
3
|
+
import { convert12to24 as c } from "../../utils/helpers.js";
|
|
4
4
|
import { determineSeriesPrefix as s } from "../../utils/program-helpers.js";
|
|
5
|
-
import { ImageCard as
|
|
6
|
-
import { Loading as
|
|
7
|
-
import { AirDateFormatter as
|
|
8
|
-
import '../../assets/FeaturedList.css';function
|
|
9
|
-
list: a =
|
|
5
|
+
import { ImageCard as u } from "../ImageCard/ImageCard.js";
|
|
6
|
+
import { Loading as f } from "../Loading/Loading.js";
|
|
7
|
+
import { AirDateFormatter as m } from "../AirDateFormatter/AirDateFormatter.js";
|
|
8
|
+
import '../../assets/FeaturedList.css';function k({
|
|
9
|
+
list: a = null,
|
|
10
10
|
imageAspectRatio: n = 800 / 1393,
|
|
11
|
-
hasSeriesPages:
|
|
11
|
+
hasSeriesPages: l = !0,
|
|
12
12
|
handleClicks: d = () => {
|
|
13
13
|
}
|
|
14
14
|
}) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
cta: {
|
|
31
|
-
label: "View Upcoming",
|
|
32
|
-
href: (t = r == null ? void 0 : r.content) != null && t.slug && o ? r.program_class === "Film" ? `/movie/${r.content.slug}` : `/show/${r.content.slug}` : "",
|
|
33
|
-
type: o ? "internal-link" : "show-modal",
|
|
34
|
-
relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix),
|
|
35
|
-
relatedResourceType: r.program_class === "Film" ? "film" : "series"
|
|
36
|
-
},
|
|
15
|
+
return a === null ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(f, {}) }) : a.length ? /* @__PURE__ */ e("featured-list", { children: a.map((r) => {
|
|
16
|
+
var o, t;
|
|
17
|
+
const i = {
|
|
18
|
+
fullCardClickable: !0,
|
|
19
|
+
content: /* @__PURE__ */ e(
|
|
20
|
+
m,
|
|
21
|
+
{
|
|
22
|
+
airdateStr: `${r.start_date} ${c(r.start_time)}`,
|
|
23
|
+
separatorType: "pipe"
|
|
24
|
+
}
|
|
25
|
+
),
|
|
26
|
+
cta: {
|
|
27
|
+
label: "View Upcoming",
|
|
28
|
+
href: (o = r == null ? void 0 : r.content) != null && o.slug && l ? r.program_class === "Film" ? `/movie/${r.content.slug}` : `/show/${r.content.slug}` : "",
|
|
29
|
+
type: l ? "internal-link" : "show-modal",
|
|
37
30
|
relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix),
|
|
38
|
-
|
|
31
|
+
relatedResourceType: r.program_class === "Film" ? "film" : "series"
|
|
32
|
+
},
|
|
33
|
+
displayCTA: !1,
|
|
34
|
+
handleClicks: l ? () => {
|
|
35
|
+
} : d,
|
|
36
|
+
image: {
|
|
37
|
+
url: ((t = r == null ? void 0 : r.content) == null ? void 0 : t.image) ?? "",
|
|
38
|
+
aspectRatio: n,
|
|
39
|
+
altText: r.program
|
|
39
40
|
},
|
|
40
|
-
`featured-list-${r.id}
|
|
41
|
+
key: `featured-list-${r.id}`,
|
|
42
|
+
relatedResourceId: r.program_class === "Film" ? r.title_code : s(r.series_prefix)
|
|
43
|
+
};
|
|
44
|
+
return /* @__PURE__ */ p(
|
|
45
|
+
u,
|
|
46
|
+
{
|
|
47
|
+
...i,
|
|
48
|
+
key: `featured-list-item-${r.id}`
|
|
49
|
+
}
|
|
41
50
|
);
|
|
42
|
-
}) });
|
|
43
|
-
if (!a.length) return /* @__PURE__ */ e("div", { className: "featured-list__no-results", children: "There are no items to display." });
|
|
51
|
+
}) }) : /* @__PURE__ */ e("div", { className: "featured-list__no-results", children: "There are no items to display." });
|
|
44
52
|
}
|
|
45
53
|
export {
|
|
46
|
-
|
|
47
|
-
|
|
54
|
+
k as FeaturedList,
|
|
55
|
+
k as default
|
|
48
56
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { FeaturedList
|
|
1
|
+
export { FeaturedList } from './FeaturedList';
|
|
2
|
+
export { FeaturedList as default } from './FeaturedList';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
type FigureProps = {
|
|
2
2
|
image?: {
|
|
3
3
|
url: string;
|
|
4
4
|
altText: string;
|
|
5
|
-
caption
|
|
6
|
-
}
|
|
7
|
-
}
|
|
5
|
+
caption?: string;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
export declare function Figure({ image }: FigureProps): JSX.Element;
|
|
8
9
|
export default Figure;
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
figure: s
|
|
2
|
+
import { p as s } from "../../index-VjANCDXC.mjs";
|
|
3
|
+
import '../../assets/Figure2.css';const o = "_figure_1alhd_1", c = {
|
|
4
|
+
figure: o
|
|
6
5
|
};
|
|
7
|
-
function
|
|
6
|
+
function e({ image: t = { url: "", altText: "", caption: "" } }) {
|
|
8
7
|
return /* @__PURE__ */ l(
|
|
9
8
|
"figure",
|
|
10
9
|
{
|
|
11
10
|
className: c.figure,
|
|
12
11
|
title: t.altText !== "" ? t.altText : "",
|
|
13
12
|
children: [
|
|
14
|
-
/* @__PURE__ */ r("img", {
|
|
15
|
-
(t == null ? void 0 : t.caption) && /* @__PURE__ */ r("figcaption", { children:
|
|
13
|
+
/* @__PURE__ */ r("img", { alt: t.altText, src: t.url }),
|
|
14
|
+
(t == null ? void 0 : t.caption) && /* @__PURE__ */ r("figcaption", { children: s(t.caption) })
|
|
16
15
|
]
|
|
17
16
|
}
|
|
18
17
|
);
|
|
19
18
|
}
|
|
20
19
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
e as Figure,
|
|
21
|
+
e as default
|
|
23
22
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Figure
|
|
1
|
+
export { Figure } from './Figure';
|
|
2
|
+
export { Figure as default } from './Figure';
|
|
@@ -1,3 +1,26 @@
|
|
|
1
|
+
type FindUsProps = {
|
|
2
|
+
network: {
|
|
3
|
+
brand_name: string;
|
|
4
|
+
slug: string;
|
|
5
|
+
platformsSlug: string;
|
|
6
|
+
};
|
|
7
|
+
baseApiUrl: string;
|
|
8
|
+
platformsApiUrl?: string;
|
|
9
|
+
authApiUrl?: string;
|
|
10
|
+
allowStateSearch?: boolean;
|
|
11
|
+
allowZipcodeSearch?: boolean;
|
|
12
|
+
allowAutoScroll?: boolean;
|
|
13
|
+
autoScrollOffset?: number;
|
|
14
|
+
compactLayout?: boolean;
|
|
15
|
+
showChannelSearchAndRescan?: boolean;
|
|
16
|
+
numberOfColumns?: number;
|
|
17
|
+
ad?: {
|
|
18
|
+
campaign?: string | undefined;
|
|
19
|
+
source?: string | undefined;
|
|
20
|
+
medium?: string | undefined;
|
|
21
|
+
content?: string | undefined;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
1
24
|
/**
|
|
2
25
|
* FindUs component for rendering the "Find Us" section.
|
|
3
26
|
* @param {*} param0 - Component props.
|
|
@@ -19,5 +42,5 @@
|
|
|
19
42
|
* @param {string} [param0.ad.content='learn_more'] - The ad content.
|
|
20
43
|
* @returns {JSX.Element} The rendered "Find Us" section.
|
|
21
44
|
*/
|
|
22
|
-
export function FindUs({ network, baseApiUrl, platformsApiUrl,
|
|
45
|
+
export declare function FindUs({ network, baseApiUrl, platformsApiUrl, allowStateSearch, allowZipcodeSearch, allowAutoScroll, autoScrollOffset, compactLayout, showChannelSearchAndRescan, numberOfColumns, ad, }: FindUsProps): JSX.Element;
|
|
23
46
|
export default FindUs;
|
|
@@ -1,111 +1,118 @@
|
|
|
1
|
-
import { jsxs as s, jsx as e, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { getViewingPlatforms as
|
|
4
|
-
import { ChannelSearch as
|
|
5
|
-
import { RescanInstructions as
|
|
6
|
-
import { DeviceAndPlatformLists as
|
|
7
|
-
import { GeneralErrorBoundary as
|
|
8
|
-
import '../../assets/FindUs.css';const
|
|
9
|
-
"grid-wrapper": "_grid-
|
|
10
|
-
findus__column:
|
|
1
|
+
import { jsxs as s, jsx as e, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { useState as m, useEffect as w } from "react";
|
|
3
|
+
import { getViewingPlatforms as O } from "../../utils/getViewingPlatforms.js";
|
|
4
|
+
import { ChannelSearch as P } from "../ChannelSearch/ChannelSearch.js";
|
|
5
|
+
import { RescanInstructions as x } from "../RescanInstructions/RescanInstructions.js";
|
|
6
|
+
import { DeviceAndPlatformLists as z } from "../DeviceAndPlatformLists/DeviceAndPlatformLists.js";
|
|
7
|
+
import { GeneralErrorBoundary as f } from "../../error-boundries/GeneralErrorBoundry.js";
|
|
8
|
+
import '../../assets/FindUs.css';const E = "_findus__column_136bp_8", h = {
|
|
9
|
+
"grid-wrapper": "_grid-wrapper_136bp_1",
|
|
10
|
+
findus__column: E
|
|
11
11
|
};
|
|
12
12
|
function G({
|
|
13
|
-
network:
|
|
14
|
-
baseApiUrl:
|
|
15
|
-
platformsApiUrl:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
allowAutoScroll: i = !0,
|
|
13
|
+
network: n,
|
|
14
|
+
baseApiUrl: p,
|
|
15
|
+
platformsApiUrl: _ = "https://api.scrippscloud.com/viewing-platforms/v1",
|
|
16
|
+
allowStateSearch: g = !0,
|
|
17
|
+
allowZipcodeSearch: v = !0,
|
|
18
|
+
allowAutoScroll: o = !0,
|
|
20
19
|
autoScrollOffset: a = 25,
|
|
21
|
-
compactLayout:
|
|
22
|
-
showChannelSearchAndRescan:
|
|
23
|
-
numberOfColumns:
|
|
24
|
-
ad:
|
|
20
|
+
compactLayout: t = !0,
|
|
21
|
+
showChannelSearchAndRescan: c = !0,
|
|
22
|
+
numberOfColumns: b,
|
|
23
|
+
ad: l = {
|
|
25
24
|
campaign: "",
|
|
26
25
|
source: "",
|
|
27
26
|
medium: "referral",
|
|
28
27
|
content: "learn_more"
|
|
29
28
|
}
|
|
30
29
|
}) {
|
|
31
|
-
const [r,
|
|
32
|
-
return
|
|
30
|
+
const [r, y] = m(null), [N, j] = m(o ? a : 0), [u, I] = m(null);
|
|
31
|
+
return w(() => {
|
|
33
32
|
r === null && (async () => {
|
|
34
|
-
const
|
|
35
|
-
|
|
33
|
+
const i = await O({ network: n.platformsSlug, platformsApiUrl: _ });
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(i, "error")) {
|
|
35
|
+
I("An error occured while fetching the platforms."), console.error("An error occured while fetching the platforms:", i), y(/* @__PURE__ */ new Map());
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
y(i);
|
|
36
39
|
})();
|
|
37
|
-
}, [r,
|
|
40
|
+
}, [r, n.platformsSlug, _]), w(() => {
|
|
38
41
|
if (window.innerWidth <= 960) {
|
|
39
|
-
const
|
|
42
|
+
const i = setInterval(() => {
|
|
40
43
|
if (document.querySelector(".mobile-nav")) {
|
|
41
|
-
clearInterval(
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
+
clearInterval(i);
|
|
45
|
+
const d = document.querySelector(".mobile-nav"), M = (d == null ? void 0 : d.offsetHeight) ?? 0;
|
|
46
|
+
j(M + a);
|
|
44
47
|
}
|
|
45
48
|
}, 100);
|
|
46
49
|
}
|
|
47
|
-
}, [a]), /* @__PURE__ */ s("section", { className: [
|
|
48
|
-
|
|
49
|
-
|
|
50
|
+
}, [a]), /* @__PURE__ */ s("section", { className: [h["find-us"], t ? "find-us--compact" : ""].join(" "), children: [
|
|
51
|
+
c && !t && /* @__PURE__ */ e(
|
|
52
|
+
f,
|
|
50
53
|
{
|
|
51
|
-
errorTitle: "We're sorry, there's currently an issue with our channel search.",
|
|
52
54
|
errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
|
|
55
|
+
errorTitle: "We're sorry, there's currently an issue with our channel search.",
|
|
53
56
|
children: /* @__PURE__ */ e("div", { className: "find-us__channel-search-section", children: /* @__PURE__ */ e(
|
|
54
|
-
|
|
57
|
+
P,
|
|
55
58
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
59
|
+
ad: {
|
|
60
|
+
campaign: l.campaign ?? "",
|
|
61
|
+
source: l.source ?? "",
|
|
62
|
+
medium: l.medium ?? "referral",
|
|
63
|
+
content: l.content ?? "learn_more"
|
|
64
|
+
},
|
|
65
|
+
allowAutoScroll: o,
|
|
66
|
+
allowStateSearch: g,
|
|
67
|
+
allowZipcodeSearch: v,
|
|
68
|
+
autoScrollOffset: N,
|
|
69
|
+
baseApiUrl: p,
|
|
70
|
+
compactLayout: t,
|
|
71
|
+
network: n
|
|
65
72
|
}
|
|
66
73
|
) })
|
|
67
74
|
}
|
|
68
75
|
),
|
|
69
|
-
/* @__PURE__ */ e("div", { className: "find-us__rescan-platform-section", children: /* @__PURE__ */ s("div", { className: [
|
|
70
|
-
|
|
71
|
-
|
|
76
|
+
/* @__PURE__ */ e("div", { className: "find-us__rescan-platform-section", children: /* @__PURE__ */ s("div", { className: [h["grid-wrapper"], "findus__grid-wrapper", c ? "" : "findus__grid-wrapper--full-width"].join(" "), children: [
|
|
77
|
+
c && /* @__PURE__ */ s("div", { className: [h.findus__column, "findus__column"].join(" "), children: [
|
|
78
|
+
t && /* @__PURE__ */ s(W, { children: [
|
|
72
79
|
/* @__PURE__ */ s("h4", { className: "channel-search__header", children: [
|
|
73
80
|
"Digital Antenna ",
|
|
74
81
|
/* @__PURE__ */ e("span", { className: "channel-search__header--lighter", children: "(Over-the-Air Broadcast)" })
|
|
75
82
|
] }),
|
|
76
83
|
/* @__PURE__ */ e(
|
|
77
|
-
|
|
84
|
+
f,
|
|
78
85
|
{
|
|
79
|
-
errorTitle: "We're sorry, there's currently an issue with our channel search.",
|
|
80
86
|
errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
|
|
87
|
+
errorTitle: "We're sorry, there's currently an issue with our channel search.",
|
|
81
88
|
children: /* @__PURE__ */ e(
|
|
82
|
-
|
|
89
|
+
P,
|
|
83
90
|
{
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
compactLayout: n
|
|
91
|
+
allowAutoScroll: o,
|
|
92
|
+
allowStateSearch: g,
|
|
93
|
+
allowZipcodeSearch: v,
|
|
94
|
+
autoScrollOffset: N,
|
|
95
|
+
baseApiUrl: p,
|
|
96
|
+
compactLayout: t,
|
|
97
|
+
network: n
|
|
92
98
|
}
|
|
93
99
|
)
|
|
94
100
|
}
|
|
95
101
|
)
|
|
96
102
|
] }),
|
|
97
|
-
/* @__PURE__ */ e(
|
|
103
|
+
/* @__PURE__ */ e(x, { brandName: n.brand_name })
|
|
98
104
|
] }),
|
|
99
105
|
/* @__PURE__ */ s(
|
|
100
|
-
|
|
106
|
+
f,
|
|
101
107
|
{
|
|
102
|
-
errorTitle: "We're sorry, there's currently an issue with our device and platform lists.",
|
|
103
108
|
errorMessage: "Please try again later. If the problem persists please use the <strong>contact us</strong> link below to report the issue.",
|
|
109
|
+
errorTitle: "We're sorry, there's currently an issue with our device and platform lists.",
|
|
104
110
|
children: [
|
|
105
|
-
r !== null && r.size > 0 &&
|
|
111
|
+
r !== null && r.size > 0 && u === null && /* @__PURE__ */ e(z, { platformResources: r, ...b && { numberOfColumns: b } }),
|
|
112
|
+
r !== null && r.size > 0 && u !== null && /* @__PURE__ */ e("div", { className: "find-us__error", children: /* @__PURE__ */ e("p", { className: "find-us__error-message", children: u }) }),
|
|
106
113
|
r !== null && r.size === 0 && /* @__PURE__ */ e("div", { className: "find-us__error", children: /* @__PURE__ */ s("p", { className: "find-us__error-message", children: [
|
|
107
114
|
"We couldn't find any viewing platforms for ",
|
|
108
|
-
|
|
115
|
+
n.brand_name,
|
|
109
116
|
"."
|
|
110
117
|
] }) })
|
|
111
118
|
]
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { FindUs
|
|
1
|
+
export { FindUs } from './FindUs';
|
|
2
|
+
export { FindUs as default } from './FindUs';
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { AnchorLink } from '../../types';
|
|
2
|
+
type FooterNavigationProps = {
|
|
3
|
+
sections?: Array<{
|
|
4
|
+
classname?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
links?: AnchorLink[];
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
9
|
+
export declare function FooterNavigation({ sections }: FooterNavigationProps): JSX.Element;
|
|
4
10
|
export default FooterNavigation;
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { jsxs as n, jsx as
|
|
2
|
-
import "react";
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
3
2
|
import { NavList as e } from "../NavList/NavList.js";
|
|
4
3
|
import '../../assets/FooterNavigation.css';const r = {
|
|
5
4
|
"footer-navigation": "_footer-navigation_8qkwj_1"
|
|
6
5
|
};
|
|
7
|
-
function
|
|
8
|
-
return /* @__PURE__ */ n("nav", {
|
|
9
|
-
/* @__PURE__ */
|
|
10
|
-
t.map((
|
|
6
|
+
function f({ sections: t = [] }) {
|
|
7
|
+
return /* @__PURE__ */ n("nav", { "aria-labelledby": "footer-navigation", className: r["footer-navigation"], children: [
|
|
8
|
+
/* @__PURE__ */ o("h4", { className: "sr-only", id: "footer-navigation", children: "Footer Navigation" }),
|
|
9
|
+
t.map((a, i) => /* @__PURE__ */ o(
|
|
11
10
|
e,
|
|
12
11
|
{
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
classname: a.classname,
|
|
13
|
+
links: a.links,
|
|
14
|
+
title: a.title
|
|
16
15
|
},
|
|
17
16
|
`footer-section-${i + 1}`
|
|
18
17
|
))
|
|
19
18
|
] });
|
|
20
19
|
}
|
|
21
20
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
f as FooterNavigation,
|
|
22
|
+
f as default
|
|
24
23
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { FooterNavigation
|
|
1
|
+
export { FooterNavigation } from './FooterNavigation';
|
|
2
|
+
export { FooterNavigation as default } from './FooterNavigation';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
list?:
|
|
3
|
-
type?:
|
|
4
|
-
classname?: string
|
|
5
|
-
}
|
|
1
|
+
type GenericListProps = {
|
|
2
|
+
list?: Array<string | JSX.Element>;
|
|
3
|
+
type?: 'unordered' | 'ordered';
|
|
4
|
+
classname?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function GenericList({ list, type, classname, }: GenericListProps): JSX.Element;
|
|
6
7
|
export default GenericList;
|