@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
- package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
- package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
- package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
- package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
- package/dist/assets/ActionButton.css +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/AirDateFormatter.css +1 -1
- package/dist/assets/AnchorTag.css +1 -1
- package/dist/assets/BasicGridModule.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Carousel.css +1 -1
- package/dist/assets/CarouselSlide.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/ChoicesItem.css +1 -1
- package/dist/assets/ContentHero.css +1 -1
- package/dist/assets/CtaBlock.css +1 -1
- package/dist/assets/CustomDataList.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/Figure.css +1 -1
- package/dist/assets/Figure2.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/GradientButton.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/InlineNavigation.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/assets/ScheduleLayout.css +1 -0
- package/dist/assets/ScheduleList.css +1 -1
- package/dist/assets/ShowAboutLayout.css +1 -1
- package/dist/assets/ShowSlide.css +1 -1
- package/dist/assets/SocialLinks.css +1 -1
- package/dist/assets/TextSlide.css +1 -1
- package/dist/assets/TwoColumnSlide.css +1 -1
- package/dist/assets/UpcomingList.css +1 -1
- package/dist/components/ActionButton/ActionButton.d.ts +20 -1
- package/dist/components/ActionButton/ActionButton.js +36 -36
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/components/AdBlock/AdBlock.d.ts +20 -1
- package/dist/components/AdBlock/AdBlock.js +118 -83
- package/dist/components/AdBlock/index.d.ts +2 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
- package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
- package/dist/components/AirDateFormatter/index.d.ts +2 -1
- package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
- package/dist/components/AnchorTag/AnchorTag.js +22 -23
- package/dist/components/AnchorTag/index.d.ts +2 -1
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
- package/dist/components/BCVideoPlayer/index.d.ts +2 -1
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
- package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
- package/dist/components/BasicGridModule/index.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +18 -17
- package/dist/components/Button/Button.js +31 -32
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
- package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
- package/dist/components/ButtonAnchor/index.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts +7 -24
- package/dist/components/Carousel/Carousel.js +113 -113
- package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
- package/dist/components/Carousel/CarouselUtils.class.js +85 -55
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/navigations/Pagination.js +12 -10
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
- package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
- package/dist/components/CarouselSlide/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
- package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
- package/dist/components/ChannelSearch/index.d.ts +2 -1
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
- package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
- package/dist/components/ChoicesItem/index.d.ts +2 -1
- package/dist/components/ChoicesItem/index.js +1 -1
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
- package/dist/components/ChoicesList/ChoicesList.js +3 -4
- package/dist/components/ChoicesList/index.d.ts +2 -1
- package/dist/components/Concat/Concat.d.ts +4 -3
- package/dist/components/Concat/Concat.js +5 -5
- package/dist/components/Concat/index.d.ts +2 -1
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
- package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
- package/dist/components/CreateChoiceList/index.d.ts +2 -1
- package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
- package/dist/components/CtaBlock/CtaBlock.js +23 -22
- package/dist/components/CtaBlock/index.d.ts +2 -1
- package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
- package/dist/components/CustomDataList/CustomDataList.js +200 -174
- package/dist/components/CustomDataList/index.d.ts +2 -1
- package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
- package/dist/components/CustomSelect/CustomSelect.js +224 -154
- package/dist/components/CustomSelect/index.d.ts +2 -1
- package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
- package/dist/components/DateNavigation/DateNavigation.js +125 -82
- package/dist/components/DateNavigation/index.d.ts +2 -1
- package/dist/components/DatePicker/index.d.ts +2 -1
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
- package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
- package/dist/components/DrawerNavigation/index.d.ts +2 -1
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
- package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
- package/dist/components/EqualSizeGrid/index.d.ts +2 -1
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
- package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
- package/dist/components/ErrorHandler/index.d.ts +2 -1
- package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
- package/dist/components/FeaturedList/FeaturedList.js +44 -36
- package/dist/components/FeaturedList/index.d.ts +2 -1
- package/dist/components/Figure/Figure.d.ts +5 -4
- package/dist/components/Figure/Figure.js +8 -9
- package/dist/components/Figure/index.d.ts +2 -1
- package/dist/components/FindUs/FindUs.d.ts +24 -1
- package/dist/components/FindUs/FindUs.js +70 -63
- package/dist/components/FindUs/index.d.ts +2 -1
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
- package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
- package/dist/components/FooterNavigation/index.d.ts +2 -1
- package/dist/components/GenericList/GenericList.d.ts +6 -5
- package/dist/components/GenericList/GenericList.js +13 -14
- package/dist/components/GenericList/index.d.ts +2 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
- package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
- package/dist/components/GradientButton/GradientButton.d.ts +15 -14
- package/dist/components/GradientButton/GradientButton.js +37 -40
- package/dist/components/GradientButton/index.d.ts +2 -1
- package/dist/components/GridList/GridList.d.ts +6 -5
- package/dist/components/GridList/GridList.js +14 -10
- package/dist/components/GridList/index.d.ts +2 -1
- package/dist/components/ImageCard/ImageCard.d.ts +27 -1
- package/dist/components/ImageCard/ImageCard.js +59 -58
- package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
- package/dist/components/ImageCard/ImageCardCore.js +115 -89
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
- package/dist/components/InfoPanel/InfoPanel.js +2 -2
- package/dist/components/InfoPanel/index.d.ts +2 -1
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
- package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
- package/dist/components/Input/Input.d.ts +10 -9
- package/dist/components/Input/Input.js +47 -40
- package/dist/components/Input/index.d.ts +2 -1
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
- package/dist/components/InstructionsList/InstructionsList.js +20 -10
- package/dist/components/InstructionsList/index.d.ts +2 -1
- package/dist/components/Loading/Loading.d.ts +8 -7
- package/dist/components/Loading/Loading.js +25 -20
- package/dist/components/Loading/index.d.ts +2 -1
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
- package/dist/components/LoadingV2/LoadingV2.js +31 -21
- package/dist/components/LoadingV2/index.d.ts +2 -1
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
- package/dist/components/LogoListItem/LogoListItem.js +34 -17
- package/dist/components/LogoListItem/index.d.ts +2 -1
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
- package/dist/components/LogoNavigation/index.d.ts +2 -1
- package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
- package/dist/components/ModalContainer/ModalContainer.js +84 -72
- package/dist/components/ModalContainer/index.d.ts +2 -1
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
- package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
- package/dist/components/NavList/NavList.d.ts +9 -7
- package/dist/components/NavList/NavList.js +56 -20
- package/dist/components/NavList/index.d.ts +2 -1
- package/dist/components/Overlay/Overlay.d.ts +5 -5
- package/dist/components/Overlay/Overlay.js +8 -5
- package/dist/components/PageHero/PageHero.d.ts +6 -5
- package/dist/components/PageHero/PageHero.js +29 -16
- package/dist/components/PageHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
- package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
- package/dist/components/ProgramAirdate/index.d.ts +2 -1
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
- package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
- package/dist/components/PromotionBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
- package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
- package/dist/components/PromotionsRowModule/index.d.ts +2 -1
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
- package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
- package/dist/components/RescanInstructions/index.d.ts +2 -1
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
- package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
- package/dist/components/ResponsiveImage/index.d.ts +2 -1
- package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
- package/dist/components/ResultsTable/ResultsTable.js +21 -16
- package/dist/components/ResultsTable/index.d.ts +2 -1
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
- package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
- package/dist/components/ResultsTableBody/index.d.ts +2 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
- package/dist/components/ResultsTableHeader/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/ScheduleContext.d.ts +27 -0
- package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
- package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
- package/dist/components/ScheduleLayout/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -0
- package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
- package/dist/components/ScheduleList/ScheduleList.js +162 -60
- package/dist/components/ScheduleList/index.d.ts +2 -1
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +48 -32
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
- package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
- package/dist/components/SectionedContent/SectionedContent.js +14 -15
- package/dist/components/SectionedContent/index.d.ts +2 -1
- package/dist/components/Select/Select.d.ts +15 -11
- package/dist/components/Select/Select.js +21 -21
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
- package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
- package/dist/components/ShowAboutContent/index.d.ts +2 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
- package/dist/components/ShowAboutLayout/index.d.ts +2 -1
- package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
- package/dist/components/SocialLinks/SocialLinks.js +192 -138
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
- package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
- package/dist/components/SocialShareBlock/index.d.ts +2 -1
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
- package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
- package/dist/components/SocialShareButton/index.d.ts +2 -1
- package/dist/components/SocialShareButton/index.js +1 -1
- package/dist/components/StringList/StringList.d.ts +6 -5
- package/dist/components/StringList/StringList.js +16 -12
- package/dist/components/StringList/index.d.ts +2 -1
- package/dist/components/TabContent/TabContent.d.ts +5 -4
- package/dist/components/TabContent/TabContent.js +9 -7
- package/dist/components/TabContent/index.d.ts +2 -1
- package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
- package/dist/components/TabNavigation/TabNavigation.js +58 -53
- package/dist/components/TabNavigation/index.d.ts +2 -1
- package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
- package/dist/components/TabbedContent/TabbedContent.js +24 -8
- package/dist/components/TabbedContent/index.d.ts +2 -1
- package/dist/components/TextArea/TextArea.d.ts +9 -1
- package/dist/components/TextArea/TextArea.js +13 -13
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
- package/dist/components/UpcomingList/UpcomingList.js +55 -41
- package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
- package/dist/containers/GetFeatruedListContainer.js +16 -16
- package/dist/containers/NowPlayingContainer.d.ts +17 -15
- package/dist/containers/NowPlayingContainer.js +18 -16
- package/dist/custom-elements.d.js +1 -0
- package/dist/data-resources/FakeDataResource.d.ts +77 -68
- package/dist/data-resources/FakeDataResource.js +244 -142
- package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
- package/dist/error-boundries/BlankErrorBoundry.js +5 -5
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
- package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
- package/dist/hooks/{useGetSchedule.d.ts → getSchedule.d.ts} +12 -4
- package/dist/hooks/getSchedule.js +62 -0
- package/dist/hooks/useGetUpcoming.d.ts +8 -6
- package/dist/hooks/useGetUpcoming.js +22 -25
- package/dist/icons/Facebook.js +6 -6
- package/dist/icons/Tiktok.js +15 -7
- package/dist/icons/Twitter.js +7 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.js +35 -33
- package/dist/logger-C0N7U0YY.mjs +67 -0
- package/dist/settings.d.ts +4 -3
- package/dist/settings.js +6 -5
- package/dist/types.d.js +27 -0
- package/dist/utils/Redirect.d.ts +2 -2
- package/dist/utils/analytics.js +1 -1
- package/dist/utils/date-helpers.d.ts +3 -2
- package/dist/utils/date-helpers.js +26 -26
- package/dist/utils/events.js +8 -6
- package/dist/utils/getFeaturedList.d.ts +28 -8
- package/dist/utils/getFeaturedList.js +58 -45
- package/dist/utils/getFeaturedListImages.d.ts +15 -5
- package/dist/utils/getFeaturedListImages.js +27 -16
- package/dist/utils/getOnNowProgram.d.ts +17 -3
- package/dist/utils/getOnNowProgram.js +106 -68
- package/dist/utils/getSchedule.d.ts +8 -6
- package/dist/utils/getSchedule.js +6 -1
- package/dist/utils/getUpcomingPrograms.d.ts +10 -7
- package/dist/utils/getUpcomingPrograms.js +5 -4
- package/dist/utils/getViewingPlatforms.d.ts +6 -16
- package/dist/utils/getViewingPlatforms.js +14 -11
- package/dist/utils/gtm.js +1 -1
- package/dist/utils/helpers.d.ts +9 -9
- package/dist/utils/helpers.js +69 -65
- package/dist/utils/program-helpers.d.ts +14 -20
- package/dist/utils/program-helpers.js +9 -8
- package/dist/utils/series-helpers.d.ts +14 -20
- package/dist/utils/series-helpers.js +9 -8
- package/package.json +23 -13
- package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
- package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
- package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
- package/dist/facebook-HCcA1M1m.mjs +0 -54
- package/dist/hooks/useGetSchedule.js +0 -58
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
spinnerColor?: string
|
|
3
|
-
spinnerSize?: string
|
|
4
|
-
spinnerTrackWidth?: string
|
|
5
|
-
topOffset?: string
|
|
6
|
-
message?: string
|
|
7
|
-
}
|
|
1
|
+
type LoadingProps = {
|
|
2
|
+
spinnerColor?: string;
|
|
3
|
+
spinnerSize?: string;
|
|
4
|
+
spinnerTrackWidth?: string;
|
|
5
|
+
topOffset?: string;
|
|
6
|
+
message?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function Loading({ spinnerColor, spinnerSize, spinnerTrackWidth, topOffset, message, }: LoadingProps): JSX.Element;
|
|
8
9
|
export default Loading;
|
|
@@ -1,36 +1,41 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import { classes as t } from "../../utils/helpers.js";
|
|
4
3
|
import '../../assets/Loading.css';const d = "_spinner_4d38k_14", r = {
|
|
5
4
|
"spinner-wrap": "_spinner-wrap_4d38k_14",
|
|
6
5
|
spinner: d,
|
|
7
6
|
"loading-wrapper__message": "_loading-wrapper__message_4d38k_44"
|
|
8
7
|
};
|
|
9
|
-
function
|
|
8
|
+
function c({
|
|
10
9
|
spinnerColor: s = "var(--theme-color-100)",
|
|
11
10
|
spinnerSize: a = "3.125rem",
|
|
12
11
|
spinnerTrackWidth: i = "6px",
|
|
13
12
|
topOffset: p = "50%",
|
|
14
13
|
message: n = ""
|
|
15
14
|
}) {
|
|
16
|
-
return /* @__PURE__ */ o(
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
15
|
+
return /* @__PURE__ */ o(
|
|
16
|
+
"loading-wrapper",
|
|
17
|
+
{
|
|
18
|
+
style: {
|
|
19
|
+
"--spinner-size": a,
|
|
20
|
+
"--spinner-track-width": i,
|
|
21
|
+
"--spinner-color": s,
|
|
22
|
+
"--spinner-top-offset": p
|
|
23
|
+
},
|
|
24
|
+
children: [
|
|
25
|
+
/* @__PURE__ */ e(
|
|
26
|
+
"div",
|
|
27
|
+
{
|
|
28
|
+
className: r["spinner-wrap"],
|
|
29
|
+
"data-state": "entering",
|
|
30
|
+
children: /* @__PURE__ */ e("div", { className: r.spinner })
|
|
31
|
+
}
|
|
32
|
+
),
|
|
33
|
+
n !== "" && /* @__PURE__ */ e("div", { className: t([r["loading-wrapper__message"], "loading-wrapper__message"]), children: n })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
32
37
|
}
|
|
33
38
|
export {
|
|
34
|
-
|
|
35
|
-
|
|
39
|
+
c as Loading,
|
|
40
|
+
c as default
|
|
36
41
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Loading
|
|
1
|
+
export { Loading } from './Loading';
|
|
2
|
+
export { Loading as default } from './Loading';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
width?: string
|
|
3
|
-
topOffset?: string
|
|
4
|
-
message?: string
|
|
5
|
-
type?:
|
|
6
|
-
}
|
|
1
|
+
type LoadingV2Props = {
|
|
2
|
+
width?: string;
|
|
3
|
+
topOffset?: string;
|
|
4
|
+
message?: string;
|
|
5
|
+
type?: 'ring' | 'pie';
|
|
6
|
+
};
|
|
7
|
+
export declare function LoadingV2({ width, topOffset, message, type, }: LoadingV2Props): JSX.Element;
|
|
7
8
|
export default LoadingV2;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import "
|
|
3
|
-
import { classes as s } from "../../utils/helpers.js";
|
|
1
|
+
import { jsx as e, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { classes as _ } from "../../utils/helpers.js";
|
|
4
3
|
import '../../assets/LoadingV2.css';const t = "_spinner_tub9o_11", o = "_spinner__wrapper_tub9o_23", l = "_spinner__left_tub9o_57", c = "_spinner__right_tub9o_61", m = "_spinner__anim_tub9o_65", n = {
|
|
5
4
|
"loading-wrapper": "_loading-wrapper_tub9o_1",
|
|
6
5
|
spinner: t,
|
|
@@ -10,30 +9,41 @@ import '../../assets/LoadingV2.css';const t = "_spinner_tub9o_11", o = "_spinner
|
|
|
10
9
|
spinner__left: l,
|
|
11
10
|
spinner__right: c,
|
|
12
11
|
spinner__anim: m,
|
|
13
|
-
"ui-spinner-rotate-left": "_ui-spinner-rotate-left_tub9o_1",
|
|
14
|
-
"ui-spinner-rotate-right": "_ui-spinner-rotate-right_tub9o_1",
|
|
15
12
|
"loading-wrapper__message": "_loading-wrapper__message_tub9o_97"
|
|
16
13
|
};
|
|
17
|
-
function
|
|
18
|
-
width:
|
|
14
|
+
function u({
|
|
15
|
+
width: i = "3rem",
|
|
19
16
|
topOffset: p = "50%",
|
|
20
17
|
message: r = "",
|
|
21
18
|
type: a = "ring"
|
|
22
19
|
}) {
|
|
23
|
-
return /* @__PURE__ */ e(
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
20
|
+
return /* @__PURE__ */ e(
|
|
21
|
+
"div",
|
|
22
|
+
{
|
|
23
|
+
className: n["loading-wrapper"],
|
|
24
|
+
style: {
|
|
25
|
+
"--spinner-top-offset": p
|
|
26
|
+
},
|
|
27
|
+
children: /* @__PURE__ */ s("div", { className: n.spinner, style: { "--spinner-width": i }, children: [
|
|
28
|
+
/* @__PURE__ */ s(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
className: _([
|
|
32
|
+
n.spinner__wrapper,
|
|
33
|
+
a === "pie" ? n["spinner--pie"] : n["spinner--ring"]
|
|
34
|
+
]),
|
|
35
|
+
children: [
|
|
36
|
+
/* @__PURE__ */ e("span", { className: n.spinner__left, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) }),
|
|
37
|
+
/* @__PURE__ */ e("span", { className: n.spinner__right, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) })
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
r !== "" && /* @__PURE__ */ e("div", { className: _([n["loading-wrapper__message"], "loading-wrapper__message"]), children: r })
|
|
42
|
+
] })
|
|
43
|
+
}
|
|
44
|
+
);
|
|
35
45
|
}
|
|
36
46
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
47
|
+
u as LoadingV2,
|
|
48
|
+
u as default
|
|
39
49
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { LoadingV2
|
|
1
|
+
export { LoadingV2 } from './LoadingV2';
|
|
2
|
+
export { LoadingV2 as default } from './LoadingV2';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
imageSource:
|
|
3
|
-
href?: string
|
|
4
|
-
altText?: string
|
|
5
|
-
target?:
|
|
6
|
-
}
|
|
1
|
+
type LogoListItemProps = {
|
|
2
|
+
imageSource: string;
|
|
3
|
+
href?: string;
|
|
4
|
+
altText?: string;
|
|
5
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
6
|
+
};
|
|
7
|
+
export declare function LogoListItem({ imageSource, href, altText, target, }: LogoListItemProps): JSX.Element;
|
|
7
8
|
export default LogoListItem;
|
|
@@ -1,29 +1,46 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "
|
|
3
|
-
import { classes as t } from "../../utils/helpers.js";
|
|
1
|
+
import { jsxs as m, Fragment as o, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { classes as l } from "../../utils/helpers.js";
|
|
4
3
|
import '../../assets/LogoListItem.css';const s = {
|
|
5
|
-
"icon-list-item": "_icon-list-
|
|
6
|
-
"icon-list-item__link": "_icon-list-
|
|
7
|
-
"icon-list-item__img-wrapper": "_icon-list-item__img-
|
|
4
|
+
"icon-list-item": "_icon-list-item_19qvn_1",
|
|
5
|
+
"icon-list-item__link": "_icon-list-item__link_19qvn_18",
|
|
6
|
+
"icon-list-item__img-wrapper": "_icon-list-item__img-wrapper_19qvn_19"
|
|
8
7
|
};
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
function r({
|
|
9
|
+
imageSource: e,
|
|
10
|
+
href: t = "",
|
|
11
|
+
altText: n = "",
|
|
12
|
+
target: c = "_self"
|
|
13
|
+
}) {
|
|
14
|
+
return /* @__PURE__ */ m(o, { children: [
|
|
15
|
+
t !== "" && /* @__PURE__ */ i("li", { className: l([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ m(
|
|
12
16
|
"a",
|
|
13
17
|
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
target:
|
|
18
|
+
className: l([s["icon-list-item__link"], "icon-list-item__link"]),
|
|
19
|
+
href: t,
|
|
20
|
+
target: c,
|
|
17
21
|
children: [
|
|
18
|
-
/* @__PURE__ */ i("span", { className: "sr-only", children:
|
|
19
|
-
/* @__PURE__ */ i(
|
|
22
|
+
/* @__PURE__ */ i("span", { className: "sr-only", children: n }),
|
|
23
|
+
/* @__PURE__ */ i(
|
|
24
|
+
"img",
|
|
25
|
+
{
|
|
26
|
+
alt: `${n} logo`,
|
|
27
|
+
className: s["ion-list-item__image"],
|
|
28
|
+
src: e
|
|
29
|
+
}
|
|
30
|
+
)
|
|
20
31
|
]
|
|
21
32
|
}
|
|
22
33
|
) }),
|
|
23
|
-
|
|
34
|
+
t === "" && /* @__PURE__ */ i("li", { className: l([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ i("span", { className: l([s["icon-list-item__img-wrapper"], "icon-list-item__img-wrapper"]), children: /* @__PURE__ */ i(
|
|
35
|
+
"img",
|
|
36
|
+
{
|
|
37
|
+
alt: `${n} logo`,
|
|
38
|
+
src: e
|
|
39
|
+
}
|
|
40
|
+
) }) })
|
|
24
41
|
] });
|
|
25
42
|
}
|
|
26
43
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
44
|
+
r as LogoListItem,
|
|
45
|
+
r as default
|
|
29
46
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { LogoListItem
|
|
1
|
+
export { LogoListItem } from './LogoListItem';
|
|
2
|
+
export { LogoListItem as default } from './LogoListItem';
|
|
@@ -1,5 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { Image } from '../../types';
|
|
2
|
+
type LogoNavigationProps = {
|
|
3
|
+
items?: Array<{
|
|
4
|
+
href?: string;
|
|
5
|
+
target?: '_self' | '_blank' | '_parent' | '_top';
|
|
6
|
+
image: Image;
|
|
7
|
+
text?: string;
|
|
8
|
+
height?: number;
|
|
9
|
+
baselineAdjustment?: number;
|
|
10
|
+
}>;
|
|
11
|
+
height?: number;
|
|
12
|
+
};
|
|
13
|
+
export declare function LogoNavigation({ items, height }: LogoNavigationProps): JSX.Element;
|
|
5
14
|
export default LogoNavigation;
|
|
@@ -1,23 +1,28 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "react";
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
3
2
|
import { ImageReplacementAnchor as o } from "../ImageReplacementAnchor/ImageReplacementAnchor.js";
|
|
4
|
-
import '../../assets/LogoNavigation.css';function
|
|
5
|
-
return /* @__PURE__ */
|
|
6
|
-
"
|
|
7
|
-
}, children: n.length > 0 && n.map((a) => /* @__PURE__ */ r(
|
|
8
|
-
o,
|
|
3
|
+
import '../../assets/LogoNavigation.css';function h({ items: n = [], height: r = 4 }) {
|
|
4
|
+
return /* @__PURE__ */ e(
|
|
5
|
+
"logo-navigation",
|
|
9
6
|
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
style: {
|
|
8
|
+
"--logo-nav-max-height": `${r}rem`
|
|
9
|
+
},
|
|
10
|
+
children: n.length > 0 && n.map((a) => /* @__PURE__ */ e(
|
|
11
|
+
o,
|
|
12
|
+
{
|
|
13
|
+
baselineAdjustment: a != null && a.baselineAdjustment ? a.baselineAdjustment : 0,
|
|
14
|
+
height: a.height,
|
|
15
|
+
href: a.href,
|
|
16
|
+
image: a.image,
|
|
17
|
+
target: (a == null ? void 0 : a.target) ?? "_self",
|
|
18
|
+
text: a.text
|
|
19
|
+
},
|
|
20
|
+
`ira-${Math.round(Math.random() * 1e7)}`
|
|
21
|
+
))
|
|
22
|
+
}
|
|
23
|
+
);
|
|
19
24
|
}
|
|
20
25
|
export {
|
|
21
|
-
|
|
22
|
-
|
|
26
|
+
h as LogoNavigation,
|
|
27
|
+
h as default
|
|
23
28
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { LogoNavigation
|
|
1
|
+
export { LogoNavigation } from './LogoNavigation';
|
|
2
|
+
export { LogoNavigation as default } from './LogoNavigation';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}):
|
|
1
|
+
type ModalContainerProps = {
|
|
2
|
+
contentComponent?: string;
|
|
3
|
+
airaLabel?: string;
|
|
4
|
+
modalId?: string;
|
|
5
|
+
onModalClose?: () => void;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
};
|
|
8
|
+
export declare function ModalContainer({ contentComponent, airaLabel, modalId, onModalClose, children, }: ModalContainerProps): JSX.Element;
|
|
9
9
|
export default ModalContainer;
|
|
@@ -1,108 +1,120 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { r as
|
|
4
|
-
import { classes as
|
|
5
|
-
import { blockLayoutsMap as
|
|
6
|
-
import { X as
|
|
7
|
-
import '../../assets/ModalContainer.css';const
|
|
8
|
-
modal:
|
|
9
|
-
"modal__close-btn": "_modal__close-
|
|
10
|
-
},
|
|
11
|
-
if (!document.querySelector(`#${
|
|
12
|
-
const
|
|
13
|
-
|
|
1
|
+
import { jsx as s, jsxs as k, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import { useState as i, useRef as x, useEffect as v, Suspense as M, Children as w, isValidElement as F, cloneElement as K } from "react";
|
|
3
|
+
import { r as N } from "../../index-C-kn9Zhn.mjs";
|
|
4
|
+
import { classes as D } from "../../utils/helpers.js";
|
|
5
|
+
import { blockLayoutsMap as q } from "../../settings.js";
|
|
6
|
+
import { X as R } from "../../x-C-QzJ-qD.mjs";
|
|
7
|
+
import '../../assets/ModalContainer.css';const T = "_modal_ojmou_1", C = {
|
|
8
|
+
modal: T,
|
|
9
|
+
"modal__close-btn": "_modal__close-btn_ojmou_48"
|
|
10
|
+
}, V = (l) => {
|
|
11
|
+
if (!document.querySelector(`#${l}`)) {
|
|
12
|
+
const n = document.createElement("div");
|
|
13
|
+
n.setAttribute("id", l);
|
|
14
|
+
const u = document.querySelector("body");
|
|
15
|
+
u && u.appendChild(n);
|
|
14
16
|
}
|
|
15
17
|
};
|
|
16
|
-
function
|
|
17
|
-
contentComponent:
|
|
18
|
-
airaLabel:
|
|
19
|
-
modalId:
|
|
20
|
-
onModalClose:
|
|
21
|
-
children:
|
|
18
|
+
function J({
|
|
19
|
+
contentComponent: l = "BCVideoPlayer",
|
|
20
|
+
airaLabel: b = "",
|
|
21
|
+
modalId: n = "modal-container",
|
|
22
|
+
onModalClose: u = () => !0,
|
|
23
|
+
children: p
|
|
22
24
|
}) {
|
|
23
|
-
const [
|
|
24
|
-
_("exiting"),
|
|
25
|
-
|
|
25
|
+
const [d, O] = i(null), [S, _] = i("entering"), [P, L] = i(!1), [m, g] = i(null), [$, y] = i(!1), t = x(null), h = x(null), E = () => {
|
|
26
|
+
if (_("exiting"), L(!0), t.current === null) return;
|
|
27
|
+
const e = t.current;
|
|
28
|
+
setTimeout(() => {
|
|
29
|
+
e.close(), L(!1), _("entering"), u();
|
|
26
30
|
}, 750);
|
|
27
|
-
},
|
|
28
|
-
[...
|
|
29
|
-
},
|
|
30
|
-
e.target.classList.contains(`${
|
|
31
|
+
}, f = (e) => {
|
|
32
|
+
t.current !== null && [...t.current.attributes].findIndex((c) => c.name === "open") !== -1 && e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), E());
|
|
33
|
+
}, j = (e) => {
|
|
34
|
+
e.target instanceof HTMLElement && e.target.classList.contains(`${C.modal}`) && E();
|
|
31
35
|
};
|
|
32
|
-
return
|
|
33
|
-
document.getElementById(
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
return V(n), v(() => {
|
|
37
|
+
const e = document.getElementById(n);
|
|
38
|
+
if (!e) return;
|
|
39
|
+
e.removeEventListener(
|
|
40
|
+
`scripps:${n.replace(/-/g, "")}:change`,
|
|
41
|
+
(r) => {
|
|
42
|
+
const o = r;
|
|
43
|
+
g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
async function c() {
|
|
47
|
+
O(q.get(l));
|
|
38
48
|
}
|
|
39
|
-
return
|
|
40
|
-
|
|
49
|
+
return l !== "" && c(), e.addEventListener(`scripps:${n.replace(/-/g, "")}:change`, (r) => {
|
|
50
|
+
const o = r;
|
|
51
|
+
g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
|
|
41
52
|
}), () => {
|
|
42
|
-
|
|
43
|
-
|
|
53
|
+
e.removeEventListener(`scripps:${n.replace(/-/g, "")}:change`, (r) => {
|
|
54
|
+
const o = r;
|
|
55
|
+
g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
|
|
44
56
|
});
|
|
45
57
|
};
|
|
46
|
-
}, [
|
|
58
|
+
}, [l, n]), v(() => {
|
|
47
59
|
let e = null;
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
|
|
60
|
+
const c = () => {
|
|
61
|
+
const r = setInterval(() => {
|
|
62
|
+
t.current !== null && (clearInterval(r), e = t.current);
|
|
51
63
|
}, 100);
|
|
52
64
|
};
|
|
53
|
-
return
|
|
65
|
+
return t.current === null && c(), () => {
|
|
54
66
|
e == null || e.close();
|
|
55
67
|
};
|
|
56
|
-
}, [
|
|
57
|
-
|
|
58
|
-
}, [
|
|
59
|
-
/* @__PURE__ */ s(
|
|
68
|
+
}, [d]), v(() => {
|
|
69
|
+
t.current !== null && [...t.current.attributes].findIndex((e) => e.name === "open") === -1 && m !== null && (t.current.showModal(), h.current && h.current.blur());
|
|
70
|
+
}, [m, $]), N.createPortal(
|
|
71
|
+
/* @__PURE__ */ s(M, { children: /* @__PURE__ */ k(
|
|
60
72
|
"dialog",
|
|
61
73
|
{
|
|
62
|
-
|
|
63
|
-
"data-state": D,
|
|
64
|
-
className: k([y.modal, "modal"]),
|
|
65
|
-
onKeyDown: i,
|
|
66
|
-
onKeyUp: i,
|
|
67
|
-
onClick: S,
|
|
68
|
-
onCancel: (e) => e.preventDefault(),
|
|
74
|
+
"aria-label": b,
|
|
69
75
|
"aria-modal": "true",
|
|
70
|
-
|
|
76
|
+
className: D([C.modal, "modal"]),
|
|
77
|
+
"data-state": S,
|
|
78
|
+
ref: t,
|
|
79
|
+
onCancel: (e) => e.preventDefault(),
|
|
80
|
+
onClick: j,
|
|
81
|
+
onKeyDown: f,
|
|
82
|
+
onKeyUp: f,
|
|
71
83
|
children: [
|
|
72
|
-
|
|
73
|
-
|
|
84
|
+
d && p === void 0 && /* @__PURE__ */ s(
|
|
85
|
+
d,
|
|
74
86
|
{
|
|
75
|
-
...
|
|
76
|
-
containerClosing:
|
|
77
|
-
handleClosing:
|
|
87
|
+
...m,
|
|
88
|
+
containerClosing: P,
|
|
89
|
+
handleClosing: f
|
|
78
90
|
}
|
|
79
91
|
),
|
|
80
|
-
|
|
81
|
-
...
|
|
82
|
-
containerClosing:
|
|
83
|
-
handleClosing:
|
|
84
|
-
})) }),
|
|
85
|
-
/* @__PURE__ */
|
|
92
|
+
p !== void 0 && /* @__PURE__ */ s(B, { children: w.map(p, (e) => F(e) ? K(e, {
|
|
93
|
+
...m,
|
|
94
|
+
containerClosing: P,
|
|
95
|
+
handleClosing: f
|
|
96
|
+
}) : e) }),
|
|
97
|
+
/* @__PURE__ */ k(
|
|
86
98
|
"button",
|
|
87
99
|
{
|
|
88
|
-
type: "button",
|
|
89
|
-
onClick: f,
|
|
90
|
-
className: k([y["modal__close-btn"], "modal__close-btn"]),
|
|
91
100
|
"aria-label": "Close",
|
|
92
|
-
|
|
101
|
+
className: D([C["modal__close-btn"], "modal__close-btn"]),
|
|
102
|
+
ref: h,
|
|
103
|
+
type: "button",
|
|
104
|
+
onClick: E,
|
|
93
105
|
children: [
|
|
94
106
|
/* @__PURE__ */ s("span", { className: "sr-only", children: "close" }),
|
|
95
|
-
/* @__PURE__ */ s("i", { children: /* @__PURE__ */ s(
|
|
107
|
+
/* @__PURE__ */ s("i", { children: /* @__PURE__ */ s(R, { height: "48", width: "48" }) })
|
|
96
108
|
]
|
|
97
109
|
}
|
|
98
110
|
)
|
|
99
111
|
]
|
|
100
112
|
}
|
|
101
113
|
) }),
|
|
102
|
-
document.getElementById(
|
|
114
|
+
document.getElementById(n)
|
|
103
115
|
);
|
|
104
116
|
}
|
|
105
117
|
export {
|
|
106
|
-
|
|
107
|
-
|
|
118
|
+
J as ModalContainer,
|
|
119
|
+
J as default
|
|
108
120
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ModalContainer
|
|
1
|
+
export { ModalContainer } from './ModalContainer';
|
|
2
|
+
export { ModalContainer as default } from './ModalContainer';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
positions?: string[]
|
|
4
|
-
sizes?: string[]
|
|
5
|
-
}
|
|
1
|
+
type MultiLayeredFigureProps = {
|
|
2
|
+
imageUrls?: string[];
|
|
3
|
+
positions?: string[];
|
|
4
|
+
sizes?: string[];
|
|
5
|
+
};
|
|
6
|
+
export declare function MultiLayeredFigure({ imageUrls, positions, sizes, }: MultiLayeredFigureProps): JSX.Element;
|
|
6
7
|
export default MultiLayeredFigure;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import '../../assets/MultiLayeredFigure.css';const l = {
|
|
4
3
|
"multi-layered-figure": "_multi-layered-figure_b1yqx_1",
|
|
5
4
|
"multi-layered-figure__images": "_multi-layered-figure__images_b1yqx_6"
|
|
6
5
|
};
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
function f({
|
|
7
|
+
imageUrls: t = [],
|
|
8
|
+
positions: g = ["center"],
|
|
9
|
+
sizes: o = ["auto"]
|
|
10
|
+
}) {
|
|
11
|
+
const i = (r = [], m = "") => {
|
|
12
|
+
let a = "";
|
|
10
13
|
for (let e = 0; e < r.length; e++)
|
|
11
|
-
|
|
12
|
-
return
|
|
13
|
-
}, s =
|
|
14
|
+
m === "image" ? e === 0 ? a += `url("${r[e]}")` : a += `,url("${r[e]}")` : e === 0 ? a += `${r[e]}` : a += `,${r[e]}`;
|
|
15
|
+
return a;
|
|
16
|
+
}, s = i(g), n = i(t, "image"), c = i(o);
|
|
14
17
|
return /* @__PURE__ */ u("figure", { className: l["multi-layered-figure"], children: /* @__PURE__ */ u(
|
|
15
18
|
"div",
|
|
16
19
|
{
|
|
@@ -18,12 +21,12 @@ function _({ images: t = [], positions: g = ["center"], sizes: o = ["auto"] }) {
|
|
|
18
21
|
style: {
|
|
19
22
|
backgroundImage: n,
|
|
20
23
|
backgroundPosition: s,
|
|
21
|
-
backgroundSize:
|
|
24
|
+
backgroundSize: c
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
) });
|
|
25
28
|
}
|
|
26
29
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
30
|
+
f as MultiLayeredFigure,
|
|
31
|
+
f as default
|
|
29
32
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { MultiLayeredFigure
|
|
1
|
+
export { MultiLayeredFigure } from './MultiLayeredFigure';
|
|
2
|
+
export { MultiLayeredFigure as default } from './MultiLayeredFigure';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { AnchorLink } from '../../types';
|
|
2
|
+
type NavListProps = {
|
|
3
|
+
title?: string;
|
|
4
|
+
links?: AnchorLink[];
|
|
5
|
+
classname?: string;
|
|
6
|
+
useNavWrapper?: boolean;
|
|
7
|
+
toggleHandler?: ((e: React.MouseEvent) => void) | null;
|
|
8
|
+
};
|
|
9
|
+
export declare function NavList({ title, links, classname, useNavWrapper, toggleHandler, }: NavListProps): JSX.Element;
|
|
8
10
|
export default NavList;
|