@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,37 +1,35 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import "react";
|
|
1
|
+
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
3
2
|
import { classes as f } from "../../utils/helpers.js";
|
|
4
3
|
import p from "../../icons/Facebook.js";
|
|
5
|
-
import
|
|
6
|
-
import { s as a, S } from "../../SocialShareButton-
|
|
7
|
-
function
|
|
8
|
-
url:
|
|
4
|
+
import S from "../../icons/Twitter.js";
|
|
5
|
+
import { s as a, S as d } from "../../SocialShareButton-BMhRS9Qr.mjs";
|
|
6
|
+
function $({
|
|
7
|
+
url: e,
|
|
9
8
|
text: c,
|
|
10
|
-
longtext:
|
|
11
|
-
showHeader:
|
|
12
|
-
headerText:
|
|
13
|
-
iconSize:
|
|
9
|
+
longtext: i,
|
|
10
|
+
showHeader: t = !1,
|
|
11
|
+
headerText: l = "Share",
|
|
12
|
+
iconSize: n = "1.5rem"
|
|
14
13
|
}) {
|
|
15
14
|
const h = [
|
|
16
15
|
{ network: "Facebook", icon: p },
|
|
17
|
-
{ network: "Twitter", icon:
|
|
16
|
+
{ network: "Twitter", icon: S }
|
|
18
17
|
];
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
return /* @__PURE__ */ r("social-share", { class: a["social-share"], children: [
|
|
19
|
+
t && /* @__PURE__ */ r("h5", { className: "social-share__header", children: [
|
|
20
|
+
l,
|
|
22
21
|
":"
|
|
23
22
|
] }),
|
|
24
23
|
h.map((m) => {
|
|
25
24
|
const { network: o, icon: _ } = m;
|
|
26
|
-
return /* @__PURE__ */
|
|
27
|
-
|
|
25
|
+
return /* @__PURE__ */ s(
|
|
26
|
+
d,
|
|
28
27
|
{
|
|
28
|
+
longtext: i,
|
|
29
29
|
network: o,
|
|
30
|
-
url: i,
|
|
31
30
|
text: c,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
children: /* @__PURE__ */ r("i", { className: f(["social-share__icon", a["social-share__icon"], `social-share__icon--${o}`, a[`social-share__icon--${o}`]]), children: /* @__PURE__ */ r(_, { width: s, height: s }) })
|
|
31
|
+
url: e,
|
|
32
|
+
children: /* @__PURE__ */ s("i", { className: f(["social-share__icon", a["social-share__icon"], `social-share__icon--${o}`, a[`social-share__icon--${o}`]]), children: /* @__PURE__ */ s(_, { size: n }) })
|
|
35
33
|
},
|
|
36
34
|
`social-share-${o}`
|
|
37
35
|
);
|
|
@@ -39,6 +37,6 @@ function b({
|
|
|
39
37
|
] });
|
|
40
38
|
}
|
|
41
39
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
$ as SocialShareBlock,
|
|
41
|
+
$ as default
|
|
44
42
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { SocialShareBlock
|
|
1
|
+
export { SocialShareBlock } from './SocialShareBlock';
|
|
2
|
+
export { SocialShareBlock as default } from './SocialShareBlock';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
children:
|
|
3
|
-
network:
|
|
4
|
-
url:
|
|
5
|
-
text:
|
|
6
|
-
longtext:
|
|
7
|
-
}
|
|
1
|
+
type SocialShareButtonProps = {
|
|
2
|
+
children: React.ReactNode;
|
|
3
|
+
network: 'Facebook' | 'Twitter' | string;
|
|
4
|
+
url: string;
|
|
5
|
+
text: string;
|
|
6
|
+
longtext: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function SocialShareButton({ children, network, url, text, longtext, }: SocialShareButtonProps): JSX.Element;
|
|
8
9
|
export default SocialShareButton;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
2
|
import "../../utils/createSocialShareLinks.js";
|
|
4
3
|
import "../../utils/helpers.js";
|
|
5
|
-
import { S as
|
|
4
|
+
import { S as m, S as p } from "../../SocialShareButton-BMhRS9Qr.mjs";
|
|
6
5
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
m as SocialShareButton,
|
|
7
|
+
p as default
|
|
9
8
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { SocialShareButton
|
|
1
|
+
export { SocialShareButton } from './SocialShareButton';
|
|
2
|
+
export { SocialShareButton as default } from './SocialShareButton';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
list:
|
|
3
|
-
separatorType?:
|
|
4
|
-
makeBlock?: boolean
|
|
5
|
-
}
|
|
1
|
+
type StringListProps = {
|
|
2
|
+
list: Array<string | JSX.Element | number | null | undefined>;
|
|
3
|
+
separatorType?: 'comma' | 'pipe';
|
|
4
|
+
makeBlock?: boolean;
|
|
5
|
+
};
|
|
6
|
+
export declare function StringList({ list, separatorType, makeBlock, }: StringListProps): JSX.Element;
|
|
6
7
|
export default StringList;
|
|
@@ -1,27 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as s, Fragment as c, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import { Fragment as t } from "react";
|
|
3
3
|
import { p as n } from "../../index-VjANCDXC.mjs";
|
|
4
|
-
import { classes as
|
|
5
|
-
import '../../assets/StringList.css';const
|
|
4
|
+
import { classes as l } from "../../utils/helpers.js";
|
|
5
|
+
import '../../assets/StringList.css';const e = {
|
|
6
6
|
"string-list__pipe": "_string-list__pipe_6c2cm_1",
|
|
7
7
|
"string-list--block": "_string-list--block_6c2cm_8"
|
|
8
8
|
};
|
|
9
|
-
function m({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
function m({
|
|
10
|
+
list: d,
|
|
11
|
+
separatorType: g = "comma",
|
|
12
|
+
makeBlock: o = !1
|
|
13
|
+
}) {
|
|
14
|
+
const i = d.filter((r) => !(r === "" || r === void 0 || r === null));
|
|
15
|
+
if (i.length === 0) return /* @__PURE__ */ s(c, {});
|
|
16
|
+
switch (g) {
|
|
13
17
|
case "comma":
|
|
14
|
-
return /* @__PURE__ */
|
|
18
|
+
return /* @__PURE__ */ s("span", { className: l(["string-list", o ? e["string-list--block"] : ""]), children: i.map((r, a) => a === 0 ? /* @__PURE__ */ s(t, { children: typeof r == "string" ? n(r) : r }, `sl-${Math.round(Math.random() * 1e7)}`) : /* @__PURE__ */ p(t, { children: [
|
|
15
19
|
", ",
|
|
16
20
|
typeof r == "string" ? n(r) : r
|
|
17
21
|
] }, `sl-${Math.round(Math.random() * 1e7)}`)) });
|
|
18
22
|
case "pipe":
|
|
19
|
-
return /* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ s("span", { className: l(["string-list", o ? e["string-list--block"] : ""]), children: i.map((r, a) => a === 0 ? /* @__PURE__ */ s(t, { children: typeof r == "string" ? n(r) : r }, `sl-${Math.round(Math.random() * 1e7)}`) : /* @__PURE__ */ p(t, { children: [
|
|
24
|
+
/* @__PURE__ */ s("span", { className: l([e["string-list__pipe"], "string-list__pipe"]), children: " | " }),
|
|
21
25
|
typeof r == "string" ? n(r) : r
|
|
22
26
|
] }, `sl-${Math.round(Math.random() * 1e7)}`)) });
|
|
23
27
|
default:
|
|
24
|
-
return /* @__PURE__ */
|
|
28
|
+
return /* @__PURE__ */ s(c, {});
|
|
25
29
|
}
|
|
26
30
|
}
|
|
27
31
|
export {
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { StringList
|
|
1
|
+
export { StringList } from './StringList';
|
|
2
|
+
export { StringList as default } from './StringList';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
content:
|
|
3
|
-
classname
|
|
4
|
-
}
|
|
1
|
+
type TabContentProps = {
|
|
2
|
+
content: React.ReactNode;
|
|
3
|
+
classname?: string | '';
|
|
4
|
+
};
|
|
5
|
+
export declare function TabContent({ content, classname, }: TabContentProps): JSX.Element;
|
|
5
6
|
export default TabContent;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { p as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { p as o } from "../../index-VjANCDXC.mjs";
|
|
3
|
+
function p({
|
|
4
|
+
content: r,
|
|
5
|
+
classname: t
|
|
6
|
+
}) {
|
|
7
|
+
return /* @__PURE__ */ a("tab-content", { class: t, children: typeof r == "string" ? o(r) : r });
|
|
6
8
|
}
|
|
7
9
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
p as TabContent,
|
|
11
|
+
p as default
|
|
10
12
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TabContent
|
|
1
|
+
export { TabContent } from './TabContent';
|
|
2
|
+
export { TabContent as default } from './TabContent';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Tab } from '../TabbedContent/TabbedContent';
|
|
2
|
+
type TabNavigationProps = {
|
|
3
|
+
tabs: Tab[];
|
|
4
|
+
onTabChanged?: (tab: Tab) => void;
|
|
5
|
+
rightSideContent?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare function TabNavigation({ tabs, onTabChanged, rightSideContent, }: TabNavigationProps): JSX.Element;
|
|
6
8
|
export default TabNavigation;
|
|
@@ -1,69 +1,74 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { GradientButton as
|
|
4
|
-
import { Button as
|
|
1
|
+
import { jsxs as B, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as N, useEffect as T } from "react";
|
|
3
|
+
import { GradientButton as y } from "../GradientButton/GradientButton.js";
|
|
4
|
+
import { Button as k } from "../Button/Button.js";
|
|
5
5
|
import '../../assets/TabNavigation.css';const r = {
|
|
6
6
|
"tab-navigation__list": "_tab-navigation__list_146qs_6",
|
|
7
7
|
"tab-navigation__right-side": "_tab-navigation__right-side_146qs_16"
|
|
8
8
|
};
|
|
9
|
-
function
|
|
9
|
+
function w({
|
|
10
10
|
tabs: i = [],
|
|
11
11
|
onTabChanged: l = () => !0,
|
|
12
12
|
rightSideContent: a
|
|
13
13
|
}) {
|
|
14
|
-
const [
|
|
14
|
+
const [e, j] = N(i[0]), u = (t) => {
|
|
15
15
|
const o = document.querySelector("basic-grid-module");
|
|
16
|
-
o == null || o.setAttribute("first-entry",
|
|
16
|
+
o == null || o.setAttribute("first-entry", "true"), o == null || o.setAttribute("data-state", "entering"), !(!t.button || !e.button) && t.button.label !== e.button.label && j(t);
|
|
17
17
|
};
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
return T(() => {
|
|
19
|
+
l(e);
|
|
20
|
+
}, [e, l]), /* @__PURE__ */ B("tab-navigation", { children: [
|
|
21
|
+
/* @__PURE__ */ n("ul", { className: [r["tab-navigation__list"], "tab-navigation__list"].join(" "), children: i.length > 0 && i.map((t) => {
|
|
22
|
+
var o, b, s, _, g, c, d, m, v, C, f, h, p, x, H;
|
|
23
|
+
return ((o = e.button) == null ? void 0 : o.label) === ((b = t.button) == null ? void 0 : b.label) ? /* @__PURE__ */ n(
|
|
24
|
+
"li",
|
|
25
|
+
{
|
|
26
|
+
className: [r["tab-navigation__item"], "tab-navigation__item"].join(" "),
|
|
27
|
+
style: {
|
|
28
|
+
"--gradient-start-color": (s = t.button) == null ? void 0 : s.gradientStartColor,
|
|
29
|
+
"--gradient-end-color": (_ = t.button) == null ? void 0 : _.gradientEndColor
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ n(
|
|
32
|
+
y,
|
|
33
|
+
{
|
|
34
|
+
disabled: !0,
|
|
35
|
+
label: (g = t.button) == null ? void 0 : g.label,
|
|
36
|
+
onClick: () => {
|
|
37
|
+
u(t);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
)
|
|
26
41
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
u(t);
|
|
48
|
-
},
|
|
49
|
-
label: t.button.label,
|
|
50
|
-
customColors: {
|
|
51
|
-
bgColor: t.button.buttonBgColor,
|
|
52
|
-
bgHoverColor: t.button.buttonHoverBgColor,
|
|
53
|
-
color: t.button.buttonTextColor,
|
|
54
|
-
hoverColor: t.buttonHoverTextColor,
|
|
55
|
-
borderColor: t.button.buttonTextColor,
|
|
56
|
-
borderHoverColor: t.button.borderHoverColor ?? t.button.buttonHoverBgColor
|
|
42
|
+
`tab-item-${(c = t.button) == null ? void 0 : c.label}`
|
|
43
|
+
) : /* @__PURE__ */ n(
|
|
44
|
+
"li",
|
|
45
|
+
{
|
|
46
|
+
className: [r["tab-navigation__item"], "tab-navigation__item"].join(" "),
|
|
47
|
+
children: /* @__PURE__ */ n(
|
|
48
|
+
k,
|
|
49
|
+
{
|
|
50
|
+
customColors: {
|
|
51
|
+
bgColor: (d = t.button) == null ? void 0 : d.buttonBgColor,
|
|
52
|
+
bgHoverColor: (m = t.button) == null ? void 0 : m.buttonHoverBgColor,
|
|
53
|
+
color: (v = t.button) == null ? void 0 : v.buttonTextColor,
|
|
54
|
+
hoverColor: (C = t.button) == null ? void 0 : C.buttonHoverTextColor,
|
|
55
|
+
borderColor: (f = t.button) == null ? void 0 : f.buttonTextColor,
|
|
56
|
+
borderHoverColor: ((h = t.button) == null ? void 0 : h.borderHoverColor) ?? ((p = t.button) == null ? void 0 : p.buttonHoverBgColor)
|
|
57
|
+
},
|
|
58
|
+
label: (x = t.button) == null ? void 0 : x.label,
|
|
59
|
+
onClick: () => {
|
|
60
|
+
u(t);
|
|
61
|
+
}
|
|
57
62
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
)
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
)
|
|
64
|
+
},
|
|
65
|
+
`tab-item-${(H = t.button) == null ? void 0 : H.label}`
|
|
66
|
+
);
|
|
67
|
+
}) }),
|
|
68
|
+
/* @__PURE__ */ n("div", { className: r["tab-navigation__right-side"], children: a !== void 0 && a })
|
|
64
69
|
] });
|
|
65
70
|
}
|
|
66
71
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
72
|
+
w as TabNavigation,
|
|
73
|
+
w as default
|
|
69
74
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TabNavigation
|
|
1
|
+
export { TabNavigation } from './TabNavigation';
|
|
2
|
+
export { TabNavigation as default } from './TabNavigation';
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export type Tab = {
|
|
2
|
+
title: string;
|
|
3
|
+
content: React.ReactNode;
|
|
4
|
+
classname?: string;
|
|
5
|
+
button?: {
|
|
6
|
+
label: string;
|
|
7
|
+
gradientStartColor: string;
|
|
8
|
+
gradientEndColor: string;
|
|
9
|
+
buttonBgColor: string;
|
|
10
|
+
buttonHoverBgColor: string;
|
|
11
|
+
buttonTextColor: string;
|
|
12
|
+
buttonHoverTextColor: string;
|
|
13
|
+
borderHoverColor?: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
type TabbedContentProps = {
|
|
17
|
+
tabs: Tab[];
|
|
18
|
+
navRightSideContent?: React.ReactNode;
|
|
19
|
+
};
|
|
20
|
+
export declare function TabbedContent({ tabs, navRightSideContent, }: TabbedContentProps): JSX.Element;
|
|
5
21
|
export default TabbedContent;
|
|
@@ -1,15 +1,31 @@
|
|
|
1
|
-
import { jsxs as s, jsx as
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
3
|
import { TabNavigation as m } from "../TabNavigation/TabNavigation.js";
|
|
4
|
-
import { TabContent as
|
|
5
|
-
function
|
|
6
|
-
|
|
4
|
+
import { TabContent as i } from "../TabContent/TabContent.js";
|
|
5
|
+
function C({
|
|
6
|
+
tabs: n = [],
|
|
7
|
+
navRightSideContent: o
|
|
8
|
+
}) {
|
|
9
|
+
const [t, a] = c(n[0]);
|
|
7
10
|
return /* @__PURE__ */ s("tabbed-content", { children: [
|
|
8
|
-
/* @__PURE__ */
|
|
9
|
-
|
|
11
|
+
/* @__PURE__ */ e(
|
|
12
|
+
m,
|
|
13
|
+
{
|
|
14
|
+
rightSideContent: o,
|
|
15
|
+
tabs: n,
|
|
16
|
+
onTabChanged: (r) => a(r)
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ e(
|
|
20
|
+
i,
|
|
21
|
+
{
|
|
22
|
+
classname: t.classname ? t.classname : "",
|
|
23
|
+
content: t.content
|
|
24
|
+
}
|
|
25
|
+
)
|
|
10
26
|
] });
|
|
11
27
|
}
|
|
12
28
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
29
|
+
C as TabbedContent,
|
|
30
|
+
C as default
|
|
15
31
|
};
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TabbedContent
|
|
1
|
+
export { TabbedContent } from './TabbedContent';
|
|
2
|
+
export { TabbedContent as default } from './TabbedContent';
|
|
@@ -1,2 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
type TextAreaProps = {
|
|
2
|
+
name: string;
|
|
3
|
+
label: string;
|
|
4
|
+
rows: number;
|
|
5
|
+
width: 'small' | 'medium' | 'large' | 'full';
|
|
6
|
+
helpText?: string;
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
};
|
|
9
|
+
export declare function TextArea(props: TextAreaProps): JSX.Element;
|
|
2
10
|
export default TextArea;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as l, useRef as V } from "react";
|
|
3
|
-
import { classes as
|
|
3
|
+
import { classes as f } from "../../utils/helpers.js";
|
|
4
4
|
import { s as e, C as k, A as w } from "../../Form.module-Cd8qH2rj.mjs";
|
|
5
5
|
function T(m) {
|
|
6
|
-
var o, d,
|
|
7
|
-
const { name:
|
|
8
|
-
b("touched"), N(`${e["form-field__input"]} ${e["input--touched"]}`), t.current.checkValidity() ? n("") : n(t.current.validationMessage);
|
|
6
|
+
var o, d, u;
|
|
7
|
+
const { name: i, label: h, rows: p, width: _, helpText: v, ...x } = m, [C, N] = l(`${e["form-field__input"]}`), t = V(null), [r, n] = l(""), [c, b] = l("clean"), g = `input-width--${_}`, y = () => {
|
|
8
|
+
b("touched"), N(`${e["form-field__input"]} ${e["input--touched"]}`), t.current && (t.current.checkValidity() ? n("") : n(t.current.validationMessage));
|
|
9
9
|
};
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
-
/* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ s("label", { className: f([e["form-field"], e[g]]), htmlFor: i, children: [
|
|
11
|
+
/* @__PURE__ */ s(
|
|
12
12
|
"i",
|
|
13
13
|
{
|
|
14
|
-
className:
|
|
14
|
+
className: f([
|
|
15
15
|
e["form-field__icon"],
|
|
16
16
|
(o = t.current) != null && o.validity.valid ? "" : e["form-field__icon--invalid"]
|
|
17
17
|
]),
|
|
18
18
|
children: [
|
|
19
19
|
((d = t.current) == null ? void 0 : d.checkValidity()) && c === "touched" && /* @__PURE__ */ a(k, {}),
|
|
20
|
-
!((
|
|
20
|
+
!((u = t.current) != null && u.checkValidity()) && c === "touched" && /* @__PURE__ */ a(w, {})
|
|
21
21
|
]
|
|
22
22
|
}
|
|
23
23
|
),
|
|
24
|
-
/* @__PURE__ */
|
|
24
|
+
/* @__PURE__ */ s("span", { className: e["form-field__label"], children: [
|
|
25
25
|
h,
|
|
26
26
|
" ",
|
|
27
27
|
/* @__PURE__ */ a("span", { className: e["form-field__label-help"], children: v })
|
|
@@ -30,13 +30,13 @@ function T(m) {
|
|
|
30
30
|
"textarea",
|
|
31
31
|
{
|
|
32
32
|
className: C,
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
id: i,
|
|
34
|
+
name: i,
|
|
35
|
+
ref: t,
|
|
35
36
|
rows: p,
|
|
36
37
|
onBlur: () => {
|
|
37
38
|
y();
|
|
38
39
|
},
|
|
39
|
-
ref: t,
|
|
40
40
|
...x
|
|
41
41
|
}
|
|
42
42
|
),
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { TextArea
|
|
1
|
+
export { TextArea } from './TextArea';
|
|
2
|
+
export { TextArea as default } from './TextArea';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { UpcomingItem, HandleClicksDetails } from '../../types';
|
|
2
|
+
export declare function UpcomingList({ list, handleClicks, }: {
|
|
3
|
+
list: UpcomingItem[];
|
|
4
|
+
handleClicks: (details: HandleClicksDetails) => boolean | void;
|
|
5
|
+
}): JSX.Element;
|
|
5
6
|
export default UpcomingList;
|