@royaloperahouse/harmonic 0.19.2-a → 0.19.2-c
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.
- package/CHANGELOG.md +9 -0
- package/package.json +1 -1
- package/dist/components/Typography/Typography.d.ts +0 -281
- package/dist/components/Typography/index.d.ts +0 -2
- package/dist/components/Typography/utils.d.ts +0 -10
- package/dist/components/atoms/Account/Account.d.ts +0 -4
- package/dist/components/atoms/Account/index.d.ts +0 -2
- package/dist/components/atoms/Badge/Badge.style.d.ts +0 -2
- package/dist/components/atoms/Badge/CinemaBadge.d.ts +0 -4
- package/dist/components/atoms/Badge/StreamBadge.d.ts +0 -4
- package/dist/components/atoms/Badge/index.d.ts +0 -3
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.d.ts +0 -4
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +0 -11
- package/dist/components/atoms/Buttons/Auxiliary/utils.d.ts +0 -3
- package/dist/components/atoms/Buttons/Button.d.ts +0 -11
- package/dist/components/atoms/Buttons/Button.style.d.ts +0 -3
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +0 -18
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +0 -11
- package/dist/components/atoms/Buttons/Primary/utils.d.ts +0 -13
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.d.ts +0 -4
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +0 -11
- package/dist/components/atoms/Buttons/Secondary/utils.d.ts +0 -14
- package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.d.ts +0 -4
- package/dist/components/atoms/Buttons/Tertiary/TertiaryButton.style.d.ts +0 -3
- package/dist/components/atoms/Buttons/Tertiary/utils.d.ts +0 -8
- package/dist/components/atoms/Buttons/index.d.ts +0 -4
- package/dist/components/atoms/Buttons/utils.d.ts +0 -5
- package/dist/components/atoms/ControlledDropdown/ControlledDropdown.d.ts +0 -4
- package/dist/components/atoms/ControlledDropdown/ControlledDropdown.style.d.ts +0 -7
- package/dist/components/atoms/ControlledDropdown/index.d.ts +0 -2
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +0 -4
- package/dist/components/atoms/Dropdown/Dropdown.style.d.ts +0 -4
- package/dist/components/atoms/Dropdown/index.d.ts +0 -2
- package/dist/components/atoms/Grid/Grid.d.ts +0 -2
- package/dist/components/atoms/Grid/GridItem.d.ts +0 -3
- package/dist/components/atoms/Grid/index.d.ts +0 -3
- package/dist/components/atoms/Icons/Icons.d.ts +0 -4
- package/dist/components/atoms/Icons/Icons.style.d.ts +0 -9
- package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +0 -12
- package/dist/components/atoms/Icons/StorybookSupport/IconsDiv.style.d.ts +0 -2
- package/dist/components/atoms/Icons/SvgIcons/12px/Detract.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/12px/Expand.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/12px/Remove.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/12px/Tick.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/AudioDescription.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/BritishSignLanguage.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/Captioned.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/ClosedCaptions.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/FamilyFriendly.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/OpenCaptions.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/RelaxedPerformance.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Access/TouchTour.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/AddToMyList.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/BookTickets.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/ChooseDates.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/EditMyList.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/Favourite.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/FavouriteFull.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/Filter.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/FindAScreening.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/OnMyList.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/Reminder.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/Subscribe.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Actions/Watch.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Arrows/Arrow.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Arrows/ArrowPagination.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Arrows/CarouselArrow.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Arrows/DropdownArrow.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Arrows/LastPageArrow.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Cinema.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Clock.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/CreditCard.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Email.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Info.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/List.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Location.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/PDF.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Phone.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Print.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Seat.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Secure.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Standing.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Tickets.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Descriptors/Wheelchair.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Facebook.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Instagram.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Tiktok.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Twitter.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/X.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/Youtube.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/BalletAndDance.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/Basket.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/BasketFull.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/Home.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/LiveStream.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/Menu.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/OperaAndMusic.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/Search.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/Settings.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/User.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Navigation/UserSignedIn.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/RBO/NavLogoMobile.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/RBO/NavLogoNoCrest.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/RBO/NavLogoWithCrest.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Text/Delete.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Text/Shift.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Text/Space.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Close.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Confirm.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Detract.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Expand.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/ExternalLink.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/GridView.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/ListView.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Refresh.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Remove.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Utility/Star.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Back10.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Clips.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Forward10.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/FullScreen.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Minimise.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Muted.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Pause.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Play.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Restart.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Subtitles.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Trailer.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/Video/Volume.svg.d.ts +0 -4
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +0 -90
- package/dist/components/atoms/Icons/index.d.ts +0 -2
- package/dist/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.d.ts +0 -4
- package/dist/components/atoms/ImageAspectRatioWrapper/ImageAspectRatioWrapper.style.d.ts +0 -3
- package/dist/components/atoms/ImageAspectRatioWrapper/index.d.ts +0 -2
- package/dist/components/atoms/Logo/Logo.d.ts +0 -4
- package/dist/components/atoms/Logo/Logo.style.d.ts +0 -1
- package/dist/components/atoms/Logo/index.d.ts +0 -2
- package/dist/components/atoms/Person/Person.d.ts +0 -7
- package/dist/components/atoms/Person/Person.style.d.ts +0 -2
- package/dist/components/atoms/Person/index.d.ts +0 -2
- package/dist/components/atoms/Progress/Progress.d.ts +0 -4
- package/dist/components/atoms/Progress/Progress.styles.d.ts +0 -11
- package/dist/components/atoms/Progress/index.d.ts +0 -2
- package/dist/components/atoms/Radio/Radio.d.ts +0 -7
- package/dist/components/atoms/Radio/Radio.style.d.ts +0 -4
- package/dist/components/atoms/Radio/index.d.ts +0 -2
- package/dist/components/atoms/Radio2/Radio2.d.ts +0 -4
- package/dist/components/atoms/Radio2/Radio2.style.d.ts +0 -7
- package/dist/components/atoms/Radio2/index.d.ts +0 -2
- package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +0 -4
- package/dist/components/atoms/RotatorButtons/RotatorButtons.style.d.ts +0 -9
- package/dist/components/atoms/RotatorButtons/index.d.ts +0 -2
- package/dist/components/atoms/Search/Search.d.ts +0 -4
- package/dist/components/atoms/Search/Search.style.d.ts +0 -3
- package/dist/components/atoms/Search/index.d.ts +0 -2
- package/dist/components/atoms/SecondaryLogo/SecodaryLogo.style.d.ts +0 -2
- package/dist/components/atoms/SecondaryLogo/SecondaryLogo.d.ts +0 -4
- package/dist/components/atoms/SecondaryLogo/index.d.ts +0 -2
- package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +0 -4
- package/dist/components/atoms/SectionSplitter/SectionSplitter.style.d.ts +0 -2
- package/dist/components/atoms/SectionSplitter/index.d.ts +0 -2
- package/dist/components/atoms/SocialLinks/SocialLinks.d.ts +0 -4
- package/dist/components/atoms/SocialLinks/SocialLinks.style.d.ts +0 -2
- package/dist/components/atoms/SocialLinks/index.d.ts +0 -2
- package/dist/components/atoms/SponsorLogo/SponsorLogo.d.ts +0 -4
- package/dist/components/atoms/SponsorLogo/SponsorLogo.style.d.ts +0 -1
- package/dist/components/atoms/SponsorLogo/index.d.ts +0 -2
- package/dist/components/atoms/Sponsorship/Sponsorship.d.ts +0 -4
- package/dist/components/atoms/Sponsorship/Sponsorship.style.d.ts +0 -4
- package/dist/components/atoms/Sponsorship/constants.d.ts +0 -3
- package/dist/components/atoms/Sponsorship/index.d.ts +0 -2
- package/dist/components/atoms/Stepper/Stepper.d.ts +0 -58
- package/dist/components/atoms/Stepper/Stepper.style.d.ts +0 -6
- package/dist/components/atoms/Stepper/index.d.ts +0 -2
- package/dist/components/atoms/Tab/Tab.d.ts +0 -4
- package/dist/components/atoms/Tab/Tab.style.d.ts +0 -3
- package/dist/components/atoms/Tab/index.d.ts +0 -2
- package/dist/components/atoms/TabLink/TabLink.d.ts +0 -4
- package/dist/components/atoms/TabLink/TabLink.style.d.ts +0 -3
- package/dist/components/atoms/TabLink/index.d.ts +0 -1
- package/dist/components/atoms/TextArea/TextArea.d.ts +0 -45
- package/dist/components/atoms/TextArea/TextArea.style.d.ts +0 -5
- package/dist/components/atoms/TextArea/index.d.ts +0 -2
- package/dist/components/atoms/TextField/TextField.d.ts +0 -4
- package/dist/components/atoms/TextField/TextField.style.d.ts +0 -10
- package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +0 -11
- package/dist/components/atoms/TextField/TextFieldLegacy.style.d.ts +0 -5
- package/dist/components/atoms/TextField/index.d.ts +0 -3
- package/dist/components/atoms/TextLink/TextLink.d.ts +0 -4
- package/dist/components/atoms/TextLink/TextLink.style.d.ts +0 -3
- package/dist/components/atoms/TextLink/index.d.ts +0 -2
- package/dist/components/atoms/TextLogo/TextLogo.d.ts +0 -13
- package/dist/components/atoms/TextLogo/index.d.ts +0 -2
- package/dist/components/atoms/TextLogo/styled.d.ts +0 -12
- package/dist/components/atoms/Tickbox/Tickbox.d.ts +0 -7
- package/dist/components/atoms/Tickbox/Tickbox.style.d.ts +0 -9
- package/dist/components/atoms/Tickbox/index.d.ts +0 -2
- package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +0 -4
- package/dist/components/atoms/Tickbox2/Tickbox2.style.d.ts +0 -7
- package/dist/components/atoms/Tickbox2/index.d.ts +0 -2
- package/dist/components/atoms/Timer/Timer.d.ts +0 -4
- package/dist/components/atoms/Timer/Timer.style.d.ts +0 -9
- package/dist/components/atoms/Timer/index.d.ts +0 -2
- package/dist/components/atoms/TypeTags/TypeTags.d.ts +0 -4
- package/dist/components/atoms/TypeTags/TypeTags.style.d.ts +0 -1
- package/dist/components/atoms/TypeTags/index.d.ts +0 -2
- package/dist/components/atoms/Typography/Typography.d.ts +0 -8
- package/dist/components/atoms/Typography/Typography.style.d.ts +0 -3
- package/dist/components/atoms/Typography/index.d.ts +0 -2
- package/dist/components/atoms/VideoControls/VideoControls.d.ts +0 -4
- package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +0 -13
- package/dist/components/atoms/VideoControls/index.d.ts +0 -2
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.d.ts +0 -4
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.style.d.ts +0 -5
- package/dist/components/atoms/VideoControlsImpact/index.d.ts +0 -2
- package/dist/components/atoms/index.d.ts +0 -29
- package/dist/components/index.d.ts +0 -8
- package/dist/components/molecules/Accordion/Accordion.d.ts +0 -4
- package/dist/components/molecules/Accordion/Accordion.style.d.ts +0 -14
- package/dist/components/molecules/Accordion/index.d.ts +0 -2
- package/dist/components/molecules/Accordions/Accordions.d.ts +0 -4
- package/dist/components/molecules/Accordions/Accordions.style.d.ts +0 -1
- package/dist/components/molecules/Accordions/index.d.ts +0 -2
- package/dist/components/molecules/AnchorBar/AnchorBar.d.ts +0 -4
- package/dist/components/molecules/AnchorBar/AnchorBar.style.d.ts +0 -8
- package/dist/components/molecules/AnchorBar/index.d.ts +0 -2
- package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.d.ts +0 -4
- package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.style.d.ts +0 -10
- package/dist/components/molecules/AnnouncementBanner/index.d.ts +0 -2
- package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.d.ts +0 -21
- package/dist/components/molecules/AuxiliaryNav/AuxiliaryNav.styles.d.ts +0 -9
- package/dist/components/molecules/AuxiliaryNav/index.d.ts +0 -2
- package/dist/components/molecules/Basket/Basket.d.ts +0 -4
- package/dist/components/molecules/Basket/Basket.style.d.ts +0 -7
- package/dist/components/molecules/Basket/helpers.d.ts +0 -3
- package/dist/components/molecules/Basket/hooks.d.ts +0 -8
- package/dist/components/molecules/Basket/index.d.ts +0 -2
- package/dist/components/molecules/BodyContent/BodyContent.d.ts +0 -9
- package/dist/components/molecules/BodyContent/BodyContent.style.d.ts +0 -1
- package/dist/components/molecules/BodyContent/index.d.ts +0 -2
- package/dist/components/molecules/Card/Card.d.ts +0 -4
- package/dist/components/molecules/Card/Card.style.d.ts +0 -28
- package/dist/components/molecules/Card/index.d.ts +0 -2
- package/dist/components/molecules/Cards/Cards.d.ts +0 -4
- package/dist/components/molecules/Cards/Cards.style.d.ts +0 -2
- package/dist/components/molecules/Cards/index.d.ts +0 -2
- package/dist/components/molecules/CastFilter/CastFilters.d.ts +0 -4
- package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +0 -19
- package/dist/components/molecules/CastFilter/index.d.ts +0 -2
- package/dist/components/molecules/ContactCard/ContactCard.d.ts +0 -4
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +0 -7
- package/dist/components/molecules/ContactCard/index.d.ts +0 -2
- package/dist/components/molecules/ContactNewsletter/ContactNewsletter.d.ts +0 -4
- package/dist/components/molecules/ContactNewsletter/ContactNewsletter.style.d.ts +0 -8
- package/dist/components/molecules/ContactNewsletter/index.d.ts +0 -2
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +0 -4
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +0 -16
- package/dist/components/molecules/ContentSummary/ContentSummaryData.d.ts +0 -25
- package/dist/components/molecules/ContentSummary/index.d.ts +0 -2
- package/dist/components/molecules/Editorial/Editorial.d.ts +0 -4
- package/dist/components/molecules/Editorial/Editorial.style.d.ts +0 -6
- package/dist/components/molecules/Editorial/index.d.ts +0 -2
- package/dist/components/molecules/HotFilters/HotFilters.d.ts +0 -4
- package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +0 -18
- package/dist/components/molecules/HotFilters/index.d.ts +0 -2
- package/dist/components/molecules/ImageWithCaption/ImageWithCaption.d.ts +0 -4
- package/dist/components/molecules/ImageWithCaption/ImageWithCaption.style.d.ts +0 -4
- package/dist/components/molecules/ImageWithCaption/index.d.ts +0 -2
- package/dist/components/molecules/Information/InfoCta.d.ts +0 -4
- package/dist/components/molecules/Information/Information.d.ts +0 -4
- package/dist/components/molecules/Information/Information.style.d.ts +0 -5
- package/dist/components/molecules/Information/index.d.ts +0 -2
- package/dist/components/molecules/Information/utils.d.ts +0 -11
- package/dist/components/molecules/MiniCard/MiniCard.d.ts +0 -4
- package/dist/components/molecules/MiniCard/MiniCard.style.d.ts +0 -6
- package/dist/components/molecules/MiniCard/index.d.ts +0 -2
- package/dist/components/molecules/NavTop/NavTop.d.ts +0 -4
- package/dist/components/molecules/NavTop/NavTop.style.d.ts +0 -1
- package/dist/components/molecules/NavTop/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Compact/Compact.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +0 -38
- package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.d.ts +0 -10
- package/dist/components/molecules/PageHeading/Compact/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Highlight/Highlight.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Highlight/Highlight.style.d.ts +0 -9
- package/dist/components/molecules/PageHeading/Highlight/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/HighlightCarousel/HighlightCarousel.d.ts +0 -4
- package/dist/components/molecules/PageHeading/HighlightCarousel/HighlightCarousel.style.d.ts +0 -14
- package/dist/components/molecules/PageHeading/HighlightCarousel/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Impact/Impact.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +0 -302
- package/dist/components/molecules/PageHeading/Impact/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/PageHeading.d.ts +0 -4
- package/dist/components/molecules/PageHeading/PageHeading.style.d.ts +0 -11
- package/dist/components/molecules/PageHeading/Panel/Panel.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Panel/Panel.style.d.ts +0 -9
- package/dist/components/molecules/PageHeading/Panel/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Promo/Promo.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Promo/Promo.style.d.ts +0 -28
- package/dist/components/molecules/PageHeading/Promo/components/Badge.d.ts +0 -10
- package/dist/components/molecules/PageHeading/Promo/components/Button.d.ts +0 -10
- package/dist/components/molecules/PageHeading/Promo/components/Image.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Promo/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/index.d.ts +0 -8
- package/dist/components/molecules/Pagination/Pagination.d.ts +0 -17
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +0 -9
- package/dist/components/molecules/Pagination/components/NavButtonOrLink.d.ts +0 -4
- package/dist/components/molecules/Pagination/components/PageLinkOrButton.d.ts +0 -4
- package/dist/components/molecules/Pagination/components/index.d.ts +0 -2
- package/dist/components/molecules/Pagination/index.d.ts +0 -2
- package/dist/components/molecules/PasswordStrength/PasswordStrength.d.ts +0 -33
- package/dist/components/molecules/PasswordStrength/PasswordStrength.styles.d.ts +0 -13
- package/dist/components/molecules/PasswordStrength/index.d.ts +0 -2
- package/dist/components/molecules/Paywall/Paywall.d.ts +0 -4
- package/dist/components/molecules/Paywall/Paywall.styles.d.ts +0 -292
- package/dist/components/molecules/Paywall/index.d.ts +0 -2
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +0 -7
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +0 -9
- package/dist/components/molecules/PeopleListing/CreditListing/index.d.ts +0 -2
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +0 -4
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +0 -3
- package/dist/components/molecules/PeopleListing/fixtures.d.ts +0 -4
- package/dist/components/molecules/PeopleListing/index.d.ts +0 -3
- package/dist/components/molecules/PersonCard/PersonCard.d.ts +0 -4
- package/dist/components/molecules/PersonCard/PersonCard.style.d.ts +0 -4
- package/dist/components/molecules/PersonCard/index.d.ts +0 -2
- package/dist/components/molecules/PersonDetails/PersonDetails.d.ts +0 -4
- package/dist/components/molecules/PersonDetails/PersonDetails.style.d.ts +0 -2
- package/dist/components/molecules/PersonDetails/index.d.ts +0 -2
- package/dist/components/molecules/PolicyLinks/PolicyLinks.d.ts +0 -4
- package/dist/components/molecules/PolicyLinks/PolicyLinks.style.d.ts +0 -1
- package/dist/components/molecules/PolicyLinks/index.d.ts +0 -2
- package/dist/components/molecules/PromoWithTags/PromoWithTags.d.ts +0 -4
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +0 -290
- package/dist/components/molecules/PromoWithTags/index.d.ts +0 -2
- package/dist/components/molecules/PromoWithTitle/PromoChild.d.ts +0 -9
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.d.ts +0 -4
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +0 -278
- package/dist/components/molecules/PromoWithTitle/index.d.ts +0 -2
- package/dist/components/molecules/Quote/Quote.d.ts +0 -4
- package/dist/components/molecules/Quote/Quote.style.d.ts +0 -3
- package/dist/components/molecules/Quote/index.d.ts +0 -2
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +0 -7
- package/dist/components/molecules/RadioGroup/RadioGroup.style.d.ts +0 -1
- package/dist/components/molecules/RadioGroup/index.d.ts +0 -2
- package/dist/components/molecules/RadioGroup2/RadioGroup2.d.ts +0 -38
- package/dist/components/molecules/RadioGroup2/RadioGroup2.style.d.ts +0 -4
- package/dist/components/molecules/RadioGroup2/index.d.ts +0 -2
- package/dist/components/molecules/ReadMore/ReadMore.d.ts +0 -4
- package/dist/components/molecules/ReadMore/ReadMore.style.d.ts +0 -9
- package/dist/components/molecules/ReadMore/index.d.ts +0 -2
- package/dist/components/molecules/SearchBar/SearchBar.d.ts +0 -4
- package/dist/components/molecules/SearchBar/SearchBar.style.d.ts +0 -7
- package/dist/components/molecules/SearchBar/index.d.ts +0 -2
- package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +0 -4
- package/dist/components/molecules/SectionTitle/SectionTitle.style.d.ts +0 -2
- package/dist/components/molecules/SectionTitle/index.d.ts +0 -2
- package/dist/components/molecules/Select/Select.d.ts +0 -101
- package/dist/components/molecules/Select/Select.style.d.ts +0 -13
- package/dist/components/molecules/Select/index.d.ts +0 -2
- package/dist/components/molecules/Select2/Select2.d.ts +0 -24
- package/dist/components/molecules/Select2/Select2.style.d.ts +0 -5
- package/dist/components/molecules/Select2/index.d.ts +0 -2
- package/dist/components/molecules/Select2Async/Select2Async.d.ts +0 -18
- package/dist/components/molecules/Select2Async/index.d.ts +0 -2
- package/dist/components/molecules/SignUpForm/SignUpForm.d.ts +0 -4
- package/dist/components/molecules/SignUpForm/SignUpForm.style.d.ts +0 -20
- package/dist/components/molecules/SignUpForm/components/SignUpForm.d.ts +0 -4
- package/dist/components/molecules/SignUpForm/components/SignUpFormButton.d.ts +0 -8
- package/dist/components/molecules/SignUpForm/components/SignUpMessage.d.ts +0 -4
- package/dist/components/molecules/SignUpForm/components/SignUpTitle.d.ts +0 -4
- package/dist/components/molecules/SignUpForm/index.d.ts +0 -2
- package/dist/components/molecules/SkipToMain/SkipToMain.d.ts +0 -20
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +0 -6
- package/dist/components/molecules/SkipToMain/index.d.ts +0 -2
- package/dist/components/molecules/StatusBanner/StatusBanner.d.ts +0 -4
- package/dist/components/molecules/StatusBanner/StatusBanner.style.d.ts +0 -3
- package/dist/components/molecules/StatusBanner/index.d.ts +0 -2
- package/dist/components/molecules/Swipe/Swipe.d.ts +0 -18
- package/dist/components/molecules/Swipe/Swipe.style.d.ts +0 -8
- package/dist/components/molecules/Swipe/helper.d.ts +0 -4
- package/dist/components/molecules/Swipe/index.d.ts +0 -2
- package/dist/components/molecules/Table/Table.d.ts +0 -4
- package/dist/components/molecules/Table/Table.style.d.ts +0 -12
- package/dist/components/molecules/Table/components/DataCells.d.ts +0 -7
- package/dist/components/molecules/Table/components/HeaderCells.d.ts +0 -7
- package/dist/components/molecules/Table/components/TableCell.d.ts +0 -3
- package/dist/components/molecules/Table/components/TableHelpers.d.ts +0 -4
- package/dist/components/molecules/Table/components/TableRow.d.ts +0 -3
- package/dist/components/molecules/Table/index.d.ts +0 -2
- package/dist/components/molecules/Tabs/Tabs.d.ts +0 -4
- package/dist/components/molecules/Tabs/Tabs.style.d.ts +0 -5
- package/dist/components/molecules/Tabs/index.d.ts +0 -2
- package/dist/components/molecules/UpsellCard/OfferText.d.ts +0 -3
- package/dist/components/molecules/UpsellCard/UpsellCard.d.ts +0 -4
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +0 -283
- package/dist/components/molecules/UpsellCard/index.d.ts +0 -2
- package/dist/components/molecules/UpsellCards/UpsellCards.d.ts +0 -4
- package/dist/components/molecules/UpsellCards/UpsellCards.style.d.ts +0 -1
- package/dist/components/molecules/UpsellCards/index.d.ts +0 -2
- package/dist/components/molecules/VideoWithControls/VideoWithControls.d.ts +0 -4
- package/dist/components/molecules/VideoWithControls/VideoWithControls.style.d.ts +0 -2
- package/dist/components/molecules/VideoWithControls/index.d.ts +0 -2
- package/dist/components/molecules/index.d.ts +0 -39
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.d.ts +0 -4
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +0 -13
- package/dist/components/organisms/AnchorTabBar/index.d.ts +0 -2
- package/dist/components/organisms/Carousels/Carousel/Carousel.d.ts +0 -6
- package/dist/components/organisms/Carousels/Carousel/Carousel.style.d.ts +0 -282
- package/dist/components/organisms/Carousels/Carousel/helper.d.ts +0 -26
- package/dist/components/organisms/Carousels/Carousel/index.d.ts +0 -2
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +0 -6
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.style.d.ts +0 -22
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCinema.d.ts +0 -4
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCore.d.ts +0 -4
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsStream.d.ts +0 -4
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/Buttons.d.ts +0 -5
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/InfoSection.d.ts +0 -10
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/SwipeCarousel.d.ts +0 -13
- package/dist/components/organisms/Carousels/HighlightsCarousel/constants.d.ts +0 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/helper.d.ts +0 -291
- package/dist/components/organisms/Carousels/HighlightsCarousel/index.d.ts +0 -5
- package/dist/components/organisms/Carousels/MinimalCarousel/MinimalCarousel.d.ts +0 -4
- package/dist/components/organisms/Carousels/MinimalCarousel/MinimalCarousel.style.d.ts +0 -4
- package/dist/components/organisms/Carousels/MinimalCarousel/index.d.ts +0 -2
- package/dist/components/organisms/Footer/Footer.d.ts +0 -4
- package/dist/components/organisms/Footer/Footer.style.d.ts +0 -8
- package/dist/components/organisms/Footer/index.d.ts +0 -1
- package/dist/components/organisms/ModalWindow/ModalWindow.d.ts +0 -68
- package/dist/components/organisms/ModalWindow/ModalWindow.style.d.ts +0 -4
- package/dist/components/organisms/ModalWindow/index.d.ts +0 -2
- package/dist/components/organisms/Navigation/Navigation.d.ts +0 -4
- package/dist/components/organisms/Navigation/Navigation.style.d.ts +0 -24
- package/dist/components/organisms/Navigation/index.d.ts +0 -2
- package/dist/components/organisms/StickyBar/StickyBar.d.ts +0 -4
- package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +0 -6
- package/dist/components/organisms/StickyBar/index.d.ts +0 -2
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.d.ts +0 -4
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +0 -26
- package/dist/components/organisms/TitleWithCTA/index.d.ts +0 -2
- package/dist/components/organisms/UpsellSection/UpsellSection.d.ts +0 -4
- package/dist/components/organisms/UpsellSection/UpsellSection.style.d.ts +0 -274
- package/dist/components/organisms/UpsellSection/index.d.ts +0 -2
- package/dist/components/organisms/index.d.ts +0 -11
- package/dist/harmonic.cjs.development.css +0 -946
- package/dist/harmonic.cjs.development.js +0 -15076
- package/dist/harmonic.cjs.development.js.map +0 -1
- package/dist/harmonic.cjs.production.min.js +0 -2
- package/dist/harmonic.cjs.production.min.js.map +0 -1
- package/dist/harmonic.esm.js +0 -15005
- package/dist/harmonic.esm.js.map +0 -1
- package/dist/helpers/accessibility.d.ts +0 -1
- package/dist/helpers/arrays.d.ts +0 -2
- package/dist/helpers/aspectRatio.d.ts +0 -2
- package/dist/helpers/defaultValues.d.ts +0 -7
- package/dist/helpers/devices.d.ts +0 -10
- package/dist/helpers/formatStrings.d.ts +0 -3
- package/dist/helpers/forms.d.ts +0 -20
- package/dist/helpers/generateDomElementId.d.ts +0 -8
- package/dist/helpers/htmlStrings.d.ts +0 -5
- package/dist/helpers/keyboards.d.ts +0 -3
- package/dist/helpers/theme.d.ts +0 -2
- package/dist/helpers/urls.d.ts +0 -2
- package/dist/index.d.ts +0 -15
- package/dist/jest.setup.d.ts +0 -1
- package/dist/styles/GlobalStyles.d.ts +0 -3
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -12
- package/dist/styles/HarmonicThemeProvider/index.d.ts +0 -3
- package/dist/styles/ThemeProvider.d.ts +0 -4
- package/dist/styles/themes.d.ts +0 -3788
- package/dist/styles/viewports.d.ts +0 -16
- package/dist/styles/zIndexes.d.ts +0 -4
- package/dist/types/anchorBar.d.ts +0 -19
- package/dist/types/auxiliaryNav.d.ts +0 -39
- package/dist/types/buttonTypes.d.ts +0 -65
- package/dist/types/card.d.ts +0 -149
- package/dist/types/carousel.d.ts +0 -200
- package/dist/types/contactCard.d.ts +0 -34
- package/dist/types/creditListing.d.ts +0 -16
- package/dist/types/editorial.d.ts +0 -278
- package/dist/types/footer.d.ts +0 -33
- package/dist/types/formTypes.d.ts +0 -325
- package/dist/types/iconTypes.d.ts +0 -39
- package/dist/types/image.d.ts +0 -72
- package/dist/types/impactHeader.d.ts +0 -192
- package/dist/types/index.d.ts +0 -16
- package/dist/types/information.d.ts +0 -48
- package/dist/types/links.d.ts +0 -17
- package/dist/types/miniCard.d.ts +0 -27
- package/dist/types/modalWindow.d.ts +0 -20
- package/dist/types/navigation.d.ts +0 -368
- package/dist/types/pagination.d.ts +0 -9
- package/dist/types/passwordStrength.d.ts +0 -51
- package/dist/types/progress.d.ts +0 -37
- package/dist/types/promoWithTags.d.ts +0 -105
- package/dist/types/quote.d.ts +0 -8
- package/dist/types/signUpForm.d.ts +0 -90
- package/dist/types/tableTypes.d.ts +0 -31
- package/dist/types/tickbox.d.ts +0 -79
- package/dist/types/timer.d.ts +0 -37
- package/dist/types/types.d.ts +0 -783
- package/dist/types/typography.d.ts +0 -126
- package/dist/types/upsell.d.ts +0 -85
- package/dist/types/utility.d.ts +0 -4
package/dist/types/types.d.ts
DELETED
|
@@ -1,783 +0,0 @@
|
|
|
1
|
-
import { ReactNode, AnchorHTMLAttributes, MouseEventHandler, ReactElement } from 'react';
|
|
2
|
-
import { StyledProps } from 'styled-components';
|
|
3
|
-
import { IconNameType, DirectionType, IIconProps } from './iconTypes';
|
|
4
|
-
import type { ExternalLink } from './links';
|
|
5
|
-
export declare enum Colors {
|
|
6
|
-
White = "white",
|
|
7
|
-
Black = "black",
|
|
8
|
-
DarkGrey = "darkgrey",
|
|
9
|
-
MidGrey = "midgrey",
|
|
10
|
-
LightGrey = "lightgrey",
|
|
11
|
-
Trasparent = "transparent",
|
|
12
|
-
ErrorState = "errorstate",
|
|
13
|
-
MediumState = "mediumstate",
|
|
14
|
-
GoodState = "goodstate",
|
|
15
|
-
Primary = "primary",
|
|
16
|
-
Core = "core",
|
|
17
|
-
Stream = "stream",
|
|
18
|
-
Cinema = "cinema"
|
|
19
|
-
}
|
|
20
|
-
export declare const ThemeColor: {
|
|
21
|
-
readonly primary: "primary";
|
|
22
|
-
readonly 'primary-red': "primary-red";
|
|
23
|
-
readonly 'primary-black': "primary-black";
|
|
24
|
-
readonly 'base-white': "base-white";
|
|
25
|
-
readonly 'base-black': "base-black";
|
|
26
|
-
readonly 'base-dark-grey': "base-dark-grey";
|
|
27
|
-
readonly 'base-mid-grey': "base-mid-grey";
|
|
28
|
-
readonly 'base-light-grey': "base-light-grey";
|
|
29
|
-
readonly 'base-transparent': "base-transparent";
|
|
30
|
-
readonly 'state-error': "state-error";
|
|
31
|
-
readonly 'state-medium': "state-medium";
|
|
32
|
-
readonly 'state-good': "state-good";
|
|
33
|
-
readonly 'state-focused': "state-focused";
|
|
34
|
-
readonly 'state-disabled': "state-disabled";
|
|
35
|
-
readonly 'rbo-red-hovered': "rbo-red-hovered";
|
|
36
|
-
readonly 'rbo-red-pressed': "rbo-red-pressed";
|
|
37
|
-
readonly 'rbo-black-hovered': "rbo-black-hovered";
|
|
38
|
-
readonly 'rbo-black-pressed': "rbo-black-pressed";
|
|
39
|
-
readonly 'black-hovered': "black-hovered";
|
|
40
|
-
readonly 'black-pressed': "black-pressed";
|
|
41
|
-
readonly 'white-hovered': "white-hovered";
|
|
42
|
-
readonly 'white-pressed': "white-pressed";
|
|
43
|
-
readonly 'secondary-yellow': "secondary-yellow";
|
|
44
|
-
readonly 'secondary-pink': "secondary-pink";
|
|
45
|
-
readonly 'secondary-orange': "secondary-orange";
|
|
46
|
-
readonly 'secondary-blue': "secondary-blue";
|
|
47
|
-
};
|
|
48
|
-
export declare type ThemeColor = keyof typeof ThemeColor;
|
|
49
|
-
export declare enum ThemeType {
|
|
50
|
-
Core = "core",
|
|
51
|
-
Stream = "stream",
|
|
52
|
-
Cinema = "cinema",
|
|
53
|
-
Schools = "schools"
|
|
54
|
-
}
|
|
55
|
-
export interface IThemeProviderProps {
|
|
56
|
-
/** The theme to use for the child elements */
|
|
57
|
-
theme: ThemeType;
|
|
58
|
-
children: ReactNode;
|
|
59
|
-
}
|
|
60
|
-
export interface ILogoProps {
|
|
61
|
-
/**
|
|
62
|
-
* The id value
|
|
63
|
-
*/
|
|
64
|
-
id?: string;
|
|
65
|
-
/**
|
|
66
|
-
* The data-roh value
|
|
67
|
-
*/
|
|
68
|
-
dataRoh?: string;
|
|
69
|
-
/**
|
|
70
|
-
* The link of the logo
|
|
71
|
-
*/
|
|
72
|
-
urlLink?: string;
|
|
73
|
-
/**
|
|
74
|
-
* The image for desktop
|
|
75
|
-
*/
|
|
76
|
-
desktopImage: string;
|
|
77
|
-
/**
|
|
78
|
-
* The image for other devices
|
|
79
|
-
*/
|
|
80
|
-
devicesImage?: string;
|
|
81
|
-
/**
|
|
82
|
-
* The title of the image
|
|
83
|
-
*/
|
|
84
|
-
title?: string;
|
|
85
|
-
/**
|
|
86
|
-
* The title of the image
|
|
87
|
-
*/
|
|
88
|
-
altText?: string;
|
|
89
|
-
}
|
|
90
|
-
export interface IOptionItem {
|
|
91
|
-
/**
|
|
92
|
-
* The text of the option
|
|
93
|
-
*/
|
|
94
|
-
option: string;
|
|
95
|
-
/**
|
|
96
|
-
* The link of the option
|
|
97
|
-
*/
|
|
98
|
-
optionLink: string;
|
|
99
|
-
}
|
|
100
|
-
export interface ITabProps {
|
|
101
|
-
children?: ReactNode;
|
|
102
|
-
/**
|
|
103
|
-
* The value of the title
|
|
104
|
-
*/
|
|
105
|
-
title?: string;
|
|
106
|
-
/**
|
|
107
|
-
* The link of the title
|
|
108
|
-
*/
|
|
109
|
-
titleLink?: string;
|
|
110
|
-
/**
|
|
111
|
-
* To keep selected the title of the Tab
|
|
112
|
-
*/
|
|
113
|
-
selected?: boolean;
|
|
114
|
-
/**
|
|
115
|
-
* Icon direction
|
|
116
|
-
*/
|
|
117
|
-
iconDirection?: DirectionType;
|
|
118
|
-
/**
|
|
119
|
-
* The name of the icon
|
|
120
|
-
*/
|
|
121
|
-
iconName?: IconNameType;
|
|
122
|
-
/**
|
|
123
|
-
* If options are available in mobile devices
|
|
124
|
-
*/
|
|
125
|
-
withOptionsInMobile?: boolean;
|
|
126
|
-
/**
|
|
127
|
-
* The orientation of the icon
|
|
128
|
-
*/
|
|
129
|
-
withIcon?: 'right' | 'left' | 'none';
|
|
130
|
-
/**
|
|
131
|
-
* If show text in mobile devices
|
|
132
|
-
*/
|
|
133
|
-
withTextInMobile?: boolean;
|
|
134
|
-
/**
|
|
135
|
-
* Function to be called when click
|
|
136
|
-
*/
|
|
137
|
-
onClick?: (e: string) => void;
|
|
138
|
-
/**
|
|
139
|
-
* Function to be called when focus event is fired
|
|
140
|
-
*/
|
|
141
|
-
onFocus?: () => void;
|
|
142
|
-
/**
|
|
143
|
-
* Function to be called when it is needed to back to initial state
|
|
144
|
-
*/
|
|
145
|
-
onReset?: () => void;
|
|
146
|
-
/**
|
|
147
|
-
* Additional CSS class names to apply to the navigation component.
|
|
148
|
-
*/
|
|
149
|
-
className?: string;
|
|
150
|
-
/**
|
|
151
|
-
* Defines the ARIA role of the element for accessibility purposes.
|
|
152
|
-
*/
|
|
153
|
-
role?: string;
|
|
154
|
-
/**
|
|
155
|
-
* Provides an accessible label for screen readers to describe the element's purpose.
|
|
156
|
-
*/
|
|
157
|
-
ariaLabel?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Text color
|
|
160
|
-
*/
|
|
161
|
-
color?: ThemeColor;
|
|
162
|
-
/**
|
|
163
|
-
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
164
|
-
*/
|
|
165
|
-
trimText?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* data-testid string for easier testing
|
|
168
|
-
*/
|
|
169
|
-
dataTestId?: string;
|
|
170
|
-
/**
|
|
171
|
-
* Boolean indicating if the Tab is open.
|
|
172
|
-
*/
|
|
173
|
-
isOpen?: boolean;
|
|
174
|
-
}
|
|
175
|
-
export interface IDropdownProps {
|
|
176
|
-
/**
|
|
177
|
-
* The value of the title
|
|
178
|
-
*/
|
|
179
|
-
title?: string;
|
|
180
|
-
/**
|
|
181
|
-
* The orientation of the icon
|
|
182
|
-
*/
|
|
183
|
-
withIcon?: 'right' | 'left' | 'none';
|
|
184
|
-
/**
|
|
185
|
-
* The link of the title
|
|
186
|
-
*/
|
|
187
|
-
titleLink?: string;
|
|
188
|
-
/**
|
|
189
|
-
* To keep selected the title of the Dropdown
|
|
190
|
-
*/
|
|
191
|
-
selected?: boolean;
|
|
192
|
-
/**
|
|
193
|
-
* An Array with the options in the Dropdown
|
|
194
|
-
*/
|
|
195
|
-
options?: IOptionItem[];
|
|
196
|
-
/**
|
|
197
|
-
* The name of the icon
|
|
198
|
-
*/
|
|
199
|
-
iconName?: IconNameType;
|
|
200
|
-
/**
|
|
201
|
-
* Set if the behaviour of Dropdown change in mobile devices
|
|
202
|
-
*/
|
|
203
|
-
isMobileBehaviour?: boolean;
|
|
204
|
-
/**
|
|
205
|
-
* If options are available in mobile devices
|
|
206
|
-
*/
|
|
207
|
-
withOptionsInMobile?: boolean;
|
|
208
|
-
/**
|
|
209
|
-
* Function to be called when click
|
|
210
|
-
*/
|
|
211
|
-
onChange?: (e: string) => void;
|
|
212
|
-
/**
|
|
213
|
-
* Additional CSS class names to apply to the navigation component.
|
|
214
|
-
*/
|
|
215
|
-
className?: string;
|
|
216
|
-
/**
|
|
217
|
-
* Defines the ARIA role of the element for accessibility purposes.
|
|
218
|
-
*/
|
|
219
|
-
role?: string;
|
|
220
|
-
/**
|
|
221
|
-
* Provides an accessible label for screen readers to describe the element's purpose.
|
|
222
|
-
*/
|
|
223
|
-
ariaLabel?: string;
|
|
224
|
-
/**
|
|
225
|
-
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
226
|
-
*/
|
|
227
|
-
trimTabText?: boolean;
|
|
228
|
-
}
|
|
229
|
-
export interface ITabsProps {
|
|
230
|
-
/**
|
|
231
|
-
* An Array with Dropdown components
|
|
232
|
-
*/
|
|
233
|
-
items?: IDropdownProps[];
|
|
234
|
-
/**
|
|
235
|
-
* Function to be called when click on showmenu
|
|
236
|
-
*/
|
|
237
|
-
onShowMenu?: (e: boolean) => void;
|
|
238
|
-
/**
|
|
239
|
-
* Show menu in mobile devices
|
|
240
|
-
*/
|
|
241
|
-
showMenu?: boolean;
|
|
242
|
-
/**
|
|
243
|
-
* Function to be called when click
|
|
244
|
-
*/
|
|
245
|
-
onChange?: (e: string) => void;
|
|
246
|
-
/**
|
|
247
|
-
* Additional CSS class names to apply to the navigation component.
|
|
248
|
-
*/
|
|
249
|
-
className?: string;
|
|
250
|
-
}
|
|
251
|
-
export declare type IDropdowItemProps = StyledProps<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
252
|
-
export interface IControlledDropdownProps {
|
|
253
|
-
/**
|
|
254
|
-
* Text displayed as heading in the dropdown
|
|
255
|
-
*/
|
|
256
|
-
text: string;
|
|
257
|
-
/**
|
|
258
|
-
* options to display
|
|
259
|
-
*/
|
|
260
|
-
options?: IOptionItem[];
|
|
261
|
-
/**
|
|
262
|
-
* Set if the dropdown is active or not
|
|
263
|
-
*/
|
|
264
|
-
active?: boolean;
|
|
265
|
-
/**
|
|
266
|
-
* Callback called when header is clicked
|
|
267
|
-
*/
|
|
268
|
-
onClick: () => void;
|
|
269
|
-
/**
|
|
270
|
-
* Callback called when an option is clicked
|
|
271
|
-
*/
|
|
272
|
-
onOptionClick?: (s: string) => void;
|
|
273
|
-
/**
|
|
274
|
-
* Mouse enter event handler
|
|
275
|
-
*/
|
|
276
|
-
onMouseEnter?: () => void;
|
|
277
|
-
/**
|
|
278
|
-
* Mouse leave event handler
|
|
279
|
-
*/
|
|
280
|
-
onMouseLeave?: () => void;
|
|
281
|
-
/**
|
|
282
|
-
* Callback called to reset dropdown behaviour
|
|
283
|
-
*/
|
|
284
|
-
onReset?: () => void;
|
|
285
|
-
/**
|
|
286
|
-
* Callback called when main link or option are focused
|
|
287
|
-
*/
|
|
288
|
-
onFocus?: () => void;
|
|
289
|
-
/**
|
|
290
|
-
* Callback called when focus leaves element
|
|
291
|
-
*/
|
|
292
|
-
onFocusLeave?: () => void;
|
|
293
|
-
/**
|
|
294
|
-
* Callback called when main link or last option lose focus
|
|
295
|
-
*/
|
|
296
|
-
onBlur?: () => void;
|
|
297
|
-
/**
|
|
298
|
-
* Additional CSS class names to apply to the navigation component.
|
|
299
|
-
*/
|
|
300
|
-
className?: string;
|
|
301
|
-
}
|
|
302
|
-
export interface IControlledDropdownHeaderProps extends StyledProps<any> {
|
|
303
|
-
/**
|
|
304
|
-
* Set if the dropdown is active or not
|
|
305
|
-
*/
|
|
306
|
-
active: boolean;
|
|
307
|
-
}
|
|
308
|
-
export declare type ListingPerson = {
|
|
309
|
-
/**
|
|
310
|
-
* Person name
|
|
311
|
-
*/
|
|
312
|
-
name: string;
|
|
313
|
-
/**
|
|
314
|
-
* Link to person profile
|
|
315
|
-
*/
|
|
316
|
-
link?: string;
|
|
317
|
-
/**
|
|
318
|
-
* String separator
|
|
319
|
-
*/
|
|
320
|
-
headshot?: string;
|
|
321
|
-
/**
|
|
322
|
-
* Headshot image url
|
|
323
|
-
*/
|
|
324
|
-
separator?: string;
|
|
325
|
-
/**
|
|
326
|
-
* Use headshot or not
|
|
327
|
-
*/
|
|
328
|
-
useHeadshot: boolean;
|
|
329
|
-
/**
|
|
330
|
-
* Replacement text
|
|
331
|
-
*/
|
|
332
|
-
replacement?: string;
|
|
333
|
-
};
|
|
334
|
-
export declare type ListingRole = {
|
|
335
|
-
/**
|
|
336
|
-
* Role name
|
|
337
|
-
*/
|
|
338
|
-
name: string;
|
|
339
|
-
/**
|
|
340
|
-
* List of people in the role
|
|
341
|
-
*/
|
|
342
|
-
people: ListingPerson[];
|
|
343
|
-
/**
|
|
344
|
-
* Data roh param
|
|
345
|
-
*/
|
|
346
|
-
dataROH?: string;
|
|
347
|
-
};
|
|
348
|
-
export interface IPeopleListing {
|
|
349
|
-
/** List of roles to be displayed */
|
|
350
|
-
roles: ListingRole[];
|
|
351
|
-
/** Custom CSS classes */
|
|
352
|
-
className?: string;
|
|
353
|
-
/** Render person headshots in greyscale */
|
|
354
|
-
greyscale?: boolean;
|
|
355
|
-
/** Optional number of people per row on large desktop */
|
|
356
|
-
largeDesktopColumns?: 3 | 4;
|
|
357
|
-
}
|
|
358
|
-
export interface IPagination {
|
|
359
|
-
/**
|
|
360
|
-
* The total number of pages
|
|
361
|
-
*/
|
|
362
|
-
pageCount: 10;
|
|
363
|
-
/**
|
|
364
|
-
* The current page
|
|
365
|
-
*/
|
|
366
|
-
currentPage: 1;
|
|
367
|
-
/**
|
|
368
|
-
* The url to base page links on
|
|
369
|
-
*/
|
|
370
|
-
baseUrl: '/';
|
|
371
|
-
}
|
|
372
|
-
export interface INodeProps {
|
|
373
|
-
/**
|
|
374
|
-
* The current object of Node
|
|
375
|
-
*/
|
|
376
|
-
current: any;
|
|
377
|
-
}
|
|
378
|
-
export interface IGridItemProps extends StyledProps<any> {
|
|
379
|
-
/**
|
|
380
|
-
* The column in which to place the child elements
|
|
381
|
-
*/
|
|
382
|
-
columnStartDesktop: number;
|
|
383
|
-
/**
|
|
384
|
-
* The number of columns over which the child elements will span
|
|
385
|
-
*/
|
|
386
|
-
columnSpanDesktop?: number;
|
|
387
|
-
/**
|
|
388
|
-
* The column in which to place the child elements in tablet devices
|
|
389
|
-
*/
|
|
390
|
-
columnStartDevice: number;
|
|
391
|
-
/**
|
|
392
|
-
* The number of columns over which the child elements will span in tablet devices
|
|
393
|
-
*/
|
|
394
|
-
columnSpanDevice?: number;
|
|
395
|
-
/**
|
|
396
|
-
* The column in which to place the child elements in small mobile devices
|
|
397
|
-
*/
|
|
398
|
-
columnStartSmallDevice?: number;
|
|
399
|
-
/**
|
|
400
|
-
* The number of columns over which the child elements will span in small mobile devices
|
|
401
|
-
*/
|
|
402
|
-
columnSpanSmallDevice?: number;
|
|
403
|
-
}
|
|
404
|
-
export interface ISponsorLogoProps extends ExternalLink {
|
|
405
|
-
/**
|
|
406
|
-
* S3 Image source
|
|
407
|
-
*/
|
|
408
|
-
imageSource?: string;
|
|
409
|
-
/**
|
|
410
|
-
* Alternative text for the logo (used for accessibility)
|
|
411
|
-
*/
|
|
412
|
-
alt?: string;
|
|
413
|
-
/**
|
|
414
|
-
* Content to be displayed within the component.
|
|
415
|
-
*/
|
|
416
|
-
children?: ReactNode;
|
|
417
|
-
/**
|
|
418
|
-
* Additional CSS class names to apply to the navigation component.
|
|
419
|
-
*/
|
|
420
|
-
className?: string;
|
|
421
|
-
}
|
|
422
|
-
export declare type IHotFilterItem = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-label' | 'role'> & {
|
|
423
|
-
text: string;
|
|
424
|
-
onClick?: () => void;
|
|
425
|
-
};
|
|
426
|
-
export declare type IHotFilterProps = {
|
|
427
|
-
items: IHotFilterItem[];
|
|
428
|
-
className?: string;
|
|
429
|
-
selectedIndex?: number;
|
|
430
|
-
onSelect?: (index: number) => void;
|
|
431
|
-
};
|
|
432
|
-
export declare type ICastFilterItem = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-label' | 'role'> & {
|
|
433
|
-
/**
|
|
434
|
-
* Name of the cast member shown below the image circle. Required.
|
|
435
|
-
*/
|
|
436
|
-
name: string;
|
|
437
|
-
/**
|
|
438
|
-
* Image source for the image to be shown. Optional but if not included an unaesthetic placeholder will show.
|
|
439
|
-
*/
|
|
440
|
-
image?: string;
|
|
441
|
-
onClick?: () => void;
|
|
442
|
-
};
|
|
443
|
-
export declare type ICastFiltersProps = {
|
|
444
|
-
className?: string;
|
|
445
|
-
/**
|
|
446
|
-
* Array of cast to filter by.
|
|
447
|
-
*/
|
|
448
|
-
cast: ICastFilterItem[];
|
|
449
|
-
/**
|
|
450
|
-
* Indices of currently selected cast in the `cast` array.
|
|
451
|
-
*/
|
|
452
|
-
selectedIndices?: number[];
|
|
453
|
-
/**
|
|
454
|
-
* Text shown at the top of the component, e.g. 'Filter by cast'. If this is not provided
|
|
455
|
-
* the component will render without any.
|
|
456
|
-
*/
|
|
457
|
-
headingText?: string;
|
|
458
|
-
/**
|
|
459
|
-
* Override the text of the primary CTA. Default is 'Apply'.
|
|
460
|
-
*/
|
|
461
|
-
ctaText?: string;
|
|
462
|
-
/**
|
|
463
|
-
* Override the text of the text link. Default is 'Clear'.
|
|
464
|
-
*/
|
|
465
|
-
textLinkText?: string;
|
|
466
|
-
/**
|
|
467
|
-
* Text to show if no selection is made.
|
|
468
|
-
*/
|
|
469
|
-
emptySelectionText?: string;
|
|
470
|
-
/**
|
|
471
|
-
* Default image to show in cases where a cast member image prop is missing.
|
|
472
|
-
* If this is undefined then a light grey background will be displayed instead.
|
|
473
|
-
*/
|
|
474
|
-
placeholderImage?: string;
|
|
475
|
-
/**
|
|
476
|
-
* Description to be used as aria-roledescription of the cast filter listbox.
|
|
477
|
-
* Read out by screen readers to describe the contents of the list.
|
|
478
|
-
*/
|
|
479
|
-
listRoleDescription?: string;
|
|
480
|
-
/**
|
|
481
|
-
* Handle selecting individual cast filters.
|
|
482
|
-
*/
|
|
483
|
-
onSelect?: (index: number) => void;
|
|
484
|
-
/**
|
|
485
|
-
* Handle clicking the primary CTA.
|
|
486
|
-
*/
|
|
487
|
-
onApply?: (indices: number[]) => void;
|
|
488
|
-
/**
|
|
489
|
-
* Handle clicking the text link.
|
|
490
|
-
*/
|
|
491
|
-
onClear?: () => void;
|
|
492
|
-
/**
|
|
493
|
-
* Render person images in greyscale
|
|
494
|
-
*/
|
|
495
|
-
greyscale?: boolean;
|
|
496
|
-
};
|
|
497
|
-
export interface ISponsorshipProps {
|
|
498
|
-
/**
|
|
499
|
-
* Source URL for Sponsorship IFRAME.
|
|
500
|
-
*/
|
|
501
|
-
src?: string;
|
|
502
|
-
/**
|
|
503
|
-
* Used for Analytics.
|
|
504
|
-
*/
|
|
505
|
-
dataRoh?: string;
|
|
506
|
-
/**
|
|
507
|
-
* Used for Accessibility.
|
|
508
|
-
*/
|
|
509
|
-
title?: string;
|
|
510
|
-
}
|
|
511
|
-
export interface ITextLinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
512
|
-
children: ReactNode;
|
|
513
|
-
/**
|
|
514
|
-
* Function to be called when a button is clicked
|
|
515
|
-
*/
|
|
516
|
-
onClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
517
|
-
/**
|
|
518
|
-
* Name of the icon to be used in the button
|
|
519
|
-
*/
|
|
520
|
-
iconName?: IconNameType;
|
|
521
|
-
/**
|
|
522
|
-
* Direction of the icon used in the button
|
|
523
|
-
*/
|
|
524
|
-
iconDirection?: DirectionType;
|
|
525
|
-
/**
|
|
526
|
-
* Color of text and icon
|
|
527
|
-
*/
|
|
528
|
-
textColor?: ThemeColor;
|
|
529
|
-
/**
|
|
530
|
-
* Disable default truncation
|
|
531
|
-
*/
|
|
532
|
-
disableTruncation?: boolean;
|
|
533
|
-
}
|
|
534
|
-
export interface ISectionSplitterProps {
|
|
535
|
-
/** Set the width of the Section to full */
|
|
536
|
-
fullWidth?: boolean;
|
|
537
|
-
/** Custom CSS classes */
|
|
538
|
-
className?: string;
|
|
539
|
-
}
|
|
540
|
-
export interface ITypeTagsProps {
|
|
541
|
-
/**
|
|
542
|
-
* List of Type Tags to display.
|
|
543
|
-
*/
|
|
544
|
-
list: string[];
|
|
545
|
-
}
|
|
546
|
-
export interface IBodyContentProps {
|
|
547
|
-
/** Text placed in the BodyContent component */
|
|
548
|
-
text: string;
|
|
549
|
-
/** Set columnStart in Desktop */
|
|
550
|
-
columnStartDesktop?: number;
|
|
551
|
-
/** Set columnSpan in Desktop */
|
|
552
|
-
columnSpanDesktop?: number;
|
|
553
|
-
/** Set columnStart in Device */
|
|
554
|
-
columnStartDevice?: number;
|
|
555
|
-
/** Set columnSpan in Device */
|
|
556
|
-
columnSpanDevice?: number;
|
|
557
|
-
/** Custom CSS classes */
|
|
558
|
-
className?: string;
|
|
559
|
-
/** Set to true to wrap the content in a Grid component */
|
|
560
|
-
renderGrid?: boolean;
|
|
561
|
-
/** Set to true to render the GridItem component */
|
|
562
|
-
renderGridItem?: boolean;
|
|
563
|
-
}
|
|
564
|
-
export declare type SectionTitleSize = 'small' | 'large';
|
|
565
|
-
export interface ISectionTitleProps {
|
|
566
|
-
/** Title to display. */
|
|
567
|
-
title: string;
|
|
568
|
-
/** Size of title to display - by default small, which renders as an H2 (and large is an H1). */
|
|
569
|
-
size?: SectionTitleSize;
|
|
570
|
-
/** Optional description that can be rendered below the title. */
|
|
571
|
-
description?: string;
|
|
572
|
-
/** Custom CSS classes */
|
|
573
|
-
className?: string;
|
|
574
|
-
}
|
|
575
|
-
export interface ILogosProps {
|
|
576
|
-
/**
|
|
577
|
-
* Color used to fill logos.
|
|
578
|
-
*/
|
|
579
|
-
fillColor?: Colors.White | Colors.Black;
|
|
580
|
-
/**
|
|
581
|
-
* Text aligned logo variants.
|
|
582
|
-
*/
|
|
583
|
-
align?: 'left' | 'center';
|
|
584
|
-
/**
|
|
585
|
-
* Fill color inversion.
|
|
586
|
-
*/
|
|
587
|
-
invert?: boolean;
|
|
588
|
-
}
|
|
589
|
-
export interface ILogosStyledProps extends StyledProps<any> {
|
|
590
|
-
/**
|
|
591
|
-
* Color used to fill logos.
|
|
592
|
-
*/
|
|
593
|
-
fillColor?: Colors.White | Colors.Black;
|
|
594
|
-
}
|
|
595
|
-
export interface IAccordionProps {
|
|
596
|
-
/** Title to display. */
|
|
597
|
-
title?: string;
|
|
598
|
-
/** The component to be wrapped into the accordion */
|
|
599
|
-
children?: ReactNode;
|
|
600
|
-
/** Set if accordions are stacked */
|
|
601
|
-
showLine?: boolean;
|
|
602
|
-
/** Set init open */
|
|
603
|
-
initOpen?: boolean;
|
|
604
|
-
/** Custom CSS classes */
|
|
605
|
-
className?: string;
|
|
606
|
-
/** Harmonic icon name and direction for expanded state. Default is 'Detract' */
|
|
607
|
-
expandedStateIcon?: IIconProps;
|
|
608
|
-
/** Harmonic icon name and direction for collapsed state. Default is 'Expand' */
|
|
609
|
-
collapsedStateIcon?: IIconProps;
|
|
610
|
-
}
|
|
611
|
-
export interface IAccordionsProps {
|
|
612
|
-
/** Array of Accordion component */
|
|
613
|
-
items: IAccordionProps[];
|
|
614
|
-
/** Custom CSS classes */
|
|
615
|
-
className?: string;
|
|
616
|
-
}
|
|
617
|
-
export declare const BannerVariants: {
|
|
618
|
-
readonly 'service-persistent': "service-persistent";
|
|
619
|
-
readonly 'in-page-persistent': "in-page-persistent";
|
|
620
|
-
readonly 'in-page': "in-page";
|
|
621
|
-
};
|
|
622
|
-
export declare type BannerVariant = keyof typeof BannerVariants;
|
|
623
|
-
export interface IAnnouncementBannerProps {
|
|
624
|
-
/**
|
|
625
|
-
* Announcement banner title
|
|
626
|
-
*/
|
|
627
|
-
title: string;
|
|
628
|
-
/**
|
|
629
|
-
* Announcement message text
|
|
630
|
-
*/
|
|
631
|
-
announcementText: string;
|
|
632
|
-
/**
|
|
633
|
-
* Date and time text
|
|
634
|
-
*/
|
|
635
|
-
time?: string;
|
|
636
|
-
/**
|
|
637
|
-
* Icon graphic
|
|
638
|
-
*/
|
|
639
|
-
icon?: 'Info' | 'Clock' | 'Location' | 'Reminder' | 'Star';
|
|
640
|
-
/**
|
|
641
|
-
* Custom CSS classes
|
|
642
|
-
*/
|
|
643
|
-
className?: string;
|
|
644
|
-
/**
|
|
645
|
-
* Banner layout variant
|
|
646
|
-
*/
|
|
647
|
-
variant?: BannerVariant;
|
|
648
|
-
/**
|
|
649
|
-
* Callback function to be executed when the banner is closed.
|
|
650
|
-
*/
|
|
651
|
-
onClose?: () => void;
|
|
652
|
-
}
|
|
653
|
-
export interface IReadMoreProps {
|
|
654
|
-
/**
|
|
655
|
-
* Read More Component title
|
|
656
|
-
*/
|
|
657
|
-
title?: string;
|
|
658
|
-
/**
|
|
659
|
-
* Intro text to be truncated
|
|
660
|
-
*/
|
|
661
|
-
introText: ReactNode;
|
|
662
|
-
/**
|
|
663
|
-
* Component to be wrapped in ReadMore comp
|
|
664
|
-
*/
|
|
665
|
-
fullText: ReactNode;
|
|
666
|
-
/**
|
|
667
|
-
* Set init open
|
|
668
|
-
*/
|
|
669
|
-
initOpen: boolean;
|
|
670
|
-
/**
|
|
671
|
-
* Custom text for link when closed
|
|
672
|
-
*/
|
|
673
|
-
showMoreText: string;
|
|
674
|
-
/**
|
|
675
|
-
* Custom text for link when opened
|
|
676
|
-
*/
|
|
677
|
-
hideText: string;
|
|
678
|
-
/**
|
|
679
|
-
* Character limit
|
|
680
|
-
*/
|
|
681
|
-
characterLimit?: number;
|
|
682
|
-
/**
|
|
683
|
-
* Optional truncation
|
|
684
|
-
*/
|
|
685
|
-
truncate?: boolean;
|
|
686
|
-
}
|
|
687
|
-
export interface IStatusBannerProps {
|
|
688
|
-
/**
|
|
689
|
-
* Status banner text
|
|
690
|
-
*/
|
|
691
|
-
statusText: string;
|
|
692
|
-
/**
|
|
693
|
-
* Set init visibility
|
|
694
|
-
*/
|
|
695
|
-
visibility: boolean;
|
|
696
|
-
}
|
|
697
|
-
export interface IVideoControlsProps {
|
|
698
|
-
/**
|
|
699
|
-
* Video element id
|
|
700
|
-
*/
|
|
701
|
-
videoElementId: string;
|
|
702
|
-
/**
|
|
703
|
-
* Id of an element containing both the VideoControls and the video HTML element
|
|
704
|
-
* Used to request fullscreen.
|
|
705
|
-
*/
|
|
706
|
-
videoContainerId?: string;
|
|
707
|
-
/**
|
|
708
|
-
* Default muted
|
|
709
|
-
*/
|
|
710
|
-
muted: boolean;
|
|
711
|
-
/**
|
|
712
|
-
* Default playing
|
|
713
|
-
*/
|
|
714
|
-
autoPlay: boolean;
|
|
715
|
-
/**
|
|
716
|
-
* Hide volume
|
|
717
|
-
*/
|
|
718
|
-
soundControl?: boolean;
|
|
719
|
-
/**
|
|
720
|
-
* Hide fullscreen. If false, provide a videoContainerId.
|
|
721
|
-
*/
|
|
722
|
-
fullScreenOption?: boolean;
|
|
723
|
-
/**
|
|
724
|
-
* Loops
|
|
725
|
-
*/
|
|
726
|
-
loop?: boolean;
|
|
727
|
-
}
|
|
728
|
-
export interface IVideoControlsImpactProps {
|
|
729
|
-
/** Video element id */
|
|
730
|
-
videoElementId: string;
|
|
731
|
-
/** Loops */
|
|
732
|
-
loop?: boolean;
|
|
733
|
-
}
|
|
734
|
-
export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
|
|
735
|
-
export interface IVideoWithControlsProps {
|
|
736
|
-
/**
|
|
737
|
-
* Video element
|
|
738
|
-
*/
|
|
739
|
-
video: ReactElement<HTMLVideoElement>;
|
|
740
|
-
/**
|
|
741
|
-
* Settings for video controls
|
|
742
|
-
*/
|
|
743
|
-
settings: IVideoWithControlsSettings;
|
|
744
|
-
}
|
|
745
|
-
export declare type Image = Pick<HTMLImageElement, 'alt' | 'src'>;
|
|
746
|
-
export declare enum LinkTarget {
|
|
747
|
-
/**
|
|
748
|
-
* Opens the link in the same frame or tab as the current page.
|
|
749
|
-
*/
|
|
750
|
-
Self = "_self",
|
|
751
|
-
/**
|
|
752
|
-
* Opens the link in a new browser tab or window, depending on the browser settings.
|
|
753
|
-
*/
|
|
754
|
-
Blank = "_blank"
|
|
755
|
-
}
|
|
756
|
-
export interface ISkipToMainProps {
|
|
757
|
-
/**
|
|
758
|
-
* Defines which tag the button should skip to.
|
|
759
|
-
*/
|
|
760
|
-
skipToId?: string;
|
|
761
|
-
}
|
|
762
|
-
export declare type PaywallProps = {
|
|
763
|
-
/** Custom CSS classes */
|
|
764
|
-
className?: string;
|
|
765
|
-
/** Heading text */
|
|
766
|
-
title: string;
|
|
767
|
-
/** Introduction text */
|
|
768
|
-
intro?: string;
|
|
769
|
-
/** Body HTML */
|
|
770
|
-
description: string;
|
|
771
|
-
/** Function called when CTA clicked */
|
|
772
|
-
buttonOnClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
773
|
-
/** CTA text */
|
|
774
|
-
buttonText: string;
|
|
775
|
-
/** CTA URL */
|
|
776
|
-
buttonUrl: string;
|
|
777
|
-
/** Function called when sign-in link clicked */
|
|
778
|
-
signInLinkOnClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
779
|
-
/** Text before sign-in link (required to show sign-in link) */
|
|
780
|
-
signInPromptText?: string;
|
|
781
|
-
/** Sign-in link URL (required to show sign-in link) */
|
|
782
|
-
signInLinkUrl?: string;
|
|
783
|
-
};
|