@royaloperahouse/harmonic 0.1.8-q → 0.1.9-a

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 (64) hide show
  1. package/dist/components/Typography/Typography.d.ts +2 -1
  2. package/dist/components/atoms/Buttons/Primary/utils.d.ts +0 -2
  3. package/dist/components/atoms/Buttons/Secondary/utils.d.ts +1 -2
  4. package/dist/components/atoms/Buttons/Tertiary/utils.d.ts +1 -1
  5. package/dist/components/atoms/SponsorLogo/SponsorLogo.d.ts +1 -1
  6. package/dist/components/atoms/SponsorLogo/SponsorLogo.style.d.ts +2 -1
  7. package/dist/components/index.d.ts +4 -4
  8. package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.style.d.ts +1 -1
  9. package/dist/components/molecules/Card/Card.style.d.ts +1 -1
  10. package/dist/components/molecules/Information/Information.style.d.ts +12 -3
  11. package/dist/components/molecules/PageHeading/index.d.ts +1 -2
  12. package/dist/components/molecules/index.d.ts +2 -2
  13. package/dist/components/organisms/Footer/Footer.style.d.ts +1 -0
  14. package/dist/components/organisms/index.d.ts +1 -4
  15. package/dist/harmonic.cjs.development.css +135 -175
  16. package/dist/harmonic.cjs.development.js +761 -2166
  17. package/dist/harmonic.cjs.development.js.map +1 -1
  18. package/dist/harmonic.cjs.production.min.js +1 -1
  19. package/dist/harmonic.cjs.production.min.js.map +1 -1
  20. package/dist/harmonic.esm.js +793 -2188
  21. package/dist/harmonic.esm.js.map +1 -1
  22. package/dist/index.d.ts +3 -5
  23. package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -1
  24. package/dist/types/buttonTypes.d.ts +2 -6
  25. package/dist/types/card.d.ts +2 -2
  26. package/dist/types/carousel.d.ts +9 -68
  27. package/dist/types/editorial.d.ts +3 -15
  28. package/dist/types/image.d.ts +3 -9
  29. package/dist/types/impactHeader.d.ts +1 -52
  30. package/dist/types/index.d.ts +3 -3
  31. package/dist/types/information.d.ts +41 -18
  32. package/dist/types/progress.d.ts +0 -4
  33. package/dist/types/types.d.ts +9 -5
  34. package/dist/types/typography.d.ts +5 -11
  35. package/package.json +1 -2
  36. package/dist/components/Typography/utils.d.ts +0 -7
  37. package/dist/components/molecules/Information/utils.d.ts +0 -11
  38. package/dist/components/molecules/PageHeading/Promo/Promo.d.ts +0 -5
  39. package/dist/components/molecules/PageHeading/Promo/Promo.style.d.ts +0 -28
  40. package/dist/components/molecules/PageHeading/Promo/components/Badge.d.ts +0 -10
  41. package/dist/components/molecules/PageHeading/Promo/components/Button.d.ts +0 -10
  42. package/dist/components/molecules/PageHeading/Promo/components/Image.d.ts +0 -4
  43. package/dist/components/molecules/PageHeading/Promo/index.d.ts +0 -2
  44. package/dist/components/molecules/Swipe/Swipe.d.ts +0 -13
  45. package/dist/components/molecules/Swipe/Swipe.style.d.ts +0 -8
  46. package/dist/components/molecules/Swipe/helper.d.ts +0 -2
  47. package/dist/components/molecules/Swipe/index.d.ts +0 -2
  48. package/dist/components/organisms/Carousels/Carousel/Carousel.d.ts +0 -4
  49. package/dist/components/organisms/Carousels/Carousel/Carousel.style.d.ts +0 -11
  50. package/dist/components/organisms/Carousels/Carousel/helper.d.ts +0 -26
  51. package/dist/components/organisms/Carousels/Carousel/index.d.ts +0 -2
  52. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +0 -4
  53. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.style.d.ts +0 -21
  54. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCinema.d.ts +0 -4
  55. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCore.d.ts +0 -4
  56. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsStream.d.ts +0 -4
  57. package/dist/components/organisms/Carousels/HighlightsCarousel/components/Buttons.d.ts +0 -5
  58. package/dist/components/organisms/Carousels/HighlightsCarousel/components/InfoSection.d.ts +0 -10
  59. package/dist/components/organisms/Carousels/HighlightsCarousel/components/SwipeCarousel.d.ts +0 -12
  60. package/dist/components/organisms/Carousels/HighlightsCarousel/helper.d.ts +0 -291
  61. package/dist/components/organisms/Carousels/HighlightsCarousel/index.d.ts +0 -5
  62. package/dist/components/organisms/Carousels/MinimalCarousel/MinimalCarousel.d.ts +0 -4
  63. package/dist/components/organisms/Carousels/MinimalCarousel/MinimalCarousel.style.d.ts +0 -4
  64. package/dist/components/organisms/Carousels/MinimalCarousel/index.d.ts +0 -2
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
2
  import { IGenericTypographyProps, IHarmonicHeaderProps } from '../../types/typography';
3
+ import './styles.css';
3
4
  export declare const DisplayHeader: ({ children, size, em, color, serif, className }: IGenericTypographyProps) => React.JSX.Element;
4
5
  export declare const HarmonicHeader: ({ children, size, em, color, serif, hierarchy: Tag, className, }: IHarmonicHeaderProps) => React.JSX.Element;
5
6
  export declare const HarmonicSubtitle: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
6
- export declare const BodyCopyHarmonic: ({ children, size, color, className, ...props }: IGenericTypographyProps) => React.JSX.Element;
7
+ export declare const BodyCopyHarmonic: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
7
8
  export declare const HarmonicOverline: ({ children, size, color, className, ...props }: IGenericTypographyProps) => React.JSX.Element;
8
9
  export declare const ButtonText: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
9
10
  export declare const Caption: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
@@ -9,5 +9,3 @@ export declare const COLORS: {
9
9
  };
10
10
  export declare const getTextColor: ({ disabled, textColor }: PrimaryButtonProps) => string;
11
11
  export declare const getBackgroundColor: ({ disabled, backgroundColor }: PrimaryButtonProps) => string;
12
- export declare const getHoveredColor: ({ disabled, hoveredColor }: PrimaryButtonProps) => string;
13
- export declare const getPressedColor: ({ disabled, pressedColor }: PrimaryButtonProps) => string;
@@ -9,6 +9,5 @@ export declare const COLORS: {
9
9
  readonly pressed: "var(--button-secondary-pressed-color)";
10
10
  };
11
11
  export declare const getTextColor: ({ disabled, textColor }: SecondaryButtonProps) => string;
12
+ export declare const getBackgroundColor: ({ disabled }: SecondaryButtonProps) => string;
12
13
  export declare const getBorderColor: ({ disabled, borderColor }: SecondaryButtonProps) => string;
13
- export declare const getHoveredColor: ({ disabled, hoveredColor }: SecondaryButtonProps) => string;
14
- export declare const getPressedColor: ({ disabled, pressedColor }: SecondaryButtonProps) => string;
@@ -5,4 +5,4 @@ export declare const COLORS: {
5
5
  readonly hover: "var(--button-tertiary-hover-color)";
6
6
  readonly pressed: "var(--button-tertiary-pressed-color)";
7
7
  };
8
- export declare const getTextColor: ({ disabled, textColor }: TertiaryButtonProps) => string;
8
+ export declare const getButtonColor: ({ disabled, textColor }: TertiaryButtonProps) => string;
@@ -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: ({ colorLogo, colorBackground, alt, imageSource, children, }: ISponsorLogoProps) => React.ReactElement;
4
4
  export default SponsorLogo;
@@ -1 +1,2 @@
1
- export declare const SponsorLogoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { ISponsorLogoProps } from '../../../types/types';
2
+ export declare const SponsorLogoWrapper: import("styled-components").StyledComponent<"div", any, ISponsorLogoProps, never>;
@@ -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';
3
- import { AnchorTabBar, Footer, Navigation, StickyBar, TitleWithCTA, UpsellSection, Carousel, MinimalCarousel, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream } from './organisms';
4
- import { Accordion, Accordions, 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, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls, SignUpForm } from './molecules';
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
+ import { AnchorTabBar, Footer, Navigation, StickyBar, TitleWithCTA, UpsellSection } from './organisms';
4
+ import { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls, SignUpForm } 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, 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, 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, SignUpForm, };
8
+ export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SponsorLogo, 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, SignUpForm, };
@@ -4,7 +4,7 @@ export declare const SvgContainer: import("styled-components").StyledComponent<"
4
4
  isClickable?: boolean | undefined;
5
5
  }, never>;
6
6
  export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const OverlineWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
7
+ export declare const OverlineWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps) => import("react").JSX.Element, any, {}, never>;
8
8
  export declare const BannerContentWrapper: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps & {
9
9
  variant: BannerVariant;
10
10
  }, never>;
@@ -5,7 +5,7 @@ export declare const CardContainer: import("styled-components").StyledComponent<
5
5
  isCardClickable: boolean;
6
6
  }, never>;
7
7
  export declare const HoverContainer: import("styled-components").StyledComponent<"div", any, {
8
- lineColor?: "primary" | "primary-red" | "primary-black" | "base-white" | "base-black" | "base-dark-grey" | "base-mid-grey" | "base-light-grey" | "base-transparent" | "state-error" | "state-medium" | "state-good" | "state-focused" | "state-disabled" | "rbo-red-hovered" | "rbo-red-pressed" | "rbo-black-hovered" | "rbo-black-pressed" | "black-hovered" | "black-pressed" | "white-hovered" | "white-pressed" | "secondary-yellow" | "secondary-pink" | "secondary-orange" | "secondary-blue" | undefined;
8
+ lineColor?: Colors | undefined;
9
9
  }, never>;
10
10
  export declare const ProgressContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
11
  export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, ICardContentContainerProps, never>;
@@ -1,4 +1,13 @@
1
- export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { IInformationBackgroundColour, IInformationCtaVariant } from '../../../types/information';
2
+ export declare const InfoContent: import("styled-components").StyledComponent<"div", any, {}, never>;
2
3
  export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, Pick<import("../../../types/information").IInformationCTAProps, "theme" | "variant">, never>;
4
- export declare const InfoBodyWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
4
+ export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, {
5
+ variant: IInformationCtaVariant;
6
+ infoThemed: boolean;
7
+ }, never>;
8
+ export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {
9
+ background: IInformationBackgroundColour;
10
+ }, never>;
11
+ export declare const InfoBodyWrapper: import("styled-components").StyledComponent<"div", any, {
12
+ background: IInformationBackgroundColour;
13
+ }, never>;
@@ -3,6 +3,5 @@ import PageHeadingCinema from './Cinema';
3
3
  import PageHeadingImpact from './Impact';
4
4
  import PageHeadingPanel from './Panel';
5
5
  import PageHeadingStream from './Stream';
6
- import PageHeadingPromo from './Promo';
7
6
  import PageHeadingCompact from './Compact/Compact';
8
- export { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PageHeadingCompact, PageHeadingPanel, PageHeadingPromo, };
7
+ export { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PageHeadingCompact, PageHeadingPanel, };
@@ -7,7 +7,7 @@ import ContactCard from './ContactCard';
7
7
  import ContentSummary from './ContentSummary';
8
8
  import Editorial from './Editorial';
9
9
  import Information from './Information';
10
- import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingCompact, PageHeadingPromo } from './PageHeading';
10
+ import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingCompact } from './PageHeading';
11
11
  import Pagination from './Pagination';
12
12
  import { PeopleListing, CreditListing } from './PeopleListing';
13
13
  import PolicyLinks from './PolicyLinks';
@@ -33,4 +33,4 @@ import PasswordStrength from './PasswordStrength';
33
33
  import Table from './Table';
34
34
  import VideoWithControls from './VideoWithControls';
35
35
  import SignUpForm from './SignUpForm';
36
- export { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PolicyLinks, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, Quote, StatusBanner, SectionTitle, SearchBar, Select, Select2, Select2Async, Tabs, Table, TextOnly, UpsellCard, VideoWithControls, SignUpForm, };
36
+ export { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PolicyLinks, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, Quote, StatusBanner, SectionTitle, SearchBar, Select, Select2, Select2Async, Tabs, Table, TextOnly, UpsellCard, VideoWithControls, SignUpForm, };
@@ -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>;
@@ -5,7 +5,4 @@ import TitleWithCTA from './TitleWithCTA';
5
5
  import UpsellSection from './UpsellSection';
6
6
  import StickyBar from './StickyBar';
7
7
  import ModalWindow from './ModalWindow';
8
- import Carousel from './Carousels/Carousel';
9
- import { HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream } from './Carousels/HighlightsCarousel';
10
- import MinimalCarousel from './Carousels/MinimalCarousel';
11
- export { AnchorTabBar, Carousel, Footer, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, MinimalCarousel, ModalWindow, Navigation, StickyBar, TitleWithCTA, UpsellSection, };
8
+ export { AnchorTabBar, Footer, ModalWindow, Navigation, StickyBar, TitleWithCTA, UpsellSection };