@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.
- package/CHANGELOG.md +3 -0
- package/dist/chord.cjs.development.js +24 -15
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +24 -15
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/molecules/Information/Information.style.d.ts +3 -3
- package/dist/types/information.d.ts +10 -4
- package/package.json +1 -1
|
@@ -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
|
-
|
|
6
|
+
infoThemed: boolean;
|
|
7
7
|
}, never>;
|
|
8
8
|
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
9
|
-
|
|
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
|
-
*
|
|
42
|
+
* Flag to decide whether to adjust the CTA colours for display on coloured backgrounds
|
|
37
43
|
*/
|
|
38
|
-
|
|
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
|
-
*
|
|
82
|
+
* Background Colour. Choices: None, Core, Cinema, Stream
|
|
77
83
|
*/
|
|
78
|
-
|
|
84
|
+
background?: BackgroundColour;
|
|
79
85
|
}
|