@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,53 +1,82 @@
1
- var g = (r) => {
2
- throw TypeError(r);
1
+ var L = Object.defineProperty;
2
+ var b = (i) => {
3
+ throw TypeError(i);
3
4
  };
4
- var L = (r, t, e) => t.has(r) || g("Cannot " + e);
5
- var b = (r, t, e) => t.has(r) ? g("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(r) : t.set(r, e);
6
- var i = (r, t, e) => (L(r, t, "access private method"), e);
7
- let u = /* @__PURE__ */ new WeakMap();
8
- const B = new Event("scrollend"), p = /* @__PURE__ */ new Set();
9
- function o(r, t, e) {
10
- let l = r[t];
11
- r[t] = function() {
12
- let a = Array.prototype.slice.apply(arguments, [0]);
13
- l.apply(this, a), a.unshift(l), e.apply(this, a);
5
+ var z = (i, t, e) => t in i ? L(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
6
+ var l = (i, t, e) => z(i, typeof t != "symbol" ? t + "" : t, e), O = (i, t, e) => t.has(i) || b("Cannot " + e);
7
+ var x = (i, t, e) => t.has(i) ? b("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, e);
8
+ var r = (i, t, e) => (O(i, t, "access private method"), e);
9
+ let f = /* @__PURE__ */ new WeakMap();
10
+ const P = new Event("scrollend"), I = /* @__PURE__ */ new Set();
11
+ function h(i, t, e) {
12
+ let n = i[t];
13
+ i[t] = function() {
14
+ let c = Array.prototype.slice.apply(arguments, [0]);
15
+ n.apply(this, c), c.unshift(n), e.apply(this, c);
14
16
  };
15
17
  }
16
- function E(r, t) {
18
+ function m(i, t) {
17
19
  if (t !== "scroll" && t !== "scrollend")
18
20
  return;
19
- let e = u.get(this);
21
+ let e = f.get(this);
20
22
  if (e === void 0) {
21
- let l = 0;
23
+ let n = 0;
22
24
  e = {
23
25
  scrollListener: () => {
24
- clearTimeout(l), l = setTimeout(() => {
25
- p.size ? setTimeout(e.scrollListener, 100) : (this.dispatchEvent(B), l = 0);
26
+ clearTimeout(n), n = setTimeout(() => {
27
+ I.size ? setTimeout(e.scrollListener, 100) : (this.dispatchEvent(P), n = 0);
26
28
  }, 100);
27
29
  },
28
30
  listeners: 0
29
31
  // Count of number of listeners.
30
- }, r.apply(this, ["scroll", e.scrollListener]), u.set(this, e);
32
+ }, i.apply(this, ["scroll", e.scrollListener]), f.set(this, e);
31
33
  }
32
34
  e.listeners++;
33
35
  }
34
- function m(r, t) {
36
+ function p(i, t) {
35
37
  if (t !== "scroll" && t !== "scrollend") return;
36
- let e = u.get(this);
37
- e !== void 0 && (e[t]--, !(--e.listeners > 0) && (r.apply(this, ["scroll", e.scrollListener]), u.delete(this)));
38
+ let e = f.get(this);
39
+ e !== void 0 && (e[t]--, !(--e.listeners > 0) && (i.apply(this, ["scroll", e.scrollListener]), f.delete(this)));
38
40
  }
39
- const z = "onscrollend" in window;
40
- var s, d, x, A, w, h, c, y, I, T;
41
- class P {
42
- constructor({ carouselEl: t, scrollerEl: e, paginationEl: l, slides: a, navBtnEls: S = { next: {}, previous: {} }, options: n }) {
43
- b(this, s);
44
- z || (document.addEventListener("touchstart", (f) => {
45
- for (let v of f.changedTouches)
46
- p.add(v.identifier);
47
- }, { passive: !0 }), document.addEventListener("touchend", (f) => {
48
- for (let v of f.changedTouches)
49
- p.delete(v.identifier);
50
- }, { passive: !0 }), o(Element.prototype, "addEventListener", E), o(window, "addEventListener", E), o(document, "addEventListener", E), o(Element.prototype, "removeEventListener", m), o(window, "removeEventListener", m), o(document, "removeEventListener", m)), this.carouselEl = t, this.scrollerEl = e, this.paginationEl = l, this.slides = a, this.currentIndex = 0, this.slideEls = [...e.children], this.navBtnEls = S, this.currentIntersecting = {}, this.options = n, n.autoplay && (this.timer = null, this.timerInterval = (n == null ? void 0 : n.delay) ?? 3500, this.startTimer()), this.slideGutterSize = (n == null ? void 0 : n.slideGutterSize) ?? 25, this.showPagination = n == null ? void 0 : n.showPagination, this.isInitialScroll = !0, this.totalSlideEls = this.slideEls.length, this.totalSlides = Math.ceil(this.slides.length / this.options.cellsPerSlide), i(this, s, x).call(this), i(this, s, w).call(this), i(this, s, A).call(this);
41
+ const G = "onscrollend" in window;
42
+ var s, u, w, A, S, a, d, y, g, T;
43
+ class M {
44
+ constructor({
45
+ carouselEl: t,
46
+ scrollerEl: e,
47
+ paginationEl: n,
48
+ cells: c,
49
+ navBtnEls: B = {
50
+ next: {},
51
+ previous: {}
52
+ },
53
+ options: o
54
+ }) {
55
+ x(this, s);
56
+ l(this, "carouselEl");
57
+ l(this, "scrollerEl");
58
+ l(this, "paginationEl");
59
+ l(this, "cells");
60
+ l(this, "currentIndex");
61
+ l(this, "slideEls");
62
+ l(this, "navBtnEls");
63
+ l(this, "currentIntersecting");
64
+ l(this, "options");
65
+ l(this, "timer");
66
+ l(this, "timerInterval");
67
+ l(this, "slideGutterSize");
68
+ l(this, "showPagination");
69
+ l(this, "isInitialScroll");
70
+ l(this, "totalSlideEls");
71
+ l(this, "totalSlides");
72
+ l(this, "carouselObserver");
73
+ G || (document.addEventListener("touchstart", (v) => {
74
+ for (let E of v.changedTouches)
75
+ I.add(E.identifier);
76
+ }, { passive: !0 }), document.addEventListener("touchend", (v) => {
77
+ for (let E of v.changedTouches)
78
+ I.delete(E.identifier);
79
+ }, { passive: !0 }), h(Element.prototype, "addEventListener", m), h(window, "addEventListener", m), h(document, "addEventListener", m), h(Element.prototype, "removeEventListener", p), h(window, "removeEventListener", p), h(document, "removeEventListener", p)), this.carouselEl = t, this.scrollerEl = e, this.paginationEl = n, this.currentIndex = 0, this.navBtnEls = B, this.currentIntersecting = {}, this.options = o, o.autoplay && (this.timer = null, this.timerInterval = (o == null ? void 0 : o.delay) ?? 3500, this.startTimer()), this.slideGutterSize = (o == null ? void 0 : o.slideGutterSize) ?? 25, this.showPagination = o == null ? void 0 : o.showPagination, this.isInitialScroll = !0, this.cells = c, this.slideEls = [...e.children], this.totalSlideEls = this.slideEls.length, this.totalSlides = Math.ceil(this.cells.length / (this.options.cellsPerSlide ?? 1)), r(this, s, w).call(this), r(this, s, S).call(this), r(this, s, A).call(this);
51
80
  }
52
81
  /**
53
82
  * starts the autoplay timer
@@ -61,7 +90,7 @@ class P {
61
90
  * clears the autoplay timer
62
91
  */
63
92
  clearTimer() {
64
- clearInterval(this.timer), this.timer = null;
93
+ this.timer && clearInterval(this.timer), this.timer = null;
65
94
  }
66
95
  /**
67
96
  * checks to see if the scroller is moving to the
@@ -71,7 +100,7 @@ class P {
71
100
  * @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
72
101
  */
73
102
  determineScrollAction(t) {
74
- this.options.autoplay && this.timer !== null && this.clearTimer(), t === 1 ? this.currentIndex === this.totalSlides - 1 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0), i(this, s, h).call(this, t), this.currentIndex = 0) : (i(this, s, h).call(this, t), this.currentIndex += 1) : t === -1 && (this.currentIndex === 0 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(99999, 0), this.currentIndex = this.totalSlides - 1, i(this, s, h).call(this, t)) : (i(this, s, h).call(this, t), this.currentIndex -= 1)), this.options.autoplay && this.timer === null && this.startTimer();
103
+ this.options.autoplay && this.timer !== null && this.clearTimer(), t === 1 ? this.currentIndex === this.totalSlides - 1 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(0, 0), r(this, s, a).call(this, t), this.currentIndex = 0) : (r(this, s, a).call(this, t), this.currentIndex += 1) : t === -1 && (this.currentIndex === 0 ? this.options.wrapAround && (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(99999, 0), this.currentIndex = this.totalSlides - 1, r(this, s, a).call(this, t)) : (r(this, s, a).call(this, t), this.currentIndex -= 1)), this.options.autoplay && this.timer === null && this.startTimer();
75
104
  }
76
105
  /**
77
106
  * Navigates the carousel to a specific index
@@ -82,8 +111,8 @@ class P {
82
111
  navigateToIndex(t) {
83
112
  if (t === this.currentIndex) return;
84
113
  this.options.autoplay && this.clearTimer();
85
- let e = t > this.currentIndex ? t - this.currentIndex : this.currentIndex - t, l = t > this.currentIndex ? 1 : -1;
86
- this.currentIndex = t, i(this, s, h).call(this, l, e), this.options.autoplay && this.startTimer(), i(this, s, c).call(this);
114
+ let e = t > this.currentIndex ? t - this.currentIndex : this.currentIndex - t, n = t > this.currentIndex ? 1 : -1;
115
+ this.currentIndex = t, r(this, s, a).call(this, n, e), this.options.autoplay && this.startTimer(), r(this, s, d).call(this);
87
116
  }
88
117
  /**
89
118
  * Returns the current index of the carousel
@@ -99,28 +128,28 @@ class P {
99
128
  */
100
129
  handleScrollEnd() {
101
130
  if (this.timer === null && this.options.autoplay && this.startTimer(), this.currentIntersecting.target) {
102
- const t = Number.parseInt(this.currentIntersecting.target.getAttribute("data-index"), 10);
131
+ const t = Number.parseInt(this.currentIntersecting.target.getAttribute("data-index") ?? "0", 10);
103
132
  if (!this.options.wrapAround) {
104
- this.currentIndex = t, i(this, s, c).call(this);
133
+ this.currentIndex = t, r(this, s, d).call(this);
105
134
  return;
106
135
  }
107
- t === 0 ? (this.currentIndex = this.slides.length - 1, i(this, s, d).call(this, { scrollport: this.scrollerEl, element: this.slideEls[this.totalSlides] })) : t === this.totalSlideEls - 1 ? (this.currentIndex = 0, i(this, s, d).call(this, { scrollport: this.scrollerEl, element: this.slideEls[1] })) : this.currentIndex = t - 1;
136
+ t === 0 ? (this.currentIndex = this.totalSlides - 1, r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.slideEls[this.totalSlides] })) : t === this.totalSlideEls - 1 ? (this.currentIndex = 0, r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.slideEls[1] })) : this.currentIndex = t - 1;
108
137
  }
109
- i(this, s, c).call(this);
138
+ r(this, s, d).call(this);
110
139
  }
111
140
  }
112
141
  s = new WeakSet(), /**
113
142
  * Scrolls the carousel to a specific child element
114
143
  * @param {*} param0 - an object containing the scrollport element and the child element to scroll to
115
144
  */
116
- d = function({ scrollport: t, element: e }) {
117
- const l = this.slideGutterSize * 2 / 100;
118
- t.style.scrollBehavior = "auto", t.scrollTo(Math.abs(t.offsetLeft - e.offsetLeft + e.clientWidth * l), 0);
145
+ u = function({ scrollport: t, element: e }) {
146
+ const n = this.slideGutterSize * 2 / 100;
147
+ t.style.scrollBehavior = "auto", t.scrollTo(Math.abs(t.offsetLeft - e.offsetLeft + e.clientWidth * n), 0);
119
148
  }, /**
120
149
  * adds an observer to the scroller element that we can use to
121
150
  * determine which slide is intersecting
122
151
  */
123
- x = function() {
152
+ w = function() {
124
153
  this.carouselObserver = new IntersectionObserver((t) => {
125
154
  for (let e of t)
126
155
  e.isIntersecting && (this.currentIntersecting = e);
@@ -133,19 +162,20 @@ x = function() {
133
162
  */
134
163
  A = function() {
135
164
  for (let t of this.slideEls)
136
- this.carouselObserver.observe(t);
165
+ this.carouselObserver && this.carouselObserver.observe(t);
137
166
  }, /**
138
167
  * sets some intial settings for the carousel based on some of the options
139
168
  */
140
- w = function() {
141
- this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(-9999, 0), i(this, s, d).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls.previous.setAttribute("disabled", !0), i(this, s, c).call(this)) : i(this, s, I).call(this), this.totalSlides === 1 && this.slideEls[0].removeAttribute("inert");
169
+ S = function() {
170
+ var t, e;
171
+ this.options.wrapAround ? (this.scrollerEl.style.scrollBehavior = "auto", this.scrollerEl.scrollTo(-9999, 0), r(this, s, u).call(this, { scrollport: this.scrollerEl, element: this.scrollerEl.children[1] })) : this.options.showControls ? (this.navBtnEls && ((t = this.navBtnEls) != null && t.previous) && ((e = this.navBtnEls) == null || e.previous.setAttribute("disabled", "disabled")), r(this, s, d).call(this)) : r(this, s, g).call(this), this.totalSlides === 1 && this.slideEls[0].removeAttribute("inert");
142
172
  }, /**
143
173
  * Scrolls the carousel in a specified direction by a specified distance
144
174
  *
145
175
  * @param {number} dir - a number representing the direction of scroll 1 for forward, -1 for backward
146
176
  * @param {number} distance - a number representing the number of slides to scroll
147
177
  */
148
- h = function(t, e = 1) {
178
+ a = function(t, e = 1) {
149
179
  this.scrollerEl.style.scrollBehavior = "smooth", this.scrollerEl.scrollBy({
150
180
  left: this.scrollerEl.clientWidth * ((100 - this.slideGutterSize * 2) / 100) * e * t,
151
181
  top: 0,
@@ -157,8 +187,8 @@ h = function(t, e = 1) {
157
187
  * add methods here to have them sync
158
188
  * when scroller is scrolled
159
189
  */
160
- c = function() {
161
- i(this, s, I).call(this), this.showPagination && i(this, s, T).call(this), this.options.wrapAround || i(this, s, y).call(this);
190
+ d = function() {
191
+ r(this, s, g).call(this), this.showPagination && r(this, s, T).call(this), this.options.wrapAround || r(this, s, y).call(this);
162
192
  }, /**
163
193
  * Sets the control arrow buttons to disabled if the carousel is at the start or end
164
194
  */
@@ -167,10 +197,10 @@ y = function() {
167
197
  }, /**
168
198
  * Sets the inert attribute on all slides that are not the current slide
169
199
  */
170
- I = function() {
200
+ g = function() {
171
201
  const t = this.options.wrapAround ? this.currentIndex + 1 : this.currentIndex;
172
- this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((e, l) => {
173
- e.toggleAttribute("inert", l !== t);
202
+ this.slideEls.length === 1 ? this.slideEls[0].removeAttribute("inert") : this.slideEls.forEach((e, n) => {
203
+ e.toggleAttribute("inert", n !== t);
174
204
  });
175
205
  }, /**
176
206
  * Sets the pagination indicator to the current slide
@@ -181,5 +211,5 @@ T = function() {
181
211
  });
182
212
  };
183
213
  export {
184
- P as default
214
+ M as default
185
215
  };
@@ -1 +1,2 @@
1
- export { Carousel, Carousel as default } from './Carousel';
1
+ export { Carousel } from './Carousel';
2
+ export { Carousel as default } from './Carousel';
@@ -1,15 +1,17 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import o from "react";
3
- import { c as r } from "../../../Carousel.module-DOrBKQEQ.mjs";
4
- const n = o.forwardRef(({ slides: t, carouselId: l }, s) => /* @__PURE__ */ e("div", { className: `${r["carousel-nav"]} carousel-nav`, children: /* @__PURE__ */ e("ol", { className: r["carousel-nav__list"], ref: s, children: t.map((c, a) => /* @__PURE__ */ e(
5
- "li",
6
- {
7
- className: `${r["carousel-nav__item"]} carousel-nav__item`,
8
- "data-current": a === 0 ? "true" : "false",
9
- title: `Navigate to slide ${a + 1}`
10
- },
11
- `carousel${l}-nav-${a}`
12
- )) }) }));
3
+ import { c as r } from "../../../Carousel.module-CNJzZW2-.mjs";
4
+ const n = o.forwardRef(
5
+ ({ slides: t, carouselId: l }, s) => /* @__PURE__ */ e("div", { className: `${r["carousel-nav"]} carousel-nav`, children: /* @__PURE__ */ e("ol", { className: r["carousel-nav__list"], ref: s, children: t.map((c, a) => /* @__PURE__ */ e(
6
+ "li",
7
+ {
8
+ className: `${r["carousel-nav__item"]} carousel-nav__item`,
9
+ "data-current": a === 0 ? "true" : "false",
10
+ title: `Navigate to slide ${a + 1}`
11
+ },
12
+ `carousel${l}-nav-${a}`
13
+ )) }) })
14
+ );
13
15
  export {
14
16
  n as default
15
17
  };
@@ -1,7 +1,9 @@
1
- export function CarouselSlide({ slide, index, currentIndex, variableHeight }: {
2
- slide: any;
3
- index: any;
4
- currentIndex: any;
5
- variableHeight?: boolean | undefined;
6
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Slide } from '../../types';
2
+ type CarouselSlideProps = {
3
+ slide: Slide;
4
+ index: number;
5
+ currentIndex: number;
6
+ variableHeight?: boolean;
7
+ };
8
+ export declare function CarouselSlide({ slide, index, currentIndex, variableHeight, }: CarouselSlideProps): JSX.Element;
7
9
  export default CarouselSlide;
@@ -1,37 +1,39 @@
1
- import { jsx as t, Fragment as c } from "react/jsx-runtime";
2
- import { useState as d, useEffect as m, createElement as p } from "react";
3
- import { classes as f } from "../../utils/helpers.js";
4
- import { slideLayoutsMap as h } from "../../settings.js";
5
- import '../../assets/CarouselSlide.css';const g = "_slide_gx8qn_1", i = {
6
- slide: g,
7
- "slide--variable-height": "_slide--variable-height_gx8qn_17"
1
+ import { jsx as r, Fragment as u } from "react/jsx-runtime";
2
+ import { useState as d, useEffect as p, createElement as f } from "react";
3
+ import { classes as h } from "../../utils/helpers.js";
4
+ import { slideLayoutsMap as g } from "../../settings.js";
5
+ import { l as i } from "../../logger-C0N7U0YY.mjs";
6
+ import '../../assets/CarouselSlide.css';const y = "_slide_1echy_2", s = {
7
+ slide: y,
8
+ "slide--variable-height": "_slide--variable-height_1echy_18"
8
9
  };
9
- function v({
10
+ i.setComponent("CarouselSlide");
11
+ function C({
10
12
  slide: e,
11
13
  index: l,
12
- currentIndex: r,
13
- variableHeight: s = !1
14
+ currentIndex: a,
15
+ variableHeight: o = !1
14
16
  }) {
15
- const [a, o] = d(null);
16
- return m(() => {
17
- o(h.get(e.layout));
18
- }, [e]), /* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(
17
+ const [t, n] = d(null);
18
+ return p(() => {
19
+ n(g.get(e.layout) || null);
20
+ }, [e]), i.log("slide", e, "index", l, "currentIndex", a), /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(
19
21
  "li",
20
22
  {
21
- className: f([
22
- i.slide,
23
- "slide",
24
- s ? i["slide--variable-height"] : ""
25
- ]),
26
23
  "aria-label": e.ariaLabel,
27
24
  "aria-roledescription": "carousel-item",
28
- inert: r !== l ? "" : null,
25
+ className: h([
26
+ s.slide,
27
+ "slide",
28
+ o ? s["slide--variable-height"] : ""
29
+ ]),
29
30
  "data-index": l,
30
- children: a !== null && e.cells.map((n, u) => /* @__PURE__ */ p(a, { ...n.props, key: `slide${l}-cell${u}` }))
31
+ ...a !== l ? { inert: "" } : {},
32
+ children: t !== null && e.cells.map((c, m) => /* @__PURE__ */ f(t, { ...c.props, key: `slide${l}-cell${m}` }))
31
33
  }
32
34
  ) });
33
35
  }
34
36
  export {
35
- v as CarouselSlide,
36
- v as default
37
+ C as CarouselSlide,
38
+ C as default
37
39
  };
@@ -1 +1,2 @@
1
- export { CarouselSlide, CarouselSlide as default } from './CarouselSlide';
1
+ export { CarouselSlide } from './CarouselSlide';
2
+ export { CarouselSlide as default } from './CarouselSlide';
@@ -1,2 +1,2 @@
1
- export function Empty(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function Empty(): JSX.Element;
2
2
  export default Empty;
@@ -1,9 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import "react";
3
- function r() {
2
+ function m() {
4
3
  return /* @__PURE__ */ t("div", { className: "empty-slide" });
5
4
  }
6
5
  export {
7
- r as Empty,
8
- r as default
6
+ m as Empty,
7
+ m as default
9
8
  };
@@ -1 +1,2 @@
1
- export { Empty, Empty as default } from './Empty';
1
+ export { Empty } from './Empty';
2
+ export { Empty as default } from './Empty';
@@ -1,9 +1,9 @@
1
- export function FigureSlide({ images, imagesPerSlide }: {
1
+ export declare function FigureSlide({ images, imagesPerSlide }: {
2
2
  images?: {
3
3
  url: string;
4
4
  altText: string;
5
5
  caption: string;
6
6
  }[] | undefined;
7
7
  imagesPerSlide?: number | undefined;
8
- }): import("react/jsx-runtime").JSX.Element;
8
+ }): JSX.Element;
9
9
  export default FigureSlide;
@@ -1,16 +1,15 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as s } from "../../../../utils/helpers.js";
2
+ import { classes as u } from "../../../../utils/helpers.js";
4
3
  import '../../../../assets/Figure.css';const r = {
5
- "figure-slide": "_figure-slide_6uaj0_1",
6
- "figure-slide__figure": "_figure-slide__figure_6uaj0_9",
7
- "figure-slide--captioned-image": "_figure-slide--captioned-image_6uaj0_36"
4
+ "figure-slide__figure": "_figure-slide__figure_1140y_2",
5
+ "figure-slide": "_figure-slide_1140y_2",
6
+ "figure-slide--captioned-image": "_figure-slide--captioned-image_1140y_36"
8
7
  };
9
- function n({ images: l = [{ url: "", altText: "", caption: "" }], imagesPerSlide: t = 1 }) {
10
- return /* @__PURE__ */ i("div", { className: r["figure-slide"], children: l.map((e, u) => /* @__PURE__ */ i(
8
+ function c({ images: l = [{ url: "", altText: "", caption: "" }], imagesPerSlide: t = 1 }) {
9
+ return /* @__PURE__ */ i("div", { className: r["figure-slide"], children: l.map((e, s) => /* @__PURE__ */ i(
11
10
  "figure",
12
11
  {
13
- className: s([
12
+ className: u([
14
13
  r["figure-slide__figure"],
15
14
  e != null && e.caption ? r["figure-slide--captioned-image"] : ""
16
15
  ]),
@@ -21,10 +20,10 @@ function n({ images: l = [{ url: "", altText: "", caption: "" }], imagesPerSlide
21
20
  title: e.altText !== "" ? e.altText : "",
22
21
  children: (e == null ? void 0 : e.caption) && /* @__PURE__ */ i("figcaption", { children: e.caption })
23
22
  },
24
- `figure-${u}`
23
+ `figure-${s}`
25
24
  )) });
26
25
  }
27
26
  export {
28
- n as FigureSlide,
29
- n as default
27
+ c as FigureSlide,
28
+ c as default
30
29
  };
@@ -1 +1,2 @@
1
- export { FigureSlide, FigureSlide as default } from './Figure';
1
+ export { FigureSlide } from './Figure';
2
+ export { FigureSlide as default } from './Figure';
@@ -1,2 +1,2 @@
1
- export function ImageCardSlide(props: any): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ImageCardSlide(props: Record<string, unknown>): JSX.Element;
2
2
  export default ImageCardSlide;
@@ -1,10 +1,9 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import "react";
3
2
  import { ImageCard as e } from "../../../ImageCard/ImageCard.js";
4
- function o(a) {
3
+ function m(a) {
5
4
  return /* @__PURE__ */ r("div", { className: "image-card-slide", children: /* @__PURE__ */ r(e, { ...a }) });
6
5
  }
7
6
  export {
8
- o as ImageCardSlide,
9
- o as default
7
+ m as ImageCardSlide,
8
+ m as default
10
9
  };
@@ -1,17 +1,19 @@
1
- export function ShowSlide({ series, nextAirdate, titlePosition, titleColor, fullSizeImagePosition, mobileImagePosition, lazyLoad, fetchPriority, decoding, hasSeriesPages, handleClicks, altText, SCHEDULE_ENDPOINT, NETWORK }: {
2
- series: any;
3
- nextAirdate?: null | undefined;
4
- titlePosition?: string | undefined;
5
- titleColor?: string | undefined;
6
- fullSizeImagePosition?: number[] | undefined;
7
- mobileImagePosition?: number[] | undefined;
8
- lazyLoad?: boolean | undefined;
9
- fetchPriority?: null | undefined;
10
- decoding?: string | undefined;
11
- hasSeriesPages?: boolean | undefined;
12
- handleClicks?: (() => boolean) | undefined;
13
- altText?: string | undefined;
14
- SCHEDULE_ENDPOINT?: string | undefined;
15
- NETWORK?: string | undefined;
16
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Series, HandleClicksDetails } from '../../../../types';
2
+ type ShowSlideProps = {
3
+ series: Series;
4
+ nextAirdate?: string | null;
5
+ titlePosition?: 'left' | 'center' | 'right';
6
+ titleColor?: string;
7
+ fullSizeImagePosition?: [number, number];
8
+ mobileImagePosition?: [number, number];
9
+ lazyLoad?: boolean;
10
+ fetchPriority?: 'high' | 'low' | 'auto' | undefined;
11
+ decoding?: 'sync' | 'async' | 'auto';
12
+ hasSeriesPages?: boolean;
13
+ handleClicks?: (details: HandleClicksDetails) => void;
14
+ altText?: string;
15
+ SCHEDULE_ENDPOINT?: string;
16
+ NETWORK?: string;
17
+ };
18
+ export declare function ShowSlide({ series, nextAirdate, titlePosition, titleColor, fullSizeImagePosition, mobileImagePosition, lazyLoad, fetchPriority, decoding, hasSeriesPages, handleClicks, altText, SCHEDULE_ENDPOINT, NETWORK, }: ShowSlideProps): JSX.Element;
17
19
  export default ShowSlide;