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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) 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 +114 -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 +25 -0
  245. package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
  246. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
  247. package/dist/components/ScheduleLayout/ScheduleLayout.js +76 -24
  248. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  249. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -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 +153 -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 +27 -16
  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 +53 -37
  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 +12 -4
  312. package/dist/hooks/useGetSchedule.js +31 -27
  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.js +1 -1
  319. package/dist/logger-C0N7U0YY.mjs +67 -0
  320. package/dist/settings.d.ts +4 -3
  321. package/dist/settings.js +6 -5
  322. package/dist/types.d.js +27 -0
  323. package/dist/utils/Redirect.d.ts +2 -2
  324. package/dist/utils/analytics.js +1 -1
  325. package/dist/utils/date-helpers.d.ts +3 -2
  326. package/dist/utils/date-helpers.js +26 -26
  327. package/dist/utils/events.js +8 -6
  328. package/dist/utils/getFeaturedList.d.ts +28 -8
  329. package/dist/utils/getFeaturedList.js +58 -45
  330. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  331. package/dist/utils/getFeaturedListImages.js +27 -16
  332. package/dist/utils/getOnNowProgram.d.ts +17 -3
  333. package/dist/utils/getOnNowProgram.js +106 -68
  334. package/dist/utils/getSchedule.d.ts +8 -6
  335. package/dist/utils/getSchedule.js +6 -1
  336. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  337. package/dist/utils/getUpcomingPrograms.js +5 -4
  338. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  339. package/dist/utils/getViewingPlatforms.js +14 -11
  340. package/dist/utils/gtm.js +1 -1
  341. package/dist/utils/helpers.d.ts +9 -9
  342. package/dist/utils/helpers.js +69 -65
  343. package/dist/utils/program-helpers.d.ts +14 -20
  344. package/dist/utils/program-helpers.js +9 -8
  345. package/dist/utils/series-helpers.d.ts +14 -20
  346. package/dist/utils/series-helpers.js +9 -8
  347. package/package.json +16 -8
  348. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  349. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  350. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  351. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
  352. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
  353. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  354. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  355. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  356. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  357. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
  358. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
  359. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  360. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  361. package/dist/facebook-HCcA1M1m.mjs +0 -54
@@ -1,3 +1,22 @@
1
+ import { default as React } from 'react';
2
+ type ActionButtonProps = {
3
+ label: string;
4
+ type?: 'button' | 'submit' | 'reset';
5
+ onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
6
+ varient?: string;
7
+ size?: string;
8
+ customColors?: {
9
+ bgColor: string;
10
+ bgHoverColor: string;
11
+ color: string;
12
+ hoverColor: string;
13
+ borderColor: string;
14
+ borderHoverColor: string;
15
+ };
16
+ disabled?: boolean;
17
+ classname?: string;
18
+ [key: string]: unknown;
19
+ };
1
20
  /**
2
21
  * ActionButton component for rendering a button that will display a loading state.
3
22
  * @param {*} param0 - Component props.
@@ -18,5 +37,5 @@
18
37
  * @param {object} param0.attributes - Additional attributes to be applied to the button.
19
38
  * @returns {JSX.Element} The rendered action button.
20
39
  */
21
- export function ActionButton({ label, type, onClick, varient, size, customColors, disabled, classname, ...attributes }: any): JSX.Element;
40
+ export declare function ActionButton({ label, type, onClick, varient, size, customColors, disabled, classname, ...attributes }: ActionButtonProps): JSX.Element;
22
41
  export default ActionButton;
@@ -1,22 +1,22 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { useState as C, useEffect as H } from "react";
3
- import { subscribe as w, unsubscribe as y, publish as x } from "../../utils/events.js";
4
- import { classes as N } from "../../utils/helpers.js";
5
- import '../../assets/ActionButton.css';const S = "_scale_9huvk_1", n = {
6
- "action-btn": "_action-btn_9huvk_1",
7
- "action-btn--small": "_action-btn--small_9huvk_31",
8
- "action-btn--large": "_action-btn--large_9huvk_38",
9
- "action-btn--primary": "_action-btn--primary_9huvk_45",
10
- "action-btn--action": "_action-btn--action_9huvk_54",
11
- "action-btn--info": "_action-btn--info_9huvk_63",
12
- "action-btn--danger": "_action-btn--danger_9huvk_72",
13
- "dots-pulse": "_dots-pulse_9huvk_97",
14
- scale: S
1
+ import { jsxs as b, jsx as t } from "react/jsx-runtime";
2
+ import { useState as z, useEffect as H } from "react";
3
+ import { subscribe as w, unsubscribe as y, publish as k } from "../../utils/events.js";
4
+ import { classes as x } from "../../utils/helpers.js";
5
+ import '../../assets/ActionButton.css';const N = "_scale_zgv2f_1", n = {
6
+ "action-btn": "_action-btn_zgv2f_1",
7
+ "action-btn--small": "_action-btn--small_zgv2f_31",
8
+ "action-btn--large": "_action-btn--large_zgv2f_38",
9
+ "action-btn--primary": "_action-btn--primary_zgv2f_45",
10
+ "action-btn--action": "_action-btn--action_zgv2f_54",
11
+ "action-btn--info": "_action-btn--info_zgv2f_63",
12
+ "action-btn--danger": "_action-btn--danger_zgv2f_72",
13
+ "dots-pulse": "_dots-pulse_zgv2f_97",
14
+ scale: N
15
15
  };
16
- function A({
16
+ function $({
17
17
  label: l,
18
18
  type: c = "button",
19
- onClick: s = () => {
19
+ onClick: d = () => {
20
20
  },
21
21
  varient: r = "",
22
22
  size: e = "",
@@ -28,42 +28,42 @@ function A({
28
28
  borderColor: "",
29
29
  borderHoverColor: ""
30
30
  },
31
- disabled: d,
31
+ disabled: s,
32
32
  classname: _ = "",
33
- ...p
33
+ ...g
34
34
  }) {
35
- const [a, b] = C("idle"), v = r === "" ? "" : `action-btn--${r}`, h = e === "" ? "" : `action-btn--${e}`, g = o.bgColor !== "" ? {
35
+ const [a, i] = z("idle"), p = r === "" ? "" : `action-btn--${r}`, v = e === "" ? "" : `action-btn--${e}`, f = o.bgColor !== "" ? {
36
36
  "--button-bg-color": o.bgColor,
37
37
  "--button-hover-bg-color": o.bgHoverColor === "" ? o.bgColor : o.bgHoverColor,
38
38
  "--button-color": o.color,
39
39
  "--button-hover-color": o.hoverColor === "" ? o.color : o.hoverColor,
40
40
  "--button-border-color": o.borderColor === "" ? o.bgColor : o.borderColor,
41
41
  "--button-hover-border-color": o.borderHoverColor === "" && o.borderColor === "" ? o.bgColor : o.borderHoverColor
42
- } : null, u = () => {
43
- b("idle");
44
- }, k = (f) => {
45
- s(f), b("waiting"), x("scripps:actionbtn:clicked");
42
+ } : null, h = () => {
43
+ i("idle");
44
+ }, u = (C) => {
45
+ d(C), i("waiting"), k("scripps:actionbtn:clicked");
46
46
  };
47
- return H(() => (w("scripps:action:completed", u), () => {
47
+ return H(() => (w("scripps:action:completed", h), () => {
48
48
  y("scripps:action:completed");
49
- }), []), /* @__PURE__ */ i(
49
+ }), []), /* @__PURE__ */ b(
50
50
  "button",
51
51
  {
52
- type: c,
53
- className: N([
52
+ className: x([
54
53
  n["action-btn"],
55
54
  "action-btn",
56
55
  _,
57
- r === "" ? "" : n[v],
58
- e === "" ? "" : n[h]
56
+ r === "" ? "" : n[p],
57
+ e === "" ? "" : n[v]
59
58
  ]),
60
- onClick: k,
61
- disabled: a === "waiting" || d,
62
- style: g,
63
- ...p,
59
+ disabled: a === "waiting" || s,
60
+ style: f || void 0,
61
+ type: c,
62
+ onClick: u,
63
+ ...g,
64
64
  children: [
65
65
  a !== "waiting" && /* @__PURE__ */ t("span", { className: n["action-btn__label"], children: l }),
66
- a === "waiting" && /* @__PURE__ */ i("div", { className: n["dots-pulse"], children: [
66
+ a === "waiting" && /* @__PURE__ */ b("div", { className: n["dots-pulse"], children: [
67
67
  /* @__PURE__ */ t("span", {}),
68
68
  /* @__PURE__ */ t("span", {}),
69
69
  /* @__PURE__ */ t("span", {})
@@ -73,6 +73,6 @@ function A({
73
73
  );
74
74
  }
75
75
  export {
76
- A as ActionButton,
77
- A as default
76
+ $ as ActionButton,
77
+ $ as default
78
78
  };
@@ -1 +1,2 @@
1
- export { ActionButton, ActionButton as default } from './ActionButton';
1
+ export { ActionButton } from './ActionButton';
2
+ export { ActionButton as default } from './ActionButton';
@@ -1,3 +1,22 @@
1
+ type AdBlockProps = {
2
+ image: {
3
+ url: string;
4
+ altText: string;
5
+ mobile?: string;
6
+ text: string;
7
+ };
8
+ ad: {
9
+ campaign?: string;
10
+ source?: string;
11
+ medium?: string;
12
+ content?: string;
13
+ header: string;
14
+ description: string;
15
+ linkText: string;
16
+ href: string;
17
+ };
18
+ theme?: 'default' | 'round2' | 'tablotv' | 'imageonly';
19
+ };
1
20
  /**
2
21
  * AdBlock component for rendering an advertisement block with various themes.
3
22
  * @param {*} param0 - Component props.
@@ -6,5 +25,5 @@
6
25
  * @param {string} [param0.theme='default'] - The theme to apply to the ad block (default is 'default').
7
26
  * @returns {JSX.Element} The rendered ad block.
8
27
  */
9
- export function AdBlock({ image, ad, theme }: any): JSX.Element;
28
+ export declare function AdBlock({ image, ad, theme }: AdBlockProps): JSX.Element;
10
29
  export default AdBlock;
@@ -1,110 +1,145 @@
1
- import { jsx as e, jsxs as c, Fragment as y } from "react/jsx-runtime";
2
- import { useRef as l, useCallback as b, useEffect as x } from "react";
3
- import '../../assets/AdBlock.css';const N = {
4
- "ad-anchor": "_ad-anchor_3lwu0_8",
5
- "ad-copy__link": "_ad-copy__link_3lwu0_19",
6
- "ad-image": "_ad-image_3lwu0_23",
7
- "ad-image__text": "_ad-image__text_3lwu0_50",
8
- "ad-copy": "_ad-copy_3lwu0_19",
9
- "ad-image--animate": "_ad-image--animate_3lwu0_61",
10
- "promo-slide-in-left": "_promo-slide-in-left_3lwu0_1",
11
- "ad-copy--animate": "_ad-copy--animate_3lwu0_68",
12
- "promo-slide-in-right": "_promo-slide-in-right_3lwu0_1",
13
- "ad-copy__header": "_ad-copy__header_3lwu0_76",
14
- "ad-copy__description": "_ad-copy__description_3lwu0_81"
15
- }, w = {
16
- "ad-anchor": "_ad-anchor_iji3s_17",
17
- "ad-copy__link": "_ad-copy__link_iji3s_28",
18
- "ad-image": "_ad-image_iji3s_42",
19
- "ad-image__text": "_ad-image__text_iji3s_59",
20
- "ad-copy": "_ad-copy_iji3s_28",
21
- "ad-image--animate": "_ad-image--animate_iji3s_78",
22
- "promo-slide-in-left": "_promo-slide-in-left_iji3s_1",
23
- "ad-copy--animate": "_ad-copy--animate_iji3s_85",
24
- "promo-slide-in-right": "_promo-slide-in-right_iji3s_1",
25
- "ad-copy__header": "_ad-copy__header_iji3s_93",
26
- "ad-copy__description": "_ad-copy__description_iji3s_105",
27
- "ad-copy__link-text": "_ad-copy__link-text_iji3s_106"
28
- }, j = {
29
- "ad-anchor": "_ad-anchor_1k4cf_26",
30
- "ad-copy__link": "_ad-copy__link_1k4cf_37",
31
- "background-container": "_background-container_1k4cf_41",
32
- "ad-copy": "_ad-copy_1k4cf_37",
33
- "ad-copy__header": "_ad-copy__header_1k4cf_57",
34
- "ad-copy__description": "_ad-copy__description_1k4cf_67",
35
- "cta-container": "_cta-container_1k4cf_78",
36
- "cta-container__link": "_cta-container__link_1k4cf_89",
37
- "ad-image": "_ad-image_1k4cf_108",
38
- "ad-image__text": "_ad-image__text_1k4cf_127",
39
- "ad-image-mobile": "_ad-image-mobile_1k4cf_137",
40
- "ad-image--animate": "_ad-image--animate_1k4cf_240",
41
- "promo-slide-in-right": "_promo-slide-in-right_1k4cf_1",
42
- "ad-copy--animate": "_ad-copy--animate_1k4cf_247",
43
- "promo-slide-in-left": "_promo-slide-in-left_1k4cf_1",
44
- "ad-cta--animate": "_ad-cta--animate_1k4cf_254",
45
- "ad-mobile-disclaimer--animate": "_ad-mobile-disclaimer--animate_1k4cf_268"
1
+ import { jsx as e, jsxs as l, Fragment as b } from "react/jsx-runtime";
2
+ import { useRef as o, useCallback as q, useEffect as N } from "react";
3
+ import '../../assets/AdBlock.css';const u = {
4
+ "ad-copy__description": "_ad-copy__description_1qax1_8",
5
+ "ad-copy__link": "_ad-copy__link_1qax1_9",
6
+ "ad-anchor": "_ad-anchor_1qax1_31",
7
+ "ad-image": "_ad-image_1qax1_46",
8
+ "ad-image__text": "_ad-image__text_1qax1_73",
9
+ "ad-copy": "_ad-copy_1qax1_8",
10
+ "ad-image--animate": "_ad-image--animate_1qax1_84",
11
+ "promo-slide-in-left": "_promo-slide-in-left_1qax1_1",
12
+ "ad-copy--animate": "_ad-copy--animate_1qax1_91",
13
+ "promo-slide-in-right": "_promo-slide-in-right_1qax1_1",
14
+ "ad-copy__header": "_ad-copy__header_1qax1_99"
46
15
  }, v = {
47
- "ad-anchor": "_ad-anchor_15im4_1",
48
- "cta-container__link": "_cta-container__link_15im4_11"
16
+ "ad-copy__link": "_ad-copy__link_1xlqr_17",
17
+ "ad-anchor": "_ad-anchor_1xlqr_36",
18
+ "ad-image": "_ad-image_1xlqr_61",
19
+ "ad-image__text": "_ad-image__text_1xlqr_78",
20
+ "ad-copy": "_ad-copy_1xlqr_17",
21
+ "ad-image--animate": "_ad-image--animate_1xlqr_97",
22
+ "promo-slide-in-left": "_promo-slide-in-left_1xlqr_1",
23
+ "ad-copy--animate": "_ad-copy--animate_1xlqr_104",
24
+ "promo-slide-in-right": "_promo-slide-in-right_1xlqr_1",
25
+ "ad-copy__header": "_ad-copy__header_1xlqr_112",
26
+ "ad-copy__description": "_ad-copy__description_1xlqr_124",
27
+ "ad-copy__link-text": "_ad-copy__link-text_1xlqr_125"
28
+ }, $ = {
29
+ "ad-anchor": "_ad-anchor_31sf7_26",
30
+ "ad-copy__link": "_ad-copy__link_31sf7_37",
31
+ "background-container": "_background-container_31sf7_41",
32
+ "ad-copy": "_ad-copy_31sf7_37",
33
+ "ad-copy__header": "_ad-copy__header_31sf7_57",
34
+ "ad-copy__description": "_ad-copy__description_31sf7_67",
35
+ "cta-container": "_cta-container_31sf7_78",
36
+ "cta-container__link": "_cta-container__link_31sf7_89",
37
+ "ad-image": "_ad-image_31sf7_108",
38
+ "ad-image__text": "_ad-image__text_31sf7_127",
39
+ "ad-image-mobile": "_ad-image-mobile_31sf7_137",
40
+ "ad-image--animate": "_ad-image--animate_31sf7_238",
41
+ "promo-slide-in-right": "_promo-slide-in-right_31sf7_1",
42
+ "ad-copy--animate": "_ad-copy--animate_31sf7_245",
43
+ "promo-slide-in-left": "_promo-slide-in-left_31sf7_1",
44
+ "ad-cta--animate": "_ad-cta--animate_31sf7_252",
45
+ "ad-mobile-disclaimer--animate": "_ad-mobile-disclaimer--animate_31sf7_266"
46
+ }, T = {
47
+ "ad-anchor": "_ad-anchor_1kpgs_1",
48
+ "cta-container__link": "_cta-container__link_1kpgs_11"
49
49
  };
50
- function L({ image: _, ad: i, theme: n = "default" }) {
50
+ function M({ image: _, ad: r, theme: i = "default" }) {
51
51
  const a = (/* @__PURE__ */ new Map([
52
- ["default", N],
53
- ["round2", w],
54
- ["tablotv", j],
55
- ["imageonly", v]
56
- ])).get(n), g = i.campaign === "" ? "" : `?utm_campaign=${i.campaign}&utm_source=${i.source}&utm_medium=${i.medium}&utm_content=${i.content}`, s = l(), t = l(), d = l(), m = l(), p = l(), f = l(), o = `${i.href}${g}`, h = b((r, k) => {
57
- r.forEach((u) => {
58
- u.isIntersecting && (n === "tablotv" && (d.current.classList.add(`${a["ad-cta--animate"]}`), f.current.classList.add(`${a["ad-mobile-disclaimer--animate"]}`)), s.current.classList.add(`${a["ad-copy--animate"]}`), t.current.classList.add(`${a["ad-image--animate"]}`), k.unobserve(t.current));
52
+ ["default", u],
53
+ ["round2", v],
54
+ ["tablotv", $],
55
+ ["imageonly", T]
56
+ ])).get(i) ?? u, x = r.campaign === "" ? "" : `?utm_campaign=${r.campaign}&utm_source=${r.source}&utm_medium=${r.medium}&utm_content=${r.content}`, s = o(null), t = o(null), c = o(null), m = o(null), f = o(null), p = o(null), d = `${r.href}${x}`, h = q((n, y) => {
57
+ n.forEach((k) => {
58
+ var g;
59
+ if (k.isIntersecting) {
60
+ if (i === "tablotv" && (c.current !== null && ((g = c.current) == null || g.classList.add(`${a["ad-cta--animate"]}`)), p.current !== null && p.current.classList.add(`${a["ad-mobile-disclaimer--animate"]}`)), s.current === null || t.current === null) return;
61
+ s.current.classList.add(`${a["ad-copy--animate"]}`), t.current.classList.add(`${a["ad-image--animate"]}`), y.unobserve(t.current);
62
+ }
59
63
  });
60
- }, [a]);
61
- return x(() => {
62
- if (n !== "imageonly") {
63
- const r = new IntersectionObserver(h, {
64
+ }, [a, i]);
65
+ return N(() => {
66
+ if (i !== "imageonly") {
67
+ const n = new IntersectionObserver(h, {
64
68
  root: null,
65
69
  rootMargin: "0px",
66
70
  threshold: 0.1
67
71
  });
68
- return r.observe(t.current), () => {
69
- r.disconnect();
72
+ return n.observe(t.current), () => {
73
+ n.disconnect();
70
74
  };
71
75
  }
72
- }, [n, h]), /* @__PURE__ */ e(
76
+ }, [i, h]), // onClick - ensure tab isn't opened twice if clicking directly on the cta
77
+ /* @__PURE__ */ e(
73
78
  "ad-block",
74
79
  {
75
80
  class: `${a["ad-anchor"]}`,
76
- onClick: (r) => {
77
- (r.target === d.current || r.target === m.current || r.target === p.current) && r.preventDefault(), window.open(d.current, "_blank");
81
+ onClick: (n) => {
82
+ (n.target === c.current || n.target === m.current || n.target === f.current) && n.preventDefault(), window.open(c.current, "_blank");
78
83
  },
79
- children: n === "imageonly" ? /* @__PURE__ */ e("a", { className: a["cta-container__link"], href: o, target: "_blank", rel: "noreferrer", ref: d, children: /* @__PURE__ */ e("span", { className: "sr-only", children: _.text }) }) : n === "tablotv" ? /* @__PURE__ */ c("div", { className: a["background-container"], children: [
80
- /* @__PURE__ */ c("div", { className: a["ad-copy"], ref: s, children: [
81
- /* @__PURE__ */ e("h4", { className: a["ad-copy__header"], children: i.header }),
82
- /* @__PURE__ */ e("div", { className: a["ad-image-mobile"], ref: t, children: /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: o, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e("img", { src: _.mobile, alt: _.altText, ref: p }) }) }) }),
83
- /* @__PURE__ */ e("p", { className: a["ad-copy__description"], children: i.description })
84
+ children: i === "imageonly" ? /* @__PURE__ */ e(
85
+ "a",
86
+ {
87
+ className: a["cta-container__link"],
88
+ href: d,
89
+ ref: c,
90
+ rel: "noreferrer",
91
+ target: "_blank",
92
+ children: /* @__PURE__ */ e("span", { className: "sr-only", children: _.text })
93
+ }
94
+ ) : i === "tablotv" ? /* @__PURE__ */ l("div", { className: a["background-container"], children: [
95
+ /* @__PURE__ */ l("div", { className: a["ad-copy"], ref: s, children: [
96
+ /* @__PURE__ */ e("h4", { className: a["ad-copy__header"], children: r.header }),
97
+ /* @__PURE__ */ e("div", { className: a["ad-image-mobile"], ref: t, children: /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: d, rel: "noreferrer", target: "_blank", children: /* @__PURE__ */ e("img", { alt: _.altText, ref: f, src: _.mobile }) }) }) }),
98
+ /* @__PURE__ */ e("p", { className: a["ad-copy__description"], children: r.description })
84
99
  ] }),
85
- /* @__PURE__ */ c("div", { className: a["cta-container"], children: [
86
- /* @__PURE__ */ e("a", { className: a["cta-container__link"], href: o, target: "_blank", rel: "noreferrer", ref: d, children: i.linkText }),
87
- /* @__PURE__ */ e("span", { className: a["ad-image__text"], ref: f, children: _.text })
100
+ /* @__PURE__ */ l("div", { className: a["cta-container"], children: [
101
+ /* @__PURE__ */ e(
102
+ "a",
103
+ {
104
+ className: a["cta-container__link"],
105
+ href: d,
106
+ ref: c,
107
+ rel: "noreferrer",
108
+ target: "_blank",
109
+ children: r.linkText
110
+ }
111
+ ),
112
+ /* @__PURE__ */ e("span", { className: a["ad-image__text"], ref: p, children: _.text })
88
113
  ] }),
89
- /* @__PURE__ */ c("div", { className: a["ad-image"], ref: t, children: [
90
- /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: o, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e("img", { src: _.url, alt: _.altText, ref: m }) }) }),
114
+ /* @__PURE__ */ l("div", { className: a["ad-image"], ref: t, children: [
115
+ /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: d, rel: "noreferrer", target: "_blank", children: /* @__PURE__ */ e("img", { alt: _.altText, ref: m, src: _.url }) }) }),
91
116
  /* @__PURE__ */ e("span", { className: a["ad-image__text"], children: _.text })
92
117
  ] })
93
- ] }) : /* @__PURE__ */ c(y, { children: [
94
- /* @__PURE__ */ c("div", { className: a["ad-image"], ref: t, children: [
118
+ ] }) : /* @__PURE__ */ l(b, { children: [
119
+ /* @__PURE__ */ l("div", { className: a["ad-image"], ref: t, children: [
95
120
  /* @__PURE__ */ e("span", { className: a["ad-image__text"], children: _.text }),
96
- /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: o, target: "_blank", rel: "noreferrer", children: /* @__PURE__ */ e("img", { src: _.url, alt: _.altText, ref: m }) }) })
121
+ /* @__PURE__ */ e("ad-image", { children: /* @__PURE__ */ e("a", { href: d, rel: "noreferrer", target: "_blank", children: /* @__PURE__ */ e("img", { alt: _.altText, ref: m, src: _.url }) }) })
97
122
  ] }),
98
- /* @__PURE__ */ c("div", { className: a["ad-copy"], ref: s, children: [
99
- /* @__PURE__ */ e("h4", { className: a["ad-copy__header"], children: i.header }),
100
- /* @__PURE__ */ e("p", { className: a["ad-copy__description"], children: i.description }),
101
- /* @__PURE__ */ e("a", { className: a["ad-copy__link"], href: o, target: "_blank", rel: "noreferrer", ref: d, children: i.linkText })
123
+ /* @__PURE__ */ l("div", { className: a["ad-copy"], ref: s, children: [
124
+ /* @__PURE__ */ e("h4", { className: a["ad-copy__header"], children: r.header }),
125
+ /* @__PURE__ */ e("p", { className: a["ad-copy__description"], children: r.description }),
126
+ /* @__PURE__ */ e(
127
+ "a",
128
+ {
129
+ className: a["ad-copy__link"],
130
+ href: d,
131
+ ref: c,
132
+ rel: "noreferrer",
133
+ target: "_blank",
134
+ children: r.linkText
135
+ }
136
+ )
102
137
  ] })
103
138
  ] })
104
139
  }
105
140
  );
106
141
  }
107
142
  export {
108
- L as AdBlock,
109
- L as default
143
+ M as AdBlock,
144
+ M as default
110
145
  };
@@ -1 +1,2 @@
1
- export { AdBlock, AdBlock as default } from './AdBlock';
1
+ export { AdBlock } from './AdBlock';
2
+ export { AdBlock as default } from './AdBlock';
@@ -1,3 +1,9 @@
1
+ type AdjustableTwoColumnGridProps = {
2
+ children: React.ReactNode;
3
+ gap?: string;
4
+ firstColumnWidth?: number | string;
5
+ classname?: string;
6
+ };
1
7
  /**
2
8
  * AdjustableTwoColumnGrid component for rendering a two-column layout with adjustable widths.
3
9
  * @param {*} param0 - Component props.
@@ -7,5 +13,5 @@
7
13
  * @param {string} [param0.classname=''] - Additional CSS classes for the layout.
8
14
  * @returns {JSX.Element} The rendered two-column layout.
9
15
  */
10
- export function AdjustableTwoColumnGrid({ children, gap, firstColumnWidth, classname }: any): JSX.Element;
16
+ export declare function AdjustableTwoColumnGrid({ children, gap, firstColumnWidth, classname, }: AdjustableTwoColumnGridProps): JSX.Element;
11
17
  export default AdjustableTwoColumnGrid;
@@ -1,24 +1,29 @@
1
- import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
- import { Children as m, cloneElement as e } from "react";
1
+ import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
+ import { Children as r } from "react";
3
3
  import '../../assets/AdjustableTwoColumnGrid.css';const s = {};
4
- function d({ children: c, gap: n = "1.5rem", firstColumnWidth: l = 33, classname: r = "" }) {
5
- const o = m.toArray(c);
6
- return /* @__PURE__ */ a(
4
+ function m({
5
+ children: c,
6
+ gap: e = "1.5rem",
7
+ firstColumnWidth: o = 33,
8
+ classname: a = ""
9
+ }) {
10
+ const l = r.toArray(c);
11
+ return /* @__PURE__ */ n(
7
12
  "adjustable-two-column-layout",
8
13
  {
14
+ class: a,
9
15
  style: {
10
- "--atcl-gap-size": n,
11
- "--atcl-first-column-width": typeof l == "string" ? l : `${l}%`
16
+ "--atcl-gap-size": e,
17
+ "--atcl-first-column-width": typeof o == "string" ? o : `${o}%`
12
18
  },
13
- class: r,
14
19
  children: [
15
- /* @__PURE__ */ t("div", { className: s["two-column-layout__column-one"], children: e(o[0], o[0].props) }),
16
- /* @__PURE__ */ t("div", { className: s["two-column-layout__column-two"], children: e(o[1], o[1].props) })
20
+ /* @__PURE__ */ t("div", { className: s["two-column-layout__column-one"], children: l[0] }),
21
+ /* @__PURE__ */ t("div", { className: s["two-column-layout__column-two"], children: l[1] })
17
22
  ]
18
23
  }
19
24
  );
20
25
  }
21
26
  export {
22
- d as AdjustableTwoColumnGrid,
23
- d as default
27
+ m as AdjustableTwoColumnGrid,
28
+ m as default
24
29
  };
@@ -1 +1,2 @@
1
- export { AdjustableTwoColumnGrid, AdjustableTwoColumnGrid as default } from './AdjustableTwoColumnGrid';
1
+ export { AdjustableTwoColumnGrid } from './AdjustableTwoColumnGrid';
2
+ export { AdjustableTwoColumnGrid as default } from './AdjustableTwoColumnGrid';
@@ -1,5 +1,6 @@
1
- export function AirDateFormatter({ airdateStr, separatorType }: {
2
- airdateStr?: null | undefined;
3
- separatorType?: string | undefined;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ type AirDateFormatterProps = {
2
+ airdateStr?: string | null;
3
+ separatorType?: 'pipe' | 'line-break' | 'single-line-break' | 'comma' | 'none';
4
+ };
5
+ export declare function AirDateFormatter({ airdateStr, separatorType }: AirDateFormatterProps): JSX.Element;
5
6
  export default AirDateFormatter;
@@ -1,28 +1,27 @@
1
1
  import { jsx as a, jsxs as t } from "react/jsx-runtime";
2
- import "react";
3
2
  import { classes as i } from "../../utils/helpers.js";
4
3
  import { s as $ } from "../../sub-CoUmnfhv.mjs";
5
4
  import { f as m } from "../../format-YhWt2D8M.mjs";
6
5
  import { a as u } from "../../add-UWUc_nrO.mjs";
7
6
  import '../../assets/AirDateFormatter.css';const d = {
8
- "airdate-formatter__pipe": "_airdate-formatter__pipe_1ox2d_1",
9
- "airdate-formatter__date": "_airdate-formatter__date_1ox2d_8",
10
- "airdate-formatter__time-wrap": "_airdate-formatter__time-wrap_1ox2d_13"
7
+ "airdate-formatter__pipe": "_airdate-formatter__pipe_s327l_1",
8
+ "airdate-formatter__date": "_airdate-formatter__date_s327l_8",
9
+ "airdate-formatter__time-wrap": "_airdate-formatter__time-wrap_s327l_13"
11
10
  };
12
- function b({ airdateStr: f = null, separatorType: p = "none" }) {
13
- if (f === null) return /* @__PURE__ */ a("airdate-formatter", { class: "no-airdate", children: " " });
14
- const e = new Date(f.replace(" ", "T")), h = $(e, { hours: 1 }), o = e.getMinutes() === 0 ? "" : m(e, ":mm"), s = `${m(e, "h")}${o}${Number.parseInt(m(e, "H"), 10) < 12 ? "a" : ""}`, l = `${m(h, "h")}${o}`;
15
- let r = `${m(e, "ccc")}`, n = "";
11
+ function T({ airdateStr: f = null, separatorType: p = "none" }) {
12
+ if (f === null) return /* @__PURE__ */ a("airdate-formatter", { className: "no-airdate", children: " " });
13
+ const e = new Date(f.replace(" ", "T")), h = $(e, { hours: 1 }), n = e.getMinutes() === 0 ? "" : m(e, ":mm"), o = `${m(e, "h")}${n}${Number.parseInt(m(e, "H"), 10) < 12 ? "a" : ""}`, l = `${m(h, "h")}${n}`;
14
+ let r = `${m(e, "ccc")}`, s = "";
16
15
  const c = new Date((/* @__PURE__ */ new Date()).toLocaleString("en-US", { timeZone: "America/New_York" })), _ = u(c, { days: 1 });
17
- switch (`${c.getFullYear()}${c.getMonth()}${c.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Today" : `${_.getFullYear()}${_.getMonth()}${_.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Tomorrow" : n = `${m(e, "LLL d")}`, p) {
16
+ switch (`${c.getFullYear()}${c.getMonth()}${c.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Today" : `${_.getFullYear()}${_.getMonth()}${_.getDate()}` == `${e.getFullYear()}${e.getMonth()}${e.getDate()}` ? r = "Tomorrow" : s = `${m(e, "LLL d")}`, p) {
18
17
  case "pipe":
19
18
  return /* @__PURE__ */ t("airdate-formatter", { children: [
20
- /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${n}` }),
19
+ /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${s}` }),
21
20
  /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__pipe"], "airdate-formatter__pipe"]), children: " | " }),
22
21
  /* @__PURE__ */ t("span", { className: "airdate-formatter__time-wrap", children: [
23
- /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
22
+ /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: o }),
24
23
  "/",
25
- o !== "" ? /* @__PURE__ */ a("br", {}) : null,
24
+ n !== "" ? /* @__PURE__ */ a("br", {}) : null,
26
25
  /* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
27
26
  l,
28
27
  /* @__PURE__ */ a("span", { children: "c" })
@@ -32,11 +31,11 @@ function b({ airdateStr: f = null, separatorType: p = "none" }) {
32
31
  case "line-break":
33
32
  return /* @__PURE__ */ t("airdate-formatter", { children: [
34
33
  /* @__PURE__ */ a("div", { className: i([d["airdate-formatter__day"], "airdate-formatter__day"]), children: r }),
35
- /* @__PURE__ */ a("div", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: n }),
34
+ /* @__PURE__ */ a("div", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: s }),
36
35
  /* @__PURE__ */ t("div", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
37
- /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
36
+ /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: o }),
38
37
  "/",
39
- o !== "" ? /* @__PURE__ */ a("br", {}) : null,
38
+ n !== "" ? /* @__PURE__ */ a("br", {}) : null,
40
39
  /* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
41
40
  l,
42
41
  /* @__PURE__ */ a("span", { children: "c" })
@@ -48,12 +47,12 @@ function b({ airdateStr: f = null, separatorType: p = "none" }) {
48
47
  /* @__PURE__ */ t("div", { className: i([d["airdate-formatter__day"], "airdate-formatter__day"]), children: [
49
48
  r,
50
49
  " ",
51
- /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: n })
50
+ /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: s })
52
51
  ] }),
53
52
  /* @__PURE__ */ t("div", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
54
- /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
53
+ /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: o }),
55
54
  "/",
56
- o !== "" ? /* @__PURE__ */ a("br", {}) : null,
55
+ n !== "" ? /* @__PURE__ */ a("br", {}) : null,
57
56
  /* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
58
57
  l,
59
58
  /* @__PURE__ */ a("span", { children: "c" })
@@ -63,10 +62,10 @@ function b({ airdateStr: f = null, separatorType: p = "none" }) {
63
62
  case "none":
64
63
  default:
65
64
  return /* @__PURE__ */ t("airdate-formatter", { children: [
66
- /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${n}` }),
65
+ /* @__PURE__ */ a("span", { className: i([d["airdate-formatter__date"], "airdate-formatter__date"]), children: r === "Today" || r === "Tomorrow" ? r : `${r}, ${s}` }),
67
66
  " ",
68
67
  /* @__PURE__ */ t("span", { className: i([d["airdate-formatter__time-wrap"], "airdate-formatter__time-wrap"]), children: [
69
- /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: s }),
68
+ /* @__PURE__ */ a("span", { className: "airdate-formatter__time", children: o }),
70
69
  "/",
71
70
  /* @__PURE__ */ t("span", { className: "airdate-formatter__central-time", children: [
72
71
  l,
@@ -77,6 +76,6 @@ function b({ airdateStr: f = null, separatorType: p = "none" }) {
77
76
  }
78
77
  }
79
78
  export {
80
- b as AirDateFormatter,
81
- b as default
79
+ T as AirDateFormatter,
80
+ T as default
82
81
  };
@@ -1 +1,2 @@
1
- export { AirDateFormatter, AirDateFormatter as default } from './AirDateFormatter';
1
+ export { AirDateFormatter } from './AirDateFormatter';
2
+ export { AirDateFormatter as default } from './AirDateFormatter';
@@ -1,7 +1,16 @@
1
+ import { Image } from '../../types.d.ts';
2
+ type AnchorTagProps = {
3
+ href?: string;
4
+ classname?: string;
5
+ label?: string;
6
+ type?: 'internal-link' | 'external-link';
7
+ image?: Image | null;
8
+ clickHandler?: ((e: React.MouseEvent) => void) | null;
9
+ };
1
10
  /**
2
11
  * AnchorTag component for rendering anchor links with optional image support.
3
12
  * @param {*} param0 - Component props.
4
13
  * @returns {JSX.Element} The rendered anchor tag.
5
14
  */
6
- export function AnchorTag({ href, classname, label, type, image, clickHandler }: any): JSX.Element;
15
+ export declare function AnchorTag({ href, classname, label, type, image, clickHandler, }: AnchorTagProps): JSX.Element;
7
16
  export default AnchorTag;