@royaloperahouse/chord 1.2.0 → 1.2.1-a-chord-development

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 (273) hide show
  1. package/CHANGELOG.md +504 -7
  2. package/README.md +250 -40
  3. package/dist/chord.cjs.development.js +9019 -3801
  4. package/dist/chord.cjs.development.js.map +1 -1
  5. package/dist/chord.cjs.production.min.js +1 -1
  6. package/dist/chord.cjs.production.min.js.map +1 -1
  7. package/dist/chord.esm.js +8986 -3797
  8. package/dist/chord.esm.js.map +1 -1
  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/Primary/PrimaryButtonWrapper.style.d.ts +1 -0
  12. package/dist/components/atoms/Grid/GridItemLegacy.d.ts +8 -0
  13. package/dist/components/atoms/Grid/index.d.ts +2 -1
  14. package/dist/components/atoms/Icons/Icons.d.ts +1 -1
  15. package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +1 -0
  16. package/dist/components/atoms/Icons/SvgIcons/12px/Expand.svg.d.ts +4 -0
  17. package/dist/components/atoms/Icons/SvgIcons/12px/Remove.svg.d.ts +1 -1
  18. package/dist/components/atoms/Icons/SvgIcons/12px/Tick.svg.d.ts +1 -1
  19. package/dist/components/atoms/Icons/SvgIcons/Actions/AddToMyList.svg.d.ts +1 -1
  20. package/dist/components/atoms/Icons/SvgIcons/Actions/BookTickets.svg.d.ts +1 -1
  21. package/dist/components/atoms/Icons/SvgIcons/Actions/ChooseDates.svg.d.ts +1 -1
  22. package/dist/components/atoms/Icons/SvgIcons/Actions/EditMyList.svg.d.ts +1 -1
  23. package/dist/components/atoms/Icons/SvgIcons/Actions/Favourite.svg.d.ts +1 -1
  24. package/dist/components/atoms/Icons/SvgIcons/Actions/FavouriteFull.svg.d.ts +1 -1
  25. package/dist/components/atoms/Icons/SvgIcons/Actions/Filter.svg.d.ts +1 -1
  26. package/dist/components/atoms/Icons/SvgIcons/Actions/FindAScreening.svg.d.ts +1 -1
  27. package/dist/components/atoms/Icons/SvgIcons/Actions/OnMyList.svg.d.ts +1 -1
  28. package/dist/components/atoms/Icons/SvgIcons/Actions/Reminder.svg.d.ts +1 -1
  29. package/dist/components/atoms/Icons/SvgIcons/Actions/Subscribe.svg.d.ts +1 -1
  30. package/dist/components/atoms/Icons/SvgIcons/Actions/Watch.svg.d.ts +1 -1
  31. package/dist/components/atoms/Icons/SvgIcons/Arrows/Arrow.svg.d.ts +1 -1
  32. package/dist/components/atoms/Icons/SvgIcons/Arrows/CarouselArrow.svg.d.ts +1 -1
  33. package/dist/components/atoms/Icons/SvgIcons/Arrows/DropdownArrow.svg.d.ts +1 -1
  34. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Cinema.svg.d.ts +1 -1
  35. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Clock.svg.d.ts +1 -1
  36. package/dist/components/atoms/Icons/SvgIcons/Descriptors/CreditCard.svg.d.ts +1 -1
  37. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Email.svg.d.ts +1 -1
  38. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Info.svg.d.ts +1 -1
  39. package/dist/components/atoms/Icons/SvgIcons/Descriptors/List.svg.d.ts +1 -1
  40. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Location.svg.d.ts +1 -1
  41. package/dist/components/atoms/Icons/SvgIcons/Descriptors/PDF.svg.d.ts +1 -1
  42. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Phone.svg.d.ts +1 -1
  43. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Print.svg.d.ts +1 -1
  44. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Seat.svg.d.ts +4 -0
  45. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Secure.svg.d.ts +1 -1
  46. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Standing.svg.d.ts +4 -0
  47. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Tickets.svg.d.ts +1 -1
  48. package/dist/components/atoms/Icons/SvgIcons/Descriptors/Wheelchair.svg.d.ts +4 -0
  49. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Facebook.svg.d.ts +1 -1
  50. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Instagram.svg.d.ts +1 -1
  51. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Tiktok.svg.d.ts +1 -1
  52. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Twitter.svg.d.ts +1 -1
  53. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/X.svg.d.ts +4 -0
  54. package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Youtube.svg.d.ts +1 -1
  55. package/dist/components/atoms/Icons/SvgIcons/Navigation/BalletAndDance.svg.d.ts +1 -1
  56. package/dist/components/atoms/Icons/SvgIcons/Navigation/Basket.svg.d.ts +1 -1
  57. package/dist/components/atoms/Icons/SvgIcons/Navigation/BasketFull.svg.d.ts +1 -1
  58. package/dist/components/atoms/Icons/SvgIcons/Navigation/Home.svg.d.ts +1 -1
  59. package/dist/components/atoms/Icons/SvgIcons/Navigation/LiveStream.svg.d.ts +1 -1
  60. package/dist/components/atoms/Icons/SvgIcons/Navigation/Menu.svg.d.ts +1 -1
  61. package/dist/components/atoms/Icons/SvgIcons/Navigation/OperaAndMusic.svg.d.ts +1 -1
  62. package/dist/components/atoms/Icons/SvgIcons/Navigation/Search.svg.d.ts +1 -1
  63. package/dist/components/atoms/Icons/SvgIcons/Navigation/Settings.svg.d.ts +1 -1
  64. package/dist/components/atoms/Icons/SvgIcons/Navigation/User.svg.d.ts +1 -1
  65. package/dist/components/atoms/Icons/SvgIcons/Navigation/UserSignedIn.svg.d.ts +1 -1
  66. package/dist/components/atoms/Icons/SvgIcons/Text/Delete.svg.d.ts +1 -1
  67. package/dist/components/atoms/Icons/SvgIcons/Text/Shift.svg.d.ts +1 -1
  68. package/dist/components/atoms/Icons/SvgIcons/Text/Space.svg.d.ts +1 -1
  69. package/dist/components/atoms/Icons/SvgIcons/Utility/Close.svg.d.ts +1 -1
  70. package/dist/components/atoms/Icons/SvgIcons/Utility/Confirm.svg.d.ts +1 -1
  71. package/dist/components/atoms/Icons/SvgIcons/Utility/Detract.svg.d.ts +1 -1
  72. package/dist/components/atoms/Icons/SvgIcons/Utility/Expand.svg.d.ts +1 -1
  73. package/dist/components/atoms/Icons/SvgIcons/Utility/ExternalLink.svg.d.ts +1 -1
  74. package/dist/components/atoms/Icons/SvgIcons/Utility/GridView.svg.d.ts +1 -1
  75. package/dist/components/atoms/Icons/SvgIcons/Utility/ListView.svg.d.ts +1 -1
  76. package/dist/components/atoms/Icons/SvgIcons/Utility/Refresh.svg.d.ts +1 -1
  77. package/dist/components/atoms/Icons/SvgIcons/Utility/Remove.svg.d.ts +4 -0
  78. package/dist/components/atoms/Icons/SvgIcons/Utility/Star.svg.d.ts +1 -1
  79. package/dist/components/atoms/Icons/SvgIcons/Video/AudioDescription.svg.d.ts +1 -1
  80. package/dist/components/atoms/Icons/SvgIcons/Video/Back10.svg.d.ts +1 -1
  81. package/dist/components/atoms/Icons/SvgIcons/Video/Clips.svg.d.ts +1 -1
  82. package/dist/components/atoms/Icons/SvgIcons/Video/Forward10.svg.d.ts +1 -1
  83. package/dist/components/atoms/Icons/SvgIcons/Video/FullScreen.svg.d.ts +1 -1
  84. package/dist/components/atoms/Icons/SvgIcons/Video/Minimise.svg.d.ts +1 -1
  85. package/dist/components/atoms/Icons/SvgIcons/Video/Muted.svg.d.ts +1 -1
  86. package/dist/components/atoms/Icons/SvgIcons/Video/Pause.svg.d.ts +1 -1
  87. package/dist/components/atoms/Icons/SvgIcons/Video/Play.svg.d.ts +1 -1
  88. package/dist/components/atoms/Icons/SvgIcons/Video/Restart.svg.d.ts +1 -1
  89. package/dist/components/atoms/Icons/SvgIcons/Video/Subtitles.svg.d.ts +1 -1
  90. package/dist/components/atoms/Icons/SvgIcons/Video/Trailer.svg.d.ts +1 -1
  91. package/dist/components/atoms/Icons/SvgIcons/Video/Volume.svg.d.ts +1 -1
  92. package/dist/components/atoms/Icons/SvgIcons/index.d.ts +76 -70
  93. package/dist/components/atoms/Logo/Logo.d.ts +1 -1
  94. package/dist/components/atoms/Progress/Progress.d.ts +1 -1
  95. package/dist/components/atoms/Progress/Progress.styles.d.ts +10 -3
  96. package/dist/components/atoms/Radio/Radio.d.ts +6 -0
  97. package/dist/components/atoms/Radio/Radio.style.d.ts +4 -0
  98. package/dist/components/atoms/Radio/index.d.ts +2 -0
  99. package/dist/components/atoms/Radio2/Radio2.d.ts +23 -0
  100. package/dist/components/atoms/Radio2/Radio2.style.d.ts +7 -0
  101. package/dist/components/atoms/Radio2/index.d.ts +2 -0
  102. package/dist/components/atoms/Sponsorship/Sponsorship.style.d.ts +2 -0
  103. package/dist/components/atoms/Stepper/Stepper.d.ts +58 -0
  104. package/dist/components/atoms/Stepper/Stepper.style.d.ts +6 -0
  105. package/dist/components/atoms/Stepper/index.d.ts +2 -0
  106. package/dist/components/atoms/TextArea/TextArea.d.ts +44 -0
  107. package/dist/components/atoms/TextArea/TextArea.style.d.ts +5 -0
  108. package/dist/components/atoms/TextArea/index.d.ts +2 -0
  109. package/dist/components/atoms/TextField/TextField.d.ts +42 -0
  110. package/dist/components/atoms/TextField/TextField.style.d.ts +9 -0
  111. package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +10 -0
  112. package/dist/components/atoms/TextField/TextFieldLegacy.style.d.ts +5 -0
  113. package/dist/components/atoms/TextField/index.d.ts +3 -0
  114. package/dist/components/atoms/TextLogo/TextLogo.d.ts +13 -0
  115. package/dist/components/atoms/TextLogo/index.d.ts +2 -0
  116. package/dist/components/atoms/TextLogo/styled.d.ts +12 -0
  117. package/dist/components/atoms/Tickbox/Tickbox.d.ts +3 -0
  118. package/dist/components/atoms/Tickbox/Tickbox.style.d.ts +5 -0
  119. package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +23 -0
  120. package/dist/components/atoms/Tickbox2/Tickbox2.style.d.ts +7 -0
  121. package/dist/components/atoms/Tickbox2/index.d.ts +2 -0
  122. package/dist/components/atoms/Timer/Timer.d.ts +4 -0
  123. package/dist/components/atoms/Timer/Timer.style.d.ts +9 -0
  124. package/dist/components/atoms/Timer/index.d.ts +2 -0
  125. package/dist/components/atoms/Typography/Typography.d.ts +2 -2
  126. package/dist/components/atoms/VideoControls/VideoControls.d.ts +4 -0
  127. package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +13 -0
  128. package/dist/components/atoms/VideoControls/index.d.ts +2 -0
  129. package/dist/components/atoms/index.d.ts +17 -7
  130. package/dist/components/index.d.ts +4 -4
  131. package/dist/components/molecules/Accordion/Accordion.style.d.ts +7 -2
  132. package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.d.ts +21 -0
  133. package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.styles.d.ts +9 -0
  134. package/dist/components/molecules/AuxiliaryNav/index.d.ts +2 -0
  135. package/dist/components/molecules/Basket/Basket.d.ts +3 -0
  136. package/dist/components/molecules/Basket/helpers.d.ts +3 -0
  137. package/dist/components/molecules/Basket/hooks.d.ts +8 -0
  138. package/dist/components/molecules/Card/Card.style.d.ts +17 -1
  139. package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +3 -0
  140. package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +17 -0
  141. package/dist/components/molecules/ContentSummary/ContentSummaryData.d.ts +25 -0
  142. package/dist/components/molecules/ContentSummary/index.d.ts +2 -0
  143. package/dist/components/molecules/Information/InfoCta.d.ts +2 -2
  144. package/dist/components/molecules/Information/Information.style.d.ts +6 -3
  145. package/dist/components/molecules/MiniCard/MiniCard.d.ts +4 -0
  146. package/dist/components/molecules/MiniCard/MiniCard.style.d.ts +6 -0
  147. package/dist/components/molecules/MiniCard/index.d.ts +2 -0
  148. package/dist/components/molecules/NavTop/NavTop.d.ts +1 -1
  149. package/dist/components/molecules/PageHeading/Compact/Compact.d.ts +4 -0
  150. package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +24 -0
  151. package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.d.ts +10 -0
  152. package/dist/components/molecules/PageHeading/Compact/index.d.ts +2 -0
  153. package/dist/components/molecules/PageHeading/Impact/Impact.d.ts +1 -1
  154. package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +1 -0
  155. package/dist/components/molecules/PageHeading/PageHeading.style.d.ts +6 -3
  156. package/dist/components/molecules/PageHeading/Panel/Panel.d.ts +4 -0
  157. package/dist/components/molecules/PageHeading/Panel/Panel.style.d.ts +9 -0
  158. package/dist/components/molecules/PageHeading/Panel/index.d.ts +2 -0
  159. package/dist/components/molecules/PageHeading/index.d.ts +3 -1
  160. package/dist/components/molecules/Pagination/Pagination.d.ts +9 -0
  161. package/dist/components/molecules/Pagination/Pagination.style.d.ts +8 -0
  162. package/dist/components/molecules/Pagination/index.d.ts +2 -0
  163. package/dist/components/molecules/PasswordStrength/PasswordStrength.d.ts +33 -0
  164. package/dist/components/molecules/PasswordStrength/PasswordStrength.styles.d.ts +13 -0
  165. package/dist/components/molecules/PasswordStrength/index.d.ts +2 -0
  166. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +5 -0
  167. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +8 -0
  168. package/dist/components/molecules/PeopleListing/CreditListing/index.d.ts +2 -0
  169. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +1 -0
  170. package/dist/components/molecules/PeopleListing/index.d.ts +2 -1
  171. package/dist/components/molecules/PromoWithTags/PromoWithTags.d.ts +1 -1
  172. package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +11 -4
  173. package/dist/components/molecules/PromoWithTitle/PromoChild.d.ts +9 -0
  174. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +6 -0
  175. package/dist/components/molecules/RadioGroup/RadioGroup.style.d.ts +1 -0
  176. package/dist/components/molecules/RadioGroup/index.d.ts +2 -0
  177. package/dist/components/molecules/RadioGroup2/RadioGroup2.d.ts +38 -0
  178. package/dist/components/molecules/RadioGroup2/RadioGroup2.style.d.ts +4 -0
  179. package/dist/components/molecules/RadioGroup2/index.d.ts +2 -0
  180. package/dist/components/molecules/ReadMore/ReadMore.d.ts +4 -0
  181. package/dist/components/molecules/ReadMore/ReadMore.style.d.ts +9 -0
  182. package/dist/components/molecules/ReadMore/index.d.ts +2 -0
  183. package/dist/components/molecules/SearchBar/SearchBar.style.d.ts +1 -0
  184. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +1 -1
  185. package/dist/components/molecules/Select/Select.d.ts +100 -0
  186. package/dist/components/molecules/Select/Select.style.d.ts +14 -0
  187. package/dist/components/molecules/Select/index.d.ts +2 -0
  188. package/dist/components/molecules/Select2/Select2.d.ts +24 -0
  189. package/dist/components/molecules/Select2/Select2.style.d.ts +5 -0
  190. package/dist/components/molecules/Select2/index.d.ts +2 -0
  191. package/dist/components/molecules/Select2Async/Select2Async.d.ts +18 -0
  192. package/dist/components/molecules/Select2Async/index.d.ts +2 -0
  193. package/dist/components/molecules/StatusBanner/StatusBanner.d.ts +4 -0
  194. package/dist/components/molecules/StatusBanner/StatusBanner.style.d.ts +3 -0
  195. package/dist/components/molecules/StatusBanner/index.d.ts +2 -0
  196. package/dist/components/molecules/Table/Table.d.ts +4 -0
  197. package/dist/components/molecules/Table/Table.style.d.ts +19 -0
  198. package/dist/components/molecules/Table/components/TableCell.d.ts +3 -0
  199. package/dist/components/molecules/Table/components/TableHelpers.d.ts +4 -0
  200. package/dist/components/molecules/Table/components/TableRow.d.ts +3 -0
  201. package/dist/components/molecules/Table/index.d.ts +2 -0
  202. package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -0
  203. package/dist/components/molecules/UpsellCard/UpsellCard.d.ts +4 -0
  204. package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +15 -0
  205. package/dist/components/molecules/UpsellCard/index.d.ts +2 -0
  206. package/dist/components/molecules/UpsellCards/UpsellCards.d.ts +4 -0
  207. package/dist/components/molecules/UpsellCards/UpsellCards.style.d.ts +1 -0
  208. package/dist/components/molecules/UpsellCards/index.d.ts +2 -0
  209. package/dist/components/molecules/VideoWithControls/VideoWithControls.d.ts +4 -0
  210. package/dist/components/molecules/VideoWithControls/VideoWithControls.style.d.ts +2 -0
  211. package/dist/components/molecules/VideoWithControls/index.d.ts +2 -0
  212. package/dist/components/molecules/index.d.ts +19 -3
  213. package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +4 -3
  214. package/dist/components/organisms/ModalWindow/ModalWindow.d.ts +68 -0
  215. package/dist/components/organisms/ModalWindow/ModalWindow.style.d.ts +4 -0
  216. package/dist/components/organisms/ModalWindow/index.d.ts +2 -0
  217. package/dist/components/organisms/Navigation/Navigation.style.d.ts +6 -2
  218. package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +5 -1
  219. package/dist/components/organisms/UpsellSection/UpsellSection.d.ts +4 -0
  220. package/dist/components/organisms/UpsellSection/UpsellSection.style.d.ts +3 -0
  221. package/dist/components/organisms/UpsellSection/index.d.ts +2 -0
  222. package/dist/components/organisms/index.d.ts +3 -3
  223. package/dist/helpers/arrays.d.ts +6 -0
  224. package/dist/helpers/aspectRatio.d.ts +2 -0
  225. package/dist/helpers/defaultValues.d.ts +7 -0
  226. package/dist/helpers/devices.d.ts +3 -0
  227. package/dist/helpers/formatStrings.d.ts +2 -0
  228. package/dist/helpers/generateDomElementId.d.ts +8 -0
  229. package/dist/helpers/htmlStrings.d.ts +5 -1
  230. package/dist/helpers/keyboards.d.ts +3 -0
  231. package/dist/helpers/urls.d.ts +2 -0
  232. package/dist/index.d.ts +9 -4
  233. package/dist/styles/themes.d.ts +1188 -104
  234. package/dist/styles/viewports.d.ts +3 -0
  235. package/dist/types/auxiliaryNav.d.ts +39 -0
  236. package/dist/types/buttonTypes.d.ts +18 -0
  237. package/dist/types/card.d.ts +44 -0
  238. package/dist/types/carousel.d.ts +22 -1
  239. package/dist/types/creditListing.d.ts +13 -0
  240. package/dist/types/editorial.d.ts +80 -56
  241. package/dist/types/formTypes.d.ts +328 -0
  242. package/dist/types/iconTypes.d.ts +6 -0
  243. package/dist/types/image.d.ts +3 -0
  244. package/dist/types/impactHeader.d.ts +135 -0
  245. package/dist/types/index.d.ts +7 -2
  246. package/dist/types/information.d.ts +17 -12
  247. package/dist/types/miniCard.d.ts +27 -0
  248. package/dist/types/modalWindow.d.ts +20 -0
  249. package/dist/types/navigation.d.ts +68 -4
  250. package/dist/types/passwordStrength.d.ts +51 -0
  251. package/dist/types/progress.d.ts +33 -0
  252. package/dist/types/promoWithTags.d.ts +81 -0
  253. package/dist/types/tableTypes.d.ts +47 -0
  254. package/dist/types/tickbox.d.ts +35 -0
  255. package/dist/types/timer.d.ts +37 -0
  256. package/dist/types/types.d.ts +168 -10
  257. package/dist/types/typography.d.ts +18 -2
  258. package/dist/types/upsell.d.ts +78 -0
  259. package/dist/types/utility.d.ts +4 -0
  260. package/package.json +15 -4
  261. package/README.GIT +0 -122
  262. package/dist/components/atoms/Basket/Basket.d.ts +0 -3
  263. package/dist/components/organisms/Carousel/Carousel.d.ts +0 -5
  264. package/dist/components/organisms/Carousel/Carousel.style.d.ts +0 -6
  265. package/dist/components/organisms/Carousel/index.d.ts +0 -2
  266. package/dist/components/organisms/HighlightsCarousel/HighlightsCarousel.d.ts +0 -5
  267. package/dist/components/organisms/HighlightsCarousel/HighlightsCarousel.style.d.ts +0 -12
  268. package/dist/components/organisms/HighlightsCarousel/HighlightsCinema.d.ts +0 -4
  269. package/dist/components/organisms/HighlightsCarousel/HighlightsCore.d.ts +0 -4
  270. package/dist/components/organisms/HighlightsCarousel/HighlightsStream.d.ts +0 -4
  271. package/dist/components/organisms/HighlightsCarousel/index.d.ts +0 -5
  272. /package/dist/components/{atoms → molecules}/Basket/Basket.style.d.ts +0 -0
  273. /package/dist/components/{atoms → molecules}/Basket/index.d.ts +0 -0
@@ -1,8 +1,7 @@
1
- import { IEditorialGridProps, IPromoWithTagsStyledProps } from '../../../types/editorial';
1
+ /// <reference types="react" />
2
+ import { IEditorialGridProps } from '../../../types/editorial';
3
+ import { IPromoWithTagsStyledProps } from '../../../types/promoWithTags';
2
4
  export declare const PromoWithTagsGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
3
- export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
4
- export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
5
- export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
5
  export declare const PromoWithTagsSubtitle: import("styled-components").StyledComponent<"span", any, {}, never>;
7
6
  export declare const PromoWithTagsText: import("styled-components").StyledComponent<"div", any, {}, never>;
8
7
  export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
@@ -14,3 +13,11 @@ export declare const ExtraContentWrapper: import("styled-components").StyledComp
14
13
  export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
15
14
  export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
16
15
  export declare const MobileTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
16
+ export declare const PromoWithTagsTypeTags: import("styled-components").StyledComponent<({ list }: import("../../../types/types").ITypeTagsProps) => JSX.Element, any, {}, never>;
17
+ export declare const PromoWithTagsHeader: import("styled-components").StyledComponent<({ semanticLevel, level, children }: import("../../../types/typography").IHeaderProps) => JSX.Element, any, {}, never>;
18
+ export declare const PromoWithTagsTextLink: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/types").ITextLinkProps>, any, {}, never>;
19
+ export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
20
+ export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
21
+ export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
22
+ export declare const TimerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
23
+ export declare const EndDateText: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,9 @@
1
+ import { FunctionComponent, ReactElement } from 'react';
2
+ import { IVideoWithControlsSettings } from '../../../types/types';
3
+ interface IPromoChildProps {
4
+ children: ReactElement<HTMLImageElement | HTMLVideoElement>;
5
+ videoSettings: IVideoWithControlsSettings;
6
+ imageToLeft: boolean;
7
+ }
8
+ declare const PromoChild: FunctionComponent<IPromoChildProps>;
9
+ export default PromoChild;
@@ -0,0 +1,6 @@
1
+ import { IRadioGroupProps } from '../../../types/formTypes';
2
+ /**
3
+ * DEPRECATED. Use RadioGroup2 instead
4
+ */
5
+ declare const RadioGroup: ({ radios, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, columnStartSmallDevice, columnSpanSmallDevice, onChange, }: IRadioGroupProps) => JSX.Element;
6
+ export default RadioGroup;
@@ -0,0 +1 @@
1
+ export declare const RadioGroupContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import RadioGroup from './RadioGroup';
2
+ export default RadioGroup;
@@ -0,0 +1,38 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IRadioGroup2Props } from '../../../types/formTypes';
3
+ /**
4
+ * A RadioGroup component, that renders set of Radio2 components inside.
5
+ * `name` prop should be specified and will be passed as a `name` to each
6
+ * radio to combine them in one group.
7
+ *
8
+ * # Radios
9
+ * `radios` prop is an array of radios that should be renderet. This is an
10
+ * array of objects `{content: ReactNode, value: string | number}`.
11
+ *
12
+ * # Default value
13
+ * `defaultValue` prop can be specified to make one of radios checked inittially.
14
+ * This should be equal to `value` of one of `radios`.
15
+ *
16
+ * # Error state
17
+ * An error label will be shown below the radios if the `error` prop exists.
18
+ * Also radios will be rendered with a red border. An empty string can be passed to
19
+ * render only error state without error message.
20
+ *
21
+ * # Horizontal mode
22
+ * If `horizontalMode` prop is true radios will be placed in a row instead of column.
23
+ *
24
+ * # Distance between radios
25
+ * `gap` prop allow to control distance between radios in pixels. This works in default and
26
+ * horizontal modes.
27
+ *
28
+ * # Light / Dark mode
29
+ * The component can also adapt its styles for light / dark mode. If you want this component
30
+ * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
31
+ *
32
+ * # Black box mode
33
+ * If `blackBox` prop is true checked state will be styled as black box with white tick icon.
34
+ * This style was used before as a default. Not preferred in new components.
35
+ * This will be ignored if `darkMode` is true.
36
+ */
37
+ declare const RadioGroup2: FunctionComponent<IRadioGroup2Props>;
38
+ export default RadioGroup2;
@@ -0,0 +1,4 @@
1
+ import { IRadioGroup2Props } from '../../../types/formTypes';
2
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const RadioGroup: import("styled-components").StyledComponent<"div", any, Pick<IRadioGroup2Props, "horizontalMode" | "gap">, never>;
4
+ export declare const ErrorLabel: import("styled-components").StyledComponent<"div", any, Pick<IRadioGroup2Props, "darkMode">, never>;
@@ -0,0 +1,2 @@
1
+ import RadioGroup2 from './RadioGroup2';
2
+ export default RadioGroup2;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IReadMoreProps } from '../../../types/types';
3
+ declare const ReadMore: FunctionComponent<IReadMoreProps>;
4
+ export default ReadMore;
@@ -0,0 +1,9 @@
1
+ export declare const ReadMoreContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const LinkContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const FullTextContainer: import("styled-components").StyledComponent<"div", any, {
4
+ isVisible?: boolean | undefined;
5
+ }, never>;
6
+ export declare const IntroTextContainer: import("styled-components").StyledComponent<"div", any, {
7
+ isVisible?: boolean | undefined;
8
+ }, never>;
9
+ export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import ReadMore from './ReadMore';
2
+ export default ReadMore;
@@ -1,6 +1,7 @@
1
1
  export declare const SearchBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const SvgContainerSearch: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const SvgContainerClose: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const SearchUnavailableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
5
  export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
6
  export declare const SearchLinkContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
6
7
  export declare const SearchArrowContainer: import("styled-components").StyledComponent<"a", any, {}, never>;
@@ -1,3 +1,3 @@
1
1
  import { ISectionTitleProps } from '../../../types/types';
2
- declare const SectionTitle: ({ title, size, description }: ISectionTitleProps) => JSX.Element;
2
+ declare const SectionTitle: ({ title, size, description, semanticLevel }: ISectionTitleProps) => JSX.Element;
3
3
  export default SectionTitle;
@@ -0,0 +1,100 @@
1
+ import { ISelectProps } from '../../../types/formTypes';
2
+ /**
3
+ * DEPRECATED. Use Select2 instead.
4
+ * A select component, created using <ul> and <li> elements, with bespoke accessibility
5
+ * logic.
6
+ *
7
+ * # Usage
8
+ * ## Defining a component that uses a typical Select element
9
+ * ```tsx
10
+ * const MyComponent = () => {
11
+ * const handleSelect = (value: number, text: string) => {
12
+ * console.log("Selected", value);
13
+ * };
14
+ *
15
+ * return <>
16
+ * <Select
17
+ * label="This is a label"
18
+ * options={[
19
+ * { text: "Option 1", value: 1 },
20
+ * { text: "Option 2", value: 2 },
21
+ * ]}
22
+ * onSelect={handleSelect}
23
+ * />
24
+ * </>
25
+ * }
26
+ * ```
27
+ *
28
+ * ## Defining a component that uses a disabled Select element
29
+ * ```tsx
30
+ * const MyComponent = () => {
31
+ * const handleSelect = (value: number, text: string) => {
32
+ * console.log("Selected", value);
33
+ * };
34
+ *
35
+ * return <>
36
+ * <Select
37
+ * disabled // Select component disabled explicitely
38
+ * label="This is a label"
39
+ * options={[
40
+ * { text: "Option 1", value: 1 },
41
+ * { text: "Option 2", value: 2 },
42
+ * ]}
43
+ * onSelect={handleSelect}
44
+ * />
45
+ * <Select
46
+ * label="This is a label"
47
+ * options={[]} // Select component disabled implicitely by passing an empty array of options
48
+ * onSelect={handleSelect}
49
+ * />
50
+ * </>
51
+ * }
52
+ * ```
53
+ *
54
+ * ## Defining a component with a non-labelled Select element
55
+ * ```tsx
56
+ * const MyComponent = () => {
57
+ * const handleSelect = (value: number, text: string) => {
58
+ * console.log("Selected", value);
59
+ * };
60
+ *
61
+ * return <>
62
+ * <Select
63
+ * label=""
64
+ * options={[
65
+ * { text: "Option 1", value: 1 },
66
+ * { text: "Option 2", value: 2 },
67
+ * ]}
68
+ * onSelect={handleSelect}
69
+ * />
70
+ * </>
71
+ * }
72
+ * ```
73
+ *
74
+ * ## Changing the dimensions of a Select element (px)
75
+ * ```tsx
76
+ * const MyComponent = () => {
77
+ * const handleSelect = (value: number, text: string) => {
78
+ * console.log("Selected", value);
79
+ * };
80
+ *
81
+ * const selectWidthPx = 100;
82
+ * const selectHeightPx = 27;
83
+ *
84
+ * return <>
85
+ * <Select
86
+ * label="This is a label"
87
+ * options={[
88
+ * { text: "Option 1", value: 1 },
89
+ * { text: "Option 2", value: 2 },
90
+ * ]}
91
+ * onSelect={handleSelect}
92
+ * width={selectWidthPx}
93
+ * height={selectHeightPx}
94
+ * />
95
+ * </>
96
+ * }
97
+ * ```
98
+ */
99
+ declare function Select<T>({ label, options, onSelect, disabled, resetWhenOptionsUpdate, width, height, }: ISelectProps<T>): JSX.Element;
100
+ export default Select;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import { ISelectProps } from '../../../types/formTypes';
3
+ export declare const ArrowIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ className, color, iconName, title, direction, ariaLabel }: import("../../../types/iconTypes").IIconProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>>, any, {
4
+ iconName: "DropdownArrow";
5
+ color: string;
6
+ title: "Select Arrow";
7
+ }, "title" | "color" | "iconName">;
8
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const SelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const Options: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const Option: import("styled-components").StyledComponent<"li", any, {
12
+ hover: boolean;
13
+ }, never>;
14
+ export declare const SelectList: import("styled-components").StyledComponent<"ul", any, Pick<Required<ISelectProps<unknown>>, "height" | "width">, never>;
@@ -0,0 +1,2 @@
1
+ import Select from './Select';
2
+ export default Select;
@@ -0,0 +1,24 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ import { DropdownIndicatorProps } from 'react-select';
3
+ import { ISelect2Props } from '../../../types/formTypes';
4
+ export declare const DropdownIndicator: (props: DropdownIndicatorProps) => JSX.Element;
5
+ interface IWrapperProps extends Pick<ISelect2Props, 'label' | 'error' | 'width' | 'darkMode'> {
6
+ children: React.ReactNode;
7
+ }
8
+ export declare const WrapperComponent: FunctionComponent<IWrapperProps>;
9
+ /**
10
+ * A Select2 component wraps react-select with Chord styling and additional elements like
11
+ * text and error labels. This should be used just as usual react-select component.
12
+ * Note: using some advanced opportunities of react-select may require additional styling.
13
+ *
14
+ * # Error state
15
+ * An error label will be shown below the select if the `error` prop exists.
16
+ * Also select will be rendered with a red border. An empty string can be passed to
17
+ * render only error state without error message.
18
+ *
19
+ * # Light / Dark mode
20
+ * The component can also adapt its styles for light / dark mode. If you want this component
21
+ * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
22
+ */
23
+ declare const SelectComponent: FunctionComponent<ISelect2Props>;
24
+ export default SelectComponent;
@@ -0,0 +1,5 @@
1
+ import { ISelect2Props } from '../../../types/formTypes';
2
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const SelectWrapper: import("styled-components").StyledComponent<"div", any, Pick<ISelect2Props, "width" | "darkMode" | "error">, never>;
4
+ export declare const TextLabel: import("styled-components").StyledComponent<"div", any, Pick<ISelect2Props, "darkMode">, never>;
5
+ export declare const ErrorLabel: import("styled-components").StyledComponent<"div", any, Pick<ISelect2Props, "darkMode">, never>;
@@ -0,0 +1,2 @@
1
+ import Select2 from './Select2';
2
+ export default Select2;
@@ -0,0 +1,18 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { ISelect2AsyncProps } from '../../../types/formTypes';
3
+ /**
4
+ * The Select2Async component is similar to Select 2, but uses react-select async
5
+ * component for select instead of regular react-select component. This can be used
6
+ * for selects with dynamically loaded options, live search components etc.
7
+ *
8
+ * # Error state
9
+ * An error label will be shown below the select if the `error` prop exists.
10
+ * Also select will be rendered with a red border. An empty string can be passed to
11
+ * render only error state without error message.
12
+ *
13
+ * # Light / Dark mode
14
+ * The component can also adapt its styles for light / dark mode. If you want this component
15
+ * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
16
+ */
17
+ declare const SelectComponent: FunctionComponent<ISelect2AsyncProps>;
18
+ export default SelectComponent;
@@ -0,0 +1,2 @@
1
+ import Select2Async from './Select2Async';
2
+ export default Select2Async;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IStatusBannerProps } from '../../../types/types';
3
+ declare const StatusBanner: FunctionComponent<IStatusBannerProps>;
4
+ export default StatusBanner;
@@ -0,0 +1,3 @@
1
+ export declare const StatusBannerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const SvgContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import StatusBanner from './StatusBanner';
2
+ export default StatusBanner;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { ITableProps } from '../../../types/tableTypes';
3
+ declare const Table: FunctionComponent<ITableProps>;
4
+ export default Table;
@@ -0,0 +1,19 @@
1
+ import { Colors } from '../../../types/types';
2
+ export declare const TableContainer: import("styled-components").StyledComponent<"table", any, {}, never>;
3
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const TableHeader: import("styled-components").StyledComponent<"th", any, {
6
+ columns: number;
7
+ lineColor: Colors;
8
+ }, never>;
9
+ export declare const TableCell: import("styled-components").StyledComponent<"td", any, {
10
+ columns: number;
11
+ lineColor: Colors;
12
+ }, never>;
13
+ export declare const Pagination: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const PageNumber: import("styled-components").StyledComponent<"button", any, {
15
+ active?: string | undefined;
16
+ }, never>;
17
+ export declare const Next: import("styled-components").StyledComponent<"span", any, {}, never>;
18
+ export declare const ScrollButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
19
+ export declare const AriaDescription: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { CellProps } from '../../../../types/tableTypes';
3
+ export declare const Cell: FunctionComponent<CellProps>;
@@ -0,0 +1,4 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ import { ContentProps } from '../../../../types/tableTypes';
3
+ export declare const Content: FunctionComponent<ContentProps>;
4
+ export declare const scrollTable: (tableRef: React.RefObject<HTMLTableElement>, direction: 'left' | 'right') => void;
@@ -0,0 +1,3 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { RowProps } from '../../../../types/tableTypes';
3
+ export declare const Row: FunctionComponent<RowProps>;
@@ -0,0 +1,2 @@
1
+ import Table from './Table';
2
+ export default Table;
@@ -0,0 +1,2 @@
1
+ import { IOfferTextProps } from '../../../types/upsell';
2
+ export declare const OfferText: ({ title, description }: IOfferTextProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IUpsellCardProps } from '../../../types/upsell';
3
+ declare const UpsellCard: FunctionComponent<IUpsellCardProps>;
4
+ export default UpsellCard;
@@ -0,0 +1,15 @@
1
+ import { Colors } from '../../../types';
2
+ declare type withColor = {
3
+ theme: {
4
+ color: Colors;
5
+ };
6
+ };
7
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const PromoLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const PromoLabel: import("styled-components").StyledComponent<"div", any, withColor, never>;
10
+ export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
+ export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const OfferTextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const PriceRow: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const LineThrough: import("styled-components").StyledComponent<"div", any, {}, never>;
15
+ export {};
@@ -0,0 +1,2 @@
1
+ import UpsellCard from './UpsellCard';
2
+ export default UpsellCard;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IUpsellCardsProps } from '../../../types/upsell';
3
+ declare const UpsellCards: FunctionComponent<IUpsellCardsProps>;
4
+ export default UpsellCards;
@@ -0,0 +1 @@
1
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import UpsellCards from './UpsellCards';
2
+ export default UpsellCards;
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IVideoWithControlsProps } from '../../../types/types';
3
+ declare const VideoWithControls: FunctionComponent<IVideoWithControlsProps>;
4
+ export default VideoWithControls;
@@ -0,0 +1,2 @@
1
+ import { IImageAspectRatioWrapperProps as IVideoContainerProps } from '../../../types/image';
2
+ export declare const VideoContainer: import("styled-components").StyledComponent<"div", any, IVideoContainerProps, never>;
@@ -0,0 +1,2 @@
1
+ import VideoWithControls from './VideoWithControls';
2
+ export default VideoWithControls;
@@ -4,15 +4,31 @@ import AnnouncementBanner from './AnnouncementBanner';
4
4
  import Card from './Card';
5
5
  import Cards from './Cards';
6
6
  import ContactCard from './ContactCard';
7
+ import ContentSummary from './ContentSummary';
7
8
  import Editorial from './Editorial';
8
9
  import Information from './Information';
9
- import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream } from './PageHeading';
10
- import PeopleListing from './PeopleListing';
10
+ import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingCompact } from './PageHeading';
11
+ import Pagination from './Pagination';
12
+ import { PeopleListing, CreditListing } from './PeopleListing';
11
13
  import PromoWithTags from './PromoWithTags';
12
14
  import PromoWithTitle from './PromoWithTitle';
15
+ import RadioGroup from './RadioGroup';
16
+ import RadioGroup2 from './RadioGroup2';
17
+ import StatusBanner from './StatusBanner';
18
+ import SearchBar from './SearchBar';
13
19
  import SectionTitle from './SectionTitle';
20
+ import Select from './Select';
21
+ import Select2 from './Select2';
22
+ import Select2Async from './Select2Async';
14
23
  import Tabs from './Tabs';
15
24
  import TextOnly from './TextOnly';
25
+ import UpsellCard from './UpsellCard';
16
26
  import ImageWithCaption from './ImageWithCaption';
17
27
  import Quote from './Quote';
18
- export { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTags, PromoWithTitle, SectionTitle, Tabs, TextOnly, Quote, };
28
+ import MiniCard from './MiniCard';
29
+ import ReadMore from './ReadMore';
30
+ import PasswordStrength from './PasswordStrength';
31
+ import AuxiliaryNav from './AuxiliaryNav';
32
+ import Table from './Table';
33
+ import VideoWithControls from './VideoWithControls';
34
+ export { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, Quote, StatusBanner, SectionTitle, SearchBar, Select, Select2, Select2Async, Tabs, Table, TextOnly, UpsellCard, VideoWithControls, };
@@ -1,7 +1,8 @@
1
- import { IAnchorTabsListProps } from '../../../types/navigation';
2
- export declare const AnchorTapbarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { IAnchorTabArrowsBoxProps, IAnchorTabsListProps, IAnchorTabBarBorderProps } from '../../../types/navigation';
2
+ export declare const LIST_ITEM_GAP = 32;
3
+ export declare const AnchorTabbarWrapper: import("styled-components").StyledComponent<"div", any, IAnchorTabBarBorderProps, never>;
3
4
  export declare const TabsGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
4
5
  export declare const TabsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
6
  export declare const TabsList: import("styled-components").StyledComponent<"ul", any, IAnchorTabsListProps, never>;
6
- export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any, IAnchorTabArrowsBoxProps, never>;
7
8
  export declare const ArrowWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,68 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { ModalWindowProps } from '../../../types';
3
+ /**
4
+ * A ModalWindow component, leveraging React Modal for rendering modals with enhanced accessibility
5
+ * and styling customization. This component is designed to be flexible for various use cases, with
6
+ * support for mobile responsiveness, custom z-indexes, and a close button.
7
+ *
8
+ * # Usage
9
+ * This component is intended to be used in React applications where modal functionality is required.
10
+ * It supports a range of props for customization, including isOpen, setIsOpen, children, appElementId,
11
+ * and accepts all additional props supported by React Modal for further configuration.
12
+ *
13
+ * ## Basic Example
14
+ * ```tsx
15
+ * import React, { useState } from 'react';
16
+ * import ModalWindow from './ModalWindow';
17
+ *
18
+ * const App = () => {
19
+ * const [isOpen, setIsOpen] = useState(false);
20
+ *
21
+ * const toggleModal = () => setIsOpen(!isOpen);
22
+ *
23
+ * return (
24
+ * <>
25
+ * <button onClick={toggleModal}>Open Modal</button>
26
+ * <ModalWindow
27
+ * isOpen={isOpen}
28
+ * setIsOpen={setIsOpen}
29
+ * appElementId="root"
30
+ * >
31
+ * <div>Modal Content Here</div>
32
+ * </ModalWindow>
33
+ * </>
34
+ * );
35
+ * }
36
+ * ```
37
+ *
38
+ * ## Advanced Usage
39
+ * You can further customize the modal by directly passing props supported by React Modal.
40
+ * This component adapts its z-index based on the device type (mobile or desktop) and allows for an
41
+ * accessible close functionality.
42
+ *
43
+ * ```tsx
44
+ * <ModalWindow
45
+ * isOpen={isOpen}
46
+ * setIsOpen={setIsOpen}
47
+ * appElementId="root"
48
+ * shouldCloseOnOverlayClick={true}
49
+ * >
50
+ * <YourCustomComponent />
51
+ * </ModalWindow>
52
+ * ```
53
+ *
54
+ * # Props
55
+ * - `isOpen`: Boolean indicating if the modal is open.
56
+ * - `setIsOpen`: Function to set the open state of the modal.
57
+ * - `children`: Content to be displayed within the modal.
58
+ * - `appElementId`: ID of the app element to assist with accessibility.
59
+ * - All other props are passed directly to the underlying React Modal component, allowing for extensive customization.
60
+ *
61
+ * # Design and Accessibility
62
+ * This component automatically applies a `ScrollLock` when the modal is open to prevent background
63
+ * scrolling and sets appropriate z-index values to ensure the modal is layered correctly on the page.
64
+ * It also configures the modal for accessibility, including support for closing on ESC and setting
65
+ * `aria-modal` to true.
66
+ */
67
+ declare const ModalWindow: FunctionComponent<ModalWindowProps>;
68
+ export default ModalWindow;
@@ -0,0 +1,4 @@
1
+ export declare const InnerModal: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const CloseButton: import("styled-components").StyledComponent<"button", any, {}, never>;
3
+ export declare const ContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const Overlay: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import ModalWindow from './ModalWindow';
2
+ export default ModalWindow;
@@ -2,8 +2,12 @@ import { INavigationWrapperProps } from '../../../types/navigation';
2
2
  export declare const NavigationWrapper: import("styled-components").StyledComponent<"div", any, INavigationWrapperProps, never>;
3
3
  export declare const FullScreenContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const NavigationGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- export declare const SearchBackground: import("styled-components").StyledComponent<"div", any, {}, never>;
6
- export declare const GridItemSearch: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
5
+ export declare const SearchBackground: import("styled-components").StyledComponent<"div", any, {
6
+ visible?: boolean | undefined;
7
+ }, never>;
8
+ export declare const GridItemSearch: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps & {
9
+ visible?: boolean | undefined;
10
+ }, never>;
7
11
  export declare const NavigationGridMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
8
12
  export declare const LogoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
9
13
  export declare const MenuContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,2 +1,6 @@
1
+ interface IStickyBarGridProps {
2
+ hideBottomBorder: boolean;
3
+ }
1
4
  export declare const StickyBarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any, IStickyBarGridProps, never>;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { IUpsellSectionProps } from '../../../types/upsell';
3
+ declare const UpsellSection: FunctionComponent<IUpsellSectionProps>;
4
+ export default UpsellSection;
@@ -0,0 +1,3 @@
1
+ export declare const UpsellBorderBox: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const TextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,2 @@
1
+ import UpsellSection from './UpsellSection';
2
+ export default UpsellSection;