@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,24 @@
|
|
|
1
|
+
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { NavList as e } from "../NavList/NavList.js";
|
|
4
|
+
import '../../assets/FooterNavigation.css';const r = {
|
|
5
|
+
"footer-navigation": "_footer-navigation_8qkwj_1"
|
|
6
|
+
};
|
|
7
|
+
function m({ sections: t = [] }) {
|
|
8
|
+
return /* @__PURE__ */ n("nav", { className: r["footer-navigation"], "aria-labelledby": "footer-navigation", children: [
|
|
9
|
+
/* @__PURE__ */ a("h4", { className: "sr-only", id: "footer-navigation", children: "Footer Navigation" }),
|
|
10
|
+
t.map((o, i) => /* @__PURE__ */ a(
|
|
11
|
+
e,
|
|
12
|
+
{
|
|
13
|
+
links: o.links,
|
|
14
|
+
title: o.title,
|
|
15
|
+
classname: o.classname
|
|
16
|
+
},
|
|
17
|
+
`footer-section-${i + 1}`
|
|
18
|
+
))
|
|
19
|
+
] });
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
m as FooterNavigation,
|
|
23
|
+
m as default
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FooterNavigation, FooterNavigation as default } from './FooterNavigation';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { p as s } from "../../index-DB0QlRo7.mjs";
|
|
4
|
+
import { classes as o } from "../../utils/helpers.js";
|
|
5
|
+
function u({
|
|
6
|
+
list: p = [],
|
|
7
|
+
type: l = "unordered",
|
|
8
|
+
// 'unordered' | 'ordered'
|
|
9
|
+
classname: r = ""
|
|
10
|
+
}) {
|
|
11
|
+
return /* @__PURE__ */ t("ul", { className: o(["generic-list", `${r}`]), children: p.map((e, i) => /* @__PURE__ */ t(
|
|
12
|
+
"li",
|
|
13
|
+
{
|
|
14
|
+
className: o(["generic-list__item", `${r}__item`]),
|
|
15
|
+
children: typeof e == "string" && e !== "" ? s(e) : e
|
|
16
|
+
},
|
|
17
|
+
r === "" ? `generic-list-${i}` : `${r}-${i}`
|
|
18
|
+
)) });
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
u as GenericList,
|
|
22
|
+
u as default
|
|
23
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GenericList, GenericList as default } from './GenericList';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function GetAirdateWrapper({ programId, programType, separatorType, includeEpisode, SCHEDULE_ENDPOINT, NETWORK, }: {
|
|
2
|
+
programId: any;
|
|
3
|
+
programType?: string | undefined;
|
|
4
|
+
separatorType?: string | undefined;
|
|
5
|
+
includeEpisode?: boolean | undefined;
|
|
6
|
+
SCHEDULE_ENDPOINT: any;
|
|
7
|
+
NETWORK: any;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default GetAirdateWrapper;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { jsx as r, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s } from "react";
|
|
3
|
+
import A from "../../hooks/useGetUpcoming.js";
|
|
4
|
+
import { AirDateFormatter as c } from "../AirDateFormatter/AirDateFormatter.js";
|
|
5
|
+
import { StringList as b } from "../StringList/StringList.js";
|
|
6
|
+
import { convert12to24 as h } from "../../utils/helpers.js";
|
|
7
|
+
const N = (i) => {
|
|
8
|
+
let n;
|
|
9
|
+
for (let t = 0; t < i.title_code.length; t++)
|
|
10
|
+
if (!isNaN(Number.parseInt(i.title_code.charAt(t), 10))) {
|
|
11
|
+
n = t;
|
|
12
|
+
break;
|
|
13
|
+
}
|
|
14
|
+
return i.title_code.slice(n);
|
|
15
|
+
};
|
|
16
|
+
function v({
|
|
17
|
+
programId: i,
|
|
18
|
+
programType: n = "series",
|
|
19
|
+
separatorType: t = "pipe",
|
|
20
|
+
includeEpisode: m = !1,
|
|
21
|
+
SCHEDULE_ENDPOINT: _,
|
|
22
|
+
NETWORK: u
|
|
23
|
+
}) {
|
|
24
|
+
const [a, S] = s(null), [$, x] = s(null);
|
|
25
|
+
return A({ programId: i, programType: n, SCHEDULE_ENDPOINT: _, NETWORK: u }).then((e) => {
|
|
26
|
+
var p, f;
|
|
27
|
+
let l = null, o = null;
|
|
28
|
+
e.length && (l = `${e[0].start_date_parse} ${h(e[0].start_time)}`, m && ((p = e[0]) != null && p.episode_number ? o = `${(f = e[0]) == null ? void 0 : f.episode_number}: ${e[0].title_name}` : o = `${N(e[0])}: ${e[0].title_name}`)), S(l), x(o);
|
|
29
|
+
}), a === null ? /* @__PURE__ */ r(d, {}) : i === "" ? /* @__PURE__ */ r(d, {}) : m ? /* @__PURE__ */ r(
|
|
30
|
+
b,
|
|
31
|
+
{
|
|
32
|
+
list: [/* @__PURE__ */ r(c, { airdateStr: a, separatorType: t }), $],
|
|
33
|
+
separatorType: "pipe"
|
|
34
|
+
}
|
|
35
|
+
) : /* @__PURE__ */ r(c, { airdateStr: a, separatorType: t });
|
|
36
|
+
}
|
|
37
|
+
export {
|
|
38
|
+
v as GetAirdateWrapper,
|
|
39
|
+
v as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GetAirdateWrapper, GetAirdateWrapper as default } from './GetAirdateWrapper';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function GradientButton({ type, label, onClick, varient, size, classname, href, gradientStartColor, gradientEndColor, hoverGradientStartColor, hoverGradientEndColor, ...attributes }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
type?: string | undefined;
|
|
4
|
+
label?: string | undefined;
|
|
5
|
+
onClick?: (() => void) | undefined;
|
|
6
|
+
varient?: string | undefined;
|
|
7
|
+
size?: string | undefined;
|
|
8
|
+
classname?: string | undefined;
|
|
9
|
+
href?: string | undefined;
|
|
10
|
+
gradientStartColor?: string | undefined;
|
|
11
|
+
gradientEndColor?: string | undefined;
|
|
12
|
+
hoverGradientStartColor?: string | undefined;
|
|
13
|
+
hoverGradientEndColor?: string | undefined;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default GradientButton;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsx as r, Fragment as x } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { classes as c } from "../../utils/helpers.js";
|
|
4
|
+
import '../../assets/GradientButton.css';const a = {
|
|
5
|
+
"gradient-btn": "_gradient-btn_a5mxg_1",
|
|
6
|
+
"gradient-btn--small": "_gradient-btn--small_a5mxg_23",
|
|
7
|
+
"gradient-btn--large": "_gradient-btn--large_a5mxg_30",
|
|
8
|
+
"gradient-btn--primary": "_gradient-btn--primary_a5mxg_37",
|
|
9
|
+
"gradient-btn--action": "_gradient-btn--action_a5mxg_41",
|
|
10
|
+
"gradient-btn--info": "_gradient-btn--info_a5mxg_45",
|
|
11
|
+
"gradient-btn--danger": "_gradient-btn--danger_a5mxg_49"
|
|
12
|
+
};
|
|
13
|
+
function o({
|
|
14
|
+
type: l = "button",
|
|
15
|
+
label: i = "",
|
|
16
|
+
onClick: $ = () => {
|
|
17
|
+
},
|
|
18
|
+
varient: e = "primary",
|
|
19
|
+
size: g = "regular",
|
|
20
|
+
classname: d = "",
|
|
21
|
+
href: _ = "",
|
|
22
|
+
gradientStartColor: n = "",
|
|
23
|
+
gradientEndColor: t = "",
|
|
24
|
+
hoverGradientStartColor: p = "",
|
|
25
|
+
hoverGradientEndColor: u = "",
|
|
26
|
+
...b
|
|
27
|
+
}) {
|
|
28
|
+
const m = e === "" ? "" : `gradient-btn--${e}`, s = g === "" ? "" : `gradient-btn--${g}`;
|
|
29
|
+
return /* @__PURE__ */ r(x, { children: _ === "" ? /* @__PURE__ */ r(
|
|
30
|
+
"button",
|
|
31
|
+
{
|
|
32
|
+
type: l,
|
|
33
|
+
onClick: $,
|
|
34
|
+
className: c([
|
|
35
|
+
d,
|
|
36
|
+
a["gradient-btn"],
|
|
37
|
+
"gradient-btn",
|
|
38
|
+
e === "" ? "" : a[m],
|
|
39
|
+
g === "" ? "" : a[s]
|
|
40
|
+
]),
|
|
41
|
+
style: n !== "" && t !== "" ? {
|
|
42
|
+
"--gradient": `linear-gradient(180deg, ${t}, ${n}, ${n},${t})`
|
|
43
|
+
} : {},
|
|
44
|
+
...b,
|
|
45
|
+
children: i
|
|
46
|
+
}
|
|
47
|
+
) : /* @__PURE__ */ r(
|
|
48
|
+
"a",
|
|
49
|
+
{
|
|
50
|
+
href: _,
|
|
51
|
+
className: c([
|
|
52
|
+
d,
|
|
53
|
+
a["gradient-btn"],
|
|
54
|
+
"gradient-btn",
|
|
55
|
+
e === "" ? "" : a[m],
|
|
56
|
+
g === "" ? "" : a[s]
|
|
57
|
+
]),
|
|
58
|
+
style: n !== "" && t !== "" ? {
|
|
59
|
+
"--gradient": `linear-gradient(180deg, ${t}, ${n}, ${n},${t})`
|
|
60
|
+
} : {},
|
|
61
|
+
...b,
|
|
62
|
+
children: i
|
|
63
|
+
}
|
|
64
|
+
) });
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
o as GradientButton,
|
|
68
|
+
o as default
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GradientButton, GradientButton as default } from './GradientButton';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsxs as d, Fragment as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import '../../assets/GridList.css';const i = {
|
|
4
|
+
"grid-list": "_grid-list_17klz_1",
|
|
5
|
+
"grid-list-header": "_grid-list-header_17klz_9",
|
|
6
|
+
"grid-list--1-columns": "_grid-list--1-columns_17klz_13",
|
|
7
|
+
"grid-list--2-columns": "_grid-list--2-columns_17klz_17",
|
|
8
|
+
"grid-list--3-columns": "_grid-list--3-columns_17klz_21",
|
|
9
|
+
"grid-list--4-columns": "_grid-list--4-columns_17klz_25",
|
|
10
|
+
"grid-list--5-columns": "_grid-list--5-columns_17klz_29",
|
|
11
|
+
"grid-list--6-columns": "_grid-list--6-columns_17klz_33",
|
|
12
|
+
"grid-list--7-columns": "_grid-list--7-columns_17klz_37",
|
|
13
|
+
"grid-list--8-columns": "_grid-list--8-columns_17klz_41",
|
|
14
|
+
"grid-list--9-columns": "_grid-list--9-columns_17klz_45",
|
|
15
|
+
"grid-list--10-columns": "_grid-list--10-columns_17klz_49"
|
|
16
|
+
};
|
|
17
|
+
function n({ children: t, numberOfColumns: l = 2, headerText: s = "" }) {
|
|
18
|
+
l > 10 && (l = 10);
|
|
19
|
+
const _ = `grid-list--${l}-columns`;
|
|
20
|
+
return /* @__PURE__ */ d(c, { children: [
|
|
21
|
+
s !== "" && /* @__PURE__ */ r("h3", { className: [i["grid-list-header"], "grid-list-header"].join(" "), children: s }),
|
|
22
|
+
/* @__PURE__ */ r("ul", { className: [i["grid-list"], i[_]].join(" "), children: t })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
n as GridList,
|
|
27
|
+
n as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridList, GridList as default } from './GridList';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as v } from "react";
|
|
3
|
+
import k from "./ImageCardCore.js";
|
|
4
|
+
import { classes as x } from "../../utils/helpers.js";
|
|
5
|
+
import '../../assets/ImageCard.css';const l = {
|
|
6
|
+
"image-card--clickable": "_image-card--clickable_1b3j4_13",
|
|
7
|
+
"image-card__img-wrapper": "_image-card__img-wrapper_1b3j4_17",
|
|
8
|
+
"image-card--inline": "_image-card--inline_1b3j4_35",
|
|
9
|
+
"image-card__image": "_image-card__image_1b3j4_39",
|
|
10
|
+
"image-card__mobile-image": "_image-card__mobile-image_1b3j4_45",
|
|
11
|
+
"image-card__play-icon": "_image-card__play-icon_1b3j4_77",
|
|
12
|
+
"play-icon__triangle": "_play-icon__triangle_1b3j4_93",
|
|
13
|
+
"image-card__content": "_image-card__content_1b3j4_112",
|
|
14
|
+
"image-card__cta-wrapper": "_image-card__cta-wrapper_1b3j4_133",
|
|
15
|
+
"image-card__cta": "_image-card__cta_1b3j4_133",
|
|
16
|
+
"image-card__overlay-content": "_image-card__overlay-content_1b3j4_147"
|
|
17
|
+
}, L = v(function(_, o) {
|
|
18
|
+
const {
|
|
19
|
+
image: t = { url: "", altText: "", aspectRatio: 1, sources: [] },
|
|
20
|
+
mobileImage: d = { url: "", altText: "", aspectRatio: 1 },
|
|
21
|
+
fullSizeImagePosition: a = [50, 50],
|
|
22
|
+
mobileImagePosition: r = [50, 50],
|
|
23
|
+
clampContentLines: p = !0,
|
|
24
|
+
numberOfLinesToClamp: s = 3,
|
|
25
|
+
overlayPosition: g = "left",
|
|
26
|
+
overlayTextColor: m = "#fff",
|
|
27
|
+
relatedResourceId: j = "",
|
|
28
|
+
cta: e = {
|
|
29
|
+
label: "",
|
|
30
|
+
href: "",
|
|
31
|
+
type: "",
|
|
32
|
+
relatedResourceId: "",
|
|
33
|
+
relatedResourceType: "",
|
|
34
|
+
position: "end"
|
|
35
|
+
},
|
|
36
|
+
handleClicks: C = () => {
|
|
37
|
+
},
|
|
38
|
+
fullCardClickable: c = !1,
|
|
39
|
+
displayInline: i = !1,
|
|
40
|
+
classname: y = ""
|
|
41
|
+
} = _, u = /* @__PURE__ */ new Map([
|
|
42
|
+
["left", "flex-start"],
|
|
43
|
+
["right", "flex-end"],
|
|
44
|
+
["center", "center"]
|
|
45
|
+
]), f = (b) => {
|
|
46
|
+
C({
|
|
47
|
+
type: "card-clicked",
|
|
48
|
+
ctaType: e == null ? void 0 : e.type,
|
|
49
|
+
resourceId: j,
|
|
50
|
+
resourceType: e.relatedResourceType,
|
|
51
|
+
target: b.target,
|
|
52
|
+
currentTarget: b.currentTarget
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
return c && (e == null ? void 0 : e.href) !== "" && ((e == null ? void 0 : e.type) === "internal-link" || (e == null ? void 0 : e.type) === "external-link") ? /* @__PURE__ */ n(
|
|
56
|
+
"image-card",
|
|
57
|
+
{
|
|
58
|
+
class: x([
|
|
59
|
+
c ? l["image-card--clickable"] : null,
|
|
60
|
+
i ? l["image-card--inline"] : null,
|
|
61
|
+
y
|
|
62
|
+
]),
|
|
63
|
+
style: {
|
|
64
|
+
"--justify-overlay-content": u.get(g),
|
|
65
|
+
"--align-overlay-content": i ? "center" : "flex-end",
|
|
66
|
+
"--overlay-content-text-color": m,
|
|
67
|
+
"--content-line-clamp": p ? s : "unset",
|
|
68
|
+
"--image-aspect-ratio": t.aspectRatio,
|
|
69
|
+
"--mobile-image-aspect-ratio": d.aspectRatio,
|
|
70
|
+
"--background-image-position": `${(a == null ? void 0 : a[0]) ?? "50"}% ${(a == null ? void 0 : a[1]) ?? "50"}%`,
|
|
71
|
+
"--mobile-background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`
|
|
72
|
+
},
|
|
73
|
+
onClick: c ? f : () => !0,
|
|
74
|
+
"data-cursor": "pointer",
|
|
75
|
+
children: /* @__PURE__ */ n(
|
|
76
|
+
"a",
|
|
77
|
+
{
|
|
78
|
+
href: e.href,
|
|
79
|
+
title: t == null ? void 0 : t.altText,
|
|
80
|
+
target: e.type === "external-link" ? "_blank" : "_self",
|
|
81
|
+
rel: e.type === "external-link" ? "noreferrer" : null,
|
|
82
|
+
className: "image-card__full-card-link",
|
|
83
|
+
children: /* @__PURE__ */ n(k, { ..._, styles: l, ref: o })
|
|
84
|
+
}
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
) : /* @__PURE__ */ n(
|
|
88
|
+
"image-card",
|
|
89
|
+
{
|
|
90
|
+
class: x([
|
|
91
|
+
i ? l["image-card--inline"] : null,
|
|
92
|
+
y
|
|
93
|
+
]),
|
|
94
|
+
style: {
|
|
95
|
+
"--justify-overlay-content": u.get(g),
|
|
96
|
+
"--align-overlay-content": i ? "center" : "flex-end",
|
|
97
|
+
"--overlay-content-text-color": m,
|
|
98
|
+
"--content-line-clamp": p ? s : "unset",
|
|
99
|
+
"--image-aspect-ratio": t.aspectRatio,
|
|
100
|
+
"--mobile-image-aspect-ratio": d.aspectRatio,
|
|
101
|
+
"--background-image-position": `${(a == null ? void 0 : a[0]) ?? "50"}% ${(a == null ? void 0 : a[1]) ?? "50"}%`,
|
|
102
|
+
"--mobile-background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`
|
|
103
|
+
},
|
|
104
|
+
onClick: c ? f : () => !0,
|
|
105
|
+
"data-cursor": c ? "pointer" : "default",
|
|
106
|
+
children: /* @__PURE__ */ n(k, { ..._, styles: l, ref: o })
|
|
107
|
+
}
|
|
108
|
+
);
|
|
109
|
+
});
|
|
110
|
+
export {
|
|
111
|
+
L as ImageCard,
|
|
112
|
+
L as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { jsxs as i, Fragment as v, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as R } from "react";
|
|
3
|
+
import { p as w } from "../../index-DB0QlRo7.mjs";
|
|
4
|
+
import { AnchorTag as x } from "../AnchorTag/AnchorTag.js";
|
|
5
|
+
import { ButtonAnchor as c } from "../ButtonAnchor/ButtonAnchor.js";
|
|
6
|
+
import { ResponsiveImage as k } from "../ResponsiveImage/ResponsiveImage.js";
|
|
7
|
+
import { classes as a } from "../../utils/helpers.js";
|
|
8
|
+
const G = R(function({
|
|
9
|
+
image: m = { url: "", altText: "", aspectRatio: 1, sources: [] },
|
|
10
|
+
mobileImage: t = { url: "", altText: "", aspectRatio: 1 },
|
|
11
|
+
fullSizeImagePosition: M = [50, 50],
|
|
12
|
+
mobileImagePosition: P = [50, 50],
|
|
13
|
+
lazyLoad: g = !0,
|
|
14
|
+
fetchPriority: f = null,
|
|
15
|
+
decoding: _ = "async",
|
|
16
|
+
title: y = "",
|
|
17
|
+
content: n = "",
|
|
18
|
+
clampContentLines: A = !0,
|
|
19
|
+
numberOfLinesToClamp: B = 3,
|
|
20
|
+
overlayContent: p = "",
|
|
21
|
+
overlayPosition: z = "left",
|
|
22
|
+
overlayTextColor: L = "#fff",
|
|
23
|
+
relatedResourceId: S = "",
|
|
24
|
+
cta: e = {
|
|
25
|
+
label: "",
|
|
26
|
+
href: "",
|
|
27
|
+
type: "",
|
|
28
|
+
relatedResourceId: "",
|
|
29
|
+
position: "end"
|
|
30
|
+
},
|
|
31
|
+
displayCTA: d = !0,
|
|
32
|
+
handleClicks: N = () => {
|
|
33
|
+
},
|
|
34
|
+
fullCardClickable: h = !1,
|
|
35
|
+
displayInline: V = !1,
|
|
36
|
+
classname: j = "",
|
|
37
|
+
styles: o = {}
|
|
38
|
+
}, O) {
|
|
39
|
+
var b;
|
|
40
|
+
const T = /* @__PURE__ */ new Map([
|
|
41
|
+
["play-video", {
|
|
42
|
+
label: "View Promo",
|
|
43
|
+
component: c
|
|
44
|
+
}],
|
|
45
|
+
["internal-link", {
|
|
46
|
+
label: "View More",
|
|
47
|
+
component: x
|
|
48
|
+
}],
|
|
49
|
+
["external-link", {
|
|
50
|
+
label: "Learn More",
|
|
51
|
+
component: x
|
|
52
|
+
}],
|
|
53
|
+
["info-panel", {
|
|
54
|
+
label: "View More",
|
|
55
|
+
component: c
|
|
56
|
+
}],
|
|
57
|
+
["show-modal", {
|
|
58
|
+
label: "See More",
|
|
59
|
+
component: c
|
|
60
|
+
}]
|
|
61
|
+
]), I = (b = T.get(e.type)) == null ? void 0 : b.component, u = (r) => /* @__PURE__ */ l(
|
|
62
|
+
I,
|
|
63
|
+
{
|
|
64
|
+
classname: a([o["image-card__cta"], "image-card__cta"]),
|
|
65
|
+
href: r.href,
|
|
66
|
+
label: r.label ? r.label : T.get(r.type).label,
|
|
67
|
+
onClick: r.type !== "internal-link" && r.type !== "external-link" ? s : () => !0,
|
|
68
|
+
"data-resource-id": r.relatedResourceId,
|
|
69
|
+
type: r.type
|
|
70
|
+
}
|
|
71
|
+
), s = (r) => {
|
|
72
|
+
r.stopPropagation(), N({
|
|
73
|
+
type: e.type,
|
|
74
|
+
resourceId: e.relatedResourceId,
|
|
75
|
+
resourceType: e.relatedResourceType,
|
|
76
|
+
target: r.target,
|
|
77
|
+
currentTarget: r.currentTarget
|
|
78
|
+
});
|
|
79
|
+
};
|
|
80
|
+
return /* @__PURE__ */ i(v, { children: [
|
|
81
|
+
/* @__PURE__ */ i("div", { className: a([o["image-card__img-wrapper"], "image-card__img-wrapper"]), children: [
|
|
82
|
+
t.url !== "" && /* @__PURE__ */ l(
|
|
83
|
+
"img",
|
|
84
|
+
{
|
|
85
|
+
className: o["image-card__mobile-image"],
|
|
86
|
+
src: t.url,
|
|
87
|
+
alt: t.altText,
|
|
88
|
+
onClick: (e.type === "play-video" || e.type === "show-modal") && !h ? s : () => !0,
|
|
89
|
+
loading: g ? "lazy" : null,
|
|
90
|
+
fetchpriority: f,
|
|
91
|
+
decoding: _
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ l(
|
|
95
|
+
k,
|
|
96
|
+
{
|
|
97
|
+
classname: o["image-card__image"],
|
|
98
|
+
sources: m.sources,
|
|
99
|
+
fullSizeUrl: m.url,
|
|
100
|
+
altText: m.altText,
|
|
101
|
+
loading: g ? "lazy" : null,
|
|
102
|
+
fetchpriority: f,
|
|
103
|
+
decoding: _,
|
|
104
|
+
handleClick: (e.type === "play-video" || e.type === "show-modal") && !h ? s : () => !0
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
p !== "" && /* @__PURE__ */ l("div", { className: a([o["image-card__overlay-content"], "image-card__overlay-content"]), children: typeof p == "string" ? w(p) : p }),
|
|
108
|
+
(e == null ? void 0 : e.type) === "play-video" && /* @__PURE__ */ i("button", { type: "button", onClick: s, className: a([o["image-card__play-icon"], "image-card__play-icon"]), children: [
|
|
109
|
+
/* @__PURE__ */ l("span", { className: "sr-only", children: "PLAY BUTTON" }),
|
|
110
|
+
/* @__PURE__ */ l("div", { className: `${o["play-icon__triangle"]}` })
|
|
111
|
+
] })
|
|
112
|
+
] }),
|
|
113
|
+
n !== "" && /* @__PURE__ */ i("div", { className: a([o["image-card__content"], "image-card__content"]), children: [
|
|
114
|
+
y !== "" && /* @__PURE__ */ l("h2", { className: "h4", children: y }),
|
|
115
|
+
typeof n == "string" && /* @__PURE__ */ i("div", { children: [
|
|
116
|
+
w(n),
|
|
117
|
+
d && (e == null ? void 0 : e.type) && e.position === "inline" && u(e)
|
|
118
|
+
] }),
|
|
119
|
+
typeof n != "string" && /* @__PURE__ */ i(v, { children: [
|
|
120
|
+
n,
|
|
121
|
+
d && (e == null ? void 0 : e.type) && e.position === "inline" && u(e)
|
|
122
|
+
] })
|
|
123
|
+
] }),
|
|
124
|
+
d && (e == null ? void 0 : e.type) && (e == null ? void 0 : e.position) === "end" && /* @__PURE__ */ l("div", { className: o["image-card__cta-wrapper"], children: u(e) })
|
|
125
|
+
] });
|
|
126
|
+
});
|
|
127
|
+
export {
|
|
128
|
+
G as default
|
|
129
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ImageCard, ImageCard as default } from './ImageCard';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export function ImageReplacementAnchor({ href, target, image, text, height, baselineAdjustment, classname }: {
|
|
2
|
+
href?: string | undefined;
|
|
3
|
+
target?: string | undefined;
|
|
4
|
+
image?: {
|
|
5
|
+
url: string;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
altText: string;
|
|
9
|
+
} | undefined;
|
|
10
|
+
text?: string | undefined;
|
|
11
|
+
height?: number | undefined;
|
|
12
|
+
baselineAdjustment?: number | undefined;
|
|
13
|
+
classname?: string | undefined;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export default ImageReplacementAnchor;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import { classes as o } from "../../utils/helpers.js";
|
|
4
|
+
import '../../assets/ImageReplacementAnchor.css';const a = {
|
|
5
|
+
"image-replacement-anchor": "_image-replacement-anchor_hx29b_1",
|
|
6
|
+
"image-replacement-anchor__text": "_image-replacement-anchor__text_hx29b_14"
|
|
7
|
+
};
|
|
8
|
+
function x({
|
|
9
|
+
href: l = "",
|
|
10
|
+
target: t = "_self",
|
|
11
|
+
image: e = { url: "", width: 1, height: 1, altText: "" },
|
|
12
|
+
text: n = "",
|
|
13
|
+
height: c = 4,
|
|
14
|
+
baselineAdjustment: m = 0,
|
|
15
|
+
classname: i = ""
|
|
16
|
+
}) {
|
|
17
|
+
return /* @__PURE__ */ s(
|
|
18
|
+
"a",
|
|
19
|
+
{
|
|
20
|
+
className: o([
|
|
21
|
+
a["image-replacement-anchor"],
|
|
22
|
+
"image-replacement-anchor",
|
|
23
|
+
i
|
|
24
|
+
]),
|
|
25
|
+
href: l,
|
|
26
|
+
target: t,
|
|
27
|
+
rel: t === "_blank" ? "noreferrer" : null,
|
|
28
|
+
style: {
|
|
29
|
+
"--ira-aspect-ratio": e.width / e.height,
|
|
30
|
+
"--ira-height": `${c}rem`,
|
|
31
|
+
"--ira-baseline-adjustment": `${m}rem`
|
|
32
|
+
},
|
|
33
|
+
children: [
|
|
34
|
+
/* @__PURE__ */ r(
|
|
35
|
+
"img",
|
|
36
|
+
{
|
|
37
|
+
src: e.url,
|
|
38
|
+
className: a["image-replacement-anchor__image"],
|
|
39
|
+
alt: e.altText,
|
|
40
|
+
role: "presentation",
|
|
41
|
+
loading: "lazy"
|
|
42
|
+
}
|
|
43
|
+
),
|
|
44
|
+
e.altText === "" || e.altText === void 0 ? /* @__PURE__ */ r("span", { className: a["image-replacement-anchor__text"], children: n }) : null
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
x as ImageReplacementAnchor,
|
|
51
|
+
x as default
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ImageReplacementAnchor, ImageReplacementAnchor as default } from './ImageReplacementAnchor';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export function InfoPanel({ layoutComponent, onBackClicked, backButtonLabel, classname }: {
|
|
2
|
+
layoutComponent?: {
|
|
3
|
+
layout: string;
|
|
4
|
+
props: {};
|
|
5
|
+
} | undefined;
|
|
6
|
+
onBackClicked?: (() => void) | undefined;
|
|
7
|
+
backButtonLabel?: string | undefined;
|
|
8
|
+
classname?: string | undefined;
|
|
9
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default InfoPanel;
|