@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,16 +1,16 @@
|
|
|
1
|
-
import { jsx as o, Fragment as
|
|
2
|
-
import { useRef as s, useState as
|
|
3
|
-
import { chunkArray as
|
|
4
|
-
import
|
|
5
|
-
import { CarouselSlide as
|
|
6
|
-
import { c as a } from "../../Carousel.module-
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as
|
|
9
|
-
const
|
|
10
|
-
function
|
|
11
|
-
id:
|
|
12
|
-
|
|
13
|
-
options:
|
|
1
|
+
import { jsx as o, Fragment as Q, jsxs as K } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as s, useState as C, useEffect as j, useCallback as i } from "react";
|
|
3
|
+
import { chunkArray as X, classes as A } from "../../utils/helpers.js";
|
|
4
|
+
import Y from "./CarouselUtils.class.js";
|
|
5
|
+
import { CarouselSlide as Z } from "../CarouselSlide/CarouselSlide.js";
|
|
6
|
+
import { c as a } from "../../Carousel.module-CNJzZW2-.mjs";
|
|
7
|
+
import { C as ee } from "../../chevron-left-DRvpaLmK.mjs";
|
|
8
|
+
import { C as re } from "../../chevron-right-C8yCnmfx.mjs";
|
|
9
|
+
const _ = window.matchMedia("(width <= 600px)"), P = window.matchMedia("(width <= 800px"), b = window.matchMedia("(width <= 1024px"), z = window.matchMedia("(width <= 1280px");
|
|
10
|
+
function ue({
|
|
11
|
+
id: E,
|
|
12
|
+
cells: L,
|
|
13
|
+
options: x = {
|
|
14
14
|
paginationType: "dots",
|
|
15
15
|
showControls: !0,
|
|
16
16
|
controlArrowSize: 48,
|
|
@@ -31,18 +31,17 @@ function de({
|
|
|
31
31
|
wrapAround: !0
|
|
32
32
|
}
|
|
33
33
|
}) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
B(() => {
|
|
34
|
+
const h = s(`carousel-${E}`), I = s(null), c = s(null), R = s(null), p = s([...L]), T = s(null), m = s(null), r = s(null), e = s(x), l = s(x), $ = s("-50%"), [N, B] = C([]), [M, G] = C([]), [k, H] = C(0);
|
|
35
|
+
j(() => {
|
|
37
36
|
const t = () => {
|
|
38
|
-
|
|
37
|
+
_.matches ? e.current = {
|
|
39
38
|
...l.current,
|
|
40
39
|
showControls: !1,
|
|
41
40
|
showPagination: !1,
|
|
42
41
|
cellsPerSlide: 1,
|
|
43
42
|
cellsPosition: l.current.wrapAround ? "center" : "flex-start",
|
|
44
43
|
gutterSize: 10
|
|
45
|
-
} :
|
|
44
|
+
} : P.matches ? l.current.cellsPerSlide !== 1 ? e.current = {
|
|
46
45
|
...l.current,
|
|
47
46
|
cellsPerSlide: 2,
|
|
48
47
|
showControls: !1,
|
|
@@ -51,7 +50,7 @@ function de({
|
|
|
51
50
|
...l.current,
|
|
52
51
|
showControls: !1,
|
|
53
52
|
gutterSize: 10
|
|
54
|
-
} :
|
|
53
|
+
} : b.matches ? l.current.cellsPerSlide !== 1 && l.current.cellsPerSlide !== 2 ? e.current = {
|
|
55
54
|
...l.current,
|
|
56
55
|
cellsPerSlide: 3,
|
|
57
56
|
showControls: !1,
|
|
@@ -60,7 +59,7 @@ function de({
|
|
|
60
59
|
...l.current,
|
|
61
60
|
showControls: !1,
|
|
62
61
|
gutterSize: 10
|
|
63
|
-
} :
|
|
62
|
+
} : z.matches ? l.current.showPagination ? e.current = {
|
|
64
63
|
...l.current,
|
|
65
64
|
showControls: !1
|
|
66
65
|
} : e.current = {
|
|
@@ -71,120 +70,122 @@ function de({
|
|
|
71
70
|
};
|
|
72
71
|
t();
|
|
73
72
|
const n = () => {
|
|
74
|
-
|
|
73
|
+
H((u) => u + 1), t();
|
|
75
74
|
};
|
|
76
|
-
return
|
|
77
|
-
|
|
75
|
+
return _.addEventListener("change", n), P.addEventListener("change", n), b.addEventListener("change", n), z.addEventListener("change", n), () => {
|
|
76
|
+
_.removeEventListener("change", n), P.removeEventListener("change", n), b.removeEventListener("change", n), z.removeEventListener("change", n);
|
|
78
77
|
};
|
|
79
78
|
}, []);
|
|
80
|
-
const
|
|
81
|
-
const u =
|
|
82
|
-
|
|
83
|
-
let
|
|
84
|
-
for (let
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
79
|
+
const D = i((t, n) => {
|
|
80
|
+
const u = X(n, t);
|
|
81
|
+
G([...u]);
|
|
82
|
+
let S = [];
|
|
83
|
+
for (let f = 0; f <= u.length - 1; f++)
|
|
84
|
+
S[f] = {
|
|
85
|
+
ariaLabel: `${f + 1} of ${u.length}`,
|
|
86
|
+
layout: u[f][0].layout || "",
|
|
87
|
+
cells: [
|
|
88
|
+
...u[f]
|
|
89
|
+
]
|
|
90
|
+
};
|
|
91
|
+
const v = [...S], y = [...S], q = v.slice(-1), J = v.slice(0);
|
|
92
|
+
return y.push(J[0]), y.unshift(q[0]), e.current.wrapAround && t.length > n ? y : v;
|
|
93
|
+
}, []), d = i(() => {
|
|
94
|
+
e.current.autoplay && r.current && r.current.clearTimer();
|
|
95
|
+
}, []), U = i((t) => {
|
|
96
|
+
d();
|
|
97
97
|
const n = t.key;
|
|
98
|
-
n === "ArrowLeft" ? (t.preventDefault(), r.current.determineScrollAction(-1)) : n === "ArrowRight" && (t.preventDefault(), r.current.determineScrollAction(1));
|
|
99
|
-
}, [
|
|
100
|
-
|
|
101
|
-
r.current.handleScrollEnd();
|
|
98
|
+
n === "ArrowLeft" ? (t.preventDefault(), r.current && r.current.determineScrollAction(-1)) : n === "ArrowRight" && (t.preventDefault(), r.current && r.current.determineScrollAction(1));
|
|
99
|
+
}, [d]), F = i(() => {
|
|
100
|
+
d(), c.current !== null && c.current.addEventListener("scrollend", () => {
|
|
101
|
+
r.current && r.current.handleScrollEnd();
|
|
102
102
|
}, { once: !0 });
|
|
103
|
-
}, [
|
|
104
|
-
|
|
105
|
-
r.current.handleScrollEnd(),
|
|
103
|
+
}, [d]), w = i(() => {
|
|
104
|
+
d(), c.current !== null && c.current.addEventListener("scrollend", () => {
|
|
105
|
+
r.current && r.current.handleScrollEnd(), c.current && c.current.addEventListener("scroll", w, { once: !0 });
|
|
106
106
|
}, { once: !0 });
|
|
107
|
-
}, [
|
|
107
|
+
}, [d]), W = () => {
|
|
108
108
|
r.current && e.current.autoplay && r.current.clearTimer();
|
|
109
|
-
},
|
|
109
|
+
}, g = i(() => {
|
|
110
110
|
//! make sure class is only instantiated once because of reacts
|
|
111
111
|
//! "strict" mode double do hocus pocus
|
|
112
112
|
var t, n;
|
|
113
|
-
r.current !== null &&
|
|
114
|
-
carouselEl:
|
|
115
|
-
scrollerEl:
|
|
116
|
-
paginationEl:
|
|
117
|
-
|
|
113
|
+
r.current !== null && k > 0 && ((n = (t = r.current).clearTimer) == null || n.call(t), r.current = null), r.current = new Y({
|
|
114
|
+
carouselEl: I.current,
|
|
115
|
+
scrollerEl: c.current,
|
|
116
|
+
paginationEl: R.current,
|
|
117
|
+
cells: p.current,
|
|
118
118
|
navBtnEls: {
|
|
119
119
|
next: T.current,
|
|
120
|
-
previous:
|
|
120
|
+
previous: m.current
|
|
121
121
|
},
|
|
122
|
-
id:
|
|
122
|
+
id: h.current,
|
|
123
123
|
options: {
|
|
124
124
|
autoplay: e.current.autoplay,
|
|
125
|
-
wrapAround: e.current.wrapAround &&
|
|
125
|
+
wrapAround: e.current.wrapAround && p.current.length > (e.current.cellsPerSlide || 1),
|
|
126
126
|
showPagination: e.current.showPagination,
|
|
127
127
|
delay: e.current.autoplayDelay,
|
|
128
128
|
slideGutterSize: e.current.gutterSize,
|
|
129
129
|
slideAspectRatio: e.current.slideAspectRatio,
|
|
130
|
-
showControls: e.current.showControls &&
|
|
130
|
+
showControls: e.current.showControls && p.current.length > (e.current.cellsPerSlide || 1),
|
|
131
131
|
cellsPerSlide: e.current.cellsPerSlide
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
|
-
}, [
|
|
135
|
-
|
|
136
|
-
}, [
|
|
137
|
-
if (
|
|
134
|
+
}, [k]), O = i(() => {
|
|
135
|
+
c.current && c.current.addEventListener("scroll", w, { once: !0 });
|
|
136
|
+
}, [w]), V = i(() => {
|
|
137
|
+
if (B(D(p.current, e.current.cellsPerSlide ?? 1)), p.current.length > (e.current.cellsPerSlide ?? 1)) {
|
|
138
138
|
let t = setInterval(() => {
|
|
139
|
-
|
|
139
|
+
c.current !== null && (m.current !== null && e.current.showControls || !e.current.showControls) && (clearInterval(t), O(), g());
|
|
140
140
|
}, 100);
|
|
141
141
|
} else {
|
|
142
142
|
let t = setInterval(() => {
|
|
143
|
-
|
|
143
|
+
c.current !== null && (clearInterval(t), g());
|
|
144
144
|
}, 100);
|
|
145
145
|
}
|
|
146
|
-
}, [
|
|
147
|
-
return
|
|
146
|
+
}, [D, O, g]);
|
|
147
|
+
return j(() => {
|
|
148
148
|
if (e.current !== null) {
|
|
149
149
|
if (e.current.showControls) {
|
|
150
150
|
let t = 0;
|
|
151
|
-
e.current.showPagination && (t = t + 25), e.current.showScrollbar && (t = t + 6),
|
|
151
|
+
e.current.showPagination && (t = t + 25), e.current.showScrollbar && (t = t + 6), $.current = `calc(-50% - ${t}px)`;
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
V();
|
|
154
154
|
}
|
|
155
155
|
return () => {
|
|
156
|
-
|
|
156
|
+
W();
|
|
157
157
|
};
|
|
158
|
-
}, [
|
|
158
|
+
}, [V, e]), /* @__PURE__ */ o(Q, { children: e.current !== null && /* @__PURE__ */ K(
|
|
159
159
|
"div",
|
|
160
160
|
{
|
|
161
|
+
"aria-label": e.current.title,
|
|
162
|
+
"aria-roledescription": "carousel",
|
|
161
163
|
className: a.carousel,
|
|
162
|
-
id:
|
|
163
|
-
ref:
|
|
164
|
-
tabIndex: -1,
|
|
164
|
+
id: h.current,
|
|
165
|
+
ref: I,
|
|
165
166
|
role: "region",
|
|
166
|
-
"aria-roledescription": "carousel",
|
|
167
|
-
"aria-label": e.current.title,
|
|
168
|
-
onKeyDown: F,
|
|
169
167
|
style: {
|
|
170
|
-
"--_carousel-gutters": e.current.wrapAround ? `${e.current.gutterSize <= 25 ? e.current.gutterSize : 25}%` : `0 ${e.current.gutterSize <= 25 ? e.current.gutterSize : 25}%`,
|
|
168
|
+
"--_carousel-gutters": e.current.wrapAround ? `${(e.current.gutterSize ?? 25) <= 25 ? e.current.gutterSize ?? 25 : 25}%` : `0 ${(e.current.gutterSize ?? 25) <= 25 ? e.current.gutterSize ?? 25 : 25}%`,
|
|
171
169
|
"--_slide-aspect-ratio": e.current.slideAspectRatio,
|
|
172
170
|
"--_cell-aspect-ratio": e.current.cellAspectRatio,
|
|
173
|
-
"--_slide-cell-size": `${100 / e.current.cellsPerSlide}%`,
|
|
171
|
+
"--_slide-cell-size": `${100 / (e.current.cellsPerSlide ?? 1)}%`,
|
|
174
172
|
"--_cells-position": e.current.cellsPosition,
|
|
175
|
-
"--_control-btns-offset-x": `${e.current.controlButtonsOffset}rem`,
|
|
176
|
-
"--_slide-gap": `${e.current.slideGap}rem`,
|
|
177
|
-
"--_controls-transform":
|
|
173
|
+
"--_control-btns-offset-x": `${e.current.controlButtonsOffset ?? 0}rem`,
|
|
174
|
+
"--_slide-gap": `${e.current.slideGap ?? 0}rem`,
|
|
175
|
+
"--_controls-transform": $.current
|
|
178
176
|
},
|
|
177
|
+
tabIndex: -1,
|
|
178
|
+
onKeyDown: U,
|
|
179
179
|
children: [
|
|
180
180
|
/* @__PURE__ */ o(
|
|
181
181
|
"ol",
|
|
182
182
|
{
|
|
183
|
+
"aria-label": "Items Scroller",
|
|
184
|
+
"aria-live": "polite",
|
|
183
185
|
className: a.carousel__scroller,
|
|
184
|
-
|
|
186
|
+
"data-scrollbar": e.current.showScrollbar,
|
|
187
|
+
ref: c,
|
|
185
188
|
role: "group",
|
|
186
|
-
"aria-label": "Items Scroller",
|
|
187
|
-
"aria-live": "Polite",
|
|
188
189
|
tabIndex: 0,
|
|
189
190
|
onMouseEnter: () => {
|
|
190
191
|
e.current.autoplay && r.current !== null && r.current.clearTimer();
|
|
@@ -192,32 +193,31 @@ function de({
|
|
|
192
193
|
onMouseLeave: () => {
|
|
193
194
|
e.current.autoplay && r.current !== null && r.current.startTimer();
|
|
194
195
|
},
|
|
195
|
-
onTouchStart:
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
ee,
|
|
196
|
+
onTouchStart: F,
|
|
197
|
+
children: N.length > 0 && N.map((t, n) => /* @__PURE__ */ o(
|
|
198
|
+
Z,
|
|
199
199
|
{
|
|
200
|
-
slide: t,
|
|
201
|
-
index: n,
|
|
202
200
|
currentIndex: e.current.wrapAround ? 1 : 0,
|
|
201
|
+
index: n,
|
|
202
|
+
slide: { ...t, ariaLabel: t.ariaLabel || "" },
|
|
203
203
|
variableHeight: e.current.variableHeight
|
|
204
204
|
},
|
|
205
|
-
`carousel${
|
|
205
|
+
`carousel${E}-slide${n}`
|
|
206
206
|
))
|
|
207
207
|
}
|
|
208
208
|
),
|
|
209
|
-
e.current.showControls &&
|
|
209
|
+
e.current.showControls && L.length > (e.current.cellsPerSlide ?? 1) && /* @__PURE__ */ K("div", { className: a["carousel-controls"], children: [
|
|
210
210
|
/* @__PURE__ */ o(
|
|
211
211
|
"button",
|
|
212
212
|
{
|
|
213
|
-
|
|
214
|
-
ref: S,
|
|
215
|
-
title: "Previous Item",
|
|
216
|
-
className: _([a["carousel-controls__btn"], a["carousel-controls__previous"], "carousel-controls__previous"]),
|
|
217
|
-
"aria-controls": p.current,
|
|
213
|
+
"aria-controls": h.current,
|
|
218
214
|
"aria-label": "Previous Item",
|
|
215
|
+
className: A([a["carousel-controls__btn"], a["carousel-controls__previous"], "carousel-controls__previous"]),
|
|
216
|
+
ref: m,
|
|
217
|
+
title: "Previous Item",
|
|
218
|
+
type: "button",
|
|
219
219
|
onClick: () => {
|
|
220
|
-
r.current.determineScrollAction(-1);
|
|
220
|
+
r.current && r.current.determineScrollAction(-1);
|
|
221
221
|
},
|
|
222
222
|
onMouseEnter: () => {
|
|
223
223
|
e.current.autoplay && r.current !== null && r.current.clearTimer();
|
|
@@ -225,20 +225,20 @@ function de({
|
|
|
225
225
|
onMouseLeave: () => {
|
|
226
226
|
e.current.autoplay && r.current !== null && r.current.startTimer();
|
|
227
227
|
},
|
|
228
|
-
children: /* @__PURE__ */ o("i", { "aria-hidden": "true", children: /* @__PURE__ */ o(
|
|
228
|
+
children: /* @__PURE__ */ o("i", { "aria-hidden": "true", children: /* @__PURE__ */ o(ee, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
|
|
229
229
|
}
|
|
230
230
|
),
|
|
231
231
|
/* @__PURE__ */ o(
|
|
232
232
|
"button",
|
|
233
233
|
{
|
|
234
|
-
|
|
234
|
+
"aria-controls": h.current,
|
|
235
|
+
"aria-label": "Next Item",
|
|
236
|
+
className: A([a["carousel-controls__btn"], a["carousel-controls__next"], "carousel-controls__next"]),
|
|
235
237
|
ref: T,
|
|
236
238
|
title: "Next Item",
|
|
237
|
-
|
|
238
|
-
"aria-controls": p.current,
|
|
239
|
-
"aria-label": "Next Item",
|
|
239
|
+
type: "button",
|
|
240
240
|
onClick: () => {
|
|
241
|
-
r.current.determineScrollAction(1);
|
|
241
|
+
r.current && r.current.determineScrollAction(1);
|
|
242
242
|
},
|
|
243
243
|
onMouseEnter: () => {
|
|
244
244
|
e.current.autoplay && r.current !== null && r.current.clearTimer();
|
|
@@ -246,27 +246,27 @@ function de({
|
|
|
246
246
|
onMouseLeave: () => {
|
|
247
247
|
e.current.autoplay && r.current !== null && r.current.startTimer();
|
|
248
248
|
},
|
|
249
|
-
children: /* @__PURE__ */ o("i", { "aria-hidden": "true", children: /* @__PURE__ */ o(
|
|
249
|
+
children: /* @__PURE__ */ o("i", { "aria-hidden": "true", children: /* @__PURE__ */ o(re, { height: e.current.controlArrowSize, width: e.current.controlArrowSize }) })
|
|
250
250
|
}
|
|
251
251
|
)
|
|
252
252
|
] }),
|
|
253
|
-
e.current.showPagination &&
|
|
253
|
+
e.current.showPagination && M.length > 1 && /* @__PURE__ */ o("div", { className: [a["carousel-nav"], "carousel-nav"].join(" "), children: /* @__PURE__ */ o("ol", { className: a["carousel-nav__list"], ref: R, children: M.map((t, n) => /* @__PURE__ */ o(
|
|
254
254
|
"li",
|
|
255
255
|
{
|
|
256
|
-
className:
|
|
256
|
+
className: A([a["carousel-nav__item"], "carousel-nav__item"]),
|
|
257
257
|
"data-current": n === 0 ? "true" : "false",
|
|
258
|
+
title: `Navigate to slide ${n + 1}`,
|
|
258
259
|
onClick: () => {
|
|
259
|
-
r.current.navigateToIndex(n);
|
|
260
|
-
}
|
|
261
|
-
title: `Navigate to slide ${n + 1}`
|
|
260
|
+
r.current && r.current.navigateToIndex(n);
|
|
261
|
+
}
|
|
262
262
|
},
|
|
263
|
-
`carousel${
|
|
263
|
+
`carousel${h}-nav-${n}`
|
|
264
264
|
)) }) })
|
|
265
265
|
]
|
|
266
266
|
}
|
|
267
267
|
) });
|
|
268
268
|
}
|
|
269
269
|
export {
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
ue as Carousel,
|
|
271
|
+
ue as default
|
|
272
272
|
};
|
|
@@ -1,34 +1,24 @@
|
|
|
1
|
+
import { CarouselCell, CarouselOptions, CarouselNavBtnEls, CarouselUtilsConstructorParams } from '../../types';
|
|
1
2
|
export default class CarouselUtils {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
navBtnEls?: {
|
|
8
|
-
next: {};
|
|
9
|
-
previous: {};
|
|
10
|
-
} | undefined;
|
|
11
|
-
options: any;
|
|
12
|
-
});
|
|
13
|
-
carouselEl: any;
|
|
14
|
-
scrollerEl: any;
|
|
15
|
-
paginationEl: any;
|
|
16
|
-
slides: any;
|
|
3
|
+
#private;
|
|
4
|
+
carouselEl: HTMLElement;
|
|
5
|
+
scrollerEl: HTMLElement;
|
|
6
|
+
paginationEl: HTMLElement;
|
|
7
|
+
cells: CarouselCell[];
|
|
17
8
|
currentIndex: number;
|
|
18
|
-
slideEls:
|
|
19
|
-
navBtnEls:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
timerInterval: any;
|
|
27
|
-
slideGutterSize: any;
|
|
28
|
-
showPagination: any;
|
|
9
|
+
slideEls: HTMLElement[];
|
|
10
|
+
navBtnEls: CarouselNavBtnEls;
|
|
11
|
+
currentIntersecting: IntersectionObserverEntry | Record<string, never>;
|
|
12
|
+
options: CarouselOptions;
|
|
13
|
+
timer: NodeJS.Timeout | null | undefined;
|
|
14
|
+
timerInterval: number | undefined;
|
|
15
|
+
slideGutterSize: number;
|
|
16
|
+
showPagination: boolean | undefined;
|
|
29
17
|
isInitialScroll: boolean;
|
|
30
18
|
totalSlideEls: number;
|
|
31
19
|
totalSlides: number;
|
|
20
|
+
carouselObserver: IntersectionObserver | undefined;
|
|
21
|
+
constructor({ carouselEl, scrollerEl, paginationEl, cells, navBtnEls, options, }: CarouselUtilsConstructorParams);
|
|
32
22
|
/**
|
|
33
23
|
* starts the autoplay timer
|
|
34
24
|
*/
|
|
@@ -63,6 +53,4 @@ export default class CarouselUtils {
|
|
|
63
53
|
* @returns void
|
|
64
54
|
*/
|
|
65
55
|
handleScrollEnd(): void;
|
|
66
|
-
carouselObserver: IntersectionObserver | undefined;
|
|
67
|
-
#private;
|
|
68
56
|
}
|