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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/dist/Carousel.module-CNJzZW2-.mjs +14 -0
  2. package/dist/{ChoicesItem-CGIr6Qga.mjs → ChoicesItem-CT9fXB0I.mjs} +22 -23
  3. package/dist/PageHero.module-BM0IV1P5.mjs +8 -0
  4. package/dist/ResultsTable.module-1zxhXaem.mjs +14 -0
  5. package/dist/{SocialShareButton-BXGVUD-z.mjs → SocialShareButton-BMhRS9Qr.mjs} +12 -7
  6. package/dist/assets/ActionButton.css +1 -1
  7. package/dist/assets/AdBlock.css +1 -1
  8. package/dist/assets/AirDateFormatter.css +1 -1
  9. package/dist/assets/AnchorTag.css +1 -1
  10. package/dist/assets/BasicGridModule.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Carousel.css +1 -1
  13. package/dist/assets/CarouselSlide.css +1 -1
  14. package/dist/assets/ChannelSearch.css +1 -1
  15. package/dist/assets/ChoicesItem.css +1 -1
  16. package/dist/assets/ContentHero.css +1 -1
  17. package/dist/assets/CtaBlock.css +1 -1
  18. package/dist/assets/CustomDataList.css +1 -1
  19. package/dist/assets/DateNavigation.css +1 -1
  20. package/dist/assets/DeviceAndPlatformLists.css +1 -1
  21. package/dist/assets/Figure.css +1 -1
  22. package/dist/assets/Figure2.css +1 -1
  23. package/dist/assets/FindUs.css +1 -1
  24. package/dist/assets/GradientButton.css +1 -1
  25. package/dist/assets/ImageCard.css +1 -1
  26. package/dist/assets/InlineNavigation.css +1 -1
  27. package/dist/assets/LogoListItem.css +1 -1
  28. package/dist/assets/ModalContainer.css +1 -1
  29. package/dist/assets/PageHero.css +1 -1
  30. package/dist/assets/ProgramAirdate.css +1 -1
  31. package/dist/assets/PromotionBlock.css +1 -1
  32. package/dist/assets/ResultsTable.css +1 -1
  33. package/dist/assets/ScheduleLayout.css +1 -0
  34. package/dist/assets/ScheduleList.css +1 -1
  35. package/dist/assets/ShowAboutLayout.css +1 -1
  36. package/dist/assets/ShowSlide.css +1 -1
  37. package/dist/assets/SocialLinks.css +1 -1
  38. package/dist/assets/TextSlide.css +1 -1
  39. package/dist/assets/TwoColumnSlide.css +1 -1
  40. package/dist/assets/UpcomingList.css +1 -1
  41. package/dist/components/ActionButton/ActionButton.d.ts +20 -1
  42. package/dist/components/ActionButton/ActionButton.js +36 -36
  43. package/dist/components/ActionButton/index.d.ts +2 -1
  44. package/dist/components/AdBlock/AdBlock.d.ts +20 -1
  45. package/dist/components/AdBlock/AdBlock.js +118 -83
  46. package/dist/components/AdBlock/index.d.ts +2 -1
  47. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.d.ts +7 -1
  48. package/dist/components/AdjustableTwoColumnGrid/AdjustableTwoColumnGrid.js +17 -12
  49. package/dist/components/AdjustableTwoColumnGrid/index.d.ts +2 -1
  50. package/dist/components/AirDateFormatter/AirDateFormatter.d.ts +5 -4
  51. package/dist/components/AirDateFormatter/AirDateFormatter.js +21 -22
  52. package/dist/components/AirDateFormatter/index.d.ts +2 -1
  53. package/dist/components/AnchorTag/AnchorTag.d.ts +10 -1
  54. package/dist/components/AnchorTag/AnchorTag.js +22 -23
  55. package/dist/components/AnchorTag/index.d.ts +2 -1
  56. package/dist/components/BCVideoPlayer/BCVideoPlayer.d.ts +19 -12
  57. package/dist/components/BCVideoPlayer/BCVideoPlayer.js +39 -37
  58. package/dist/components/BCVideoPlayer/index.d.ts +2 -1
  59. package/dist/components/BasicGridModule/BasicGridModule.d.ts +19 -17
  60. package/dist/components/BasicGridModule/BasicGridModule.js +57 -51
  61. package/dist/components/BasicGridModule/index.d.ts +2 -1
  62. package/dist/components/Button/Button.d.ts +18 -17
  63. package/dist/components/Button/Button.js +31 -32
  64. package/dist/components/Button/index.d.ts +2 -1
  65. package/dist/components/ButtonAnchor/ButtonAnchor.d.ts +5 -5
  66. package/dist/components/ButtonAnchor/ButtonAnchor.js +7 -5
  67. package/dist/components/ButtonAnchor/index.d.ts +2 -1
  68. package/dist/components/Carousel/Carousel.d.ts +7 -24
  69. package/dist/components/Carousel/Carousel.js +113 -113
  70. package/dist/components/Carousel/CarouselUtils.class.d.ts +16 -28
  71. package/dist/components/Carousel/CarouselUtils.class.js +85 -55
  72. package/dist/components/Carousel/index.d.ts +2 -1
  73. package/dist/components/Carousel/navigations/Pagination.js +12 -10
  74. package/dist/components/CarouselSlide/CarouselSlide.d.ts +8 -6
  75. package/dist/components/CarouselSlide/CarouselSlide.js +25 -23
  76. package/dist/components/CarouselSlide/index.d.ts +2 -1
  77. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.d.ts +1 -1
  78. package/dist/components/CarouselSlide/slide-layouts/Empty/Empty.js +3 -4
  79. package/dist/components/CarouselSlide/slide-layouts/Empty/index.d.ts +2 -1
  80. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.d.ts +2 -2
  81. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.js +10 -11
  82. package/dist/components/CarouselSlide/slide-layouts/Figure/index.d.ts +2 -1
  83. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.d.ts +1 -1
  84. package/dist/components/CarouselSlide/slide-layouts/ImageCard/ImageCard.js +3 -4
  85. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.d.ts +18 -16
  86. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.js +49 -34
  87. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.d.ts +2 -2
  88. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.js +11 -12
  89. package/dist/components/CarouselSlide/slide-layouts/Text/index.d.ts +2 -1
  90. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.d.ts +5 -4
  91. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.js +10 -11
  92. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.d.ts +8 -1
  93. package/dist/components/CarouselSlide/slide-layouts/Video/VideoSlide.js +19 -15
  94. package/dist/components/CastInfoLayout/CastInfoLayout.d.ts +16 -1
  95. package/dist/components/CastInfoLayout/CastInfoLayout.js +31 -21
  96. package/dist/components/ChannelSearch/ChannelSearch.d.ts +18 -16
  97. package/dist/components/ChannelSearch/ChannelSearch.js +80 -63
  98. package/dist/components/ChannelSearch/index.d.ts +2 -1
  99. package/dist/components/ChoicesItem/ChoicesItem.d.ts +7 -4
  100. package/dist/components/ChoicesItem/ChoicesItem.js +3 -4
  101. package/dist/components/ChoicesItem/index.d.ts +2 -1
  102. package/dist/components/ChoicesItem/index.js +1 -1
  103. package/dist/components/ChoicesList/ChoicesList.d.ts +4 -3
  104. package/dist/components/ChoicesList/ChoicesList.js +3 -4
  105. package/dist/components/ChoicesList/index.d.ts +2 -1
  106. package/dist/components/Concat/Concat.d.ts +4 -3
  107. package/dist/components/Concat/Concat.js +5 -5
  108. package/dist/components/Concat/index.d.ts +2 -1
  109. package/dist/components/CreateChoiceList/CreateChoiceList.d.ts +7 -5
  110. package/dist/components/CreateChoiceList/CreateChoiceList.js +38 -9
  111. package/dist/components/CreateChoiceList/index.d.ts +2 -1
  112. package/dist/components/CtaBlock/CtaBlock.d.ts +13 -15
  113. package/dist/components/CtaBlock/CtaBlock.js +23 -22
  114. package/dist/components/CtaBlock/index.d.ts +2 -1
  115. package/dist/components/CustomDataList/CustomDataList.d.ts +12 -10
  116. package/dist/components/CustomDataList/CustomDataList.js +200 -174
  117. package/dist/components/CustomDataList/index.d.ts +2 -1
  118. package/dist/components/CustomSelect/CustomSelect.d.ts +16 -13
  119. package/dist/components/CustomSelect/CustomSelect.js +224 -154
  120. package/dist/components/CustomSelect/index.d.ts +2 -1
  121. package/dist/components/DateNavigation/DateNavigation.d.ts +1 -4
  122. package/dist/components/DateNavigation/DateNavigation.js +125 -82
  123. package/dist/components/DateNavigation/index.d.ts +2 -1
  124. package/dist/components/DatePicker/index.d.ts +2 -1
  125. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.d.ts +14 -4
  126. package/dist/components/DeviceAndPlatformLists/DeviceAndPlatformLists.js +40 -33
  127. package/dist/components/DeviceAndPlatformLists/index.d.ts +2 -1
  128. package/dist/components/DrawerNavigation/DrawerNavigation.d.ts +21 -1
  129. package/dist/components/DrawerNavigation/DrawerNavigation.js +75 -56
  130. package/dist/components/DrawerNavigation/index.d.ts +2 -1
  131. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.d.ts +6 -5
  132. package/dist/components/EqualSizeFlexRow/EqualSizeFlexRow.js +18 -14
  133. package/dist/components/EqualSizeFlexRow/index.d.ts +2 -1
  134. package/dist/components/EqualSizeGrid/EqualSizeGrid.d.ts +7 -6
  135. package/dist/components/EqualSizeGrid/EqualSizeGrid.js +17 -12
  136. package/dist/components/EqualSizeGrid/index.d.ts +2 -1
  137. package/dist/components/ErrorHandler/ErrorHandler.d.ts +5 -4
  138. package/dist/components/ErrorHandler/ErrorHandler.js +3 -4
  139. package/dist/components/ErrorHandler/index.d.ts +2 -1
  140. package/dist/components/FeaturedList/FeaturedList.d.ts +8 -6
  141. package/dist/components/FeaturedList/FeaturedList.js +44 -36
  142. package/dist/components/FeaturedList/index.d.ts +2 -1
  143. package/dist/components/Figure/Figure.d.ts +5 -4
  144. package/dist/components/Figure/Figure.js +8 -9
  145. package/dist/components/Figure/index.d.ts +2 -1
  146. package/dist/components/FindUs/FindUs.d.ts +24 -1
  147. package/dist/components/FindUs/FindUs.js +70 -63
  148. package/dist/components/FindUs/index.d.ts +2 -1
  149. package/dist/components/FooterNavigation/FooterNavigation.d.ts +9 -3
  150. package/dist/components/FooterNavigation/FooterNavigation.js +10 -11
  151. package/dist/components/FooterNavigation/index.d.ts +2 -1
  152. package/dist/components/GenericList/GenericList.d.ts +6 -5
  153. package/dist/components/GenericList/GenericList.js +13 -14
  154. package/dist/components/GenericList/index.d.ts +2 -1
  155. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.d.ts +9 -8
  156. package/dist/components/GetAirdateWrapper/GetAirdateWrapper.js +46 -30
  157. package/dist/components/GetAirdateWrapper/index.d.ts +2 -1
  158. package/dist/components/GradientButton/GradientButton.d.ts +15 -14
  159. package/dist/components/GradientButton/GradientButton.js +37 -40
  160. package/dist/components/GradientButton/index.d.ts +2 -1
  161. package/dist/components/GridList/GridList.d.ts +6 -5
  162. package/dist/components/GridList/GridList.js +14 -10
  163. package/dist/components/GridList/index.d.ts +2 -1
  164. package/dist/components/ImageCard/ImageCard.d.ts +27 -1
  165. package/dist/components/ImageCard/ImageCard.js +59 -58
  166. package/dist/components/ImageCard/ImageCardCore.d.ts +6 -2
  167. package/dist/components/ImageCard/ImageCardCore.js +115 -89
  168. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.d.ts +11 -14
  169. package/dist/components/ImageReplacementAnchor/ImageReplacementAnchor.js +25 -18
  170. package/dist/components/InfoPanel/InfoPanel.d.ts +10 -8
  171. package/dist/components/InfoPanel/InfoPanel.js +2 -2
  172. package/dist/components/InfoPanel/index.d.ts +2 -1
  173. package/dist/components/InlineNavigation/InlineNavigation.d.ts +7 -5
  174. package/dist/components/InlineNavigation/InlineNavigation.js +13 -10
  175. package/dist/components/Input/Input.d.ts +10 -9
  176. package/dist/components/Input/Input.js +47 -40
  177. package/dist/components/Input/index.d.ts +2 -1
  178. package/dist/components/InstructionsList/InstructionsList.d.ts +5 -4
  179. package/dist/components/InstructionsList/InstructionsList.js +20 -10
  180. package/dist/components/InstructionsList/index.d.ts +2 -1
  181. package/dist/components/Loading/Loading.d.ts +8 -7
  182. package/dist/components/Loading/Loading.js +25 -20
  183. package/dist/components/Loading/index.d.ts +2 -1
  184. package/dist/components/LoadingV2/LoadingV2.d.ts +7 -6
  185. package/dist/components/LoadingV2/LoadingV2.js +31 -21
  186. package/dist/components/LoadingV2/index.d.ts +2 -1
  187. package/dist/components/LogoListItem/LogoListItem.d.ts +7 -6
  188. package/dist/components/LogoListItem/LogoListItem.js +34 -17
  189. package/dist/components/LogoListItem/index.d.ts +2 -1
  190. package/dist/components/LogoNavigation/LogoNavigation.d.ts +13 -4
  191. package/dist/components/LogoNavigation/LogoNavigation.js +23 -18
  192. package/dist/components/LogoNavigation/index.d.ts +2 -1
  193. package/dist/components/ModalContainer/ModalContainer.d.ts +8 -8
  194. package/dist/components/ModalContainer/ModalContainer.js +84 -72
  195. package/dist/components/ModalContainer/index.d.ts +2 -1
  196. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.d.ts +6 -5
  197. package/dist/components/MultiLayeredFigure/MultiLayeredFigure.js +13 -10
  198. package/dist/components/MultiLayeredFigure/index.d.ts +2 -1
  199. package/dist/components/NavList/NavList.d.ts +9 -7
  200. package/dist/components/NavList/NavList.js +56 -20
  201. package/dist/components/NavList/index.d.ts +2 -1
  202. package/dist/components/Overlay/Overlay.d.ts +5 -5
  203. package/dist/components/Overlay/Overlay.js +8 -5
  204. package/dist/components/PageHero/PageHero.d.ts +6 -5
  205. package/dist/components/PageHero/PageHero.js +29 -16
  206. package/dist/components/PageHero/index.d.ts +2 -1
  207. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.d.ts +2 -13
  208. package/dist/components/PageHero/page-hero-layouts/ContentHero/ContentHero.js +17 -10
  209. package/dist/components/PageHero/page-hero-layouts/ContentHero/index.d.ts +2 -1
  210. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.d.ts +7 -5
  211. package/dist/components/PageHero/page-hero-layouts/IONShow/IONShowHero.js +108 -42
  212. package/dist/components/PageHero/page-hero-layouts/IONShow/index.d.ts +2 -1
  213. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.d.ts +2 -12
  214. package/dist/components/PageHero/page-hero-layouts/ImageOnly/ImageOnlyHero.js +13 -7
  215. package/dist/components/PageHero/page-hero-layouts/ImageOnly/index.d.ts +2 -1
  216. package/dist/components/PageHero/page-hero-layouts/page-hero.d.js +1 -0
  217. package/dist/components/ProgramAirdate/ProgramAirdate.d.ts +14 -10
  218. package/dist/components/ProgramAirdate/ProgramAirdate.js +72 -67
  219. package/dist/components/ProgramAirdate/index.d.ts +2 -1
  220. package/dist/components/PromotionBlock/PromotionBlock.d.ts +11 -4
  221. package/dist/components/PromotionBlock/PromotionBlock.js +36 -26
  222. package/dist/components/PromotionBlock/index.d.ts +2 -1
  223. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.d.ts +5 -4
  224. package/dist/components/PromotionsRowBlock/PromotionsRowBlock.js +8 -6
  225. package/dist/components/PromotionsRowBlock/index.d.ts +2 -1
  226. package/dist/components/PromotionsRowModule/PromotionsRowModule.d.ts +25 -5
  227. package/dist/components/PromotionsRowModule/PromotionsRowModule.js +48 -48
  228. package/dist/components/PromotionsRowModule/index.d.ts +2 -1
  229. package/dist/components/RescanInstructions/RescanInstructions.d.ts +3 -3
  230. package/dist/components/RescanInstructions/RescanInstructions.js +29 -18
  231. package/dist/components/RescanInstructions/index.d.ts +2 -1
  232. package/dist/components/ResponsiveImage/ResponsiveImage.d.ts +13 -12
  233. package/dist/components/ResponsiveImage/ResponsiveImage.js +16 -20
  234. package/dist/components/ResponsiveImage/index.d.ts +2 -1
  235. package/dist/components/ResultsTable/ResultsTable.d.ts +10 -6
  236. package/dist/components/ResultsTable/ResultsTable.js +21 -16
  237. package/dist/components/ResultsTable/index.d.ts +2 -1
  238. package/dist/components/ResultsTableBody/ResultsTableBody.d.ts +9 -5
  239. package/dist/components/ResultsTableBody/ResultsTableBody.js +21 -16
  240. package/dist/components/ResultsTableBody/index.d.ts +2 -1
  241. package/dist/components/ResultsTableHeader/ResultsTableHeader.d.ts +7 -3
  242. package/dist/components/ResultsTableHeader/ResultsTableHeader.js +4 -5
  243. package/dist/components/ResultsTableHeader/index.d.ts +2 -1
  244. package/dist/components/ScheduleLayout/ScheduleContext.d.ts +27 -0
  245. package/dist/components/ScheduleLayout/ScheduleContext.js +1931 -0
  246. package/dist/components/ScheduleLayout/ScheduleLayout.d.ts +16 -5
  247. package/dist/components/ScheduleLayout/ScheduleLayout.js +98 -24
  248. package/dist/components/ScheduleLayout/index.d.ts +2 -1
  249. package/dist/components/ScheduleLayout/useScheduleContext.d.ts +15 -0
  250. package/dist/components/ScheduleLayout/useScheduleContext.js +12 -0
  251. package/dist/components/ScheduleList/ScheduleList.d.ts +5 -5
  252. package/dist/components/ScheduleList/ScheduleList.js +162 -60
  253. package/dist/components/ScheduleList/index.d.ts +2 -1
  254. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.d.ts +6 -4
  255. package/dist/components/ScheduleList/schedule-list-items/AirDateSegment.js +28 -17
  256. package/dist/components/ScheduleList/schedule-list-items/MovieItem.d.ts +9 -7
  257. package/dist/components/ScheduleList/schedule-list-items/MovieItem.js +46 -34
  258. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.d.ts +9 -7
  259. package/dist/components/ScheduleList/schedule-list-items/SeriesItem.js +48 -32
  260. package/dist/components/ScheduleList/schedule-list-items/SportsItem.d.ts +9 -7
  261. package/dist/components/ScheduleList/schedule-list-items/SportsItem.js +46 -34
  262. package/dist/components/SectionedContent/SectionedContent.d.ts +11 -3
  263. package/dist/components/SectionedContent/SectionedContent.js +14 -15
  264. package/dist/components/SectionedContent/index.d.ts +2 -1
  265. package/dist/components/Select/Select.d.ts +15 -11
  266. package/dist/components/Select/Select.js +21 -21
  267. package/dist/components/Select/index.d.ts +2 -1
  268. package/dist/components/ShowAboutContent/ShowAboutContent.d.ts +10 -8
  269. package/dist/components/ShowAboutContent/ShowAboutContent.js +27 -28
  270. package/dist/components/ShowAboutContent/index.d.ts +2 -1
  271. package/dist/components/ShowAboutLayout/ShowAboutLayout.d.ts +10 -8
  272. package/dist/components/ShowAboutLayout/ShowAboutLayout.js +91 -42
  273. package/dist/components/ShowAboutLayout/index.d.ts +2 -1
  274. package/dist/components/SocialLinks/SocialLinks.d.ts +15 -9
  275. package/dist/components/SocialLinks/SocialLinks.js +192 -138
  276. package/dist/components/SocialShareBlock/SocialShareBlock.d.ts +9 -8
  277. package/dist/components/SocialShareBlock/SocialShareBlock.js +20 -22
  278. package/dist/components/SocialShareBlock/index.d.ts +2 -1
  279. package/dist/components/SocialShareButton/SocialShareButton.d.ts +8 -7
  280. package/dist/components/SocialShareButton/SocialShareButton.js +3 -4
  281. package/dist/components/SocialShareButton/index.d.ts +2 -1
  282. package/dist/components/SocialShareButton/index.js +1 -1
  283. package/dist/components/StringList/StringList.d.ts +6 -5
  284. package/dist/components/StringList/StringList.js +16 -12
  285. package/dist/components/StringList/index.d.ts +2 -1
  286. package/dist/components/TabContent/TabContent.d.ts +5 -4
  287. package/dist/components/TabContent/TabContent.js +9 -7
  288. package/dist/components/TabContent/index.d.ts +2 -1
  289. package/dist/components/TabNavigation/TabNavigation.d.ts +7 -5
  290. package/dist/components/TabNavigation/TabNavigation.js +58 -53
  291. package/dist/components/TabNavigation/index.d.ts +2 -1
  292. package/dist/components/TabbedContent/TabbedContent.d.ts +20 -4
  293. package/dist/components/TabbedContent/TabbedContent.js +24 -8
  294. package/dist/components/TabbedContent/index.d.ts +2 -1
  295. package/dist/components/TextArea/TextArea.d.ts +9 -1
  296. package/dist/components/TextArea/TextArea.js +13 -13
  297. package/dist/components/TextArea/index.d.ts +2 -1
  298. package/dist/components/UpcomingList/UpcomingList.d.ts +5 -4
  299. package/dist/components/UpcomingList/UpcomingList.js +55 -41
  300. package/dist/containers/GetFeatruedListContainer.d.ts +22 -15
  301. package/dist/containers/GetFeatruedListContainer.js +16 -16
  302. package/dist/containers/NowPlayingContainer.d.ts +17 -15
  303. package/dist/containers/NowPlayingContainer.js +18 -16
  304. package/dist/custom-elements.d.js +1 -0
  305. package/dist/data-resources/FakeDataResource.d.ts +77 -68
  306. package/dist/data-resources/FakeDataResource.js +244 -142
  307. package/dist/error-boundries/BlankErrorBoundry.d.ts +14 -9
  308. package/dist/error-boundries/BlankErrorBoundry.js +5 -5
  309. package/dist/error-boundries/GeneralErrorBoundry.d.ts +15 -10
  310. package/dist/error-boundries/GeneralErrorBoundry.js +10 -10
  311. package/dist/hooks/{useGetSchedule.d.ts → getSchedule.d.ts} +12 -4
  312. package/dist/hooks/getSchedule.js +62 -0
  313. package/dist/hooks/useGetUpcoming.d.ts +8 -6
  314. package/dist/hooks/useGetUpcoming.js +22 -25
  315. package/dist/icons/Facebook.js +6 -6
  316. package/dist/icons/Tiktok.js +15 -7
  317. package/dist/icons/Twitter.js +7 -7
  318. package/dist/index.d.ts +1 -0
  319. package/dist/index.js +35 -33
  320. package/dist/logger-C0N7U0YY.mjs +67 -0
  321. package/dist/settings.d.ts +4 -3
  322. package/dist/settings.js +6 -5
  323. package/dist/types.d.js +27 -0
  324. package/dist/utils/Redirect.d.ts +2 -2
  325. package/dist/utils/analytics.js +1 -1
  326. package/dist/utils/date-helpers.d.ts +3 -2
  327. package/dist/utils/date-helpers.js +26 -26
  328. package/dist/utils/events.js +8 -6
  329. package/dist/utils/getFeaturedList.d.ts +28 -8
  330. package/dist/utils/getFeaturedList.js +58 -45
  331. package/dist/utils/getFeaturedListImages.d.ts +15 -5
  332. package/dist/utils/getFeaturedListImages.js +27 -16
  333. package/dist/utils/getOnNowProgram.d.ts +17 -3
  334. package/dist/utils/getOnNowProgram.js +106 -68
  335. package/dist/utils/getSchedule.d.ts +8 -6
  336. package/dist/utils/getSchedule.js +6 -1
  337. package/dist/utils/getUpcomingPrograms.d.ts +10 -7
  338. package/dist/utils/getUpcomingPrograms.js +5 -4
  339. package/dist/utils/getViewingPlatforms.d.ts +6 -16
  340. package/dist/utils/getViewingPlatforms.js +14 -11
  341. package/dist/utils/gtm.js +1 -1
  342. package/dist/utils/helpers.d.ts +9 -9
  343. package/dist/utils/helpers.js +69 -65
  344. package/dist/utils/program-helpers.d.ts +14 -20
  345. package/dist/utils/program-helpers.js +9 -8
  346. package/dist/utils/series-helpers.d.ts +14 -20
  347. package/dist/utils/series-helpers.js +9 -8
  348. package/package.json +23 -13
  349. package/dist/Carousel.module-DOrBKQEQ.mjs +0 -14
  350. package/dist/PageHero.module-BdV8z_Xv.mjs +0 -8
  351. package/dist/ResultsTable.module-B7M9y7hd.mjs +0 -14
  352. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.d.ts +0 -34
  353. package/dist/components/CarouselSlide/slide-layouts/Figure/Figure.stories.js +0 -105
  354. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.d.ts +0 -28
  355. package/dist/components/CarouselSlide/slide-layouts/NetworkCallout/NetworkCalloutSlide.stories.js +0 -42
  356. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.d.ts +0 -170
  357. package/dist/components/CarouselSlide/slide-layouts/Show/ShowSlide.stories.js +0 -193
  358. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.d.ts +0 -19
  359. package/dist/components/CarouselSlide/slide-layouts/Text/TextSlide.stories.js +0 -35
  360. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.d.ts +0 -17
  361. package/dist/components/CarouselSlide/slide-layouts/TwoColumn/TwoColumnSlide.stories.js +0 -49
  362. package/dist/facebook-HCcA1M1m.mjs +0 -54
  363. package/dist/hooks/useGetSchedule.js +0 -58
@@ -1,8 +1,9 @@
1
- export function Loading({ spinnerColor, spinnerSize, spinnerTrackWidth, topOffset, message, }: {
2
- spinnerColor?: string | undefined;
3
- spinnerSize?: string | undefined;
4
- spinnerTrackWidth?: string | undefined;
5
- topOffset?: string | undefined;
6
- message?: string | undefined;
7
- }): import("react/jsx-runtime").JSX.Element;
1
+ type LoadingProps = {
2
+ spinnerColor?: string;
3
+ spinnerSize?: string;
4
+ spinnerTrackWidth?: string;
5
+ topOffset?: string;
6
+ message?: string;
7
+ };
8
+ export declare function Loading({ spinnerColor, spinnerSize, spinnerTrackWidth, topOffset, message, }: LoadingProps): JSX.Element;
8
9
  export default Loading;
@@ -1,36 +1,41 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import "react";
3
2
  import { classes as t } from "../../utils/helpers.js";
4
3
  import '../../assets/Loading.css';const d = "_spinner_4d38k_14", r = {
5
4
  "spinner-wrap": "_spinner-wrap_4d38k_14",
6
5
  spinner: d,
7
6
  "loading-wrapper__message": "_loading-wrapper__message_4d38k_44"
8
7
  };
9
- function m({
8
+ function c({
10
9
  spinnerColor: s = "var(--theme-color-100)",
11
10
  spinnerSize: a = "3.125rem",
12
11
  spinnerTrackWidth: i = "6px",
13
12
  topOffset: p = "50%",
14
13
  message: n = ""
15
14
  }) {
16
- return /* @__PURE__ */ o("loading-wrapper", { style: {
17
- "--spinner-size": a,
18
- "--spinner-track-width": i,
19
- "--spinner-color": s,
20
- "--spinner-top-offset": p
21
- }, children: [
22
- /* @__PURE__ */ e(
23
- "div",
24
- {
25
- className: r["spinner-wrap"],
26
- "data-state": "entering",
27
- children: /* @__PURE__ */ e("div", { className: r.spinner })
28
- }
29
- ),
30
- n !== "" && /* @__PURE__ */ e("div", { className: t([r["loading-wrapper__message"], "loading-wrapper__message"]), children: n })
31
- ] });
15
+ return /* @__PURE__ */ o(
16
+ "loading-wrapper",
17
+ {
18
+ style: {
19
+ "--spinner-size": a,
20
+ "--spinner-track-width": i,
21
+ "--spinner-color": s,
22
+ "--spinner-top-offset": p
23
+ },
24
+ children: [
25
+ /* @__PURE__ */ e(
26
+ "div",
27
+ {
28
+ className: r["spinner-wrap"],
29
+ "data-state": "entering",
30
+ children: /* @__PURE__ */ e("div", { className: r.spinner })
31
+ }
32
+ ),
33
+ n !== "" && /* @__PURE__ */ e("div", { className: t([r["loading-wrapper__message"], "loading-wrapper__message"]), children: n })
34
+ ]
35
+ }
36
+ );
32
37
  }
33
38
  export {
34
- m as Loading,
35
- m as default
39
+ c as Loading,
40
+ c as default
36
41
  };
@@ -1 +1,2 @@
1
- export { Loading, Loading as default } from './Loading';
1
+ export { Loading } from './Loading';
2
+ export { Loading as default } from './Loading';
@@ -1,7 +1,8 @@
1
- export function LoadingV2({ width, topOffset, message, type }: {
2
- width?: string | undefined;
3
- topOffset?: string | undefined;
4
- message?: string | undefined;
5
- type?: string | undefined;
6
- }): import("react/jsx-runtime").JSX.Element;
1
+ type LoadingV2Props = {
2
+ width?: string;
3
+ topOffset?: string;
4
+ message?: string;
5
+ type?: 'ring' | 'pie';
6
+ };
7
+ export declare function LoadingV2({ width, topOffset, message, type, }: LoadingV2Props): JSX.Element;
7
8
  export default LoadingV2;
@@ -1,6 +1,5 @@
1
- import { jsx as e, jsxs as i } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as s } from "../../utils/helpers.js";
1
+ import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
+ import { classes as _ } from "../../utils/helpers.js";
4
3
  import '../../assets/LoadingV2.css';const t = "_spinner_tub9o_11", o = "_spinner__wrapper_tub9o_23", l = "_spinner__left_tub9o_57", c = "_spinner__right_tub9o_61", m = "_spinner__anim_tub9o_65", n = {
5
4
  "loading-wrapper": "_loading-wrapper_tub9o_1",
6
5
  spinner: t,
@@ -10,30 +9,41 @@ import '../../assets/LoadingV2.css';const t = "_spinner_tub9o_11", o = "_spinner
10
9
  spinner__left: l,
11
10
  spinner__right: c,
12
11
  spinner__anim: m,
13
- "ui-spinner-rotate-left": "_ui-spinner-rotate-left_tub9o_1",
14
- "ui-spinner-rotate-right": "_ui-spinner-rotate-right_tub9o_1",
15
12
  "loading-wrapper__message": "_loading-wrapper__message_tub9o_97"
16
13
  };
17
- function h({
18
- width: _ = "3rem",
14
+ function u({
15
+ width: i = "3rem",
19
16
  topOffset: p = "50%",
20
17
  message: r = "",
21
18
  type: a = "ring"
22
19
  }) {
23
- return /* @__PURE__ */ e("div", { className: n["loading-wrapper"], style: {
24
- "--spinner-top-offset": p
25
- }, children: /* @__PURE__ */ i("div", { className: n.spinner, style: { "--spinner-width": _ }, children: [
26
- /* @__PURE__ */ i("div", { className: s([
27
- n.spinner__wrapper,
28
- a === "pie" ? n["spinner--pie"] : n["spinner--ring"]
29
- ]), children: [
30
- /* @__PURE__ */ e("span", { className: n.spinner__left, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) }),
31
- /* @__PURE__ */ e("span", { className: n.spinner__right, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) })
32
- ] }),
33
- r !== "" && /* @__PURE__ */ e("div", { className: s([n["loading-wrapper__message"], "loading-wrapper__message"]), children: r })
34
- ] }) });
20
+ return /* @__PURE__ */ e(
21
+ "div",
22
+ {
23
+ className: n["loading-wrapper"],
24
+ style: {
25
+ "--spinner-top-offset": p
26
+ },
27
+ children: /* @__PURE__ */ s("div", { className: n.spinner, style: { "--spinner-width": i }, children: [
28
+ /* @__PURE__ */ s(
29
+ "div",
30
+ {
31
+ className: _([
32
+ n.spinner__wrapper,
33
+ a === "pie" ? n["spinner--pie"] : n["spinner--ring"]
34
+ ]),
35
+ children: [
36
+ /* @__PURE__ */ e("span", { className: n.spinner__left, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) }),
37
+ /* @__PURE__ */ e("span", { className: n.spinner__right, children: /* @__PURE__ */ e("span", { className: n.spinner__anim }) })
38
+ ]
39
+ }
40
+ ),
41
+ r !== "" && /* @__PURE__ */ e("div", { className: _([n["loading-wrapper__message"], "loading-wrapper__message"]), children: r })
42
+ ] })
43
+ }
44
+ );
35
45
  }
36
46
  export {
37
- h as LoadingV2,
38
- h as default
47
+ u as LoadingV2,
48
+ u as default
39
49
  };
@@ -1 +1,2 @@
1
- export { LoadingV2, LoadingV2 as default } from './LoadingV2';
1
+ export { LoadingV2 } from './LoadingV2';
2
+ export { LoadingV2 as default } from './LoadingV2';
@@ -1,7 +1,8 @@
1
- export function LogoListItem({ imageSource, href, altText, target }: {
2
- imageSource: any;
3
- href?: string | undefined;
4
- altText?: string | undefined;
5
- target?: string | undefined;
6
- }): import("react/jsx-runtime").JSX.Element;
1
+ type LogoListItemProps = {
2
+ imageSource: string;
3
+ href?: string;
4
+ altText?: string;
5
+ target?: '_self' | '_blank' | '_parent' | '_top';
6
+ };
7
+ export declare function LogoListItem({ imageSource, href, altText, target, }: LogoListItemProps): JSX.Element;
7
8
  export default LogoListItem;
@@ -1,29 +1,46 @@
1
- import { jsxs as n, Fragment as c, jsx as i } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as t } from "../../utils/helpers.js";
1
+ import { jsxs as m, Fragment as o, jsx as i } from "react/jsx-runtime";
2
+ import { classes as l } from "../../utils/helpers.js";
4
3
  import '../../assets/LogoListItem.css';const s = {
5
- "icon-list-item": "_icon-list-item_8ortj_1",
6
- "icon-list-item__link": "_icon-list-item__link_8ortj_21",
7
- "icon-list-item__img-wrapper": "_icon-list-item__img-wrapper_8ortj_22"
4
+ "icon-list-item": "_icon-list-item_19qvn_1",
5
+ "icon-list-item__link": "_icon-list-item__link_19qvn_18",
6
+ "icon-list-item__img-wrapper": "_icon-list-item__img-wrapper_19qvn_19"
8
7
  };
9
- function p({ imageSource: m, href: l = "", altText: e = "", target: o = "_self" }) {
10
- return /* @__PURE__ */ n(c, { children: [
11
- l !== "" && /* @__PURE__ */ i("li", { className: t([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ n(
8
+ function r({
9
+ imageSource: e,
10
+ href: t = "",
11
+ altText: n = "",
12
+ target: c = "_self"
13
+ }) {
14
+ return /* @__PURE__ */ m(o, { children: [
15
+ t !== "" && /* @__PURE__ */ i("li", { className: l([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ m(
12
16
  "a",
13
17
  {
14
- href: l,
15
- className: t([s["icon-list-item__link"], "icon-list-item__link"]),
16
- target: o,
18
+ className: l([s["icon-list-item__link"], "icon-list-item__link"]),
19
+ href: t,
20
+ target: c,
17
21
  children: [
18
- /* @__PURE__ */ i("span", { className: "sr-only", children: e }),
19
- /* @__PURE__ */ i("img", { src: m, alt: `${e} logo`, className: s["ion-list-item__image"] })
22
+ /* @__PURE__ */ i("span", { className: "sr-only", children: n }),
23
+ /* @__PURE__ */ i(
24
+ "img",
25
+ {
26
+ alt: `${n} logo`,
27
+ className: s["ion-list-item__image"],
28
+ src: e
29
+ }
30
+ )
20
31
  ]
21
32
  }
22
33
  ) }),
23
- l === "" && /* @__PURE__ */ i("li", { className: t([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ i("span", { className: t([s["icon-list-item__img-wrapper"], "icon-list-item__img-wrapper"]), children: /* @__PURE__ */ i("img", { src: m, alt: `${e} logo` }) }) })
34
+ t === "" && /* @__PURE__ */ i("li", { className: l([s["icon-list-item"], "icon-list-item"]), children: /* @__PURE__ */ i("span", { className: l([s["icon-list-item__img-wrapper"], "icon-list-item__img-wrapper"]), children: /* @__PURE__ */ i(
35
+ "img",
36
+ {
37
+ alt: `${n} logo`,
38
+ src: e
39
+ }
40
+ ) }) })
24
41
  ] });
25
42
  }
26
43
  export {
27
- p as LogoListItem,
28
- p as default
44
+ r as LogoListItem,
45
+ r as default
29
46
  };
@@ -1 +1,2 @@
1
- export { LogoListItem, LogoListItem as default } from './LogoListItem';
1
+ export { LogoListItem } from './LogoListItem';
2
+ export { LogoListItem as default } from './LogoListItem';
@@ -1,5 +1,14 @@
1
- export function LogoNavigation({ items, height }: {
2
- items?: never[] | undefined;
3
- height?: number | undefined;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Image } from '../../types';
2
+ type LogoNavigationProps = {
3
+ items?: Array<{
4
+ href?: string;
5
+ target?: '_self' | '_blank' | '_parent' | '_top';
6
+ image: Image;
7
+ text?: string;
8
+ height?: number;
9
+ baselineAdjustment?: number;
10
+ }>;
11
+ height?: number;
12
+ };
13
+ export declare function LogoNavigation({ items, height }: LogoNavigationProps): JSX.Element;
5
14
  export default LogoNavigation;
@@ -1,23 +1,28 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import "react";
1
+ import { jsx as e } from "react/jsx-runtime";
3
2
  import { ImageReplacementAnchor as o } from "../ImageReplacementAnchor/ImageReplacementAnchor.js";
4
- import '../../assets/LogoNavigation.css';function l({ items: n = [], height: e = 4 }) {
5
- return /* @__PURE__ */ r("logo-navigation", { style: {
6
- "--logo-nav-max-height": `${e}rem`
7
- }, children: n.length > 0 && n.map((a) => /* @__PURE__ */ r(
8
- o,
3
+ import '../../assets/LogoNavigation.css';function h({ items: n = [], height: r = 4 }) {
4
+ return /* @__PURE__ */ e(
5
+ "logo-navigation",
9
6
  {
10
- href: a.href,
11
- target: (a == null ? void 0 : a.target) ?? "_self",
12
- image: a.image,
13
- height: a.height,
14
- baselineAdjustment: a != null && a.baselineAdjustment ? a.baselineAdjustment : 0,
15
- text: a.text
16
- },
17
- `ira-${Math.round(Math.random() * 1e7)}`
18
- )) });
7
+ style: {
8
+ "--logo-nav-max-height": `${r}rem`
9
+ },
10
+ children: n.length > 0 && n.map((a) => /* @__PURE__ */ e(
11
+ o,
12
+ {
13
+ baselineAdjustment: a != null && a.baselineAdjustment ? a.baselineAdjustment : 0,
14
+ height: a.height,
15
+ href: a.href,
16
+ image: a.image,
17
+ target: (a == null ? void 0 : a.target) ?? "_self",
18
+ text: a.text
19
+ },
20
+ `ira-${Math.round(Math.random() * 1e7)}`
21
+ ))
22
+ }
23
+ );
19
24
  }
20
25
  export {
21
- l as LogoNavigation,
22
- l as default
26
+ h as LogoNavigation,
27
+ h as default
23
28
  };
@@ -1 +1,2 @@
1
- export { LogoNavigation, LogoNavigation as default } from './LogoNavigation';
1
+ export { LogoNavigation } from './LogoNavigation';
2
+ export { LogoNavigation as default } from './LogoNavigation';
@@ -1,9 +1,9 @@
1
- import { default as React } from 'react';
2
- export function ModalContainer({ contentComponent, airaLabel, modalId, onModalClose, children, }: {
3
- contentComponent?: string | undefined;
4
- airaLabel?: string | undefined;
5
- modalId?: string | undefined;
6
- onModalClose?: (() => boolean) | undefined;
7
- children: any;
8
- }): React.ReactPortal;
1
+ type ModalContainerProps = {
2
+ contentComponent?: string;
3
+ airaLabel?: string;
4
+ modalId?: string;
5
+ onModalClose?: () => void;
6
+ children?: React.ReactNode;
7
+ };
8
+ export declare function ModalContainer({ contentComponent, airaLabel, modalId, onModalClose, children, }: ModalContainerProps): JSX.Element;
9
9
  export default ModalContainer;
@@ -1,108 +1,120 @@
1
- import { jsx as s, jsxs as E, Fragment as $ } from "react/jsx-runtime";
2
- import P, { useState as a, useRef as L, useEffect as g, Suspense as A } from "react";
3
- import { r as w } from "../../index-C-kn9Zhn.mjs";
4
- import { classes as k } from "../../utils/helpers.js";
5
- import { blockLayoutsMap as F } from "../../settings.js";
6
- import { X as K } from "../../x-C-QzJ-qD.mjs";
7
- import '../../assets/ModalContainer.css';const M = "_modal_1vlfz_1", y = {
8
- modal: M,
9
- "modal__close-btn": "_modal__close-btn_1vlfz_48"
10
- }, N = (r) => {
11
- if (!document.querySelector(`#${r}`)) {
12
- const t = document.createElement("div");
13
- t.setAttribute("id", r), document.querySelector("body").append(t);
1
+ import { jsx as s, jsxs as k, Fragment as B } from "react/jsx-runtime";
2
+ import { useState as i, useRef as x, useEffect as v, Suspense as M, Children as w, isValidElement as F, cloneElement as K } from "react";
3
+ import { r as N } from "../../index-C-kn9Zhn.mjs";
4
+ import { classes as D } from "../../utils/helpers.js";
5
+ import { blockLayoutsMap as q } from "../../settings.js";
6
+ import { X as R } from "../../x-C-QzJ-qD.mjs";
7
+ import '../../assets/ModalContainer.css';const T = "_modal_ojmou_1", C = {
8
+ modal: T,
9
+ "modal__close-btn": "_modal__close-btn_ojmou_48"
10
+ }, V = (l) => {
11
+ if (!document.querySelector(`#${l}`)) {
12
+ const n = document.createElement("div");
13
+ n.setAttribute("id", l);
14
+ const u = document.querySelector("body");
15
+ u && u.appendChild(n);
14
16
  }
15
17
  };
16
- function V({
17
- contentComponent: r = "BCVideoPlayer",
18
- airaLabel: h = "",
19
- modalId: t = "modal-container",
20
- onModalClose: x = () => !0,
21
- children: u
18
+ function J({
19
+ contentComponent: l = "BCVideoPlayer",
20
+ airaLabel: b = "",
21
+ modalId: n = "modal-container",
22
+ onModalClose: u = () => !0,
23
+ children: p
22
24
  }) {
23
- const [p, B] = a(null), [D, _] = a("entering"), [v, C] = a(!1), [c, m] = a(null), [O, d] = a(!1), o = L(null), b = L(null), f = () => {
24
- _("exiting"), C(!0), o.current !== null && setTimeout(() => {
25
- o.current.close(), C(!1), _("entering"), x();
25
+ const [d, O] = i(null), [S, _] = i("entering"), [P, L] = i(!1), [m, g] = i(null), [$, y] = i(!1), t = x(null), h = x(null), E = () => {
26
+ if (_("exiting"), L(!0), t.current === null) return;
27
+ const e = t.current;
28
+ setTimeout(() => {
29
+ e.close(), L(!1), _("entering"), u();
26
30
  }, 750);
27
- }, i = (e) => {
28
- [...o.current.attributes].findIndex((n) => n.name === "open") !== -1 && e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), f());
29
- }, S = (e) => {
30
- e.target.classList.contains(`${y.modal}`) && f();
31
+ }, f = (e) => {
32
+ t.current !== null && [...t.current.attributes].findIndex((c) => c.name === "open") !== -1 && e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), E());
33
+ }, j = (e) => {
34
+ e.target instanceof HTMLElement && e.target.classList.contains(`${C.modal}`) && E();
31
35
  };
32
- return N(t), g(() => {
33
- document.getElementById(t).removeEventListener(`scripps:${t.replaceAll("-", "")}:change`, (n) => {
34
- m(n.detail.componentProps), n.detail.forceOpen && d((l) => !l);
35
- });
36
- async function e() {
37
- B(F.get(r));
36
+ return V(n), v(() => {
37
+ const e = document.getElementById(n);
38
+ if (!e) return;
39
+ e.removeEventListener(
40
+ `scripps:${n.replace(/-/g, "")}:change`,
41
+ (r) => {
42
+ const o = r;
43
+ g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
44
+ }
45
+ );
46
+ async function c() {
47
+ O(q.get(l));
38
48
  }
39
- return r !== "" && e(), document.getElementById(t).addEventListener(`scripps:${t.replaceAll("-", "")}:change`, (n) => {
40
- m(n.detail.componentProps), n.detail.forceOpen && d((l) => !l);
49
+ return l !== "" && c(), e.addEventListener(`scripps:${n.replace(/-/g, "")}:change`, (r) => {
50
+ const o = r;
51
+ g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
41
52
  }), () => {
42
- document.getElementById(t).removeEventListener(`scripps:${t.replaceAll("-", "")}:change`, (n) => {
43
- m(n.detail.componentProps), n.detail.forceOpen && d((l) => !l);
53
+ e.removeEventListener(`scripps:${n.replace(/-/g, "")}:change`, (r) => {
54
+ const o = r;
55
+ g(o.detail.componentProps), o.detail.forceOpen && y((a) => !a);
44
56
  });
45
57
  };
46
- }, [r, t]), g(() => {
58
+ }, [l, n]), v(() => {
47
59
  let e = null;
48
- const n = () => {
49
- const l = setInterval(() => {
50
- o.current !== null && (clearInterval(l), e = o.current);
60
+ const c = () => {
61
+ const r = setInterval(() => {
62
+ t.current !== null && (clearInterval(r), e = t.current);
51
63
  }, 100);
52
64
  };
53
- return o.current === null && n(), () => {
65
+ return t.current === null && c(), () => {
54
66
  e == null || e.close();
55
67
  };
56
- }, [p]), g(() => {
57
- o.current !== null && [...o.current.attributes].findIndex((e) => e.name === "open") === -1 && c !== null && (o.current.showModal(), b.current.blur());
58
- }, [c, O]), w.createPortal(
59
- /* @__PURE__ */ s(A, { children: /* @__PURE__ */ E(
68
+ }, [d]), v(() => {
69
+ t.current !== null && [...t.current.attributes].findIndex((e) => e.name === "open") === -1 && m !== null && (t.current.showModal(), h.current && h.current.blur());
70
+ }, [m, $]), N.createPortal(
71
+ /* @__PURE__ */ s(M, { children: /* @__PURE__ */ k(
60
72
  "dialog",
61
73
  {
62
- ref: o,
63
- "data-state": D,
64
- className: k([y.modal, "modal"]),
65
- onKeyDown: i,
66
- onKeyUp: i,
67
- onClick: S,
68
- onCancel: (e) => e.preventDefault(),
74
+ "aria-label": b,
69
75
  "aria-modal": "true",
70
- "aria-label": h,
76
+ className: D([C.modal, "modal"]),
77
+ "data-state": S,
78
+ ref: t,
79
+ onCancel: (e) => e.preventDefault(),
80
+ onClick: j,
81
+ onKeyDown: f,
82
+ onKeyUp: f,
71
83
  children: [
72
- p !== null && u === void 0 && /* @__PURE__ */ s(
73
- p,
84
+ d && p === void 0 && /* @__PURE__ */ s(
85
+ d,
74
86
  {
75
- ...c,
76
- containerClosing: v,
77
- handleClosing: i
87
+ ...m,
88
+ containerClosing: P,
89
+ handleClosing: f
78
90
  }
79
91
  ),
80
- u !== void 0 && /* @__PURE__ */ s($, { children: P.Children.map(u, (e) => P.cloneElement(e, {
81
- ...c,
82
- containerClosing: v,
83
- handleClosing: i
84
- })) }),
85
- /* @__PURE__ */ E(
92
+ p !== void 0 && /* @__PURE__ */ s(B, { children: w.map(p, (e) => F(e) ? K(e, {
93
+ ...m,
94
+ containerClosing: P,
95
+ handleClosing: f
96
+ }) : e) }),
97
+ /* @__PURE__ */ k(
86
98
  "button",
87
99
  {
88
- type: "button",
89
- onClick: f,
90
- className: k([y["modal__close-btn"], "modal__close-btn"]),
91
100
  "aria-label": "Close",
92
- ref: b,
101
+ className: D([C["modal__close-btn"], "modal__close-btn"]),
102
+ ref: h,
103
+ type: "button",
104
+ onClick: E,
93
105
  children: [
94
106
  /* @__PURE__ */ s("span", { className: "sr-only", children: "close" }),
95
- /* @__PURE__ */ s("i", { children: /* @__PURE__ */ s(K, { width: "48", height: "48" }) })
107
+ /* @__PURE__ */ s("i", { children: /* @__PURE__ */ s(R, { height: "48", width: "48" }) })
96
108
  ]
97
109
  }
98
110
  )
99
111
  ]
100
112
  }
101
113
  ) }),
102
- document.getElementById(t)
114
+ document.getElementById(n)
103
115
  );
104
116
  }
105
117
  export {
106
- V as ModalContainer,
107
- V as default
118
+ J as ModalContainer,
119
+ J as default
108
120
  };
@@ -1 +1,2 @@
1
- export { ModalContainer, ModalContainer as default } from './ModalContainer';
1
+ export { ModalContainer } from './ModalContainer';
2
+ export { ModalContainer as default } from './ModalContainer';
@@ -1,6 +1,7 @@
1
- export function MultiLayeredFigure({ images, positions, sizes }: {
2
- images?: never[] | undefined;
3
- positions?: string[] | undefined;
4
- sizes?: string[] | undefined;
5
- }): import("react/jsx-runtime").JSX.Element;
1
+ type MultiLayeredFigureProps = {
2
+ imageUrls?: string[];
3
+ positions?: string[];
4
+ sizes?: string[];
5
+ };
6
+ export declare function MultiLayeredFigure({ imageUrls, positions, sizes, }: MultiLayeredFigureProps): JSX.Element;
6
7
  export default MultiLayeredFigure;
@@ -1,16 +1,19 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import "react";
3
2
  import '../../assets/MultiLayeredFigure.css';const l = {
4
3
  "multi-layered-figure": "_multi-layered-figure_b1yqx_1",
5
4
  "multi-layered-figure__images": "_multi-layered-figure__images_b1yqx_6"
6
5
  };
7
- function _({ images: t = [], positions: g = ["center"], sizes: o = ["auto"] }) {
8
- const a = (r = [], c = "") => {
9
- let i = "";
6
+ function f({
7
+ imageUrls: t = [],
8
+ positions: g = ["center"],
9
+ sizes: o = ["auto"]
10
+ }) {
11
+ const i = (r = [], m = "") => {
12
+ let a = "";
10
13
  for (let e = 0; e < r.length; e++)
11
- c === "image" ? e === 0 ? i += `url("${r[e]}")` : i += `,url("${r[e]}")` : e === 0 ? i += `${r[e]}` : i += `,${r[e]}`;
12
- return i;
13
- }, s = a(g), n = a(t, "image"), m = a(o);
14
+ m === "image" ? e === 0 ? a += `url("${r[e]}")` : a += `,url("${r[e]}")` : e === 0 ? a += `${r[e]}` : a += `,${r[e]}`;
15
+ return a;
16
+ }, s = i(g), n = i(t, "image"), c = i(o);
14
17
  return /* @__PURE__ */ u("figure", { className: l["multi-layered-figure"], children: /* @__PURE__ */ u(
15
18
  "div",
16
19
  {
@@ -18,12 +21,12 @@ function _({ images: t = [], positions: g = ["center"], sizes: o = ["auto"] }) {
18
21
  style: {
19
22
  backgroundImage: n,
20
23
  backgroundPosition: s,
21
- backgroundSize: m
24
+ backgroundSize: c
22
25
  }
23
26
  }
24
27
  ) });
25
28
  }
26
29
  export {
27
- _ as MultiLayeredFigure,
28
- _ as default
30
+ f as MultiLayeredFigure,
31
+ f as default
29
32
  };
@@ -1 +1,2 @@
1
- export { MultiLayeredFigure, MultiLayeredFigure as default } from './MultiLayeredFigure';
1
+ export { MultiLayeredFigure } from './MultiLayeredFigure';
2
+ export { MultiLayeredFigure as default } from './MultiLayeredFigure';
@@ -1,8 +1,10 @@
1
- export function NavList({ title, links, classname, useNavWrapper, toggleHandler }: {
2
- title?: string | undefined;
3
- links?: never[] | undefined;
4
- classname?: string | undefined;
5
- useNavWrapper?: boolean | undefined;
6
- toggleHandler?: null | undefined;
7
- }): import("react/jsx-runtime").JSX.Element | undefined;
1
+ import { AnchorLink } from '../../types';
2
+ type NavListProps = {
3
+ title?: string;
4
+ links?: AnchorLink[];
5
+ classname?: string;
6
+ useNavWrapper?: boolean;
7
+ toggleHandler?: ((e: React.MouseEvent) => void) | null;
8
+ };
9
+ export declare function NavList({ title, links, classname, useNavWrapper, toggleHandler, }: NavListProps): JSX.Element;
8
10
  export default NavList;