@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
- package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
- package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
- package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
- package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
- package/dist/assets/ActionButton.css +1 -1
- package/dist/assets/AdBlock.css +1 -1
- package/dist/assets/AirDateFormatter.css +1 -1
- package/dist/assets/AnchorTag.css +1 -1
- package/dist/assets/BasicGridModule.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Carousel.css +1 -1
- package/dist/assets/CarouselSlide.css +1 -1
- package/dist/assets/ChannelSearch.css +1 -1
- package/dist/assets/ChoicesItem.css +1 -1
- package/dist/assets/ContentHero.css +1 -1
- package/dist/assets/CtaBlock.css +1 -1
- package/dist/assets/CustomDataList.css +1 -1
- package/dist/assets/DateNavigation.css +1 -1
- package/dist/assets/DeviceAndPlatformLists.css +1 -1
- package/dist/assets/Figure.css +1 -1
- package/dist/assets/Figure2.css +1 -1
- package/dist/assets/FindUs.css +1 -1
- package/dist/assets/GradientButton.css +1 -1
- package/dist/assets/ImageCard.css +1 -1
- package/dist/assets/InlineNavigation.css +1 -1
- package/dist/assets/LogoListItem.css +1 -1
- package/dist/assets/ModalContainer.css +1 -1
- package/dist/assets/PageHero.css +1 -1
- package/dist/assets/ProgramAirdate.css +1 -1
- package/dist/assets/PromotionBlock.css +1 -1
- package/dist/assets/ResultsTable.css +1 -1
- package/dist/assets/ScheduleLayout.css +1 -0
- package/dist/assets/ScheduleList.css +1 -1
- package/dist/assets/ShowAboutLayout.css +1 -1
- package/dist/assets/ShowSlide.css +1 -1
- package/dist/assets/SocialLinks.css +1 -1
- package/dist/assets/TextSlide.css +1 -1
- package/dist/assets/TwoColumnSlide.css +1 -1
- package/dist/assets/UpcomingList.css +1 -1
- package/dist/components/ActionButton/ActionButton.d.ts +20 -1
- package/dist/components/ActionButton/ActionButton.js +36 -36
- package/dist/components/ActionButton/index.d.ts +2 -1
- package/dist/components/AdBlock/AdBlock.d.ts +20 -1
- package/dist/components/AdBlock/AdBlock.js +118 -83
- package/dist/components/AdBlock/index.d.ts +2 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
- package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
- package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
- package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
- package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
- package/dist/components/AirDateFormatter/index.d.ts +2 -1
- package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
- package/dist/components/AnchorTag/AnchorTag.js +22 -23
- package/dist/components/AnchorTag/index.d.ts +2 -1
- package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
- package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
- package/dist/components/BCVideoPlayer/index.d.ts +2 -1
- package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
- package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
- package/dist/components/BasicGridModule/index.d.ts +2 -1
- package/dist/components/Button/Button.d.ts +18 -17
- package/dist/components/Button/Button.js +31 -32
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
- package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
- package/dist/components/ButtonAnchor/index.d.ts +2 -1
- package/dist/components/Carousel/Carousel.d.ts +7 -24
- package/dist/components/Carousel/Carousel.js +113 -113
- package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
- package/dist/components/Carousel/CarouselUtils.class.js +85 -55
- package/dist/components/Carousel/index.d.ts +2 -1
- package/dist/components/Carousel/navigations/Pagination.js +12 -10
- package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
- package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
- package/dist/components/CarouselSlide/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
- package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
- package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
- package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
- package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
- package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
- package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
- package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
- package/dist/components/ChannelSearch/index.d.ts +2 -1
- package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
- package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
- package/dist/components/ChoicesItem/index.d.ts +2 -1
- package/dist/components/ChoicesItem/index.js +1 -1
- package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
- package/dist/components/ChoicesList/ChoicesList.js +3 -4
- package/dist/components/ChoicesList/index.d.ts +2 -1
- package/dist/components/Concat/Concat.d.ts +4 -3
- package/dist/components/Concat/Concat.js +5 -5
- package/dist/components/Concat/index.d.ts +2 -1
- package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
- package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
- package/dist/components/CreateChoiceList/index.d.ts +2 -1
- package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
- package/dist/components/CtaBlock/CtaBlock.js +23 -22
- package/dist/components/CtaBlock/index.d.ts +2 -1
- package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
- package/dist/components/CustomDataList/CustomDataList.js +200 -174
- package/dist/components/CustomDataList/index.d.ts +2 -1
- package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
- package/dist/components/CustomSelect/CustomSelect.js +224 -154
- package/dist/components/CustomSelect/index.d.ts +2 -1
- package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
- package/dist/components/DateNavigation/DateNavigation.js +125 -82
- package/dist/components/DateNavigation/index.d.ts +2 -1
- package/dist/components/DatePicker/index.d.ts +2 -1
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
- package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
- package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
- package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
- package/dist/components/DrawerNavigation/index.d.ts +2 -1
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
- package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
- package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
- package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
- package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
- package/dist/components/EqualSizeGrid/index.d.ts +2 -1
- package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
- package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
- package/dist/components/ErrorHandler/index.d.ts +2 -1
- package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
- package/dist/components/FeaturedList/FeaturedList.js +44 -36
- package/dist/components/FeaturedList/index.d.ts +2 -1
- package/dist/components/Figure/Figure.d.ts +5 -4
- package/dist/components/Figure/Figure.js +8 -9
- package/dist/components/Figure/index.d.ts +2 -1
- package/dist/components/FindUs/FindUs.d.ts +24 -1
- package/dist/components/FindUs/FindUs.js +70 -63
- package/dist/components/FindUs/index.d.ts +2 -1
- package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
- package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
- package/dist/components/FooterNavigation/index.d.ts +2 -1
- package/dist/components/GenericList/GenericList.d.ts +6 -5
- package/dist/components/GenericList/GenericList.js +13 -14
- package/dist/components/GenericList/index.d.ts +2 -1
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
- package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
- package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
- package/dist/components/GradientButton/GradientButton.d.ts +15 -14
- package/dist/components/GradientButton/GradientButton.js +37 -40
- package/dist/components/GradientButton/index.d.ts +2 -1
- package/dist/components/GridList/GridList.d.ts +6 -5
- package/dist/components/GridList/GridList.js +14 -10
- package/dist/components/GridList/index.d.ts +2 -1
- package/dist/components/ImageCard/ImageCard.d.ts +27 -1
- package/dist/components/ImageCard/ImageCard.js +59 -58
- package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
- package/dist/components/ImageCard/ImageCardCore.js +114 -89
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
- package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
- package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
- package/dist/components/InfoPanel/InfoPanel.js +2 -2
- package/dist/components/InfoPanel/index.d.ts +2 -1
- package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
- package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
- package/dist/components/Input/Input.d.ts +10 -9
- package/dist/components/Input/Input.js +47 -40
- package/dist/components/Input/index.d.ts +2 -1
- package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
- package/dist/components/InstructionsList/InstructionsList.js +20 -10
- package/dist/components/InstructionsList/index.d.ts +2 -1
- package/dist/components/Loading/Loading.d.ts +8 -7
- package/dist/components/Loading/Loading.js +25 -20
- package/dist/components/Loading/index.d.ts +2 -1
- package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
- package/dist/components/LoadingV2/LoadingV2.js +31 -21
- package/dist/components/LoadingV2/index.d.ts +2 -1
- package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
- package/dist/components/LogoListItem/LogoListItem.js +34 -17
- package/dist/components/LogoListItem/index.d.ts +2 -1
- package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
- package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
- package/dist/components/LogoNavigation/index.d.ts +2 -1
- package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
- package/dist/components/ModalContainer/ModalContainer.js +84 -72
- package/dist/components/ModalContainer/index.d.ts +2 -1
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
- package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
- package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
- package/dist/components/NavList/NavList.d.ts +9 -7
- package/dist/components/NavList/NavList.js +56 -20
- package/dist/components/NavList/index.d.ts +2 -1
- package/dist/components/Overlay/Overlay.d.ts +5 -5
- package/dist/components/Overlay/Overlay.js +8 -5
- package/dist/components/PageHero/PageHero.d.ts +6 -5
- package/dist/components/PageHero/PageHero.js +29 -16
- package/dist/components/PageHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
- package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
- package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
- package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
- package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
- package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
- package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
- package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
- package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
- package/dist/components/ProgramAirdate/index.d.ts +2 -1
- package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
- package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
- package/dist/components/PromotionBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
- package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
- package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
- package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
- package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
- package/dist/components/PromotionsRowModule/index.d.ts +2 -1
- package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
- package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
- package/dist/components/RescanInstructions/index.d.ts +2 -1
- package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
- package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
- package/dist/components/ResponsiveImage/index.d.ts +2 -1
- package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
- package/dist/components/ResultsTable/ResultsTable.js +21 -16
- package/dist/components/ResultsTable/index.d.ts +2 -1
- package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
- package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
- package/dist/components/ResultsTableBody/index.d.ts +2 -1
- package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
- package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
- package/dist/components/ResultsTableHeader/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/ScheduleContext.d.ts +25 -0
- package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
- package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
- package/dist/components/ScheduleLayout/ScheduleLayout.js +76 -24
- package/dist/components/ScheduleLayout/index.d.ts +2 -1
- package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -0
- package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
- package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
- package/dist/components/ScheduleList/ScheduleList.js +153 -60
- package/dist/components/ScheduleList/index.d.ts +2 -1
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
- package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +27 -16
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +53 -37
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
- package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
- package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
- package/dist/components/SectionedContent/SectionedContent.js +14 -15
- package/dist/components/SectionedContent/index.d.ts +2 -1
- package/dist/components/Select/Select.d.ts +15 -11
- package/dist/components/Select/Select.js +21 -21
- package/dist/components/Select/index.d.ts +2 -1
- package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
- package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
- package/dist/components/ShowAboutContent/index.d.ts +2 -1
- package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
- package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
- package/dist/components/ShowAboutLayout/index.d.ts +2 -1
- package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
- package/dist/components/SocialLinks/SocialLinks.js +192 -138
- package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
- package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
- package/dist/components/SocialShareBlock/index.d.ts +2 -1
- package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
- package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
- package/dist/components/SocialShareButton/index.d.ts +2 -1
- package/dist/components/SocialShareButton/index.js +1 -1
- package/dist/components/StringList/StringList.d.ts +6 -5
- package/dist/components/StringList/StringList.js +16 -12
- package/dist/components/StringList/index.d.ts +2 -1
- package/dist/components/TabContent/TabContent.d.ts +5 -4
- package/dist/components/TabContent/TabContent.js +9 -7
- package/dist/components/TabContent/index.d.ts +2 -1
- package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
- package/dist/components/TabNavigation/TabNavigation.js +58 -53
- package/dist/components/TabNavigation/index.d.ts +2 -1
- package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
- package/dist/components/TabbedContent/TabbedContent.js +24 -8
- package/dist/components/TabbedContent/index.d.ts +2 -1
- package/dist/components/TextArea/TextArea.d.ts +9 -1
- package/dist/components/TextArea/TextArea.js +13 -13
- package/dist/components/TextArea/index.d.ts +2 -1
- package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
- package/dist/components/UpcomingList/UpcomingList.js +55 -41
- package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
- package/dist/containers/GetFeatruedListContainer.js +16 -16
- package/dist/containers/NowPlayingContainer.d.ts +17 -15
- package/dist/containers/NowPlayingContainer.js +18 -16
- package/dist/custom-elements.d.js +1 -0
- package/dist/data-resources/FakeDataResource.d.ts +77 -68
- package/dist/data-resources/FakeDataResource.js +244 -142
- package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
- package/dist/error-boundries/BlankErrorBoundry.js +5 -5
- package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
- package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
- package/dist/hooks/useGetSchedule.d.ts +12 -4
- package/dist/hooks/useGetSchedule.js +31 -27
- package/dist/hooks/useGetUpcoming.d.ts +8 -6
- package/dist/hooks/useGetUpcoming.js +22 -25
- package/dist/icons/Facebook.js +6 -6
- package/dist/icons/Tiktok.js +15 -7
- package/dist/icons/Twitter.js +7 -7
- package/dist/index.js +1 -1
- package/dist/logger-C0N7U0YY.mjs +67 -0
- package/dist/settings.d.ts +4 -3
- package/dist/settings.js +6 -5
- package/dist/types.d.js +27 -0
- package/dist/utils/Redirect.d.ts +2 -2
- package/dist/utils/analytics.js +1 -1
- package/dist/utils/date-helpers.d.ts +3 -2
- package/dist/utils/date-helpers.js +26 -26
- package/dist/utils/events.js +8 -6
- package/dist/utils/getFeaturedList.d.ts +28 -8
- package/dist/utils/getFeaturedList.js +58 -45
- package/dist/utils/getFeaturedListImages.d.ts +15 -5
- package/dist/utils/getFeaturedListImages.js +27 -16
- package/dist/utils/getOnNowProgram.d.ts +17 -3
- package/dist/utils/getOnNowProgram.js +106 -68
- package/dist/utils/getSchedule.d.ts +8 -6
- package/dist/utils/getSchedule.js +6 -1
- package/dist/utils/getUpcomingPrograms.d.ts +10 -7
- package/dist/utils/getUpcomingPrograms.js +5 -4
- package/dist/utils/getViewingPlatforms.d.ts +6 -16
- package/dist/utils/getViewingPlatforms.js +14 -11
- package/dist/utils/gtm.js +1 -1
- package/dist/utils/helpers.d.ts +9 -9
- package/dist/utils/helpers.js +69 -65
- package/dist/utils/program-helpers.d.ts +14 -20
- package/dist/utils/program-helpers.js +9 -8
- package/dist/utils/series-helpers.d.ts +14 -20
- package/dist/utils/series-helpers.js +9 -8
- package/package.json +16 -8
- package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
- package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
- package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
- package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
- package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
- package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
- package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
- package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
- package/dist/facebook-HCcA1M1m.mjs +0 -54
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
"anchor-tag--image": "_anchor-tag--image_1nb7n_1"
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/AnchorTag.css';const s = {
|
|
3
|
+
"anchor-tag--image": "_anchor-tag--image_1vh6d_1"
|
|
5
4
|
};
|
|
6
|
-
function
|
|
5
|
+
function c({
|
|
7
6
|
href: l = "",
|
|
8
|
-
classname:
|
|
9
|
-
label:
|
|
7
|
+
classname: e = "",
|
|
8
|
+
label: a = "",
|
|
10
9
|
type: n = "internal-link",
|
|
11
10
|
image: r = null,
|
|
12
|
-
clickHandler:
|
|
11
|
+
clickHandler: i = null
|
|
13
12
|
}) {
|
|
14
|
-
return r !== null ? /* @__PURE__ */
|
|
13
|
+
return r !== null ? /* @__PURE__ */ o(
|
|
15
14
|
"a",
|
|
16
15
|
{
|
|
16
|
+
className: [e, s["anchor-tag--image"], "anchor-tag--image"].join(" "),
|
|
17
17
|
href: l,
|
|
18
|
-
|
|
19
|
-
rel: n === "external-link" ? "noreferrer" : null,
|
|
20
|
-
target: n === "internal-link" ? "_self" : "_blank",
|
|
18
|
+
rel: n === "external-link" ? "noreferrer" : void 0,
|
|
21
19
|
style: {
|
|
22
|
-
"--anchor-tag-image-ratio": r.width / r.height
|
|
20
|
+
"--anchor-tag-image-ratio": r.width && r.height ? r.width / r.height : 1
|
|
23
21
|
},
|
|
24
|
-
|
|
22
|
+
target: n === "internal-link" ? "_self" : "_blank",
|
|
23
|
+
onClick: i && n === "internal-link" && l.includes("#") ? i : void 0,
|
|
25
24
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ t("img", { alt: a, src: r.url }),
|
|
26
|
+
/* @__PURE__ */ t("span", { className: "sr-only", children: a })
|
|
28
27
|
]
|
|
29
28
|
}
|
|
30
|
-
) : /* @__PURE__ */
|
|
29
|
+
) : /* @__PURE__ */ t(
|
|
31
30
|
"a",
|
|
32
31
|
{
|
|
32
|
+
className: e,
|
|
33
33
|
href: l,
|
|
34
|
-
|
|
35
|
-
rel: n === "external-link" ? "noreferrer" : null,
|
|
34
|
+
rel: n === "external-link" ? "noreferrer" : void 0,
|
|
36
35
|
target: n === "internal-link" ? "_self" : "_blank",
|
|
37
|
-
onClick:
|
|
38
|
-
children:
|
|
36
|
+
onClick: i && n === "internal-link" && l.includes("#") ? i : void 0,
|
|
37
|
+
children: a
|
|
39
38
|
}
|
|
40
39
|
);
|
|
41
40
|
}
|
|
42
41
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
c as AnchorTag,
|
|
43
|
+
c as default
|
|
45
44
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { AnchorTag
|
|
1
|
+
export { AnchorTag } from './AnchorTag';
|
|
2
|
+
export { AnchorTag as default } from './AnchorTag';
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { VideoJsPlayer } from 'video.js';
|
|
2
|
+
declare global {
|
|
3
|
+
interface Window {
|
|
4
|
+
bc: (playerId: string) => VideoJsPlayer;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
type BCVideoPlayerProps = {
|
|
8
|
+
bcId: string;
|
|
9
|
+
playerElId?: string;
|
|
10
|
+
containerClosing?: boolean;
|
|
11
|
+
autoplay?: boolean;
|
|
12
|
+
mute?: boolean;
|
|
13
|
+
handleClosing?: (e: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
14
|
+
pauseVideo?: boolean;
|
|
15
|
+
BC_AID?: string;
|
|
16
|
+
BC_PLAYERID?: string;
|
|
17
|
+
BC_EMBEDID?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare function BCVideoPlayer({ bcId, playerElId, containerClosing, autoplay, mute, handleClosing, pauseVideo, BC_AID, BC_PLAYERID, BC_EMBEDID, }: BCVideoPlayerProps): JSX.Element | null;
|
|
13
20
|
export default BCVideoPlayer;
|
|
@@ -1,57 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import '../../assets/BCVideoPlayer.css';function
|
|
4
|
-
bcId:
|
|
1
|
+
import { jsx as H } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as s, useCallback as S, useEffect as l } from "react";
|
|
3
|
+
import '../../assets/BCVideoPlayer.css';function E({
|
|
4
|
+
bcId: r,
|
|
5
5
|
playerElId: n = "bc-player",
|
|
6
|
-
containerClosing:
|
|
7
|
-
autoplay:
|
|
6
|
+
containerClosing: c = !1,
|
|
7
|
+
autoplay: i = !1,
|
|
8
8
|
mute: u = !1,
|
|
9
|
-
handleClosing:
|
|
9
|
+
handleClosing: P = () => !0,
|
|
10
10
|
pauseVideo: d = !1,
|
|
11
|
-
BC_AID:
|
|
12
|
-
BC_PLAYERID:
|
|
11
|
+
BC_AID: f = "",
|
|
12
|
+
BC_PLAYERID: p = "",
|
|
13
13
|
BC_EMBEDID: y = ""
|
|
14
14
|
}) {
|
|
15
|
-
const
|
|
16
|
-
e.key === "Escape" && (e.preventDefault(),
|
|
17
|
-
},
|
|
15
|
+
const t = s(null), o = s(null), m = s(r), K = (e) => {
|
|
16
|
+
e.key === "Escape" && (e.preventDefault(), P(e));
|
|
17
|
+
}, k = (e) => {
|
|
18
18
|
e.key === "Escape" && (e.stopPropagation(), e.preventDefault());
|
|
19
|
-
}, v =
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
return
|
|
19
|
+
}, v = S(() => {
|
|
20
|
+
i && t.current && t.current.play(), u && t.current && t.current.muted(!0);
|
|
21
|
+
}, [i, u]);
|
|
22
|
+
return l(() => {
|
|
23
23
|
const e = () => {
|
|
24
|
-
const w =
|
|
25
|
-
|
|
24
|
+
const w = f, $ = p, g = `<video-js id="${n}" data-video-id="${r}" data-account="${w}" data-player="${$}" data-embed="${y}" controls></video-js>`;
|
|
25
|
+
o.current !== null && (o.current.innerHTML = g), t.current !== null && t.current.dispose();
|
|
26
26
|
const j = document.getElementById("video-js-script");
|
|
27
27
|
j && j.remove();
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
const a = document.createElement("script");
|
|
29
|
+
a.src = `https://players.brightcove.net/${w}/${$}_default/index.min.js`, a.id = "video-js-script", document.body.appendChild(a), a.onload = () => {
|
|
30
|
+
t.current = typeof window.bc == "function" ? window.bc(n) : null, t.current.on("loadedmetadata", v);
|
|
31
|
+
const h = document.querySelector(`#${n}`);
|
|
32
|
+
h && h.focus();
|
|
31
33
|
};
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
+
}, x = setInterval(() => {
|
|
35
|
+
o.current !== null && (clearInterval(x), e());
|
|
34
36
|
}, 100);
|
|
35
|
-
}, [
|
|
36
|
-
|
|
37
|
-
}, [
|
|
38
|
-
m.current !==
|
|
39
|
-
}, [
|
|
37
|
+
}, [r, n, v, f, p, y]), l(() => {
|
|
38
|
+
c && t.current !== null && t.current.pause();
|
|
39
|
+
}, [c]), l(() => {
|
|
40
|
+
m.current !== r && (m.current = r);
|
|
41
|
+
}, [r]), l(() => {
|
|
40
42
|
var e;
|
|
41
|
-
d && ((e =
|
|
42
|
-
}, [d]),
|
|
43
|
+
d && ((e = t.current) == null || e.pause());
|
|
44
|
+
}, [d]), r != null && r !== "" ? /* @__PURE__ */ H(
|
|
43
45
|
"div",
|
|
44
46
|
{
|
|
45
|
-
id: "video-player-wrapper",
|
|
46
47
|
className: "video-player__wrapper",
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
id: "video-player-wrapper",
|
|
49
|
+
ref: o,
|
|
50
|
+
onKeyDown: k,
|
|
51
|
+
onKeyUp: K
|
|
50
52
|
},
|
|
51
|
-
|
|
53
|
+
r
|
|
52
54
|
) : null;
|
|
53
55
|
}
|
|
54
56
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
E as BCVideoPlayer,
|
|
58
|
+
E as default
|
|
57
59
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { BCVideoPlayer
|
|
1
|
+
export { BCVideoPlayer } from './BCVideoPlayer';
|
|
2
|
+
export { BCVideoPlayer as default } from './BCVideoPlayer';
|
|
@@ -1,24 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
children
|
|
3
|
-
gap?: string
|
|
4
|
-
itemsPerRow?: number
|
|
5
|
-
classname?: string
|
|
6
|
-
title?: string
|
|
7
|
-
infoPanel
|
|
1
|
+
type BasicGridModuleProps = {
|
|
2
|
+
children?: React.ReactNode;
|
|
3
|
+
gap?: string;
|
|
4
|
+
itemsPerRow?: number;
|
|
5
|
+
classname?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
infoPanel?: boolean;
|
|
8
8
|
itemComponent?: {
|
|
9
9
|
layout: string;
|
|
10
|
-
props:
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
} | undefined;
|
|
10
|
+
props: Record<string, unknown>;
|
|
11
|
+
};
|
|
14
12
|
infoPanelComponent?: {
|
|
15
13
|
layout: string;
|
|
16
14
|
backButtonLabel: string;
|
|
17
|
-
resourceList:
|
|
15
|
+
resourceList: Array<Record<string, unknown>> | [];
|
|
18
16
|
classname: string;
|
|
19
|
-
}
|
|
20
|
-
items?:
|
|
21
|
-
customClicksHandler?:
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
};
|
|
18
|
+
items?: Array<Record<string, unknown>>;
|
|
19
|
+
customClicksHandler?: ((eventDetails: {
|
|
20
|
+
type: string;
|
|
21
|
+
resourceId: string;
|
|
22
|
+
}) => void) | null;
|
|
23
|
+
noAnimation?: boolean;
|
|
24
|
+
};
|
|
25
|
+
export declare function BasicGridModule({ gap, itemsPerRow, classname, title, itemComponent, infoPanelComponent, items, customClicksHandler, noAnimation, }: BasicGridModuleProps): JSX.Element;
|
|
24
26
|
export default BasicGridModule;
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
1
|
+
import { jsxs as p, Fragment as j, jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n, useRef as g, useCallback as F, useEffect as y, createElement as G } from "react";
|
|
3
3
|
import { classes as O } from "../../utils/helpers.js";
|
|
4
|
-
import { blockLayoutsMap as
|
|
5
|
-
import { EqualSizeGrid as
|
|
6
|
-
import { InfoPanel as
|
|
7
|
-
import '../../assets/BasicGridModule.css';function
|
|
8
|
-
children: z,
|
|
4
|
+
import { blockLayoutsMap as _ } from "../../settings.js";
|
|
5
|
+
import { EqualSizeGrid as q } from "../EqualSizeGrid/EqualSizeGrid.js";
|
|
6
|
+
import { InfoPanel as z } from "../InfoPanel/InfoPanel.js";
|
|
7
|
+
import '../../assets/BasicGridModule.css';function K({
|
|
9
8
|
gap: b = "1.5rem",
|
|
10
9
|
itemsPerRow: k = 4,
|
|
11
10
|
classname: L = "",
|
|
12
11
|
title: d = "",
|
|
13
|
-
infoPanel: A,
|
|
14
12
|
itemComponent: s = {
|
|
15
13
|
layout: "ImageCard",
|
|
16
14
|
props: {
|
|
17
15
|
fullCardClickable: !1
|
|
18
16
|
}
|
|
19
17
|
},
|
|
20
|
-
infoPanelComponent:
|
|
18
|
+
infoPanelComponent: r = {
|
|
21
19
|
layout: "",
|
|
22
20
|
backButtonLabel: "Return to List",
|
|
23
21
|
resourceList: [],
|
|
@@ -25,64 +23,72 @@ import '../../assets/BasicGridModule.css';function T({
|
|
|
25
23
|
},
|
|
26
24
|
items: E = [],
|
|
27
25
|
customClicksHandler: I = null,
|
|
28
|
-
noAnimation:
|
|
26
|
+
noAnimation: v = !1
|
|
29
27
|
}) {
|
|
30
|
-
const [a, f] =
|
|
31
|
-
e.current.children[0].addEventListener("animationstart", () => {
|
|
32
|
-
|
|
28
|
+
const [a, f] = n(!1), [x, C] = n({}), [m, B] = n(void 0), [R, c] = n("entering"), [M, N] = n(v ? null : !0), o = g("entering"), e = g(null), i = F(() => {
|
|
29
|
+
e.current !== null && e.current.children[0].addEventListener("animationstart", () => {
|
|
30
|
+
e.current !== null && e.current.children[0].addEventListener("animationend", i, { once: !0 });
|
|
33
31
|
}), o.current === "exiting" ? (c("entering"), o.current = "entering", f(!0)) : c("idle");
|
|
34
32
|
}, []), S = (t) => {
|
|
35
|
-
t.type === "info-panel" && (
|
|
33
|
+
t.type === "info-panel" && (C(r.resourceList.find((l) => Number.parseInt(l.id, 10) === Number.parseInt(t.resourceId, 10)) ?? {}), N(!1), o.current = "exiting", c("exiting"));
|
|
36
34
|
};
|
|
37
35
|
return y(() => {
|
|
38
|
-
|
|
36
|
+
B(_.get(s.layout));
|
|
39
37
|
}, [s.layout]), y(() => {
|
|
40
|
-
var t,
|
|
41
|
-
!a && e.current !== null && ((t = e.current) != null && t.children, e.current.children.length && ((
|
|
42
|
-
}, [a,
|
|
43
|
-
!a && /* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
38
|
+
var t, l, h;
|
|
39
|
+
!a && e.current !== null && ((t = e.current) != null && t.children, e.current.children.length && ((l = e.current.children[0]) == null || l.removeEventListener("animationend", i), (h = e.current.children[0]) == null || h.addEventListener("animationend", i, { once: !0 })));
|
|
40
|
+
}, [a, i]), /* @__PURE__ */ p(j, { children: [
|
|
41
|
+
!a && /* @__PURE__ */ p(
|
|
42
|
+
"basic-grid-module",
|
|
43
|
+
{
|
|
44
|
+
"data-state": R,
|
|
45
|
+
"first-entry": M,
|
|
46
|
+
ref: e,
|
|
47
|
+
children: [
|
|
48
|
+
d !== "" && /* @__PURE__ */ u("h2", { className: O(["basic-grid-module__header", "h4"]), children: d }),
|
|
49
|
+
m !== void 0 && /* @__PURE__ */ u(
|
|
50
|
+
q,
|
|
51
|
+
{
|
|
52
|
+
classname: L,
|
|
53
|
+
gap: b,
|
|
54
|
+
itemsPerRow: k,
|
|
55
|
+
children: E.map(
|
|
56
|
+
(t) => /* @__PURE__ */ G(
|
|
57
|
+
m,
|
|
58
|
+
{
|
|
59
|
+
...t,
|
|
60
|
+
...s.props,
|
|
61
|
+
handleClicks: I ?? S,
|
|
62
|
+
key: `grid-item-${Math.round(Math.random() * 1e7)}`,
|
|
63
|
+
relatedResourceId: t.id
|
|
64
|
+
}
|
|
65
|
+
)
|
|
66
|
+
)
|
|
67
|
+
}
|
|
62
68
|
)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
a &&
|
|
67
|
-
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
a && r.layout && /* @__PURE__ */ u(
|
|
73
|
+
z,
|
|
68
74
|
{
|
|
75
|
+
backButtonLabel: r.backButtonLabel,
|
|
69
76
|
className: "grid-info-panel",
|
|
70
|
-
|
|
71
|
-
f(!1);
|
|
72
|
-
},
|
|
73
|
-
backButtonLabel: n.backButtonLabel,
|
|
77
|
+
classname: r.classname,
|
|
74
78
|
layoutComponent: {
|
|
75
|
-
layout:
|
|
79
|
+
layout: r.layout,
|
|
76
80
|
props: {
|
|
77
|
-
...
|
|
81
|
+
...x
|
|
78
82
|
}
|
|
79
83
|
},
|
|
80
|
-
|
|
84
|
+
onBackClicked: () => {
|
|
85
|
+
f(!1);
|
|
86
|
+
}
|
|
81
87
|
}
|
|
82
88
|
)
|
|
83
89
|
] });
|
|
84
90
|
}
|
|
85
91
|
export {
|
|
86
|
-
|
|
87
|
-
|
|
92
|
+
K as BasicGridModule,
|
|
93
|
+
K as default
|
|
88
94
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { BasicGridModule
|
|
1
|
+
export { BasicGridModule } from './BasicGridModule';
|
|
2
|
+
export { BasicGridModule as default } from './BasicGridModule';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
classname?: string | undefined;
|
|
1
|
+
type ButtonProps = {
|
|
2
|
+
type?: 'button' | 'submit' | 'reset';
|
|
3
|
+
label?: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
varient?: 'primary' | 'secondary' | 'tertiary' | 'outline' | 'text' | '';
|
|
6
|
+
size?: 'small' | 'medium' | 'large' | '';
|
|
7
|
+
classname?: string;
|
|
9
8
|
customColors?: {
|
|
10
|
-
bgColor
|
|
11
|
-
bgHoverColor
|
|
12
|
-
color
|
|
13
|
-
hoverColor
|
|
14
|
-
borderColor
|
|
15
|
-
borderHoverColor
|
|
16
|
-
}
|
|
17
|
-
onClick?: (
|
|
18
|
-
|
|
9
|
+
bgColor?: string;
|
|
10
|
+
bgHoverColor?: string;
|
|
11
|
+
color?: string;
|
|
12
|
+
hoverColor?: string;
|
|
13
|
+
borderColor?: string;
|
|
14
|
+
borderHoverColor?: string;
|
|
15
|
+
};
|
|
16
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
export declare function Button({ type, label, href, varient, size, classname, customColors, onClick, ...attributes }: ButtonProps): JSX.Element;
|
|
19
20
|
export default Button;
|
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
import { jsx as t, Fragment as
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
btn:
|
|
6
|
-
"btn--
|
|
7
|
-
"btn--
|
|
8
|
-
"btn--
|
|
9
|
-
"btn--
|
|
10
|
-
"btn--
|
|
11
|
-
"btn--danger": "_btn--danger_14dnz_67"
|
|
1
|
+
import { jsx as t, Fragment as H } from "react/jsx-runtime";
|
|
2
|
+
import { classes as v } from "../../utils/helpers.js";
|
|
3
|
+
import '../../assets/Button.css';const p = "_btn_1mi8a_1", o = {
|
|
4
|
+
btn: p,
|
|
5
|
+
"btn--small": "_btn--small_1mi8a_26",
|
|
6
|
+
"btn--large": "_btn--large_1mi8a_33",
|
|
7
|
+
"btn--primary": "_btn--primary_1mi8a_40",
|
|
8
|
+
"btn--action": "_btn--action_1mi8a_49",
|
|
9
|
+
"btn--info": "_btn--info_1mi8a_58",
|
|
10
|
+
"btn--danger": "_btn--danger_1mi8a_67"
|
|
12
11
|
};
|
|
13
|
-
function
|
|
12
|
+
function f({
|
|
14
13
|
type: h = "button",
|
|
15
14
|
label: e = "",
|
|
16
15
|
href: l = "",
|
|
17
|
-
varient:
|
|
18
|
-
size:
|
|
19
|
-
classname:
|
|
16
|
+
varient: b = "primary",
|
|
17
|
+
size: n = "",
|
|
18
|
+
classname: a = "",
|
|
20
19
|
customColors: r = {
|
|
21
20
|
bgColor: "",
|
|
22
21
|
bgHoverColor: "",
|
|
@@ -29,7 +28,7 @@ function z({
|
|
|
29
28
|
},
|
|
30
29
|
..._
|
|
31
30
|
}) {
|
|
32
|
-
const
|
|
31
|
+
const d = b === "" ? "" : `btn--${b}`, g = n === "" ? "" : `btn--${n}`, i = r.bgColor !== "" ? {
|
|
33
32
|
"--button-bg-color": r.bgColor,
|
|
34
33
|
"--button-hover-bg-color": r.bgHoverColor === "" ? r.bgColor : r.bgHoverColor,
|
|
35
34
|
"--button-color": r.color,
|
|
@@ -37,40 +36,40 @@ function z({
|
|
|
37
36
|
"--button-border-color": r.borderColor === "" ? r.bgColor : r.borderColor,
|
|
38
37
|
"--button-hover-border-color": r.borderHoverColor === "" && r.borderColor === "" ? r.bgColor : r.borderHoverColor
|
|
39
38
|
} : null;
|
|
40
|
-
return /* @__PURE__ */ t(
|
|
39
|
+
return /* @__PURE__ */ t(H, { children: l === "" ? /* @__PURE__ */ t(
|
|
41
40
|
"button",
|
|
42
41
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
className: i([
|
|
46
|
-
d,
|
|
42
|
+
className: v([
|
|
43
|
+
a,
|
|
47
44
|
o.btn,
|
|
48
45
|
"btn",
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
b === "" ? "" : o[d],
|
|
47
|
+
n === "" ? "" : o[g]
|
|
51
48
|
]),
|
|
52
|
-
style:
|
|
49
|
+
style: i,
|
|
50
|
+
type: h,
|
|
51
|
+
onClick: c,
|
|
53
52
|
..._,
|
|
54
53
|
children: e
|
|
55
54
|
}
|
|
56
55
|
) : /* @__PURE__ */ t(
|
|
57
56
|
"a",
|
|
58
57
|
{
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
d,
|
|
58
|
+
className: v([
|
|
59
|
+
a,
|
|
62
60
|
o.btn,
|
|
63
61
|
"btn",
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
b === "" ? "" : o[d],
|
|
63
|
+
n === "" ? "" : o[g]
|
|
66
64
|
]),
|
|
67
|
-
|
|
65
|
+
href: l,
|
|
66
|
+
style: i,
|
|
68
67
|
..._,
|
|
69
68
|
children: e
|
|
70
69
|
}
|
|
71
70
|
) });
|
|
72
71
|
}
|
|
73
72
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
f as Button,
|
|
74
|
+
f as default
|
|
76
75
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { Button
|
|
1
|
+
export { Button } from './Button';
|
|
2
|
+
export { Button as default } from './Button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function ButtonAnchor({ label, onClick, classname }: {
|
|
2
|
-
label
|
|
3
|
-
onClick?: (
|
|
4
|
-
classname?: string
|
|
5
|
-
}):
|
|
1
|
+
export declare function ButtonAnchor({ label, onClick, classname, }: {
|
|
2
|
+
label: string;
|
|
3
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
4
|
+
classname?: string;
|
|
5
|
+
}): JSX.Element;
|
|
6
6
|
export default ButtonAnchor;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
function u({
|
|
3
|
+
label: t = "",
|
|
4
|
+
onClick: o = void 0,
|
|
5
|
+
classname: n = ""
|
|
6
|
+
}) {
|
|
5
7
|
return /* @__PURE__ */ r(
|
|
6
8
|
"button",
|
|
7
9
|
{
|
|
@@ -13,6 +15,6 @@ function a({ label: t = "", onClick: o = () => {
|
|
|
13
15
|
);
|
|
14
16
|
}
|
|
15
17
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
u as ButtonAnchor,
|
|
19
|
+
u as default
|
|
18
20
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { ButtonAnchor
|
|
1
|
+
export { ButtonAnchor } from './ButtonAnchor';
|
|
2
|
+
export { ButtonAnchor as default } from './ButtonAnchor';
|
|
@@ -1,25 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
controlButtonsOffset: number;
|
|
9
|
-
showScrollbar: boolean;
|
|
10
|
-
startIndex: number;
|
|
11
|
-
variableHeight: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
autoplay: boolean;
|
|
14
|
-
autoplayDelay: number;
|
|
15
|
-
showPagination: boolean;
|
|
16
|
-
gutterSize: number;
|
|
17
|
-
slideAspectRatio: string;
|
|
18
|
-
slideGap: number;
|
|
19
|
-
cellsPerSlide: number;
|
|
20
|
-
cellAspectRatio: string;
|
|
21
|
-
cellsPosition: string;
|
|
22
|
-
wrapAround: boolean;
|
|
23
|
-
} | undefined;
|
|
24
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { CarouselCell, CarouselOptions } from '../../types';
|
|
2
|
+
type CarouselProps = {
|
|
3
|
+
id: string | number;
|
|
4
|
+
cells: CarouselCell[];
|
|
5
|
+
options?: CarouselOptions;
|
|
6
|
+
};
|
|
7
|
+
export declare function Carousel({ id, cells, options, }: CarouselProps): JSX.Element;
|
|
25
8
|
export default Carousel;
|