@royaloperahouse/harmonic 0.1.7-d → 0.1.8-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.
@@ -4,8 +4,8 @@ import './styles.css';
4
4
  export declare const DisplayHeader: ({ children, size, em, color, serif, className }: IGenericTypographyProps) => React.JSX.Element;
5
5
  export declare const HarmonicHeader: ({ children, size, em, color, serif, hierarchy: Tag, className, }: IHarmonicHeaderProps) => React.JSX.Element;
6
6
  export declare const HarmonicSubtitle: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
7
- export declare const BodyCopyHarmonic: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
8
- export declare const HarmonicOverline: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
7
+ export declare const BodyCopyHarmonic: ({ children, size, color, className, ...props }: IGenericTypographyProps) => React.JSX.Element;
8
+ export declare const HarmonicOverline: ({ children, size, color, className, ...props }: IGenericTypographyProps) => React.JSX.Element;
9
9
  export declare const ButtonText: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
10
10
  export declare const Caption: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
11
11
  export declare const NavigationText: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const createClassNames: (baseClass: string, options: {
2
+ size?: string;
3
+ color?: string;
4
+ serif?: boolean;
5
+ em?: boolean;
6
+ className?: string;
7
+ }) => string;
@@ -9,5 +9,4 @@ 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;
13
12
  export declare const getBorderColor: ({ disabled, borderColor }: 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 getButtonColor: ({ disabled, textColor }: TertiaryButtonProps) => string;
8
+ export declare const getTextColor: ({ disabled, textColor }: TertiaryButtonProps) => string;
@@ -1,4 +1,4 @@
1
1
  import PrimaryButton from './Primary/PrimaryButton';
2
2
  import SecondaryButton from './Secondary/SecondaryButton';
3
3
  import TertiaryButton from './Tertiary/TertiaryButton';
4
- export { SecondaryButton, PrimaryButton, TertiaryButton };
4
+ export { PrimaryButton, SecondaryButton, TertiaryButton };
@@ -1,3 +1,10 @@
1
+ import { BannerVariant } from '../../../types/types';
1
2
  export declare const AnnouncementBannerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const SvgContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const SvgContainer: import("styled-components").StyledComponent<"div", any, {
4
+ isClickable?: boolean | undefined;
5
+ }, never>;
3
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>;
8
+ export declare const BannerContentWrapper: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps & {
9
+ variant: BannerVariant;
10
+ }, never>;
@@ -1,5 +1,5 @@
1
1
  import { ICardButtonContainerProps, ICardContentContainerProps } from '../../../types/card';
2
- import { Colors } from '../../..';
2
+ import { Colors } from '../../../types/types';
3
3
  export declare const CardContainer: import("styled-components").StyledComponent<"div", any, {
4
4
  onlyShowButtonsOnHover: boolean;
5
5
  isCardClickable: boolean;
@@ -1,13 +1,7 @@
1
- import { IInformationBackgroundColour, IInformationCtaVariant } from '../../../types/information';
2
- export declare const InfoContent: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import type { InformationCtaVariant } from '../../../types/information';
2
+ export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
4
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;
5
+ variant: InformationCtaVariant;
13
6
  }, never>;
7
+ export declare const InfoBodyWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
@@ -0,0 +1,10 @@
1
+ import type { InformationCtaVariant } from '../../../types/information';
2
+ export declare const COLORS: {
3
+ readonly default: "var(--information-panel-button-color)";
4
+ readonly background: "var(--information-panel-button-bg-color)";
5
+ readonly hover: "var(--information-panel-button-hover-color)";
6
+ readonly pressed: "var(--information-panel-button-pressed-color)";
7
+ };
8
+ export declare const getTextColor: (variant: InformationCtaVariant, colorValue: string) => string;
9
+ export declare const getBackgroundColor: (variant: InformationCtaVariant, colorValue: string) => string;
10
+ export declare const getBorderColor: (variant: InformationCtaVariant, colorValue: string) => string;
@@ -19,6 +19,10 @@
19
19
  color: var(--color-base-dark-grey);
20
20
  }
21
21
 
22
+ .styles_color-inherit__Y12df {
23
+ color: inherit;
24
+ }
25
+
22
26
  .styles_em__v4FoO {
23
27
  font-style: italic;
24
28
  }
@@ -313,7 +317,6 @@
313
317
  }
314
318
  }
315
319
 
316
-
317
320
  @font-face {
318
321
  font-family: 'GreyLLTT';
319
322
  src: url('https://s3.eu-west-1.amazonaws.com/static.roh.org.uk/fonts/harmonic/GreyLLTT-Regular.woff2') format('woff2');
@@ -340,7 +343,8 @@
340
343
 
341
344
  @font-face {
342
345
  font-family: 'VictorSerif';
343
- src: url('https://s3.eu-west-1.amazonaws.com/static.roh.org.uk/fonts/harmonic/VictorSerif-Medium.woff2') format('woff2');
346
+ src: url('https://s3.eu-west-1.amazonaws.com/static.roh.org.uk/fonts/harmonic/VictorSerif-Medium.woff2')
347
+ format('woff2');
344
348
  font-weight: 500;
345
349
  font-style: normal;
346
350
  font-display: swap;
@@ -348,13 +352,15 @@
348
352
 
349
353
  @font-face {
350
354
  font-family: 'VictorSerif';
351
- src: url('https://s3.eu-west-1.amazonaws.com/static.roh.org.uk/fonts/harmonic/VictorSerif-MediumItalic.woff2') format('woff2');
355
+ src: url('https://s3.eu-west-1.amazonaws.com/static.roh.org.uk/fonts/harmonic/VictorSerif-MediumItalic.woff2')
356
+ format('woff2');
352
357
  font-weight: 500;
353
358
  font-style: italic;
354
359
  font-display: swap;
355
360
  }
356
361
 
357
362
  .core-theme-module_coreTheme__pWxYB {
363
+ /* RBO Red */
358
364
  /* Primary Palette */
359
365
  --color-primary: #1a1a1a;
360
366
  --color-primary-red: #eb0a0a;
@@ -629,6 +635,18 @@
629
635
  --harmonic-text-link-underline-offset: 6px;
630
636
  --harmonic-font-size-navigation: 19px;
631
637
 
638
+ --announcement-banner-color: var(--color-base-white);
639
+ --announcement-banner-bg-color: var(--color-primary-red);
640
+ --announcement-banner-hover-color: var(--color-white-hovered);
641
+ --announcement-banner-pressed-color: var(--color-white-pressed);
642
+
643
+ --information-panel-color: var(--color-base-white);
644
+ --information-panel-bg-color: var(--color-primary-red);
645
+ --information-panel-button-color: var(--color-primary-black);
646
+ --information-panel-button-bg-color: var(--color-base-white);
647
+ --information-panel-button-hover-color: var(--color-white-hovered);
648
+ --information-panel-button-pressed-color: var(--color-white-pressed);
649
+
632
650
  @media (max-width: 699px) {
633
651
  --font-size-header-1: 38px;
634
652
  --font-weight-header-1: 500;
@@ -789,7 +807,7 @@
789
807
  }
790
808
 
791
809
  .stream-theme-module_streamTheme__lTfqQ {
792
- /* Stream theme overrides */
810
+ /* RBO Black */
793
811
  --base-color-primary: #1866dc;
794
812
  --color-primary: #1866dc;
795
813
  --color-primary-button: #1866dc;
@@ -806,18 +824,26 @@
806
824
  --button-secondary-color: var(--color-primary-black);
807
825
  --button-secondary-hover-color: var(--color-black-hovered);
808
826
  --button-secondary-pressed-color: var(--color-black-pressed);
809
- --button-tertiary-color: var(--color-primary-red);
810
- --button-tertiary-hover-color: var(--color-rbo-red-hovered);
811
- --button-tertiary-pressed-color: var(--color-rbo-red-pressed);
827
+ --button-tertiary-color: var(--color-primary-black);
828
+ --button-tertiary-hover-color: var(--color-rbo-black-hovered);
829
+ --button-tertiary-pressed-color: var(--color-rbo-black-pressed);
812
830
 
813
831
  --rotator-button-color: var(--color-base-white);
814
832
  --rotator-button-bg-color: var(--color-base-black);
815
833
  --rotator-button-hover-color: var(--color-base-white);
816
834
  --rotator-button-hover-bg-color: var(--color-primary-red);
835
+
836
+ --announcement-banner-color: var(--color-base-white);
837
+ --announcement-banner-bg-color: var(--color-primary-black);
838
+ --announcement-banner-hover-color: var(--color-white-hovered);
839
+ --announcement-banner-pressed-color: var(--color-white-pressed);
840
+
841
+ --information-panel-color: var(--color-base-white);
842
+ --information-panel-bg-color: var(--color-primary-black);
817
843
  }
818
844
 
819
845
  .cinema-theme-module_cinemaTheme__f5QFs {
820
- /* Cinema theme overrides */
846
+ /* White */
821
847
  --base-color-primary: #1a1a1a;
822
848
  --color-primary: #1a1a1a;
823
849
  --color-primary-button: #ffffff;
@@ -831,10 +857,10 @@
831
857
 
832
858
  --button-color: var(--color-primary-black);
833
859
  --button-bg-color: var(--color-base-white);
834
- --button-hover-color: var( --color-white-hovered);
860
+ --button-hover-color: var(--color-white-hovered);
835
861
  --button-pressed-color: var(--color-white-pressed);
836
862
  --button-secondary-color: var(--color-base-white);
837
- --button-secondary-hover-color: var( --color-white-hovered);
863
+ --button-secondary-hover-color: var(--color-white-hovered);
838
864
  --button-secondary-pressed-color: var(--color-white-pressed);
839
865
  --button-tertiary-color: var(--color-base-white);
840
866
  --button-tertiary-hover-color: var(--color-white-hovered);
@@ -844,6 +870,18 @@
844
870
  --rotator-button-bg-color: var(--color-base-light-grey);
845
871
  --rotator-button-hover-color: var(--color-base-white);
846
872
  --rotator-button-hover-bg-color: var(--color-primary-black);
873
+
874
+ --announcement-banner-color: var(--color-primary-red);
875
+ --announcement-banner-bg-color: var(--color-base-white);
876
+ --announcement-banner-hover-color: var(--color-rbo-red-hovered);
877
+ --announcement-banner-pressed-color: var(--color-rbo-red-pressed);
878
+
879
+ --information-panel-color: var(--color-primary-black);
880
+ --information-panel-bg-color: var(--color-base-white);
881
+ --information-panel-button-color: var(--color-base-white);
882
+ --information-panel-button-bg-color: var(--color-primary-red);
883
+ --information-panel-button-hover-color: var(--color-rbo-red-hovered);
884
+ --information-panel-button-pressed-color: var(--color-rbo-red-pressed);
847
885
  }
848
886
 
849
887
  .schools-theme-module_schoolsTheme__CWHba {