@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 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.
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 +114 -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 +76 -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 +27 -16
  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 +12 -9
  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,101 +1,39 @@
1
- import { jsx as i, Fragment as u } from "react/jsx-runtime";
2
- import { useState as p, useEffect as d, createElement as f } from "react";
3
- import { classes as C } from "../../utils/helpers.js";
4
- import { slideLayoutsMap as L } from "../../settings.js";
5
- import '../../assets/CarouselSlide.css';class k {
6
- constructor(r = "") {
7
- this.namespace = "", this.component = "", this.shouldLog = !0, this.backgroundColor = "transparent", this.logLevel = "log", this.LevelColors = {
8
- log: "#a9a9a9",
9
- info: "#0061ff",
10
- warn: "#ff9d00",
11
- error: "#ff5252"
12
- }, this.logger = (e, ...o) => {
13
- if (!this.shouldLog && this.logLevel !== "error" && this.logLevel !== "warn")
14
- return;
15
- const l = `color: ${this.LevelColors[this.logLevel]}; background-color: ${this.backgroundColor};`;
16
- console[this.logLevel](e, "color: #00d68b; font-weight: bold;", l, ...o);
17
- }, this.log = (e, ...o) => {
18
- this.logLevel = "log", this.logger(this.formatMessage(e), ...o);
19
- }, this.info = (e, ...o) => {
20
- this.logLevel = "info", this.logger(this.formatMessage(e), ...o);
21
- }, this.error = (e, ...o) => {
22
- this.logLevel = "error", this.logger(this.formatMessage(e), ...o);
23
- }, this.warn = (e, ...o) => {
24
- this.logLevel = "warn", this.logger(this.formatMessage(e), ...o);
25
- }, this.setNamespace = (e) => {
26
- this.namespace = e;
27
- }, this.getNamespace = () => this.namespace, this.clearNamespace = () => {
28
- this.namespace = "";
29
- }, this.setComponent = (e) => {
30
- this.component = e;
31
- }, this.getComponent = () => this.component, this.clearComponent = () => {
32
- this.component = "";
33
- }, this.setShouldLog = (e) => {
34
- this.shouldLog = e;
35
- }, this.getShouldLog = () => this.shouldLog, this.setBackgroundColor = (e) => {
36
- this.backgroundColor = e;
37
- }, this.getBackgroundColor = () => this.backgroundColor, this.clearBackgroundColor = () => {
38
- this.backgroundColor = "transparent";
39
- }, this.formatMessage = (e) => {
40
- let o = e;
41
- return this.namespace ? o = `%c[${this.namespace}]${this.component ? ": " + this.component + " : " : " "}%c${e}` : o = `%c${this.component ? ": " + this.component + " : " : ""}%c${e}`, o;
42
- }, this.namespace = r;
43
- }
44
- }
45
- class a {
46
- constructor() {
47
- }
48
- static getInstance() {
49
- return a.instance || (a.instance = new k()), a.instance;
50
- }
51
- }
52
- const t = a.getInstance(), h = {
53
- log: t.log,
54
- info: t.info,
55
- warn: t.warn,
56
- error: t.error,
57
- setBackgroundColor: t.setBackgroundColor,
58
- getBackgroundColor: t.getBackgroundColor,
59
- clearBackgroundColor: t.clearBackgroundColor,
60
- setComponent: t.setComponent,
61
- getComponent: t.getComponent,
62
- clearComponent: t.clearComponent,
63
- setNamespace: t.setNamespace,
64
- getNamespace: t.getNamespace,
65
- clearNamespace: t.clearNamespace,
66
- setShouldLog: t.setShouldLog,
67
- getShouldLog: t.getShouldLog
68
- }, v = "_slide_1echy_2", c = {
69
- slide: v,
1
+ import { jsx as r, Fragment as u } from "react/jsx-runtime";
2
+ import { useState as d, useEffect as p, createElement as f } from "react";
3
+ import { classes as h } from "../../utils/helpers.js";
4
+ import { slideLayoutsMap as g } from "../../settings.js";
5
+ import { l as i } from "../../logger-C0N7U0YY.mjs";
6
+ import '../../assets/CarouselSlide.css';const y = "_slide_1echy_2", s = {
7
+ slide: y,
70
8
  "slide--variable-height": "_slide--variable-height_1echy_18"
71
9
  };
72
- h.setComponent("CarouselSlide");
73
- function $({
74
- slide: s,
75
- index: r,
76
- currentIndex: e,
10
+ i.setComponent("CarouselSlide");
11
+ function C({
12
+ slide: e,
13
+ index: l,
14
+ currentIndex: a,
77
15
  variableHeight: o = !1
78
16
  }) {
79
- const [l, n] = p(null);
80
- return d(() => {
81
- n(L.get(s.layout) || null);
82
- }, [s]), h.log("slide", s, "index", r, "currentIndex", e), /* @__PURE__ */ i(u, { children: /* @__PURE__ */ i(
17
+ const [t, n] = d(null);
18
+ return p(() => {
19
+ n(g.get(e.layout) || null);
20
+ }, [e]), i.log("slide", e, "index", l, "currentIndex", a), /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(
83
21
  "li",
84
22
  {
85
- "aria-label": s.ariaLabel,
23
+ "aria-label": e.ariaLabel,
86
24
  "aria-roledescription": "carousel-item",
87
- className: C([
88
- c.slide,
25
+ className: h([
26
+ s.slide,
89
27
  "slide",
90
- o ? c["slide--variable-height"] : ""
28
+ o ? s["slide--variable-height"] : ""
91
29
  ]),
92
- "data-index": r,
93
- ...e !== r ? { inert: "" } : {},
94
- children: l !== null && s.cells.map((g, m) => /* @__PURE__ */ f(l, { ...g.props, key: `slide${r}-cell${m}` }))
30
+ "data-index": l,
31
+ ...a !== l ? { inert: "" } : {},
32
+ children: t !== null && e.cells.map((c, m) => /* @__PURE__ */ f(t, { ...c.props, key: `slide${l}-cell${m}` }))
95
33
  }
96
34
  ) });
97
35
  }
98
36
  export {
99
- $ as CarouselSlide,
100
- $ as default
37
+ C as CarouselSlide,
38
+ C as default
101
39
  };
@@ -1,2 +1,2 @@
1
- export function ImageCardSlide(props: any): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ImageCardSlide(props: Record<string, unknown>): JSX.Element;
2
2
  export default ImageCardSlide;
@@ -1,10 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import "react";
3
2
  import { ImageCard as e } from "../../../ImageCard/ImageCard.js";
4
- function o(a) {
3
+ function m(a) {
5
4
  return /* @__PURE__ */ r("div", { className: "image-card-slide", children: /* @__PURE__ */ r(e, { ...a }) });
6
5
  }
7
6
  export {
8
- o as ImageCardSlide,
9
- o as default
7
+ m as ImageCardSlide,
8
+ m as default
10
9
  };
@@ -1,17 +1,19 @@
1
- export function ShowSlide({ series, nextAirdate, titlePosition, titleColor, fullSizeImagePosition, mobileImagePosition, lazyLoad, fetchPriority, decoding, hasSeriesPages, handleClicks, altText, SCHEDULE_ENDPOINT, NETWORK }: {
2
- series: any;
3
- nextAirdate?: null | undefined;
4
- titlePosition?: string | undefined;
5
- titleColor?: string | undefined;
6
- fullSizeImagePosition?: number[] | undefined;
7
- mobileImagePosition?: number[] | undefined;
8
- lazyLoad?: boolean | undefined;
9
- fetchPriority?: null | undefined;
10
- decoding?: string | undefined;
11
- hasSeriesPages?: boolean | undefined;
12
- handleClicks?: (() => boolean) | undefined;
13
- altText?: string | undefined;
14
- SCHEDULE_ENDPOINT?: string | undefined;
15
- NETWORK?: string | undefined;
16
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Series, HandleClicksDetails } from '../../../../types';
2
+ type ShowSlideProps = {
3
+ series: Series;
4
+ nextAirdate?: string | null;
5
+ titlePosition?: 'left' | 'center' | 'right';
6
+ titleColor?: string;
7
+ fullSizeImagePosition?: [number, number];
8
+ mobileImagePosition?: [number, number];
9
+ lazyLoad?: boolean;
10
+ fetchPriority?: 'high' | 'low' | 'auto' | undefined;
11
+ decoding?: 'sync' | 'async' | 'auto';
12
+ hasSeriesPages?: boolean;
13
+ handleClicks?: (details: HandleClicksDetails) => void;
14
+ altText?: string;
15
+ SCHEDULE_ENDPOINT?: string;
16
+ NETWORK?: string;
17
+ };
18
+ export declare function ShowSlide({ series, nextAirdate, titlePosition, titleColor, fullSizeImagePosition, mobileImagePosition, lazyLoad, fetchPriority, decoding, hasSeriesPages, handleClicks, altText, SCHEDULE_ENDPOINT, NETWORK, }: ShowSlideProps): JSX.Element;
17
19
  export default ShowSlide;
@@ -1,10 +1,9 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { ImageCard as E } from "../../../ImageCard/ImageCard.js";
4
- import { AirDateFormatter as H } from "../../../AirDateFormatter/AirDateFormatter.js";
5
- import { GetAirdateWrapper as J } from "../../../GetAirdateWrapper/GetAirdateWrapper.js";
6
2
  import { Concat as _ } from "../../../Concat/Concat.js";
7
- import { classes as K } from "../../../../utils/helpers.js";
3
+ import { classes as E } from "../../../../utils/helpers.js";
4
+ import { ImageCard as H } from "../../../ImageCard/ImageCard.js";
5
+ import { AirDateFormatter as J } from "../../../AirDateFormatter/AirDateFormatter.js";
6
+ import { GetAirdateWrapper as K } from "../../../GetAirdateWrapper/GetAirdateWrapper.js";
8
7
  import '../../../../assets/ShowSlide.css';const L = {
9
8
  "show-slide": "_show-slide_mt0c3_1"
10
9
  }, Q = (t, l) => t ? l.preventDetailPage ? {
@@ -22,7 +21,7 @@ import '../../../../assets/ShowSlide.css';const L = {
22
21
  } : l.seriesPrefix ? {
23
22
  href: "",
24
23
  type: "show-modal",
25
- relatedSourceId: l.seriesPrefix,
24
+ relatedResourceId: l.seriesPrefix,
26
25
  relatedResourceType: "series"
27
26
  } : l.titleCode ? {
28
27
  href: "",
@@ -35,15 +34,15 @@ import '../../../../assets/ShowSlide.css';const L = {
35
34
  relatedResourceId: "",
36
35
  relatedResourceType: "unknown"
37
36
  };
38
- function ot({
37
+ function lt({
39
38
  series: t,
40
39
  nextAirdate: l = null,
41
40
  titlePosition: U = "left",
42
41
  titleColor: D = "#fff",
43
- fullSizeImagePosition: S = [50, 50],
44
- mobileImagePosition: M = [50, 50],
45
- lazyLoad: O = !0,
46
- fetchPriority: j = null,
42
+ fullSizeImagePosition: M = [50, 50],
43
+ mobileImagePosition: O = [50, 50],
44
+ lazyLoad: S = !0,
45
+ fetchPriority: j = "auto",
47
46
  decoding: z = "async",
48
47
  hasSeriesPages: a = !0,
49
48
  handleClicks: A = () => !0,
@@ -51,59 +50,75 @@ function ot({
51
50
  SCHEDULE_ENDPOINT: F = "",
52
51
  NETWORK: G = ""
53
52
  }) {
54
- var p, d, u, c, r, g, f, e, h, y, i, w, I, C, b, T, R, v, k, $, x, P;
53
+ var p, d, u, c, r, g, e, f, h, y, i, w, I, C, R, T, b, v, k, x, $, P;
55
54
  const N = {
56
- url: ((d = (p = t == null ? void 0 : t.images) == null ? void 0 : p.slide) == null ? void 0 : d.url) ?? ((c = (u = t == null ? void 0 : t.bannerImage) == null ? void 0 : u.image) == null ? void 0 : c.publicUrl),
55
+ url: ((d = (p = t == null ? void 0 : t.images) == null ? void 0 : p.slide) == null ? void 0 : d.url) ?? ((c = (u = t == null ? void 0 : t.bannerImage) == null ? void 0 : u.image) == null ? void 0 : c.publicUrl) ?? "",
57
56
  altText: n,
58
57
  aspectRatio: 2.011764705882353,
59
- sources: ((g = (r = t == null ? void 0 : t.images) == null ? void 0 : r.slide) == null ? void 0 : g.url) ?? ((e = (f = t == null ? void 0 : t.bannerImage) == null ? void 0 : f.image) == null ? void 0 : e.sources)
58
+ sources: ((g = (r = t == null ? void 0 : t.images) == null ? void 0 : r.slide) == null ? void 0 : g.url) ?? ((f = (e = t == null ? void 0 : t.bannerImage) == null ? void 0 : e.image) == null ? void 0 : f.sources)
60
59
  }, W = (y = (h = t == null ? void 0 : t.bannerMobileImage) == null ? void 0 : h.image) != null && y.publicUrl ? {
61
60
  url: (w = (i = t == null ? void 0 : t.bannerMobileImage) == null ? void 0 : i.image) == null ? void 0 : w.publicUrl,
62
61
  altText: n,
63
62
  aspectRatio: 388 / 594
64
63
  } : {
65
- url: ""
66
- }, m = (C = (I = t.logoImage) == null ? void 0 : I.image) != null && C.publicUrl ? `<div class="show-slide__logo-wrapper show-slide--display"><img src="${(v = (R = (T = (b = t.logoImage) == null ? void 0 : b.image) == null ? void 0 : T.sizes) == null ? void 0 : R[0].srcSets) == null ? void 0 : v[0].src}" alt="${t.title}"/></div><h1 class="display-none">${t.title}</h1>` : `<h1>${t.title}</h1>`, q = l === null ? /* @__PURE__ */ o(
64
+ url: "",
65
+ altText: "",
66
+ aspectRatio: 1
67
+ }, m = (C = (I = t.logoImage) == null ? void 0 : I.image) != null && C.publicUrl ? `<div class="show-slide__logo-wrapper show-slide--display"><img src="${(v = (b = (T = (R = t.logoImage) == null ? void 0 : R.image) == null ? void 0 : T.sizes) == null ? void 0 : b[0].srcSets) == null ? void 0 : v[0].src}" alt="${t.title}"/></div><h1 class="display-none">${t.title}</h1>` : `<h1>${t.title}</h1>`, q = l === null ? /* @__PURE__ */ o(
67
68
  _,
68
69
  {
69
70
  list: [
70
71
  m,
71
72
  /* @__PURE__ */ o(
72
- J,
73
+ K,
73
74
  {
75
+ NETWORK: G,
76
+ SCHEDULE_ENDPOINT: F,
74
77
  programId: (t == null ? void 0 : t.seriesPrefix) ?? (t == null ? void 0 : t.titleCode),
75
78
  programType: t != null && t.titleCode ? "film" : "series",
76
- separatorType: "pipe",
77
- SCHEDULE_ENDPOINT: F,
78
- NETWORK: G
79
+ separatorType: "pipe"
80
+ }
81
+ )
82
+ ]
83
+ }
84
+ ) : /* @__PURE__ */ o(
85
+ _,
86
+ {
87
+ list: [
88
+ m,
89
+ /* @__PURE__ */ o(
90
+ J,
91
+ {
92
+ airdateStr: l,
93
+ separatorType: "pipe"
79
94
  }
80
95
  )
81
96
  ]
82
97
  }
83
- ) : /* @__PURE__ */ o(_, { list: [m, /* @__PURE__ */ o(H, { airdateStr: l, separatorType: "pipe" })] }), B = Q(a, t);
98
+ ), B = Q(a, t);
84
99
  return /* @__PURE__ */ o(
85
100
  "div",
86
101
  {
87
- className: K([L["show-slide"], "show-slide"]),
102
+ className: E([L["show-slide"], "show-slide"]),
88
103
  style: {
89
- "--show-slide-logo-ratio": (($ = (k = t.logoImage) == null ? void 0 : k.image) == null ? void 0 : $.width) / ((P = (x = t.logoImage) == null ? void 0 : x.image) == null ? void 0 : P.height)
104
+ "--show-slide-logo-ratio": ((x = (k = t.logoImage) == null ? void 0 : k.image) == null ? void 0 : x.width) / ((P = ($ = t.logoImage) == null ? void 0 : $.image) == null ? void 0 : P.height)
90
105
  },
91
106
  children: /* @__PURE__ */ o(
92
- E,
107
+ H,
93
108
  {
109
+ cta: B,
110
+ decoding: z,
111
+ fetchPriority: j,
112
+ fullCardClickable: !(t != null && t.preventDetailPage),
113
+ fullSizeImagePosition: M,
114
+ handleClicks: a ? () => !0 : A,
94
115
  image: N,
116
+ lazyLoad: S,
95
117
  mobileImage: W,
96
- fullSizeImagePosition: S,
97
- mobileImagePosition: M,
98
- lazyLoad: O,
99
- fetchPriority: j,
100
- decoding: z,
118
+ mobileImagePosition: O,
101
119
  overlayContent: q,
102
120
  overlayPosition: U,
103
121
  overlayTextColor: D,
104
- fullCardClickable: !(t != null && t.preventDetailPage),
105
- cta: B,
106
- handleClicks: a ? () => !0 : A,
107
122
  relatedResourceId: a ? "" : (t == null ? void 0 : t.programType) === "film" ? t == null ? void 0 : t.titleCode : t == null ? void 0 : t.seriesPrefix
108
123
  }
109
124
  )
@@ -111,6 +126,6 @@ function ot({
111
126
  );
112
127
  }
113
128
  export {
114
- ot as ShowSlide,
115
- ot as default
129
+ lt as ShowSlide,
130
+ lt as default
116
131
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { classes as _ } from "../../../../utils/helpers.js";
3
3
  import '../../../../assets/TextSlide.css';const e = {
4
- "text-slide": "_text-slide_1h4rx_1",
5
- "text-slide__text": "_text-slide__text_1h4rx_9"
4
+ "text-slide": "_text-slide_11amx_1",
5
+ "text-slide__text": "_text-slide__text_11amx_8"
6
6
  };
7
- function o({
7
+ function a({
8
8
  text: s = "",
9
9
  backgroundColor: l = "#fff",
10
10
  textColor: x = "#444",
@@ -24,6 +24,6 @@ function o({
24
24
  ) });
25
25
  }
26
26
  export {
27
- o as TextSlide,
28
- o as default
27
+ a as TextSlide,
28
+ a as default
29
29
  };
@@ -1,5 +1,6 @@
1
- export function TwoColumnSlide({ columnOneContent, columnTwoContent }: {
2
- columnOneContent: any;
3
- columnTwoContent: any;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ type TwoColumnSlideProps = {
2
+ columnOneContent: string | React.ReactNode;
3
+ columnTwoContent: string | React.ReactNode;
4
+ };
5
+ export declare function TwoColumnSlide({ columnOneContent, columnTwoContent }: TwoColumnSlideProps): JSX.Element;
5
6
  export default TwoColumnSlide;
@@ -1,17 +1,16 @@
1
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
2
- import "react";
3
- import { p as r } from "../../../../index-VjANCDXC.mjs";
1
+ import { jsxs as r, jsx as i } from "react/jsx-runtime";
2
+ import { p as o } from "../../../../index-VjANCDXC.mjs";
4
3
  import { classes as e } from "../../../../utils/helpers.js";
5
- import '../../../../assets/TwoColumnSlide.css';const m = {
6
- "two-column-slide": "_two-column-slide_1p3kg_1"
4
+ import '../../../../assets/TwoColumnSlide.css';const t = {
5
+ "two-column-slide": "_two-column-slide_ltehs_1"
7
6
  };
8
- function a({ columnOneContent: s, columnTwoContent: i }) {
9
- return /* @__PURE__ */ l("div", { className: e([m["two-column-slide"], "two-column-slide"]), children: [
10
- /* @__PURE__ */ o("column-one", { children: typeof s == "string" ? r(s) : s }),
11
- /* @__PURE__ */ o("column-two", { children: typeof i == "string" ? r(i) : i })
7
+ function p({ columnOneContent: s, columnTwoContent: l }) {
8
+ return /* @__PURE__ */ r("div", { className: e([t["two-column-slide"], "two-column-slide"]), children: [
9
+ /* @__PURE__ */ i("column-one", { children: typeof s == "string" ? o(s) : s }),
10
+ /* @__PURE__ */ i("column-two", { children: typeof l == "string" ? o(l) : l })
12
11
  ] });
13
12
  }
14
13
  export {
15
- a as TwoColumnSlide,
16
- a as default
14
+ p as TwoColumnSlide,
15
+ p as default
17
16
  };
@@ -1,2 +1,9 @@
1
- export function VideoSlide(): import("react/jsx-runtime").JSX.Element;
1
+ type VideoSlideProps = {
2
+ bcId: string;
3
+ BC_AID: string;
4
+ BC_PLAYERID: string;
5
+ BC_EMBEDID: string;
6
+ playerElId?: string;
7
+ };
8
+ export declare function VideoSlide({ bcId, BC_AID, BC_PLAYERID, BC_EMBEDID, playerElId }: VideoSlideProps): JSX.Element;
2
9
  export default VideoSlide;
@@ -1,20 +1,24 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { useRef as l, useEffect as o } from "react";
3
- import { classes as d } from "../../../../utils/helpers.js";
4
- function f() {
5
- const e = l(null), i = l(null);
6
- return o(() => {
7
- e.current !== null && i.current;
8
- }, []), /* @__PURE__ */ r("div", { children: /* @__PURE__ */ r(
9
- "div",
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { BCVideoPlayer as f } from "../../../BCVideoPlayer/BCVideoPlayer.js";
3
+ function l({
4
+ bcId: o,
5
+ BC_AID: r,
6
+ BC_PLAYERID: e,
7
+ BC_EMBEDID: i,
8
+ playerElId: t
9
+ }) {
10
+ return /* @__PURE__ */ d(
11
+ f,
10
12
  {
11
- ref: e,
12
- id: "video-player-",
13
- className: d(["video-wrapper", "video-slide__video-wrapper"])
13
+ BC_AID: r,
14
+ BC_EMBEDID: i,
15
+ BC_PLAYERID: e,
16
+ bcId: o,
17
+ playerElId: t
14
18
  }
15
- ) });
19
+ );
16
20
  }
17
21
  export {
18
- f as VideoSlide,
19
- f as default
22
+ l as VideoSlide,
23
+ l as default
20
24
  };
@@ -1,2 +1,17 @@
1
- export function CastInfoLayout(props: any): import("react/jsx-runtime").JSX.Element;
1
+ import { Image } from '../../types';
2
+ type CastMember = {
3
+ name: string;
4
+ real_name: string;
5
+ biography: string;
6
+ image: Image;
7
+ hometown?: string | undefined;
8
+ birthday?: string | undefined;
9
+ facebookHandle?: string | undefined;
10
+ twitterHandle?: string | undefined;
11
+ instagramHandle?: string | undefined;
12
+ };
13
+ type CastInfoLayoutProps = {
14
+ castMember: CastMember;
15
+ };
16
+ export declare function CastInfoLayout(props: CastInfoLayoutProps): JSX.Element;
2
17
  export default CastInfoLayout;
@@ -1,16 +1,16 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
2
  import { useEffect as l } from "react";
3
3
  import { Concat as n } from "../Concat/Concat.js";
4
4
  import { ImageCard as s } from "../ImageCard/ImageCard.js";
5
- import { AdjustableTwoColumnGrid as i } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
6
- import { SectionedContent as c } from "../SectionedContent/SectionedContent.js";
7
- function h(a) {
5
+ import { AdjustableTwoColumnGrid as c } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
6
+ import { SectionedContent as i } from "../SectionedContent/SectionedContent.js";
7
+ function p(a) {
8
8
  const t = a != null && a.castMember ? a.castMember : { ...a };
9
9
  return l(() => {
10
- const o = document.querySelector("tab-content");
11
- o && window.scrollTo(0, o.offsetTop - 24);
12
- }, []), /* @__PURE__ */ r(i, { children: [
13
- /* @__PURE__ */ e(
10
+ const e = document.querySelector("tab-content");
11
+ e && window.scrollTo(0, e.offsetTop - 24);
12
+ }, []), /* @__PURE__ */ r(c, { children: [
13
+ /* @__PURE__ */ o(
14
14
  s,
15
15
  {
16
16
  image: {
@@ -19,8 +19,8 @@ function h(a) {
19
19
  }
20
20
  }
21
21
  ),
22
- /* @__PURE__ */ e(
23
- c,
22
+ /* @__PURE__ */ o(
23
+ i,
24
24
  {
25
25
  sections: [
26
26
  {
@@ -28,10 +28,15 @@ function h(a) {
28
28
  type: "primary",
29
29
  title: t.real_name
30
30
  },
31
- content: /* @__PURE__ */ e(n, { list: [
32
- `<div>${t.name}</div>`,
33
- t.hometown && t.birthday ? `<strong>Hometown</strong> ${t.hometown} <span class="contact-info-pipe">|</span> <strong>Birthday</strong> ${t.birthday}` : ""
34
- ] })
31
+ content: /* @__PURE__ */ o(
32
+ n,
33
+ {
34
+ list: [
35
+ `<div>${t.name}</div>`,
36
+ t.hometown && t.birthday ? `<strong>Hometown</strong> ${t.hometown} <span class="contact-info-pipe">|</span> <strong>Birthday</strong> ${t.birthday}` : ""
37
+ ]
38
+ }
39
+ )
35
40
  },
36
41
  {
37
42
  header: {
@@ -45,11 +50,16 @@ function h(a) {
45
50
  type: "secondary",
46
51
  title: "Follow"
47
52
  },
48
- content: t != null && t.facebookHandle || t != null && t.twitterHandle || t.instagramHandle ? /* @__PURE__ */ e(n, { list: [
49
- t.facebookHandle ? `<span class="cast__follow-platform">Facebook: <a class="cast__follow-link" href="https://facebook.com/${t.facebookHandle}" target="_blank" rel="noreferrer">${t.facebookHandle}</a></span> ` : null,
50
- t.twitterHandle ? `<span class="cast__follow-platform">Twitter: <a class="cast__follow-link" href="https://twitter.com/${t.twitterHandle}" target="_blank" rel="noreferrer">@${t.twitterHandle}</a></span>` : null,
51
- t.instagramHandle ? `<span class="cast__follow-platform">Instagram: <a class="cast__follow-link" href="https://instagram.com/${t.instagramHandle}" target="_blank" rel="noreferrer">@${t.instagramHandle}</a></span>` : null
52
- ] }) : ""
53
+ content: t != null && t.facebookHandle || t != null && t.twitterHandle || t != null && t.instagramHandle ? /* @__PURE__ */ o(
54
+ n,
55
+ {
56
+ list: [
57
+ t.facebookHandle ? `<span class="cast__follow-platform">Facebook: <a class="cast__follow-link" href="https://facebook.com/${t.facebookHandle}" target="_blank" rel="noreferrer">${t.facebookHandle}</a></span> ` : null,
58
+ t.twitterHandle ? `<span class="cast__follow-platform">Twitter: <a class="cast__follow-link" href="https://twitter.com/${t.twitterHandle}" target="_blank" rel="noreferrer">@${t.twitterHandle}</a></span>` : null,
59
+ t.instagramHandle ? `<span class="cast__follow-platform">Instagram: <a class="cast__follow-link" href="https://instagram.com/${t.instagramHandle}" target="_blank" rel="noreferrer">@${t.instagramHandle}</a></span>` : null
60
+ ]
61
+ }
62
+ ) : ""
53
63
  }
54
64
  ]
55
65
  }
@@ -57,6 +67,6 @@ function h(a) {
57
67
  ] });
58
68
  }
59
69
  export {
60
- h as CastInfoLayout,
61
- h as default
70
+ p as CastInfoLayout,
71
+ p as default
62
72
  };
@@ -1,18 +1,20 @@
1
- export function ChannelSearch({ network, baseApiUrl, authApiUrl, ct, allowZipcodeSearch, allowStateSearch, compactLayout, allowAutoScroll, autoScrollOffset, ad, }: {
2
- network: any;
3
- baseApiUrl: any;
4
- authApiUrl: any;
5
- ct: any;
6
- allowZipcodeSearch?: boolean | undefined;
7
- allowStateSearch?: boolean | undefined;
8
- compactLayout?: boolean | undefined;
9
- allowAutoScroll?: boolean | undefined;
10
- autoScrollOffset?: number | undefined;
1
+ type ChannelSearchProps = {
2
+ network: {
3
+ brand_name: string;
4
+ slug: string;
5
+ };
6
+ baseApiUrl: string;
7
+ allowZipcodeSearch?: boolean;
8
+ allowStateSearch?: boolean;
9
+ compactLayout?: boolean;
10
+ allowAutoScroll?: boolean;
11
+ autoScrollOffset?: number;
11
12
  ad?: {
12
- campaign: string;
13
- source: string;
14
- medium: string;
15
- content: string;
16
- } | undefined;
17
- }): import("react/jsx-runtime").JSX.Element;
13
+ campaign?: string | undefined;
14
+ source?: string | undefined;
15
+ medium?: string | undefined;
16
+ content?: string | undefined;
17
+ };
18
+ };
19
+ export declare function ChannelSearch({ network, baseApiUrl, allowZipcodeSearch, allowStateSearch, compactLayout, allowAutoScroll, autoScrollOffset, ad, }: ChannelSearchProps): JSX.Element;
18
20
  export default ChannelSearch;