@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,129 +1,155 @@
1
- import { jsxs as i, Fragment as v, jsx as l } from "react/jsx-runtime";
2
- import { forwardRef as R } from "react";
3
- import { p as w } from "../../index-VjANCDXC.mjs";
4
- import { AnchorTag as x } from "../AnchorTag/AnchorTag.js";
5
- import { ButtonAnchor as c } from "../ButtonAnchor/ButtonAnchor.js";
6
- import { ResponsiveImage as k } from "../ResponsiveImage/ResponsiveImage.js";
1
+ import { jsxs as i, Fragment as N, jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as C } from "react";
3
+ import { p as R } from "../../index-VjANCDXC.mjs";
7
4
  import { classes as a } from "../../utils/helpers.js";
8
- const G = R(function({
9
- image: m = { url: "", altText: "", aspectRatio: 1, sources: [] },
10
- mobileImage: t = { url: "", altText: "", aspectRatio: 1 },
11
- fullSizeImagePosition: M = [50, 50],
12
- mobileImagePosition: P = [50, 50],
13
- lazyLoad: g = !0,
14
- fetchPriority: f = null,
15
- decoding: _ = "async",
16
- title: y = "",
17
- content: n = "",
18
- clampContentLines: A = !0,
19
- numberOfLinesToClamp: B = 3,
5
+ import { AnchorTag as _ } from "../AnchorTag/AnchorTag.js";
6
+ import { ButtonAnchor as y } from "../ButtonAnchor/ButtonAnchor.js";
7
+ import { ResponsiveImage as I } from "../ResponsiveImage/ResponsiveImage.js";
8
+ const L = C(function({
9
+ image: s = { url: "", altText: "", aspectRatio: 1, sources: [] },
10
+ mobileImage: m = { url: "", altText: "", aspectRatio: 1 },
11
+ lazyLoad: h = !0,
12
+ fetchPriority: f = void 0,
13
+ decoding: v = "async",
14
+ title: T = "",
15
+ content: l = "",
20
16
  overlayContent: p = "",
21
- overlayPosition: z = "left",
22
- overlayTextColor: L = "#fff",
23
- relatedResourceId: S = "",
24
17
  cta: e = {
25
18
  label: "",
26
19
  href: "",
27
20
  type: "",
28
21
  relatedResourceId: "",
29
22
  position: "end"
23
+ // inline - in the content | end | start
30
24
  },
31
- displayCTA: d = !0,
32
- handleClicks: N = () => {
25
+ displayCTA: t = !0,
26
+ handleClicks: A = (g) => {
33
27
  },
34
- fullCardClickable: h = !1,
35
- displayInline: V = !1,
36
- classname: j = "",
28
+ fullCardClickable: w = !1,
37
29
  styles: o = {}
38
- }, O) {
39
- var b;
40
- const T = /* @__PURE__ */ new Map([
30
+ }, V) {
31
+ var x;
32
+ const g = /* @__PURE__ */ new Map([
41
33
  ["play-video", {
42
34
  label: "View Promo",
43
- component: c
35
+ component: y
44
36
  }],
45
37
  ["internal-link", {
46
38
  label: "View More",
47
- component: x
39
+ component: _
48
40
  }],
49
41
  ["external-link", {
50
42
  label: "Learn More",
51
- component: x
43
+ component: _
52
44
  }],
53
45
  ["info-panel", {
54
46
  label: "View More",
55
- component: c
47
+ component: y
56
48
  }],
57
49
  ["show-modal", {
58
50
  label: "See More",
59
- component: c
51
+ component: y
60
52
  }]
61
- ]), I = (b = T.get(e.type)) == null ? void 0 : b.component, u = (r) => /* @__PURE__ */ l(
62
- I,
63
- {
64
- classname: a([o["image-card__cta"], "image-card__cta"]),
65
- href: r.href,
66
- label: r.label ? r.label : T.get(r.type).label,
67
- onClick: r.type !== "internal-link" && r.type !== "external-link" ? s : () => !0,
68
- "data-resource-id": r.relatedResourceId,
69
- type: r.type
70
- }
71
- ), s = (r) => {
72
- r.stopPropagation(), N({
53
+ ]), u = (x = g.get(e.type)) == null ? void 0 : x.component, d = (r) => {
54
+ r.stopPropagation(), A({
73
55
  type: e.type,
74
56
  resourceId: e.relatedResourceId,
75
57
  resourceType: e.relatedResourceType,
76
58
  target: r.target,
77
59
  currentTarget: r.currentTarget
78
60
  });
61
+ }, c = (r) => {
62
+ var k;
63
+ if (!u) return null;
64
+ const b = u === _, M = r.type === "internal-link" || r.type === "external-link";
65
+ return /* @__PURE__ */ n(
66
+ u,
67
+ {
68
+ classname: a([o["image-card__cta"], "image-card__cta"]),
69
+ "data-resource-id": r.relatedResourceId,
70
+ ...b && { href: r.href },
71
+ label: r.label ? r.label : ((k = g.get(r.type)) == null ? void 0 : k.label) ?? "",
72
+ ...b && M && r.type && { type: r.type },
73
+ onClick: r.type !== "internal-link" && r.type !== "external-link" ? d : void 0
74
+ }
75
+ );
79
76
  };
80
- return /* @__PURE__ */ i(v, { children: [
81
- /* @__PURE__ */ i("div", { className: a([o["image-card__img-wrapper"], "image-card__img-wrapper"]), children: [
82
- t.url !== "" && /* @__PURE__ */ l(
83
- "img",
84
- {
85
- className: o["image-card__mobile-image"],
86
- src: t.url,
87
- alt: t.altText,
88
- onClick: (e.type === "play-video" || e.type === "show-modal") && !h ? s : () => !0,
89
- loading: g ? "lazy" : null,
90
- fetchpriority: f,
91
- decoding: _
92
- }
93
- ),
94
- /* @__PURE__ */ l(
95
- k,
96
- {
97
- classname: o["image-card__image"],
98
- sources: m.sources,
99
- fullSizeUrl: m.url,
100
- altText: m.altText,
101
- loading: g ? "lazy" : null,
102
- fetchpriority: f,
103
- decoding: _,
104
- handleClick: (e.type === "play-video" || e.type === "show-modal") && !h ? s : () => !0
105
- }
106
- ),
107
- p !== "" && /* @__PURE__ */ l("div", { className: a([o["image-card__overlay-content"], "image-card__overlay-content"]), children: typeof p == "string" ? w(p) : p }),
108
- (e == null ? void 0 : e.type) === "play-video" && /* @__PURE__ */ i("button", { type: "button", onClick: s, className: a([o["image-card__play-icon"], "image-card__play-icon"]), children: [
109
- /* @__PURE__ */ l("span", { className: "sr-only", children: "PLAY BUTTON" }),
110
- /* @__PURE__ */ l("div", { className: `${o["play-icon__triangle"]}` })
111
- ] })
112
- ] }),
113
- n !== "" && /* @__PURE__ */ i("div", { className: a([o["image-card__content"], "image-card__content"]), children: [
114
- y !== "" && /* @__PURE__ */ l("h2", { className: "h4", children: y }),
115
- typeof n == "string" && /* @__PURE__ */ i("div", { children: [
116
- w(n),
117
- d && (e == null ? void 0 : e.type) && e.position === "inline" && u(e)
77
+ return /* @__PURE__ */ i(N, { children: [
78
+ /* @__PURE__ */ i(
79
+ "div",
80
+ {
81
+ className: a([
82
+ o["image-card__img-wrapper"],
83
+ "image-card__img-wrapper"
84
+ ]),
85
+ children: [
86
+ m.url !== "" && /* @__PURE__ */ n(
87
+ "img",
88
+ {
89
+ alt: m.altText,
90
+ className: o["image-card__mobile-image"],
91
+ decoding: v,
92
+ fetchPriority: f,
93
+ loading: h ? "lazy" : void 0,
94
+ src: m.url,
95
+ onClick: (e.type === "play-video" || e.type === "show-modal") && !w ? d : void 0
96
+ }
97
+ ),
98
+ /* @__PURE__ */ n(
99
+ I,
100
+ {
101
+ altText: s.altText,
102
+ classname: o["image-card__image"],
103
+ decoding: v,
104
+ fetchPriority: f,
105
+ fullSizeUrl: s.url,
106
+ handleClick: (e.type === "play-video" || e.type === "show-modal") && !w ? (r) => (d(r), !1) : () => !0,
107
+ loading: h ? "lazy" : void 0,
108
+ sources: s.sources
109
+ }
110
+ ),
111
+ p !== "" && /* @__PURE__ */ n(
112
+ "div",
113
+ {
114
+ className: a([
115
+ o["image-card__overlay-content"],
116
+ "image-card__overlay-content"
117
+ ]),
118
+ children: typeof p == "string" ? R(p) : p
119
+ }
120
+ ),
121
+ (e == null ? void 0 : e.type) === "play-video" && /* @__PURE__ */ i(
122
+ "button",
123
+ {
124
+ className: a([
125
+ o["image-card__play-icon"],
126
+ "image-card__play-icon"
127
+ ]),
128
+ type: "button",
129
+ onClick: d,
130
+ children: [
131
+ /* @__PURE__ */ n("span", { className: "sr-only", children: "PLAY BUTTON" }),
132
+ /* @__PURE__ */ n("div", { className: `${o["play-icon__triangle"]}` })
133
+ ]
134
+ }
135
+ )
136
+ ]
137
+ }
138
+ ),
139
+ l !== "" && /* @__PURE__ */ i("div", { className: a([o["image-card__content"], "image-card__content"]), children: [
140
+ T !== "" && /* @__PURE__ */ n("h2", { className: "h4", children: T }),
141
+ typeof l == "string" && /* @__PURE__ */ i("div", { children: [
142
+ R(l),
143
+ t && (e == null ? void 0 : e.type) && e.position === "inline" && c(e)
118
144
  ] }),
119
- typeof n != "string" && /* @__PURE__ */ i(v, { children: [
120
- n,
121
- d && (e == null ? void 0 : e.type) && e.position === "inline" && u(e)
145
+ typeof l != "string" && /* @__PURE__ */ i(N, { children: [
146
+ l,
147
+ t && (e == null ? void 0 : e.type) && e.position === "inline" && c(e)
122
148
  ] })
123
149
  ] }),
124
- d && (e == null ? void 0 : e.type) && (e == null ? void 0 : e.position) === "end" && /* @__PURE__ */ l("div", { className: o["image-card__cta-wrapper"], children: u(e) })
150
+ t && (e == null ? void 0 : e.type) && (e == null ? void 0 : e.position) === "end" && /* @__PURE__ */ n("div", { className: o["image-card__cta-wrapper"], children: c(e) })
125
151
  ] });
126
152
  });
127
153
  export {
128
- G as default
154
+ L as default
129
155
  };
@@ -1,15 +1,12 @@
1
- export function ImageReplacementAnchor({ href, target, image, text, height, baselineAdjustment, classname }: {
2
- href?: string | undefined;
3
- target?: string | undefined;
4
- image?: {
5
- url: string;
6
- width: number;
7
- height: number;
8
- altText: string;
9
- } | undefined;
10
- text?: string | undefined;
11
- height?: number | undefined;
12
- baselineAdjustment?: number | undefined;
13
- classname?: string | undefined;
14
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { Image } from '../../types';
2
+ type ImageReplacementAnchorProps = {
3
+ href?: string;
4
+ target?: '_self' | '_blank' | '_parent' | '_top';
5
+ image?: Image;
6
+ text?: string;
7
+ height?: number;
8
+ baselineAdjustment?: number;
9
+ classname?: string;
10
+ };
11
+ export declare function ImageReplacementAnchor({ href, target, image, text, height, baselineAdjustment, classname, }: ImageReplacementAnchorProps): JSX.Element;
15
12
  export default ImageReplacementAnchor;
@@ -1,6 +1,5 @@
1
- import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
- import "react";
3
- import { classes as o } from "../../utils/helpers.js";
1
+ import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
+ import { classes as n } from "../../utils/helpers.js";
4
3
  import '../../assets/ImageReplacementAnchor.css';const a = {
5
4
  "image-replacement-anchor": "_image-replacement-anchor_hx29b_1",
6
5
  "image-replacement-anchor__text": "_image-replacement-anchor__text_hx29b_14"
@@ -8,40 +7,48 @@ import '../../assets/ImageReplacementAnchor.css';const a = {
8
7
  function x({
9
8
  href: l = "",
10
9
  target: t = "_self",
11
- image: e = { url: "", width: 1, height: 1, altText: "" },
12
- text: n = "",
13
- height: c = 4,
10
+ image: e = {
11
+ url: "",
12
+ altText: "",
13
+ aspectRatio: 1
14
+ },
15
+ text: c = "",
16
+ height: i = 4,
14
17
  baselineAdjustment: m = 0,
15
- classname: i = ""
18
+ classname: o = ""
16
19
  }) {
17
- return /* @__PURE__ */ s(
20
+ const s = e.width && e.height ? e.width / e.height : 1;
21
+ return /* @__PURE__ */ h(
18
22
  "a",
19
23
  {
20
- className: o([
24
+ className: n([
21
25
  a["image-replacement-anchor"],
22
26
  "image-replacement-anchor",
23
- i
27
+ o
24
28
  ]),
25
29
  href: l,
26
- target: t,
27
- rel: t === "_blank" ? "noreferrer" : null,
30
+ rel: t === "_blank" ? "noreferrer" : void 0,
28
31
  style: {
29
- "--ira-aspect-ratio": e.width / e.height,
30
- "--ira-height": `${c}rem`,
32
+ "--ira-aspect-ratio": s,
33
+ "--ira-height": `${i}rem`,
31
34
  "--ira-baseline-adjustment": `${m}rem`
32
35
  },
36
+ target: t,
33
37
  children: [
34
38
  /* @__PURE__ */ r(
35
39
  "img",
36
40
  {
37
- src: e.url,
38
- className: a["image-replacement-anchor__image"],
39
41
  alt: e.altText,
42
+ className: n([
43
+ a["image-replacement-anchor__image"],
44
+ "image-replacement-anchor__image"
45
+ ]),
46
+ loading: "lazy",
40
47
  role: "presentation",
41
- loading: "lazy"
48
+ src: e.url
42
49
  }
43
50
  ),
44
- e.altText === "" || e.altText === void 0 ? /* @__PURE__ */ r("span", { className: a["image-replacement-anchor__text"], children: n }) : null
51
+ e.altText === "" || e.altText === void 0 ? /* @__PURE__ */ r("span", { className: a["image-replacement-anchor__text"], children: c }) : null
45
52
  ]
46
53
  }
47
54
  );
@@ -1,10 +1,12 @@
1
- export function InfoPanel({ layoutComponent, onBackClicked, backButtonLabel, classname }: {
2
- layoutComponent?: {
1
+ type InfoPanelProps = {
2
+ layoutComponent: {
3
3
  layout: string;
4
- props: {};
5
- } | undefined;
6
- onBackClicked?: (() => void) | undefined;
7
- backButtonLabel?: string | undefined;
8
- classname?: string | undefined;
9
- }): import("react/jsx-runtime").JSX.Element;
4
+ props: Record<string, unknown>;
5
+ };
6
+ onBackClicked: (e: React.MouseEvent<Element, MouseEvent> | null) => void;
7
+ backButtonLabel?: string;
8
+ classname?: string;
9
+ className?: string;
10
+ };
11
+ export declare function InfoPanel({ layoutComponent, onBackClicked, backButtonLabel, classname, }: InfoPanelProps): JSX.Element;
10
12
  export default InfoPanel;
@@ -15,10 +15,10 @@ function N({
15
15
  classname: y = ""
16
16
  }) {
17
17
  const [f, L] = b(null), [t, u] = b("entering"), n = d(null), p = d(null), _ = (o) => {
18
- p.current = o, u("exiting"), n.current.scrollTo({
18
+ p.current = o, u("exiting"), n.current !== null && n.current.scrollTo({
19
19
  top: n.current.offsetTop,
20
20
  left: 0,
21
- behaviour: "instant"
21
+ behavior: "instant"
22
22
  });
23
23
  };
24
24
  return m(() => {
@@ -1 +1,2 @@
1
- export { InfoPanel, InfoPanel as default } from './InfoPanel';
1
+ export { InfoPanel } from './InfoPanel';
2
+ export { InfoPanel as default } from './InfoPanel';
@@ -1,6 +1,8 @@
1
- export function InlineNavigation({ links, classname, position }: {
2
- links?: never[] | undefined;
3
- classname?: string | undefined;
4
- position?: string | undefined;
5
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { AnchorLink } from '../../types';
2
+ type InlineNavigationProps = {
3
+ links?: AnchorLink[];
4
+ classname?: string;
5
+ position?: 'left' | 'right' | 'center';
6
+ };
7
+ export declare function InlineNavigation({ links, classname, position, }: InlineNavigationProps): JSX.Element;
6
8
  export default InlineNavigation;
@@ -1,10 +1,13 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import "react";
3
- import { NavList as o } from "../NavList/NavList.js";
4
- import '../../assets/InlineNavigation.css';const l = {
5
- "inline-navigation": "_inline-navigation_3u114_1"
2
+ import { NavList as l } from "../NavList/NavList.js";
3
+ import '../../assets/InlineNavigation.css';const o = {
4
+ "inline-navigation": "_inline-navigation_138l2_1"
6
5
  };
7
- function c({ links: t = [], classname: i = "", position: e = "left" }) {
6
+ function f({
7
+ links: t = [],
8
+ classname: e = "",
9
+ position: i = "left"
10
+ }) {
8
11
  const a = /* @__PURE__ */ new Map([
9
12
  ["left", "flex-start"],
10
13
  ["right", "flex-end"],
@@ -13,15 +16,15 @@ function c({ links: t = [], classname: i = "", position: e = "left" }) {
13
16
  return /* @__PURE__ */ n(
14
17
  "nav",
15
18
  {
16
- className: l["inline-navigation"],
19
+ className: o["inline-navigation"],
17
20
  style: {
18
- "--inline-nav-justify-content": a.get(e)
21
+ "--inline-nav-justify-content": a.get(i)
19
22
  },
20
- children: /* @__PURE__ */ n(o, { links: t, classname: i })
23
+ children: /* @__PURE__ */ n(l, { classname: e, links: t })
21
24
  }
22
25
  );
23
26
  }
24
27
  export {
25
- c as InlineNavigation,
26
- c as default
28
+ f as InlineNavigation,
29
+ f as default
27
30
  };
@@ -1,10 +1,11 @@
1
- export function Input({ name, label, helpText, type, width, showValidation, ...attributes }: {
2
- [x: string]: any;
3
- name: any;
4
- label?: string | undefined;
5
- helpText?: string | undefined;
6
- type?: string | undefined;
7
- width?: number | undefined;
8
- showValidation?: boolean | undefined;
9
- }): import("react/jsx-runtime").JSX.Element;
1
+ import { default as React } from 'react';
2
+ type InputProps = React.InputHTMLAttributes<HTMLInputElement> & {
3
+ name: string;
4
+ label?: string;
5
+ helpText?: string;
6
+ type?: string;
7
+ width?: number;
8
+ showValidation?: boolean;
9
+ };
10
+ export declare function Input({ name, label, helpText, type, width, showValidation, ...attributes }: InputProps): JSX.Element;
10
11
  export default Input;
@@ -1,9 +1,9 @@
1
- import { jsxs as r, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as l } from "react/jsx-runtime";
2
2
  import { useState as s, useRef as b } from "react";
3
3
  import { classes as m, areaCodePhoneNumberMask as M } from "../../utils/helpers.js";
4
4
  import { s as t, C as V, A as $ } from "../../Form.module-Cd8qH2rj.mjs";
5
5
  function B({
6
- name: i,
6
+ name: a,
7
7
  label: h = "",
8
8
  helpText: p = "",
9
9
  type: x = "text",
@@ -11,45 +11,52 @@ function B({
11
11
  showValidation: n = !0,
12
12
  ...v
13
13
  }) {
14
- var u, d, f;
15
- const [y, C] = s(`${t["form-field__input"]}`), e = b(), [c, a] = s(""), [o, N] = s("clean"), g = `input-width--${_}`, k = () => {
16
- N("touched"), C(`${t["form-field__input"]} ${t["input--touched"]}`), e.current.type === "tel" && (e.current.value = M(e.current.value)), e.current.checkValidity() ? a("") : e.current.type === "email" ? a("Please enter a vaild email.") : e.current.type === "tel" ? a("Please match the requested format: (xxx) xxx-xxxx") : a(e.current.validationMessage);
14
+ var o, d, f;
15
+ const [y, C] = s(`${t["form-field__input"]}`), e = b(null), [c, r] = s(""), [u, N] = s("clean"), g = `input-width--${_}`, k = () => {
16
+ N("touched"), C(`${t["form-field__input"]} ${t["input--touched"]}`), e.current !== null && (e.current.type === "tel" && (e.current.value = M(e.current.value)), e.current.checkValidity() ? r("") : e.current.type === "email" ? r("Please enter a vaild email.") : e.current.type === "tel" ? r("Please match the requested format: (xxx) xxx-xxxx") : r(e.current.validationMessage));
17
17
  };
18
- return /* @__PURE__ */ r("label", { htmlFor: i, className: m([t["form-field"], t[g]]), children: [
19
- n && /* @__PURE__ */ r(
20
- "i",
21
- {
22
- className: m([
23
- t["form-field__icon"],
24
- (u = e.current) != null && u.validity.valid ? "" : t["form-field__icon--invalid"]
25
- ]),
26
- children: [
27
- ((d = e.current) == null ? void 0 : d.checkValidity()) && o === "touched" && /* @__PURE__ */ l(V, {}),
28
- !((f = e.current) != null && f.checkValidity()) && o === "touched" && /* @__PURE__ */ l($, {})
29
- ]
30
- }
31
- ),
32
- /* @__PURE__ */ r("span", { className: t["form-field__label"], children: [
33
- h,
34
- " ",
35
- /* @__PURE__ */ l("span", { className: t["form-field__label-help"], children: p })
36
- ] }),
37
- /* @__PURE__ */ l(
38
- "input",
39
- {
40
- className: y,
41
- name: i,
42
- id: i,
43
- type: x,
44
- ref: e,
45
- onBlur: () => {
46
- k();
47
- },
48
- ...v
49
- }
50
- ),
51
- c !== "" && n && /* @__PURE__ */ l("div", { className: t["form-field__error-message"], children: c })
52
- ] });
18
+ return /* @__PURE__ */ i(
19
+ "label",
20
+ {
21
+ className: m([t["form-field"], t[g]]),
22
+ htmlFor: a,
23
+ children: [
24
+ n && /* @__PURE__ */ i(
25
+ "i",
26
+ {
27
+ className: m([
28
+ t["form-field__icon"],
29
+ (o = e.current) != null && o.validity.valid ? "" : t["form-field__icon--invalid"]
30
+ ]),
31
+ children: [
32
+ ((d = e.current) == null ? void 0 : d.checkValidity()) && u === "touched" && /* @__PURE__ */ l(V, {}),
33
+ !((f = e.current) != null && f.checkValidity()) && u === "touched" && /* @__PURE__ */ l($, {})
34
+ ]
35
+ }
36
+ ),
37
+ /* @__PURE__ */ i("span", { className: t["form-field__label"], children: [
38
+ h,
39
+ " ",
40
+ /* @__PURE__ */ l("span", { className: t["form-field__label-help"], children: p })
41
+ ] }),
42
+ /* @__PURE__ */ l(
43
+ "input",
44
+ {
45
+ className: y,
46
+ id: a,
47
+ name: a,
48
+ ref: e,
49
+ type: x,
50
+ onBlur: () => {
51
+ k();
52
+ },
53
+ ...v
54
+ }
55
+ ),
56
+ c !== "" && n && /* @__PURE__ */ l("div", { className: t["form-field__error-message"], children: c })
57
+ ]
58
+ }
59
+ );
53
60
  }
54
61
  export {
55
62
  B as Input,
@@ -1 +1,2 @@
1
- export { Input, Input as default } from './Input';
1
+ export { Input } from './Input';
2
+ export { Input as default } from './Input';
@@ -1,5 +1,6 @@
1
- export function InstructionsList({ headerHtml, instructions }: {
2
- headerHtml?: string | undefined;
3
- instructions?: never[] | undefined;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ type InstructionsListProps = {
2
+ headerHtml?: string;
3
+ instructions?: string[];
4
+ };
5
+ export declare function InstructionsList({ headerHtml, instructions, }: InstructionsListProps): JSX.Element;
5
6
  export default InstructionsList;
@@ -1,17 +1,27 @@
1
- import { jsxs as o, jsx as i } from "react/jsx-runtime";
2
- import "react";
3
- import { p as n } from "../../index-VjANCDXC.mjs";
4
- import '../../assets/InstructionsList.css';const s = {
1
+ import { jsxs as c, jsx as i } from "react/jsx-runtime";
2
+ import { p as r } from "../../index-VjANCDXC.mjs";
3
+ import { classes as s } from "../../utils/helpers.js";
4
+ import '../../assets/InstructionsList.css';const t = {
5
5
  "instructions-list__list": "_instructions-list__list_suf45_1",
6
6
  "instructions-list__item": "_instructions-list__item_suf45_5"
7
7
  };
8
- function u({ headerHtml: t = "", instructions: r = [] }) {
9
- return /* @__PURE__ */ o("div", { className: [s["instructions-list"], "instructions-list"].join(" "), children: [
10
- t !== "" && /* @__PURE__ */ i("h3", { className: [s["instructions-list__header"], "instructions-list__header"].join(" "), children: n(t) }),
11
- /* @__PURE__ */ i("ol", { className: [s["instructions-list__list"], "instructions-list__list"].join(" "), children: r.map((l) => /* @__PURE__ */ i("li", { className: [s["instructions-list__item"], "instructions-list__item"].join(" "), children: n(l) }, `${Math.random() * 1e6}`)) })
8
+ function a({
9
+ headerHtml: n = "",
10
+ instructions: l = []
11
+ }) {
12
+ return /* @__PURE__ */ c("div", { className: s([t["instructions-list"], "instructions-list"]), children: [
13
+ n !== "" && /* @__PURE__ */ i("h3", { className: s([t["instructions-list__header"], "instructions-list__header"]), children: r(n) }),
14
+ /* @__PURE__ */ i("ol", { className: s([t["instructions-list__list"], "instructions-list__list"]), children: l.map((_) => /* @__PURE__ */ i(
15
+ "li",
16
+ {
17
+ className: s([t["instructions-list__item"], "instructions-list__item"]),
18
+ children: r(_)
19
+ },
20
+ `${Math.random() * 1e6}`
21
+ )) })
12
22
  ] });
13
23
  }
14
24
  export {
15
- u as InstructionsList,
16
- u as default
25
+ a as InstructionsList,
26
+ a as default
17
27
  };
@@ -1 +1,2 @@
1
- export { InstructionsList, InstructionsList as default } from './InstructionsList';
1
+ export { InstructionsList } from './InstructionsList';
2
+ export { InstructionsList as default } from './InstructionsList';