@scrippsproduct/networks-ui-library 1.1.0-alpha.1 → 1.1.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (336) hide show
  1. package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
  2. package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
  3. package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
  4. package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
  5. package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
  6. package/dist/assets/AdBlock.css +1 -1
  7. package/dist/assets/AirDateFormatter.css +1 -1
  8. package/dist/assets/AnchorTag.css +1 -1
  9. package/dist/assets/BasicGridModule.css +1 -1
  10. package/dist/assets/Button.css +1 -1
  11. package/dist/assets/Carousel.css +1 -1
  12. package/dist/assets/ChannelSearch.css +1 -1
  13. package/dist/assets/ChoicesItem.css +1 -1
  14. package/dist/assets/ContentHero.css +1 -1
  15. package/dist/assets/CtaBlock.css +1 -1
  16. package/dist/assets/CustomDataList.css +1 -1
  17. package/dist/assets/DateNavigation.css +1 -1
  18. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  19. package/dist/assets/Figure2.css +1 -1
  20. package/dist/assets/FindUs.css +1 -1
  21. package/dist/assets/GradientButton.css +1 -1
  22. package/dist/assets/ImageCard.css +1 -1
  23. package/dist/assets/InlineNavigation.css +1 -1
  24. package/dist/assets/LogoListItem.css +1 -1
  25. package/dist/assets/ModalContainer.css +1 -1
  26. package/dist/assets/PageHero.css +1 -1
  27. package/dist/assets/ProgramAirdate.css +1 -1
  28. package/dist/assets/PromotionBlock.css +1 -1
  29. package/dist/assets/ResultsTable.css +1 -1
  30. package/dist/assets/ScheduleLayout.css +1 -0
  31. package/dist/assets/ScheduleList.css +1 -1
  32. package/dist/assets/ShowAboutLayout.css +1 -1
  33. package/dist/assets/ShowSlide.css +1 -1
  34. package/dist/assets/SocialLinks.css +1 -1
  35. package/dist/assets/TextSlide.css +1 -1
  36. package/dist/assets/TwoColumnSlide.css +1 -1
  37. package/dist/assets/UpcomingList.css +1 -1
  38. package/dist/components/AdBlock/AdBlock.d.ts +20 -1
  39. package/dist/components/AdBlock/AdBlock.js +118 -83
  40. package/dist/components/AdBlock/index.d.ts +2 -1
  41. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
  42. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
  43. package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
  44. package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
  45. package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
  46. package/dist/components/AirDateFormatter/index.d.ts +2 -1
  47. package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
  48. package/dist/components/AnchorTag/AnchorTag.js +22 -23
  49. package/dist/components/AnchorTag/index.d.ts +2 -1
  50. package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
  51. package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
  52. package/dist/components/BCVideoPlayer/index.d.ts +2 -1
  53. package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
  54. package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
  55. package/dist/components/BasicGridModule/index.d.ts +2 -1
  56. package/dist/components/Button/Button.d.ts +18 -17
  57. package/dist/components/Button/Button.js +31 -32
  58. package/dist/components/Button/index.d.ts +2 -1
  59. package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
  60. package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
  61. package/dist/components/ButtonAnchor/index.d.ts +2 -1
  62. package/dist/components/Carousel/Carousel.js +1 -1
  63. package/dist/components/Carousel/index.d.ts +2 -1
  64. package/dist/components/Carousel/navigations/Pagination.js +12 -10
  65. package/dist/components/CarouselSlide/CarouselSlide.js +25 -87
  66. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
  67. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
  68. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
  69. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
  70. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +5 -5
  71. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
  72. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
  73. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
  74. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
  75. package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
  76. package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
  77. package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
  78. package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
  79. package/dist/components/ChannelSearch/index.d.ts +2 -1
  80. package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
  81. package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
  82. package/dist/components/ChoicesItem/index.d.ts +2 -1
  83. package/dist/components/ChoicesItem/index.js +1 -1
  84. package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
  85. package/dist/components/ChoicesList/ChoicesList.js +3 -4
  86. package/dist/components/ChoicesList/index.d.ts +2 -1
  87. package/dist/components/Concat/Concat.d.ts +4 -3
  88. package/dist/components/Concat/Concat.js +5 -5
  89. package/dist/components/Concat/index.d.ts +2 -1
  90. package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
  91. package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
  92. package/dist/components/CreateChoiceList/index.d.ts +2 -1
  93. package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
  94. package/dist/components/CtaBlock/CtaBlock.js +23 -22
  95. package/dist/components/CtaBlock/index.d.ts +2 -1
  96. package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
  97. package/dist/components/CustomDataList/CustomDataList.js +200 -174
  98. package/dist/components/CustomDataList/index.d.ts +2 -1
  99. package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
  100. package/dist/components/CustomSelect/CustomSelect.js +224 -154
  101. package/dist/components/CustomSelect/index.d.ts +2 -1
  102. package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
  103. package/dist/components/DateNavigation/DateNavigation.js +125 -82
  104. package/dist/components/DateNavigation/index.d.ts +2 -1
  105. package/dist/components/DatePicker/index.d.ts +2 -1
  106. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
  107. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
  108. package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
  109. package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
  110. package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
  111. package/dist/components/DrawerNavigation/index.d.ts +2 -1
  112. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
  113. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
  114. package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
  115. package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
  116. package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
  117. package/dist/components/EqualSizeGrid/index.d.ts +2 -1
  118. package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
  119. package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
  120. package/dist/components/ErrorHandler/index.d.ts +2 -1
  121. package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
  122. package/dist/components/FeaturedList/FeaturedList.js +44 -36
  123. package/dist/components/FeaturedList/index.d.ts +2 -1
  124. package/dist/components/Figure/Figure.d.ts +5 -4
  125. package/dist/components/Figure/Figure.js +8 -9
  126. package/dist/components/Figure/index.d.ts +2 -1
  127. package/dist/components/FindUs/FindUs.d.ts +24 -1
  128. package/dist/components/FindUs/FindUs.js +70 -63
  129. package/dist/components/FindUs/index.d.ts +2 -1
  130. package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
  131. package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
  132. package/dist/components/FooterNavigation/index.d.ts +2 -1
  133. package/dist/components/GenericList/GenericList.d.ts +6 -5
  134. package/dist/components/GenericList/GenericList.js +13 -14
  135. package/dist/components/GenericList/index.d.ts +2 -1
  136. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
  137. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
  138. package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
  139. package/dist/components/GradientButton/GradientButton.d.ts +15 -14
  140. package/dist/components/GradientButton/GradientButton.js +37 -40
  141. package/dist/components/GradientButton/index.d.ts +2 -1
  142. package/dist/components/GridList/GridList.d.ts +6 -5
  143. package/dist/components/GridList/GridList.js +14 -10
  144. package/dist/components/GridList/index.d.ts +2 -1
  145. package/dist/components/ImageCard/ImageCard.d.ts +27 -1
  146. package/dist/components/ImageCard/ImageCard.js +59 -58
  147. package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
  148. package/dist/components/ImageCard/ImageCardCore.js +115 -89
  149. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
  150. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
  151. package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
  152. package/dist/components/InfoPanel/InfoPanel.js +2 -2
  153. package/dist/components/InfoPanel/index.d.ts +2 -1
  154. package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
  155. package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
  156. package/dist/components/Input/Input.d.ts +10 -9
  157. package/dist/components/Input/Input.js +47 -40
  158. package/dist/components/Input/index.d.ts +2 -1
  159. package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
  160. package/dist/components/InstructionsList/InstructionsList.js +20 -10
  161. package/dist/components/InstructionsList/index.d.ts +2 -1
  162. package/dist/components/Loading/Loading.d.ts +8 -7
  163. package/dist/components/Loading/Loading.js +25 -20
  164. package/dist/components/Loading/index.d.ts +2 -1
  165. package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
  166. package/dist/components/LoadingV2/LoadingV2.js +31 -21
  167. package/dist/components/LoadingV2/index.d.ts +2 -1
  168. package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
  169. package/dist/components/LogoListItem/LogoListItem.js +34 -17
  170. package/dist/components/LogoListItem/index.d.ts +2 -1
  171. package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
  172. package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
  173. package/dist/components/LogoNavigation/index.d.ts +2 -1
  174. package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
  175. package/dist/components/ModalContainer/ModalContainer.js +84 -72
  176. package/dist/components/ModalContainer/index.d.ts +2 -1
  177. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
  178. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
  179. package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
  180. package/dist/components/NavList/NavList.d.ts +9 -7
  181. package/dist/components/NavList/NavList.js +56 -20
  182. package/dist/components/NavList/index.d.ts +2 -1
  183. package/dist/components/Overlay/Overlay.d.ts +5 -5
  184. package/dist/components/Overlay/Overlay.js +8 -5
  185. package/dist/components/PageHero/PageHero.d.ts +6 -5
  186. package/dist/components/PageHero/PageHero.js +29 -16
  187. package/dist/components/PageHero/index.d.ts +2 -1
  188. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
  189. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
  190. package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
  191. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
  192. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
  193. package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
  194. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
  195. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
  196. package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
  197. package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
  198. package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
  199. package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
  200. package/dist/components/ProgramAirdate/index.d.ts +2 -1
  201. package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
  202. package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
  203. package/dist/components/PromotionBlock/index.d.ts +2 -1
  204. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
  205. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
  206. package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
  207. package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
  208. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
  209. package/dist/components/PromotionsRowModule/index.d.ts +2 -1
  210. package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
  211. package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
  212. package/dist/components/RescanInstructions/index.d.ts +2 -1
  213. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
  214. package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
  215. package/dist/components/ResponsiveImage/index.d.ts +2 -1
  216. package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
  217. package/dist/components/ResultsTable/ResultsTable.js +21 -16
  218. package/dist/components/ResultsTable/index.d.ts +2 -1
  219. package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
  220. package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
  221. package/dist/components/ResultsTableBody/index.d.ts +2 -1
  222. package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
  223. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
  224. package/dist/components/ResultsTableHeader/index.d.ts +2 -1
  225. package/dist/components/ScheduleLayout/ScheduleContext.d.ts +25 -0
  226. package/dist/components/ScheduleLayout/ScheduleContext.js +33 -0
  227. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +15 -5
  228. package/dist/components/ScheduleLayout/ScheduleLayout.js +96 -24
  229. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  230. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +14 -0
  231. package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
  232. package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
  233. package/dist/components/ScheduleList/ScheduleList.js +153 -60
  234. package/dist/components/ScheduleList/index.d.ts +2 -1
  235. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
  236. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
  237. package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
  238. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
  239. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
  240. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +53 -37
  241. package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
  242. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
  243. package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
  244. package/dist/components/SectionedContent/SectionedContent.js +14 -15
  245. package/dist/components/SectionedContent/index.d.ts +2 -1
  246. package/dist/components/Select/Select.d.ts +15 -11
  247. package/dist/components/Select/Select.js +21 -21
  248. package/dist/components/Select/index.d.ts +2 -1
  249. package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
  250. package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
  251. package/dist/components/ShowAboutContent/index.d.ts +2 -1
  252. package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
  253. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
  254. package/dist/components/ShowAboutLayout/index.d.ts +2 -1
  255. package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
  256. package/dist/components/SocialLinks/SocialLinks.js +192 -138
  257. package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
  258. package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
  259. package/dist/components/SocialShareBlock/index.d.ts +2 -1
  260. package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
  261. package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
  262. package/dist/components/SocialShareButton/index.d.ts +2 -1
  263. package/dist/components/SocialShareButton/index.js +1 -1
  264. package/dist/components/StringList/StringList.d.ts +6 -5
  265. package/dist/components/StringList/StringList.js +16 -12
  266. package/dist/components/StringList/index.d.ts +2 -1
  267. package/dist/components/TabContent/TabContent.d.ts +5 -4
  268. package/dist/components/TabContent/TabContent.js +9 -7
  269. package/dist/components/TabContent/index.d.ts +2 -1
  270. package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
  271. package/dist/components/TabNavigation/TabNavigation.js +58 -53
  272. package/dist/components/TabNavigation/index.d.ts +2 -1
  273. package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
  274. package/dist/components/TabbedContent/TabbedContent.js +24 -8
  275. package/dist/components/TabbedContent/index.d.ts +2 -1
  276. package/dist/components/TextArea/TextArea.d.ts +9 -1
  277. package/dist/components/TextArea/TextArea.js +13 -13
  278. package/dist/components/TextArea/index.d.ts +2 -1
  279. package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
  280. package/dist/components/UpcomingList/UpcomingList.js +55 -41
  281. package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
  282. package/dist/containers/GetFeatruedListContainer.js +16 -16
  283. package/dist/containers/NowPlayingContainer.d.ts +17 -15
  284. package/dist/containers/NowPlayingContainer.js +18 -16
  285. package/dist/custom-elements.d.js +1 -0
  286. package/dist/data-resources/FakeDataResource.d.ts +77 -68
  287. package/dist/data-resources/FakeDataResource.js +244 -142
  288. package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
  289. package/dist/error-boundries/BlankErrorBoundry.js +5 -5
  290. package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
  291. package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
  292. package/dist/hooks/useGetSchedule.d.ts +12 -4
  293. package/dist/hooks/useGetSchedule.js +31 -27
  294. package/dist/hooks/useGetUpcoming.d.ts +8 -6
  295. package/dist/hooks/useGetUpcoming.js +22 -25
  296. package/dist/icons/Facebook.js +6 -6
  297. package/dist/icons/Tiktok.js +15 -7
  298. package/dist/icons/Twitter.js +7 -7
  299. package/dist/index.js +1 -1
  300. package/dist/logger-C0N7U0YY.mjs +67 -0
  301. package/dist/settings.js +6 -5
  302. package/dist/utils/Redirect.d.ts +2 -2
  303. package/dist/utils/analytics.js +1 -1
  304. package/dist/utils/date-helpers.d.ts +3 -2
  305. package/dist/utils/date-helpers.js +26 -26
  306. package/dist/utils/events.js +8 -6
  307. package/dist/utils/getFeaturedList.d.ts +28 -8
  308. package/dist/utils/getFeaturedList.js +58 -45
  309. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  310. package/dist/utils/getFeaturedListImages.js +27 -16
  311. package/dist/utils/getOnNowProgram.d.ts +17 -3
  312. package/dist/utils/getOnNowProgram.js +106 -68
  313. package/dist/utils/getSchedule.d.ts +8 -6
  314. package/dist/utils/getSchedule.js +6 -1
  315. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  316. package/dist/utils/getUpcomingPrograms.js +5 -4
  317. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  318. package/dist/utils/getViewingPlatforms.js +14 -11
  319. package/dist/utils/gtm.js +1 -1
  320. package/dist/utils/helpers.d.ts +9 -9
  321. package/dist/utils/helpers.js +69 -65
  322. package/dist/utils/program-helpers.d.ts +14 -20
  323. package/dist/utils/program-helpers.js +9 -8
  324. package/dist/utils/series-helpers.d.ts +14 -20
  325. package/dist/utils/series-helpers.js +9 -8
  326. package/package.json +18 -14
  327. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  328. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  329. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  330. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  331. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  332. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  333. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  334. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  335. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  336. package/dist/facebook-HCcA1M1m.mjs +0 -54
@@ -1,23 +1,22 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import "react";
3
- import { p as s } from "../../index-VjANCDXC.mjs";
4
- import { classes as o } from "../../utils/helpers.js";
5
- function u({
6
- list: p = [],
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { p as c } from "../../index-VjANCDXC.mjs";
3
+ import { classes as t } from "../../utils/helpers.js";
4
+ function f({
5
+ list: s = [],
7
6
  type: l = "unordered",
8
- // 'unordered' | 'ordered'
9
7
  classname: r = ""
10
8
  }) {
11
- return /* @__PURE__ */ t("ul", { className: o(["generic-list", `${r}`]), children: p.map((e, i) => /* @__PURE__ */ t(
9
+ const n = () => s.map((e, o) => /* @__PURE__ */ i(
12
10
  "li",
13
11
  {
14
- className: o(["generic-list__item", `${r}__item`]),
15
- children: typeof e == "string" && e !== "" ? s(e) : e
12
+ className: t(["generic-list__item", `${r}__item`]),
13
+ children: typeof e == "string" && e !== "" ? c(e) : e
16
14
  },
17
- r === "" ? `generic-list-${i}` : `${r}-${i}`
18
- )) });
15
+ r === "" ? `generic-list-${o}` : `${r}-${o}`
16
+ ));
17
+ return l === "unordered" ? /* @__PURE__ */ i("ul", { className: t(["generic-list", `${r}`]), children: n() }) : /* @__PURE__ */ i("ol", { className: t(["generic-list", "generic-list--ordered", `${r}`]), children: n() });
19
18
  }
20
19
  export {
21
- u as GenericList,
22
- u as default
20
+ f as GenericList,
21
+ f as default
23
22
  };
@@ -1 +1,2 @@
1
- export { GenericList, GenericList as default } from './GenericList';
1
+ export { GenericList } from './GenericList';
2
+ export { GenericList as default } from './GenericList';
@@ -1,9 +1,10 @@
1
- export function GetAirdateWrapper({ programId, programType, separatorType, includeEpisode, SCHEDULE_ENDPOINT, NETWORK, }: {
2
- programId: any;
3
- programType?: string | undefined;
4
- separatorType?: string | undefined;
5
- includeEpisode?: boolean | undefined;
6
- SCHEDULE_ENDPOINT: any;
7
- NETWORK: any;
8
- }): import("react/jsx-runtime").JSX.Element;
1
+ type GetAirdateWrapperProps = {
2
+ programId: string | number;
3
+ programType?: 'series' | 'film' | 'unknown';
4
+ separatorType?: 'pipe' | 'line-break' | 'single-line-break' | 'none' | undefined;
5
+ includeEpisode?: boolean;
6
+ SCHEDULE_ENDPOINT: string;
7
+ NETWORK: string;
8
+ };
9
+ export declare function GetAirdateWrapper({ programId, programType, separatorType, includeEpisode, SCHEDULE_ENDPOINT, NETWORK, }: GetAirdateWrapperProps): JSX.Element;
9
10
  export default GetAirdateWrapper;
@@ -1,40 +1,56 @@
1
- import { jsx as r, Fragment as d } from "react/jsx-runtime";
2
- import { useState as s } from "react";
3
- import { convert12to24 as A } from "../../utils/helpers.js";
4
- import b from "../../hooks/useGetUpcoming.js";
5
- import { AirDateFormatter as c } from "../AirDateFormatter/AirDateFormatter.js";
6
- import { StringList as h } from "../StringList/StringList.js";
7
- const N = (i) => {
8
- let n;
9
- for (let t = 0; t < i.title_code.length; t++)
10
- if (!isNaN(Number.parseInt(i.title_code.charAt(t), 10))) {
11
- n = t;
1
+ import { jsx as s, Fragment as m } from "react/jsx-runtime";
2
+ import { useState as p } from "react";
3
+ import { convert12to24 as b } from "../../utils/helpers.js";
4
+ import h from "../../hooks/useGetUpcoming.js";
5
+ import { AirDateFormatter as d } from "../AirDateFormatter/AirDateFormatter.js";
6
+ import { StringList as N } from "../StringList/StringList.js";
7
+ const D = (t) => {
8
+ var n;
9
+ let r;
10
+ for (let i = 0; i < ((n = t == null ? void 0 : t.title_code) == null ? void 0 : n.length); i++)
11
+ if (!isNaN(Number.parseInt(t.title_code.charAt(i), 10))) {
12
+ r = i;
12
13
  break;
13
14
  }
14
- return i.title_code.slice(n);
15
+ return t.title_code.slice(r);
15
16
  };
16
- function v({
17
- programId: i,
18
- programType: n = "series",
19
- separatorType: t = "pipe",
20
- includeEpisode: m = !1,
21
- SCHEDULE_ENDPOINT: _,
22
- NETWORK: u
17
+ function w({
18
+ programId: t,
19
+ programType: r = "series",
20
+ separatorType: n = "pipe",
21
+ includeEpisode: i = !1,
22
+ SCHEDULE_ENDPOINT: c,
23
+ NETWORK: _
23
24
  }) {
24
- const [a, S] = s(null), [$, x] = s(null);
25
- return b({ programId: i, programType: n, SCHEDULE_ENDPOINT: _, NETWORK: u }).then((e) => {
26
- var p, f;
27
- let l = null, o = null;
28
- e.length && (l = `${e[0].start_date_parse} ${A(e[0].start_time)}`, m && ((p = e[0]) != null && p.episode_number ? o = `${(f = e[0]) == null ? void 0 : f.episode_number}: ${e[0].title_name}` : o = `${N(e[0])}: ${e[0].title_name}`)), S(l), x(o);
29
- }), a === null ? /* @__PURE__ */ r(d, {}) : i === "" ? /* @__PURE__ */ r(d, {}) : m ? /* @__PURE__ */ r(
30
- h,
25
+ const [l, S] = p(null), [$, x] = p(null);
26
+ return h({
27
+ programId: String(t),
28
+ programType: r === "unknown" ? void 0 : r,
29
+ SCHEDULE_ENDPOINT: c,
30
+ NETWORK: _
31
+ }).then((A) => {
32
+ var u, f;
33
+ const e = A;
34
+ let a = null, o = null;
35
+ e.length && (a = `${e[0].start_date_parse} ${b(e[0].start_time)}`, i && ((u = e[0]) != null && u.episode_number ? o = `${(f = e[0]) == null ? void 0 : f.episode_number}: ${e[0].title_name}` : o = `${D(e[0])}: ${e[0].title_name}`)), S(a), x(o);
36
+ }), l === null ? /* @__PURE__ */ s(m, {}) : t === "" ? /* @__PURE__ */ s(m, {}) : i ? /* @__PURE__ */ s(
37
+ N,
31
38
  {
32
- list: [/* @__PURE__ */ r(c, { airdateStr: a, separatorType: t }), $],
39
+ list: [
40
+ /* @__PURE__ */ s(
41
+ d,
42
+ {
43
+ airdateStr: l,
44
+ separatorType: n
45
+ }
46
+ ),
47
+ $
48
+ ],
33
49
  separatorType: "pipe"
34
50
  }
35
- ) : /* @__PURE__ */ r(c, { airdateStr: a, separatorType: t });
51
+ ) : /* @__PURE__ */ s(d, { airdateStr: l, separatorType: n });
36
52
  }
37
53
  export {
38
- v as GetAirdateWrapper,
39
- v as default
54
+ w as GetAirdateWrapper,
55
+ w as default
40
56
  };
@@ -1 +1,2 @@
1
- export { GetAirdateWrapper, GetAirdateWrapper as default } from './GetAirdateWrapper';
1
+ export { GetAirdateWrapper } from './GetAirdateWrapper';
2
+ export { GetAirdateWrapper as default } from './GetAirdateWrapper';
@@ -1,15 +1,16 @@
1
- export function GradientButton({ type, label, onClick, varient, size, classname, href, gradientStartColor, gradientEndColor, hoverGradientStartColor, hoverGradientEndColor, ...attributes }: {
2
- [x: string]: any;
3
- type?: string | undefined;
4
- label?: string | undefined;
5
- onClick?: (() => void) | undefined;
6
- varient?: string | undefined;
7
- size?: string | undefined;
8
- classname?: string | undefined;
9
- href?: string | undefined;
10
- gradientStartColor?: string | undefined;
11
- gradientEndColor?: string | undefined;
12
- hoverGradientStartColor?: string | undefined;
13
- hoverGradientEndColor?: string | undefined;
14
- }): import("react/jsx-runtime").JSX.Element;
1
+ type GradientButtonProps = {
2
+ type?: 'button' | 'submit' | 'reset';
3
+ label?: string;
4
+ onClick?: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
5
+ varient?: 'primary' | 'secondary' | 'tertiary' | '';
6
+ size?: 'small' | 'regular' | 'large' | '';
7
+ classname?: string;
8
+ href?: string;
9
+ gradientStartColor?: string;
10
+ gradientEndColor?: string;
11
+ hoverGradientStartColor?: string;
12
+ hoverGradientEndColor?: string;
13
+ [key: string]: unknown;
14
+ };
15
+ export declare function GradientButton({ type, label, onClick, varient, size, classname, href, gradientStartColor, gradientEndColor, ...attributes }: GradientButtonProps): JSX.Element;
15
16
  export default GradientButton;
@@ -1,69 +1,66 @@
1
- import { jsx as r, Fragment as x } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as c } from "../../utils/helpers.js";
1
+ import { jsx as g, Fragment as w } from "react/jsx-runtime";
2
+ import { classes as m } from "../../utils/helpers.js";
4
3
  import '../../assets/GradientButton.css';const a = {
5
- "gradient-btn": "_gradient-btn_a5mxg_1",
6
- "gradient-btn--small": "_gradient-btn--small_a5mxg_23",
7
- "gradient-btn--large": "_gradient-btn--large_a5mxg_30",
8
- "gradient-btn--primary": "_gradient-btn--primary_a5mxg_37",
9
- "gradient-btn--action": "_gradient-btn--action_a5mxg_41",
10
- "gradient-btn--info": "_gradient-btn--info_a5mxg_45",
11
- "gradient-btn--danger": "_gradient-btn--danger_a5mxg_49"
4
+ "gradient-btn": "_gradient-btn_1nwnc_1",
5
+ "gradient-btn--small": "_gradient-btn--small_1nwnc_23",
6
+ "gradient-btn--large": "_gradient-btn--large_1nwnc_30",
7
+ "gradient-btn--primary": "_gradient-btn--primary_1nwnc_37",
8
+ "gradient-btn--action": "_gradient-btn--action_1nwnc_41",
9
+ "gradient-btn--info": "_gradient-btn--info_1nwnc_45",
10
+ "gradient-btn--danger": "_gradient-btn--danger_1nwnc_49"
12
11
  };
13
- function o({
14
- type: l = "button",
15
- label: i = "",
16
- onClick: $ = () => {
12
+ function y({
13
+ type: $ = "button",
14
+ label: r = "",
15
+ onClick: l = () => {
17
16
  },
18
17
  varient: e = "primary",
19
- size: g = "regular",
20
- classname: d = "",
21
- href: _ = "",
18
+ size: i = "regular",
19
+ classname: _ = "",
20
+ href: b = "",
22
21
  gradientStartColor: n = "",
23
22
  gradientEndColor: t = "",
24
- hoverGradientStartColor: p = "",
25
- hoverGradientEndColor: u = "",
26
- ...b
23
+ ...c
27
24
  }) {
28
- const m = e === "" ? "" : `gradient-btn--${e}`, s = g === "" ? "" : `gradient-btn--${g}`;
29
- return /* @__PURE__ */ r(x, { children: _ === "" ? /* @__PURE__ */ r(
25
+ const d = e === "" ? "" : `gradient-btn--${e}`, s = i === "" ? "" : `gradient-btn--${i}`;
26
+ return /* @__PURE__ */ g(w, { children: b === "" ? /* @__PURE__ */ g(
30
27
  "button",
31
28
  {
32
- type: l,
33
- onClick: $,
34
- className: c([
35
- d,
29
+ className: m([
30
+ _,
36
31
  a["gradient-btn"],
37
32
  "gradient-btn",
38
- e === "" ? "" : a[m],
39
- g === "" ? "" : a[s]
33
+ e === "" ? "" : a[d],
34
+ i === "" ? "" : a[s]
40
35
  ]),
41
36
  style: n !== "" && t !== "" ? {
42
37
  "--gradient": `linear-gradient(180deg, ${t}, ${n}, ${n},${t})`
43
38
  } : {},
44
- ...b,
45
- children: i
39
+ type: $,
40
+ onClick: l,
41
+ ...c,
42
+ children: r
46
43
  }
47
- ) : /* @__PURE__ */ r(
44
+ ) : /* @__PURE__ */ g(
48
45
  "a",
49
46
  {
50
- href: _,
51
- className: c([
52
- d,
47
+ className: m([
48
+ _,
53
49
  a["gradient-btn"],
54
50
  "gradient-btn",
55
- e === "" ? "" : a[m],
56
- g === "" ? "" : a[s]
51
+ e === "" ? "" : a[d],
52
+ i === "" ? "" : a[s]
57
53
  ]),
54
+ href: b,
58
55
  style: n !== "" && t !== "" ? {
59
56
  "--gradient": `linear-gradient(180deg, ${t}, ${n}, ${n},${t})`
60
57
  } : {},
61
- ...b,
62
- children: i
58
+ ...c,
59
+ children: r
63
60
  }
64
61
  ) });
65
62
  }
66
63
  export {
67
- o as GradientButton,
68
- o as default
64
+ y as GradientButton,
65
+ y as default
69
66
  };
@@ -1 +1,2 @@
1
- export { GradientButton, GradientButton as default } from './GradientButton';
1
+ export { GradientButton } from './GradientButton';
2
+ export { GradientButton as default } from './GradientButton';
@@ -1,6 +1,7 @@
1
- export function GridList({ children, numberOfColumns, headerText }: {
2
- children: any;
3
- numberOfColumns?: number | undefined;
4
- headerText?: string | undefined;
5
- }): import("react/jsx-runtime").JSX.Element;
1
+ type GridListProps = {
2
+ children: React.ReactNode;
3
+ numberOfColumns?: number;
4
+ headerText?: string;
5
+ };
6
+ export declare function GridList({ children, numberOfColumns, headerText, }: GridListProps): JSX.Element;
6
7
  export default GridList;
@@ -1,6 +1,6 @@
1
- import { jsxs as d, Fragment as c, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import '../../assets/GridList.css';const i = {
1
+ import { jsxs as c, Fragment as g, jsx as r } from "react/jsx-runtime";
2
+ import { classes as t } from "../../utils/helpers.js";
3
+ import '../../assets/GridList.css';const s = {
4
4
  "grid-list": "_grid-list_17klz_1",
5
5
  "grid-list-header": "_grid-list-header_17klz_9",
6
6
  "grid-list--1-columns": "_grid-list--1-columns_17klz_13",
@@ -14,15 +14,19 @@ import '../../assets/GridList.css';const i = {
14
14
  "grid-list--9-columns": "_grid-list--9-columns_17klz_45",
15
15
  "grid-list--10-columns": "_grid-list--10-columns_17klz_49"
16
16
  };
17
- function n({ children: t, numberOfColumns: l = 2, headerText: s = "" }) {
17
+ function m({
18
+ children: _,
19
+ numberOfColumns: l = 2,
20
+ headerText: i = ""
21
+ }) {
18
22
  l > 10 && (l = 10);
19
- const _ = `grid-list--${l}-columns`;
20
- return /* @__PURE__ */ d(c, { children: [
21
- s !== "" && /* @__PURE__ */ r("h3", { className: [i["grid-list-header"], "grid-list-header"].join(" "), children: s }),
22
- /* @__PURE__ */ r("ul", { className: [i["grid-list"], i[_]].join(" "), children: t })
23
+ const d = `grid-list--${l}-columns`;
24
+ return /* @__PURE__ */ c(g, { children: [
25
+ i !== "" && /* @__PURE__ */ r("h3", { className: t([s["grid-list-header"], "grid-list-header"]), children: i }),
26
+ /* @__PURE__ */ r("ul", { className: t([s["grid-list"], s[d]]), children: _ })
23
27
  ] });
24
28
  }
25
29
  export {
26
- n as GridList,
27
- n as default
30
+ m as GridList,
31
+ m as default
28
32
  };
@@ -1 +1,2 @@
1
- export { GridList, GridList as default } from './GridList';
1
+ export { GridList } from './GridList';
2
+ export { GridList as default } from './GridList';
@@ -1,3 +1,29 @@
1
1
  import { default as React } from 'react';
2
- export const ImageCard: React.ForwardRefExoticComponent<React.RefAttributes<any>>;
2
+ import { HandleClicksDetails, CTA, Image } from '../../types';
3
+ export type ImageCardProps = {
4
+ id?: string | number;
5
+ image?: Image;
6
+ mobileImage?: Image;
7
+ fullSizeImagePosition?: [number, number];
8
+ mobileImagePosition?: [number, number];
9
+ clampContentLines?: boolean;
10
+ numberOfLinesToClamp?: number;
11
+ overlayContent?: string | JSX.Element;
12
+ overlayPosition?: 'left' | 'right' | 'center';
13
+ overlayTextColor?: string;
14
+ relatedResourceId?: string;
15
+ cta?: CTA;
16
+ handleClicks?: (details: HandleClicksDetails) => void | boolean;
17
+ fullCardClickable?: boolean;
18
+ displayInline?: boolean;
19
+ classname?: string;
20
+ lazyLoad?: boolean;
21
+ fetchPriority?: 'high' | 'low' | 'auto' | undefined;
22
+ decoding?: 'async' | 'sync' | 'auto';
23
+ displayCTA?: boolean;
24
+ title?: string;
25
+ content?: string | JSX.Element;
26
+ customStyles?: React.CSSProperties;
27
+ };
28
+ export declare const ImageCard: React.ForwardRefExoticComponent<ImageCardProps & React.RefAttributes<unknown>>;
3
29
  export default ImageCard;
@@ -1,30 +1,30 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { forwardRef as v } from "react";
3
- import { classes as k } from "../../utils/helpers.js";
4
- import x from "./ImageCardCore.js";
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as b } from "react";
3
+ import { classes as x } from "../../utils/helpers.js";
4
+ import j from "./ImageCardCore.js";
5
5
  import '../../assets/ImageCard.css';const l = {
6
- "image-card--clickable": "_image-card--clickable_1b3j4_13",
7
- "image-card__img-wrapper": "_image-card__img-wrapper_1b3j4_17",
8
- "image-card--inline": "_image-card--inline_1b3j4_35",
9
- "image-card__image": "_image-card__image_1b3j4_39",
10
- "image-card__mobile-image": "_image-card__mobile-image_1b3j4_45",
11
- "image-card__play-icon": "_image-card__play-icon_1b3j4_77",
12
- "play-icon__triangle": "_play-icon__triangle_1b3j4_93",
13
- "image-card__content": "_image-card__content_1b3j4_112",
14
- "image-card__cta-wrapper": "_image-card__cta-wrapper_1b3j4_133",
15
- "image-card__cta": "_image-card__cta_1b3j4_133",
16
- "image-card__overlay-content": "_image-card__overlay-content_1b3j4_147"
17
- }, L = v(function(_, o) {
6
+ "image-card--clickable": "_image-card--clickable_1qjtn_13",
7
+ "image-card__img-wrapper": "_image-card__img-wrapper_1qjtn_17",
8
+ "image-card--inline": "_image-card--inline_1qjtn_34",
9
+ "image-card__image": "_image-card__image_1qjtn_38",
10
+ "image-card__mobile-image": "_image-card__mobile-image_1qjtn_44",
11
+ "image-card__play-icon": "_image-card__play-icon_1qjtn_76",
12
+ "play-icon__triangle": "_play-icon__triangle_1qjtn_88",
13
+ "image-card__content": "_image-card__content_1qjtn_110",
14
+ "image-card__cta-wrapper": "_image-card__cta-wrapper_1qjtn_131",
15
+ "image-card__cta": "_image-card__cta_1qjtn_131",
16
+ "image-card__overlay-content": "_image-card__overlay-content_1qjtn_145"
17
+ }, w = b(function(_, d) {
18
18
  const {
19
19
  image: t = { url: "", altText: "", aspectRatio: 1, sources: [] },
20
- mobileImage: d = { url: "", altText: "", aspectRatio: 1 },
20
+ mobileImage: p = { url: "", altText: "", aspectRatio: 1 },
21
21
  fullSizeImagePosition: a = [50, 50],
22
22
  mobileImagePosition: r = [50, 50],
23
- clampContentLines: p = !0,
24
- numberOfLinesToClamp: s = 3,
25
- overlayPosition: g = "left",
26
- overlayTextColor: m = "#fff",
27
- relatedResourceId: j = "",
23
+ clampContentLines: s = !0,
24
+ numberOfLinesToClamp: g = 3,
25
+ overlayPosition: m = "left",
26
+ overlayTextColor: y = "#fff",
27
+ relatedResourceId: C = "",
28
28
  cta: e = {
29
29
  label: "",
30
30
  href: "",
@@ -33,81 +33,82 @@ import '../../assets/ImageCard.css';const l = {
33
33
  relatedResourceType: "",
34
34
  position: "end"
35
35
  },
36
- handleClicks: C = () => {
36
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
37
+ handleClicks: v = (o) => {
37
38
  },
38
- fullCardClickable: c = !1,
39
+ fullCardClickable: n = !1,
39
40
  displayInline: i = !1,
40
- classname: y = ""
41
- } = _, u = /* @__PURE__ */ new Map([
41
+ classname: u = ""
42
+ } = _, f = /* @__PURE__ */ new Map([
42
43
  ["left", "flex-start"],
43
44
  ["right", "flex-end"],
44
45
  ["center", "center"]
45
- ]), f = (b) => {
46
- C({
46
+ ]), k = (o) => {
47
+ v({
47
48
  type: "card-clicked",
48
49
  ctaType: e == null ? void 0 : e.type,
49
- resourceId: j,
50
+ resourceId: C,
50
51
  resourceType: e.relatedResourceType,
51
- target: b.target,
52
- currentTarget: b.currentTarget
52
+ target: o.target,
53
+ currentTarget: o.currentTarget
53
54
  });
54
55
  };
55
- return c && (e == null ? void 0 : e.href) !== "" && ((e == null ? void 0 : e.type) === "internal-link" || (e == null ? void 0 : e.type) === "external-link") ? /* @__PURE__ */ n(
56
+ return n && (e == null ? void 0 : e.href) !== "" && ((e == null ? void 0 : e.type) === "internal-link" || (e == null ? void 0 : e.type) === "external-link") ? /* @__PURE__ */ c(
56
57
  "image-card",
57
58
  {
58
- class: k([
59
- c ? l["image-card--clickable"] : null,
59
+ class: x([
60
+ n ? l["image-card--clickable"] : null,
60
61
  i ? l["image-card--inline"] : null,
61
- y
62
+ u
62
63
  ]),
64
+ "data-cursor": "pointer",
63
65
  style: {
64
- "--justify-overlay-content": u.get(g),
66
+ "--justify-overlay-content": f.get(m),
65
67
  "--align-overlay-content": i ? "center" : "flex-end",
66
- "--overlay-content-text-color": m,
67
- "--content-line-clamp": p ? s : "unset",
68
+ "--overlay-content-text-color": y,
69
+ "--content-line-clamp": s ? g : "unset",
68
70
  "--image-aspect-ratio": t.aspectRatio,
69
- "--mobile-image-aspect-ratio": d.aspectRatio,
71
+ "--mobile-image-aspect-ratio": p.aspectRatio,
70
72
  "--background-image-position": `${(a == null ? void 0 : a[0]) ?? "50"}% ${(a == null ? void 0 : a[1]) ?? "50"}%`,
71
73
  "--mobile-background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`
72
74
  },
73
- onClick: c ? f : () => !0,
74
- "data-cursor": "pointer",
75
- children: /* @__PURE__ */ n(
75
+ onClick: n ? k : () => !0,
76
+ children: /* @__PURE__ */ c(
76
77
  "a",
77
78
  {
79
+ className: "image-card__full-card-link",
78
80
  href: e.href,
79
- title: t == null ? void 0 : t.altText,
81
+ rel: e.type === "external-link" ? "noreferrer" : void 0,
80
82
  target: e.type === "external-link" ? "_blank" : "_self",
81
- rel: e.type === "external-link" ? "noreferrer" : null,
82
- className: "image-card__full-card-link",
83
- children: /* @__PURE__ */ n(x, { ..._, styles: l, ref: o })
83
+ title: t == null ? void 0 : t.altText,
84
+ children: /* @__PURE__ */ c(j, { ..._, ref: d, styles: l })
84
85
  }
85
86
  )
86
87
  }
87
- ) : /* @__PURE__ */ n(
88
+ ) : /* @__PURE__ */ c(
88
89
  "image-card",
89
90
  {
90
- class: k([
91
+ class: x([
91
92
  i ? l["image-card--inline"] : null,
92
- y
93
+ u
93
94
  ]),
95
+ "data-cursor": n ? "pointer" : "default",
94
96
  style: {
95
- "--justify-overlay-content": u.get(g),
97
+ "--justify-overlay-content": f.get(m),
96
98
  "--align-overlay-content": i ? "center" : "flex-end",
97
- "--overlay-content-text-color": m,
98
- "--content-line-clamp": p ? s : "unset",
99
+ "--overlay-content-text-color": y,
100
+ "--content-line-clamp": s ? g : "unset",
99
101
  "--image-aspect-ratio": t.aspectRatio,
100
- "--mobile-image-aspect-ratio": d.aspectRatio,
102
+ "--mobile-image-aspect-ratio": p.aspectRatio,
101
103
  "--background-image-position": `${(a == null ? void 0 : a[0]) ?? "50"}% ${(a == null ? void 0 : a[1]) ?? "50"}%`,
102
104
  "--mobile-background-image-position": `${(r == null ? void 0 : r[0]) ?? "50"}% ${(r == null ? void 0 : r[1]) ?? "50"}%`
103
105
  },
104
- onClick: c ? f : () => !0,
105
- "data-cursor": c ? "pointer" : "default",
106
- children: /* @__PURE__ */ n(x, { ..._, styles: l, ref: o })
106
+ onClick: n ? k : () => !0,
107
+ children: /* @__PURE__ */ c(j, { ..._, ref: d, styles: l })
107
108
  }
108
109
  );
109
110
  });
110
111
  export {
111
- L as ImageCard,
112
- L as default
112
+ w as ImageCard,
113
+ w as default
113
114
  };
@@ -1,3 +1,7 @@
1
- import { default as React } from 'react';
1
+ import { ImageCardProps } from './ImageCard';
2
+ declare const ImageCardCore: import('react').ForwardRefExoticComponent<ImageCardProps & {
3
+ styles: {
4
+ readonly [key: string]: string;
5
+ };
6
+ } & import('react').RefAttributes<unknown>>;
2
7
  export default ImageCardCore;
3
- declare const ImageCardCore: React.ForwardRefExoticComponent<React.RefAttributes<any>>;