@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,27 +1,30 @@
1
- const g = async ({ network: l, platformsApiUrl: s }) => {
1
+ const c = async ({
2
+ network: l,
3
+ platformsApiUrl: s
4
+ }) => {
2
5
  try {
3
6
  const r = await fetch(`${s}/${l}`);
4
7
  if (r != null && r.ok) {
5
8
  const a = await r.json();
6
9
  let o = /* @__PURE__ */ new Map();
7
- for (let e = 0; e < a.length; e++)
8
- o.set(a[e].category, a[e].viewing_platforms.map((t, n) => ({
9
- id: `${a[e].category.slug}-${n}`,
10
- image_url: t != null && t.override_image ? t.image_override : t.platform.image,
11
- alt_text: t.platform.name,
12
- link: t.link_url,
13
- target: (t == null ? void 0 : t.target) ?? "_blank"
10
+ for (let t = 0; t < a.length; t++)
11
+ o.set(a[t].category, a[t].viewing_platforms.map((e, n) => ({
12
+ id: `${a[t].category.slug}-${n}`,
13
+ image_url: e != null && e.override_image ? e.image_override : e.platform.image,
14
+ alt_text: e.platform.name,
15
+ link: e.link_url,
16
+ target: (e == null ? void 0 : e.target) ?? "_blank"
14
17
  })));
15
18
  return o;
16
19
  } else
17
- return console.log(`An error was returned from fetch. HTTP Response Code: ', ${r == null ? void 0 : r.status}`), {
20
+ return console.error(`An error was returned from fetch. HTTP Response Code: ', ${r == null ? void 0 : r.status}`), {
18
21
  error: {
19
22
  type: "Fetch Response Error",
20
23
  statusCode: r == null ? void 0 : r.status
21
24
  }
22
25
  };
23
26
  } catch (r) {
24
- return console.log("Fetch failed with error:", r), {
27
+ return console.error("Fetch failed with error:", r), {
25
28
  error: {
26
29
  type: "Fetch Failed",
27
30
  message: r
@@ -30,5 +33,5 @@ const g = async ({ network: l, platformsApiUrl: s }) => {
30
33
  }
31
34
  };
32
35
  export {
33
- g as getViewingPlatforms
36
+ c as getViewingPlatforms
34
37
  };
package/dist/utils/gtm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useEffect as a } from "react";
2
2
  const r = ({ gtmId: e = null }) => (a(() => {
3
- if (e !== null) {
3
+ if (e !== null && typeof document < "u") {
4
4
  const t = document.createElement("script");
5
5
  t.innerHTML = `(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
6
6
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
@@ -24,15 +24,15 @@ export function getMinutesFromStr(timeLenghtStr: any): string;
24
24
  */
25
25
  export function getHoursMinsStr(timeLenghtInMins: number): string;
26
26
  /**
27
- * Converts a string to a slug
28
- *
29
- * convert all characters to lowercase, trim whitespace
30
- * replace spaces, dashes and underscores with a dash (-)
31
- * remove special characters
32
- *
33
- * @param {string} str
34
- * @returns {string} - the slugified string
35
- */
27
+ * Converts a string to a slug
28
+ *
29
+ * convert all characters to lowercase, trim whitespace
30
+ * replace spaces, dashes and underscores with a dash (-)
31
+ * remove special characters
32
+ *
33
+ * @param {string} str
34
+ * @returns {string} - the slugified string
35
+ */
36
36
  export function slugify(str: string): string;
37
37
  /**
38
38
  * Formats a phone number input to the format
@@ -1,35 +1,37 @@
1
- const h = (e, t) => {
2
- let n = [];
3
- for (let r = 0; r <= Math.floor(t.length / e); r++)
4
- t.slice(r * e, e * (r + 1)).length && n.push(t.slice(r * e, e * (r + 1)));
5
- return n;
6
- }, m = (e) => {
1
+ import { l as f } from "../logger-C0N7U0YY.mjs";
2
+ f.setComponent("utils/helpers");
3
+ const w = (e, t) => {
4
+ let r = [];
5
+ for (let n = 0; n <= Math.floor(t.length / e); n++)
6
+ t.slice(n * e, e * (n + 1)).length && r.push(t.slice(n * e, e * (n + 1)));
7
+ return r;
8
+ }, $ = (e) => {
7
9
  if (e === "" || e === void 0 || e === null) return "";
8
- const [t, n] = e.split(":");
9
- return `${Number.parseInt(t, 10) * 60 + Number.parseInt(n, 10)} MIN`;
10
- }, w = (e) => {
10
+ const [t, r] = e.split(":");
11
+ return `${Number.parseInt(t, 10) * 60 + Number.parseInt(r, 10)} MIN`;
12
+ }, v = (e) => {
11
13
  if (e == null) return "";
12
- const t = Math.floor(e / 60), n = e % 60, r = t > 0 ? `${t} HR${t > 1 ? "S" : ""}` : "", s = n > 0 ? `${n} MIN${n > 1 ? "S" : ""}` : "";
13
- return `${r} ${s}`;
14
- }, $ = (e) => {
15
- const [t, n] = e.split(" ");
16
- let [r, s] = t.split(":");
17
- return r === "12" && (r = "00"), n === "PM" && (r = parseInt(r, 10) + 12), r.length === 1 && (r = `0${r}`), `${r}:${s}`;
18
- }, v = (e) => e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, ""), y = (e = "") => {
14
+ const t = Math.floor(e / 60), r = e % 60, n = t > 0 ? `${t} HR${t > 1 ? "S" : ""}` : "", s = r > 0 ? `${r} MIN${r > 1 ? "S" : ""}` : "";
15
+ return `${n} ${s}`;
16
+ }, y = (e) => {
17
+ const [t, r] = e.split(" ");
18
+ let [n, s] = t.split(":");
19
+ return n === "12" && (n = "00"), r === "PM" && (n = parseInt(n, 10) + 12), n.length === 1 && (n = `0${n}`), `${n}:${s}`;
20
+ }, b = (e) => e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, ""), T = (e = "") => {
19
21
  const t = e.replace(/\D/ig, "");
20
- let n = "";
21
- return t.length > 0 && t.length < 3 && (n = `(${t}`), t.length >= 3 && t.length < 6 && (n = `(${t.slice(0, 3)}) ${t.slice(3, 6)}`), t.length >= 6 && (n = `(${t.slice(0, 3)}) ${t.slice(3, 6)}-${t.slice(6)}`), n;
22
- }, b = (e = []) => e.flat().filter((t) => t && typeof t == "string").join(" "), T = (e) => {
23
- const t = Object.keys(e).filter((n) => !!e[n]);
24
- return t.length ? "?" + t.map((n) => `${n}=${encodeURIComponent(e[n])}`).join("&") : "";
22
+ let r = "";
23
+ return t.length > 0 && t.length < 3 && (r = `(${t}`), t.length >= 3 && t.length < 6 && (r = `(${t.slice(0, 3)}) ${t.slice(3, 6)}`), t.length >= 6 && (r = `(${t.slice(0, 3)}) ${t.slice(3, 6)}-${t.slice(6)}`), r;
24
+ }, C = (e = []) => e.flat().filter((t) => t && typeof t == "string").join(" "), A = (e) => {
25
+ const t = Object.keys(e).filter((r) => !!e[r]);
26
+ return t.length ? "?" + t.map((r) => `${r}=${encodeURIComponent(e[r])}`).join("&") : "";
25
27
  };
26
- function A(e, t = 650, n = 450, r = "no", s = "no", o = "no") {
27
- const l = window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - t / 2, c = window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - n / 2, u = {
28
- height: n,
28
+ function P(e, t = 650, r = 450, n = "no", s = "no", o = "no") {
29
+ const l = window.outerWidth / 2 + (window.screenX || window.screenLeft || 0) - t / 2, c = window.outerHeight / 2 + (window.screenY || window.screenTop || 0) - r / 2, u = {
30
+ height: r,
29
31
  width: t,
30
32
  left: l,
31
33
  top: c,
32
- location: r,
34
+ location: n,
33
35
  toolbar: "no",
34
36
  status: "no",
35
37
  directories: "no",
@@ -45,14 +47,14 @@ function A(e, t = 650, n = 450, r = "no", s = "no", o = "no") {
45
47
  Object.keys(u).map((a) => `${a}=${u[a]}`).join(",")
46
48
  );
47
49
  }
48
- const C = (e) => e.split("_").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join("");
49
- function P(e) {
50
- const t = e.split(" "), n = [t[0].toLowerCase()];
51
- for (let r = 1; r < t.length; r++)
52
- n.push(t[r].charAt(0).toUpperCase() + t[r].slice(1).toLowerCase());
53
- return n.join("");
50
+ const S = (e) => e.split("_").map((t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()).join("");
51
+ function E(e) {
52
+ const t = e.split(" "), r = [t[0].toLowerCase()];
53
+ for (let n = 1; n < t.length; n++)
54
+ r.push(t[n].charAt(0).toUpperCase() + t[n].slice(1).toLowerCase());
55
+ return r.join("");
54
56
  }
55
- const S = (e) => {
57
+ const M = (e) => {
56
58
  if (e && (e.__typename === "SeriesItem" || e.__typename === "MovieItem") && e.slug && !e.preventDetailPage) {
57
59
  let t = "";
58
60
  switch (e.__typename) {
@@ -66,52 +68,54 @@ const S = (e) => {
66
68
  return t;
67
69
  }
68
70
  return "";
69
- }, E = (e) => {
70
- var t, n;
71
- return e != null && e.altTextOverride ? e.altTextOverride : (n = (t = e == null ? void 0 : e.image) == null ? void 0 : t[0]) != null && n.alt ? e.image[0].alt : "";
72
- }, M = () => "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0, _ = (e = []) => {
71
+ }, _ = (e) => {
72
+ var t, r;
73
+ return e != null && e.altTextOverride ? e.altTextOverride : (r = (t = e == null ? void 0 : e.image) == null ? void 0 : t[0]) != null && r.alt ? e.image[0].alt : "";
74
+ }, D = () => "ontouchstart" in window || // eslint-disable-next-line no-undef
75
+ navigator.maxTouchPoints > 0 || // eslint-disable-next-line no-undef
76
+ navigator.msMaxTouchPoints > 0, H = (e = []) => {
73
77
  const t = setInterval(() => {
74
78
  document.body && (clearInterval(t), e.forEach((s) => {
75
79
  const { id: o } = s;
76
- document.getElementById(o) || r({ ...s }).then(() => {
77
- console.log("Script tag added successfully");
80
+ document.getElementById(o) || n({ ...s }).then(() => {
81
+ f.log("Script tag added successfully");
78
82
  }).catch((c) => {
79
- n("Error adding script tag", c);
83
+ r("Error adding script tag", c);
80
84
  });
81
85
  }));
82
- }, 100), n = (s, o) => {
83
- console.warn(s), console.error(o);
84
- }, r = ({
86
+ }, 100), r = (s, o) => {
87
+ f.warn(s), f.error(o);
88
+ }, n = ({
85
89
  id: s,
86
90
  src: o = null,
87
91
  textContent: l = null,
88
92
  async: c = !1,
89
93
  defer: u = !1,
90
- insertInHead: p = !1
91
- }) => new Promise((a, f) => {
92
- !o && !l && f(), o && l && f();
93
- const i = document.createElement("script"), d = () => {
94
- i.removeEventListener("load", d), a();
95
- }, g = () => {
96
- i.removeEventListener("error", g), f();
94
+ insertInHead: d = !1
95
+ }) => new Promise((a, p) => {
96
+ !o && !l && p(), o && l && p();
97
+ const i = document.createElement("script"), g = () => {
98
+ i.removeEventListener("load", g), a();
99
+ }, h = () => {
100
+ i.removeEventListener("error", h), p();
97
101
  };
98
- o !== null && typeof o == "string" && i.setAttribute("src", o), i.textContent = l !== null && typeof l == "string" ? l : null, s !== null && typeof s == "string" && i.setAttribute("id", s), c && i.setAttribute("async", c), u && i.setAttribute("defer", u), i.addEventListener("load", d), i.addEventListener("error", g), p ? document.head.appendChild(i) : document.body.appendChild(i);
102
+ o !== null && typeof o == "string" && i.setAttribute("src", o), i.textContent = l !== null && typeof l == "string" ? l : null, s !== null && typeof s == "string" && i.setAttribute("id", s), c && i.setAttribute("async", c), u && i.setAttribute("defer", u), i.addEventListener("load", g), i.addEventListener("error", h), d ? document.head.appendChild(i) : document.body.appendChild(i);
99
103
  });
100
104
  };
101
105
  export {
102
- y as areaCodePhoneNumberMask,
103
- h as chunkArray,
104
- b as classes,
105
- $ as convert12to24,
106
- _ as createScriptTags,
107
- S as generateHrefFromProgramSlug,
108
- w as getHoursMinsStr,
109
- m as getMinutesFromStr,
110
- M as isTouchDevice,
111
- T as objectToGetParams,
112
- E as setAltText,
113
- v as slugify,
114
- C as snakeToPascal,
115
- P as stringToCamelCase,
116
- A as windowOpen
106
+ T as areaCodePhoneNumberMask,
107
+ w as chunkArray,
108
+ C as classes,
109
+ y as convert12to24,
110
+ H as createScriptTags,
111
+ M as generateHrefFromProgramSlug,
112
+ v as getHoursMinsStr,
113
+ $ as getMinutesFromStr,
114
+ D as isTouchDevice,
115
+ A as objectToGetParams,
116
+ _ as setAltText,
117
+ b as slugify,
118
+ S as snakeToPascal,
119
+ E as stringToCamelCase,
120
+ P as windowOpen
117
121
  };
@@ -1,14 +1,12 @@
1
+ import { ScheduleItem } from '../types.d.ts';
1
2
  /**
2
- * Derives the episode number from the title_code of
3
- * the program
4
- * @param {object} program
5
- * @param {string} program.title_code
3
+ * Derives a searchable seriesPrefix from the
4
+ * given seriesPrefix of format [prefix]_[addtional info]
5
+ * @param {string} seriesPrefix
6
6
  *
7
7
  * @returns {string}
8
8
  */
9
- export function determineEpisodeNumber(program: {
10
- title_code: string;
11
- }): string;
9
+ declare const determineSeriesPrefix: (seriesPrefix: string) => string;
12
10
  /**
13
11
  * Derives the season number from the title_code of
14
12
  * the program
@@ -17,9 +15,7 @@ export function determineEpisodeNumber(program: {
17
15
  *
18
16
  * @returns {string}
19
17
  */
20
- export function determineSeasonNumber(program: {
21
- title_code: string;
22
- }): string;
18
+ declare const determineSeasonNumber: (program: ScheduleItem) => string;
23
19
  /**
24
20
  *
25
21
  * @param {object} program
@@ -27,17 +23,16 @@ export function determineSeasonNumber(program: {
27
23
  *
28
24
  * @returns {string}
29
25
  */
30
- export function determineSeasonNumberFromSeriesPrefix(program: {
31
- series_prefix: string;
32
- }): string;
26
+ declare const determineSeasonNumberFromSeriesPrefix: (program: ScheduleItem) => string;
33
27
  /**
34
- * Derives a searchable seriesPrefix from the
35
- * given seriesPrefix of format [prefix]_[addtional info]
36
- * @param {string} seriesPrefix
28
+ * Derives the episode number from the title_code of
29
+ * the program
30
+ * @param {object} program
31
+ * @param {string} program.title_code
37
32
  *
38
33
  * @returns {string}
39
34
  */
40
- export function determineSeriesPrefix(seriesPrefix: string): string;
35
+ declare const determineEpisodeNumber: (program: ScheduleItem) => string;
41
36
  /**
42
37
  *
43
38
  * @param {object} program
@@ -45,6 +40,5 @@ export function determineSeriesPrefix(seriesPrefix: string): string;
45
40
  *
46
41
  * @returns {string}
47
42
  */
48
- export function determineProgramTitle(program: {
49
- program: string;
50
- }): string;
43
+ declare const determineProgramTitle: (program: ScheduleItem) => string;
44
+ export { determineEpisodeNumber, determineSeasonNumber, determineSeasonNumberFromSeriesPrefix, determineSeriesPrefix, determineProgramTitle, };
@@ -1,12 +1,13 @@
1
- const i = (e) => {
1
+ const s = (e) => {
2
2
  const t = e.indexOf("_");
3
3
  return t === -1 ? e : e.slice(0, t);
4
4
  }, u = (e) => {
5
+ if (!(e != null && e.title_code)) return "";
5
6
  if (e != null && e.season_number) return e.season_number;
6
7
  let t;
7
- for (let s = 0; s < e.title_code.length; s++)
8
- if (!isNaN(Number.parseInt(e.title_code.charAt(s), 10))) {
9
- t = s;
8
+ for (let i = 0; i < e.title_code.length; i++)
9
+ if (!isNaN(Number.parseInt(e.title_code.charAt(i), 10))) {
10
+ t = i;
10
11
  break;
11
12
  }
12
13
  let n = e.title_code.slice(t);
@@ -15,7 +16,7 @@ const i = (e) => {
15
16
  if (e != null && e.season_number) return e.season_number;
16
17
  const t = e.series_prefix.indexOf("_");
17
18
  return e.series_prefix.slice(t + 2 - e.series_prefix.length);
18
- }, r = (e) => e != null && e.episode_number ? e.episode_number : e.title_code.slice(-4).substring(2), c = (e) => {
19
+ }, c = (e) => e != null && e.episode_number ? e.episode_number : e != null && e.title_code ? e.title_code.slice(-4).substring(2) : "", d = (e) => {
19
20
  let t = e.program.length;
20
21
  for (let n = e.program.length - 1; n >= e.program.length - 4; n--)
21
22
  if (e.program.charAt(n) === "S") {
@@ -25,9 +26,9 @@ const i = (e) => {
25
26
  return e.program.slice(0, t).trim();
26
27
  };
27
28
  export {
28
- r as determineEpisodeNumber,
29
- c as determineProgramTitle,
29
+ c as determineEpisodeNumber,
30
+ d as determineProgramTitle,
30
31
  u as determineSeasonNumber,
31
32
  l as determineSeasonNumberFromSeriesPrefix,
32
- i as determineSeriesPrefix
33
+ s as determineSeriesPrefix
33
34
  };
@@ -1,14 +1,12 @@
1
+ import { ScheduleItem } from '../types';
1
2
  /**
2
- * Derives the episode number from the title_code of
3
- * the program
4
- * @param {object} program
5
- * @param {string} program.title_code
3
+ * Derives a searchable seriesPrefix from the
4
+ * given seriesPrefix of format [prefix]_[addtional info]
5
+ * @param {string} seriesPrefix
6
6
  *
7
7
  * @returns {string}
8
8
  */
9
- export function determineEpisodeNumber(program: {
10
- title_code: string;
11
- }): string;
9
+ declare const determineSeriesPrefix: (seriesPrefix: string) => string;
12
10
  /**
13
11
  * Derives the season number from the title_code of
14
12
  * the program
@@ -17,9 +15,7 @@ export function determineEpisodeNumber(program: {
17
15
  *
18
16
  * @returns {string}
19
17
  */
20
- export function determineSeasonNumber(program: {
21
- title_code: string;
22
- }): string;
18
+ declare const determineSeasonNumber: (program: ScheduleItem) => string;
23
19
  /**
24
20
  *
25
21
  * @param {object} program
@@ -27,17 +23,16 @@ export function determineSeasonNumber(program: {
27
23
  *
28
24
  * @returns {string}
29
25
  */
30
- export function determineSeasonNumberFromSeriesPrefix(program: {
31
- series_prefix: string;
32
- }): string;
26
+ declare const determineSeasonNumberFromSeriesPrefix: (program: ScheduleItem) => string;
33
27
  /**
34
- * Derives a searchable seriesPrefix from the
35
- * given seriesPrefix of format [prefix]_[addtional info]
36
- * @param {string} seriesPrefix
28
+ * Derives the episode number from the title_code of
29
+ * the program
30
+ * @param {object} program
31
+ * @param {string} program.title_code
37
32
  *
38
33
  * @returns {string}
39
34
  */
40
- export function determineSeriesPrefix(seriesPrefix: string): string;
35
+ declare const determineEpisodeNumber: (program: ScheduleItem) => string;
41
36
  /**
42
37
  *
43
38
  * @param {object} program
@@ -45,6 +40,5 @@ export function determineSeriesPrefix(seriesPrefix: string): string;
45
40
  *
46
41
  * @returns {string}
47
42
  */
48
- export function determineProgramTitle(program: {
49
- program: string;
50
- }): string;
43
+ declare const determineProgramTitle: (program: ScheduleItem) => string;
44
+ export { determineEpisodeNumber, determineSeasonNumber, determineSeasonNumberFromSeriesPrefix, determineSeriesPrefix, determineProgramTitle, };
@@ -1,12 +1,13 @@
1
- const i = (e) => {
1
+ const s = (e) => {
2
2
  const t = e.indexOf("_");
3
3
  return t === -1 ? e : e.slice(0, t);
4
4
  }, u = (e) => {
5
+ if (!(e != null && e.title_code)) return "";
5
6
  if (e != null && e.season_number) return e.season_number;
6
7
  let t;
7
- for (let s = 0; s < e.title_code.length; s++)
8
- if (!isNaN(Number.parseInt(e.title_code.charAt(s), 10))) {
9
- t = s;
8
+ for (let i = 0; i < e.title_code.length; i++)
9
+ if (!isNaN(Number.parseInt(e.title_code.charAt(i), 10))) {
10
+ t = i;
10
11
  break;
11
12
  }
12
13
  let n = e.title_code.slice(t);
@@ -15,7 +16,7 @@ const i = (e) => {
15
16
  if (e != null && e.season_number) return e.season_number;
16
17
  const t = e.series_prefix.indexOf("_");
17
18
  return e.series_prefix.slice(t + 2 - e.series_prefix.length);
18
- }, r = (e) => e != null && e.episode_number ? e.episode_number : e.title_code.slice(-4).substring(2), c = (e) => {
19
+ }, c = (e) => e != null && e.episode_number ? e.episode_number : e != null && e.title_code ? e.title_code.slice(-4).substring(2) : "", d = (e) => {
19
20
  let t = e.program.length;
20
21
  for (let n = e.program.length - 1; n >= e.program.length - 4; n--)
21
22
  if (e.program.charAt(n) === "S") {
@@ -25,9 +26,9 @@ const i = (e) => {
25
26
  return e.program.slice(0, t).trim();
26
27
  };
27
28
  export {
28
- r as determineEpisodeNumber,
29
- c as determineProgramTitle,
29
+ c as determineEpisodeNumber,
30
+ d as determineProgramTitle,
30
31
  u as determineSeasonNumber,
31
32
  l as determineSeasonNumberFromSeriesPrefix,
32
- i as determineSeriesPrefix
33
+ s as determineSeriesPrefix
33
34
  };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.0-alpha.1",
2
+ "version": "1.1.0-alpha.3",
3
3
  "name": "@scrippsproduct/networks-ui-library",
4
4
  "description": "React Component Library for use in Scripps Networks external applications",
5
5
  "author": {
@@ -26,7 +26,9 @@
26
26
  "build-storybook": "storybook build",
27
27
  "chromatic": "npx chromatic --project-token=f011f556f41a",
28
28
  "create-component": "node scripts/componentFolderBuilder.js",
29
- "reinstall-deps": "node ./reinstall-deps.js"
29
+ "reinstall-deps": "node ./reinstall-deps.js",
30
+ "login": "npm login",
31
+ "publish": "node scripts/publish-with-otp.mjs"
30
32
  },
31
33
  "dependencies": {
32
34
  "date-fns": "^3.6.0",
@@ -48,29 +50,30 @@
48
50
  "@chromatic-com/storybook": "^4.1.1",
49
51
  "@scrippsproduct/console-logger": "1.0.11",
50
52
  "@scrippsproduct/linter-configs": "0.0.7",
51
- "@storybook/addon-docs": "^9.1.13",
52
- "@storybook/addon-links": "^9.1.13",
53
- "@storybook/react-vite": "^9.1.13",
53
+ "@storybook/addon-docs": "^9.1.17",
54
+ "@storybook/addon-links": "^9.1.17",
55
+ "@storybook/react-vite": "^9.1.17",
54
56
  "@types/glob": "^8.1.0",
55
57
  "@types/react": "^18.3.3",
56
58
  "@types/react-dom": "^18.3.0",
59
+ "@types/video.js": "^7.3.58",
57
60
  "@typescript-eslint/eslint-plugin": "^8.46.3",
58
61
  "@typescript-eslint/parser": "^8.46.3",
59
62
  "@vitejs/plugin-react": "^4.3.1",
63
+ "@vitest/ui": "3.2.4",
60
64
  "babel-preset-react-app": "^10.0.1",
61
65
  "cross-env": "^7.0.3",
62
66
  "eslint": "^9.32.0",
63
67
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
64
68
  "eslint-plugin-react-refresh": "^0.4.9",
65
- "eslint-plugin-storybook": "^9.1.13",
66
- "storybook": "^9.1.13",
69
+ "eslint-plugin-storybook": "^9.1.17",
70
+ "jsdom": "^26.1.0",
71
+ "storybook": "^9.1.17",
67
72
  "typescript": "^5.8.2",
68
73
  "vite": "^6.4.1",
69
74
  "vite-plugin-dts": "^4.5.4",
70
75
  "vite-plugin-lib-inject-css": "^2.2.2",
71
76
  "vite-tsconfig-paths": "^5.1.4",
72
- "@vitest/ui": "3.2.4",
73
- "jsdom": "^26.1.0",
74
77
  "vitest": "^3.0.5"
75
78
  },
76
79
  "eslintConfig": {
@@ -120,15 +123,16 @@
120
123
  },
121
124
  "browserslist": {
122
125
  "production": [
123
- ">0.2%",
126
+ ">0.4%",
124
127
  "not dead",
125
128
  "not op_mini all",
126
- "not op_mob >= 1"
129
+ "not safari < 16",
130
+ "not firefox < 120"
127
131
  ],
128
132
  "development": [
129
- "last 1 chrome version",
130
- "last 1 firefox version",
131
- "last 1 safari version"
133
+ "last 5 chrome version",
134
+ "last 5 firefox version",
135
+ "last 5 safari version"
132
136
  ]
133
137
  }
134
138
  }
@@ -1,14 +0,0 @@
1
- import './assets/Carousel.css';const _ = "_carousel_60lzn_1", l = "_carousel__scroller_60lzn_11", o = {
2
- carousel: _,
3
- carousel__scroller: l,
4
- "carousel-controls": "_carousel-controls_60lzn_38",
5
- "carousel-controls__btn": "_carousel-controls__btn_60lzn_42",
6
- "carousel-controls__previous": "_carousel-controls__previous_60lzn_67",
7
- "carousel-controls__next": "_carousel-controls__next_60lzn_74",
8
- "carousel-nav": "_carousel-nav_60lzn_86",
9
- "carousel-nav__list": "_carousel-nav__list_60lzn_90",
10
- "carousel-nav__item": "_carousel-nav__item_60lzn_99"
11
- };
12
- export {
13
- o as c
14
- };
@@ -1,8 +0,0 @@
1
- import './assets/PageHero.css';const o = "_hero_4s6yo_1", e = {
2
- hero: o,
3
- "background-image": "_background-image_4s6yo_11",
4
- "mobile-background-image": "_mobile-background-image_4s6yo_12"
5
- };
6
- export {
7
- e as s
8
- };
@@ -1,14 +0,0 @@
1
- import './assets/ResultsTable.css';const _ = {
2
- "results-table": "_results-table_azyuq_1",
3
- "results-table__row": "_results-table__row_azyuq_4",
4
- "results-table__item": "_results-table__item_azyuq_9",
5
- "results-table__header": "_results-table__header_azyuq_9",
6
- "results-table__mobile-label": "_results-table__mobile-label_azyuq_24",
7
- "results-table__no-results": "_results-table__no-results_azyuq_34",
8
- "results-table--compact": "_results-table--compact_azyuq_40",
9
- "results-table__header-row": "_results-table__header-row_azyuq_50",
10
- "fade-in__wrapper": "_fade-in__wrapper_azyuq_113"
11
- };
12
- export {
13
- _ as s
14
- };
@@ -1,28 +0,0 @@
1
- import { default as NetworkCalloutSlide } from './NetworkCalloutSlide';
2
- declare namespace _default {
3
- export let title: string;
4
- export { NetworkCalloutSlide as component };
5
- export let tags: string[];
6
- export let args: {};
7
- }
8
- export default _default;
9
- export function Generic(args: any): import("react/jsx-runtime").JSX.Element;
10
- export namespace Generic {
11
- export let decorators: ((Story: any) => import("react/jsx-runtime").JSX.Element)[];
12
- export namespace args_1 {
13
- namespace network {
14
- let name: string;
15
- let tagline: string;
16
- namespace images {
17
- namespace logo {
18
- let url: string;
19
- }
20
- namespace callout {
21
- let url_1: string;
22
- export { url_1 as url };
23
- }
24
- }
25
- }
26
- }
27
- export { args_1 as args };
28
- }