@scrippsproduct/networks-ui-library 1.0.15
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/README.md +71 -0
- package/dist/ChoicesItem-CGIr6Qga.mjs +38 -0
- package/dist/Form.module-DbpB9u1l.mjs +150 -0
- package/dist/PageHero.module-BdV8z_Xv.mjs +8 -0
- package/dist/ResultsTable.module-B7M9y7hd.mjs +14 -0
- package/dist/SocialShareButton-BXGVUD-z.mjs +30 -0
- package/dist/_commonjsHelpers-DaMA6jEr.mjs +8 -0
- package/dist/add-DH4DZT_w.mjs +17 -0
- package/dist/addMonths-Ca2KMx6g.mjs +23 -0
- package/dist/assets/ActionButton.css +1 -0
- package/dist/assets/AdBlock.css +1 -0
- package/dist/assets/AdjustableTwoColumnGrid.css +1 -0
- package/dist/assets/AirDateFormatter.css +1 -0
- package/dist/assets/AnchorTag.css +1 -0
- package/dist/assets/BCVideoPlayer.css +1 -0
- package/dist/assets/BasicGridModule.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/CarouselSlide.css +1 -0
- package/dist/assets/ChannelSearch.css +1 -0
- package/dist/assets/ChoicesItem.css +1 -0
- package/dist/assets/ContentHero.css +1 -0
- package/dist/assets/CtaBlock.css +1 -0
- package/dist/assets/CustomDataList.css +1 -0
- package/dist/assets/DateNavigation.css +1 -0
- package/dist/assets/DatePicker.css +1 -0
- package/dist/assets/DeviceAndPlatformLists.css +1 -0
- package/dist/assets/DrawerNavigation.css +1 -0
- package/dist/assets/EqualSizeFlexRow.css +1 -0
- package/dist/assets/EqualSizeGrid.css +1 -0
- package/dist/assets/ErrorHandler.css +1 -0
- package/dist/assets/FeaturedList.css +1 -0
- package/dist/assets/Figure.css +1 -0
- package/dist/assets/Figure2.css +1 -0
- package/dist/assets/FindUs.css +1 -0
- package/dist/assets/FooterNavigation.css +1 -0
- package/dist/assets/Form.css +1 -0
- package/dist/assets/GradientButton.css +1 -0
- package/dist/assets/GridList.css +1 -0
- package/dist/assets/IONShowHero.css +1 -0
- package/dist/assets/ImageCard.css +1 -0
- package/dist/assets/ImageReplacementAnchor.css +1 -0
- package/dist/assets/InfoPanel.css +1 -0
- package/dist/assets/InlineNavigation.css +1 -0
- package/dist/assets/InstructionsList.css +1 -0
- package/dist/assets/Loading.css +1 -0
- package/dist/assets/LoadingV2.css +1 -0
- package/dist/assets/LogoListItem.css +1 -0
- package/dist/assets/LogoNavigation.css +1 -0
- package/dist/assets/ModalContainer.css +1 -0
- package/dist/assets/MultiLayeredFigure.css +1 -0
- package/dist/assets/NavList.css +1 -0
- package/dist/assets/Overlay.css +1 -0
- package/dist/assets/PageHero.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/ProgramAirdate.css +1 -0
- package/dist/assets/PromotionBlock.css +1 -0
- package/dist/assets/PromotionsRowModule.css +1 -0
- package/dist/assets/RescanInstructions.css +1 -0
- package/dist/assets/ResultsTable.css +1 -0
- package/dist/assets/ScheduleList.css +1 -0
- package/dist/assets/ShowAboutLayout.css +1 -0
- package/dist/assets/ShowSlide.css +1 -0
- package/dist/assets/SocialLinks.css +1 -0
- package/dist/assets/SocialShareButton.css +1 -0
- package/dist/assets/StringList.css +1 -0
- package/dist/assets/TabNavigation.css +1 -0
- package/dist/assets/TextSlide.css +1 -0
- package/dist/assets/TwoColumnSlide.css +1 -0
- package/dist/assets/UpcomingList.css +1 -0
- package/dist/chevron-left-DmvQntvu.mjs +54 -0
- package/dist/chevron-right-CaAz6ISN.mjs +54 -0
- package/dist/components/ActionButton/ActionButton.d.ts +19 -0
- package/dist/components/ActionButton/ActionButton.js +78 -0
- package/dist/components/ActionButton/index.d.ts +1 -0
- package/dist/components/ActionButton/index.js +5 -0
- package/dist/components/AdBlock/AdBlock.d.ts +6 -0
- package/dist/components/AdBlock/AdBlock.js +110 -0
- package/dist/components/AdBlock/index.d.ts +1 -0
- package/dist/components/AdBlock/index.js +5 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -0
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +24 -0
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +1 -0
- package/dist/components/AdjustableTwoColumnGrid/index.js +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -0
- package/dist/components/AirDateFormatter/AirDateFormatter.js +82 -0
- package/dist/components/AirDateFormatter/index.d.ts +1 -0
- package/dist/components/AirDateFormatter/index.js +5 -0
- package/dist/components/AnchorTag/AnchorTag.d.ts +9 -0
- package/dist/components/AnchorTag/AnchorTag.js +45 -0
- package/dist/components/AnchorTag/index.d.ts +1 -0
- package/dist/components/AnchorTag/index.js +5 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +13 -0
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +57 -0
- package/dist/components/BCVideoPlayer/index.d.ts +1 -0
- package/dist/components/BCVideoPlayer/index.js +5 -0
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +24 -0
- package/dist/components/BasicGridModule/BasicGridModule.js +88 -0
- package/dist/components/BasicGridModule/index.d.ts +1 -0
- package/dist/components/BasicGridModule/index.js +5 -0
- package/dist/components/Button/Button.d.ts +19 -0
- package/dist/components/Button/Button.js +76 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Button/index.js +5 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +6 -0
- package/dist/components/ButtonAnchor/ButtonAnchor.js +18 -0
- package/dist/components/ButtonAnchor/index.d.ts +1 -0
- package/dist/components/ButtonAnchor/index.js +5 -0
- package/dist/components/Carousel/Carousel.d.ts +25 -0
- package/dist/components/Carousel/Carousel.js +298 -0
- package/dist/components/Carousel/CarouselUtils.class.d.ts +68 -0
- package/dist/components/Carousel/CarouselUtils.class.js +187 -0
- package/dist/components/Carousel/index.d.ts +1 -0
- package/dist/components/Carousel/index.js +5 -0
- package/dist/components/Carousel/navigations/Pagination.d.ts +3 -0
- package/dist/components/Carousel/navigations/Pagination.js +18 -0
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/CarouselSlide.js +37 -0
- package/dist/components/CarouselSlide/index.d.ts +1 -0
- package/dist/components/CarouselSlide/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +9 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +34 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +105 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +10 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.d.ts +4 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.js +27 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +28 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +42 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +116 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +170 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +193 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Show/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +7 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +30 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +19 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +35 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Text/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +17 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +49 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +2 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +20 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.d.ts +1 -0
- package/dist/components/CarouselSlide/slide-layouts/Video/index.js +5 -0
- package/dist/components/CarouselSlide/slide-layouts/index.d.ts +8 -0
- package/dist/components/CarouselSlide/slide-layouts/index.js +18 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +2 -0
- package/dist/components/CastInfoLayout/CastInfoLayout.js +62 -0
- package/dist/components/CastInfoLayout/index.d.ts +1 -0
- package/dist/components/CastInfoLayout/index.js +5 -0
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -0
- package/dist/components/ChannelSearch/ChannelSearch.js +171 -0
- package/dist/components/ChannelSearch/index.d.ts +1 -0
- package/dist/components/ChannelSearch/index.js +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +5 -0
- package/dist/components/ChoicesItem/ChoicesItem.js +8 -0
- package/dist/components/ChoicesItem/index.d.ts +1 -0
- package/dist/components/ChoicesItem/index.js +5 -0
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -0
- package/dist/components/ChoicesList/ChoicesList.js +9 -0
- package/dist/components/ChoicesList/index.d.ts +1 -0
- package/dist/components/ChoicesList/index.js +5 -0
- package/dist/components/Concat/Concat.d.ts +4 -0
- package/dist/components/Concat/Concat.js +10 -0
- package/dist/components/Concat/index.d.ts +1 -0
- package/dist/components/Concat/index.js +5 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +6 -0
- package/dist/components/CreateChoiceList/CreateChoiceList.js +14 -0
- package/dist/components/CreateChoiceList/index.d.ts +1 -0
- package/dist/components/CreateChoiceList/index.js +5 -0
- package/dist/components/CtaBlock/CtaBlock.d.ts +23 -0
- package/dist/components/CtaBlock/CtaBlock.js +89 -0
- package/dist/components/CtaBlock/index.d.ts +1 -0
- package/dist/components/CtaBlock/index.js +5 -0
- package/dist/components/CustomDataList/CustomDataList.d.ts +11 -0
- package/dist/components/CustomDataList/CustomDataList.js +282 -0
- package/dist/components/CustomDataList/index.d.ts +1 -0
- package/dist/components/CustomDataList/index.js +5 -0
- package/dist/components/CustomSelect/CustomSelect.d.ts +14 -0
- package/dist/components/CustomSelect/CustomSelect.js +217 -0
- package/dist/components/CustomSelect/index.d.ts +1 -0
- package/dist/components/CustomSelect/index.js +5 -0
- package/dist/components/DateNavigation/DateNavigation.d.ts +5 -0
- package/dist/components/DateNavigation/DateNavigation.js +115 -0
- package/dist/components/DateNavigation/index.d.ts +1 -0
- package/dist/components/DateNavigation/index.js +5 -0
- package/dist/components/DatePicker/DatePicker.d.ts +10 -0
- package/dist/components/DatePicker/DatePicker.js +5895 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +5 -0
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +60 -0
- package/dist/components/DeviceAndPlatformLists/index.d.ts +1 -0
- package/dist/components/DeviceAndPlatformLists/index.js +5 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +10 -0
- package/dist/components/DrawerNavigation/DrawerNavigation.js +123 -0
- package/dist/components/DrawerNavigation/index.d.ts +1 -0
- package/dist/components/DrawerNavigation/index.js +5 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -0
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +31 -0
- package/dist/components/EqualSizeFlexRow/index.d.ts +1 -0
- package/dist/components/EqualSizeFlexRow/index.js +5 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -0
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +29 -0
- package/dist/components/EqualSizeGrid/index.d.ts +1 -0
- package/dist/components/EqualSizeGrid/index.js +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -0
- package/dist/components/ErrorHandler/ErrorHandler.js +17 -0
- package/dist/components/ErrorHandler/index.d.ts +1 -0
- package/dist/components/ErrorHandler/index.js +5 -0
- package/dist/components/FeaturedList/FeaturedList.d.ts +7 -0
- package/dist/components/FeaturedList/FeaturedList.js +48 -0
- package/dist/components/FeaturedList/index.d.ts +1 -0
- package/dist/components/FeaturedList/index.js +5 -0
- package/dist/components/Figure/Figure.d.ts +8 -0
- package/dist/components/Figure/Figure.js +23 -0
- package/dist/components/Figure/index.d.ts +1 -0
- package/dist/components/Figure/index.js +5 -0
- package/dist/components/FindUs/FindUs.d.ts +20 -0
- package/dist/components/FindUs/FindUs.js +120 -0
- package/dist/components/FindUs/index.d.ts +1 -0
- package/dist/components/FindUs/index.js +5 -0
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +4 -0
- package/dist/components/FooterNavigation/FooterNavigation.js +24 -0
- package/dist/components/FooterNavigation/index.d.ts +1 -0
- package/dist/components/FooterNavigation/index.js +5 -0
- package/dist/components/GenericList/GenericList.d.ts +6 -0
- package/dist/components/GenericList/GenericList.js +23 -0
- package/dist/components/GenericList/index.d.ts +1 -0
- package/dist/components/GenericList/index.js +5 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -0
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +40 -0
- package/dist/components/GetAirdateWrapper/index.d.ts +1 -0
- package/dist/components/GetAirdateWrapper/index.js +5 -0
- package/dist/components/GradientButton/GradientButton.d.ts +15 -0
- package/dist/components/GradientButton/GradientButton.js +69 -0
- package/dist/components/GradientButton/index.d.ts +1 -0
- package/dist/components/GradientButton/index.js +5 -0
- package/dist/components/GridList/GridList.d.ts +6 -0
- package/dist/components/GridList/GridList.js +28 -0
- package/dist/components/GridList/index.d.ts +1 -0
- package/dist/components/GridList/index.js +5 -0
- package/dist/components/ImageCard/ImageCard.d.ts +3 -0
- package/dist/components/ImageCard/ImageCard.js +113 -0
- package/dist/components/ImageCard/ImageCardCore.d.ts +3 -0
- package/dist/components/ImageCard/ImageCardCore.js +129 -0
- package/dist/components/ImageCard/index.d.ts +1 -0
- package/dist/components/ImageCard/index.js +5 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +15 -0
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +52 -0
- package/dist/components/ImageReplacementAnchor/index.d.ts +1 -0
- package/dist/components/ImageReplacementAnchor/index.js +5 -0
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -0
- package/dist/components/InfoPanel/InfoPanel.js +66 -0
- package/dist/components/InfoPanel/index.d.ts +1 -0
- package/dist/components/InfoPanel/index.js +5 -0
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +6 -0
- package/dist/components/InlineNavigation/InlineNavigation.js +27 -0
- package/dist/components/InlineNavigation/index.d.ts +1 -0
- package/dist/components/InlineNavigation/index.js +4 -0
- package/dist/components/Input/Input.d.ts +10 -0
- package/dist/components/Input/Input.js +57 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/Input/index.js +5 -0
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -0
- package/dist/components/InstructionsList/InstructionsList.js +17 -0
- package/dist/components/InstructionsList/index.d.ts +1 -0
- package/dist/components/InstructionsList/index.js +5 -0
- package/dist/components/Loading/Loading.d.ts +8 -0
- package/dist/components/Loading/Loading.js +36 -0
- package/dist/components/Loading/index.d.ts +1 -0
- package/dist/components/Loading/index.js +5 -0
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -0
- package/dist/components/LoadingV2/LoadingV2.js +39 -0
- package/dist/components/LoadingV2/index.d.ts +1 -0
- package/dist/components/LoadingV2/index.js +5 -0
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -0
- package/dist/components/LogoListItem/LogoListItem.js +29 -0
- package/dist/components/LogoListItem/index.d.ts +1 -0
- package/dist/components/LogoListItem/index.js +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +5 -0
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -0
- package/dist/components/LogoNavigation/index.d.ts +1 -0
- package/dist/components/LogoNavigation/index.js +5 -0
- package/dist/components/ModalContainer/ModalContainer.d.ts +9 -0
- package/dist/components/ModalContainer/ModalContainer.js +108 -0
- package/dist/components/ModalContainer/index.d.ts +1 -0
- package/dist/components/ModalContainer/index.js +5 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -0
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +29 -0
- package/dist/components/MultiLayeredFigure/index.d.ts +1 -0
- package/dist/components/MultiLayeredFigure/index.js +5 -0
- package/dist/components/NavList/NavList.d.ts +8 -0
- package/dist/components/NavList/NavList.js +33 -0
- package/dist/components/NavList/index.d.ts +1 -0
- package/dist/components/NavList/index.js +5 -0
- package/dist/components/Overlay/Overlay.d.ts +6 -0
- package/dist/components/Overlay/Overlay.js +37 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Overlay/index.js +5 -0
- package/dist/components/PageHero/PageHero.d.ts +6 -0
- package/dist/components/PageHero/PageHero.js +19 -0
- package/dist/components/PageHero/index.d.ts +1 -0
- package/dist/components/PageHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +14 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +40 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +6 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +64 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +13 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +35 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +1 -0
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.js +5 -0
- package/dist/components/PageHero/page-hero-layouts/index.d.ts +3 -0
- package/dist/components/PageHero/page-hero-layouts/index.js +8 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +11 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.js +151 -0
- package/dist/components/ProgramAirdate/index.d.ts +1 -0
- package/dist/components/ProgramAirdate/index.js +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +5 -0
- package/dist/components/PromotionBlock/PromotionBlock.js +43 -0
- package/dist/components/PromotionBlock/index.d.ts +1 -0
- package/dist/components/PromotionBlock/index.js +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -0
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +10 -0
- package/dist/components/PromotionsRowBlock/index.d.ts +1 -0
- package/dist/components/PromotionsRowBlock/index.js +5 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +6 -0
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +113 -0
- package/dist/components/PromotionsRowModule/index.d.ts +1 -0
- package/dist/components/PromotionsRowModule/index.js +5 -0
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +4 -0
- package/dist/components/RescanInstructions/RescanInstructions.js +30 -0
- package/dist/components/RescanInstructions/index.d.ts +1 -0
- package/dist/components/RescanInstructions/index.js +5 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +14 -0
- package/dist/components/ResponsiveImage/ResponsiveImage.js +34 -0
- package/dist/components/ResponsiveImage/index.d.ts +1 -0
- package/dist/components/ResponsiveImage/index.js +5 -0
- package/dist/components/ResultsTable/ResultsTable.d.ts +7 -0
- package/dist/components/ResultsTable/ResultsTable.js +26 -0
- package/dist/components/ResultsTable/index.d.ts +1 -0
- package/dist/components/ResultsTable/index.js +5 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +6 -0
- package/dist/components/ResultsTableBody/ResultsTableBody.js +51 -0
- package/dist/components/ResultsTableBody/index.d.ts +1 -0
- package/dist/components/ResultsTableBody/index.js +5 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +4 -0
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +21 -0
- package/dist/components/ResultsTableHeader/index.d.ts +1 -0
- package/dist/components/ResultsTableHeader/index.js +5 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +6 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.js +28 -0
- package/dist/components/ScheduleLayout/index.d.ts +1 -0
- package/dist/components/ScheduleLayout/index.js +5 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +6 -0
- package/dist/components/ScheduleList/ScheduleList.js +100 -0
- package/dist/components/ScheduleList/index.d.ts +1 -0
- package/dist/components/ScheduleList/index.js +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +5 -0
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +21 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +39 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +41 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +8 -0
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +39 -0
- package/dist/components/SectionedContent/SectionedContent.d.ts +4 -0
- package/dist/components/SectionedContent/SectionedContent.js +23 -0
- package/dist/components/SectionedContent/index.d.ts +1 -0
- package/dist/components/SectionedContent/index.js +5 -0
- package/dist/components/Select/Select.d.ts +12 -0
- package/dist/components/Select/Select.js +64 -0
- package/dist/components/Select/index.d.ts +1 -0
- package/dist/components/Select/index.js +5 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +8 -0
- package/dist/components/ShowAboutContent/ShowAboutContent.js +69 -0
- package/dist/components/ShowAboutContent/index.d.ts +1 -0
- package/dist/components/ShowAboutContent/index.js +5 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +8 -0
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +53 -0
- package/dist/components/ShowAboutLayout/index.d.ts +1 -0
- package/dist/components/ShowAboutLayout/index.js +5 -0
- package/dist/components/SocialLinks/SocialLinks.d.ts +11 -0
- package/dist/components/SocialLinks/SocialLinks.js +260 -0
- package/dist/components/SocialLinks/index.d.ts +1 -0
- package/dist/components/SocialLinks/index.js +5 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -0
- package/dist/components/SocialShareBlock/SocialShareBlock.js +44 -0
- package/dist/components/SocialShareBlock/index.d.ts +1 -0
- package/dist/components/SocialShareBlock/index.js +5 -0
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -0
- package/dist/components/SocialShareButton/SocialShareButton.js +9 -0
- package/dist/components/SocialShareButton/index.d.ts +1 -0
- package/dist/components/SocialShareButton/index.js +5 -0
- package/dist/components/StringList/StringList.d.ts +6 -0
- package/dist/components/StringList/StringList.js +30 -0
- package/dist/components/StringList/index.d.ts +1 -0
- package/dist/components/StringList/index.js +5 -0
- package/dist/components/TabContent/TabContent.d.ts +5 -0
- package/dist/components/TabContent/TabContent.js +10 -0
- package/dist/components/TabContent/index.d.ts +1 -0
- package/dist/components/TabContent/index.js +5 -0
- package/dist/components/TabNavigation/TabNavigation.d.ts +6 -0
- package/dist/components/TabNavigation/TabNavigation.js +69 -0
- package/dist/components/TabNavigation/index.d.ts +1 -0
- package/dist/components/TabNavigation/index.js +5 -0
- package/dist/components/TabbedContent/TabbedContent.d.ts +5 -0
- package/dist/components/TabbedContent/TabbedContent.js +15 -0
- package/dist/components/TabbedContent/index.d.ts +1 -0
- package/dist/components/TabbedContent/index.js +5 -0
- package/dist/components/TextArea/TextArea.d.ts +2 -0
- package/dist/components/TextArea/TextArea.js +49 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TextArea/index.js +5 -0
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -0
- package/dist/components/UpcomingList/UpcomingList.js +61 -0
- package/dist/components/UpcomingList/index.d.ts +1 -0
- package/dist/components/UpcomingList/index.js +5 -0
- package/dist/containers/GetFeatruedListContainer.d.ts +17 -0
- package/dist/containers/GetFeatruedListContainer.js +50 -0
- package/dist/containers/NowPlayingContainer.d.ts +16 -0
- package/dist/containers/NowPlayingContainer.js +87 -0
- package/dist/data-resources/FakeDataResource.d.ts +95 -0
- package/dist/data-resources/FakeDataResource.js +692 -0
- package/dist/error-boundries/BlankErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/BlankErrorBoundry.js +25 -0
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -0
- package/dist/error-boundries/GeneralErrorBoundry.js +27 -0
- package/dist/facebook-osmzgL7R.mjs +54 -0
- package/dist/format-DF9p-6BI.mjs +1221 -0
- package/dist/hooks/useAddScriptTags.d.ts +2 -0
- package/dist/hooks/useAddScriptTags.js +8 -0
- package/dist/hooks/useGetSchedule.d.ts +14 -0
- package/dist/hooks/useGetSchedule.js +58 -0
- package/dist/hooks/useGetUpcoming.d.ts +7 -0
- package/dist/hooks/useGetUpcoming.js +28 -0
- package/dist/hooks/useOptinMonsterReset.d.ts +4 -0
- package/dist/hooks/useOptinMonsterReset.js +41 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.d.ts +4 -0
- package/dist/hooks/useSourcepointPrivacyTrigger.js +23 -0
- package/dist/icons/Facebook.d.ts +3 -0
- package/dist/icons/Facebook.js +33 -0
- package/dist/icons/Tiktok.d.ts +3 -0
- package/dist/icons/Tiktok.js +35 -0
- package/dist/icons/Twitter.d.ts +3 -0
- package/dist/icons/Twitter.js +35 -0
- package/dist/index-0wieGV50.mjs +133 -0
- package/dist/index-CZzwT3Oj.mjs +662 -0
- package/dist/index-DB0QlRo7.mjs +1827 -0
- package/dist/index-YbL9dKxh.mjs +19068 -0
- package/dist/index.d.ts +78 -0
- package/dist/index.js +158 -0
- package/dist/secl-ui.d.ts +2 -0
- package/dist/settings.d.ts +3 -0
- package/dist/settings.js +30 -0
- package/dist/sub-DTz41m8W.mjs +17 -0
- package/dist/subMonths-YdVF7zsL.mjs +11 -0
- package/dist/triangle-D0AHL9lB.mjs +54 -0
- package/dist/utils/Redirect.d.ts +4 -0
- package/dist/utils/Redirect.js +9 -0
- package/dist/utils/analytics.d.ts +1 -0
- package/dist/utils/analytics.js +458 -0
- package/dist/utils/createSocialShareLinks.d.ts +7 -0
- package/dist/utils/createSocialShareLinks.js +65 -0
- package/dist/utils/date-helpers.d.ts +31 -0
- package/dist/utils/date-helpers.js +49 -0
- package/dist/utils/events.d.ts +3 -0
- package/dist/utils/events.js +15 -0
- package/dist/utils/getCarouselOptions.d.ts +1 -0
- package/dist/utils/getCarouselOptions.js +64 -0
- package/dist/utils/getFeaturedList.d.ts +22 -0
- package/dist/utils/getFeaturedList.js +66 -0
- package/dist/utils/getFeaturedListImages.d.ts +5 -0
- package/dist/utils/getFeaturedListImages.js +36 -0
- package/dist/utils/getOnNowProgram.d.ts +12 -0
- package/dist/utils/getOnNowProgram.js +116 -0
- package/dist/utils/getSchedule.d.ts +7 -0
- package/dist/utils/getSchedule.js +31 -0
- package/dist/utils/getUpcomingPrograms.d.ts +18 -0
- package/dist/utils/getUpcomingPrograms.js +30 -0
- package/dist/utils/getViewingPlatforms.d.ts +16 -0
- package/dist/utils/getViewingPlatforms.js +34 -0
- package/dist/utils/gtm.d.ts +4 -0
- package/dist/utils/gtm.js +17 -0
- package/dist/utils/helpers.d.ts +116 -0
- package/dist/utils/helpers.js +117 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/optinMonsterReset.d.ts +4 -0
- package/dist/utils/optinMonsterReset.js +18 -0
- package/dist/utils/optinMonsterScript.d.ts +4 -0
- package/dist/utils/optinMonsterScript.js +20 -0
- package/dist/utils/program-helpers.d.ts +50 -0
- package/dist/utils/program-helpers.js +33 -0
- package/dist/utils/schedule-helpers.d.ts +1 -0
- package/dist/utils/schedule-helpers.js +7 -0
- package/dist/utils/series-helpers.d.ts +50 -0
- package/dist/utils/series-helpers.js +33 -0
- package/dist/utils/wpPlatformsTransformer.d.ts +1 -0
- package/dist/utils/wpPlatformsTransformer.js +28 -0
- package/dist/vite-env.d.js +1 -0
- package/dist/vite.svg +1 -0
- package/dist/x-D8_C2o-U.mjs +62 -0
- package/package.json +131 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { jsx as n, Fragment as F, jsxs as D } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as c, useState as P, useEffect as O, useCallback as u } from "react";
|
|
3
|
+
import W from "./CarouselUtils.class.js";
|
|
4
|
+
import { CarouselSlide as J } from "../CarouselSlide/CarouselSlide.js";
|
|
5
|
+
import { chunkArray as Q, classes as y } from "../../utils/helpers.js";
|
|
6
|
+
import { C as X } from "../../chevron-left-DmvQntvu.mjs";
|
|
7
|
+
import { C as Y } from "../../chevron-right-CaAz6ISN.mjs";
|
|
8
|
+
import '../../assets/Pagination.css';const Z = "_carousel_1booq_1", ee = "_carousel__scroller_1booq_11", a = {
|
|
9
|
+
carousel: Z,
|
|
10
|
+
carousel__scroller: ee,
|
|
11
|
+
"carousel-controls": "_carousel-controls_1booq_38",
|
|
12
|
+
"carousel-controls__btn": "_carousel-controls__btn_1booq_42",
|
|
13
|
+
"carousel-controls__previous": "_carousel-controls__previous_1booq_67",
|
|
14
|
+
"carousel-controls__next": "_carousel-controls__next_1booq_74",
|
|
15
|
+
"carousel-nav": "_carousel-nav_1booq_86",
|
|
16
|
+
"carousel-nav__list": "_carousel-nav__list_1booq_90",
|
|
17
|
+
"carousel-nav__item": "_carousel-nav__item_1booq_99"
|
|
18
|
+
}, re = window.matchMedia("(max-width: 600px)"), te = window.matchMedia("(max-width: 800px"), le = window.matchMedia("(max-width: 1024px"), oe = window.matchMedia("(max-width: 1280px");
|
|
19
|
+
function fe({
|
|
20
|
+
id: A,
|
|
21
|
+
slides: z,
|
|
22
|
+
options: x = {
|
|
23
|
+
paginationType: "dots",
|
|
24
|
+
showControls: !0,
|
|
25
|
+
controlArrowSize: 48,
|
|
26
|
+
controlButtonsOffset: 12,
|
|
27
|
+
showScrollbar: !1,
|
|
28
|
+
startIndex: 0,
|
|
29
|
+
variableHeight: !1,
|
|
30
|
+
title: "",
|
|
31
|
+
autoplay: !1,
|
|
32
|
+
autoplayDelay: 3500,
|
|
33
|
+
showPagination: !1,
|
|
34
|
+
gutterSize: 25,
|
|
35
|
+
slideAspectRatio: "4/2",
|
|
36
|
+
slideGap: 1.5,
|
|
37
|
+
cellsPerSlide: 1,
|
|
38
|
+
cellAspectRatio: "4/2",
|
|
39
|
+
cellsPosition: "center",
|
|
40
|
+
wrapAround: !0
|
|
41
|
+
}
|
|
42
|
+
}) {
|
|
43
|
+
const _ = c(`carousel-${A}`), R = c(null), i = c(null), I = c(null), m = c(z), E = c(null), S = c(null), l = c(null), e = c(x), $ = c(x.showPagination), T = c("-50%"), [N, V] = P([]), [t, d] = P(null), [k, j] = P([]);
|
|
44
|
+
O(() => {
|
|
45
|
+
((o = null) => {
|
|
46
|
+
re.matches ? (d({
|
|
47
|
+
...e.current,
|
|
48
|
+
showControls: !1,
|
|
49
|
+
showPagination: !1,
|
|
50
|
+
cellsPerSlide: 1,
|
|
51
|
+
cellsPosition: e.current.wrapAround ? "center" : "flex-start",
|
|
52
|
+
gutterSize: 10
|
|
53
|
+
}), e.current = {
|
|
54
|
+
...e.current,
|
|
55
|
+
showControls: !1,
|
|
56
|
+
showPagination: !1,
|
|
57
|
+
cellsPerSlide: 1,
|
|
58
|
+
cellsPosition: e.current.wrapAround ? "center" : "flex-start",
|
|
59
|
+
gutterSize: 10
|
|
60
|
+
}, $.current = !1) : te.matches ? e.current.cellsPerSlide > 2 ? (d({
|
|
61
|
+
...e.current,
|
|
62
|
+
cellsPerSlide: 2,
|
|
63
|
+
showControls: !1,
|
|
64
|
+
gutterSize: 10
|
|
65
|
+
}), e.current = {
|
|
66
|
+
...e.current,
|
|
67
|
+
cellsPerSlide: 2,
|
|
68
|
+
showControls: !1,
|
|
69
|
+
gutterSize: 10
|
|
70
|
+
}) : (d({
|
|
71
|
+
...e.current,
|
|
72
|
+
showControls: !1,
|
|
73
|
+
gutterSize: 10
|
|
74
|
+
}), e.current = {
|
|
75
|
+
...e.current,
|
|
76
|
+
showControls: !1,
|
|
77
|
+
gutterSize: 10
|
|
78
|
+
}) : le.matches ? e.current.cellsPerSlide > 3 ? (d({
|
|
79
|
+
...e.current,
|
|
80
|
+
cellsPerSlide: 3,
|
|
81
|
+
showControls: !1,
|
|
82
|
+
gutterSize: 10
|
|
83
|
+
}), e.current = {
|
|
84
|
+
...e.current,
|
|
85
|
+
cellsPerSlide: 3,
|
|
86
|
+
showControls: !1,
|
|
87
|
+
gutterSize: 10
|
|
88
|
+
}) : (d({
|
|
89
|
+
...e.current,
|
|
90
|
+
showControls: !1,
|
|
91
|
+
gutterSize: 10
|
|
92
|
+
}), e.current = {
|
|
93
|
+
...e.current,
|
|
94
|
+
showControls: !1,
|
|
95
|
+
gutterSize: 10
|
|
96
|
+
}) : oe.matches && e.current.showPagination ? (d({
|
|
97
|
+
...e.current,
|
|
98
|
+
showControls: !1
|
|
99
|
+
}), e.current = {
|
|
100
|
+
...e.current,
|
|
101
|
+
showControls: !1
|
|
102
|
+
}) : d({
|
|
103
|
+
...e.current
|
|
104
|
+
});
|
|
105
|
+
})();
|
|
106
|
+
}, []);
|
|
107
|
+
const L = u((r, o) => {
|
|
108
|
+
const f = Q(o, r);
|
|
109
|
+
j([...f]);
|
|
110
|
+
let h = [];
|
|
111
|
+
for (let s = 0; s <= f.length - 1; s++) {
|
|
112
|
+
h[s] = {}, h[s].ariaLabel = `${s + 1} of ${f.length}`, h[s].layout = f[s][0].layout, h[s].cells = [];
|
|
113
|
+
for (let w = 0; w <= f[s].length - 1; w++)
|
|
114
|
+
h[s].cells[w] = {
|
|
115
|
+
props: f[s][w].props
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
const C = [...h], b = [...h], U = C.slice(-1), K = C.slice(0);
|
|
119
|
+
return b.push(K[0]), b.unshift(U[0]), e.current.wrapAround && r.length > o ? b : C;
|
|
120
|
+
}, []), p = u(() => {
|
|
121
|
+
e.current.autoplay && l.current.clearTimer();
|
|
122
|
+
}, []), B = u((r) => {
|
|
123
|
+
p();
|
|
124
|
+
const o = r.key;
|
|
125
|
+
o === "ArrowLeft" ? (r.preventDefault(), l.current.determineScrollAction(-1)) : o === "ArrowRight" && (r.preventDefault(), l.current.determineScrollAction(1));
|
|
126
|
+
}, [p]), G = u((r) => {
|
|
127
|
+
p(), i.current.addEventListener("scrollend", () => {
|
|
128
|
+
l.current.handleScrollEnd();
|
|
129
|
+
}, { once: !0 });
|
|
130
|
+
}, [p]), g = u((r) => {
|
|
131
|
+
p(), i.current.addEventListener("scrollend", () => {
|
|
132
|
+
l.current.handleScrollEnd(), i.current.addEventListener("scroll", g, { once: !0 });
|
|
133
|
+
}, { once: !0 });
|
|
134
|
+
}, [p]), H = () => {
|
|
135
|
+
l.current && e.current.autoplay && l.current.clearTimer();
|
|
136
|
+
}, v = u(() => {
|
|
137
|
+
//! make sure class is only instantiated once because of reacts
|
|
138
|
+
//! "strict" mode double do hocus pocus
|
|
139
|
+
l.current === null && (l.current = new W({
|
|
140
|
+
carouselEl: R.current,
|
|
141
|
+
scrollerEl: i.current,
|
|
142
|
+
paginationEl: I.current,
|
|
143
|
+
slides: m.current,
|
|
144
|
+
navBtnEls: {
|
|
145
|
+
next: E.current,
|
|
146
|
+
previous: S.current
|
|
147
|
+
},
|
|
148
|
+
id: _.current,
|
|
149
|
+
options: {
|
|
150
|
+
autoplay: e.current.autoplay,
|
|
151
|
+
wrapAround: e.current.wrapAround && m.current.length > e.current.cellsPerSlide,
|
|
152
|
+
showPagination: e.current.showPagination,
|
|
153
|
+
delay: e.current.autoplayDelay,
|
|
154
|
+
slideGutterSize: e.current.gutterSize,
|
|
155
|
+
slideAspectRatio: e.current.slideAspectRatio,
|
|
156
|
+
showControls: e.current.showControls && m.current.length > e.current.cellsPerSlide,
|
|
157
|
+
cellsPerSlide: e.current.cellsPerSlide
|
|
158
|
+
}
|
|
159
|
+
}));
|
|
160
|
+
}, []), M = u(() => {
|
|
161
|
+
i.current.addEventListener("scroll", g, { once: !0 });
|
|
162
|
+
}, [g]), q = u(() => {
|
|
163
|
+
if (V(L(m.current, e.current.cellsPerSlide)), m.current.length > e.current.cellsPerSlide) {
|
|
164
|
+
let r = setInterval(() => {
|
|
165
|
+
i.current !== null && (S.current !== null && e.current.showControls || !e.current.showControls) && (clearInterval(r), M(), v());
|
|
166
|
+
}, 100);
|
|
167
|
+
} else {
|
|
168
|
+
let r = setInterval(() => {
|
|
169
|
+
i.current !== null && (clearInterval(r), v());
|
|
170
|
+
}, 100);
|
|
171
|
+
}
|
|
172
|
+
}, [L, M, v]);
|
|
173
|
+
return O(() => {
|
|
174
|
+
if (t !== null) {
|
|
175
|
+
if (t.showControls) {
|
|
176
|
+
let r = 0;
|
|
177
|
+
t.showPagination && (r = r + 25), t.showScrollbar && (r = r + 6), T.current = `calc(-50% - ${r}px)`;
|
|
178
|
+
}
|
|
179
|
+
q();
|
|
180
|
+
}
|
|
181
|
+
return () => {
|
|
182
|
+
H();
|
|
183
|
+
};
|
|
184
|
+
}, [q, t]), /* @__PURE__ */ n(F, { children: t !== null && /* @__PURE__ */ D(
|
|
185
|
+
"div",
|
|
186
|
+
{
|
|
187
|
+
className: a.carousel,
|
|
188
|
+
id: _.current,
|
|
189
|
+
ref: R,
|
|
190
|
+
tabIndex: -1,
|
|
191
|
+
role: "region",
|
|
192
|
+
"aria-roledescription": "carousel",
|
|
193
|
+
"aria-label": t.title,
|
|
194
|
+
onKeyDown: B,
|
|
195
|
+
style: {
|
|
196
|
+
"--_carousel-gutters": t.wrapAround ? `${t.gutterSize <= 25 ? t.gutterSize : 25}%` : `0 ${t.gutterSize <= 25 ? t.gutterSize : 25}%`,
|
|
197
|
+
"--_slide-aspect-ratio": t.slideAspectRatio,
|
|
198
|
+
"--_cell-aspect-ratio": t.cellAspectRatio,
|
|
199
|
+
"--_slide-cell-size": `${100 / t.cellsPerSlide}%`,
|
|
200
|
+
"--_cells-position": t.cellsPosition,
|
|
201
|
+
"--_control-btns-offset-x": `${t.controlButtonsOffset}rem`,
|
|
202
|
+
"--_slide-gap": `${t.slideGap}rem`,
|
|
203
|
+
"--_controls-transform": T.current
|
|
204
|
+
},
|
|
205
|
+
children: [
|
|
206
|
+
/* @__PURE__ */ n(
|
|
207
|
+
"ol",
|
|
208
|
+
{
|
|
209
|
+
className: a.carousel__scroller,
|
|
210
|
+
ref: i,
|
|
211
|
+
role: "group",
|
|
212
|
+
"aria-label": "Items Scroller",
|
|
213
|
+
"aria-live": "Polite",
|
|
214
|
+
tabIndex: 0,
|
|
215
|
+
onMouseEnter: (r) => {
|
|
216
|
+
e.current.autoplay && l.current !== null && l.current.clearTimer();
|
|
217
|
+
},
|
|
218
|
+
onMouseLeave: (r) => {
|
|
219
|
+
e.current.autoplay && l.current !== null && l.current.startTimer();
|
|
220
|
+
},
|
|
221
|
+
onTouchStart: G,
|
|
222
|
+
"data-scrollbar": t.showScrollbar,
|
|
223
|
+
children: N.length > 0 && N.map((r, o) => /* @__PURE__ */ n(
|
|
224
|
+
J,
|
|
225
|
+
{
|
|
226
|
+
slide: r,
|
|
227
|
+
index: o,
|
|
228
|
+
currentIndex: t.wrapAround ? 1 : 0,
|
|
229
|
+
variableHeight: t.variableHeight
|
|
230
|
+
},
|
|
231
|
+
`carousel${A}-slide${o}`
|
|
232
|
+
))
|
|
233
|
+
}
|
|
234
|
+
),
|
|
235
|
+
t.showControls && z.length > e.current.cellsPerSlide && /* @__PURE__ */ D("div", { className: a["carousel-controls"], children: [
|
|
236
|
+
/* @__PURE__ */ n(
|
|
237
|
+
"button",
|
|
238
|
+
{
|
|
239
|
+
type: "button",
|
|
240
|
+
ref: S,
|
|
241
|
+
title: "Previous Item",
|
|
242
|
+
className: y([a["carousel-controls__btn"], a["carousel-controls__previous"], "carousel-controls__previous"]),
|
|
243
|
+
"aria-controls": _.current,
|
|
244
|
+
"aria-label": "Previous Item",
|
|
245
|
+
onClick: (r) => {
|
|
246
|
+
l.current.determineScrollAction(-1);
|
|
247
|
+
},
|
|
248
|
+
onMouseEnter: (r) => {
|
|
249
|
+
e.current.autoplay && l.current !== null && l.current.clearTimer();
|
|
250
|
+
},
|
|
251
|
+
onMouseLeave: (r) => {
|
|
252
|
+
e.current.autoplay && l.current !== null && l.current.startTimer();
|
|
253
|
+
},
|
|
254
|
+
children: /* @__PURE__ */ n("i", { "aria-hidden": "true", children: /* @__PURE__ */ n(X, { width: t.controlArrowSize, height: t.controlArrowSize }) })
|
|
255
|
+
}
|
|
256
|
+
),
|
|
257
|
+
/* @__PURE__ */ n(
|
|
258
|
+
"button",
|
|
259
|
+
{
|
|
260
|
+
type: "button",
|
|
261
|
+
ref: E,
|
|
262
|
+
title: "Next Item",
|
|
263
|
+
className: y([a["carousel-controls__btn"], a["carousel-controls__next"], "carousel-controls__next"]),
|
|
264
|
+
"aria-controls": _.current,
|
|
265
|
+
"aria-label": "Next Item",
|
|
266
|
+
onClick: (r) => {
|
|
267
|
+
l.current.determineScrollAction(1);
|
|
268
|
+
},
|
|
269
|
+
onMouseEnter: (r) => {
|
|
270
|
+
e.current.autoplay && l.current !== null && l.current.clearTimer();
|
|
271
|
+
},
|
|
272
|
+
onMouseLeave: (r) => {
|
|
273
|
+
e.current.autoplay && l.current !== null && l.current.startTimer();
|
|
274
|
+
},
|
|
275
|
+
children: /* @__PURE__ */ n("i", { "aria-hidden": "true", children: /* @__PURE__ */ n(Y, { width: t.controlArrowSize, height: t.controlArrowSize }) })
|
|
276
|
+
}
|
|
277
|
+
)
|
|
278
|
+
] }),
|
|
279
|
+
$.current && k.length > 1 && /* @__PURE__ */ n("div", { className: [a["carousel-nav"], "carousel-nav"].join(" "), children: /* @__PURE__ */ n("ol", { className: a["carousel-nav__list"], ref: I, children: k.map((r, o) => /* @__PURE__ */ n(
|
|
280
|
+
"li",
|
|
281
|
+
{
|
|
282
|
+
className: y([a["carousel-nav__item"], "carousel-nav__item"]),
|
|
283
|
+
"data-current": o === 0 ? "true" : "false",
|
|
284
|
+
onClick: (f) => {
|
|
285
|
+
l.current.navigateToIndex(o);
|
|
286
|
+
},
|
|
287
|
+
title: `Navigate to slide ${o + 1}`
|
|
288
|
+
},
|
|
289
|
+
`carousel${_}-nav-${o}`
|
|
290
|
+
)) }) })
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
) });
|
|
294
|
+
}
|
|
295
|
+
export {
|
|
296
|
+
fe as Carousel,
|
|
297
|
+
fe as default
|
|
298
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export default class CarouselUtils {
|
|
2
|
+
constructor({ carouselEl, scrollerEl, paginationEl, slides, navBtnEls, options }: {
|
|
3
|
+
carouselEl: any;
|
|
4
|
+
scrollerEl: any;
|
|
5
|
+
paginationEl: any;
|
|
6
|
+
slides: any;
|
|
7
|
+
navBtnEls?: {
|
|
8
|
+
next: {};
|
|
9
|
+
previous: {};
|
|
10
|
+
} | undefined;
|
|
11
|
+
options: any;
|
|
12
|
+
});
|
|
13
|
+
carouselEl: any;
|
|
14
|
+
scrollerEl: any;
|
|
15
|
+
paginationEl: any;
|
|
16
|
+
slides: any;
|
|
17
|
+
currentIndex: number;
|
|
18
|
+
slideEls: any[];
|
|
19
|
+
navBtnEls: {
|
|
20
|
+
next: {};
|
|
21
|
+
previous: {};
|
|
22
|
+
};
|
|
23
|
+
currentIntersecting: {};
|
|
24
|
+
options: any;
|
|
25
|
+
timer: NodeJS.Timeout | null;
|
|
26
|
+
timerInterval: any;
|
|
27
|
+
slideGutterSize: any;
|
|
28
|
+
showPagination: any;
|
|
29
|
+
isInitialScroll: boolean;
|
|
30
|
+
totalSlideEls: number;
|
|
31
|
+
totalSlides: number;
|
|
32
|
+
carouselObserver: IntersectionObserver | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* starts the autoplay timer
|
|
35
|
+
*/
|
|
36
|
+
startTimer(): void;
|
|
37
|
+
/**
|
|
38
|
+
* clears the autoplay timer
|
|
39
|
+
*/
|
|
40
|
+
clearTimer(): void;
|
|
41
|
+
/**
|
|
42
|
+
* checks to see if the scroller is moving to the
|
|
43
|
+
* end or beginning, if so it makes the appropriate
|
|
44
|
+
* updates
|
|
45
|
+
*
|
|
46
|
+
* @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
|
|
47
|
+
*/
|
|
48
|
+
determineScrollAction(dir: number): void;
|
|
49
|
+
/**
|
|
50
|
+
* Navigates the carousel to a specific index
|
|
51
|
+
*
|
|
52
|
+
* @param {number} index
|
|
53
|
+
* @returns void
|
|
54
|
+
*/
|
|
55
|
+
navigateToIndex(index: number): void;
|
|
56
|
+
/**
|
|
57
|
+
* Returns the current index of the carousel
|
|
58
|
+
*
|
|
59
|
+
* @returns {number} - the current index of the carousel
|
|
60
|
+
*/
|
|
61
|
+
getCurrentIndex(): number;
|
|
62
|
+
/**
|
|
63
|
+
* Handles the scrollend event - determines which slide is in view and updates the carousel
|
|
64
|
+
* @returns void
|
|
65
|
+
*/
|
|
66
|
+
handleScrollEnd(): void;
|
|
67
|
+
#private;
|
|
68
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
var w = (o) => {
|
|
2
|
+
throw TypeError(o);
|
|
3
|
+
};
|
|
4
|
+
var G = (o, t, s) => t.has(o) || w("Cannot " + s);
|
|
5
|
+
var y = (o, t, s) => t.has(o) ? w("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, s);
|
|
6
|
+
var i = (o, t, s) => (G(o, t, "access private method"), s);
|
|
7
|
+
var e, T, S, L, p, f, v, B, A, z;
|
|
8
|
+
class N {
|
|
9
|
+
constructor({ carouselEl: t, scrollerEl: s, paginationEl: a, slides: O, navBtnEls: P = { next: {}, previous: {} }, options: n }) {
|
|
10
|
+
y(this, e);
|
|
11
|
+
if (!("onscrollend" in window)) {
|
|
12
|
+
let d = function(h, r, b) {
|
|
13
|
+
let c = h[r];
|
|
14
|
+
h[r] = function() {
|
|
15
|
+
let l = Array.prototype.slice.apply(arguments, [0]);
|
|
16
|
+
c.apply(this, l), l.unshift(c), b.apply(this, l);
|
|
17
|
+
};
|
|
18
|
+
}, I = function(h, r, b, c) {
|
|
19
|
+
if (r !== "scroll" && r !== "scrollend")
|
|
20
|
+
return;
|
|
21
|
+
let l = this, u = E.get(l);
|
|
22
|
+
if (u === void 0) {
|
|
23
|
+
let x = 0;
|
|
24
|
+
u = {
|
|
25
|
+
scrollListener: (W) => {
|
|
26
|
+
clearTimeout(x), x = setTimeout(() => {
|
|
27
|
+
m.size ? setTimeout(u.scrollListener, 100) : (l.dispatchEvent(C), x = 0);
|
|
28
|
+
}, 100);
|
|
29
|
+
},
|
|
30
|
+
listeners: 0
|
|
31
|
+
// Count of number of listeners.
|
|
32
|
+
}, h.apply(l, ["scroll", u.scrollListener]), E.set(l, u);
|
|
33
|
+
}
|
|
34
|
+
u.listeners++;
|
|
35
|
+
}, g = function(h, r, b) {
|
|
36
|
+
if (r !== "scroll" && r !== "scrollend")
|
|
37
|
+
return;
|
|
38
|
+
let c = this, l = E.get(c);
|
|
39
|
+
l !== void 0 && (l[r]--, !(--l.listeners > 0) && (h.apply(c, ["scroll", l.scrollListener]), E.delete(c)));
|
|
40
|
+
};
|
|
41
|
+
const C = new Event("scrollend"), m = /* @__PURE__ */ new Set();
|
|
42
|
+
document.addEventListener("touchstart", (h) => {
|
|
43
|
+
for (let r of h.changedTouches)
|
|
44
|
+
m.add(r.identifier);
|
|
45
|
+
}, { passive: !0 }), document.addEventListener("touchend", (h) => {
|
|
46
|
+
for (let r of h.changedTouches)
|
|
47
|
+
m.delete(r.identifier);
|
|
48
|
+
}, { passive: !0 });
|
|
49
|
+
let E = /* @__PURE__ */ new WeakMap();
|
|
50
|
+
d(Element.prototype, "addEventListener", I), d(window, "addEventListener", I), d(document, "addEventListener", I), d(Element.prototype, "removeEventListener", g), d(window, "removeEventListener", g), d(document, "removeEventListener", g);
|
|
51
|
+
}
|
|
52
|
+
this.carouselEl = t, this.scrollerEl = s, this.paginationEl = a, this.slides = O, this.currentIndex = 0, this.slideEls = [...s.children], this.navBtnEls = P, this.currentIntersecting = {}, this.options = n, n.autoplay && (this.timer = null, this.timerInterval = (n == null ? void 0 : n.delay) ?? 3500, this.startTimer()), this.slideGutterSize = (n == null ? void 0 : n.slideGutterSize) ?? 25, this.showPagination = n == null ? void 0 : n.showPagination, this.isInitialScroll = !0, this.totalSlideEls = this.slideEls.length, this.totalSlides = Math.ceil(this.slides.length / this.options.cellsPerSlide), i(this, e, T).call(this), i(this, e, L).call(this), i(this, e, S).call(this);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* starts the autoplay timer
|
|
56
|
+
*/
|
|
57
|
+
startTimer() {
|
|
58
|
+
this.timer || (this.timer = setInterval(() => {
|
|
59
|
+
this.determineScrollAction(1);
|
|
60
|
+
}, this.timerInterval));
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* clears the autoplay timer
|
|
64
|
+
*/
|
|
65
|
+
clearTimer() {
|
|
66
|
+
clearInterval(this.timer), this.timer = null;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* checks to see if the scroller is moving to the
|
|
70
|
+
* end or beginning, if so it makes the appropriate
|
|
71
|
+
* updates
|
|
72
|
+
*
|
|
73
|
+
* @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
|
|
74
|
+
*/
|
|
75
|
+
determineScrollAction(t) {
|
|
76
|
+
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), i(this, e, f).call(this, t), this.currentIndex = 0) : (i(this, e, f).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, i(this, e, f).call(this, t)) : (i(this, e, f).call(this, t), this.currentIndex -= 1)), this.options.autoplay && this.timer === null && this.startTimer();
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Navigates the carousel to a specific index
|
|
80
|
+
*
|
|
81
|
+
* @param {number} index
|
|
82
|
+
* @returns void
|
|
83
|
+
*/
|
|
84
|
+
navigateToIndex(t) {
|
|
85
|
+
if (t === this.currentIndex) return;
|
|
86
|
+
this.options.autoplay && this.clearTimer();
|
|
87
|
+
let s = t > this.currentIndex ? t - this.currentIndex : this.currentIndex - t, a = t > this.currentIndex ? 1 : -1;
|
|
88
|
+
this.currentIndex = t, i(this, e, f).call(this, a, s), this.options.autoplay && this.startTimer(), i(this, e, v).call(this);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Returns the current index of the carousel
|
|
92
|
+
*
|
|
93
|
+
* @returns {number} - the current index of the carousel
|
|
94
|
+
*/
|
|
95
|
+
getCurrentIndex() {
|
|
96
|
+
return this.currentIndex;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Handles the scrollend event - determines which slide is in view and updates the carousel
|
|
100
|
+
* @returns void
|
|
101
|
+
*/
|
|
102
|
+
handleScrollEnd() {
|
|
103
|
+
if (this.timer === null && this.options.autoplay && this.startTimer(), this.currentIntersecting.target) {
|
|
104
|
+
const t = Number.parseInt(this.currentIntersecting.target.getAttribute("data-index"), 10);
|
|
105
|
+
if (!this.options.wrapAround) {
|
|
106
|
+
this.currentIndex = t, i(this, e, v).call(this);
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
t === 0 ? (this.currentIndex = this.slides.length - 1, i(this, e, p).call(this, { scrollport: this.scrollerEl, element: this.slideEls[this.totalSlides] })) : t === this.totalSlideEls - 1 ? (this.currentIndex = 0, i(this, e, p).call(this, { scrollport: this.scrollerEl, element: this.slideEls[1] })) : this.currentIndex = t - 1;
|
|
110
|
+
}
|
|
111
|
+
i(this, e, v).call(this);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
e = new WeakSet(), /**
|
|
115
|
+
* adds an observer to the scroller element that we can use to
|
|
116
|
+
* determine which slide is intersecting
|
|
117
|
+
*/
|
|
118
|
+
T = function() {
|
|
119
|
+
this.carouselObserver = new IntersectionObserver((t) => {
|
|
120
|
+
for (let s of t)
|
|
121
|
+
s.isIntersecting && (this.currentIntersecting = s);
|
|
122
|
+
}, {
|
|
123
|
+
root: this.scrollerEl,
|
|
124
|
+
threshold: 0.8
|
|
125
|
+
});
|
|
126
|
+
}, /**
|
|
127
|
+
* sets listeners on the slide elements for the observer
|
|
128
|
+
*/
|
|
129
|
+
S = function() {
|
|
130
|
+
for (let t of this.slideEls)
|
|
131
|
+
this.carouselObserver.observe(t);
|
|
132
|
+
}, /**
|
|
133
|
+
* sets some intial settings for the carousel based on some of the options
|
|
134
|
+
*/
|
|
135
|
+
L = function() {
|
|
136
|
+
this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(-9999, 0), i(this, e, p).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls.previous.setAttribute("disabled", !0), i(this, e, v).call(this)) : i(this, e, A).call(this), this.totalSlides === 1 && this.slideEls[0].removeAttribute("inert");
|
|
137
|
+
}, /**
|
|
138
|
+
* Scrolls the carousel to a specific child element
|
|
139
|
+
* @param {*} param0 - an object containing the scrollport element and the child element to scroll to
|
|
140
|
+
*/
|
|
141
|
+
p = function({ scrollport: t, element: s }) {
|
|
142
|
+
const a = this.slideGutterSize * 2 / 100;
|
|
143
|
+
t.style.scrollBehavior = "auto", t.scrollTo(Math.abs(t.offsetLeft - s.offsetLeft + s.clientWidth * a), 0);
|
|
144
|
+
}, /**
|
|
145
|
+
* Scrolls the carousel in a specified direction by a specified distance
|
|
146
|
+
*
|
|
147
|
+
* @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
|
|
148
|
+
* @param {number} distance - a number representing the number of slides to scroll
|
|
149
|
+
*/
|
|
150
|
+
f = function(t, s = 1) {
|
|
151
|
+
this.scrollerEl.style.scrollBehavior = "smooth", this.scrollerEl.scrollBy({
|
|
152
|
+
left: this.scrollerEl.clientWidth * ((100 - this.slideGutterSize * 2) / 100) * s * t,
|
|
153
|
+
top: 0,
|
|
154
|
+
behavior: "smooth"
|
|
155
|
+
});
|
|
156
|
+
}, /**
|
|
157
|
+
* Syncronizes various elements of the carousel
|
|
158
|
+
*
|
|
159
|
+
* add methods here to have them sync
|
|
160
|
+
* when scroller is scrolled
|
|
161
|
+
*/
|
|
162
|
+
v = function() {
|
|
163
|
+
i(this, e, A).call(this), this.showPagination && i(this, e, z).call(this), this.options.wrapAround || i(this, e, B).call(this);
|
|
164
|
+
}, /**
|
|
165
|
+
* Sets the control arrow buttons to disabled if the carousel is at the start or end
|
|
166
|
+
*/
|
|
167
|
+
B = function() {
|
|
168
|
+
this.navBtnEls.previous && this.navBtnEls.next && (this.navBtnEls.previous.removeAttribute("disabled"), this.navBtnEls.next.removeAttribute("disabled"), this.currentIndex === 0 && this.navBtnEls.previous.toggleAttribute("disabled"), this.currentIndex === this.slideEls.length - 1 && this.navBtnEls.next.toggleAttribute("disabled"));
|
|
169
|
+
}, /**
|
|
170
|
+
* Sets the inert attribute on all slides that are not the current slide
|
|
171
|
+
*/
|
|
172
|
+
A = function() {
|
|
173
|
+
const t = this.options.wrapAround ? this.currentIndex + 1 : this.currentIndex;
|
|
174
|
+
this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((s, a) => {
|
|
175
|
+
s.toggleAttribute("inert", a !== t);
|
|
176
|
+
});
|
|
177
|
+
}, /**
|
|
178
|
+
* Sets the pagination indicator to the current slide
|
|
179
|
+
*/
|
|
180
|
+
z = function() {
|
|
181
|
+
[...this.paginationEl.children].forEach((t, s) => {
|
|
182
|
+
s === this.currentIndex ? t.setAttribute("data-current", "true") : t.setAttribute("data-current", "false");
|
|
183
|
+
});
|
|
184
|
+
};
|
|
185
|
+
export {
|
|
186
|
+
N as default
|
|
187
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Carousel, Carousel as default } from './Carousel';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import '../../../assets/Pagination.css';const l = {
|
|
4
|
+
"carousel-nav": "_carousel-nav_1booq_86",
|
|
5
|
+
"carousel-nav__list": "_carousel-nav__list_1booq_90",
|
|
6
|
+
"carousel-nav__item": "_carousel-nav__item_1booq_99"
|
|
7
|
+
}, v = t.forwardRef(({ slides: o, carouselId: r, CarouselUtil: _, scrollerRef: c }, s) => /* @__PURE__ */ e("div", { className: `${l["carousel-nav"]} carousel-nav`, children: /* @__PURE__ */ e("ol", { className: l["carousel-nav__list"], ref: s, children: o.map((u, a) => /* @__PURE__ */ e(
|
|
8
|
+
"li",
|
|
9
|
+
{
|
|
10
|
+
className: `${l["carousel-nav__item"]} carousel-nav__item`,
|
|
11
|
+
"data-current": a === 0 ? "true" : "false",
|
|
12
|
+
title: `Navigate to slide ${a + 1}`
|
|
13
|
+
},
|
|
14
|
+
`carousel${r}-nav-${a}`
|
|
15
|
+
)) }) }));
|
|
16
|
+
export {
|
|
17
|
+
v as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsx as t, Fragment as c } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useEffect as m, createElement as p } from "react";
|
|
3
|
+
import { classes as f } from "../../utils/helpers.js";
|
|
4
|
+
import { slideLayoutsMap as h } from "../../settings.js";
|
|
5
|
+
import '../../assets/CarouselSlide.css';const g = "_slide_gx8qn_1", i = {
|
|
6
|
+
slide: g,
|
|
7
|
+
"slide--variable-height": "_slide--variable-height_gx8qn_17"
|
|
8
|
+
};
|
|
9
|
+
function v({
|
|
10
|
+
slide: e,
|
|
11
|
+
index: l,
|
|
12
|
+
currentIndex: r,
|
|
13
|
+
variableHeight: s = !1
|
|
14
|
+
}) {
|
|
15
|
+
const [a, o] = d(null);
|
|
16
|
+
return m(() => {
|
|
17
|
+
o(h.get(e.layout));
|
|
18
|
+
}, [e]), /* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
|
|
19
|
+
"li",
|
|
20
|
+
{
|
|
21
|
+
className: f([
|
|
22
|
+
i.slide,
|
|
23
|
+
"slide",
|
|
24
|
+
s ? i["slide--variable-height"] : ""
|
|
25
|
+
]),
|
|
26
|
+
"aria-label": e.ariaLabel,
|
|
27
|
+
"aria-roledescription": "carousel-item",
|
|
28
|
+
inert: r !== l ? "" : null,
|
|
29
|
+
"data-index": l,
|
|
30
|
+
children: a !== null && e.cells.map((n, u) => /* @__PURE__ */ p(a, { ...n.props, key: `slide${l}-cell${u}` }))
|
|
31
|
+
}
|
|
32
|
+
) });
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
v as CarouselSlide,
|
|
36
|
+
v as default
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CarouselSlide, CarouselSlide as default } from './CarouselSlide';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Empty, Empty as default } from './Empty';
|