@royaloperahouse/harmonic 0.1.0

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 (407) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +277 -0
  3. package/dist/components/atoms/Account/Account.d.ts +3 -0
  4. package/dist/components/atoms/Account/index.d.ts +2 -0
  5. package/dist/components/atoms/Badge/Badge.style.d.ts +2 -0
  6. package/dist/components/atoms/Badge/CinemaBadge.d.ts +4 -0
  7. package/dist/components/atoms/Badge/StreamBadge.d.ts +4 -0
  8. package/dist/components/atoms/Badge/index.d.ts +3 -0
  9. package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.d.ts +4 -0
  10. package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +4 -0
  11. package/dist/components/atoms/Buttons/Button.d.ts +4 -0
  12. package/dist/components/atoms/Buttons/Button.style.d.ts +3 -0
  13. package/dist/components/atoms/Buttons/ButtonIconWrapper.style.d.ts +2 -0
  14. package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +4 -0
  15. package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +5 -0
  16. package/dist/components/atoms/Buttons/Secondary/SecondaryButton.d.ts +4 -0
  17. package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +4 -0
  18. package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.d.ts +4 -0
  19. package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.style.d.ts +4 -0
  20. package/dist/components/atoms/Buttons/index.d.ts +4 -0
  21. package/dist/components/atoms/ControlledDropdown/ControlledDropdown.d.ts +4 -0
  22. package/dist/components/atoms/ControlledDropdown/ControlledDropdown.style.d.ts +7 -0
  23. package/dist/components/atoms/ControlledDropdown/index.d.ts +2 -0
  24. package/dist/components/atoms/Dropdown/Dropdown.d.ts +3 -0
  25. package/dist/components/atoms/Dropdown/Dropdown.style.d.ts +4 -0
  26. package/dist/components/atoms/Dropdown/index.d.ts +2 -0
  27. package/dist/components/atoms/Grid/Grid.d.ts +2 -0
  28. package/dist/components/atoms/Grid/GridItem.d.ts +3 -0
  29. package/dist/components/atoms/Grid/index.d.ts +3 -0
  30. package/dist/components/atoms/Icons/Icons.d.ts +4 -0
  31. package/dist/components/atoms/Icons/Icons.style.d.ts +9 -0
  32. package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +11 -0
  33. package/dist/components/atoms/Icons/StorybookSupport/IconsDiv.style.d.ts +2 -0
  34. package/dist/components/atoms/Icons/SvgIcons/12px/Expand.svg.d.ts +4 -0
  35. package/dist/components/atoms/Icons/SvgIcons/12px/Remove.svg.d.ts +4 -0
  36. package/dist/components/atoms/Icons/SvgIcons/12px/Tick.svg.d.ts +4 -0
  37. package/dist/components/atoms/Icons/SvgIcons/Actions/AddToMyList.svg.d.ts +4 -0
  38. package/dist/components/atoms/Icons/SvgIcons/Actions/BookTickets.svg.d.ts +4 -0
  39. package/dist/components/atoms/Icons/SvgIcons/Actions/ChooseDates.svg.d.ts +4 -0
  40. package/dist/components/atoms/Icons/SvgIcons/Actions/EditMyList.svg.d.ts +4 -0
  41. package/dist/components/atoms/Icons/SvgIcons/Actions/Favourite.svg.d.ts +4 -0
  42. package/dist/components/atoms/Icons/SvgIcons/Actions/FavouriteFull.svg.d.ts +4 -0
  43. package/dist/components/atoms/Icons/SvgIcons/Actions/Filter.svg.d.ts +4 -0
  44. package/dist/components/atoms/Icons/SvgIcons/Actions/FindAScreening.svg.d.ts +4 -0
  45. package/dist/components/atoms/Icons/SvgIcons/Actions/OnMyList.svg.d.ts +4 -0
  46. package/dist/components/atoms/Icons/SvgIcons/Actions/Reminder.svg.d.ts +4 -0
  47. package/dist/components/atoms/Icons/SvgIcons/Actions/Subscribe.svg.d.ts +4 -0
  48. package/dist/components/atoms/Icons/SvgIcons/Actions/Watch.svg.d.ts +4 -0
  49. package/dist/components/atoms/Icons/SvgIcons/Arrows/Arrow.svg.d.ts +4 -0
  50. package/dist/components/atoms/Icons/SvgIcons/Arrows/CarouselArrow.svg.d.ts +4 -0
  51. package/dist/components/atoms/Icons/SvgIcons/Arrows/DropdownArrow.svg.d.ts +4 -0
  52. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Cinema.svg.d.ts +4 -0
  53. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Clock.svg.d.ts +4 -0
  54. package/dist/components/atoms/Icons/SvgIcons/Descriptors/CreditCard.svg.d.ts +4 -0
  55. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Email.svg.d.ts +4 -0
  56. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Info.svg.d.ts +4 -0
  57. package/dist/components/atoms/Icons/SvgIcons/Descriptors/List.svg.d.ts +4 -0
  58. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Location.svg.d.ts +4 -0
  59. package/dist/components/atoms/Icons/SvgIcons/Descriptors/PDF.svg.d.ts +4 -0
  60. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Phone.svg.d.ts +4 -0
  61. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Print.svg.d.ts +4 -0
  62. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Seat.svg.d.ts +4 -0
  63. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Secure.svg.d.ts +4 -0
  64. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Standing.svg.d.ts +4 -0
  65. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Tickets.svg.d.ts +4 -0
  66. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Wheelchair.svg.d.ts +4 -0
  67. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Facebook.svg.d.ts +4 -0
  68. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Instagram.svg.d.ts +4 -0
  69. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Tiktok.svg.d.ts +4 -0
  70. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Twitter.svg.d.ts +4 -0
  71. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/X.svg.d.ts +4 -0
  72. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Youtube.svg.d.ts +4 -0
  73. package/dist/components/atoms/Icons/SvgIcons/Navigation/BalletAndDance.svg.d.ts +4 -0
  74. package/dist/components/atoms/Icons/SvgIcons/Navigation/Basket.svg.d.ts +4 -0
  75. package/dist/components/atoms/Icons/SvgIcons/Navigation/BasketFull.svg.d.ts +4 -0
  76. package/dist/components/atoms/Icons/SvgIcons/Navigation/Home.svg.d.ts +4 -0
  77. package/dist/components/atoms/Icons/SvgIcons/Navigation/LiveStream.svg.d.ts +4 -0
  78. package/dist/components/atoms/Icons/SvgIcons/Navigation/Menu.svg.d.ts +4 -0
  79. package/dist/components/atoms/Icons/SvgIcons/Navigation/OperaAndMusic.svg.d.ts +4 -0
  80. package/dist/components/atoms/Icons/SvgIcons/Navigation/Search.svg.d.ts +4 -0
  81. package/dist/components/atoms/Icons/SvgIcons/Navigation/Settings.svg.d.ts +4 -0
  82. package/dist/components/atoms/Icons/SvgIcons/Navigation/User.svg.d.ts +4 -0
  83. package/dist/components/atoms/Icons/SvgIcons/Navigation/UserSignedIn.svg.d.ts +4 -0
  84. package/dist/components/atoms/Icons/SvgIcons/Text/Delete.svg.d.ts +4 -0
  85. package/dist/components/atoms/Icons/SvgIcons/Text/Shift.svg.d.ts +4 -0
  86. package/dist/components/atoms/Icons/SvgIcons/Text/Space.svg.d.ts +4 -0
  87. package/dist/components/atoms/Icons/SvgIcons/Utility/Close.svg.d.ts +4 -0
  88. package/dist/components/atoms/Icons/SvgIcons/Utility/Confirm.svg.d.ts +4 -0
  89. package/dist/components/atoms/Icons/SvgIcons/Utility/Detract.svg.d.ts +4 -0
  90. package/dist/components/atoms/Icons/SvgIcons/Utility/Expand.svg.d.ts +4 -0
  91. package/dist/components/atoms/Icons/SvgIcons/Utility/ExternalLink.svg.d.ts +4 -0
  92. package/dist/components/atoms/Icons/SvgIcons/Utility/GridView.svg.d.ts +4 -0
  93. package/dist/components/atoms/Icons/SvgIcons/Utility/ListView.svg.d.ts +4 -0
  94. package/dist/components/atoms/Icons/SvgIcons/Utility/Refresh.svg.d.ts +4 -0
  95. package/dist/components/atoms/Icons/SvgIcons/Utility/Remove.svg.d.ts +4 -0
  96. package/dist/components/atoms/Icons/SvgIcons/Utility/Star.svg.d.ts +4 -0
  97. package/dist/components/atoms/Icons/SvgIcons/Video/AudioDescription.svg.d.ts +4 -0
  98. package/dist/components/atoms/Icons/SvgIcons/Video/Back10.svg.d.ts +4 -0
  99. package/dist/components/atoms/Icons/SvgIcons/Video/Clips.svg.d.ts +4 -0
  100. package/dist/components/atoms/Icons/SvgIcons/Video/Forward10.svg.d.ts +4 -0
  101. package/dist/components/atoms/Icons/SvgIcons/Video/FullScreen.svg.d.ts +4 -0
  102. package/dist/components/atoms/Icons/SvgIcons/Video/Minimise.svg.d.ts +4 -0
  103. package/dist/components/atoms/Icons/SvgIcons/Video/Muted.svg.d.ts +4 -0
  104. package/dist/components/atoms/Icons/SvgIcons/Video/Pause.svg.d.ts +4 -0
  105. package/dist/components/atoms/Icons/SvgIcons/Video/Play.svg.d.ts +4 -0
  106. package/dist/components/atoms/Icons/SvgIcons/Video/Restart.svg.d.ts +4 -0
  107. package/dist/components/atoms/Icons/SvgIcons/Video/Subtitles.svg.d.ts +4 -0
  108. package/dist/components/atoms/Icons/SvgIcons/Video/Trailer.svg.d.ts +4 -0
  109. package/dist/components/atoms/Icons/SvgIcons/Video/Volume.svg.d.ts +4 -0
  110. package/dist/components/atoms/Icons/SvgIcons/index.d.ts +79 -0
  111. package/dist/components/atoms/Icons/index.d.ts +2 -0
  112. package/dist/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.d.ts +3 -0
  113. package/dist/components/atoms/ImageAspectRatioWrapper/index.d.ts +2 -0
  114. package/dist/components/atoms/Logo/Logo.d.ts +3 -0
  115. package/dist/components/atoms/Logo/Logo.style.d.ts +1 -0
  116. package/dist/components/atoms/Logo/index.d.ts +2 -0
  117. package/dist/components/atoms/Progress/Progress.d.ts +4 -0
  118. package/dist/components/atoms/Progress/Progress.styles.d.ts +11 -0
  119. package/dist/components/atoms/Progress/index.d.ts +2 -0
  120. package/dist/components/atoms/Radio/Radio.d.ts +6 -0
  121. package/dist/components/atoms/Radio/Radio.style.d.ts +4 -0
  122. package/dist/components/atoms/Radio/index.d.ts +2 -0
  123. package/dist/components/atoms/Radio2/Radio2.d.ts +23 -0
  124. package/dist/components/atoms/Radio2/Radio2.style.d.ts +7 -0
  125. package/dist/components/atoms/Radio2/index.d.ts +2 -0
  126. package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +3 -0
  127. package/dist/components/atoms/RotatorButtons/RotatorButtons.style.d.ts +3 -0
  128. package/dist/components/atoms/RotatorButtons/index.d.ts +2 -0
  129. package/dist/components/atoms/Search/Search.d.ts +3 -0
  130. package/dist/components/atoms/Search/Search.style.d.ts +3 -0
  131. package/dist/components/atoms/Search/index.d.ts +2 -0
  132. package/dist/components/atoms/SecondaryLogo/SecodaryLogo.style.d.ts +2 -0
  133. package/dist/components/atoms/SecondaryLogo/SecondaryLogo.d.ts +4 -0
  134. package/dist/components/atoms/SecondaryLogo/index.d.ts +2 -0
  135. package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +3 -0
  136. package/dist/components/atoms/SectionSplitter/SectionSplitter.style.d.ts +2 -0
  137. package/dist/components/atoms/SectionSplitter/index.d.ts +2 -0
  138. package/dist/components/atoms/SponsorLogo/SponsorLogo.d.ts +4 -0
  139. package/dist/components/atoms/SponsorLogo/SponsorLogo.style.d.ts +1 -0
  140. package/dist/components/atoms/SponsorLogo/index.d.ts +2 -0
  141. package/dist/components/atoms/Sponsorship/Sponsorship.d.ts +4 -0
  142. package/dist/components/atoms/Sponsorship/Sponsorship.style.d.ts +2 -0
  143. package/dist/components/atoms/Sponsorship/index.d.ts +2 -0
  144. package/dist/components/atoms/Stepper/Stepper.d.ts +58 -0
  145. package/dist/components/atoms/Stepper/Stepper.style.d.ts +6 -0
  146. package/dist/components/atoms/Stepper/index.d.ts +2 -0
  147. package/dist/components/atoms/Tab/Tab.d.ts +3 -0
  148. package/dist/components/atoms/Tab/Tab.style.d.ts +3 -0
  149. package/dist/components/atoms/Tab/index.d.ts +2 -0
  150. package/dist/components/atoms/TabLink/TabLink.d.ts +4 -0
  151. package/dist/components/atoms/TabLink/TabLink.style.d.ts +3 -0
  152. package/dist/components/atoms/TabLink/index.d.ts +2 -0
  153. package/dist/components/atoms/TextArea/TextArea.d.ts +44 -0
  154. package/dist/components/atoms/TextArea/TextArea.style.d.ts +5 -0
  155. package/dist/components/atoms/TextArea/index.d.ts +2 -0
  156. package/dist/components/atoms/TextField/TextField.d.ts +42 -0
  157. package/dist/components/atoms/TextField/TextField.style.d.ts +9 -0
  158. package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +10 -0
  159. package/dist/components/atoms/TextField/TextFieldLegacy.style.d.ts +5 -0
  160. package/dist/components/atoms/TextField/index.d.ts +3 -0
  161. package/dist/components/atoms/TextLink/TextLink.d.ts +4 -0
  162. package/dist/components/atoms/TextLink/TextLink.style.d.ts +3 -0
  163. package/dist/components/atoms/TextLink/index.d.ts +2 -0
  164. package/dist/components/atoms/TextLogo/TextLogo.d.ts +13 -0
  165. package/dist/components/atoms/TextLogo/index.d.ts +2 -0
  166. package/dist/components/atoms/TextLogo/styled.d.ts +12 -0
  167. package/dist/components/atoms/Tickbox/Tickbox.d.ts +7 -0
  168. package/dist/components/atoms/Tickbox/Tickbox.style.d.ts +9 -0
  169. package/dist/components/atoms/Tickbox/index.d.ts +2 -0
  170. package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +23 -0
  171. package/dist/components/atoms/Tickbox2/Tickbox2.style.d.ts +7 -0
  172. package/dist/components/atoms/Tickbox2/index.d.ts +2 -0
  173. package/dist/components/atoms/Timer/Timer.d.ts +4 -0
  174. package/dist/components/atoms/Timer/Timer.style.d.ts +9 -0
  175. package/dist/components/atoms/Timer/index.d.ts +2 -0
  176. package/dist/components/atoms/TypeTags/TypeTags.d.ts +3 -0
  177. package/dist/components/atoms/TypeTags/TypeTags.style.d.ts +1 -0
  178. package/dist/components/atoms/TypeTags/index.d.ts +2 -0
  179. package/dist/components/atoms/Typography/Typography.d.ts +7 -0
  180. package/dist/components/atoms/Typography/Typography.style.d.ts +3 -0
  181. package/dist/components/atoms/Typography/index.d.ts +2 -0
  182. package/dist/components/atoms/VideoControls/VideoControls.d.ts +4 -0
  183. package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +13 -0
  184. package/dist/components/atoms/VideoControls/index.d.ts +2 -0
  185. package/dist/components/atoms/index.d.ts +28 -0
  186. package/dist/components/index.d.ts +6 -0
  187. package/dist/components/molecules/Accordion/Accordion.d.ts +4 -0
  188. package/dist/components/molecules/Accordion/Accordion.style.d.ts +10 -0
  189. package/dist/components/molecules/Accordion/index.d.ts +2 -0
  190. package/dist/components/molecules/Accordions/Accordions.d.ts +4 -0
  191. package/dist/components/molecules/Accordions/Accordions.style.d.ts +1 -0
  192. package/dist/components/molecules/Accordions/index.d.ts +2 -0
  193. package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.d.ts +4 -0
  194. package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.style.d.ts +3 -0
  195. package/dist/components/molecules/AnnouncementBanner/index.d.ts +2 -0
  196. package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.d.ts +21 -0
  197. package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.styles.d.ts +9 -0
  198. package/dist/components/molecules/AuxiliaryNav/index.d.ts +2 -0
  199. package/dist/components/molecules/Basket/Basket.d.ts +3 -0
  200. package/dist/components/molecules/Basket/Basket.style.d.ts +5 -0
  201. package/dist/components/molecules/Basket/helpers.d.ts +3 -0
  202. package/dist/components/molecules/Basket/hooks.d.ts +8 -0
  203. package/dist/components/molecules/Basket/index.d.ts +2 -0
  204. package/dist/components/molecules/Card/Card.d.ts +4 -0
  205. package/dist/components/molecules/Card/Card.style.d.ts +28 -0
  206. package/dist/components/molecules/Card/index.d.ts +2 -0
  207. package/dist/components/molecules/Cards/Cards.d.ts +3 -0
  208. package/dist/components/molecules/Cards/Cards.style.d.ts +2 -0
  209. package/dist/components/molecules/Cards/index.d.ts +2 -0
  210. package/dist/components/molecules/ContactCard/ContactCard.d.ts +4 -0
  211. package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +6 -0
  212. package/dist/components/molecules/ContactCard/index.d.ts +2 -0
  213. package/dist/components/molecules/ContactNewsletter/ContactNewsletter.d.ts +4 -0
  214. package/dist/components/molecules/ContactNewsletter/ContactNewsletter.style.d.ts +8 -0
  215. package/dist/components/molecules/ContactNewsletter/index.d.ts +2 -0
  216. package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +3 -0
  217. package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +17 -0
  218. package/dist/components/molecules/ContentSummary/ContentSummaryData.d.ts +25 -0
  219. package/dist/components/molecules/ContentSummary/index.d.ts +2 -0
  220. package/dist/components/molecules/Editorial/Editorial.d.ts +4 -0
  221. package/dist/components/molecules/Editorial/Editorial.style.d.ts +6 -0
  222. package/dist/components/molecules/Editorial/index.d.ts +2 -0
  223. package/dist/components/molecules/ImageWithCaption/ImageWithCaption.d.ts +4 -0
  224. package/dist/components/molecules/ImageWithCaption/ImageWithCaption.style.d.ts +3 -0
  225. package/dist/components/molecules/ImageWithCaption/index.d.ts +2 -0
  226. package/dist/components/molecules/Information/InfoCta.d.ts +4 -0
  227. package/dist/components/molecules/Information/Information.d.ts +4 -0
  228. package/dist/components/molecules/Information/Information.style.d.ts +10 -0
  229. package/dist/components/molecules/Information/index.d.ts +2 -0
  230. package/dist/components/molecules/MiniCard/MiniCard.d.ts +4 -0
  231. package/dist/components/molecules/MiniCard/MiniCard.style.d.ts +6 -0
  232. package/dist/components/molecules/MiniCard/index.d.ts +2 -0
  233. package/dist/components/molecules/NavTop/NavTop.d.ts +3 -0
  234. package/dist/components/molecules/NavTop/NavTop.style.d.ts +1 -0
  235. package/dist/components/molecules/NavTop/index.d.ts +2 -0
  236. package/dist/components/molecules/PageHeading/Cinema/Cinema.d.ts +4 -0
  237. package/dist/components/molecules/PageHeading/Cinema/index.d.ts +2 -0
  238. package/dist/components/molecules/PageHeading/Compact/Compact.d.ts +4 -0
  239. package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +24 -0
  240. package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.d.ts +10 -0
  241. package/dist/components/molecules/PageHeading/Compact/index.d.ts +2 -0
  242. package/dist/components/molecules/PageHeading/Core/Core.d.ts +4 -0
  243. package/dist/components/molecules/PageHeading/Core/index.d.ts +2 -0
  244. package/dist/components/molecules/PageHeading/Impact/Impact.d.ts +4 -0
  245. package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +9 -0
  246. package/dist/components/molecules/PageHeading/Impact/index.d.ts +2 -0
  247. package/dist/components/molecules/PageHeading/PageHeading.d.ts +4 -0
  248. package/dist/components/molecules/PageHeading/PageHeading.style.d.ts +11 -0
  249. package/dist/components/molecules/PageHeading/Panel/Panel.d.ts +4 -0
  250. package/dist/components/molecules/PageHeading/Panel/Panel.style.d.ts +9 -0
  251. package/dist/components/molecules/PageHeading/Panel/index.d.ts +2 -0
  252. package/dist/components/molecules/PageHeading/Stream/Stream.d.ts +4 -0
  253. package/dist/components/molecules/PageHeading/Stream/Stream.style.d.ts +1 -0
  254. package/dist/components/molecules/PageHeading/Stream/index.d.ts +2 -0
  255. package/dist/components/molecules/PageHeading/index.d.ts +7 -0
  256. package/dist/components/molecules/Pagination/Pagination.d.ts +9 -0
  257. package/dist/components/molecules/Pagination/Pagination.style.d.ts +8 -0
  258. package/dist/components/molecules/Pagination/index.d.ts +2 -0
  259. package/dist/components/molecules/PasswordStrength/PasswordStrength.d.ts +33 -0
  260. package/dist/components/molecules/PasswordStrength/PasswordStrength.styles.d.ts +13 -0
  261. package/dist/components/molecules/PasswordStrength/index.d.ts +2 -0
  262. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +3 -0
  263. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +5 -0
  264. package/dist/components/molecules/PeopleListing/CreditListing/index.d.ts +2 -0
  265. package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +3 -0
  266. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +6 -0
  267. package/dist/components/molecules/PeopleListing/Person.d.ts +7 -0
  268. package/dist/components/molecules/PeopleListing/index.d.ts +3 -0
  269. package/dist/components/molecules/PolicyLinks/PolicyLinks.d.ts +4 -0
  270. package/dist/components/molecules/PolicyLinks/PolicyLinks.style.d.ts +3 -0
  271. package/dist/components/molecules/PolicyLinks/index.d.ts +2 -0
  272. package/dist/components/molecules/PromoWithTags/PromoWithTags.d.ts +4 -0
  273. package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +23 -0
  274. package/dist/components/molecules/PromoWithTags/index.d.ts +2 -0
  275. package/dist/components/molecules/PromoWithTitle/PromoChild.d.ts +9 -0
  276. package/dist/components/molecules/PromoWithTitle/PromoWithTitle.d.ts +4 -0
  277. package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +8 -0
  278. package/dist/components/molecules/PromoWithTitle/index.d.ts +2 -0
  279. package/dist/components/molecules/Quote/Quote.d.ts +4 -0
  280. package/dist/components/molecules/Quote/Quote.style.d.ts +4 -0
  281. package/dist/components/molecules/Quote/index.d.ts +2 -0
  282. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +6 -0
  283. package/dist/components/molecules/RadioGroup/RadioGroup.style.d.ts +1 -0
  284. package/dist/components/molecules/RadioGroup/index.d.ts +2 -0
  285. package/dist/components/molecules/RadioGroup2/RadioGroup2.d.ts +38 -0
  286. package/dist/components/molecules/RadioGroup2/RadioGroup2.style.d.ts +4 -0
  287. package/dist/components/molecules/RadioGroup2/index.d.ts +2 -0
  288. package/dist/components/molecules/ReadMore/ReadMore.d.ts +4 -0
  289. package/dist/components/molecules/ReadMore/ReadMore.style.d.ts +9 -0
  290. package/dist/components/molecules/ReadMore/index.d.ts +2 -0
  291. package/dist/components/molecules/SearchBar/SearchBar.d.ts +3 -0
  292. package/dist/components/molecules/SearchBar/SearchBar.style.d.ts +7 -0
  293. package/dist/components/molecules/SearchBar/index.d.ts +2 -0
  294. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +3 -0
  295. package/dist/components/molecules/SectionTitle/SectionTitle.style.d.ts +2 -0
  296. package/dist/components/molecules/SectionTitle/index.d.ts +2 -0
  297. package/dist/components/molecules/Select/Select.d.ts +100 -0
  298. package/dist/components/molecules/Select/Select.style.d.ts +14 -0
  299. package/dist/components/molecules/Select/index.d.ts +2 -0
  300. package/dist/components/molecules/Select2/Select2.d.ts +24 -0
  301. package/dist/components/molecules/Select2/Select2.style.d.ts +5 -0
  302. package/dist/components/molecules/Select2/index.d.ts +2 -0
  303. package/dist/components/molecules/Select2Async/Select2Async.d.ts +18 -0
  304. package/dist/components/molecules/Select2Async/index.d.ts +2 -0
  305. package/dist/components/molecules/StatusBanner/StatusBanner.d.ts +4 -0
  306. package/dist/components/molecules/StatusBanner/StatusBanner.style.d.ts +3 -0
  307. package/dist/components/molecules/StatusBanner/index.d.ts +2 -0
  308. package/dist/components/molecules/Table/Table.d.ts +4 -0
  309. package/dist/components/molecules/Table/Table.style.d.ts +19 -0
  310. package/dist/components/molecules/Table/components/TableCell.d.ts +3 -0
  311. package/dist/components/molecules/Table/components/TableHelpers.d.ts +4 -0
  312. package/dist/components/molecules/Table/components/TableRow.d.ts +3 -0
  313. package/dist/components/molecules/Table/index.d.ts +2 -0
  314. package/dist/components/molecules/Tabs/Tabs.d.ts +3 -0
  315. package/dist/components/molecules/Tabs/Tabs.style.d.ts +5 -0
  316. package/dist/components/molecules/Tabs/index.d.ts +2 -0
  317. package/dist/components/molecules/TextOnly/TextOnly.d.ts +4 -0
  318. package/dist/components/molecules/TextOnly/TextOnly.style.d.ts +1 -0
  319. package/dist/components/molecules/TextOnly/index.d.ts +2 -0
  320. package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -0
  321. package/dist/components/molecules/UpsellCard/UpsellCard.d.ts +4 -0
  322. package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +15 -0
  323. package/dist/components/molecules/UpsellCard/index.d.ts +2 -0
  324. package/dist/components/molecules/UpsellCards/UpsellCards.d.ts +4 -0
  325. package/dist/components/molecules/UpsellCards/UpsellCards.style.d.ts +1 -0
  326. package/dist/components/molecules/UpsellCards/index.d.ts +2 -0
  327. package/dist/components/molecules/VideoWithControls/VideoWithControls.d.ts +4 -0
  328. package/dist/components/molecules/VideoWithControls/VideoWithControls.style.d.ts +2 -0
  329. package/dist/components/molecules/VideoWithControls/index.d.ts +2 -0
  330. package/dist/components/molecules/index.d.ts +34 -0
  331. package/dist/components/organisms/AnchorTabBar/AnchorTabBar.d.ts +4 -0
  332. package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +8 -0
  333. package/dist/components/organisms/AnchorTabBar/index.d.ts +2 -0
  334. package/dist/components/organisms/Footer/Footer.d.ts +4 -0
  335. package/dist/components/organisms/Footer/Footer.style.d.ts +6 -0
  336. package/dist/components/organisms/Footer/index.d.ts +2 -0
  337. package/dist/components/organisms/LiveChat/LiveChat.d.ts +3 -0
  338. package/dist/components/organisms/LiveChat/index.d.ts +2 -0
  339. package/dist/components/organisms/ModalWindow/ModalWindow.d.ts +68 -0
  340. package/dist/components/organisms/ModalWindow/ModalWindow.style.d.ts +4 -0
  341. package/dist/components/organisms/ModalWindow/index.d.ts +2 -0
  342. package/dist/components/organisms/Navigation/Navigation.d.ts +3 -0
  343. package/dist/components/organisms/Navigation/Navigation.style.d.ts +16 -0
  344. package/dist/components/organisms/Navigation/index.d.ts +2 -0
  345. package/dist/components/organisms/StickyBar/StickyBar.d.ts +4 -0
  346. package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +6 -0
  347. package/dist/components/organisms/StickyBar/index.d.ts +2 -0
  348. package/dist/components/organisms/TitleWithCTA/TitleWithCTA.d.ts +4 -0
  349. package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +12 -0
  350. package/dist/components/organisms/TitleWithCTA/index.d.ts +2 -0
  351. package/dist/components/organisms/UpsellSection/UpsellSection.d.ts +4 -0
  352. package/dist/components/organisms/UpsellSection/UpsellSection.style.d.ts +3 -0
  353. package/dist/components/organisms/UpsellSection/index.d.ts +2 -0
  354. package/dist/components/organisms/index.d.ts +9 -0
  355. package/dist/harmonic.cjs.development.js +12331 -0
  356. package/dist/harmonic.cjs.development.js.map +1 -0
  357. package/dist/harmonic.cjs.production.min.js +2 -0
  358. package/dist/harmonic.cjs.production.min.js.map +1 -0
  359. package/dist/harmonic.esm.js +12248 -0
  360. package/dist/harmonic.esm.js.map +1 -0
  361. package/dist/helpers/arrays.d.ts +6 -0
  362. package/dist/helpers/aspectRatio.d.ts +2 -0
  363. package/dist/helpers/defaultValues.d.ts +7 -0
  364. package/dist/helpers/devices.d.ts +3 -0
  365. package/dist/helpers/formatStrings.d.ts +2 -0
  366. package/dist/helpers/generateDomElementId.d.ts +8 -0
  367. package/dist/helpers/htmlStrings.d.ts +5 -0
  368. package/dist/helpers/keyboards.d.ts +3 -0
  369. package/dist/helpers/urls.d.ts +2 -0
  370. package/dist/index.d.ts +8 -0
  371. package/dist/index.js +8 -0
  372. package/dist/jest.setup.d.ts +1 -0
  373. package/dist/styles/GlobalStyles.d.ts +3 -0
  374. package/dist/styles/StorybookSupport/Colours/StorybookColourBox.d.ts +5 -0
  375. package/dist/styles/ThemeProvider.d.ts +3 -0
  376. package/dist/styles/themes.d.ts +3756 -0
  377. package/dist/styles/viewports.d.ts +16 -0
  378. package/dist/styles/zIndexes.d.ts +4 -0
  379. package/dist/types/auxiliaryNav.d.ts +39 -0
  380. package/dist/types/buttonTypes.d.ts +80 -0
  381. package/dist/types/card.d.ts +138 -0
  382. package/dist/types/carousel.d.ts +128 -0
  383. package/dist/types/contactCard.d.ts +45 -0
  384. package/dist/types/creditListing.d.ts +12 -0
  385. package/dist/types/editorial.d.ts +255 -0
  386. package/dist/types/footer.d.ts +41 -0
  387. package/dist/types/formTypes.d.ts +325 -0
  388. package/dist/types/iconTypes.d.ts +39 -0
  389. package/dist/types/image.d.ts +53 -0
  390. package/dist/types/impactHeader.d.ts +135 -0
  391. package/dist/types/index.d.ts +14 -0
  392. package/dist/types/information.d.ts +85 -0
  393. package/dist/types/miniCard.d.ts +27 -0
  394. package/dist/types/modalWindow.d.ts +20 -0
  395. package/dist/types/navigation.d.ts +374 -0
  396. package/dist/types/passwordStrength.d.ts +51 -0
  397. package/dist/types/progress.d.ts +33 -0
  398. package/dist/types/promoWithTags.d.ts +81 -0
  399. package/dist/types/quote.d.ts +17 -0
  400. package/dist/types/tableTypes.d.ts +47 -0
  401. package/dist/types/tickbox.d.ts +79 -0
  402. package/dist/types/timer.d.ts +37 -0
  403. package/dist/types/types.d.ts +602 -0
  404. package/dist/types/typography.d.ts +89 -0
  405. package/dist/types/upsell.d.ts +78 -0
  406. package/dist/types/utility.d.ts +4 -0
  407. package/package.json +125 -0
@@ -0,0 +1,135 @@
1
+ import { ReactNode } from 'react';
2
+ import { EditorialLink } from '../types';
3
+ import { TypographyLevel } from './typography';
4
+ export interface IPageHeadingImpactProps {
5
+ /**
6
+ * Text placed in the impact component
7
+ */
8
+ text?: string;
9
+ /**
10
+ * Link placed in the impact component
11
+ */
12
+ link?: EditorialLink;
13
+ /**
14
+ * Boolean to show/hide sponsorship logo (default true)
15
+ */
16
+ sponsor?: boolean;
17
+ /**
18
+ * Data for custom sponsor
19
+ */
20
+ customSponsorImage?: CustomSponsorImageData;
21
+ /**
22
+ * Background url for desktops
23
+ */
24
+ bgUrlDesktop: string;
25
+ /**
26
+ * Background url for devices
27
+ */
28
+ bgUrlDevice?: string;
29
+ /**
30
+ * Alt text for the main image
31
+ */
32
+ bgImageAltText?: string;
33
+ /**
34
+ * Logo to be placed in page heading component
35
+ */
36
+ children?: ReactNode;
37
+ /**
38
+ * Internal anchor ref
39
+ */
40
+ scrollHref?: string;
41
+ /**
42
+ * Semantic level of the header
43
+ */
44
+ semanticLevel?: TypographyLevel;
45
+ }
46
+ export declare type BrandingStyle = 'BlockText' | 'BodyText' | 'StreamLogo' | 'CinemaLogo' | 'TextLink';
47
+ export interface IPageHeadingCompactProps {
48
+ /**
49
+ * Text placed in the impact component
50
+ */
51
+ title?: string;
52
+ /**
53
+ * Render title as small for long titles
54
+ */
55
+ smallTitle?: boolean;
56
+ /**
57
+ * Link placed in the impact component
58
+ */
59
+ link?: EditorialLink;
60
+ /**
61
+ * Boolean to show/hide sponsorship logo (default true)
62
+ */
63
+ sponsor?: boolean;
64
+ /**
65
+ * Data for custom sponsor
66
+ */
67
+ customSponsorImage?: CustomSponsorImageData;
68
+ /**
69
+ * Background url for desktops
70
+ */
71
+ bgUrlDesktop: string;
72
+ /**
73
+ * Background url for devices
74
+ */
75
+ bgUrlDevice?: string;
76
+ /**
77
+ * Alt text for the main image
78
+ */
79
+ bgImageAltText?: string;
80
+ /**
81
+ * Logo or Text to be placed in page heading component
82
+ * @type {string}
83
+ */
84
+ brandingStyle: BrandingStyle;
85
+ /**
86
+ * Link for the TextLink branding style option
87
+ */
88
+ brandingLink?: string;
89
+ /**
90
+ * Text to be placed in the branding section - BlockText, BodyText, or TextLink
91
+ */
92
+ brandingText?: string;
93
+ /**
94
+ * Flag whether to show inverted colors
95
+ * @default false
96
+ * @type {boolean}
97
+ * */
98
+ invert?: boolean;
99
+ /**
100
+ * Desktop video url
101
+ * @type {string}
102
+ * */
103
+ videoUrlDesktop?: string;
104
+ /**
105
+ * Mobile video url
106
+ * @type {string}
107
+ * */
108
+ videoUrlMobile?: string;
109
+ /**
110
+ * If true, shows the copy section (title, CTAs etc.). If false, only the video banner is visible. True by default.
111
+ */
112
+ showCopy?: boolean;
113
+ /**
114
+ * Semantic level of the header
115
+ */
116
+ semanticLevel?: TypographyLevel;
117
+ }
118
+ export interface CustomSponsorImageData {
119
+ /**
120
+ * Source URL for Sponsorship logo
121
+ */
122
+ src: string;
123
+ /**
124
+ * Alt Text for image.
125
+ */
126
+ altText?: string;
127
+ /**
128
+ * Used for Analytics.
129
+ */
130
+ dataRoh: string;
131
+ /**
132
+ * Used for Accessibility.
133
+ */
134
+ title: string;
135
+ }
@@ -0,0 +1,14 @@
1
+ import { FooterData } from './footer';
2
+ import { Colors, ThemeType } from './types';
3
+ import { INavigationProps, INavTopProps } from './navigation';
4
+ import { CarouselType } from './carousel';
5
+ import { IconNameType } from './iconTypes';
6
+ import { AspectRatio } from './image';
7
+ import { TickboxMode } from './tickbox';
8
+ import { ButtonType, IAuxiliaryButtonProps } from './buttonTypes';
9
+ import { EditorialLink } from './editorial';
10
+ import { IPageHeadingCompactProps } from './impactHeader';
11
+ import { IntegratedTimerProps, ITimerProps } from './timer';
12
+ import { ICreditListing } from './creditListing';
13
+ import { ModalWindowProps } from './modalWindow';
14
+ export { AspectRatio, ButtonType, CarouselType, Colors, EditorialLink, FooterData, IconNameType, IAuxiliaryButtonProps, ICreditListing, IPageHeadingCompactProps, INavigationProps, INavTopProps, IntegratedTimerProps, ITimerProps, ModalWindowProps, TickboxMode, ThemeType, };
@@ -0,0 +1,85 @@
1
+ import { DirectionType, IconNameType } from './iconTypes';
2
+ export declare enum CtaVariant {
3
+ Primary = "Primary",
4
+ Secondary = "Secondary",
5
+ Tertiary = "Tertiary",
6
+ TextLink = "TextLink"
7
+ }
8
+ export declare enum CtaTheme {
9
+ Cinema = "Cinema",
10
+ Core = "Core",
11
+ Stream = "Stream"
12
+ }
13
+ export declare enum TitleVariant {
14
+ Header = "Header",
15
+ AltHeader = "AltHeader"
16
+ }
17
+ export declare enum BackgroundColour {
18
+ Cinema = "cinema",
19
+ Core = "core",
20
+ Stream = "stream",
21
+ White = "white"
22
+ }
23
+ export declare type TitleTextSize = 3 | 4 | 5 | 6;
24
+ export interface CTAProps {
25
+ /**
26
+ * Text to display on the CTA
27
+ */
28
+ text: string;
29
+ /**
30
+ * Link for the CTA
31
+ */
32
+ link: string;
33
+ /**
34
+ * Style of the CTA. Choices are "Primary" (solid button background), "Secondary" (transparent button background) or "Tertiary" (text only)
35
+ */
36
+ variant?: CtaVariant;
37
+ /**
38
+ * Theme to use for the CTA. Choices are "Core" (red), "Stream" (blue), or "Cinema" (black)
39
+ */
40
+ theme?: CtaTheme;
41
+ /**
42
+ * Flag to decide whether to adjust the CTA colours for display on coloured backgrounds
43
+ */
44
+ infoThemed: boolean;
45
+ /**
46
+ * Name of the icon to be used in the button
47
+ */
48
+ iconName?: IconNameType;
49
+ /**
50
+ * Direction of the icon used in the button
51
+ */
52
+ iconDirection?: DirectionType;
53
+ }
54
+ export interface TitleProps {
55
+ /**
56
+ * Title text to display
57
+ */
58
+ text: string;
59
+ /**
60
+ * Title typography type. Choices are Heading or AltHeader
61
+ */
62
+ variant: TitleVariant;
63
+ /**
64
+ * The size of the title text
65
+ */
66
+ textSize: TitleTextSize;
67
+ }
68
+ export interface IInformationProps {
69
+ /**
70
+ * Main body text to display in the Information Component
71
+ */
72
+ body: string;
73
+ /**
74
+ * Optional CTA to display underneath the body text
75
+ */
76
+ cta?: CTAProps;
77
+ /**
78
+ * Title options for the component
79
+ */
80
+ title: TitleProps;
81
+ /**
82
+ * Background Colour. Choices: None, Core, Cinema, Stream
83
+ */
84
+ background?: BackgroundColour;
85
+ }
@@ -0,0 +1,27 @@
1
+ import { IconNameType } from './iconTypes';
2
+ export interface IMiniCardProps {
3
+ /**
4
+ * Title placed in the component
5
+ */
6
+ title: string;
7
+ /**
8
+ * Subtitle placed in the component
9
+ */
10
+ subtitle?: string;
11
+ /**
12
+ * Image to render
13
+ */
14
+ image: string;
15
+ /**
16
+ * Image alt text
17
+ */
18
+ imageAltText: string;
19
+ /**
20
+ * An icon to be rendered in the middle of the image
21
+ */
22
+ iconName?: IconNameType;
23
+ /**
24
+ * A color for the icon
25
+ */
26
+ iconColor?: string;
27
+ }
@@ -0,0 +1,20 @@
1
+ import { ReactElement } from 'react';
2
+ import Modal from 'react-modal';
3
+ export interface ModalWindowProps extends Modal.Props {
4
+ /**
5
+ * Boolean indicating if the modal is open.
6
+ */
7
+ isOpen: boolean;
8
+ /**
9
+ * Function to set the open state of the modal.
10
+ */
11
+ setIsOpen: (isOpen: boolean) => void;
12
+ /**
13
+ * Content to be displayed within the modal.
14
+ */
15
+ children: ReactElement;
16
+ /**
17
+ * ID of the app element to assist with accessibility.
18
+ */
19
+ appElementId?: string;
20
+ }
@@ -0,0 +1,374 @@
1
+ import React, { AnchorHTMLAttributes, MouseEvent, MouseEventHandler } from 'react';
2
+ import { DirectionType, IconNameType } from './iconTypes';
3
+ import { Colors, IOptionItem } from './types';
4
+ import { ReactNode } from 'react';
5
+ export interface IAccountProps {
6
+ /**
7
+ * The text of the title
8
+ */
9
+ title?: string;
10
+ /**
11
+ * An Array of Option components
12
+ */
13
+ options?: IOptionItem[];
14
+ /**
15
+ * Function to be called when is clicked
16
+ */
17
+ onClick?: (e: string) => void;
18
+ /**
19
+ * The name of the icon
20
+ */
21
+ iconName?: IconNameType;
22
+ /**
23
+ * The link of the title
24
+ */
25
+ titleLink?: string;
26
+ /**
27
+ * The primary color
28
+ */
29
+ colorPrimary?: string;
30
+ }
31
+ export interface IBasketProps {
32
+ /**
33
+ * The value of the text
34
+ */
35
+ text?: string;
36
+ /**
37
+ * The unix timestamp when basket items will be released.
38
+ */
39
+ expiryTime?: number;
40
+ /**
41
+ * The value of the link
42
+ */
43
+ link?: string;
44
+ /**
45
+ * To keep selected the text of the Basket
46
+ */
47
+ selected?: boolean;
48
+ /**
49
+ * The number of items of the Basket (eg. Tickets)
50
+ */
51
+ numItems?: number;
52
+ /**
53
+ * The number of 'virtual' items of the Basket (eg. Stream subscription)
54
+ * These items remain in the basket after expiryTime is reached
55
+ */
56
+ numVirtualItems?: number;
57
+ /**
58
+ * Function to be called when is clicked
59
+ */
60
+ onClick?: (e: string) => void;
61
+ /**
62
+ * The primary color
63
+ */
64
+ colorPrimary?: string;
65
+ /**
66
+ * For changing the color of the basket icon & text (when not in hover state)
67
+ */
68
+ isActive?: boolean;
69
+ }
70
+ export interface ISearchProps {
71
+ /**
72
+ * To keep selected the text of the Basket
73
+ */
74
+ selected?: boolean;
75
+ /**
76
+ * Function to be called when is clicked
77
+ */
78
+ onClick?: () => void;
79
+ /**
80
+ * The primary color
81
+ */
82
+ colorPrimary?: string;
83
+ }
84
+ export interface INavigationWrapperProps {
85
+ /**
86
+ * True if menu is open
87
+ */
88
+ isMenuOpen?: boolean;
89
+ }
90
+ export interface INavTopProps {
91
+ children?: ReactNode;
92
+ /**
93
+ * The text of Account component
94
+ */
95
+ accountText?: string;
96
+ /**
97
+ * The link of Account component
98
+ */
99
+ accountLink?: string;
100
+ /**
101
+ * The icon of Account component
102
+ */
103
+ accountIcon?: IconNameType;
104
+ /**
105
+ * The options of Account component
106
+ */
107
+ accountOptions?: IOptionItem[];
108
+ /**
109
+ * The text of Basket component
110
+ */
111
+ basketText?: string;
112
+ /**
113
+ * The unix timestamp when basket items will be released.
114
+ */
115
+ basketExpiryUnixTimestamp?: number;
116
+ /**
117
+ * The link of Basket component
118
+ */
119
+ basketLink?: string;
120
+ /**
121
+ * The number of items of Basket component
122
+ */
123
+ basketNumItems?: number;
124
+ /**
125
+ * The number of 'virtual' items of the Basket (eg. Stream subscription)
126
+ * These items remain in the basket after expiryTime is reached
127
+ */
128
+ basketNumVirtualItems?: number;
129
+ /**
130
+ * For changing the color of the basket icon & text (when not in hover state)
131
+ */
132
+ basketIsActive?: boolean;
133
+ /**
134
+ * To know if search component is showed or not
135
+ */
136
+ isShowSearch?: boolean;
137
+ /**
138
+ * Function to be called when Search component is clicked
139
+ */
140
+ onClickSearch?: () => void;
141
+ /**
142
+ * Function to be called when is clicked
143
+ */
144
+ onLink?: (e: string) => void;
145
+ /**
146
+ * The primary color
147
+ */
148
+ colorPrimary?: string;
149
+ }
150
+ export interface iMenuOptionProps {
151
+ /**
152
+ * The text of the title
153
+ */
154
+ title: string;
155
+ /**
156
+ * An Array of Option components
157
+ */
158
+ options: IOptionItem[];
159
+ /**
160
+ * The link of the title
161
+ */
162
+ titleLink?: string;
163
+ }
164
+ export interface IMenuProps {
165
+ /**
166
+ * An Array of menu items
167
+ */
168
+ items: iMenuOptionProps[];
169
+ }
170
+ export interface INavigationProps {
171
+ /**
172
+ * Link url to Logo component
173
+ */
174
+ logoLink?: string;
175
+ /**
176
+ * An Object to set NavTop data component
177
+ */
178
+ dataNavTop: INavTopProps;
179
+ /**
180
+ * Function to be called when is searched
181
+ */
182
+ onSearch: (e: string) => void;
183
+ /**
184
+ * Function to be called when is clicked
185
+ */
186
+ onLink: (e: string) => void;
187
+ /**
188
+ * A set of data to make a menu
189
+ */
190
+ menuData: IMenuProps;
191
+ /**
192
+ * The url for the Desktop version of the logo
193
+ */
194
+ desktopLogoUrl: string;
195
+ /**
196
+ * The url for the Mobile and Tablet version of the logo
197
+ */
198
+ devicesLogoUrl?: string;
199
+ }
200
+ export interface ISearchBarProps {
201
+ /**
202
+ * Function to be called when is clicked
203
+ */
204
+ onClick: (e: string) => void;
205
+ /**
206
+ * Function to be called when is closed
207
+ */
208
+ onClose?: (e?: React.MouseEvent) => void;
209
+ }
210
+ export declare type TitleCTALink = AnchorHTMLAttributes<HTMLAnchorElement> & {
211
+ /**
212
+ * Text inside the link
213
+ */
214
+ text: string;
215
+ /**
216
+ * Function to be called when a button is clicked
217
+ */
218
+ onClick?: MouseEventHandler<HTMLAnchorElement>;
219
+ /**
220
+ * Name of the icon to be used in the button
221
+ */
222
+ iconName?: IconNameType;
223
+ /**
224
+ * Direction of the icon used in the button
225
+ */
226
+ iconDirection?: DirectionType;
227
+ /**
228
+ * Color of text and icon
229
+ */
230
+ color?: Colors;
231
+ };
232
+ export declare type TitleCTALinks = [TitleCTALink, TitleCTALink?];
233
+ export declare type AnchorBarTab = AnchorHTMLAttributes<HTMLAnchorElement> & {
234
+ /**
235
+ * Visible text in a tab
236
+ */
237
+ text: string;
238
+ /**
239
+ * Tab identifier, used to highlight items when user performs a scroll
240
+ */
241
+ id: string;
242
+ /**
243
+ * Color of text and icon
244
+ */
245
+ color?: Colors;
246
+ };
247
+ export interface IAnchorBarAbsolutePositionParams {
248
+ /**
249
+ * Navigation height that we need to calculate AnchorTabBar position properly
250
+ */
251
+ navigationHeight: number;
252
+ /**
253
+ * Height of the content that is located in place before AnchorTabBar
254
+ */
255
+ topOffset: number;
256
+ }
257
+ export interface IAnchorBarProps {
258
+ /**
259
+ * Tabs displayed in the anchor bar
260
+ */
261
+ tabs: AnchorBarTab[];
262
+ /**
263
+ * Function to be called when a tab is clicked
264
+ */
265
+ onTabClick?: (e: MouseEvent, id: string) => void;
266
+ /**
267
+ * Set the id of the tab actived
268
+ */
269
+ activeTab?: string;
270
+ /**
271
+ * Only for IOS devices that do not fully support sticky position, in case a keyboard is opened on the device
272
+ */
273
+ absolutePositionParams?: IAnchorBarAbsolutePositionParams;
274
+ /**
275
+ * Boolean to set bottom border
276
+ */
277
+ bottomBorder?: boolean;
278
+ }
279
+ export interface ITitleCTAProps {
280
+ /**
281
+ * Array of buttons props. First one should have PrimaryButton attributes, second one Tertiary button attributes
282
+ */
283
+ links?: TitleCTALinks;
284
+ /**
285
+ * Text placed in the anchor bar component
286
+ */
287
+ title?: string;
288
+ /**
289
+ * Boolean to determine if is sticky
290
+ */
291
+ sticky?: boolean;
292
+ /**
293
+ * Text in replacement of links
294
+ */
295
+ message?: string;
296
+ }
297
+ export interface ITitleCTAGridItemProps {
298
+ /**
299
+ * Text placed in the anchor bar component
300
+ */
301
+ title?: string;
302
+ }
303
+ export interface IAnchorTabsListProps {
304
+ /**
305
+ * Boolean to determine that the list tab is overflowed
306
+ */
307
+ tabsOverflow: boolean;
308
+ /**
309
+ * Boolean to determine if there are two arrows displayed
310
+ */
311
+ hasTwoArrows: boolean;
312
+ }
313
+ export interface IAnchorTabBarBorderProps {
314
+ /**
315
+ * Boolean to set bottom border
316
+ */
317
+ bottomBorder: boolean;
318
+ }
319
+ export interface IAnchorTabArrowsBoxProps {
320
+ /**
321
+ * Boolean to determine width of the arrows container
322
+ */
323
+ fullWidth: boolean;
324
+ }
325
+ export interface ITabLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
326
+ children: ReactNode;
327
+ /**
328
+ * Function to be called when a button is clicked
329
+ */
330
+ onClick?: MouseEventHandler<HTMLAnchorElement>;
331
+ /**
332
+ * Name of the icon to be used in the button
333
+ */
334
+ iconName?: IconNameType;
335
+ /**
336
+ * Direction of the icon used in the button
337
+ */
338
+ iconDirection?: DirectionType;
339
+ /**
340
+ * Color of text and icon
341
+ */
342
+ color?: Colors;
343
+ /**
344
+ * Color of text and icon on hover
345
+ */
346
+ hoverColor?: Colors;
347
+ /**
348
+ * Set if tab is selected or not
349
+ */
350
+ selected?: boolean;
351
+ }
352
+ export interface IStickyBarProps {
353
+ children: ReactNode;
354
+ /**
355
+ * Set columnstart in Desktop
356
+ */
357
+ columnStartDesktop?: number;
358
+ /**
359
+ * Set columnSpan in Desktop
360
+ */
361
+ columnSpanDesktop?: number;
362
+ /**
363
+ * Set columnstart in Device
364
+ */
365
+ columnStartDevice?: number;
366
+ /**
367
+ * Set columnSpam in Device
368
+ */
369
+ columnSpanDevice?: number;
370
+ /**
371
+ * Hide bottom border line
372
+ */
373
+ hideBottomBorder?: boolean;
374
+ }
@@ -0,0 +1,51 @@
1
+ import { Colors } from './types';
2
+ export interface IPasswordStrengthProps {
3
+ /**
4
+ * Number of sections to show
5
+ *
6
+ * Default: 6
7
+ */
8
+ sections?: number;
9
+ /**
10
+ * Number of active sections
11
+ *
12
+ * Default: 0
13
+ */
14
+ activeSections?: number;
15
+ /**
16
+ * Color of non-active sections
17
+ *
18
+ * Default: Colors.MidGrey
19
+ */
20
+ sectionsColor?: Colors;
21
+ /**
22
+ * Color of active sections
23
+ *
24
+ * Default: Colors.Black
25
+ */
26
+ activeSectionsColor?: Colors;
27
+ /**
28
+ * Text
29
+ *
30
+ * Default: ""
31
+ */
32
+ text?: string;
33
+ /**
34
+ * Text color
35
+ *
36
+ * Default: Colors.Black
37
+ */
38
+ textColor?: Colors;
39
+ /**
40
+ * Strength label text
41
+ *
42
+ * Default: ""
43
+ */
44
+ strengthLabel?: string;
45
+ /**
46
+ * Strength label text
47
+ *
48
+ * Default: Colors.Black
49
+ */
50
+ strengthLabelColor?: Colors;
51
+ }