@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 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.
Files changed (338) 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 +27 -0
  226. package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
  227. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
  228. package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
  229. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  230. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -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 +162 -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 +48 -32
  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 → getSchedule.d.ts} +12 -4
  293. package/dist/hooks/getSchedule.js +62 -0
  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.d.ts +1 -0
  300. package/dist/index.js +35 -33
  301. package/dist/logger-C0N7U0YY.mjs +67 -0
  302. package/dist/settings.js +6 -5
  303. package/dist/utils/Redirect.d.ts +2 -2
  304. package/dist/utils/analytics.js +1 -1
  305. package/dist/utils/date-helpers.d.ts +3 -2
  306. package/dist/utils/date-helpers.js +26 -26
  307. package/dist/utils/events.js +8 -6
  308. package/dist/utils/getFeaturedList.d.ts +28 -8
  309. package/dist/utils/getFeaturedList.js +58 -45
  310. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  311. package/dist/utils/getFeaturedListImages.js +27 -16
  312. package/dist/utils/getOnNowProgram.d.ts +17 -3
  313. package/dist/utils/getOnNowProgram.js +106 -68
  314. package/dist/utils/getSchedule.d.ts +8 -6
  315. package/dist/utils/getSchedule.js +6 -1
  316. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  317. package/dist/utils/getUpcomingPrograms.js +5 -4
  318. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  319. package/dist/utils/getViewingPlatforms.js +14 -11
  320. package/dist/utils/gtm.js +1 -1
  321. package/dist/utils/helpers.d.ts +9 -9
  322. package/dist/utils/helpers.js +69 -65
  323. package/dist/utils/program-helpers.d.ts +14 -20
  324. package/dist/utils/program-helpers.js +9 -8
  325. package/dist/utils/series-helpers.d.ts +14 -20
  326. package/dist/utils/series-helpers.js +9 -8
  327. package/package.json +19 -14
  328. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  329. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  330. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  331. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  332. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  333. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  334. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  335. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  336. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  337. package/dist/facebook-HCcA1M1m.mjs +0 -54
  338. package/dist/hooks/useGetSchedule.js +0 -58
@@ -1,8 +1,10 @@
1
- export function SeriesItem({ scheduleItem, styles, strListArr, handleClicks, determineCTA }: {
2
- scheduleItem: any;
3
- styles: any;
4
- strListArr: any;
5
- handleClicks: any;
6
- determineCTA: any;
7
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { ScheduleItem, HandleClicksDetails, CTA } from '../../../types.d.ts';
2
+ type SeriesItemProps = {
3
+ scheduleItem: ScheduleItem;
4
+ styles: Record<string, string>;
5
+ strListArr: (string | undefined)[];
6
+ handleClicks: (details: HandleClicksDetails) => boolean | void;
7
+ determineCTA: (scheduleItem: ScheduleItem) => CTA;
8
+ };
9
+ export declare function SeriesItem({ scheduleItem, styles, strListArr, handleClicks, determineCTA, }: SeriesItemProps): JSX.Element;
8
10
  export default SeriesItem;
@@ -1,41 +1,57 @@
1
1
  import { jsx as r, jsxs as f } from "react/jsx-runtime";
2
- import "react";
3
2
  import { classes as l } from "../../../utils/helpers.js";
4
3
  import { determineProgramTitle as n } from "../../../utils/program-helpers.js";
5
4
  import { Concat as C } from "../../Concat/Concat.js";
6
- import { StringList as e } from "../../StringList/StringList.js";
7
- import { AirDateSegment as y } from "./AirDateSegment.js";
8
- import { ImageCard as $ } from "../../ImageCard/ImageCard.js";
9
- function N({ scheduleItem: i, styles: o, strListArr: a, handleClicks: p, determineCTA: m }) {
5
+ import { StringList as y } from "../../StringList/StringList.js";
6
+ import { AirDateSegment as e } from "./AirDateSegment.js";
7
+ import { ImageCard as v } from "../../ImageCard/ImageCard.js";
8
+ import { l as S } from "../../../logger-C0N7U0YY.mjs";
9
+ S.setComponent("SeriesItem");
10
+ function D({
11
+ scheduleItem: i,
12
+ styles: o,
13
+ strListArr: a,
14
+ handleClicks: p,
15
+ determineCTA: m
16
+ }) {
10
17
  var t;
11
- const s = i.episode_number ? `${i.episode_number}:` : "", g = i.program_synopsis !== null ? i.program_synopsis : "", _ = [
12
- i.title_name.trim() !== n(i).trim() ? `<div>${s} ${i.title_name}</div>` : "",
13
- i.program_synopsis !== null ? `<div>${g}</div>` : "",
14
- /* @__PURE__ */ r(e, { list: a, separatorType: "pipe" })
18
+ const s = i.episode_number ? `${i.episode_number}:` : "", _ = i.program_synopsis !== null ? i.program_synopsis : "";
19
+ i.title_name && (i.title_name = i.title_name.trim());
20
+ const g = [
21
+ i.title_name !== n(i).trim() ? `<div>${s} ${i.title_name}</div>` : "",
22
+ i.program_synopsis !== null && i.program_synopsis !== void 0 ? `<div>${_}</div>` : "",
23
+ /* @__PURE__ */ r(y, { list: a, separatorType: "pipe" })
15
24
  ];
16
- return /* @__PURE__ */ f("li", { className: l([o["schedule-list__item"], "schedule-list__item"]), children: [
17
- /* @__PURE__ */ r(y, { scheduleItem: i, styles: o }),
18
- /* @__PURE__ */ r(
19
- $,
20
- {
21
- id: i.id,
22
- image: {
23
- url: ((t = i == null ? void 0 : i.content) == null ? void 0 : t.image) ?? "",
24
- altText: "",
25
- aspectRatio: 543 / 305
26
- },
27
- title: n(i),
28
- content: /* @__PURE__ */ r(C, { list: _ }),
29
- cta: m(i),
30
- clampContentLines: !0,
31
- numberOfLinesToClamp: 5,
32
- displayInline: !0,
33
- handleClicks: p
34
- }
35
- )
36
- ] }, `schedule-list-${i.id}`);
25
+ return /* @__PURE__ */ f(
26
+ "li",
27
+ {
28
+ className: l([o["schedule-list__item"], "schedule-list__item"]),
29
+ children: [
30
+ /* @__PURE__ */ r(e, { scheduleItem: i, styles: o }),
31
+ /* @__PURE__ */ r(
32
+ v,
33
+ {
34
+ clampContentLines: !0,
35
+ displayInline: !0,
36
+ content: /* @__PURE__ */ r(C, { list: g }),
37
+ cta: m(i),
38
+ handleClicks: p,
39
+ id: i.id,
40
+ image: {
41
+ url: ((t = i == null ? void 0 : i.content) == null ? void 0 : t.image) ?? "",
42
+ altText: "",
43
+ aspectRatio: 543 / 305
44
+ },
45
+ numberOfLinesToClamp: 5,
46
+ title: n(i)
47
+ }
48
+ )
49
+ ]
50
+ },
51
+ `schedule-list-${i.id}`
52
+ );
37
53
  }
38
54
  export {
39
- N as SeriesItem,
40
- N as default
55
+ D as SeriesItem,
56
+ D as default
41
57
  };
@@ -1,8 +1,10 @@
1
- export function SportsItem({ scheduleItem, styles, strListArr, handleClicks, determineCTA }: {
2
- scheduleItem: any;
3
- styles: any;
4
- strListArr: any;
5
- handleClicks: any;
6
- determineCTA: any;
7
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { ScheduleItem, HandleClicksDetails, CTA } from '../../../types.d.ts';
2
+ type SportsItemProps = {
3
+ scheduleItem: ScheduleItem;
4
+ styles: Record<string, string>;
5
+ strListArr: (string | undefined)[];
6
+ handleClicks: (details: HandleClicksDetails) => boolean | void;
7
+ determineCTA: (scheduleItem: ScheduleItem) => CTA;
8
+ };
9
+ export declare function SportsItem({ scheduleItem, styles, strListArr, handleClicks, determineCTA, }: SportsItemProps): JSX.Element;
8
10
  export default SportsItem;
@@ -1,39 +1,51 @@
1
- import { jsx as t, jsxs as s } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as l } from "../../../utils/helpers.js";
4
- import { Concat as e } from "../../Concat/Concat.js";
5
- import { StringList as f } from "../../StringList/StringList.js";
6
- import { AirDateSegment as g } from "./AirDateSegment.js";
1
+ import { jsx as r, jsxs as m } from "react/jsx-runtime";
2
+ import { classes as g } from "../../../utils/helpers.js";
3
+ import { Concat as f } from "../../Concat/Concat.js";
4
+ import { StringList as l } from "../../StringList/StringList.js";
5
+ import { AirDateSegment as _ } from "./AirDateSegment.js";
7
6
  import { ImageCard as C } from "../../ImageCard/ImageCard.js";
8
- function j({ scheduleItem: i, styles: r, strListArr: a, handleClicks: n, determineCTA: p }) {
9
- var o;
10
- const m = [
11
- `<div>${i.title_name}</div>`,
12
- /* @__PURE__ */ t(f, { list: a, separatorType: "pipe" })
7
+ function c({
8
+ scheduleItem: i,
9
+ styles: o,
10
+ strListArr: a,
11
+ handleClicks: n,
12
+ determineCTA: p
13
+ }) {
14
+ var t;
15
+ const s = [
16
+ i.program_synopsis !== null && i.program_synopsis !== void 0 ? `<div>${i.program_synopsis}</div>` : "",
17
+ /* @__PURE__ */ r(l, { list: a, separatorType: "pipe" })
13
18
  ];
14
- return /* @__PURE__ */ s("li", { className: l([r["schedule-list__item"], "schedule-list__item"]), children: [
15
- /* @__PURE__ */ t(g, { scheduleItem: i, styles: r }),
16
- /* @__PURE__ */ t(
17
- C,
18
- {
19
- id: i.id,
20
- image: {
21
- url: ((o = i == null ? void 0 : i.content) == null ? void 0 : o.image) ?? "",
22
- altText: "",
23
- aspectRatio: 543 / 305
24
- },
25
- title: i.program,
26
- content: /* @__PURE__ */ t(e, { list: m }),
27
- cta: p(i),
28
- clampContentLines: !0,
29
- numberOfLinesToClamp: 5,
30
- displayInline: !0,
31
- handleClicks: n
32
- }
33
- )
34
- ] }, `schedule-list-${i.id}`);
19
+ return /* @__PURE__ */ m(
20
+ "li",
21
+ {
22
+ className: g([o["schedule-list__item"], "schedule-list__item"]),
23
+ children: [
24
+ /* @__PURE__ */ r(_, { scheduleItem: i, styles: o }),
25
+ /* @__PURE__ */ r(
26
+ C,
27
+ {
28
+ clampContentLines: !0,
29
+ displayInline: !0,
30
+ content: /* @__PURE__ */ r(f, { list: s }),
31
+ cta: p(i),
32
+ handleClicks: n,
33
+ id: i.id,
34
+ image: {
35
+ url: ((t = i == null ? void 0 : i.content) == null ? void 0 : t.image) ?? "",
36
+ altText: "",
37
+ aspectRatio: 543 / 305
38
+ },
39
+ numberOfLinesToClamp: 5,
40
+ title: i.program
41
+ }
42
+ )
43
+ ]
44
+ },
45
+ `schedule-list-${i.id}`
46
+ );
35
47
  }
36
48
  export {
37
- j as SportsItem,
38
- j as default
49
+ c as SportsItem,
50
+ c as default
39
51
  };
@@ -1,4 +1,12 @@
1
- export function SectionedContent({ sections }: {
2
- sections?: never[] | undefined;
3
- }): import("react/jsx-runtime").JSX.Element;
1
+ type Section = {
2
+ header: {
3
+ type: 'primary' | 'secondary';
4
+ title: string;
5
+ };
6
+ content: string | JSX.Element;
7
+ };
8
+ type SectionedContentProps = {
9
+ sections?: Section[] | [];
10
+ };
11
+ export declare function SectionedContent({ sections }: SectionedContentProps): JSX.Element;
4
12
  export default SectionedContent;
@@ -1,29 +1,28 @@
1
- import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
- import a from "react";
3
- import { p as h } from "../../index-VjANCDXC.mjs";
4
- import { classes as n } from "../../utils/helpers.js";
5
- import '../../assets/SectionedContent.css';const i = "_h2_16wib_6", l = "_h3_16wib_6", o = {
1
+ import { jsx as t, jsxs as d, Fragment as s } from "react/jsx-runtime";
2
+ import { p as a } from "../../index-VjANCDXC.mjs";
3
+ import { classes as o } from "../../utils/helpers.js";
4
+ import '../../assets/SectionedContent.css';const i = "_h2_16wib_6", l = "_h3_16wib_6", r = {
6
5
  "sectioned-content__content": "_sectioned-content__content_16wib_1",
7
6
  h2: i,
8
7
  h3: l
9
8
  };
10
- function u({ sections: c = [] }) {
11
- const r = /* @__PURE__ */ new Map([
9
+ function f({ sections: n = [] }) {
10
+ const c = /* @__PURE__ */ new Map([
12
11
  ["primary", {
13
- open: `<h1 class="${n(["h2", o.h2])}">`,
12
+ open: `<h1 class="${o(["h2", r.h2])}">`,
14
13
  close: "</h1>"
15
14
  }],
16
15
  ["secondary", {
17
- open: `<h2 class="${n(["h3", o.h3])}">`,
16
+ open: `<h2 class="${o(["h3", r.h3])}">`,
18
17
  close: "</h2>"
19
18
  }]
20
19
  ]);
21
- return /* @__PURE__ */ t("sectioned-content", { children: c.length && c.map((e, s) => e.content !== "" ? /* @__PURE__ */ _(a.Fragment, { children: [
22
- h(r.get(e.header.type).open + e.header.title + r.get(e.header.type).close),
23
- /* @__PURE__ */ t("div", { className: n([o["sectioned-content__content"], "sectioned-content__content"]), children: typeof e.content == "string" ? h(e.content) : e.content })
24
- ] }, `section-${e.title}-${s}`) : /* @__PURE__ */ t(a.Fragment, {}, `section--${s}`)) });
20
+ return n.length ? /* @__PURE__ */ t("sectioned-content", { children: n.length && n.map((e, h) => e.content !== void 0 && e.content !== "" && e.header !== void 0 ? /* @__PURE__ */ d(s, { children: [
21
+ a(c.get(e.header.type).open + e.header.title + c.get(e.header.type).close),
22
+ /* @__PURE__ */ t("div", { className: o([r["sectioned-content__content"], "sectioned-content__content"]), children: typeof e.content == "string" ? a(e.content) : e.content })
23
+ ] }, `section-${e.header.title}-${h}`) : /* @__PURE__ */ t(s, {}, `section--${h}`)) }) : /* @__PURE__ */ t("sectioned-content", {});
25
24
  }
26
25
  export {
27
- u as SectionedContent,
28
- u as default
26
+ f as SectionedContent,
27
+ f as default
29
28
  };
@@ -1 +1,2 @@
1
- export { SectionedContent, SectionedContent as default } from './SectionedContent';
1
+ export { SectionedContent } from './SectionedContent';
2
+ export { SectionedContent as default } from './SectionedContent';
@@ -1,12 +1,16 @@
1
- export function Select({ name, label, helpText, multiple, options, width, initValue, showValidation, ...attributes }: {
2
- [x: string]: any;
3
- name: any;
4
- label: any;
5
- helpText: any;
6
- multiple?: boolean | undefined;
7
- options: any;
8
- width: any;
9
- initValue?: string | undefined;
10
- showValidation?: boolean | undefined;
11
- }): import("react/jsx-runtime").JSX.Element;
1
+ type SelectOption = {
2
+ label: string;
3
+ value: string | number;
4
+ };
5
+ type SelectProps = {
6
+ name: string;
7
+ label: string;
8
+ helpText?: string;
9
+ multiple?: boolean;
10
+ options: SelectOption[];
11
+ width: string;
12
+ initValue?: string;
13
+ showValidation?: boolean;
14
+ } & React.SelectHTMLAttributes<HTMLSelectElement>;
15
+ export declare function Select({ name, label, helpText, multiple, options, width, initValue, showValidation, ...attributes }: SelectProps): JSX.Element;
12
16
  export default Select;
@@ -1,61 +1,61 @@
1
- import { jsxs as t, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as c, useRef as j } from "react";
3
3
  import { s as e, C as k, A as x } from "../../Form.module-Cd8qH2rj.mjs";
4
4
  function B({
5
5
  name: i,
6
6
  label: _,
7
7
  helpText: v,
8
- multiple: s = !1,
8
+ multiple: r = !1,
9
9
  options: N,
10
- width: r,
10
+ width: s,
11
11
  initValue: b = "",
12
12
  showValidation: o = !0,
13
13
  ...C
14
14
  }) {
15
15
  var m, h, p;
16
- const [g, y] = c(`${e["form-field__input"]}`), a = j(), [d, u] = c(""), [f, S] = c("clean"), V = `input-width--${r}`, $ = () => {
17
- S("touched"), y(`${e["form-field__input"]} ${e["input--touched"]}`), a.current.checkValidity() ? u("") : u(a.current.validationMessage);
16
+ const [g, y] = c(`${e["form-field__input"]}`), l = j(null), [u, d] = c(""), [f, S] = c("clean"), V = `input-width--${s}`, $ = () => {
17
+ S("touched"), l.current && (y(`${e["form-field__input"]} ${e["input--touched"]}`), l.current.checkValidity() ? d("") : d(l.current.validationMessage));
18
18
  };
19
- return /* @__PURE__ */ t("label", { htmlFor: i, className: [e["form-field"], e[V], e["form-field--select"]].join(" "), children: [
20
- o && /* @__PURE__ */ t(
19
+ return /* @__PURE__ */ a("label", { className: [e["form-field"], e[V], e["form-field--select"]].join(" "), htmlFor: i, children: [
20
+ o && /* @__PURE__ */ a(
21
21
  "i",
22
22
  {
23
23
  className: [
24
24
  e["form-field__icon"],
25
- (m = a.current) != null && m.validity.valid ? "" : e["form-field__icon--invalid"]
25
+ (m = l.current) != null && m.validity.valid ? "" : e["form-field__icon--invalid"]
26
26
  ].join(" "),
27
27
  children: [
28
- ((h = a.current) == null ? void 0 : h.checkValidity()) && f === "touched" && /* @__PURE__ */ l(k, {}),
29
- !((p = a.current) != null && p.checkValidity()) && f === "touched" && /* @__PURE__ */ l(x, {})
28
+ ((h = l.current) == null ? void 0 : h.checkValidity()) && f === "touched" && /* @__PURE__ */ t(k, {}),
29
+ !((p = l.current) != null && p.checkValidity()) && f === "touched" && /* @__PURE__ */ t(x, {})
30
30
  ]
31
31
  }
32
32
  ),
33
- /* @__PURE__ */ t("span", { className: e["form-field__label"], children: [
33
+ /* @__PURE__ */ a("span", { className: e["form-field__label"], children: [
34
34
  _,
35
35
  " ",
36
- /* @__PURE__ */ l("span", { className: e["form-field__label-help"], children: v })
36
+ /* @__PURE__ */ t("span", { className: e["form-field__label-help"], children: v })
37
37
  ] }),
38
- /* @__PURE__ */ t(
38
+ /* @__PURE__ */ a(
39
39
  "select",
40
40
  {
41
41
  className: g,
42
- name: i,
42
+ defaultValue: b,
43
43
  id: i,
44
- multiple: s,
44
+ multiple: r,
45
+ name: i,
46
+ ref: l,
45
47
  onBlur: () => {
46
48
  $();
47
49
  },
48
- ref: a,
49
- defaultValue: b,
50
50
  ...C,
51
51
  children: [
52
- !s && Number.parseInt(r, 10) > 20 && /* @__PURE__ */ l("option", { value: "", children: "-- Select One --" }),
53
- !s && Number.parseInt(r, 10) <= 20 && /* @__PURE__ */ l("option", { value: "" }),
54
- N.map((n) => /* @__PURE__ */ l("option", { value: n.value, children: n.label }, `option-${n.value}`))
52
+ !r && Number.parseInt(s, 10) > 20 && /* @__PURE__ */ t("option", { value: "", children: "-- Select One --" }),
53
+ !r && Number.parseInt(s, 10) <= 20 && /* @__PURE__ */ t("option", { value: "" }),
54
+ N.map((n) => /* @__PURE__ */ t("option", { value: n.value, children: n.label }, `option-${n.value}`))
55
55
  ]
56
56
  }
57
57
  ),
58
- d !== "" && o && /* @__PURE__ */ l("div", { className: e["form-field__error-message"], children: d })
58
+ u !== "" && o && /* @__PURE__ */ t("div", { className: e["form-field__error-message"], children: u })
59
59
  ] });
60
60
  }
61
61
  export {
@@ -1 +1,2 @@
1
- export { Select, Select as default } from './Select';
1
+ export { Select } from './Select';
2
+ export { Select as default } from './Select';
@@ -1,14 +1,16 @@
1
- export function ShowAboutContent({ series, castStr, showUpcoming, type, nextAirDates, socialShare, }: {
2
- series: any;
3
- castStr: any;
4
- showUpcoming: any;
5
- type: any;
6
- nextAirDates: any;
1
+ import { Series } from '../../types';
2
+ type ShowAboutContentProps = {
3
+ series: Series;
4
+ castStr: string;
5
+ showUpcoming: boolean;
6
+ type: 'series' | 'film' | 'unknown';
7
+ nextAirDates: Array<string>;
7
8
  socialShare?: {
8
9
  enabled: boolean;
9
10
  url: string;
10
11
  text: string;
11
12
  longtext: string;
12
- } | undefined;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ };
14
+ };
15
+ export declare function ShowAboutContent({ series, castStr, showUpcoming, type, nextAirDates, socialShare, }: ShowAboutContentProps): JSX.Element;
14
16
  export default ShowAboutContent;
@@ -1,36 +1,35 @@
1
- import { jsxs as o, Fragment as d, jsx as n } from "react/jsx-runtime";
2
- import "react";
3
- import { p as i } from "../../index-VjANCDXC.mjs";
4
- import { classes as s } from "../../utils/helpers.js";
5
- import { SectionedContent as p } from "../SectionedContent/SectionedContent.js";
6
- import { GenericList as m } from "../GenericList/GenericList.js";
7
- import { SocialShareBlock as u } from "../SocialShareBlock/SocialShareBlock.js";
8
- import '../../assets/ShowAboutContent.css';const g = {
1
+ import { jsxs as a, Fragment as d, jsx as n } from "react/jsx-runtime";
2
+ import { p as l } from "../../index-VjANCDXC.mjs";
3
+ import { classes as p } from "../../utils/helpers.js";
4
+ import { SectionedContent as m } from "../SectionedContent/SectionedContent.js";
5
+ import { GenericList as u } from "../GenericList/GenericList.js";
6
+ import { SocialShareBlock as g } from "../SocialShareBlock/SocialShareBlock.js";
7
+ import '../../assets/ShowAboutContent.css';const s = {
9
8
  "show-about-content__social-share": "_show-about-content__social-share_80z85_1"
10
9
  };
11
- function k({
10
+ function v({
12
11
  series: t,
13
- castStr: a,
14
- showUpcoming: l,
12
+ castStr: e,
13
+ showUpcoming: i,
15
14
  type: r,
16
15
  nextAirDates: c,
17
- socialShare: e = {
16
+ socialShare: o = {
18
17
  enabled: !1,
19
18
  url: "",
20
19
  text: "",
21
20
  longtext: ""
22
21
  }
23
22
  }) {
24
- const h = () => c.length > 0 ? /* @__PURE__ */ o("div", { className: "upcoming-airings", children: [
23
+ const h = () => c.length > 0 ? /* @__PURE__ */ a("div", { className: "upcoming-airings", children: [
25
24
  /* @__PURE__ */ n("h3", { className: "h5", children: "Upcoming Airings" }),
26
- /* @__PURE__ */ n(m, { list: c, classname: "upcoming-airings__list" })
27
- ] }) : /* @__PURE__ */ o("div", { className: "upcoming-airings", children: [
25
+ /* @__PURE__ */ n(u, { classname: "upcoming-airings__list", list: c })
26
+ ] }) : /* @__PURE__ */ a("div", { className: "upcoming-airings", children: [
28
27
  /* @__PURE__ */ n("h3", { className: "h5", children: "Upcoming Airings" }),
29
- /* @__PURE__ */ n("p", { children: r === "series" ? i(`This show doesn't have any episodes scheduled in the next two weeks. Please check back to see when it will be airing again.<br></br>Or you can view our <a href="/schedule" className="inline-anchor">full schedule</a> to see what shows are airing.`) : i(`This movie doesn't have any airings in the next two weeks. Please check back to see when it will be airing again.<br></br>Or you can view our <a href="/schedule" className="inline-anchor">full schedule</a> to see what shows are airing.`) })
28
+ /* @__PURE__ */ n("p", { children: r === "series" ? l(`This show doesn't have any episodes scheduled in the next two weeks. Please check back to see when it will be airing again.<br></br>Or you can view our <a href="/schedule" className="inline-anchor">full schedule</a> to see what shows are airing.`) : l(`This movie doesn't have any airings in the next two weeks. Please check back to see when it will be airing again.<br></br>Or you can view our <a href="/schedule" className="inline-anchor">full schedule</a> to see what shows are airing.`) })
30
29
  ] });
31
- return /* @__PURE__ */ o(d, { children: [
30
+ return /* @__PURE__ */ a(d, { children: [
32
31
  /* @__PURE__ */ n(
33
- p,
32
+ m,
34
33
  {
35
34
  sections: [
36
35
  {
@@ -38,14 +37,14 @@ function k({
38
37
  type: "primary",
39
38
  title: `About ${t.title}`
40
39
  },
41
- content: t.series_synopsis
40
+ content: t != null && t.series_synopsis ? t == null ? void 0 : t.series_synopsis : ""
42
41
  },
43
42
  {
44
43
  header: {
45
44
  type: "secondary",
46
45
  title: "Starring"
47
46
  },
48
- content: a === "" ? "" : `<p>${a}</p>`
47
+ content: e === "" ? "" : `<p>${e}</p>`
49
48
  },
50
49
  {
51
50
  header: {
@@ -71,18 +70,18 @@ function k({
71
70
  ]
72
71
  }
73
72
  ),
74
- e.enabled && /* @__PURE__ */ n("div", { className: s([g["show-about-content__social-share"], "show-about-content__social-share"]), children: /* @__PURE__ */ n(
75
- u,
73
+ o.enabled && /* @__PURE__ */ n("div", { className: p([s["show-about-content__social-share"], "show-about-content__social-share"]), children: /* @__PURE__ */ n(
74
+ g,
76
75
  {
77
- url: e.url,
78
- text: e.text,
79
- longtext: e.longtext
76
+ longtext: o.longtext,
77
+ text: o.text,
78
+ url: o.url
80
79
  }
81
80
  ) }),
82
- l && h()
81
+ i && h()
83
82
  ] });
84
83
  }
85
84
  export {
86
- k as ShowAboutContent,
87
- k as default
85
+ v as ShowAboutContent,
86
+ v as default
88
87
  };
@@ -1 +1,2 @@
1
- export { ShowAboutContent, ShowAboutContent as default } from './ShowAboutContent';
1
+ export { ShowAboutContent } from './ShowAboutContent';
2
+ export { ShowAboutContent as default } from './ShowAboutContent';
@@ -1,14 +1,16 @@
1
- export function ShowAboutLayout({ series, type, showUpcoming, nextAirdates, firstColumnWidth, socialShare }: {
2
- series: any;
3
- type?: string | undefined;
4
- showUpcoming?: boolean | undefined;
5
- nextAirdates?: never[] | undefined;
6
- firstColumnWidth?: string | undefined;
1
+ import { Series } from '../../types';
2
+ type ShowAboutLayoutProps = {
3
+ series: Series;
4
+ type?: 'series' | 'film' | 'unknown';
5
+ showUpcoming?: boolean;
6
+ nextAirdates?: Array<string>;
7
+ firstColumnWidth?: string;
7
8
  socialShare?: {
8
9
  enabled: boolean;
9
10
  url: string;
10
11
  text: string;
11
12
  longtext: string;
12
- } | undefined;
13
- }): import("react/jsx-runtime").JSX.Element;
13
+ };
14
+ };
15
+ export declare function ShowAboutLayout({ series, type, showUpcoming, nextAirdates, firstColumnWidth, socialShare, }: ShowAboutLayoutProps): JSX.Element;
14
16
  export default ShowAboutLayout;