@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 1.1.0-alpha.10
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 +27 -0
- package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
- package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
- package/dist/components/ScheduleLayout/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -0
- package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
- package/dist/components/ScheduleList/ScheduleList.js +162 -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 +48 -32
- 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 → getSchedule.d.ts} +12 -4
- package/dist/hooks/getSchedule.js +62 -0
- 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.d.ts +1 -0
- package/dist/index.js +35 -33
- 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 +19 -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
- package/dist/hooks/useGetSchedule.js +0 -58
|
@@ -1,15 +1,20 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
type BlankErrorBoundaryProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
errorTitle?: string;
|
|
5
|
+
errorMessage?: string;
|
|
6
|
+
};
|
|
7
|
+
type BlankErrorBoundaryState = {
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
errorTitle: string;
|
|
10
|
+
errorMessage: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class BlankErrorBoundary extends React.Component<BlankErrorBoundaryProps, BlankErrorBoundaryState> {
|
|
3
13
|
static getDerivedStateFromError(): {
|
|
4
14
|
hasError: boolean;
|
|
5
15
|
};
|
|
6
|
-
constructor(props:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
errorTitle: any;
|
|
10
|
-
errorMessage: any;
|
|
11
|
-
};
|
|
12
|
-
componentDidCatch(error: any, errorInfo: any): void;
|
|
13
|
-
render(): any;
|
|
16
|
+
constructor(props: BlankErrorBoundaryProps);
|
|
17
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
18
|
+
render(): null | React.ReactNode;
|
|
14
19
|
}
|
|
15
20
|
export default BlankErrorBoundary;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import t from "react";
|
|
2
2
|
class s extends t.Component {
|
|
3
|
+
static getDerivedStateFromError() {
|
|
4
|
+
return {
|
|
5
|
+
hasError: !0
|
|
6
|
+
};
|
|
7
|
+
}
|
|
3
8
|
constructor(r) {
|
|
4
9
|
super(r), this.state = {
|
|
5
10
|
hasError: !1,
|
|
@@ -7,11 +12,6 @@ class s extends t.Component {
|
|
|
7
12
|
errorMessage: r.errorMessage ? r.errorMessage : 'Please try again later. If the problem persists please contact us at <a href="#contact-us">our support page</a>.'
|
|
8
13
|
};
|
|
9
14
|
}
|
|
10
|
-
static getDerivedStateFromError() {
|
|
11
|
-
return {
|
|
12
|
-
hasError: !0
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
15
|
componentDidCatch(r, e) {
|
|
16
16
|
console.error("Caught error: ", r), console.error("Error info: ", e);
|
|
17
17
|
}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
type GeneralErrorBoundaryProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
errorTitle?: string;
|
|
5
|
+
errorMessage?: string;
|
|
6
|
+
};
|
|
7
|
+
type GeneralErrorBoundaryState = {
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
errorTitle: string;
|
|
10
|
+
errorMessage: string;
|
|
11
|
+
};
|
|
12
|
+
export declare class GeneralErrorBoundary extends Component<GeneralErrorBoundaryProps, GeneralErrorBoundaryState> {
|
|
3
13
|
static getDerivedStateFromError(): {
|
|
4
14
|
hasError: boolean;
|
|
5
15
|
};
|
|
6
|
-
constructor(props:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
errorTitle: any;
|
|
10
|
-
errorMessage: any;
|
|
11
|
-
};
|
|
12
|
-
componentDidCatch(error: any, errorInfo: any): void;
|
|
13
|
-
render(): any;
|
|
16
|
+
constructor(props: GeneralErrorBoundaryProps);
|
|
17
|
+
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
18
|
+
render(): React.ReactNode;
|
|
14
19
|
}
|
|
15
20
|
export default GeneralErrorBoundary;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import o from "react";
|
|
2
|
+
import { Component as o } from "react";
|
|
3
3
|
import { ErrorHandler as s } from "../components/ErrorHandler/ErrorHandler.js";
|
|
4
|
-
class
|
|
4
|
+
class h extends o {
|
|
5
|
+
static getDerivedStateFromError() {
|
|
6
|
+
return {
|
|
7
|
+
hasError: !0
|
|
8
|
+
};
|
|
9
|
+
}
|
|
5
10
|
constructor(r) {
|
|
6
11
|
super(r), this.state = {
|
|
7
12
|
hasError: !1,
|
|
@@ -9,19 +14,14 @@ class u extends o.Component {
|
|
|
9
14
|
errorMessage: r.errorMessage ? r.errorMessage : 'Please try again later. If the problem persists please contact us at <a href="#contact-us">our support page</a>.'
|
|
10
15
|
};
|
|
11
16
|
}
|
|
12
|
-
static getDerivedStateFromError() {
|
|
13
|
-
return {
|
|
14
|
-
hasError: !0
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
17
|
componentDidCatch(r, e) {
|
|
18
18
|
console.error("Caught error: ", r), console.error("Error info: ", e);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return this.state.hasError ? /* @__PURE__ */ t(s, {
|
|
21
|
+
return this.state.hasError ? /* @__PURE__ */ t(s, { message: this.state.errorMessage, title: this.state.errorTitle }) : this.props.children;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
h as GeneralErrorBoundary,
|
|
26
|
+
h as default
|
|
27
27
|
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { ScheduleItem } from '../types';
|
|
2
|
+
type UseGetScheduleParams = {
|
|
3
|
+
dateStr: string;
|
|
4
|
+
schedEndpoint: string;
|
|
5
|
+
network?: string | null;
|
|
6
|
+
showEpisodeNumber?: boolean;
|
|
7
|
+
showUpcoming?: boolean;
|
|
8
|
+
};
|
|
2
9
|
/**
|
|
3
10
|
*
|
|
4
11
|
* @param {*} param0
|
|
@@ -9,6 +16,7 @@ export default useGetSchedule;
|
|
|
9
16
|
*
|
|
10
17
|
* @returns {Object[]|{ queryStatus: 'no-results' }} - Array of objects or an object with a queryStatus of 'no-results'
|
|
11
18
|
*/
|
|
12
|
-
declare
|
|
13
|
-
queryStatus:
|
|
14
|
-
}
|
|
19
|
+
declare const getSchedule: ({ dateStr, schedEndpoint, network, showEpisodeNumber, showUpcoming, }: UseGetScheduleParams) => Promise<ScheduleItem[] | {
|
|
20
|
+
queryStatus: string;
|
|
21
|
+
}>;
|
|
22
|
+
export default getSchedule;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { a as p } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as d } from "../format-YhWt2D8M.mjs";
|
|
3
|
+
import { determineSeasonNumber as S, determineEpisodeNumber as _, determineSeasonNumberFromSeriesPrefix as b } from "../utils/series-helpers.js";
|
|
4
|
+
import { convert12to24 as O } from "../utils/helpers.js";
|
|
5
|
+
import { determineIfShowIsOnNow as v } from "../utils/date-helpers.js";
|
|
6
|
+
import { g as x } from "../index-0wieGV50.mjs";
|
|
7
|
+
const P = async ({
|
|
8
|
+
dateStr: o,
|
|
9
|
+
schedEndpoint: h,
|
|
10
|
+
network: $ = null,
|
|
11
|
+
showEpisodeNumber: u = !1,
|
|
12
|
+
showUpcoming: w = !1
|
|
13
|
+
}) => {
|
|
14
|
+
const c = x("America/New_York", new Date(o)) / 36e5, T = d(/* @__PURE__ */ new Date(`${o}T00:00:00`), "yyyy-MM-dd"), i = d(new Date(p(/* @__PURE__ */ new Date(`${o}T00:00:00`), { days: 1 })), "yyyy-MM-dd"), m = (s) => {
|
|
15
|
+
const e = /* @__PURE__ */ new Date(`${o}T06:00:00-0${c * -1}:00`), r = /* @__PURE__ */ new Date(`${i}T06:00:00-0${c * -1}:00`);
|
|
16
|
+
return s.filter((n) => {
|
|
17
|
+
if (!(n != null && n.start_ts_parse)) return !1;
|
|
18
|
+
const l = (n == null ? void 0 : n.start_ts_parse) * 1e3;
|
|
19
|
+
return l >= e.valueOf() && l < r.valueOf();
|
|
20
|
+
});
|
|
21
|
+
}, y = async () => {
|
|
22
|
+
let s = [], e = {
|
|
23
|
+
next: null,
|
|
24
|
+
results: []
|
|
25
|
+
}, r = 0, f = "";
|
|
26
|
+
const n = T, l = i;
|
|
27
|
+
do {
|
|
28
|
+
f = `${h}/${$}?ordering=start_ts_parse&start_date__range=${n},${l}&limit=100&offset=${r}`;
|
|
29
|
+
try {
|
|
30
|
+
const t = await fetch(f);
|
|
31
|
+
if (t != null && t.ok)
|
|
32
|
+
e = await t.json(), s = [...s, ...e.results];
|
|
33
|
+
else {
|
|
34
|
+
console.error(`An error was returned from fetch. HTTP Response Code: ', ${t == null ? void 0 : t.status}`);
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
} catch (t) {
|
|
38
|
+
console.error("Fetch failed with error:", t);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
r += 100;
|
|
42
|
+
} while (e.next !== null);
|
|
43
|
+
return s.length === 0 ? void 0 : m(s).map((t) => ({
|
|
44
|
+
...t,
|
|
45
|
+
showUpcoming: w
|
|
46
|
+
}));
|
|
47
|
+
}, D = (s) => s.filter((e) => {
|
|
48
|
+
if (e.series_prefix === null && e.title_code === null) return !1;
|
|
49
|
+
const r = /* @__PURE__ */ new Date();
|
|
50
|
+
return e.start_ts_parse ? !!(e.start_ts_parse * 1e3 > r.valueOf() || v(`${e.start_date_parse}T${O(e.start_time)}`, e.element_length)) : !1;
|
|
51
|
+
}).map((e) => {
|
|
52
|
+
let r = "";
|
|
53
|
+
return e.series_prefix === null ? r = u ? `${S(e)}${_(e)}` : "" : r = u ? `${b(e)}${_(e)}` : "", {
|
|
54
|
+
...e,
|
|
55
|
+
episode_number: r
|
|
56
|
+
};
|
|
57
|
+
}), a = await y();
|
|
58
|
+
return a === void 0 || a.length === 0 ? { queryStatus: "no-results" } : D(a);
|
|
59
|
+
};
|
|
60
|
+
export {
|
|
61
|
+
P as default
|
|
62
|
+
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { ScheduleItem } from '../types';
|
|
2
|
+
type UseGetUpcomingParams = {
|
|
3
|
+
programId: string;
|
|
4
|
+
programType?: 'series' | 'film';
|
|
5
|
+
SCHEDULE_ENDPOINT: string;
|
|
6
|
+
NETWORK: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useGetUpcoming: ({ programId, programType, SCHEDULE_ENDPOINT, NETWORK, }: UseGetUpcomingParams) => Promise<ScheduleItem[]>;
|
|
1
9
|
export default useGetUpcoming;
|
|
2
|
-
declare function useGetUpcoming({ programId, programType, SCHEDULE_ENDPOINT, NETWORK, }: {
|
|
3
|
-
programId: any;
|
|
4
|
-
programType?: string | undefined;
|
|
5
|
-
SCHEDULE_ENDPOINT: any;
|
|
6
|
-
NETWORK: any;
|
|
7
|
-
}): Promise<any>;
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
programId: r,
|
|
1
|
+
import { a as l } from "../add-UWUc_nrO.mjs";
|
|
2
|
+
import { f as s } from "../format-YhWt2D8M.mjs";
|
|
3
|
+
const r = /* @__PURE__ */ new Date(), w = async ({
|
|
4
|
+
programId: a,
|
|
6
5
|
programType: o = "series",
|
|
7
|
-
SCHEDULE_ENDPOINT:
|
|
8
|
-
NETWORK:
|
|
9
|
-
}) => {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return await u(async () => await (await c(r, o, i, n)).results.filter((s) => s.start_ts_parse * 1e3 > a.valueOf()), [c, r, o, i, n]);
|
|
25
|
-
};
|
|
6
|
+
SCHEDULE_ENDPOINT: n,
|
|
7
|
+
NETWORK: i
|
|
8
|
+
}) => (await (async (e, c, d, f) => {
|
|
9
|
+
const y = /* @__PURE__ */ new Map([
|
|
10
|
+
["series", `series_prefix__icontains=${e}`],
|
|
11
|
+
["film", `title_code__iexact=${e}`]
|
|
12
|
+
]), _ = `${d}/${f}?ordering=start_ts_parse&${y.get(c)}&start_date__range=${s(r, "yyyy-MM-dd")},${s(l(r, { days: 14 }), "yyyy-MM-dd")}&limit=20`;
|
|
13
|
+
try {
|
|
14
|
+
const t = await fetch(_);
|
|
15
|
+
if (t != null && t.ok)
|
|
16
|
+
return await t.json();
|
|
17
|
+
console.error(`An error was returned from fetch. HTTP Response Code: ', ${t == null ? void 0 : t.status}`);
|
|
18
|
+
} catch (t) {
|
|
19
|
+
console.error("Fetch failed with error:", t);
|
|
20
|
+
}
|
|
21
|
+
return { results: [] };
|
|
22
|
+
})(a, o, n, i)).results.filter((e) => (e == null ? void 0 : e.start_ts_parse) * 1e3 > r.valueOf());
|
|
26
23
|
export {
|
|
27
|
-
|
|
24
|
+
w as default
|
|
28
25
|
};
|
package/dist/icons/Facebook.js
CHANGED
|
@@ -13,17 +13,17 @@ const p = w(({
|
|
|
13
13
|
}, v) => /* @__PURE__ */ o(
|
|
14
14
|
"svg",
|
|
15
15
|
{
|
|
16
|
-
ref: v,
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
-
width: r,
|
|
19
|
-
height: r,
|
|
20
|
-
viewBox: d,
|
|
21
16
|
fill: a,
|
|
17
|
+
height: r,
|
|
18
|
+
ref: v,
|
|
22
19
|
stroke: h,
|
|
23
|
-
strokeWidth: t,
|
|
24
20
|
strokeLinecap: n,
|
|
25
21
|
strokeLinejoin: e,
|
|
22
|
+
strokeWidth: t,
|
|
26
23
|
style: l,
|
|
24
|
+
viewBox: d,
|
|
25
|
+
width: r,
|
|
26
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
27
27
|
...u,
|
|
28
28
|
children: /* @__PURE__ */ o("path", { d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z" })
|
|
29
29
|
}
|
package/dist/icons/Tiktok.js
CHANGED
|
@@ -15,19 +15,27 @@ const v = i(({
|
|
|
15
15
|
}, m) => /* @__PURE__ */ r(
|
|
16
16
|
"svg",
|
|
17
17
|
{
|
|
18
|
-
ref: m,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
width: t,
|
|
21
|
-
height: t,
|
|
22
|
-
viewBox: s,
|
|
23
18
|
fill: d,
|
|
19
|
+
height: t,
|
|
20
|
+
ref: m,
|
|
24
21
|
stroke: a,
|
|
25
|
-
strokeWidth: o,
|
|
26
22
|
strokeLinecap: n,
|
|
27
23
|
strokeLinejoin: e,
|
|
24
|
+
strokeWidth: o,
|
|
28
25
|
style: f,
|
|
26
|
+
viewBox: s,
|
|
27
|
+
width: t,
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
...h,
|
|
30
|
-
children: /* @__PURE__ */ r("g", { id: "off", transform: "translate(-5.031 -32)", children: /* @__PURE__ */ r(
|
|
30
|
+
children: /* @__PURE__ */ r("g", { id: "off", transform: "translate(-5.031 -32)", children: /* @__PURE__ */ r(
|
|
31
|
+
"path",
|
|
32
|
+
{
|
|
33
|
+
d: "M122.882-21.652a3.856,3.856,0,0,0,3.808,3.775v2.553a5.968,5.968,0,0,1-3.766-1.084v4.777c0,6.067-6.748,7.961-9.464,3.61-1.75-2.786-.686-7.7,4.914-7.906v2.69a8.982,8.982,0,0,0-1.3.316,2.168,2.168,0,0,0-1.75,2.553c.378,2.608,5.264,3.39,4.858-1.716v-9.567Z",
|
|
34
|
+
"data-name": "Path 17",
|
|
35
|
+
id: "Path_17",
|
|
36
|
+
transform: "translate(-99.658 60.651)"
|
|
37
|
+
}
|
|
38
|
+
) })
|
|
31
39
|
}
|
|
32
40
|
));
|
|
33
41
|
export {
|
package/dist/icons/Twitter.js
CHANGED
|
@@ -15,19 +15,19 @@ const c = m(({
|
|
|
15
15
|
}, f) => /* @__PURE__ */ r(
|
|
16
16
|
"svg",
|
|
17
17
|
{
|
|
18
|
-
ref: f,
|
|
19
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
-
width: t,
|
|
21
|
-
height: t,
|
|
22
|
-
viewBox: l,
|
|
23
18
|
fill: s,
|
|
19
|
+
height: t,
|
|
20
|
+
ref: f,
|
|
24
21
|
stroke: o,
|
|
25
|
-
strokeWidth: n,
|
|
26
22
|
strokeLinecap: a,
|
|
27
23
|
strokeLinejoin: e,
|
|
24
|
+
strokeWidth: n,
|
|
28
25
|
style: d,
|
|
26
|
+
viewBox: l,
|
|
27
|
+
width: t,
|
|
28
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
...h,
|
|
30
|
-
children: /* @__PURE__ */ r("g", { transform: "translate(-5.031 -32)", children: /* @__PURE__ */ r("path", { d: "M6.166,7.852h0l-.514-.775L1.56.909H3.321l3.3,4.977.514.775,4.293,6.47H9.669ZM11.43,0l-4.2,5.147L3.871,0H0L5.075,7.784,0,14H1.147L5.585,8.565,9.129,14H13L7.736,5.927,12.577,0Z", transform: "translate(14.031 40)"
|
|
30
|
+
children: /* @__PURE__ */ r("g", { transform: "translate(-5.031 -32)", children: /* @__PURE__ */ r("path", { d: "M6.166,7.852h0l-.514-.775L1.56.909H3.321l3.3,4.977.514.775,4.293,6.47H9.669ZM11.43,0l-4.2,5.147L3.871,0H0L5.075,7.784,0,14H1.147L5.585,8.565,9.129,14H13L7.736,5.927,12.577,0Z", strokeWidth: "0", transform: "translate(14.031 40)" }) })
|
|
31
31
|
}
|
|
32
32
|
));
|
|
33
33
|
export {
|
package/dist/index.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export { ErrorHandler } from './components/ErrorHandler';
|
|
|
67
67
|
export { ImageReplacementAnchor } from './components/ImageReplacementAnchor';
|
|
68
68
|
export { GetAirdateWrapper } from './components/GetAirdateWrapper';
|
|
69
69
|
export { Loading } from './components/Loading';
|
|
70
|
+
export { LoadingV2 } from './components/LoadingV2';
|
|
70
71
|
export { ResponsiveImage } from './components/ResponsiveImage';
|
|
71
72
|
export { StringList } from './components/StringList';
|
|
72
73
|
export { GeneralErrorBoundary } from './error-boundries/GeneralErrorBoundry';
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { PromotionsRowBlock as n } from "./components/PromotionsRowBlock/Promoti
|
|
|
6
6
|
import { SocialShareBlock as s } from "./components/SocialShareBlock/SocialShareBlock.js";
|
|
7
7
|
import { ActionButton as u } from "./components/ActionButton/ActionButton.js";
|
|
8
8
|
import { Button as g } from "./components/Button/Button.js";
|
|
9
|
-
import { GradientButton as
|
|
9
|
+
import { GradientButton as C } from "./components/GradientButton/GradientButton.js";
|
|
10
10
|
import { Carousel as B } from "./components/Carousel/Carousel.js";
|
|
11
11
|
import { CarouselSlide as A } from "./components/CarouselSlide/CarouselSlide.js";
|
|
12
12
|
import { Empty as T } from "./components/CarouselSlide/slide-layouts/Empty/Empty.js";
|
|
@@ -15,10 +15,10 @@ import { ImageCardSlide as P } from "./components/CarouselSlide/slide-layouts/Im
|
|
|
15
15
|
import { ShowSlide as k } from "./components/CarouselSlide/slide-layouts/Show/ShowSlide.js";
|
|
16
16
|
import { TextSlide as G } from "./components/CarouselSlide/slide-layouts/Text/TextSlide.js";
|
|
17
17
|
import { VideoSlide as N } from "./components/CarouselSlide/slide-layouts/Video/VideoSlide.js";
|
|
18
|
-
import { C as E } from "./ChoicesItem-
|
|
18
|
+
import { C as E } from "./ChoicesItem-CT9fXB0I.mjs";
|
|
19
19
|
import { ChoicesList as H } from "./components/ChoicesList/ChoicesList.js";
|
|
20
|
-
import { CreateChoiceList as
|
|
21
|
-
import { CustomDataList as
|
|
20
|
+
import { CreateChoiceList as q } from "./components/CreateChoiceList/CreateChoiceList.js";
|
|
21
|
+
import { CustomDataList as U } from "./components/CustomDataList/CustomDataList.js";
|
|
22
22
|
import { CustomSelect as W } from "./components/CustomSelect/CustomSelect.js";
|
|
23
23
|
import { Input as K } from "./components/Input/Input.js";
|
|
24
24
|
import { Select as Q } from "./components/Select/Select.js";
|
|
@@ -32,7 +32,7 @@ import { ProgramAirdate as ao } from "./components/ProgramAirdate/ProgramAirdate
|
|
|
32
32
|
import { PromotionsRowModule as no } from "./components/PromotionsRowModule/PromotionsRowModule.js";
|
|
33
33
|
import { RescanInstructions as so } from "./components/RescanInstructions/RescanInstructions.js";
|
|
34
34
|
import { ScheduleLayout as co } from "./components/ScheduleLayout/ScheduleLayout.js";
|
|
35
|
-
import { SectionedContent as
|
|
35
|
+
import { SectionedContent as Lo } from "./components/SectionedContent/SectionedContent.js";
|
|
36
36
|
import { ShowAboutLayout as So } from "./components/ShowAboutLayout/ShowAboutLayout.js";
|
|
37
37
|
import { TabbedContent as ho } from "./components/TabbedContent/TabbedContent.js";
|
|
38
38
|
import { AdjustableTwoColumnGrid as Io } from "./components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
|
|
@@ -43,8 +43,8 @@ import { ModalContainer as Fo } from "./components/ModalContainer/ModalContainer
|
|
|
43
43
|
import { PageHero as wo } from "./components/PageHero/PageHero.js";
|
|
44
44
|
import { TabContent as Do } from "./components/TabContent/TabContent.js";
|
|
45
45
|
import { FeaturedList as Mo } from "./components/FeaturedList/FeaturedList.js";
|
|
46
|
-
import { GenericList as
|
|
47
|
-
import { GridList as
|
|
46
|
+
import { GenericList as Vo } from "./components/GenericList/GenericList.js";
|
|
47
|
+
import { GridList as zo } from "./components/GridList/GridList.js";
|
|
48
48
|
import { LogoListItem as jo } from "./components/LogoListItem/LogoListItem.js";
|
|
49
49
|
import { NavList as Jo } from "./components/NavList/NavList.js";
|
|
50
50
|
import { ScheduleList as Oo } from "./components/ScheduleList/ScheduleList.js";
|
|
@@ -59,7 +59,7 @@ import { TabNavigation as ir } from "./components/TabNavigation/TabNavigation.js
|
|
|
59
59
|
import { ResultsTable as lr } from "./components/ResultsTable/ResultsTable.js";
|
|
60
60
|
import { ResultsTableBody as dr } from "./components/ResultsTableBody/ResultsTableBody.js";
|
|
61
61
|
import { ResultsTableHeader as cr } from "./components/ResultsTableHeader/ResultsTableHeader.js";
|
|
62
|
-
import { AirDateFormatter as
|
|
62
|
+
import { AirDateFormatter as Lr } from "./components/AirDateFormatter/AirDateFormatter.js";
|
|
63
63
|
import { AnchorTag as Sr } from "./components/AnchorTag/AnchorTag.js";
|
|
64
64
|
import { ButtonAnchor as hr } from "./components/ButtonAnchor/ButtonAnchor.js";
|
|
65
65
|
import { Concat as Ir } from "./components/Concat/Concat.js";
|
|
@@ -67,24 +67,25 @@ import { ErrorHandler as br } from "./components/ErrorHandler/ErrorHandler.js";
|
|
|
67
67
|
import { ImageReplacementAnchor as yr } from "./components/ImageReplacementAnchor/ImageReplacementAnchor.js";
|
|
68
68
|
import { GetAirdateWrapper as Rr } from "./components/GetAirdateWrapper/GetAirdateWrapper.js";
|
|
69
69
|
import { Loading as Fr } from "./components/Loading/Loading.js";
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
70
|
+
import { LoadingV2 as wr } from "./components/LoadingV2/LoadingV2.js";
|
|
71
|
+
import { ResponsiveImage as Dr } from "./components/ResponsiveImage/ResponsiveImage.js";
|
|
72
|
+
import { StringList as Mr } from "./components/StringList/StringList.js";
|
|
73
|
+
import { GeneralErrorBoundary as Vr } from "./error-boundries/GeneralErrorBoundry.js";
|
|
74
|
+
import { BlankErrorBoundary as zr } from "./error-boundries/BlankErrorBoundry.js";
|
|
75
|
+
import { BCVideoPlayer as jr } from "./components/BCVideoPlayer/BCVideoPlayer.js";
|
|
76
|
+
import { PromotionBlock as Jr } from "./components/PromotionBlock/PromotionBlock.js";
|
|
77
|
+
import { DeviceAndPlatformLists as Or } from "./components/DeviceAndPlatformLists/DeviceAndPlatformLists.js";
|
|
78
|
+
import { InstructionsList as Xr } from "./components/InstructionsList/InstructionsList.js";
|
|
79
|
+
import { Figure as Zr } from "./components/Figure/Figure.js";
|
|
79
80
|
export {
|
|
80
81
|
u as ActionButton,
|
|
81
82
|
e as AdBlock,
|
|
82
83
|
Io as AdjustableTwoColumnGrid,
|
|
83
|
-
|
|
84
|
+
Lr as AirDateFormatter,
|
|
84
85
|
Sr as AnchorTag,
|
|
85
|
-
|
|
86
|
+
jr as BCVideoPlayer,
|
|
86
87
|
oo as BasicGridModule,
|
|
87
|
-
|
|
88
|
+
zr as BlankErrorBoundary,
|
|
88
89
|
g as Button,
|
|
89
90
|
hr as ButtonAnchor,
|
|
90
91
|
B as Carousel,
|
|
@@ -94,36 +95,37 @@ export {
|
|
|
94
95
|
E as ChoicesItem,
|
|
95
96
|
H as ChoicesList,
|
|
96
97
|
Ir as Concat,
|
|
97
|
-
|
|
98
|
+
q as CreateChoiceList,
|
|
98
99
|
m as CtaBlock,
|
|
99
|
-
|
|
100
|
+
U as CustomDataList,
|
|
100
101
|
W as CustomSelect,
|
|
101
102
|
Zo as DateNavigation,
|
|
102
103
|
_ as DatePicker,
|
|
103
|
-
|
|
104
|
+
Or as DeviceAndPlatformLists,
|
|
104
105
|
$o as DrawerNavigation,
|
|
105
106
|
T as Empty,
|
|
106
107
|
bo as EqualSizeFlexRow,
|
|
107
108
|
yo as EqualSizeGrid,
|
|
108
109
|
br as ErrorHandler,
|
|
109
110
|
Mo as FeaturedList,
|
|
110
|
-
|
|
111
|
+
Zr as Figure,
|
|
111
112
|
v as FigureSlide,
|
|
112
113
|
fo as FindUs,
|
|
113
114
|
rr as FooterNavigation,
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
Vr as GeneralErrorBoundary,
|
|
116
|
+
Vo as GenericList,
|
|
116
117
|
Rr as GetAirdateWrapper,
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
C as GradientButton,
|
|
119
|
+
zo as GridList,
|
|
119
120
|
f as ImageCard,
|
|
120
121
|
P as ImageCardSlide,
|
|
121
122
|
yr as ImageReplacementAnchor,
|
|
122
123
|
Ro as InfoPanel,
|
|
123
124
|
tr as InlineNavigation,
|
|
124
125
|
K as Input,
|
|
125
|
-
|
|
126
|
+
Xr as InstructionsList,
|
|
126
127
|
Fr as Loading,
|
|
128
|
+
wr as LoadingV2,
|
|
127
129
|
jo as LogoListItem,
|
|
128
130
|
pr as LogoNavigation,
|
|
129
131
|
Fo as ModalContainer,
|
|
@@ -131,23 +133,23 @@ export {
|
|
|
131
133
|
Jo as NavList,
|
|
132
134
|
wo as PageHero,
|
|
133
135
|
ao as ProgramAirdate,
|
|
134
|
-
|
|
136
|
+
Jr as PromotionBlock,
|
|
135
137
|
n as PromotionsRowBlock,
|
|
136
138
|
no as PromotionsRowModule,
|
|
137
139
|
so as RescanInstructions,
|
|
138
|
-
|
|
140
|
+
Dr as ResponsiveImage,
|
|
139
141
|
lr as ResultsTable,
|
|
140
142
|
dr as ResultsTableBody,
|
|
141
143
|
cr as ResultsTableHeader,
|
|
142
144
|
co as ScheduleLayout,
|
|
143
145
|
Oo as ScheduleList,
|
|
144
|
-
|
|
146
|
+
Lo as SectionedContent,
|
|
145
147
|
Q as Select,
|
|
146
148
|
So as ShowAboutLayout,
|
|
147
149
|
k as ShowSlide,
|
|
148
150
|
xr as SocialLinks,
|
|
149
151
|
s as SocialShareBlock,
|
|
150
|
-
|
|
152
|
+
Mr as StringList,
|
|
151
153
|
Do as TabContent,
|
|
152
154
|
ir as TabNavigation,
|
|
153
155
|
ho as TabbedContent,
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
class a {
|
|
2
|
+
constructor(r = "") {
|
|
3
|
+
this.namespace = "", this.component = "", this.shouldLog = !0, this.backgroundColor = "transparent", this.logLevel = "log", this.LevelColors = {
|
|
4
|
+
log: "#a9a9a9",
|
|
5
|
+
info: "#0061ff",
|
|
6
|
+
warn: "#ff9d00",
|
|
7
|
+
error: "#ff5252"
|
|
8
|
+
}, this.logger = (o, ...t) => {
|
|
9
|
+
if (!this.shouldLog && this.logLevel !== "error" && this.logLevel !== "warn")
|
|
10
|
+
return;
|
|
11
|
+
const n = `color: ${this.LevelColors[this.logLevel]}; background-color: ${this.backgroundColor};`;
|
|
12
|
+
console[this.logLevel](o, "color: #00d68b; font-weight: bold;", n, ...t);
|
|
13
|
+
}, this.log = (o, ...t) => {
|
|
14
|
+
this.logLevel = "log", this.logger(this.formatMessage(o), ...t);
|
|
15
|
+
}, this.info = (o, ...t) => {
|
|
16
|
+
this.logLevel = "info", this.logger(this.formatMessage(o), ...t);
|
|
17
|
+
}, this.error = (o, ...t) => {
|
|
18
|
+
this.logLevel = "error", this.logger(this.formatMessage(o), ...t);
|
|
19
|
+
}, this.warn = (o, ...t) => {
|
|
20
|
+
this.logLevel = "warn", this.logger(this.formatMessage(o), ...t);
|
|
21
|
+
}, this.setNamespace = (o) => {
|
|
22
|
+
this.namespace = o;
|
|
23
|
+
}, this.getNamespace = () => this.namespace, this.clearNamespace = () => {
|
|
24
|
+
this.namespace = "";
|
|
25
|
+
}, this.setComponent = (o) => {
|
|
26
|
+
this.component = o;
|
|
27
|
+
}, this.getComponent = () => this.component, this.clearComponent = () => {
|
|
28
|
+
this.component = "";
|
|
29
|
+
}, this.setShouldLog = (o) => {
|
|
30
|
+
this.shouldLog = o;
|
|
31
|
+
}, this.getShouldLog = () => this.shouldLog, this.setBackgroundColor = (o) => {
|
|
32
|
+
this.backgroundColor = o;
|
|
33
|
+
}, this.getBackgroundColor = () => this.backgroundColor, this.clearBackgroundColor = () => {
|
|
34
|
+
this.backgroundColor = "transparent";
|
|
35
|
+
}, this.formatMessage = (o) => {
|
|
36
|
+
let t = o;
|
|
37
|
+
return this.namespace ? t = `%c[${this.namespace}]${this.component ? ": " + this.component + " : " : " "}%c${o}` : t = `%c${this.component ? ": " + this.component + " : " : ""}%c${o}`, t;
|
|
38
|
+
}, this.namespace = r;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
class s {
|
|
42
|
+
constructor() {
|
|
43
|
+
}
|
|
44
|
+
static getInstance() {
|
|
45
|
+
return s.instance || (s.instance = new a()), s.instance;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const e = s.getInstance(), g = {
|
|
49
|
+
log: e.log,
|
|
50
|
+
info: e.info,
|
|
51
|
+
warn: e.warn,
|
|
52
|
+
error: e.error,
|
|
53
|
+
setBackgroundColor: e.setBackgroundColor,
|
|
54
|
+
getBackgroundColor: e.getBackgroundColor,
|
|
55
|
+
clearBackgroundColor: e.clearBackgroundColor,
|
|
56
|
+
setComponent: e.setComponent,
|
|
57
|
+
getComponent: e.getComponent,
|
|
58
|
+
clearComponent: e.clearComponent,
|
|
59
|
+
setNamespace: e.setNamespace,
|
|
60
|
+
getNamespace: e.getNamespace,
|
|
61
|
+
clearNamespace: e.clearNamespace,
|
|
62
|
+
setShouldLog: e.setShouldLog,
|
|
63
|
+
getShouldLog: e.getShouldLog
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
g as l
|
|
67
|
+
};
|
package/dist/settings.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { lazy as o } from "react";
|
|
2
|
-
const
|
|
2
|
+
const i = /* @__PURE__ */ new Map([
|
|
3
3
|
["Figure", o(() => import("./components/CarouselSlide/slide-layouts/Figure/index.js"))],
|
|
4
4
|
["ImageCard", o(() => import("./components/CarouselSlide/slide-layouts/ImageCard/index.js"))],
|
|
5
5
|
["NetworkCalloutSlide", o(() => import("./components/CarouselSlide/slide-layouts/NetworkCallout/index.js"))],
|
|
6
6
|
["ShowSlide", o(() => import("./components/CarouselSlide/slide-layouts/Show/index.js"))],
|
|
7
7
|
["TextSlide", o(() => import("./components/CarouselSlide/slide-layouts/Text/index.js"))],
|
|
8
|
-
["TwoColumnSlide", o(() => import("./components/CarouselSlide/slide-layouts/TwoColumn/index.js"))]
|
|
9
|
-
|
|
8
|
+
["TwoColumnSlide", o(() => import("./components/CarouselSlide/slide-layouts/TwoColumn/index.js"))],
|
|
9
|
+
["VideoSlide", o(() => import("./components/CarouselSlide/slide-layouts/Video/index.js"))]
|
|
10
|
+
]), r = /* @__PURE__ */ new Map([
|
|
10
11
|
["ImageOnlyHero", o(() => import("./components/PageHero/page-hero-layouts/ImageOnly/index.js"))],
|
|
11
12
|
["IONShowHero", o(() => import("./components/PageHero/page-hero-layouts/IONShow/index.js"))],
|
|
12
13
|
["ContentHero", o(() => import("./components/PageHero/page-hero-layouts/ContentHero/index.js"))]
|
|
@@ -25,6 +26,6 @@ const r = /* @__PURE__ */ new Map([
|
|
|
25
26
|
]);
|
|
26
27
|
export {
|
|
27
28
|
e as blockLayoutsMap,
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
r as pageHeroLayoutsMap,
|
|
30
|
+
i as slideLayoutsMap
|
|
30
31
|
};
|
package/dist/utils/Redirect.d.ts
CHANGED
package/dist/utils/analytics.js
CHANGED
|
@@ -462,7 +462,7 @@ const ie = /* @__PURE__ */ $(ae), ue = (g, h = "local", y) => {
|
|
|
462
462
|
scripps_brand: g,
|
|
463
463
|
scripps_platform: "Web"
|
|
464
464
|
}
|
|
465
|
-
}) : console.
|
|
465
|
+
}) : console.warn("** Note: Google Analytics is only initialized in staging and production environments. **");
|
|
466
466
|
};
|
|
467
467
|
export {
|
|
468
468
|
ue as initializeAnalytics
|