@scrippsproduct/networks-ui-library 1.1.0-alpha.0 → 1.1.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) 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/ActionButton.css +1 -1
  7. package/dist/assets/AdBlock.css +1 -1
  8. package/dist/assets/AirDateFormatter.css +1 -1
  9. package/dist/assets/AnchorTag.css +1 -1
  10. package/dist/assets/BasicGridModule.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Carousel.css +1 -1
  13. package/dist/assets/CarouselSlide.css +1 -1
  14. package/dist/assets/ChannelSearch.css +1 -1
  15. package/dist/assets/ChoicesItem.css +1 -1
  16. package/dist/assets/ContentHero.css +1 -1
  17. package/dist/assets/CtaBlock.css +1 -1
  18. package/dist/assets/CustomDataList.css +1 -1
  19. package/dist/assets/DateNavigation.css +1 -1
  20. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  21. package/dist/assets/Figure.css +1 -1
  22. package/dist/assets/Figure2.css +1 -1
  23. package/dist/assets/FindUs.css +1 -1
  24. package/dist/assets/GradientButton.css +1 -1
  25. package/dist/assets/ImageCard.css +1 -1
  26. package/dist/assets/InlineNavigation.css +1 -1
  27. package/dist/assets/LogoListItem.css +1 -1
  28. package/dist/assets/ModalContainer.css +1 -1
  29. package/dist/assets/PageHero.css +1 -1
  30. package/dist/assets/ProgramAirdate.css +1 -1
  31. package/dist/assets/PromotionBlock.css +1 -1
  32. package/dist/assets/ResultsTable.css +1 -1
  33. package/dist/assets/ScheduleLayout.css +1 -0
  34. package/dist/assets/ScheduleList.css +1 -1
  35. package/dist/assets/ShowAboutLayout.css +1 -1
  36. package/dist/assets/ShowSlide.css +1 -1
  37. package/dist/assets/SocialLinks.css +1 -1
  38. package/dist/assets/TextSlide.css +1 -1
  39. package/dist/assets/TwoColumnSlide.css +1 -1
  40. package/dist/assets/UpcomingList.css +1 -1
  41. package/dist/components/ActionButton/ActionButton.d.ts +20 -1
  42. package/dist/components/ActionButton/ActionButton.js +36 -36
  43. package/dist/components/ActionButton/index.d.ts +2 -1
  44. package/dist/components/AdBlock/AdBlock.d.ts +20 -1
  45. package/dist/components/AdBlock/AdBlock.js +118 -83
  46. package/dist/components/AdBlock/index.d.ts +2 -1
  47. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
  48. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
  49. package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
  50. package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
  51. package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
  52. package/dist/components/AirDateFormatter/index.d.ts +2 -1
  53. package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
  54. package/dist/components/AnchorTag/AnchorTag.js +22 -23
  55. package/dist/components/AnchorTag/index.d.ts +2 -1
  56. package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
  57. package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
  58. package/dist/components/BCVideoPlayer/index.d.ts +2 -1
  59. package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
  60. package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
  61. package/dist/components/BasicGridModule/index.d.ts +2 -1
  62. package/dist/components/Button/Button.d.ts +18 -17
  63. package/dist/components/Button/Button.js +31 -32
  64. package/dist/components/Button/index.d.ts +2 -1
  65. package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
  66. package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
  67. package/dist/components/ButtonAnchor/index.d.ts +2 -1
  68. package/dist/components/Carousel/Carousel.d.ts +7 -24
  69. package/dist/components/Carousel/Carousel.js +113 -113
  70. package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
  71. package/dist/components/Carousel/CarouselUtils.class.js +85 -55
  72. package/dist/components/Carousel/index.d.ts +2 -1
  73. package/dist/components/Carousel/navigations/Pagination.js +12 -10
  74. package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
  75. package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
  76. package/dist/components/CarouselSlide/index.d.ts +2 -1
  77. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
  78. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
  79. package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
  80. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
  81. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
  82. package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
  83. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
  84. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
  85. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
  86. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
  87. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
  88. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
  89. package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
  90. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
  91. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
  92. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
  93. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
  94. package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
  95. package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
  96. package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
  97. package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
  98. package/dist/components/ChannelSearch/index.d.ts +2 -1
  99. package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
  100. package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
  101. package/dist/components/ChoicesItem/index.d.ts +2 -1
  102. package/dist/components/ChoicesItem/index.js +1 -1
  103. package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
  104. package/dist/components/ChoicesList/ChoicesList.js +3 -4
  105. package/dist/components/ChoicesList/index.d.ts +2 -1
  106. package/dist/components/Concat/Concat.d.ts +4 -3
  107. package/dist/components/Concat/Concat.js +5 -5
  108. package/dist/components/Concat/index.d.ts +2 -1
  109. package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
  110. package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
  111. package/dist/components/CreateChoiceList/index.d.ts +2 -1
  112. package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
  113. package/dist/components/CtaBlock/CtaBlock.js +23 -22
  114. package/dist/components/CtaBlock/index.d.ts +2 -1
  115. package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
  116. package/dist/components/CustomDataList/CustomDataList.js +200 -174
  117. package/dist/components/CustomDataList/index.d.ts +2 -1
  118. package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
  119. package/dist/components/CustomSelect/CustomSelect.js +224 -154
  120. package/dist/components/CustomSelect/index.d.ts +2 -1
  121. package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
  122. package/dist/components/DateNavigation/DateNavigation.js +125 -82
  123. package/dist/components/DateNavigation/index.d.ts +2 -1
  124. package/dist/components/DatePicker/index.d.ts +2 -1
  125. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
  126. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
  127. package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
  128. package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
  129. package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
  130. package/dist/components/DrawerNavigation/index.d.ts +2 -1
  131. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
  132. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
  133. package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
  134. package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
  135. package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
  136. package/dist/components/EqualSizeGrid/index.d.ts +2 -1
  137. package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
  138. package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
  139. package/dist/components/ErrorHandler/index.d.ts +2 -1
  140. package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
  141. package/dist/components/FeaturedList/FeaturedList.js +44 -36
  142. package/dist/components/FeaturedList/index.d.ts +2 -1
  143. package/dist/components/Figure/Figure.d.ts +5 -4
  144. package/dist/components/Figure/Figure.js +8 -9
  145. package/dist/components/Figure/index.d.ts +2 -1
  146. package/dist/components/FindUs/FindUs.d.ts +24 -1
  147. package/dist/components/FindUs/FindUs.js +70 -63
  148. package/dist/components/FindUs/index.d.ts +2 -1
  149. package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
  150. package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
  151. package/dist/components/FooterNavigation/index.d.ts +2 -1
  152. package/dist/components/GenericList/GenericList.d.ts +6 -5
  153. package/dist/components/GenericList/GenericList.js +13 -14
  154. package/dist/components/GenericList/index.d.ts +2 -1
  155. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
  156. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
  157. package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
  158. package/dist/components/GradientButton/GradientButton.d.ts +15 -14
  159. package/dist/components/GradientButton/GradientButton.js +37 -40
  160. package/dist/components/GradientButton/index.d.ts +2 -1
  161. package/dist/components/GridList/GridList.d.ts +6 -5
  162. package/dist/components/GridList/GridList.js +14 -10
  163. package/dist/components/GridList/index.d.ts +2 -1
  164. package/dist/components/ImageCard/ImageCard.d.ts +27 -1
  165. package/dist/components/ImageCard/ImageCard.js +59 -58
  166. package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
  167. package/dist/components/ImageCard/ImageCardCore.js +115 -89
  168. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
  169. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
  170. package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
  171. package/dist/components/InfoPanel/InfoPanel.js +2 -2
  172. package/dist/components/InfoPanel/index.d.ts +2 -1
  173. package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
  174. package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
  175. package/dist/components/Input/Input.d.ts +10 -9
  176. package/dist/components/Input/Input.js +47 -40
  177. package/dist/components/Input/index.d.ts +2 -1
  178. package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
  179. package/dist/components/InstructionsList/InstructionsList.js +20 -10
  180. package/dist/components/InstructionsList/index.d.ts +2 -1
  181. package/dist/components/Loading/Loading.d.ts +8 -7
  182. package/dist/components/Loading/Loading.js +25 -20
  183. package/dist/components/Loading/index.d.ts +2 -1
  184. package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
  185. package/dist/components/LoadingV2/LoadingV2.js +31 -21
  186. package/dist/components/LoadingV2/index.d.ts +2 -1
  187. package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
  188. package/dist/components/LogoListItem/LogoListItem.js +34 -17
  189. package/dist/components/LogoListItem/index.d.ts +2 -1
  190. package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
  191. package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
  192. package/dist/components/LogoNavigation/index.d.ts +2 -1
  193. package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
  194. package/dist/components/ModalContainer/ModalContainer.js +84 -72
  195. package/dist/components/ModalContainer/index.d.ts +2 -1
  196. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
  197. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
  198. package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
  199. package/dist/components/NavList/NavList.d.ts +9 -7
  200. package/dist/components/NavList/NavList.js +56 -20
  201. package/dist/components/NavList/index.d.ts +2 -1
  202. package/dist/components/Overlay/Overlay.d.ts +5 -5
  203. package/dist/components/Overlay/Overlay.js +8 -5
  204. package/dist/components/PageHero/PageHero.d.ts +6 -5
  205. package/dist/components/PageHero/PageHero.js +29 -16
  206. package/dist/components/PageHero/index.d.ts +2 -1
  207. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
  208. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
  209. package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
  210. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
  211. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
  212. package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
  213. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
  214. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
  215. package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
  216. package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
  217. package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
  218. package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
  219. package/dist/components/ProgramAirdate/index.d.ts +2 -1
  220. package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
  221. package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
  222. package/dist/components/PromotionBlock/index.d.ts +2 -1
  223. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
  224. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
  225. package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
  226. package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
  227. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
  228. package/dist/components/PromotionsRowModule/index.d.ts +2 -1
  229. package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
  230. package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
  231. package/dist/components/RescanInstructions/index.d.ts +2 -1
  232. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
  233. package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
  234. package/dist/components/ResponsiveImage/index.d.ts +2 -1
  235. package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
  236. package/dist/components/ResultsTable/ResultsTable.js +21 -16
  237. package/dist/components/ResultsTable/index.d.ts +2 -1
  238. package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
  239. package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
  240. package/dist/components/ResultsTableBody/index.d.ts +2 -1
  241. package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
  242. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
  243. package/dist/components/ResultsTableHeader/index.d.ts +2 -1
  244. package/dist/components/ScheduleLayout/ScheduleContext.d.ts +27 -0
  245. package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
  246. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
  247. package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
  248. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  249. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -0
  250. package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
  251. package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
  252. package/dist/components/ScheduleList/ScheduleList.js +162 -60
  253. package/dist/components/ScheduleList/index.d.ts +2 -1
  254. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
  255. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
  256. package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
  257. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
  258. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
  259. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +48 -32
  260. package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
  261. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
  262. package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
  263. package/dist/components/SectionedContent/SectionedContent.js +14 -15
  264. package/dist/components/SectionedContent/index.d.ts +2 -1
  265. package/dist/components/Select/Select.d.ts +15 -11
  266. package/dist/components/Select/Select.js +21 -21
  267. package/dist/components/Select/index.d.ts +2 -1
  268. package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
  269. package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
  270. package/dist/components/ShowAboutContent/index.d.ts +2 -1
  271. package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
  272. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
  273. package/dist/components/ShowAboutLayout/index.d.ts +2 -1
  274. package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
  275. package/dist/components/SocialLinks/SocialLinks.js +192 -138
  276. package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
  277. package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
  278. package/dist/components/SocialShareBlock/index.d.ts +2 -1
  279. package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
  280. package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
  281. package/dist/components/SocialShareButton/index.d.ts +2 -1
  282. package/dist/components/SocialShareButton/index.js +1 -1
  283. package/dist/components/StringList/StringList.d.ts +6 -5
  284. package/dist/components/StringList/StringList.js +16 -12
  285. package/dist/components/StringList/index.d.ts +2 -1
  286. package/dist/components/TabContent/TabContent.d.ts +5 -4
  287. package/dist/components/TabContent/TabContent.js +9 -7
  288. package/dist/components/TabContent/index.d.ts +2 -1
  289. package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
  290. package/dist/components/TabNavigation/TabNavigation.js +58 -53
  291. package/dist/components/TabNavigation/index.d.ts +2 -1
  292. package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
  293. package/dist/components/TabbedContent/TabbedContent.js +24 -8
  294. package/dist/components/TabbedContent/index.d.ts +2 -1
  295. package/dist/components/TextArea/TextArea.d.ts +9 -1
  296. package/dist/components/TextArea/TextArea.js +13 -13
  297. package/dist/components/TextArea/index.d.ts +2 -1
  298. package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
  299. package/dist/components/UpcomingList/UpcomingList.js +55 -41
  300. package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
  301. package/dist/containers/GetFeatruedListContainer.js +16 -16
  302. package/dist/containers/NowPlayingContainer.d.ts +17 -15
  303. package/dist/containers/NowPlayingContainer.js +18 -16
  304. package/dist/custom-elements.d.js +1 -0
  305. package/dist/data-resources/FakeDataResource.d.ts +77 -68
  306. package/dist/data-resources/FakeDataResource.js +244 -142
  307. package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
  308. package/dist/error-boundries/BlankErrorBoundry.js +5 -5
  309. package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
  310. package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
  311. package/dist/hooks/{useGetSchedule.d.ts → getSchedule.d.ts} +12 -4
  312. package/dist/hooks/getSchedule.js +62 -0
  313. package/dist/hooks/useGetUpcoming.d.ts +8 -6
  314. package/dist/hooks/useGetUpcoming.js +22 -25
  315. package/dist/icons/Facebook.js +6 -6
  316. package/dist/icons/Tiktok.js +15 -7
  317. package/dist/icons/Twitter.js +7 -7
  318. package/dist/index.d.ts +1 -0
  319. package/dist/index.js +35 -33
  320. package/dist/logger-C0N7U0YY.mjs +67 -0
  321. package/dist/settings.d.ts +4 -3
  322. package/dist/settings.js +6 -5
  323. package/dist/types.d.js +27 -0
  324. package/dist/utils/Redirect.d.ts +2 -2
  325. package/dist/utils/analytics.js +1 -1
  326. package/dist/utils/date-helpers.d.ts +3 -2
  327. package/dist/utils/date-helpers.js +26 -26
  328. package/dist/utils/events.js +8 -6
  329. package/dist/utils/getFeaturedList.d.ts +28 -8
  330. package/dist/utils/getFeaturedList.js +58 -45
  331. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  332. package/dist/utils/getFeaturedListImages.js +27 -16
  333. package/dist/utils/getOnNowProgram.d.ts +17 -3
  334. package/dist/utils/getOnNowProgram.js +106 -68
  335. package/dist/utils/getSchedule.d.ts +8 -6
  336. package/dist/utils/getSchedule.js +6 -1
  337. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  338. package/dist/utils/getUpcomingPrograms.js +5 -4
  339. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  340. package/dist/utils/getViewingPlatforms.js +14 -11
  341. package/dist/utils/gtm.js +1 -1
  342. package/dist/utils/helpers.d.ts +9 -9
  343. package/dist/utils/helpers.js +69 -65
  344. package/dist/utils/program-helpers.d.ts +14 -20
  345. package/dist/utils/program-helpers.js +9 -8
  346. package/dist/utils/series-helpers.d.ts +14 -20
  347. package/dist/utils/series-helpers.js +9 -8
  348. package/package.json +23 -13
  349. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  350. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  351. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  352. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
  353. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
  354. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  355. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  356. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  357. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  358. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
  359. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
  360. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  361. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  362. package/dist/facebook-HCcA1M1m.mjs +0 -54
  363. package/dist/hooks/useGetSchedule.js +0 -58
@@ -1,58 +1,107 @@
1
- import { jsx as a, Fragment as s, jsxs as y } from "react/jsx-runtime";
2
- import "react";
3
- import { getHoursMinsStr as k, classes as u } from "../../utils/helpers.js";
1
+ import { jsx as a, Fragment as y, jsxs as T } from "react/jsx-runtime";
2
+ import { getHoursMinsStr as k, classes as l } from "../../utils/helpers.js";
4
3
  import { Concat as c } from "../Concat/Concat.js";
5
4
  import { StringList as o } from "../StringList/StringList.js";
6
- import { ImageCard as T } from "../ImageCard/ImageCard.js";
7
- import { AdjustableTwoColumnGrid as h } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
8
- import { ShowAboutContent as x } from "../ShowAboutContent/ShowAboutContent.js";
9
- import '../../assets/ShowAboutLayout.css';const i = {
10
- "series-about-tab": "_series-about-tab_cekq9_1"
5
+ import { ImageCard as x } from "../ImageCard/ImageCard.js";
6
+ import { AdjustableTwoColumnGrid as s } from "../AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js";
7
+ import { ShowAboutContent as S } from "../ShowAboutContent/ShowAboutContent.js";
8
+ import '../../assets/ShowAboutLayout.css';const u = {
9
+ "series-about-tab": "_series-about-tab_1325e_1"
11
10
  };
12
11
  function F({
13
12
  series: t,
14
13
  type: n = "series",
15
14
  showUpcoming: p = !1,
16
- nextAirdates: g = [],
17
- firstColumnWidth: b = "33%",
18
- socialShare: e = {
15
+ nextAirdates: i = [],
16
+ firstColumnWidth: g = "33%",
17
+ socialShare: b = {
19
18
  enabled: !1,
20
19
  url: "",
21
20
  text: "",
22
21
  longtext: ""
23
22
  }
24
23
  }) {
25
- var m, l;
26
- const d = t.cast.map((_) => _.real_name).join(", "), f = t != null && t.run_time ? k(t.run_time) : "", r = n === "series" ? ["TV Series", t.rating] : [t != null && t.year_released ? t == null ? void 0 : t.year_released : "Film", t.rating, f];
27
- return console.log("social share in ShowAboutLayout: ", e), /* @__PURE__ */ a(s, { children: /* @__PURE__ */ y(h, { classname: u([i["series-about-tab"], "series-about-tab"]), firstColumnWidth: b, children: [
28
- t.detailImage === null ? /* @__PURE__ */ a(c, { list: [
29
- typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(o, { list: t.genres, separatorType: "comma", makeBlock: !0 }),
30
- /* @__PURE__ */ a(o, { list: r, separatorType: "pipe", makeBlock: !0 })
31
- ] }) : /* @__PURE__ */ a(
32
- T,
33
- {
34
- image: {
35
- url: (m = t.detailImage) == null ? void 0 : m.url,
36
- aspectRatio: (l = t.detailImage) == null ? void 0 : l.aspectRatio
37
- },
38
- content: /* @__PURE__ */ a(c, { list: [
39
- typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(o, { list: t.genres, separatorType: "comma", makeBlock: !0 }),
40
- /* @__PURE__ */ a(o, { list: r, separatorType: "pipe", makeBlock: !0 })
41
- ] })
42
- }
43
- ),
44
- /* @__PURE__ */ a("div", { className: u([i["series-about-tab__content"], "series-about-tab__content"]), children: /* @__PURE__ */ a(
45
- x,
46
- {
47
- series: t,
48
- showUpcoming: p,
49
- castStr: d,
50
- type: n,
51
- nextAirDates: g,
52
- socialShare: e
53
- }
54
- ) })
55
- ] }) });
24
+ var r, m;
25
+ const d = t.cast ? t.cast.map((_) => _.real_name).join(", ") : "", f = t != null && t.run_time ? k(t.run_time) : "", e = n === "series" ? ["TV Series", t.rating] : [
26
+ t != null && t.year_released ? t == null ? void 0 : t.year_released : "Film",
27
+ t.rating,
28
+ f
29
+ ];
30
+ return /* @__PURE__ */ a(y, { children: /* @__PURE__ */ T(
31
+ s,
32
+ {
33
+ classname: l([u["series-about-tab"], "series-about-tab"]),
34
+ firstColumnWidth: g,
35
+ children: [
36
+ t.detailImage === null ? /* @__PURE__ */ a(
37
+ c,
38
+ {
39
+ list: [
40
+ typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(
41
+ o,
42
+ {
43
+ makeBlock: !0,
44
+ list: t.genres || [],
45
+ separatorType: "comma"
46
+ }
47
+ ),
48
+ /* @__PURE__ */ a(
49
+ o,
50
+ {
51
+ makeBlock: !0,
52
+ list: e || [],
53
+ separatorType: "pipe"
54
+ }
55
+ )
56
+ ]
57
+ }
58
+ ) : /* @__PURE__ */ a(
59
+ x,
60
+ {
61
+ content: /* @__PURE__ */ a(
62
+ c,
63
+ {
64
+ list: [
65
+ typeof t.genres == "string" ? t.genres : /* @__PURE__ */ a(
66
+ o,
67
+ {
68
+ makeBlock: !0,
69
+ list: t.genres || [],
70
+ separatorType: "comma"
71
+ }
72
+ ),
73
+ /* @__PURE__ */ a(
74
+ o,
75
+ {
76
+ makeBlock: !0,
77
+ list: e,
78
+ separatorType: "pipe"
79
+ }
80
+ )
81
+ ]
82
+ }
83
+ ),
84
+ image: {
85
+ url: ((r = t.detailImage) == null ? void 0 : r.url) || "",
86
+ aspectRatio: ((m = t.detailImage) == null ? void 0 : m.aspectRatio) || 16 / 9,
87
+ altText: `Image for ${t.title}`
88
+ }
89
+ }
90
+ ),
91
+ /* @__PURE__ */ a("div", { className: l([u["series-about-tab__content"], "series-about-tab__content"]), children: /* @__PURE__ */ a(
92
+ S,
93
+ {
94
+ castStr: d,
95
+ nextAirDates: i,
96
+ series: t,
97
+ showUpcoming: p,
98
+ socialShare: b,
99
+ type: n
100
+ }
101
+ ) })
102
+ ]
103
+ }
104
+ ) });
56
105
  }
57
106
  export {
58
107
  F as ShowAboutLayout,
@@ -1 +1,2 @@
1
- export { ShowAboutLayout, ShowAboutLayout as default } from './ShowAboutLayout';
1
+ export { ShowAboutLayout } from './ShowAboutLayout';
2
+ export { ShowAboutLayout as default } from './ShowAboutLayout';
@@ -1,11 +1,17 @@
1
- export function SocialLinks({ onClickHandler, size, showHeader, headerText, platforms }: {
2
- onClickHandler?: (() => boolean) | undefined;
3
- size?: number | undefined;
4
- showHeader?: boolean | undefined;
5
- headerText?: string | undefined;
6
- platforms?: {
7
- platform: string;
1
+ import { Image } from '../../types';
2
+ type SocialLinksProps = {
3
+ onClickHandler?: (event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => boolean;
4
+ size?: number;
5
+ showHeader?: boolean;
6
+ headerText?: string;
7
+ platforms?: Array<{
8
+ platform: 'facebook' | 'instagram' | 'linkedin' | 'youtube' | 'tiktok' | 'twitter' | string;
8
9
  url: string;
9
- }[] | undefined;
10
- }): import("react/jsx-runtime").JSX.Element;
10
+ svgAttrs?: {
11
+ [key: string]: string | number;
12
+ };
13
+ image?: Image;
14
+ }>;
15
+ };
16
+ export declare function SocialLinks({ onClickHandler, size, showHeader, headerText, platforms, }: SocialLinksProps): JSX.Element;
11
17
  export default SocialLinks;
@@ -1,61 +1,109 @@
1
- import { jsxs as b, jsx as p } from "react/jsx-runtime";
2
- import l, { forwardRef as v } from "react";
3
- import { classes as f } from "../../utils/helpers.js";
1
+ import { jsxs as j, jsx as c } from "react/jsx-runtime";
2
+ import { classes as p } from "../../utils/helpers.js";
4
3
  import _ from "../../icons/Tiktok.js";
5
- import j from "../../icons/Twitter.js";
6
- import { ImageReplacementAnchor as x } from "../ImageReplacementAnchor/ImageReplacementAnchor.js";
7
- import { F as z } from "../../facebook-HCcA1M1m.mjs";
4
+ import x from "../../icons/Twitter.js";
5
+ import { ImageReplacementAnchor as z } from "../ImageReplacementAnchor/ImageReplacementAnchor.js";
6
+ import s, { forwardRef as u } from "react";
8
7
  import { P as a } from "../../index-DC2JJV3a.mjs";
9
- import '../../assets/SocialLinks.css';function m() {
10
- return m = Object.assign || function(e) {
8
+ import '../../assets/SocialLinks.css';function h() {
9
+ return h = Object.assign || function(t) {
11
10
  for (var i = 1; i < arguments.length; i++) {
12
- var n = arguments[i];
13
- for (var t in n)
14
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
11
+ var r = arguments[i];
12
+ for (var e in r)
13
+ Object.prototype.hasOwnProperty.call(r, e) && (t[e] = r[e]);
15
14
  }
16
- return e;
17
- }, m.apply(this, arguments);
15
+ return t;
16
+ }, h.apply(this, arguments);
18
17
  }
19
- function E(e, i) {
20
- if (e == null) return {};
21
- var n = P(e, i), t, o;
18
+ function P(t, i) {
19
+ if (t == null) return {};
20
+ var r = $(t, i), e, n;
22
21
  if (Object.getOwnPropertySymbols) {
23
- var r = Object.getOwnPropertySymbols(e);
24
- for (o = 0; o < r.length; o++)
25
- t = r[o], !(i.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
22
+ var o = Object.getOwnPropertySymbols(t);
23
+ for (n = 0; n < o.length; n++)
24
+ e = o[n], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (r[e] = t[e]);
26
25
  }
27
- return n;
26
+ return r;
28
27
  }
29
- function P(e, i) {
30
- if (e == null) return {};
31
- var n = {}, t = Object.keys(e), o, r;
32
- for (r = 0; r < t.length; r++)
33
- o = t[r], !(i.indexOf(o) >= 0) && (n[o] = e[o]);
34
- return n;
28
+ function $(t, i) {
29
+ if (t == null) return {};
30
+ var r = {}, e = Object.keys(t), n, o;
31
+ for (o = 0; o < e.length; o++)
32
+ n = e[o], !(i.indexOf(n) >= 0) && (r[n] = t[n]);
33
+ return r;
35
34
  }
36
- var k = v(function(e, i) {
37
- var n = e.color, t = n === void 0 ? "currentColor" : n, o = e.size, r = o === void 0 ? 24 : o, c = E(e, ["color", "size"]);
38
- return /* @__PURE__ */ l.createElement("svg", m({
35
+ var y = u(function(t, i) {
36
+ var r = t.color, e = r === void 0 ? "currentColor" : r, n = t.size, o = n === void 0 ? 24 : n, l = P(t, ["color", "size"]);
37
+ return /* @__PURE__ */ s.createElement("svg", h({
39
38
  ref: i,
40
39
  xmlns: "http://www.w3.org/2000/svg",
41
- width: r,
42
- height: r,
40
+ width: o,
41
+ height: o,
43
42
  viewBox: "0 0 24 24",
44
43
  fill: "none",
45
- stroke: t,
44
+ stroke: e,
46
45
  strokeWidth: "2",
47
46
  strokeLinecap: "round",
48
47
  strokeLinejoin: "round"
49
- }, c), /* @__PURE__ */ l.createElement("rect", {
48
+ }, l), /* @__PURE__ */ s.createElement("path", {
49
+ d: "M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"
50
+ }));
51
+ });
52
+ y.propTypes = {
53
+ color: a.string,
54
+ size: a.oneOfType([a.string, a.number])
55
+ };
56
+ y.displayName = "Facebook";
57
+ function g() {
58
+ return g = Object.assign || function(t) {
59
+ for (var i = 1; i < arguments.length; i++) {
60
+ var r = arguments[i];
61
+ for (var e in r)
62
+ Object.prototype.hasOwnProperty.call(r, e) && (t[e] = r[e]);
63
+ }
64
+ return t;
65
+ }, g.apply(this, arguments);
66
+ }
67
+ function E(t, i) {
68
+ if (t == null) return {};
69
+ var r = L(t, i), e, n;
70
+ if (Object.getOwnPropertySymbols) {
71
+ var o = Object.getOwnPropertySymbols(t);
72
+ for (n = 0; n < o.length; n++)
73
+ e = o[n], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (r[e] = t[e]);
74
+ }
75
+ return r;
76
+ }
77
+ function L(t, i) {
78
+ if (t == null) return {};
79
+ var r = {}, e = Object.keys(t), n, o;
80
+ for (o = 0; o < e.length; o++)
81
+ n = e[o], !(i.indexOf(n) >= 0) && (r[n] = t[n]);
82
+ return r;
83
+ }
84
+ var k = u(function(t, i) {
85
+ var r = t.color, e = r === void 0 ? "currentColor" : r, n = t.size, o = n === void 0 ? 24 : n, l = E(t, ["color", "size"]);
86
+ return /* @__PURE__ */ s.createElement("svg", g({
87
+ ref: i,
88
+ xmlns: "http://www.w3.org/2000/svg",
89
+ width: o,
90
+ height: o,
91
+ viewBox: "0 0 24 24",
92
+ fill: "none",
93
+ stroke: e,
94
+ strokeWidth: "2",
95
+ strokeLinecap: "round",
96
+ strokeLinejoin: "round"
97
+ }, l), /* @__PURE__ */ s.createElement("rect", {
50
98
  x: "2",
51
99
  y: "2",
52
100
  width: "20",
53
101
  height: "20",
54
102
  rx: "5",
55
103
  ry: "5"
56
- }), /* @__PURE__ */ l.createElement("path", {
104
+ }), /* @__PURE__ */ s.createElement("path", {
57
105
  d: "M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"
58
- }), /* @__PURE__ */ l.createElement("line", {
106
+ }), /* @__PURE__ */ s.createElement("line", {
59
107
  x1: "17.5",
60
108
  y1: "6.5",
61
109
  x2: "17.51",
@@ -67,132 +115,132 @@ k.propTypes = {
67
115
  size: a.oneOfType([a.string, a.number])
68
116
  };
69
117
  k.displayName = "Instagram";
70
- function g() {
71
- return g = Object.assign || function(e) {
118
+ function m() {
119
+ return m = Object.assign || function(t) {
72
120
  for (var i = 1; i < arguments.length; i++) {
73
- var n = arguments[i];
74
- for (var t in n)
75
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
121
+ var r = arguments[i];
122
+ for (var e in r)
123
+ Object.prototype.hasOwnProperty.call(r, e) && (t[e] = r[e]);
76
124
  }
77
- return e;
78
- }, g.apply(this, arguments);
125
+ return t;
126
+ }, m.apply(this, arguments);
79
127
  }
80
- function $(e, i) {
81
- if (e == null) return {};
82
- var n = L(e, i), t, o;
128
+ function W(t, i) {
129
+ if (t == null) return {};
130
+ var r = T(t, i), e, n;
83
131
  if (Object.getOwnPropertySymbols) {
84
- var r = Object.getOwnPropertySymbols(e);
85
- for (o = 0; o < r.length; o++)
86
- t = r[o], !(i.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
132
+ var o = Object.getOwnPropertySymbols(t);
133
+ for (n = 0; n < o.length; n++)
134
+ e = o[n], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (r[e] = t[e]);
87
135
  }
88
- return n;
136
+ return r;
89
137
  }
90
- function L(e, i) {
91
- if (e == null) return {};
92
- var n = {}, t = Object.keys(e), o, r;
93
- for (r = 0; r < t.length; r++)
94
- o = t[r], !(i.indexOf(o) >= 0) && (n[o] = e[o]);
95
- return n;
138
+ function T(t, i) {
139
+ if (t == null) return {};
140
+ var r = {}, e = Object.keys(t), n, o;
141
+ for (o = 0; o < e.length; o++)
142
+ n = e[o], !(i.indexOf(n) >= 0) && (r[n] = t[n]);
143
+ return r;
96
144
  }
97
- var y = v(function(e, i) {
98
- var n = e.color, t = n === void 0 ? "currentColor" : n, o = e.size, r = o === void 0 ? 24 : o, c = $(e, ["color", "size"]);
99
- return /* @__PURE__ */ l.createElement("svg", g({
145
+ var w = u(function(t, i) {
146
+ var r = t.color, e = r === void 0 ? "currentColor" : r, n = t.size, o = n === void 0 ? 24 : n, l = W(t, ["color", "size"]);
147
+ return /* @__PURE__ */ s.createElement("svg", m({
100
148
  ref: i,
101
149
  xmlns: "http://www.w3.org/2000/svg",
102
- width: r,
103
- height: r,
150
+ width: o,
151
+ height: o,
104
152
  viewBox: "0 0 24 24",
105
153
  fill: "none",
106
- stroke: t,
154
+ stroke: e,
107
155
  strokeWidth: "2",
108
156
  strokeLinecap: "round",
109
157
  strokeLinejoin: "round"
110
- }, c), /* @__PURE__ */ l.createElement("path", {
158
+ }, l), /* @__PURE__ */ s.createElement("path", {
111
159
  d: "M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"
112
- }), /* @__PURE__ */ l.createElement("rect", {
160
+ }), /* @__PURE__ */ s.createElement("rect", {
113
161
  x: "2",
114
162
  y: "9",
115
163
  width: "4",
116
164
  height: "12"
117
- }), /* @__PURE__ */ l.createElement("circle", {
165
+ }), /* @__PURE__ */ s.createElement("circle", {
118
166
  cx: "4",
119
167
  cy: "4",
120
168
  r: "2"
121
169
  }));
122
170
  });
123
- y.propTypes = {
171
+ w.propTypes = {
124
172
  color: a.string,
125
173
  size: a.oneOfType([a.string, a.number])
126
174
  };
127
- y.displayName = "Linkedin";
128
- function h() {
129
- return h = Object.assign || function(e) {
175
+ w.displayName = "Linkedin";
176
+ function v() {
177
+ return v = Object.assign || function(t) {
130
178
  for (var i = 1; i < arguments.length; i++) {
131
- var n = arguments[i];
132
- for (var t in n)
133
- Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
179
+ var r = arguments[i];
180
+ for (var e in r)
181
+ Object.prototype.hasOwnProperty.call(r, e) && (t[e] = r[e]);
134
182
  }
135
- return e;
136
- }, h.apply(this, arguments);
183
+ return t;
184
+ }, v.apply(this, arguments);
137
185
  }
138
- function W(e, i) {
139
- if (e == null) return {};
140
- var n = T(e, i), t, o;
186
+ function C(t, i) {
187
+ if (t == null) return {};
188
+ var r = I(t, i), e, n;
141
189
  if (Object.getOwnPropertySymbols) {
142
- var r = Object.getOwnPropertySymbols(e);
143
- for (o = 0; o < r.length; o++)
144
- t = r[o], !(i.indexOf(t) >= 0) && Object.prototype.propertyIsEnumerable.call(e, t) && (n[t] = e[t]);
190
+ var o = Object.getOwnPropertySymbols(t);
191
+ for (n = 0; n < o.length; n++)
192
+ e = o[n], !(i.indexOf(e) >= 0) && Object.prototype.propertyIsEnumerable.call(t, e) && (r[e] = t[e]);
145
193
  }
146
- return n;
194
+ return r;
147
195
  }
148
- function T(e, i) {
149
- if (e == null) return {};
150
- var n = {}, t = Object.keys(e), o, r;
151
- for (r = 0; r < t.length; r++)
152
- o = t[r], !(i.indexOf(o) >= 0) && (n[o] = e[o]);
153
- return n;
196
+ function I(t, i) {
197
+ if (t == null) return {};
198
+ var r = {}, e = Object.keys(t), n, o;
199
+ for (o = 0; o < e.length; o++)
200
+ n = e[o], !(i.indexOf(n) >= 0) && (r[n] = t[n]);
201
+ return r;
154
202
  }
155
- var d = v(function(e, i) {
156
- var n = e.color, t = n === void 0 ? "currentColor" : n, o = e.size, r = o === void 0 ? 24 : o, c = W(e, ["color", "size"]);
157
- return /* @__PURE__ */ l.createElement("svg", h({
203
+ var b = u(function(t, i) {
204
+ var r = t.color, e = r === void 0 ? "currentColor" : r, n = t.size, o = n === void 0 ? 24 : n, l = C(t, ["color", "size"]);
205
+ return /* @__PURE__ */ s.createElement("svg", v({
158
206
  ref: i,
159
207
  xmlns: "http://www.w3.org/2000/svg",
160
- width: r,
161
- height: r,
208
+ width: o,
209
+ height: o,
162
210
  viewBox: "0 0 24 24",
163
211
  fill: "none",
164
- stroke: t,
212
+ stroke: e,
165
213
  strokeWidth: "2",
166
214
  strokeLinecap: "round",
167
215
  strokeLinejoin: "round"
168
- }, c), /* @__PURE__ */ l.createElement("path", {
216
+ }, l), /* @__PURE__ */ s.createElement("path", {
169
217
  d: "M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"
170
- }), /* @__PURE__ */ l.createElement("polygon", {
218
+ }), /* @__PURE__ */ s.createElement("polygon", {
171
219
  points: "9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"
172
220
  }));
173
221
  });
174
- d.propTypes = {
222
+ b.propTypes = {
175
223
  color: a.string,
176
224
  size: a.oneOfType([a.string, a.number])
177
225
  };
178
- d.displayName = "Youtube";
179
- const u = {
180
- "social-link": "_social-link_1pbud_1",
181
- "social-link__icon": "_social-link__icon_1pbud_12"
182
- }, C = /* @__PURE__ */ new Map([
183
- ["facebook", z],
226
+ b.displayName = "Youtube";
227
+ const f = {
228
+ "social-link": "_social-link_10ug9_1",
229
+ "social-link__icon": "_social-link__icon_10ug9_12"
230
+ }, N = /* @__PURE__ */ new Map([
231
+ ["facebook", y],
184
232
  ["instagram", k],
185
- ["linkedin", y],
186
- ["youtube", d],
233
+ ["linkedin", w],
234
+ ["youtube", b],
187
235
  ["tiktok", _],
188
- ["twitter", j]
236
+ ["twitter", x]
189
237
  ]);
190
- function Y({
191
- onClickHandler: e = () => !0,
238
+ function H({
239
+ onClickHandler: t = () => !0,
192
240
  size: i = 1.4,
193
- showHeader: n = !1,
194
- headerText: t = "Follow Us",
195
- platforms: o = [
241
+ showHeader: r = !1,
242
+ headerText: e = "Follow Us",
243
+ platforms: n = [
196
244
  {
197
245
  platform: "facebook",
198
246
  url: "https://www.facebook.com/EWScrippsCo"
@@ -211,50 +259,56 @@ function Y({
211
259
  }
212
260
  ]
213
261
  }) {
214
- return /* @__PURE__ */ b("div", { className: f([u["social-links"], "social-links"]), children: [
215
- n && /* @__PURE__ */ p("h4", { className: f([
216
- u["social-links__header"],
217
- "social-links__header"
218
- ]), children: t }),
219
- o.map((r, c) => {
220
- const { platform: s, url: w } = r, O = r != null && r.image ? r.image : C.get(s);
221
- return r != null && r.image ? /* @__PURE__ */ p(
222
- x,
262
+ return /* @__PURE__ */ j("div", { className: p([f["social-links"], "social-links"]), children: [
263
+ r && /* @__PURE__ */ c(
264
+ "h4",
265
+ {
266
+ className: p([
267
+ f["social-links__header"],
268
+ "social-links__header"
269
+ ]),
270
+ children: e
271
+ }
272
+ ),
273
+ n.map((o) => {
274
+ const { platform: l, url: d } = o, O = N.get(l);
275
+ return o != null && o.image ? /* @__PURE__ */ c(
276
+ z,
223
277
  {
224
- image: r.image,
225
- text: s,
226
- target: "_blank",
227
- href: w,
278
+ classname: p([f["social-link"], "social-link", `social-link--${l}`]),
228
279
  height: i,
229
- classname: f([u["social-link"], "social-link", `social-link--${s}`])
280
+ href: d,
281
+ image: o.image,
282
+ target: "_blank",
283
+ text: l
230
284
  },
231
- `social-link-${s}`
232
- ) : /* @__PURE__ */ p(
285
+ `social-link-${l}`
286
+ ) : O ? /* @__PURE__ */ c(
233
287
  "a",
234
288
  {
235
- href: w,
236
- className: f([u["social-link"], "social-link", `social-link--${s}`]),
237
- onClick: e,
238
- target: "_blank",
289
+ className: p([f["social-link"], "social-link", `social-link--${l}`]),
290
+ href: d,
239
291
  rel: "noreferrer",
240
- children: /* @__PURE__ */ b("i", { children: [
241
- /* @__PURE__ */ p("span", { className: "sr-only", children: s }),
242
- /* @__PURE__ */ p(
292
+ target: "_blank",
293
+ onClick: t,
294
+ children: /* @__PURE__ */ j("i", { children: [
295
+ /* @__PURE__ */ c("span", { className: "sr-only", children: l }),
296
+ /* @__PURE__ */ c(
243
297
  O,
244
298
  {
245
- className: f([u["social-link__icon"], "social-link__icon"]),
299
+ className: p([f["social-link__icon"], "social-link__icon"]),
246
300
  size: `${i}rem`,
247
- ...r.svgAttrs
301
+ ...o.svgAttrs
248
302
  }
249
303
  )
250
304
  ] })
251
305
  },
252
- `social-link-${s}`
253
- );
306
+ `social-link-${l}`
307
+ ) : null;
254
308
  })
255
309
  ] });
256
310
  }
257
311
  export {
258
- Y as SocialLinks,
259
- Y as default
312
+ H as SocialLinks,
313
+ H as default
260
314
  };
@@ -1,9 +1,10 @@
1
- export function SocialShareBlock({ url, text, longtext, showHeader, headerText, iconSize, }: {
2
- url: any;
3
- text: any;
4
- longtext: any;
5
- showHeader?: boolean | undefined;
6
- headerText?: string | undefined;
7
- iconSize?: string | undefined;
8
- }): import("react/jsx-runtime").JSX.Element;
1
+ type SocialShareBlockProps = {
2
+ url: string;
3
+ text: string;
4
+ longtext: string;
5
+ showHeader?: boolean;
6
+ headerText?: string;
7
+ iconSize?: string;
8
+ };
9
+ export declare function SocialShareBlock({ url, text, longtext, showHeader, headerText, iconSize, }: SocialShareBlockProps): JSX.Element;
9
10
  export default SocialShareBlock;