@royaloperahouse/harmonic 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ISponsorLogoProps } from '../../../types/types';
3
- declare const SponsorLogo: ({ colorLogo, colorBackground, alt, }: ISponsorLogoProps) => React.ReactElement;
3
+ declare const SponsorLogo: ({ imageSource, alt, children, className, href, title, dataRoh, target, }: ISponsorLogoProps) => React.ReactElement;
4
4
  export default SponsorLogo;
@@ -1,4 +1,4 @@
1
- import { FunctionComponent } from 'react';
1
+ import React from 'react';
2
2
  import { ISponsorshipProps } from '../../../types/types';
3
- declare const Sponsorship: FunctionComponent<ISponsorshipProps>;
3
+ declare const Sponsorship: React.FC<ISponsorshipProps>;
4
4
  export default Sponsorship;
@@ -1,2 +1,4 @@
1
- export declare const CustomImage: import("styled-components").StyledComponent<"img", any, {}, never>;
2
- export declare const SponsorshipStyledIframe: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ export declare const SponsorshipWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const SponsorshipLinkText: import("styled-components").StyledComponent<"span", any, {}, never>;
3
+ export declare const SponsorshipLink: import("styled-components").StyledComponent<"a", any, {}, never>;
4
+ export declare const SponsorshipStyledIframe: import("styled-components").StyledComponent<"iframe", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ export declare const DEFAULT_SPONSORSHIP_IFRAME = "https://static.roh.org.uk/rolex/v4/rolex.html?size=80";
2
+ export declare const DEFAULT_SPONSORSHIP_TITLE = "rolex";
3
+ export declare const DEFAULT_DATA_ROH = "ImgAdvert";
@@ -1,8 +1,8 @@
1
1
  import { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './Typography';
2
- import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
2
+ import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, SponsorLogo, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
3
3
  import { AnchorTabBar, Footer, Navigation, StickyBar, TitleWithCTA, UpsellSection, Carousel, MinimalCarousel, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream } from './organisms';
4
4
  import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SignUpForm, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls } from './molecules';
5
5
  import ThemeProvider from '../styles/ThemeProvider';
6
6
  import GlobalStyles from '../styles/GlobalStyles';
7
7
  export { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
8
- export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingPromo, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SignUpForm, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, };
8
+ export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingPromo, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SponsorLogo, SignUpForm, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, };
@@ -1,5 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { IHighlightsCarouselProps } from '../../../../types/carousel';
3
- export declare const TYPOGRAPHY_CLASS_NAME = "highlight-carousel-text";
4
3
  declare const HighlightsCarousel: FunctionComponent<IHighlightsCarouselProps>;
5
4
  export default HighlightsCarousel;
@@ -0,0 +1 @@
1
+ export declare const TYPOGRAPHY_CLASS_NAME = "highlight-carousel-text";
@@ -136,7 +136,7 @@ export declare const processSlideLinks: (links: EditorialLink[]) => {
136
136
  onBlurCapture?: ((event: import("react").FocusEvent<HTMLAnchorElement, Element>) => void) | undefined;
137
137
  onChange?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
138
138
  onChangeCapture?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
139
- onBeforeInput?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
139
+ onBeforeInput?: ((event: import("react").InputEvent<HTMLAnchorElement>) => void) | undefined;
140
140
  onBeforeInputCapture?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
141
141
  onInput?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
142
142
  onInputCapture?: ((event: import("react").FormEvent<HTMLAnchorElement>) => void) | undefined;
@@ -5,3 +5,4 @@ export declare const SocialAndNewsletterSection: import("styled-components").Sty
5
5
  export declare const SectionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
6
6
  export declare const LogoAndDescriptionSection: import("styled-components").StyledComponent<"div", any, {}, never>;
7
7
  export declare const TextLinkWrapper: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/types").ITextLinkProps>, any, {}, never>;
8
+ export declare const SponsorWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;