@royaloperahouse/chord 0.7.441 → 0.9.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.
- package/CHANGELOG.md +22 -0
- package/dist/chord.cjs.development.js +477 -191
- 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 +485 -198
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/Card/Card.style.d.ts +3 -1
- package/dist/components/molecules/Information/InfoCta.d.ts +4 -0
- package/dist/components/molecules/Information/Information.d.ts +4 -0
- package/dist/components/molecules/Information/Information.style.d.ts +10 -0
- package/dist/components/molecules/Information/index.d.ts +2 -0
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +5 -1
- package/dist/components/molecules/index.d.ts +2 -1
- package/dist/components/organisms/HighlightsCarousel/HighlightsCarousel.style.d.ts +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/types/buttonTypes.d.ts +5 -0
- package/dist/types/card.d.ts +13 -2
- package/dist/types/carousel.d.ts +1 -1
- package/dist/types/editorial.d.ts +16 -3
- package/dist/types/index.d.ts +3 -1
- package/dist/types/information.d.ts +85 -0
- package/dist/types/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, TextLink, Tickbox, TypeTags } from './atoms';
|
|
2
2
|
import { AnchorTabBar, Carousel, Footer, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, LiveChat, Navigation, StickyBar, TitleWithCTA } from './organisms';
|
|
3
|
-
import { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, Editorial, ImageWithCaption, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTags, PromoWithTitle, SectionTitle, Tabs, TextOnly, Quote } from './molecules';
|
|
3
|
+
import { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTags, PromoWithTitle, SectionTitle, Tabs, TextOnly, Quote } from './molecules';
|
|
4
4
|
import ThemeProvider from '../styles/ThemeProvider';
|
|
5
5
|
import GlobalStyles from '../styles/GlobalStyles';
|
|
6
|
-
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards, ContactCard, Carousel, CinemaBadge, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags, Quote, LiveChat, };
|
|
6
|
+
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards, ContactCard, Carousel, CinemaBadge, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags, Quote, LiveChat, };
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ICardButtonContainerProps, ICardContentContainerProps } from '../../../types/card';
|
|
2
|
-
export declare const CardContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
export declare const CardContainer: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
onlyShowButtonsOnHover: boolean;
|
|
4
|
+
}, never>;
|
|
3
5
|
export declare const HoverContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
6
|
export declare const ProgressContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
7
|
export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, ICardContentContainerProps, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BackgroundColour, CtaVariant } from '../../../types/information';
|
|
2
|
+
export declare const InfoContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
+
variant: CtaVariant;
|
|
6
|
+
infoThemed: boolean;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
9
|
+
background: BackgroundColour;
|
|
10
|
+
}, never>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IEditorialGridProps, IPromoWithTagsStyledProps } from '../../../types/editorial';
|
|
2
2
|
export declare const PromoWithTagsGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
4
4
|
export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
5
5
|
export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const PromoWithTagsSubtitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -10,3 +10,7 @@ export declare const PromoWithTagsTagWrapper: import("styled-components").Styled
|
|
|
10
10
|
export declare const PromoWithTagsAdditionalText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
11
|
export declare const TextLinksContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
12
|
export declare const TextLinkWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const ExtraContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
+
export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
|
+
export declare const MobileTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -5,6 +5,7 @@ import Card from './Card';
|
|
|
5
5
|
import Cards from './Cards';
|
|
6
6
|
import ContactCard from './ContactCard';
|
|
7
7
|
import Editorial from './Editorial';
|
|
8
|
+
import Information from './Information';
|
|
8
9
|
import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream } from './PageHeading';
|
|
9
10
|
import PeopleListing from './PeopleListing';
|
|
10
11
|
import PromoWithTags from './PromoWithTags';
|
|
@@ -14,4 +15,4 @@ import Tabs from './Tabs';
|
|
|
14
15
|
import TextOnly from './TextOnly';
|
|
15
16
|
import ImageWithCaption from './ImageWithCaption';
|
|
16
17
|
import Quote from './Quote';
|
|
17
|
-
export { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, Editorial, ImageWithCaption, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTags, PromoWithTitle, SectionTitle, Tabs, TextOnly, Quote, };
|
|
18
|
+
export { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTags, PromoWithTitle, SectionTitle, Tabs, TextOnly, Quote, };
|
|
@@ -9,3 +9,4 @@ export declare const CarouselWrapper: import("styled-components").StyledComponen
|
|
|
9
9
|
export declare const RotatorButtonsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const RotatorButtonsWrapperMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
11
|
export declare const HtmlBodyText: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
12
|
+
export declare const FirstButtonComponentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards, Carousel, CinemaBadge, ContactCard, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags, Quote } from './components';
|
|
1
|
+
import { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards, Carousel, CinemaBadge, ContactCard, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags, Quote } from './components';
|
|
2
2
|
import { devices } from './styles/viewports';
|
|
3
|
-
import { AspectRatio, CarouselType, Colors, IconNameType, TickboxMode, ThemeType } from './types';
|
|
4
|
-
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AspectRatio, BodyText, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, ContactCard, ControlledDropdown, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextLink, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, TickboxMode, TypeTags, Quote, };
|
|
3
|
+
import { AspectRatio, CarouselType, Colors, IconNameType, TickboxMode, ThemeType, ButtonType } from './types';
|
|
4
|
+
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AspectRatio, BodyText, ButtonType, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, ContactCard, ControlledDropdown, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTags, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StickyBar, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextLink, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, TickboxMode, TypeTags, Quote, };
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { ReactNode, AnchorHTMLAttributes, MouseEventHandler } from 'react';
|
|
2
2
|
import { IconNameType, DirectionType } from './iconTypes';
|
|
3
3
|
import { Colors } from './types';
|
|
4
|
+
export declare enum ButtonType {
|
|
5
|
+
Primary = "Primary",
|
|
6
|
+
Secondary = "Secondary",
|
|
7
|
+
Tertiary = "Tertiary"
|
|
8
|
+
}
|
|
4
9
|
export interface IButtonProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
5
10
|
children: ReactNode;
|
|
6
11
|
/**
|
package/dist/types/card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyledProps } from 'styled-components';
|
|
2
|
-
import { PromoLinks } from '
|
|
2
|
+
import { PromoLinks } from './editorial';
|
|
3
3
|
export interface ICardProps {
|
|
4
4
|
/**
|
|
5
5
|
* The progress percentage
|
|
@@ -33,7 +33,6 @@ export interface ICardProps {
|
|
|
33
33
|
* Image to render
|
|
34
34
|
*/
|
|
35
35
|
image?: string;
|
|
36
|
-
/**
|
|
37
36
|
/**
|
|
38
37
|
* Image alt text
|
|
39
38
|
*/
|
|
@@ -46,6 +45,14 @@ export interface ICardProps {
|
|
|
46
45
|
* Set if content gets full width (same as image)
|
|
47
46
|
*/
|
|
48
47
|
fullWidth?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Defines if buttons are hidden; True by default;
|
|
50
|
+
*/
|
|
51
|
+
onlyShowButtonsOnHover?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* A callback to be called when the
|
|
54
|
+
*/
|
|
55
|
+
onClick?: VoidFunction;
|
|
49
56
|
}
|
|
50
57
|
export interface ICardContentContainerProps extends StyledProps<any> {
|
|
51
58
|
/**
|
|
@@ -76,4 +83,8 @@ export interface ICardButtonContainerProps {
|
|
|
76
83
|
* Set the length of tertiary button text
|
|
77
84
|
*/
|
|
78
85
|
tertiaryButtonTextLength: number;
|
|
86
|
+
/**
|
|
87
|
+
* Hides buttons by default using opacity; shows buttons on
|
|
88
|
+
*/
|
|
89
|
+
onlyShowButtonsOnHover?: boolean;
|
|
79
90
|
}
|
package/dist/types/carousel.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { AnchorHTMLAttributes, MouseEventHandler, ReactElement, ReactNode } from 'react';
|
|
2
2
|
import { StyledProps } from 'styled-components';
|
|
3
|
+
import { ButtonType } from './buttonTypes';
|
|
3
4
|
import { DirectionType, IconNameType } from './iconTypes';
|
|
4
|
-
import { Colors } from './types';
|
|
5
|
+
import { Colors, Image } from './types';
|
|
5
6
|
export interface IEditorialProps {
|
|
6
7
|
/**
|
|
7
8
|
* Text placed in the editorial component
|
|
@@ -37,6 +38,10 @@ export interface IEditorialGridProps {
|
|
|
37
38
|
* Indicates if component has block for the text links
|
|
38
39
|
*/
|
|
39
40
|
hasTextLinks?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates if component should be hidden
|
|
43
|
+
*/
|
|
44
|
+
hideSection?: boolean;
|
|
40
45
|
}
|
|
41
46
|
export interface IPromoWithTagsStyledProps {
|
|
42
47
|
/**
|
|
@@ -69,6 +74,10 @@ export declare type EditorialLink = AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
|
69
74
|
* background color
|
|
70
75
|
*/
|
|
71
76
|
bgColor?: Colors;
|
|
77
|
+
/**
|
|
78
|
+
* type of the button to be rendered; When not passed the Primary and Tetriary are displayed by default;
|
|
79
|
+
*/
|
|
80
|
+
buttonType?: ButtonType;
|
|
72
81
|
};
|
|
73
82
|
export declare type PromoLinks = [EditorialLink, EditorialLink?];
|
|
74
83
|
export interface IPromoWithTitleProps {
|
|
@@ -187,9 +196,13 @@ export interface IPromoWithTagsProps {
|
|
|
187
196
|
*/
|
|
188
197
|
imagePosition?: 'left' | 'right';
|
|
189
198
|
/**
|
|
190
|
-
* Image
|
|
199
|
+
* Image to be displayed in the editorial component with aspect ratio 4:3
|
|
191
200
|
*/
|
|
192
|
-
|
|
201
|
+
image?: Image;
|
|
202
|
+
/**
|
|
203
|
+
* Component to be displayed instead of the image after clicking on the button
|
|
204
|
+
*/
|
|
205
|
+
children?: ReactElement<HTMLElement>;
|
|
193
206
|
/**
|
|
194
207
|
* Array of buttons props. First one should have PrimaryButton attributes, second one Tertiary button attributes
|
|
195
208
|
*/
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5,4 +5,6 @@ import { CarouselType } from './carousel';
|
|
|
5
5
|
import { IconNameType } from './iconTypes';
|
|
6
6
|
import { AspectRatio } from './image';
|
|
7
7
|
import { TickboxMode } from './tickbox';
|
|
8
|
-
|
|
8
|
+
import { ButtonType } from './buttonTypes';
|
|
9
|
+
import { EditorialLink } from './editorial';
|
|
10
|
+
export { AspectRatio, ButtonType, CarouselType, Colors, EditorialLink, FooterData, IconNameType, INavigationProps, INavTopProps, TickboxMode, ThemeType, };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { DirectionType, IconNameType } from './iconTypes';
|
|
2
|
+
export declare enum CtaVariant {
|
|
3
|
+
Primary = "Primary",
|
|
4
|
+
Secondary = "Secondary",
|
|
5
|
+
Tertiary = "Tertiary",
|
|
6
|
+
TextLink = "TextLink"
|
|
7
|
+
}
|
|
8
|
+
export declare enum CtaTheme {
|
|
9
|
+
Cinema = "Cinema",
|
|
10
|
+
Core = "Core",
|
|
11
|
+
Stream = "Stream"
|
|
12
|
+
}
|
|
13
|
+
export declare enum TitleVariant {
|
|
14
|
+
Header = "Header",
|
|
15
|
+
AltHeader = "AltHeader"
|
|
16
|
+
}
|
|
17
|
+
export declare enum BackgroundColour {
|
|
18
|
+
Cinema = "cinema",
|
|
19
|
+
Core = "core",
|
|
20
|
+
Stream = "stream",
|
|
21
|
+
White = "white"
|
|
22
|
+
}
|
|
23
|
+
export declare type TitleTextSize = 3 | 4 | 5 | 6;
|
|
24
|
+
export interface CTAProps {
|
|
25
|
+
/**
|
|
26
|
+
* Text to display on the CTA
|
|
27
|
+
*/
|
|
28
|
+
text: string;
|
|
29
|
+
/**
|
|
30
|
+
* Link for the CTA
|
|
31
|
+
*/
|
|
32
|
+
link: string;
|
|
33
|
+
/**
|
|
34
|
+
* Style of the CTA. Choices are "Primary" (solid button background), "Secondary" (transparent button background) or "Tertiary" (text only)
|
|
35
|
+
*/
|
|
36
|
+
variant?: CtaVariant;
|
|
37
|
+
/**
|
|
38
|
+
* Theme to use for the CTA. Choices are "Core" (red), "Stream" (blue), or "Cinema" (black)
|
|
39
|
+
*/
|
|
40
|
+
theme?: CtaTheme;
|
|
41
|
+
/**
|
|
42
|
+
* Flag to decide whether to adjust the CTA colours for display on coloured backgrounds
|
|
43
|
+
*/
|
|
44
|
+
infoThemed: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Name of the icon to be used in the button
|
|
47
|
+
*/
|
|
48
|
+
iconName?: IconNameType;
|
|
49
|
+
/**
|
|
50
|
+
* Direction of the icon used in the button
|
|
51
|
+
*/
|
|
52
|
+
iconDirection?: DirectionType;
|
|
53
|
+
}
|
|
54
|
+
export interface TitleProps {
|
|
55
|
+
/**
|
|
56
|
+
* Title text to display
|
|
57
|
+
*/
|
|
58
|
+
text: string;
|
|
59
|
+
/**
|
|
60
|
+
* Title typography type. Choices are Heading or AltHeader
|
|
61
|
+
*/
|
|
62
|
+
variant: TitleVariant;
|
|
63
|
+
/**
|
|
64
|
+
* The size of the title text
|
|
65
|
+
*/
|
|
66
|
+
textSize: TitleTextSize;
|
|
67
|
+
}
|
|
68
|
+
export interface IInformationProps {
|
|
69
|
+
/**
|
|
70
|
+
* Main body text to display in the Information Component
|
|
71
|
+
*/
|
|
72
|
+
body: string;
|
|
73
|
+
/**
|
|
74
|
+
* Optional CTA to display underneath the body text
|
|
75
|
+
*/
|
|
76
|
+
cta?: CTAProps;
|
|
77
|
+
/**
|
|
78
|
+
* Title options for the component
|
|
79
|
+
*/
|
|
80
|
+
title: TitleProps;
|
|
81
|
+
/**
|
|
82
|
+
* Background Colour. Choices: None, Core, Cinema, Stream
|
|
83
|
+
*/
|
|
84
|
+
background?: BackgroundColour;
|
|
85
|
+
}
|
package/dist/types/types.d.ts
CHANGED