@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 1.1.0-alpha.3

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.
Files changed (336) hide show
  1. package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
  2. package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
  3. package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
  4. package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
  5. package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
  6. package/dist/assets/AdBlock.css +1 -1
  7. package/dist/assets/AirDateFormatter.css +1 -1
  8. package/dist/assets/AnchorTag.css +1 -1
  9. package/dist/assets/BasicGridModule.css +1 -1
  10. package/dist/assets/Button.css +1 -1
  11. package/dist/assets/Carousel.css +1 -1
  12. package/dist/assets/ChannelSearch.css +1 -1
  13. package/dist/assets/ChoicesItem.css +1 -1
  14. package/dist/assets/ContentHero.css +1 -1
  15. package/dist/assets/CtaBlock.css +1 -1
  16. package/dist/assets/CustomDataList.css +1 -1
  17. package/dist/assets/DateNavigation.css +1 -1
  18. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  19. package/dist/assets/Figure2.css +1 -1
  20. package/dist/assets/FindUs.css +1 -1
  21. package/dist/assets/GradientButton.css +1 -1
  22. package/dist/assets/ImageCard.css +1 -1
  23. package/dist/assets/InlineNavigation.css +1 -1
  24. package/dist/assets/LogoListItem.css +1 -1
  25. package/dist/assets/ModalContainer.css +1 -1
  26. package/dist/assets/PageHero.css +1 -1
  27. package/dist/assets/ProgramAirdate.css +1 -1
  28. package/dist/assets/PromotionBlock.css +1 -1
  29. package/dist/assets/ResultsTable.css +1 -1
  30. package/dist/assets/ScheduleLayout.css +1 -0
  31. package/dist/assets/ScheduleList.css +1 -1
  32. package/dist/assets/ShowAboutLayout.css +1 -1
  33. package/dist/assets/ShowSlide.css +1 -1
  34. package/dist/assets/SocialLinks.css +1 -1
  35. package/dist/assets/TextSlide.css +1 -1
  36. package/dist/assets/TwoColumnSlide.css +1 -1
  37. package/dist/assets/UpcomingList.css +1 -1
  38. package/dist/components/AdBlock/AdBlock.d.ts +20 -1
  39. package/dist/components/AdBlock/AdBlock.js +118 -83
  40. package/dist/components/AdBlock/index.d.ts +2 -1
  41. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
  42. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
  43. package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
  44. package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
  45. package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
  46. package/dist/components/AirDateFormatter/index.d.ts +2 -1
  47. package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
  48. package/dist/components/AnchorTag/AnchorTag.js +22 -23
  49. package/dist/components/AnchorTag/index.d.ts +2 -1
  50. package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
  51. package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
  52. package/dist/components/BCVideoPlayer/index.d.ts +2 -1
  53. package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
  54. package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
  55. package/dist/components/BasicGridModule/index.d.ts +2 -1
  56. package/dist/components/Button/Button.d.ts +18 -17
  57. package/dist/components/Button/Button.js +31 -32
  58. package/dist/components/Button/index.d.ts +2 -1
  59. package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
  60. package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
  61. package/dist/components/ButtonAnchor/index.d.ts +2 -1
  62. package/dist/components/Carousel/Carousel.js +1 -1
  63. package/dist/components/Carousel/index.d.ts +2 -1
  64. package/dist/components/Carousel/navigations/Pagination.js +12 -10
  65. package/dist/components/CarouselSlide/CarouselSlide.js +25 -87
  66. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
  67. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
  68. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
  69. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
  70. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +5 -5
  71. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
  72. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
  73. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
  74. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
  75. package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
  76. package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
  77. package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
  78. package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
  79. package/dist/components/ChannelSearch/index.d.ts +2 -1
  80. package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
  81. package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
  82. package/dist/components/ChoicesItem/index.d.ts +2 -1
  83. package/dist/components/ChoicesItem/index.js +1 -1
  84. package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
  85. package/dist/components/ChoicesList/ChoicesList.js +3 -4
  86. package/dist/components/ChoicesList/index.d.ts +2 -1
  87. package/dist/components/Concat/Concat.d.ts +4 -3
  88. package/dist/components/Concat/Concat.js +5 -5
  89. package/dist/components/Concat/index.d.ts +2 -1
  90. package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
  91. package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
  92. package/dist/components/CreateChoiceList/index.d.ts +2 -1
  93. package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
  94. package/dist/components/CtaBlock/CtaBlock.js +23 -22
  95. package/dist/components/CtaBlock/index.d.ts +2 -1
  96. package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
  97. package/dist/components/CustomDataList/CustomDataList.js +200 -174
  98. package/dist/components/CustomDataList/index.d.ts +2 -1
  99. package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
  100. package/dist/components/CustomSelect/CustomSelect.js +224 -154
  101. package/dist/components/CustomSelect/index.d.ts +2 -1
  102. package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
  103. package/dist/components/DateNavigation/DateNavigation.js +125 -82
  104. package/dist/components/DateNavigation/index.d.ts +2 -1
  105. package/dist/components/DatePicker/index.d.ts +2 -1
  106. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
  107. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
  108. package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
  109. package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
  110. package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
  111. package/dist/components/DrawerNavigation/index.d.ts +2 -1
  112. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
  113. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
  114. package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
  115. package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
  116. package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
  117. package/dist/components/EqualSizeGrid/index.d.ts +2 -1
  118. package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
  119. package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
  120. package/dist/components/ErrorHandler/index.d.ts +2 -1
  121. package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
  122. package/dist/components/FeaturedList/FeaturedList.js +44 -36
  123. package/dist/components/FeaturedList/index.d.ts +2 -1
  124. package/dist/components/Figure/Figure.d.ts +5 -4
  125. package/dist/components/Figure/Figure.js +8 -9
  126. package/dist/components/Figure/index.d.ts +2 -1
  127. package/dist/components/FindUs/FindUs.d.ts +24 -1
  128. package/dist/components/FindUs/FindUs.js +70 -63
  129. package/dist/components/FindUs/index.d.ts +2 -1
  130. package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
  131. package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
  132. package/dist/components/FooterNavigation/index.d.ts +2 -1
  133. package/dist/components/GenericList/GenericList.d.ts +6 -5
  134. package/dist/components/GenericList/GenericList.js +13 -14
  135. package/dist/components/GenericList/index.d.ts +2 -1
  136. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
  137. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
  138. package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
  139. package/dist/components/GradientButton/GradientButton.d.ts +15 -14
  140. package/dist/components/GradientButton/GradientButton.js +37 -40
  141. package/dist/components/GradientButton/index.d.ts +2 -1
  142. package/dist/components/GridList/GridList.d.ts +6 -5
  143. package/dist/components/GridList/GridList.js +14 -10
  144. package/dist/components/GridList/index.d.ts +2 -1
  145. package/dist/components/ImageCard/ImageCard.d.ts +27 -1
  146. package/dist/components/ImageCard/ImageCard.js +59 -58
  147. package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
  148. package/dist/components/ImageCard/ImageCardCore.js +115 -89
  149. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
  150. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
  151. package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
  152. package/dist/components/InfoPanel/InfoPanel.js +2 -2
  153. package/dist/components/InfoPanel/index.d.ts +2 -1
  154. package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
  155. package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
  156. package/dist/components/Input/Input.d.ts +10 -9
  157. package/dist/components/Input/Input.js +47 -40
  158. package/dist/components/Input/index.d.ts +2 -1
  159. package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
  160. package/dist/components/InstructionsList/InstructionsList.js +20 -10
  161. package/dist/components/InstructionsList/index.d.ts +2 -1
  162. package/dist/components/Loading/Loading.d.ts +8 -7
  163. package/dist/components/Loading/Loading.js +25 -20
  164. package/dist/components/Loading/index.d.ts +2 -1
  165. package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
  166. package/dist/components/LoadingV2/LoadingV2.js +31 -21
  167. package/dist/components/LoadingV2/index.d.ts +2 -1
  168. package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
  169. package/dist/components/LogoListItem/LogoListItem.js +34 -17
  170. package/dist/components/LogoListItem/index.d.ts +2 -1
  171. package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
  172. package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
  173. package/dist/components/LogoNavigation/index.d.ts +2 -1
  174. package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
  175. package/dist/components/ModalContainer/ModalContainer.js +84 -72
  176. package/dist/components/ModalContainer/index.d.ts +2 -1
  177. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
  178. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
  179. package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
  180. package/dist/components/NavList/NavList.d.ts +9 -7
  181. package/dist/components/NavList/NavList.js +56 -20
  182. package/dist/components/NavList/index.d.ts +2 -1
  183. package/dist/components/Overlay/Overlay.d.ts +5 -5
  184. package/dist/components/Overlay/Overlay.js +8 -5
  185. package/dist/components/PageHero/PageHero.d.ts +6 -5
  186. package/dist/components/PageHero/PageHero.js +29 -16
  187. package/dist/components/PageHero/index.d.ts +2 -1
  188. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
  189. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
  190. package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
  191. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
  192. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
  193. package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
  194. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
  195. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
  196. package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
  197. package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
  198. package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
  199. package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
  200. package/dist/components/ProgramAirdate/index.d.ts +2 -1
  201. package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
  202. package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
  203. package/dist/components/PromotionBlock/index.d.ts +2 -1
  204. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
  205. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
  206. package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
  207. package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
  208. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
  209. package/dist/components/PromotionsRowModule/index.d.ts +2 -1
  210. package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
  211. package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
  212. package/dist/components/RescanInstructions/index.d.ts +2 -1
  213. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
  214. package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
  215. package/dist/components/ResponsiveImage/index.d.ts +2 -1
  216. package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
  217. package/dist/components/ResultsTable/ResultsTable.js +21 -16
  218. package/dist/components/ResultsTable/index.d.ts +2 -1
  219. package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
  220. package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
  221. package/dist/components/ResultsTableBody/index.d.ts +2 -1
  222. package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
  223. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
  224. package/dist/components/ResultsTableHeader/index.d.ts +2 -1
  225. package/dist/components/ScheduleLayout/ScheduleContext.d.ts +25 -0
  226. package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
  227. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
  228. package/dist/components/ScheduleLayout/ScheduleLayout.js +96 -24
  229. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  230. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -0
  231. package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
  232. package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
  233. package/dist/components/ScheduleList/ScheduleList.js +153 -60
  234. package/dist/components/ScheduleList/index.d.ts +2 -1
  235. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
  236. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
  237. package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
  238. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
  239. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
  240. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +53 -37
  241. package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
  242. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
  243. package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
  244. package/dist/components/SectionedContent/SectionedContent.js +14 -15
  245. package/dist/components/SectionedContent/index.d.ts +2 -1
  246. package/dist/components/Select/Select.d.ts +15 -11
  247. package/dist/components/Select/Select.js +21 -21
  248. package/dist/components/Select/index.d.ts +2 -1
  249. package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
  250. package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
  251. package/dist/components/ShowAboutContent/index.d.ts +2 -1
  252. package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
  253. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
  254. package/dist/components/ShowAboutLayout/index.d.ts +2 -1
  255. package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
  256. package/dist/components/SocialLinks/SocialLinks.js +192 -138
  257. package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
  258. package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
  259. package/dist/components/SocialShareBlock/index.d.ts +2 -1
  260. package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
  261. package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
  262. package/dist/components/SocialShareButton/index.d.ts +2 -1
  263. package/dist/components/SocialShareButton/index.js +1 -1
  264. package/dist/components/StringList/StringList.d.ts +6 -5
  265. package/dist/components/StringList/StringList.js +16 -12
  266. package/dist/components/StringList/index.d.ts +2 -1
  267. package/dist/components/TabContent/TabContent.d.ts +5 -4
  268. package/dist/components/TabContent/TabContent.js +9 -7
  269. package/dist/components/TabContent/index.d.ts +2 -1
  270. package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
  271. package/dist/components/TabNavigation/TabNavigation.js +58 -53
  272. package/dist/components/TabNavigation/index.d.ts +2 -1
  273. package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
  274. package/dist/components/TabbedContent/TabbedContent.js +24 -8
  275. package/dist/components/TabbedContent/index.d.ts +2 -1
  276. package/dist/components/TextArea/TextArea.d.ts +9 -1
  277. package/dist/components/TextArea/TextArea.js +13 -13
  278. package/dist/components/TextArea/index.d.ts +2 -1
  279. package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
  280. package/dist/components/UpcomingList/UpcomingList.js +55 -41
  281. package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
  282. package/dist/containers/GetFeatruedListContainer.js +16 -16
  283. package/dist/containers/NowPlayingContainer.d.ts +17 -15
  284. package/dist/containers/NowPlayingContainer.js +18 -16
  285. package/dist/custom-elements.d.js +1 -0
  286. package/dist/data-resources/FakeDataResource.d.ts +77 -68
  287. package/dist/data-resources/FakeDataResource.js +244 -142
  288. package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
  289. package/dist/error-boundries/BlankErrorBoundry.js +5 -5
  290. package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
  291. package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
  292. package/dist/hooks/useGetSchedule.d.ts +12 -4
  293. package/dist/hooks/useGetSchedule.js +31 -27
  294. package/dist/hooks/useGetUpcoming.d.ts +8 -6
  295. package/dist/hooks/useGetUpcoming.js +22 -25
  296. package/dist/icons/Facebook.js +6 -6
  297. package/dist/icons/Tiktok.js +15 -7
  298. package/dist/icons/Twitter.js +7 -7
  299. package/dist/index.js +1 -1
  300. package/dist/logger-C0N7U0YY.mjs +67 -0
  301. package/dist/settings.js +6 -5
  302. package/dist/utils/Redirect.d.ts +2 -2
  303. package/dist/utils/analytics.js +1 -1
  304. package/dist/utils/date-helpers.d.ts +3 -2
  305. package/dist/utils/date-helpers.js +26 -26
  306. package/dist/utils/events.js +8 -6
  307. package/dist/utils/getFeaturedList.d.ts +28 -8
  308. package/dist/utils/getFeaturedList.js +58 -45
  309. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  310. package/dist/utils/getFeaturedListImages.js +27 -16
  311. package/dist/utils/getOnNowProgram.d.ts +17 -3
  312. package/dist/utils/getOnNowProgram.js +106 -68
  313. package/dist/utils/getSchedule.d.ts +8 -6
  314. package/dist/utils/getSchedule.js +6 -1
  315. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  316. package/dist/utils/getUpcomingPrograms.js +5 -4
  317. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  318. package/dist/utils/getViewingPlatforms.js +14 -11
  319. package/dist/utils/gtm.js +1 -1
  320. package/dist/utils/helpers.d.ts +9 -9
  321. package/dist/utils/helpers.js +69 -65
  322. package/dist/utils/program-helpers.d.ts +14 -20
  323. package/dist/utils/program-helpers.js +9 -8
  324. package/dist/utils/series-helpers.d.ts +14 -20
  325. package/dist/utils/series-helpers.js +9 -8
  326. package/package.json +18 -14
  327. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  328. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  329. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  330. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  331. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  332. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  333. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  334. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  335. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  336. package/dist/facebook-HCcA1M1m.mjs +0 -54
@@ -1,5 +1,6 @@
1
- export function TabContent({ content, classname }: {
2
- content: any;
3
- classname: any;
4
- }): import("react/jsx-runtime").JSX.Element;
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 o } from "react/jsx-runtime";
2
- import { p as a } from "../../index-VjANCDXC.mjs";
3
- import "react";
4
- function i({ content: r, classname: t }) {
5
- return /* @__PURE__ */ o("tab-content", { class: t, children: typeof r == "string" ? a(r) : r });
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
- i as TabContent,
9
- i as default
10
+ p as TabContent,
11
+ p as default
10
12
  };
@@ -1 +1,2 @@
1
- export { TabContent, TabContent as default } from './TabContent';
1
+ export { TabContent } from './TabContent';
2
+ export { TabContent as default } from './TabContent';
@@ -1,6 +1,8 @@
1
- export function TabNavigation({ tabs, onTabChanged, rightSideContent }: {
2
- tabs?: never[] | undefined;
3
- onTabChanged?: (() => boolean) | undefined;
4
- rightSideContent: any;
5
- }): import("react/jsx-runtime").JSX.Element;
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 s, jsx as e } from "react/jsx-runtime";
2
- import { useState as _, useEffect as g } from "react";
3
- import { GradientButton as c } from "../GradientButton/GradientButton.js";
4
- import { Button as d } from "../Button/Button.js";
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 h({
9
+ function w({
10
10
  tabs: i = [],
11
11
  onTabChanged: l = () => !0,
12
12
  rightSideContent: a
13
13
  }) {
14
- const [n, b] = _(i[0]), u = (t) => {
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", !0), o == null || o.setAttribute("data-state", "entering"), t.button.label !== n.button.label && b(t);
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 g(() => l(n), [n, l]), /* @__PURE__ */ s("tab-navigation", { children: [
19
- /* @__PURE__ */ e("ul", { className: [r["tab-navigation__list"], "tab-navigation__list"].join(" "), children: i.length > 0 && i.map((t) => n.button.label === t.button.label ? /* @__PURE__ */ e(
20
- "li",
21
- {
22
- className: [r["tab-navigation__item"], "tab-navigation__item"].join(" "),
23
- style: {
24
- "--gradient-start-color": t.button.gradientStartColor,
25
- "--gradient-end-color": t.button.gradientEndColor
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
- children: /* @__PURE__ */ e(
28
- c,
29
- {
30
- onClick: () => {
31
- u(t);
32
- },
33
- label: t.button.label,
34
- disabled: !0
35
- }
36
- )
37
- },
38
- `tab-item-${t.button.label}`
39
- ) : /* @__PURE__ */ e(
40
- "li",
41
- {
42
- className: [r["tab-navigation__item"], "tab-navigation__item"].join(" "),
43
- children: /* @__PURE__ */ e(
44
- d,
45
- {
46
- onClick: () => {
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
- `tab-item-${t.button.label}`
62
- )) }),
63
- /* @__PURE__ */ e("div", { className: r["tab-navigation__right-side"], children: a !== void 0 && a })
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
- h as TabNavigation,
68
- h as default
72
+ w as TabNavigation,
73
+ w as default
69
74
  };
@@ -1 +1,2 @@
1
- export { TabNavigation, TabNavigation as default } from './TabNavigation';
1
+ export { TabNavigation } from './TabNavigation';
2
+ export { TabNavigation as default } from './TabNavigation';
@@ -1,5 +1,21 @@
1
- export function TabbedContent({ tabs, navRightSideContent }: {
2
- tabs?: never[] | undefined;
3
- navRightSideContent: any;
4
- }): import("react/jsx-runtime").JSX.Element;
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 a } from "react/jsx-runtime";
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 b } from "../TabContent/TabContent.js";
5
- function f({ tabs: t = [], navRightSideContent: e }) {
6
- const [n, o] = c(t[0]);
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__ */ a(m, { tabs: t, onTabChanged: (r) => o(r), children: e && e }),
9
- /* @__PURE__ */ a(b, { content: n.content, classname: n.classname ? n.classname : null })
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
- f as TabbedContent,
14
- f as default
29
+ C as TabbedContent,
30
+ C as default
15
31
  };
@@ -1 +1,2 @@
1
- export { TabbedContent, TabbedContent as default } from './TabbedContent';
1
+ export { TabbedContent } from './TabbedContent';
2
+ export { TabbedContent as default } from './TabbedContent';
@@ -1,2 +1,10 @@
1
- export function TextArea(props: any): import("react/jsx-runtime").JSX.Element;
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 i, jsx as a } from "react/jsx-runtime";
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 u } from "../../utils/helpers.js";
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, f;
7
- const { name: s, label: h, rows: p, width: _, helpText: v, ...x } = m, [C, N] = l(`${e["form-field__input"]}`), t = V(), [r, n] = l(""), [c, b] = l("clean"), g = `input-width--${_}`, y = () => {
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__ */ i("label", { htmlFor: s, className: u([e["form-field"], e[g]]), children: [
11
- /* @__PURE__ */ i(
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: u([
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
- !((f = t.current) != null && f.checkValidity()) && c === "touched" && /* @__PURE__ */ a(w, {})
20
+ !((u = t.current) != null && u.checkValidity()) && c === "touched" && /* @__PURE__ */ a(w, {})
21
21
  ]
22
22
  }
23
23
  ),
24
- /* @__PURE__ */ i("span", { className: e["form-field__label"], children: [
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
- name: s,
34
- id: s,
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, TextArea as default } from './TextArea';
1
+ export { TextArea } from './TextArea';
2
+ export { TextArea as default } from './TextArea';
@@ -1,5 +1,6 @@
1
- export function UpcomingList({ list, handleClicks }: {
2
- list: any;
3
- handleClicks?: (() => boolean) | undefined;
4
- }): import("react/jsx-runtime").JSX.Element;
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;
@@ -1,57 +1,71 @@
1
1
  import { jsx as t, jsxs as c } from "react/jsx-runtime";
2
- import "react";
3
- import { getMinutesFromStr as m, classes as r } from "../../utils/helpers.js";
4
- import { determineIfShowIsOnNow as _ } from "../../utils/date-helpers.js";
5
- import { Concat as g } from "../Concat/Concat.js";
6
- import { StringList as u } from "../StringList/StringList.js";
7
- import { AirDateFormatter as b } from "../AirDateFormatter/AirDateFormatter.js";
8
- import { ImageCard as h } from "../ImageCard/ImageCard.js";
2
+ import { getMinutesFromStr as _, classes as l } from "../../utils/helpers.js";
3
+ import { determineIfShowIsOnNow as g } from "../../utils/date-helpers.js";
4
+ import { Concat as u } from "../Concat/Concat.js";
5
+ import { StringList as b } from "../StringList/StringList.js";
6
+ import { AirDateFormatter as h } from "../AirDateFormatter/AirDateFormatter.js";
7
+ import { ImageCard as v } from "../ImageCard/ImageCard.js";
9
8
  import '../../assets/UpcomingList.css';const e = {
10
9
  "upcoming-list": "_upcoming-list_15byb_1",
11
10
  "upcoming-list__item": "_upcoming-list__item_15byb_6",
12
11
  "upcoming-list__airdate": "_upcoming-list__airdate_15byb_16"
13
12
  };
14
- function T({ list: l, handleClicks: d = () => !0 }) {
15
- return /* @__PURE__ */ t("ul", { className: e["upcoming-list"], children: l.length > 0 && l.map((i) => {
16
- var a, n, s, p;
17
- const o = m(i.title.element_length);
18
- return /* @__PURE__ */ c("li", { className: r([e["upcoming-list__item"], "upcoming-list__item"]), children: [
19
- /* @__PURE__ */ t("div", { className: r([e["upcoming-list__airdate"], "upcoming-list__airdate"]), children: /* @__PURE__ */ c("div", { className: r([e["upcoming-list__airdate-bg"], "upcoming-list__airdate-bg"]), children: [
20
- _(i.airdate, i.title.element_length) && /* @__PURE__ */ t("div", { className: "upcoming-list__on-now", children: "On Now" }),
13
+ function T({
14
+ list: r,
15
+ handleClicks: d = () => !0
16
+ }) {
17
+ return /* @__PURE__ */ t("ul", { className: e["upcoming-list"], children: r.length > 0 && r.map((i) => {
18
+ var n, a, s, p;
19
+ const o = _(i.title.element_length), m = {
20
+ displayInline: !0,
21
+ clampContentLines: !1,
22
+ content: /* @__PURE__ */ t(
23
+ u,
24
+ {
25
+ list: [
26
+ `<div>EP ${i.title.episode_number}: ${i.title.name}</div><div>${i.title.synopsis}</div>`,
27
+ /* @__PURE__ */ t(
28
+ b,
29
+ {
30
+ list: (a = (n = i.title) == null ? void 0 : n.video) != null && a.brightcove_id ? [o, i.title.rating, "&nbsp;"] : [o, i.title.rating],
31
+ separatorType: "pipe"
32
+ }
33
+ )
34
+ ]
35
+ }
36
+ ),
37
+ cta: (p = (s = i.title) == null ? void 0 : s.video) != null && p.brightcove_id ? {
38
+ label: "Watch Episode",
39
+ type: "play-video",
40
+ href: "",
41
+ relatedResourceId: i.title.video.brightcove_id,
42
+ position: "inline"
43
+ } : {
44
+ label: "",
45
+ type: "",
46
+ href: ""
47
+ },
48
+ handleClicks: d,
49
+ id: i.id,
50
+ image: {
51
+ url: i.title.image.url,
52
+ altText: "",
53
+ aspectRatio: 330 / 185
54
+ },
55
+ title: ""
56
+ };
57
+ return /* @__PURE__ */ c("li", { className: l([e["upcoming-list__item"], "upcoming-list__item"]), children: [
58
+ /* @__PURE__ */ t("div", { className: l([e["upcoming-list__airdate"], "upcoming-list__airdate"]), children: /* @__PURE__ */ c("div", { className: l([e["upcoming-list__airdate-bg"], "upcoming-list__airdate-bg"]), children: [
59
+ i.title.element_length && g(i.airdate, i.title.element_length) && /* @__PURE__ */ t("div", { className: "upcoming-list__on-now", children: "On Now" }),
21
60
  /* @__PURE__ */ t(
22
- b,
61
+ h,
23
62
  {
24
63
  airdateStr: i.airdate,
25
64
  separatorType: "line-break"
26
65
  }
27
66
  )
28
67
  ] }) }),
29
- /* @__PURE__ */ t(
30
- h,
31
- {
32
- id: i.id,
33
- image: {
34
- url: i.title.image.url,
35
- altText: "",
36
- aspectRatio: 330 / 185
37
- },
38
- title: "",
39
- content: /* @__PURE__ */ t(g, { list: [
40
- `<div>EP ${i.title.episode_number}: ${i.title.name}</div><div>${i.title.synopsis}</div>`,
41
- /* @__PURE__ */ t(u, { list: (n = (a = i.title) == null ? void 0 : a.video) != null && n.brightcove_id ? [o, i.title.rating, "&nbsp;"] : [o, i.title.rating], separatorType: "pipe" })
42
- ] }),
43
- cta: (p = (s = i.title) == null ? void 0 : s.video) != null && p.brightcove_id ? {
44
- label: "Watch Episode",
45
- type: "play-video",
46
- href: "",
47
- relatedResourceId: i.title.video.brightcove_id,
48
- position: "inline"
49
- } : {},
50
- clampContentLines: !1,
51
- displayInline: !0,
52
- handleClicks: d
53
- }
54
- )
68
+ /* @__PURE__ */ t(v, { ...m })
55
69
  ] }, `upcoming-list-${i.id}`);
56
70
  }) });
57
71
  }
@@ -1,17 +1,24 @@
1
- export default GetFeaturedListContainer;
2
- declare function GetFeaturedListContainer({ numberOfPrograms, startTime, endTime, type, canUseSameDay, handleClicks, hasSeriesPages, loadingMessage, fallbackImage, getResource, SCHEDULE_ENDPOINT, NETWORK, }: {
3
- numberOfPrograms?: number | undefined;
4
- startTime?: string | undefined;
5
- endTime?: string | undefined;
6
- type?: string | undefined;
7
- canUseSameDay?: boolean | undefined;
8
- handleClicks?: (() => boolean) | undefined;
9
- hasSeriesPages?: boolean | undefined;
10
- loadingMessage?: string | undefined;
1
+ import { HandleClicksDetails } from '../types';
2
+ type GetFeaturedListContainerProps = {
3
+ numberOfPrograms?: number;
4
+ startTime?: string;
5
+ endTime?: string;
6
+ type?: 'series' | 'movies' | 'all';
7
+ canUseSameDay?: boolean;
8
+ handleClicks?: (details: HandleClicksDetails) => void | boolean;
9
+ hasSeriesPages?: boolean;
10
+ loadingMessage?: string;
11
11
  fallbackImage?: {
12
12
  url: string;
13
- } | undefined;
14
- getResource?: (() => boolean) | undefined;
15
- SCHEDULE_ENDPOINT: any;
16
- NETWORK: any;
17
- }): import("react/jsx-runtime").JSX.Element;
13
+ };
14
+ getResource?: (options: {
15
+ queryKey: [string, {
16
+ resourceName: string;
17
+ queryVars: Record<string, unknown>;
18
+ }];
19
+ }) => Promise<unknown>;
20
+ SCHEDULE_ENDPOINT: string;
21
+ NETWORK: string;
22
+ };
23
+ declare function GetFeaturedListContainer({ numberOfPrograms, startTime, endTime, type, canUseSameDay, handleClicks, hasSeriesPages, loadingMessage, fallbackImage, getResource, SCHEDULE_ENDPOINT, NETWORK, }: GetFeaturedListContainerProps): JSX.Element;
24
+ export default GetFeaturedListContainer;
@@ -1,27 +1,27 @@
1
1
  import { jsxs as x, Fragment as h, jsx as s } from "react/jsx-runtime";
2
2
  import { useState as j, useRef as w, useEffect as I } from "react";
3
- import { getFeaturedList as y } from "../utils/getFeaturedList.js";
4
- import { getFeaturedListImages as A } from "../utils/getFeaturedListImages.js";
5
- import { FeaturedList as C } from "../components/FeaturedList/FeaturedList.js";
6
- import { Loading as E } from "../components/Loading/Loading.js";
7
- function v({
3
+ import { getFeaturedList as v } from "../utils/getFeaturedList.js";
4
+ import { getFeaturedListImages as y } from "../utils/getFeaturedListImages.js";
5
+ import { FeaturedList as A } from "../components/FeaturedList/FeaturedList.js";
6
+ import { Loading as C } from "../components/Loading/Loading.js";
7
+ function W({
8
8
  numberOfPrograms: i = 4,
9
- startTime: a = "11:00",
10
- endTime: o = "23:00",
9
+ startTime: o = "11:00",
10
+ endTime: a = "23:00",
11
11
  type: u = "series",
12
12
  canUseSameDay: n = !1,
13
13
  handleClicks: m = () => !0,
14
14
  hasSeriesPages: f = !0,
15
15
  loadingMessage: d = "",
16
16
  fallbackImage: e = { url: "" },
17
- getResource: r = () => !0,
17
+ getResource: r = () => Promise.resolve({}),
18
18
  SCHEDULE_ENDPOINT: l,
19
19
  NETWORK: L
20
20
  }) {
21
21
  const [t, p] = j(null), c = w({
22
22
  type: u,
23
- startTime: a,
24
- endTime: o,
23
+ startTime: o,
24
+ endTime: a,
25
25
  numberOfPrograms: i,
26
26
  canUseSameDay: n,
27
27
  SCHEDULE_ENDPOINT: l,
@@ -29,22 +29,22 @@ function v({
29
29
  });
30
30
  return I(() => {
31
31
  t === null && (async () => {
32
- const g = await y(c.current), F = await A({ featuredList: g, fallbackImage: e, getResource: r });
32
+ const g = await v(c.current), F = await y({ featuredList: g, fallbackImage: e, getResource: r });
33
33
  p(F);
34
34
  })();
35
35
  }, [t, e, r]), /* @__PURE__ */ x(h, { children: [
36
- t === null && /* @__PURE__ */ s(E, { message: d }),
36
+ t === null && /* @__PURE__ */ s(C, { message: d }),
37
37
  t !== null && /* @__PURE__ */ s(
38
- C,
38
+ A,
39
39
  {
40
- list: t,
40
+ handleClicks: m,
41
41
  hasSeriesPages: f,
42
42
  imageAspectRatio: 0.6775300171526587,
43
- handleClicks: m
43
+ list: t
44
44
  }
45
45
  )
46
46
  ] });
47
47
  }
48
48
  export {
49
- v as default
49
+ W as default
50
50
  };
@@ -1,16 +1,18 @@
1
+ import { default as ProgramAirdate } from '../components/ProgramAirdate';
2
+ type NowPlayingContainerProps = {
3
+ scheduleEndpoint: string;
4
+ network: string;
5
+ fallbackImage?: {
6
+ url: string;
7
+ };
8
+ getResource: (options: {
9
+ queryKey: [string, {
10
+ resourceName: string;
11
+ queryVars: Record<string, unknown>;
12
+ }];
13
+ }) => Promise<unknown>;
14
+ showEpisodeNumber?: boolean;
15
+ ProgramAirdateProps?: React.ComponentProps<typeof ProgramAirdate>;
16
+ };
17
+ export declare function NowPlayingContainer({ scheduleEndpoint, network, fallbackImage, getResource, showEpisodeNumber, ProgramAirdateProps, }: NowPlayingContainerProps): JSX.Element;
1
18
  export default NowPlayingContainer;
2
- declare function NowPlayingContainer({ scheduleEndpoint, network, fallbackImage, getResource, showEpisodeNumber, ProgramAirdateProps }: {
3
- scheduleEndpoint: any;
4
- network: any;
5
- fallbackImage: any;
6
- getResource: any;
7
- showEpisodeNumber?: boolean | undefined;
8
- ProgramAirdateProps?: {
9
- brand: string;
10
- buttonStyle: string;
11
- logoStyle: string;
12
- useLogo: boolean;
13
- useSeriesColors: boolean;
14
- href: string;
15
- } | undefined;
16
- }): import("react/jsx-runtime").JSX.Element;