@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
- package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
- package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
- package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
- package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
- package/dist/assets/ActionButton.css +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/AirDateFormatter.css +1 -1
- package/dist/assets/AnchorTag.css +1 -1
- package/dist/assets/BasicGridModule.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Carousel.css +1 -1
- package/dist/assets/CarouselSlide.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/ChoicesItem.css +1 -1
- package/dist/assets/ContentHero.css +1 -1
- package/dist/assets/CtaBlock.css +1 -1
- package/dist/assets/CustomDataList.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/Figure.css +1 -1
- package/dist/assets/Figure2.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/GradientButton.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/InlineNavigation.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/assets/ScheduleLayout.css +1 -0
- package/dist/assets/ScheduleList.css +1 -1
- package/dist/assets/ShowAboutLayout.css +1 -1
- package/dist/assets/ShowSlide.css +1 -1
- package/dist/assets/SocialLinks.css +1 -1
- package/dist/assets/TextSlide.css +1 -1
- package/dist/assets/TwoColumnSlide.css +1 -1
- package/dist/assets/UpcomingList.css +1 -1
- package/dist/components/ActionButton/ActionButton.d.ts +20 -1
- package/dist/components/ActionButton/ActionButton.js +36 -36
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/components/AdBlock/AdBlock.d.ts +20 -1
- package/dist/components/AdBlock/AdBlock.js +118 -83
- package/dist/components/AdBlock/index.d.ts +2 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
- package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
- package/dist/components/AirDateFormatter/index.d.ts +2 -1
- package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
- package/dist/components/AnchorTag/AnchorTag.js +22 -23
- package/dist/components/AnchorTag/index.d.ts +2 -1
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
- package/dist/components/BCVideoPlayer/index.d.ts +2 -1
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
- package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
- package/dist/components/BasicGridModule/index.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +18 -17
- package/dist/components/Button/Button.js +31 -32
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
- package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
- package/dist/components/ButtonAnchor/index.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts +7 -24
- package/dist/components/Carousel/Carousel.js +113 -113
- package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
- package/dist/components/Carousel/CarouselUtils.class.js +85 -55
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/navigations/Pagination.js +12 -10
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
- package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
- package/dist/components/CarouselSlide/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
- package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
- package/dist/components/ChannelSearch/index.d.ts +2 -1
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
- package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
- package/dist/components/ChoicesItem/index.d.ts +2 -1
- package/dist/components/ChoicesItem/index.js +1 -1
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
- package/dist/components/ChoicesList/ChoicesList.js +3 -4
- package/dist/components/ChoicesList/index.d.ts +2 -1
- package/dist/components/Concat/Concat.d.ts +4 -3
- package/dist/components/Concat/Concat.js +5 -5
- package/dist/components/Concat/index.d.ts +2 -1
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
- package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
- package/dist/components/CreateChoiceList/index.d.ts +2 -1
- package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
- package/dist/components/CtaBlock/CtaBlock.js +23 -22
- package/dist/components/CtaBlock/index.d.ts +2 -1
- package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
- package/dist/components/CustomDataList/CustomDataList.js +200 -174
- package/dist/components/CustomDataList/index.d.ts +2 -1
- package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
- package/dist/components/CustomSelect/CustomSelect.js +224 -154
- package/dist/components/CustomSelect/index.d.ts +2 -1
- package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
- package/dist/components/DateNavigation/DateNavigation.js +125 -82
- package/dist/components/DateNavigation/index.d.ts +2 -1
- package/dist/components/DatePicker/index.d.ts +2 -1
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
- package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
- package/dist/components/DrawerNavigation/index.d.ts +2 -1
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
- package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
- package/dist/components/EqualSizeGrid/index.d.ts +2 -1
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
- package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
- package/dist/components/ErrorHandler/index.d.ts +2 -1
- package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
- package/dist/components/FeaturedList/FeaturedList.js +44 -36
- package/dist/components/FeaturedList/index.d.ts +2 -1
- package/dist/components/Figure/Figure.d.ts +5 -4
- package/dist/components/Figure/Figure.js +8 -9
- package/dist/components/Figure/index.d.ts +2 -1
- package/dist/components/FindUs/FindUs.d.ts +24 -1
- package/dist/components/FindUs/FindUs.js +70 -63
- package/dist/components/FindUs/index.d.ts +2 -1
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
- package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
- package/dist/components/FooterNavigation/index.d.ts +2 -1
- package/dist/components/GenericList/GenericList.d.ts +6 -5
- package/dist/components/GenericList/GenericList.js +13 -14
- package/dist/components/GenericList/index.d.ts +2 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
- package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
- package/dist/components/GradientButton/GradientButton.d.ts +15 -14
- package/dist/components/GradientButton/GradientButton.js +37 -40
- package/dist/components/GradientButton/index.d.ts +2 -1
- package/dist/components/GridList/GridList.d.ts +6 -5
- package/dist/components/GridList/GridList.js +14 -10
- package/dist/components/GridList/index.d.ts +2 -1
- package/dist/components/ImageCard/ImageCard.d.ts +27 -1
- package/dist/components/ImageCard/ImageCard.js +59 -58
- package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
- package/dist/components/ImageCard/ImageCardCore.js +114 -89
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
- package/dist/components/InfoPanel/InfoPanel.js +2 -2
- package/dist/components/InfoPanel/index.d.ts +2 -1
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
- package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
- package/dist/components/Input/Input.d.ts +10 -9
- package/dist/components/Input/Input.js +47 -40
- package/dist/components/Input/index.d.ts +2 -1
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
- package/dist/components/InstructionsList/InstructionsList.js +20 -10
- package/dist/components/InstructionsList/index.d.ts +2 -1
- package/dist/components/Loading/Loading.d.ts +8 -7
- package/dist/components/Loading/Loading.js +25 -20
- package/dist/components/Loading/index.d.ts +2 -1
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
- package/dist/components/LoadingV2/LoadingV2.js +31 -21
- package/dist/components/LoadingV2/index.d.ts +2 -1
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
- package/dist/components/LogoListItem/LogoListItem.js +34 -17
- package/dist/components/LogoListItem/index.d.ts +2 -1
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
- package/dist/components/LogoNavigation/index.d.ts +2 -1
- package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
- package/dist/components/ModalContainer/ModalContainer.js +84 -72
- package/dist/components/ModalContainer/index.d.ts +2 -1
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
- package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
- package/dist/components/NavList/NavList.d.ts +9 -7
- package/dist/components/NavList/NavList.js +56 -20
- package/dist/components/NavList/index.d.ts +2 -1
- package/dist/components/Overlay/Overlay.d.ts +5 -5
- package/dist/components/Overlay/Overlay.js +8 -5
- package/dist/components/PageHero/PageHero.d.ts +6 -5
- package/dist/components/PageHero/PageHero.js +29 -16
- package/dist/components/PageHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
- package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
- package/dist/components/ProgramAirdate/index.d.ts +2 -1
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
- package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
- package/dist/components/PromotionBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
- package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
- package/dist/components/PromotionsRowModule/index.d.ts +2 -1
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
- package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
- package/dist/components/RescanInstructions/index.d.ts +2 -1
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
- package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
- package/dist/components/ResponsiveImage/index.d.ts +2 -1
- package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
- package/dist/components/ResultsTable/ResultsTable.js +21 -16
- package/dist/components/ResultsTable/index.d.ts +2 -1
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
- package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
- package/dist/components/ResultsTableBody/index.d.ts +2 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
- package/dist/components/ResultsTableHeader/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/ScheduleContext.d.ts +25 -0
- package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
- package/dist/components/ScheduleLayout/ScheduleLayout.js +76 -24
- package/dist/components/ScheduleLayout/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -0
- package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
- package/dist/components/ScheduleList/ScheduleList.js +153 -60
- package/dist/components/ScheduleList/index.d.ts +2 -1
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +27 -16
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +53 -37
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
- package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
- package/dist/components/SectionedContent/SectionedContent.js +14 -15
- package/dist/components/SectionedContent/index.d.ts +2 -1
- package/dist/components/Select/Select.d.ts +15 -11
- package/dist/components/Select/Select.js +21 -21
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
- package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
- package/dist/components/ShowAboutContent/index.d.ts +2 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
- package/dist/components/ShowAboutLayout/index.d.ts +2 -1
- package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
- package/dist/components/SocialLinks/SocialLinks.js +192 -138
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
- package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
- package/dist/components/SocialShareBlock/index.d.ts +2 -1
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
- package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
- package/dist/components/SocialShareButton/index.d.ts +2 -1
- package/dist/components/SocialShareButton/index.js +1 -1
- package/dist/components/StringList/StringList.d.ts +6 -5
- package/dist/components/StringList/StringList.js +16 -12
- package/dist/components/StringList/index.d.ts +2 -1
- package/dist/components/TabContent/TabContent.d.ts +5 -4
- package/dist/components/TabContent/TabContent.js +9 -7
- package/dist/components/TabContent/index.d.ts +2 -1
- package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
- package/dist/components/TabNavigation/TabNavigation.js +58 -53
- package/dist/components/TabNavigation/index.d.ts +2 -1
- package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
- package/dist/components/TabbedContent/TabbedContent.js +24 -8
- package/dist/components/TabbedContent/index.d.ts +2 -1
- package/dist/components/TextArea/TextArea.d.ts +9 -1
- package/dist/components/TextArea/TextArea.js +13 -13
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
- package/dist/components/UpcomingList/UpcomingList.js +55 -41
- package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
- package/dist/containers/GetFeatruedListContainer.js +16 -16
- package/dist/containers/NowPlayingContainer.d.ts +17 -15
- package/dist/containers/NowPlayingContainer.js +18 -16
- package/dist/custom-elements.d.js +1 -0
- package/dist/data-resources/FakeDataResource.d.ts +77 -68
- package/dist/data-resources/FakeDataResource.js +244 -142
- package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
- package/dist/error-boundries/BlankErrorBoundry.js +5 -5
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
- package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
- package/dist/hooks/useGetSchedule.d.ts +12 -4
- package/dist/hooks/useGetSchedule.js +31 -27
- package/dist/hooks/useGetUpcoming.d.ts +8 -6
- package/dist/hooks/useGetUpcoming.js +22 -25
- package/dist/icons/Facebook.js +6 -6
- package/dist/icons/Tiktok.js +15 -7
- package/dist/icons/Twitter.js +7 -7
- package/dist/index.js +1 -1
- package/dist/logger-C0N7U0YY.mjs +67 -0
- package/dist/settings.d.ts +4 -3
- package/dist/settings.js +6 -5
- package/dist/types.d.js +27 -0
- package/dist/utils/Redirect.d.ts +2 -2
- package/dist/utils/analytics.js +1 -1
- package/dist/utils/date-helpers.d.ts +3 -2
- package/dist/utils/date-helpers.js +26 -26
- package/dist/utils/events.js +8 -6
- package/dist/utils/getFeaturedList.d.ts +28 -8
- package/dist/utils/getFeaturedList.js +58 -45
- package/dist/utils/getFeaturedListImages.d.ts +15 -5
- package/dist/utils/getFeaturedListImages.js +27 -16
- package/dist/utils/getOnNowProgram.d.ts +17 -3
- package/dist/utils/getOnNowProgram.js +106 -68
- package/dist/utils/getSchedule.d.ts +8 -6
- package/dist/utils/getSchedule.js +6 -1
- package/dist/utils/getUpcomingPrograms.d.ts +10 -7
- package/dist/utils/getUpcomingPrograms.js +5 -4
- package/dist/utils/getViewingPlatforms.d.ts +6 -16
- package/dist/utils/getViewingPlatforms.js +14 -11
- package/dist/utils/gtm.js +1 -1
- package/dist/utils/helpers.d.ts +9 -9
- package/dist/utils/helpers.js +69 -65
- package/dist/utils/program-helpers.d.ts +14 -20
- package/dist/utils/program-helpers.js +9 -8
- package/dist/utils/series-helpers.d.ts +14 -20
- package/dist/utils/series-helpers.js +9 -8
- package/package.json +16 -8
- package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
- package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
- package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
- package/dist/facebook-HCcA1M1m.mjs +0 -54
|
@@ -1,53 +1,82 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
1
|
+
var L = Object.defineProperty;
|
|
2
|
+
var b = (i) => {
|
|
3
|
+
throw TypeError(i);
|
|
3
4
|
};
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
var z = (i, t, e) => t in i ? L(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
6
|
+
var l = (i, t, e) => z(i, typeof t != "symbol" ? t + "" : t, e), O = (i, t, e) => t.has(i) || b("Cannot " + e);
|
|
7
|
+
var x = (i, t, e) => t.has(i) ? b("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e);
|
|
8
|
+
var r = (i, t, e) => (O(i, t, "access private method"), e);
|
|
9
|
+
let f = /* @__PURE__ */ new WeakMap();
|
|
10
|
+
const P = new Event("scrollend"), I = /* @__PURE__ */ new Set();
|
|
11
|
+
function h(i, t, e) {
|
|
12
|
+
let n = i[t];
|
|
13
|
+
i[t] = function() {
|
|
14
|
+
let c = Array.prototype.slice.apply(arguments, [0]);
|
|
15
|
+
n.apply(this, c), c.unshift(n), e.apply(this, c);
|
|
14
16
|
};
|
|
15
17
|
}
|
|
16
|
-
function
|
|
18
|
+
function m(i, t) {
|
|
17
19
|
if (t !== "scroll" && t !== "scrollend")
|
|
18
20
|
return;
|
|
19
|
-
let e =
|
|
21
|
+
let e = f.get(this);
|
|
20
22
|
if (e === void 0) {
|
|
21
|
-
let
|
|
23
|
+
let n = 0;
|
|
22
24
|
e = {
|
|
23
25
|
scrollListener: () => {
|
|
24
|
-
clearTimeout(
|
|
25
|
-
|
|
26
|
+
clearTimeout(n), n = setTimeout(() => {
|
|
27
|
+
I.size ? setTimeout(e.scrollListener, 100) : (this.dispatchEvent(P), n = 0);
|
|
26
28
|
}, 100);
|
|
27
29
|
},
|
|
28
30
|
listeners: 0
|
|
29
31
|
// Count of number of listeners.
|
|
30
|
-
},
|
|
32
|
+
}, i.apply(this, ["scroll", e.scrollListener]), f.set(this, e);
|
|
31
33
|
}
|
|
32
34
|
e.listeners++;
|
|
33
35
|
}
|
|
34
|
-
function
|
|
36
|
+
function p(i, t) {
|
|
35
37
|
if (t !== "scroll" && t !== "scrollend") return;
|
|
36
|
-
let e =
|
|
37
|
-
e !== void 0 && (e[t]--, !(--e.listeners > 0) && (
|
|
38
|
+
let e = f.get(this);
|
|
39
|
+
e !== void 0 && (e[t]--, !(--e.listeners > 0) && (i.apply(this, ["scroll", e.scrollListener]), f.delete(this)));
|
|
38
40
|
}
|
|
39
|
-
const
|
|
40
|
-
var s,
|
|
41
|
-
class
|
|
42
|
-
constructor({
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
},
|
|
41
|
+
const G = "onscrollend" in window;
|
|
42
|
+
var s, u, w, A, S, a, d, y, g, T;
|
|
43
|
+
class M {
|
|
44
|
+
constructor({
|
|
45
|
+
carouselEl: t,
|
|
46
|
+
scrollerEl: e,
|
|
47
|
+
paginationEl: n,
|
|
48
|
+
cells: c,
|
|
49
|
+
navBtnEls: B = {
|
|
50
|
+
next: {},
|
|
51
|
+
previous: {}
|
|
52
|
+
},
|
|
53
|
+
options: o
|
|
54
|
+
}) {
|
|
55
|
+
x(this, s);
|
|
56
|
+
l(this, "carouselEl");
|
|
57
|
+
l(this, "scrollerEl");
|
|
58
|
+
l(this, "paginationEl");
|
|
59
|
+
l(this, "cells");
|
|
60
|
+
l(this, "currentIndex");
|
|
61
|
+
l(this, "slideEls");
|
|
62
|
+
l(this, "navBtnEls");
|
|
63
|
+
l(this, "currentIntersecting");
|
|
64
|
+
l(this, "options");
|
|
65
|
+
l(this, "timer");
|
|
66
|
+
l(this, "timerInterval");
|
|
67
|
+
l(this, "slideGutterSize");
|
|
68
|
+
l(this, "showPagination");
|
|
69
|
+
l(this, "isInitialScroll");
|
|
70
|
+
l(this, "totalSlideEls");
|
|
71
|
+
l(this, "totalSlides");
|
|
72
|
+
l(this, "carouselObserver");
|
|
73
|
+
G || (document.addEventListener("touchstart", (v) => {
|
|
74
|
+
for (let E of v.changedTouches)
|
|
75
|
+
I.add(E.identifier);
|
|
76
|
+
}, { passive: !0 }), document.addEventListener("touchend", (v) => {
|
|
77
|
+
for (let E of v.changedTouches)
|
|
78
|
+
I.delete(E.identifier);
|
|
79
|
+
}, { passive: !0 }), h(Element.prototype, "addEventListener", m), h(window, "addEventListener", m), h(document, "addEventListener", m), h(Element.prototype, "removeEventListener", p), h(window, "removeEventListener", p), h(document, "removeEventListener", p)), this.carouselEl = t, this.scrollerEl = e, this.paginationEl = n, this.currentIndex = 0, this.navBtnEls = B, this.currentIntersecting = {}, this.options = o, o.autoplay && (this.timer = null, this.timerInterval = (o == null ? void 0 : o.delay) ?? 3500, this.startTimer()), this.slideGutterSize = (o == null ? void 0 : o.slideGutterSize) ?? 25, this.showPagination = o == null ? void 0 : o.showPagination, this.isInitialScroll = !0, this.cells = c, this.slideEls = [...e.children], this.totalSlideEls = this.slideEls.length, this.totalSlides = Math.ceil(this.cells.length / (this.options.cellsPerSlide ?? 1)), r(this, s, w).call(this), r(this, s, S).call(this), r(this, s, A).call(this);
|
|
51
80
|
}
|
|
52
81
|
/**
|
|
53
82
|
* starts the autoplay timer
|
|
@@ -61,7 +90,7 @@ class P {
|
|
|
61
90
|
* clears the autoplay timer
|
|
62
91
|
*/
|
|
63
92
|
clearTimer() {
|
|
64
|
-
clearInterval(this.timer), this.timer = null;
|
|
93
|
+
this.timer && clearInterval(this.timer), this.timer = null;
|
|
65
94
|
}
|
|
66
95
|
/**
|
|
67
96
|
* checks to see if the scroller is moving to the
|
|
@@ -71,7 +100,7 @@ class P {
|
|
|
71
100
|
* @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
|
|
72
101
|
*/
|
|
73
102
|
determineScrollAction(t) {
|
|
74
|
-
this.options.autoplay && this.timer !== null && this.clearTimer(), t === 1 ? this.currentIndex === this.totalSlides - 1 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0),
|
|
103
|
+
this.options.autoplay && this.timer !== null && this.clearTimer(), t === 1 ? this.currentIndex === this.totalSlides - 1 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0), r(this, s, a).call(this, t), this.currentIndex = 0) : (r(this, s, a).call(this, t), this.currentIndex += 1) : t === -1 && (this.currentIndex === 0 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(99999, 0), this.currentIndex = this.totalSlides - 1, r(this, s, a).call(this, t)) : (r(this, s, a).call(this, t), this.currentIndex -= 1)), this.options.autoplay && this.timer === null && this.startTimer();
|
|
75
104
|
}
|
|
76
105
|
/**
|
|
77
106
|
* Navigates the carousel to a specific index
|
|
@@ -82,8 +111,8 @@ class P {
|
|
|
82
111
|
navigateToIndex(t) {
|
|
83
112
|
if (t === this.currentIndex) return;
|
|
84
113
|
this.options.autoplay && this.clearTimer();
|
|
85
|
-
let e = t > this.currentIndex ? t - this.currentIndex : this.currentIndex - t,
|
|
86
|
-
this.currentIndex = t,
|
|
114
|
+
let e = t > this.currentIndex ? t - this.currentIndex : this.currentIndex - t, n = t > this.currentIndex ? 1 : -1;
|
|
115
|
+
this.currentIndex = t, r(this, s, a).call(this, n, e), this.options.autoplay && this.startTimer(), r(this, s, d).call(this);
|
|
87
116
|
}
|
|
88
117
|
/**
|
|
89
118
|
* Returns the current index of the carousel
|
|
@@ -99,28 +128,28 @@ class P {
|
|
|
99
128
|
*/
|
|
100
129
|
handleScrollEnd() {
|
|
101
130
|
if (this.timer === null && this.options.autoplay && this.startTimer(), this.currentIntersecting.target) {
|
|
102
|
-
const t = Number.parseInt(this.currentIntersecting.target.getAttribute("data-index"), 10);
|
|
131
|
+
const t = Number.parseInt(this.currentIntersecting.target.getAttribute("data-index") ?? "0", 10);
|
|
103
132
|
if (!this.options.wrapAround) {
|
|
104
|
-
this.currentIndex = t,
|
|
133
|
+
this.currentIndex = t, r(this, s, d).call(this);
|
|
105
134
|
return;
|
|
106
135
|
}
|
|
107
|
-
t === 0 ? (this.currentIndex = this.
|
|
136
|
+
t === 0 ? (this.currentIndex = this.totalSlides - 1, r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.slideEls[this.totalSlides] })) : t === this.totalSlideEls - 1 ? (this.currentIndex = 0, r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.slideEls[1] })) : this.currentIndex = t - 1;
|
|
108
137
|
}
|
|
109
|
-
|
|
138
|
+
r(this, s, d).call(this);
|
|
110
139
|
}
|
|
111
140
|
}
|
|
112
141
|
s = new WeakSet(), /**
|
|
113
142
|
* Scrolls the carousel to a specific child element
|
|
114
143
|
* @param {*} param0 - an object containing the scrollport element and the child element to scroll to
|
|
115
144
|
*/
|
|
116
|
-
|
|
117
|
-
const
|
|
118
|
-
t.style.scrollBehavior = "auto", t.scrollTo(Math.abs(t.offsetLeft - e.offsetLeft + e.clientWidth *
|
|
145
|
+
u = function({ scrollport: t, element: e }) {
|
|
146
|
+
const n = this.slideGutterSize * 2 / 100;
|
|
147
|
+
t.style.scrollBehavior = "auto", t.scrollTo(Math.abs(t.offsetLeft - e.offsetLeft + e.clientWidth * n), 0);
|
|
119
148
|
}, /**
|
|
120
149
|
* adds an observer to the scroller element that we can use to
|
|
121
150
|
* determine which slide is intersecting
|
|
122
151
|
*/
|
|
123
|
-
|
|
152
|
+
w = function() {
|
|
124
153
|
this.carouselObserver = new IntersectionObserver((t) => {
|
|
125
154
|
for (let e of t)
|
|
126
155
|
e.isIntersecting && (this.currentIntersecting = e);
|
|
@@ -133,19 +162,20 @@ x = function() {
|
|
|
133
162
|
*/
|
|
134
163
|
A = function() {
|
|
135
164
|
for (let t of this.slideEls)
|
|
136
|
-
this.carouselObserver.observe(t);
|
|
165
|
+
this.carouselObserver && this.carouselObserver.observe(t);
|
|
137
166
|
}, /**
|
|
138
167
|
* sets some intial settings for the carousel based on some of the options
|
|
139
168
|
*/
|
|
140
|
-
|
|
141
|
-
|
|
169
|
+
S = function() {
|
|
170
|
+
var t, e;
|
|
171
|
+
this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(-9999, 0), r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls && ((t = this.navBtnEls) != null && t.previous) && ((e = this.navBtnEls) == null || e.previous.setAttribute("disabled", "disabled")), r(this, s, d).call(this)) : r(this, s, g).call(this), this.totalSlides === 1 && this.slideEls[0].removeAttribute("inert");
|
|
142
172
|
}, /**
|
|
143
173
|
* Scrolls the carousel in a specified direction by a specified distance
|
|
144
174
|
*
|
|
145
175
|
* @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
|
|
146
176
|
* @param {number} distance - a number representing the number of slides to scroll
|
|
147
177
|
*/
|
|
148
|
-
|
|
178
|
+
a = function(t, e = 1) {
|
|
149
179
|
this.scrollerEl.style.scrollBehavior = "smooth", this.scrollerEl.scrollBy({
|
|
150
180
|
left: this.scrollerEl.clientWidth * ((100 - this.slideGutterSize * 2) / 100) * e * t,
|
|
151
181
|
top: 0,
|
|
@@ -157,8 +187,8 @@ h = function(t, e = 1) {
|
|
|
157
187
|
* add methods here to have them sync
|
|
158
188
|
* when scroller is scrolled
|
|
159
189
|
*/
|
|
160
|
-
|
|
161
|
-
|
|
190
|
+
d = function() {
|
|
191
|
+
r(this, s, g).call(this), this.showPagination && r(this, s, T).call(this), this.options.wrapAround || r(this, s, y).call(this);
|
|
162
192
|
}, /**
|
|
163
193
|
* Sets the control arrow buttons to disabled if the carousel is at the start or end
|
|
164
194
|
*/
|
|
@@ -167,10 +197,10 @@ y = function() {
|
|
|
167
197
|
}, /**
|
|
168
198
|
* Sets the inert attribute on all slides that are not the current slide
|
|
169
199
|
*/
|
|
170
|
-
|
|
200
|
+
g = function() {
|
|
171
201
|
const t = this.options.wrapAround ? this.currentIndex + 1 : this.currentIndex;
|
|
172
|
-
this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((e,
|
|
173
|
-
e.toggleAttribute("inert",
|
|
202
|
+
this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((e, n) => {
|
|
203
|
+
e.toggleAttribute("inert", n !== t);
|
|
174
204
|
});
|
|
175
205
|
}, /**
|
|
176
206
|
* Sets the pagination indicator to the current slide
|
|
@@ -181,5 +211,5 @@ T = function() {
|
|
|
181
211
|
});
|
|
182
212
|
};
|
|
183
213
|
export {
|
|
184
|
-
|
|
214
|
+
M as default
|
|
185
215
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Carousel
|
|
1
|
+
export { Carousel } from './Carousel';
|
|
2
|
+
export { Carousel as default } from './Carousel';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { c as r } from "../../../Carousel.module-
|
|
4
|
-
const n = o.forwardRef(
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
import { c as r } from "../../../Carousel.module-CNJzZW2-.mjs";
|
|
4
|
+
const n = o.forwardRef(
|
|
5
|
+
({ slides: t, carouselId: l }, s) => /* @__PURE__ */ e("div", { className: `${r["carousel-nav"]} carousel-nav`, children: /* @__PURE__ */ e("ol", { className: r["carousel-nav__list"], ref: s, children: t.map((c, a) => /* @__PURE__ */ e(
|
|
6
|
+
"li",
|
|
7
|
+
{
|
|
8
|
+
className: `${r["carousel-nav__item"]} carousel-nav__item`,
|
|
9
|
+
"data-current": a === 0 ? "true" : "false",
|
|
10
|
+
title: `Navigate to slide ${a + 1}`
|
|
11
|
+
},
|
|
12
|
+
`carousel${l}-nav-${a}`
|
|
13
|
+
)) }) })
|
|
14
|
+
);
|
|
13
15
|
export {
|
|
14
16
|
n as default
|
|
15
17
|
};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Slide } from '../../types';
|
|
2
|
+
type CarouselSlideProps = {
|
|
3
|
+
slide: Slide;
|
|
4
|
+
index: number;
|
|
5
|
+
currentIndex: number;
|
|
6
|
+
variableHeight?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare function CarouselSlide({ slide, index, currentIndex, variableHeight, }: CarouselSlideProps): JSX.Element;
|
|
7
9
|
export default CarouselSlide;
|
|
@@ -1,37 +1,39 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as d, useEffect as
|
|
3
|
-
import { classes as
|
|
4
|
-
import { slideLayoutsMap as
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsx as r, Fragment as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useEffect as p, createElement as f } from "react";
|
|
3
|
+
import { classes as h } from "../../utils/helpers.js";
|
|
4
|
+
import { slideLayoutsMap as g } from "../../settings.js";
|
|
5
|
+
import { l as i } from "../../logger-C0N7U0YY.mjs";
|
|
6
|
+
import '../../assets/CarouselSlide.css';const y = "_slide_1echy_2", s = {
|
|
7
|
+
slide: y,
|
|
8
|
+
"slide--variable-height": "_slide--variable-height_1echy_18"
|
|
8
9
|
};
|
|
9
|
-
|
|
10
|
+
i.setComponent("CarouselSlide");
|
|
11
|
+
function C({
|
|
10
12
|
slide: e,
|
|
11
13
|
index: l,
|
|
12
|
-
currentIndex:
|
|
13
|
-
variableHeight:
|
|
14
|
+
currentIndex: a,
|
|
15
|
+
variableHeight: o = !1
|
|
14
16
|
}) {
|
|
15
|
-
const [
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
}, [e]), /* @__PURE__ */
|
|
17
|
+
const [t, n] = d(null);
|
|
18
|
+
return p(() => {
|
|
19
|
+
n(g.get(e.layout) || null);
|
|
20
|
+
}, [e]), i.log("slide", e, "index", l, "currentIndex", a), /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(
|
|
19
21
|
"li",
|
|
20
22
|
{
|
|
21
|
-
className: f([
|
|
22
|
-
i.slide,
|
|
23
|
-
"slide",
|
|
24
|
-
s ? i["slide--variable-height"] : ""
|
|
25
|
-
]),
|
|
26
23
|
"aria-label": e.ariaLabel,
|
|
27
24
|
"aria-roledescription": "carousel-item",
|
|
28
|
-
|
|
25
|
+
className: h([
|
|
26
|
+
s.slide,
|
|
27
|
+
"slide",
|
|
28
|
+
o ? s["slide--variable-height"] : ""
|
|
29
|
+
]),
|
|
29
30
|
"data-index": l,
|
|
30
|
-
|
|
31
|
+
...a !== l ? { inert: "" } : {},
|
|
32
|
+
children: t !== null && e.cells.map((c, m) => /* @__PURE__ */ f(t, { ...c.props, key: `slide${l}-cell${m}` }))
|
|
31
33
|
}
|
|
32
34
|
) });
|
|
33
35
|
}
|
|
34
36
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
C as CarouselSlide,
|
|
38
|
+
C as default
|
|
37
39
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { CarouselSlide
|
|
1
|
+
export { CarouselSlide } from './CarouselSlide';
|
|
2
|
+
export { CarouselSlide as default } from './CarouselSlide';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function Empty():
|
|
1
|
+
export declare function Empty(): JSX.Element;
|
|
2
2
|
export default Empty;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Empty
|
|
1
|
+
export { Empty } from './Empty';
|
|
2
|
+
export { Empty as default } from './Empty';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function FigureSlide({ images, imagesPerSlide }: {
|
|
1
|
+
export declare function FigureSlide({ images, imagesPerSlide }: {
|
|
2
2
|
images?: {
|
|
3
3
|
url: string;
|
|
4
4
|
altText: string;
|
|
5
5
|
caption: string;
|
|
6
6
|
}[] | undefined;
|
|
7
7
|
imagesPerSlide?: number | undefined;
|
|
8
|
-
}):
|
|
8
|
+
}): JSX.Element;
|
|
9
9
|
export default FigureSlide;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import "
|
|
3
|
-
import { classes as s } from "../../../../utils/helpers.js";
|
|
2
|
+
import { classes as u } from "../../../../utils/helpers.js";
|
|
4
3
|
import '../../../../assets/Figure.css';const r = {
|
|
5
|
-
"figure-
|
|
6
|
-
"figure-
|
|
7
|
-
"figure-slide--captioned-image": "_figure-slide--captioned-
|
|
4
|
+
"figure-slide__figure": "_figure-slide__figure_1140y_2",
|
|
5
|
+
"figure-slide": "_figure-slide_1140y_2",
|
|
6
|
+
"figure-slide--captioned-image": "_figure-slide--captioned-image_1140y_36"
|
|
8
7
|
};
|
|
9
|
-
function
|
|
10
|
-
return /* @__PURE__ */ i("div", { className: r["figure-slide"], children: l.map((e,
|
|
8
|
+
function c({ images: l = [{ url: "", altText: "", caption: "" }], imagesPerSlide: t = 1 }) {
|
|
9
|
+
return /* @__PURE__ */ i("div", { className: r["figure-slide"], children: l.map((e, s) => /* @__PURE__ */ i(
|
|
11
10
|
"figure",
|
|
12
11
|
{
|
|
13
|
-
className:
|
|
12
|
+
className: u([
|
|
14
13
|
r["figure-slide__figure"],
|
|
15
14
|
e != null && e.caption ? r["figure-slide--captioned-image"] : ""
|
|
16
15
|
]),
|
|
@@ -21,10 +20,10 @@ function n({ images: l = [{ url: "", altText: "", caption: "" }], imagesPerSlide
|
|
|
21
20
|
title: e.altText !== "" ? e.altText : "",
|
|
22
21
|
children: (e == null ? void 0 : e.caption) && /* @__PURE__ */ i("figcaption", { children: e.caption })
|
|
23
22
|
},
|
|
24
|
-
`figure-${
|
|
23
|
+
`figure-${s}`
|
|
25
24
|
)) });
|
|
26
25
|
}
|
|
27
26
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
c as FigureSlide,
|
|
28
|
+
c as default
|
|
30
29
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { FigureSlide
|
|
1
|
+
export { FigureSlide } from './Figure';
|
|
2
|
+
export { FigureSlide as default } from './Figure';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function ImageCardSlide(props:
|
|
1
|
+
export declare function ImageCardSlide(props: Record<string, unknown>): JSX.Element;
|
|
2
2
|
export default ImageCardSlide;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { ImageCard as e } from "../../../ImageCard/ImageCard.js";
|
|
4
|
-
function
|
|
3
|
+
function m(a) {
|
|
5
4
|
return /* @__PURE__ */ r("div", { className: "image-card-slide", children: /* @__PURE__ */ r(e, { ...a }) });
|
|
6
5
|
}
|
|
7
6
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
m as ImageCardSlide,
|
|
8
|
+
m as default
|
|
10
9
|
};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { Series, HandleClicksDetails } from '../../../../types';
|
|
2
|
+
type ShowSlideProps = {
|
|
3
|
+
series: Series;
|
|
4
|
+
nextAirdate?: string | null;
|
|
5
|
+
titlePosition?: 'left' | 'center' | 'right';
|
|
6
|
+
titleColor?: string;
|
|
7
|
+
fullSizeImagePosition?: [number, number];
|
|
8
|
+
mobileImagePosition?: [number, number];
|
|
9
|
+
lazyLoad?: boolean;
|
|
10
|
+
fetchPriority?: 'high' | 'low' | 'auto' | undefined;
|
|
11
|
+
decoding?: 'sync' | 'async' | 'auto';
|
|
12
|
+
hasSeriesPages?: boolean;
|
|
13
|
+
handleClicks?: (details: HandleClicksDetails) => void;
|
|
14
|
+
altText?: string;
|
|
15
|
+
SCHEDULE_ENDPOINT?: string;
|
|
16
|
+
NETWORK?: string;
|
|
17
|
+
};
|
|
18
|
+
export declare function ShowSlide({ series, nextAirdate, titlePosition, titleColor, fullSizeImagePosition, mobileImagePosition, lazyLoad, fetchPriority, decoding, hasSeriesPages, handleClicks, altText, SCHEDULE_ENDPOINT, NETWORK, }: ShowSlideProps): JSX.Element;
|
|
17
19
|
export default ShowSlide;
|