@royaloperahouse/chord 0.7.47 → 0.7.48

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,10 +1,10 @@
1
- import { CtaVariant } from '../../../types/information';
1
+ import { BackgroundColour, CtaVariant } from '../../../types/information';
2
2
  export declare const InfoContent: 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
5
  variant: CtaVariant;
6
- important: boolean;
6
+ infoThemed: boolean;
7
7
  }, never>;
8
8
  export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {
9
- important: boolean;
9
+ background: BackgroundColour;
10
10
  }, never>;
@@ -14,6 +14,12 @@ export declare enum TitleVariant {
14
14
  Header = "Header",
15
15
  AltHeader = "AltHeader"
16
16
  }
17
+ export declare enum BackgroundColour {
18
+ Cinema = "cinema",
19
+ Core = "core",
20
+ Stream = "stream",
21
+ White = "white"
22
+ }
17
23
  export declare type TitleTextSize = 3 | 4 | 5 | 6;
18
24
  export interface CTAProps {
19
25
  /**
@@ -33,9 +39,9 @@ export interface CTAProps {
33
39
  */
34
40
  theme?: CtaTheme;
35
41
  /**
36
- * Adjust the CTA colours for display on Core Red backgrounds
42
+ * Flag to decide whether to adjust the CTA colours for display on coloured backgrounds
37
43
  */
38
- important?: boolean;
44
+ infoThemed: boolean;
39
45
  /**
40
46
  * Name of the icon to be used in the button
41
47
  */
@@ -73,7 +79,7 @@ export interface IInformationProps {
73
79
  */
74
80
  title: TitleProps;
75
81
  /**
76
- * Mark the component as important
82
+ * Background Colour. Choices: None, Core, Cinema, Stream
77
83
  */
78
- important: boolean;
84
+ background?: BackgroundColour;
79
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "0.7.47",
3
+ "version": "0.7.48",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",