@royaloperahouse/chord 1.1.0 → 1.2.10
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 +196 -4
- package/README.GIT +211 -56
- package/README.md +2 -2
- package/dist/chord.cjs.development.js +4009 -1673
- 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 +4109 -1787
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/Icons/SvgIcons/Logos/Social/X.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +1 -0
- package/dist/components/atoms/Progress/Progress.d.ts +1 -1
- package/dist/components/atoms/Progress/Progress.styles.d.ts +10 -3
- package/dist/components/atoms/Radio/Radio.d.ts +3 -0
- package/dist/components/atoms/Radio/Radio.style.d.ts +4 -0
- package/dist/components/atoms/Radio/index.d.ts +2 -0
- package/dist/components/atoms/Sponsorship/Sponsorship.style.d.ts +2 -0
- package/dist/components/atoms/Stepper/Stepper.d.ts +58 -0
- package/dist/components/atoms/Stepper/Stepper.style.d.ts +6 -0
- package/dist/components/atoms/Stepper/index.d.ts +2 -0
- package/dist/components/atoms/TextArea/TextArea.d.ts +44 -0
- package/dist/components/atoms/TextArea/TextArea.style.d.ts +5 -0
- package/dist/components/atoms/TextArea/index.d.ts +2 -0
- package/dist/components/atoms/TextField/TextField.d.ts +41 -0
- package/dist/components/atoms/TextField/TextField.style.d.ts +5 -0
- package/dist/components/atoms/TextField/index.d.ts +2 -0
- package/dist/components/atoms/TextLogo/TextLogo.d.ts +13 -0
- package/dist/components/atoms/TextLogo/index.d.ts +2 -0
- package/dist/components/atoms/TextLogo/styled.d.ts +12 -0
- package/dist/components/atoms/Tickbox/Tickbox.style.d.ts +5 -0
- package/dist/components/atoms/Timer/Timer.d.ts +4 -0
- package/dist/components/atoms/Timer/Timer.style.d.ts +9 -0
- package/dist/components/atoms/Timer/index.d.ts +2 -0
- package/dist/components/atoms/Typography/Typography.d.ts +1 -1
- package/dist/components/atoms/VideoControls/VideoControls.d.ts +9 -0
- package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +10 -0
- package/dist/components/atoms/VideoControls/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +14 -6
- package/dist/components/index.d.ts +4 -4
- package/dist/components/molecules/Basket/Basket.d.ts +3 -0
- package/dist/components/molecules/Basket/helpers.d.ts +3 -0
- package/dist/components/molecules/Basket/hooks.d.ts +8 -0
- package/dist/components/molecules/Card/Card.style.d.ts +13 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +3 -0
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +17 -0
- package/dist/components/molecules/ContentSummary/ContentSummaryData.d.ts +25 -0
- package/dist/components/molecules/ContentSummary/index.d.ts +2 -0
- package/dist/components/molecules/MiniCard/MiniCard.d.ts +4 -0
- package/dist/components/molecules/MiniCard/MiniCard.style.d.ts +6 -0
- package/dist/components/molecules/MiniCard/index.d.ts +2 -0
- package/dist/components/molecules/NavTop/NavTop.d.ts +1 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.d.ts +4 -0
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +24 -0
- package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.d.ts +10 -0
- package/dist/components/molecules/PageHeading/Compact/index.d.ts +2 -0
- package/dist/components/molecules/PageHeading/Impact/Impact.d.ts +1 -1
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +1 -0
- package/dist/components/molecules/PageHeading/PageHeading.style.d.ts +6 -3
- package/dist/components/molecules/PageHeading/Panel/Panel.d.ts +4 -0
- package/dist/components/molecules/PageHeading/Panel/Panel.style.d.ts +9 -0
- package/dist/components/molecules/PageHeading/Panel/index.d.ts +2 -0
- package/dist/components/molecules/PageHeading/index.d.ts +3 -1
- package/dist/components/molecules/Pagination/Pagination.d.ts +9 -0
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +8 -0
- package/dist/components/molecules/Pagination/index.d.ts +2 -0
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +3 -0
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +5 -0
- package/dist/components/molecules/PeopleListing/CreditListing/index.d.ts +2 -0
- package/dist/components/molecules/PeopleListing/index.d.ts +2 -1
- package/dist/components/molecules/PromoWithTags/PromoWithTags.d.ts +1 -1
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +11 -4
- package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +3 -0
- package/dist/components/molecules/RadioGroup/RadioGroup.style.d.ts +1 -0
- package/dist/components/molecules/RadioGroup/index.d.ts +2 -0
- package/dist/components/molecules/SearchBar/SearchBar.style.d.ts +1 -0
- package/dist/components/molecules/Select/Select.d.ts +99 -0
- package/dist/components/molecules/Select/Select.style.d.ts +14 -0
- package/dist/components/molecules/Select/index.d.ts +2 -0
- package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -0
- package/dist/components/molecules/UpsellCard/UpsellCard.d.ts +4 -0
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +15 -0
- package/dist/components/molecules/UpsellCard/index.d.ts +2 -0
- package/dist/components/molecules/UpsellCards/UpsellCards.d.ts +4 -0
- package/dist/components/molecules/UpsellCards/UpsellCards.style.d.ts +1 -0
- package/dist/components/molecules/UpsellCards/index.d.ts +2 -0
- package/dist/components/molecules/index.d.ts +10 -3
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +4 -3
- package/dist/components/organisms/Navigation/Navigation.style.d.ts +6 -2
- package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +5 -1
- package/dist/components/organisms/UpsellSection/UpsellSection.d.ts +4 -0
- package/dist/components/organisms/UpsellSection/UpsellSection.style.d.ts +3 -0
- package/dist/components/organisms/UpsellSection/index.d.ts +2 -0
- package/dist/components/organisms/index.d.ts +2 -3
- package/dist/helpers/arrays.d.ts +6 -0
- package/dist/helpers/defaultValues.d.ts +7 -0
- package/dist/helpers/devices.d.ts +3 -0
- package/dist/helpers/formatStrings.d.ts +2 -0
- package/dist/helpers/htmlStrings.d.ts +2 -0
- package/dist/helpers/urls.d.ts +2 -0
- package/dist/index.d.ts +6 -4
- package/dist/styles/themes.d.ts +1172 -96
- package/dist/styles/viewports.d.ts +3 -0
- package/dist/types/card.d.ts +40 -0
- package/dist/types/carousel.d.ts +22 -1
- package/dist/types/creditListing.d.ts +12 -0
- package/dist/types/editorial.d.ts +59 -55
- package/dist/types/formTypes.d.ts +170 -0
- package/dist/types/impactHeader.d.ts +122 -0
- package/dist/types/index.d.ts +4 -1
- package/dist/types/miniCard.d.ts +27 -0
- package/dist/types/navigation.d.ts +68 -4
- package/dist/types/progress.d.ts +33 -0
- package/dist/types/promoWithTags.d.ts +81 -0
- package/dist/types/tickbox.d.ts +35 -0
- package/dist/types/timer.d.ts +37 -0
- package/dist/types/types.d.ts +38 -9
- package/dist/types/typography.d.ts +18 -2
- package/dist/types/upsell.d.ts +78 -0
- package/dist/types/utility.d.ts +4 -0
- package/package.json +9 -4
- package/dist/components/atoms/Basket/Basket.d.ts +0 -3
- package/dist/components/organisms/Carousel/Carousel.d.ts +0 -5
- package/dist/components/organisms/Carousel/Carousel.style.d.ts +0 -6
- package/dist/components/organisms/Carousel/index.d.ts +0 -2
- package/dist/components/organisms/HighlightsCarousel/HighlightsCarousel.d.ts +0 -5
- package/dist/components/organisms/HighlightsCarousel/HighlightsCarousel.style.d.ts +0 -12
- package/dist/components/organisms/HighlightsCarousel/HighlightsCinema.d.ts +0 -4
- package/dist/components/organisms/HighlightsCarousel/HighlightsCore.d.ts +0 -4
- package/dist/components/organisms/HighlightsCarousel/HighlightsStream.d.ts +0 -4
- package/dist/components/organisms/HighlightsCarousel/index.d.ts +0 -5
- /package/dist/components/{atoms → molecules}/Basket/Basket.style.d.ts +0 -0
- /package/dist/components/{atoms → molecules}/Basket/index.d.ts +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const PanelGrid: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
color: string | undefined;
|
|
3
|
+
}, never>;
|
|
4
|
+
export declare const LeftPanel: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
+
hasImage: boolean;
|
|
6
|
+
}, never>;
|
|
7
|
+
export declare const RightPanel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const ScrollDownWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import PageHeadingCore from './Core';
|
|
2
2
|
import PageHeadingCinema from './Cinema';
|
|
3
3
|
import PageHeadingImpact from './Impact';
|
|
4
|
+
import PageHeadingPanel from './Panel';
|
|
4
5
|
import PageHeadingStream from './Stream';
|
|
5
|
-
|
|
6
|
+
import PageHeadingCompact from './Compact/Compact';
|
|
7
|
+
export { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PageHeadingCompact, PageHeadingPanel, };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PageData {
|
|
3
|
+
currentPage: number;
|
|
4
|
+
pageCount: number;
|
|
5
|
+
baseUrl: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const reducePages: (pages: number[], currentPage: number) => number[];
|
|
8
|
+
declare const Pagination: ({ pageCount, currentPage, baseUrl }: PageData) => React.ReactElement;
|
|
9
|
+
export default Pagination;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const MorePages: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
2
|
+
export declare const PageNumberWrapper: import("styled-components").StyledComponent<"ol", any, {}, never>;
|
|
3
|
+
export declare const PageNumber: import("styled-components").StyledComponent<"a", any, {
|
|
4
|
+
active?: string | undefined;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const NextPage: import("styled-components").StyledComponent<"a", any, {
|
|
7
|
+
active?: string | undefined;
|
|
8
|
+
}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const ReplacementWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const CreditListingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const DescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const CreditWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import { IPromoWithTagsProps } from '../../../types/
|
|
2
|
+
import { IPromoWithTagsProps } from '../../../types/promoWithTags';
|
|
3
3
|
declare const PromoWithTags: FunctionComponent<IPromoWithTagsProps>;
|
|
4
4
|
export default PromoWithTags;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IEditorialGridProps } from '../../../types/editorial';
|
|
3
|
+
import { IPromoWithTagsStyledProps } from '../../../types/promoWithTags';
|
|
2
4
|
export declare const PromoWithTagsGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
3
|
-
export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
4
|
-
export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
5
|
-
export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
5
|
export declare const PromoWithTagsSubtitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
7
6
|
export declare const PromoWithTagsText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
7
|
export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
@@ -14,3 +13,11 @@ export declare const ExtraContentWrapper: import("styled-components").StyledComp
|
|
|
14
13
|
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
14
|
export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
15
|
export declare const MobileTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
|
+
export declare const PromoWithTagsTypeTags: import("styled-components").StyledComponent<({ list }: import("../../../types/types").ITypeTagsProps) => JSX.Element, any, {}, never>;
|
|
17
|
+
export declare const PromoWithTagsHeader: import("styled-components").StyledComponent<({ semanticLevel, level, children }: import("../../../types/typography").IHeaderProps) => JSX.Element, any, {}, never>;
|
|
18
|
+
export declare const PromoWithTagsTextLink: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/types").ITextLinkProps>, any, {}, never>;
|
|
19
|
+
export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
20
|
+
export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
21
|
+
export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
22
|
+
export declare const TimerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
23
|
+
export declare const EndDateText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { IRadioGroupProps } from '../../../types/formTypes';
|
|
2
|
+
declare const RadioGroup: ({ radios, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, columnStartSmallDevice, columnSpanSmallDevice, onChange, }: IRadioGroupProps) => JSX.Element;
|
|
3
|
+
export default RadioGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RadioGroupContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const SearchBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const SvgContainerSearch: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const SvgContainerClose: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const SearchUnavailableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
6
|
export declare const SearchLinkContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
7
|
export declare const SearchArrowContainer: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ISelectProps } from '../../../types/formTypes';
|
|
2
|
+
/**
|
|
3
|
+
* A select component, created using <ul> and <li> elements, with bespoke accessibility
|
|
4
|
+
* logic.
|
|
5
|
+
*
|
|
6
|
+
* # Usage
|
|
7
|
+
* ## Defining a component that uses a typical Select element
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const MyComponent = () => {
|
|
10
|
+
* const handleSelect = (value: number, text: string) => {
|
|
11
|
+
* console.log("Selected", value);
|
|
12
|
+
* };
|
|
13
|
+
*
|
|
14
|
+
* return <>
|
|
15
|
+
* <Select
|
|
16
|
+
* label="This is a label"
|
|
17
|
+
* options={[
|
|
18
|
+
* { text: "Option 1", value: 1 },
|
|
19
|
+
* { text: "Option 2", value: 2 },
|
|
20
|
+
* ]}
|
|
21
|
+
* onSelect={handleSelect}
|
|
22
|
+
* />
|
|
23
|
+
* </>
|
|
24
|
+
* }
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Defining a component that uses a disabled Select element
|
|
28
|
+
* ```tsx
|
|
29
|
+
* const MyComponent = () => {
|
|
30
|
+
* const handleSelect = (value: number, text: string) => {
|
|
31
|
+
* console.log("Selected", value);
|
|
32
|
+
* };
|
|
33
|
+
*
|
|
34
|
+
* return <>
|
|
35
|
+
* <Select
|
|
36
|
+
* disabled // Select component disabled explicitely
|
|
37
|
+
* label="This is a label"
|
|
38
|
+
* options={[
|
|
39
|
+
* { text: "Option 1", value: 1 },
|
|
40
|
+
* { text: "Option 2", value: 2 },
|
|
41
|
+
* ]}
|
|
42
|
+
* onSelect={handleSelect}
|
|
43
|
+
* />
|
|
44
|
+
* <Select
|
|
45
|
+
* label="This is a label"
|
|
46
|
+
* options={[]} // Select component disabled implicitely by passing an empty array of options
|
|
47
|
+
* onSelect={handleSelect}
|
|
48
|
+
* />
|
|
49
|
+
* </>
|
|
50
|
+
* }
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Defining a component with a non-labelled Select element
|
|
54
|
+
* ```tsx
|
|
55
|
+
* const MyComponent = () => {
|
|
56
|
+
* const handleSelect = (value: number, text: string) => {
|
|
57
|
+
* console.log("Selected", value);
|
|
58
|
+
* };
|
|
59
|
+
*
|
|
60
|
+
* return <>
|
|
61
|
+
* <Select
|
|
62
|
+
* label=""
|
|
63
|
+
* options={[
|
|
64
|
+
* { text: "Option 1", value: 1 },
|
|
65
|
+
* { text: "Option 2", value: 2 },
|
|
66
|
+
* ]}
|
|
67
|
+
* onSelect={handleSelect}
|
|
68
|
+
* />
|
|
69
|
+
* </>
|
|
70
|
+
* }
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Changing the dimensions of a Select element (px)
|
|
74
|
+
* ```tsx
|
|
75
|
+
* const MyComponent = () => {
|
|
76
|
+
* const handleSelect = (value: number, text: string) => {
|
|
77
|
+
* console.log("Selected", value);
|
|
78
|
+
* };
|
|
79
|
+
*
|
|
80
|
+
* const selectWidthPx = 100;
|
|
81
|
+
* const selectHeightPx = 27;
|
|
82
|
+
*
|
|
83
|
+
* return <>
|
|
84
|
+
* <Select
|
|
85
|
+
* label="This is a label"
|
|
86
|
+
* options={[
|
|
87
|
+
* { text: "Option 1", value: 1 },
|
|
88
|
+
* { text: "Option 2", value: 2 },
|
|
89
|
+
* ]}
|
|
90
|
+
* onSelect={handleSelect}
|
|
91
|
+
* width={selectWidthPx}
|
|
92
|
+
* height={selectHeightPx}
|
|
93
|
+
* />
|
|
94
|
+
* </>
|
|
95
|
+
* }
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
declare function Select<T>({ label, options, onSelect, disabled, resetWhenOptionsUpdate, width, height, }: ISelectProps<T>): JSX.Element;
|
|
99
|
+
export default Select;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ISelectProps } from '../../../types/formTypes';
|
|
3
|
+
export declare const ArrowIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ className, color, iconName, title, direction }: import("../../../types/iconTypes").IIconProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>>, any, {
|
|
4
|
+
iconName: "DropdownArrow";
|
|
5
|
+
color: string;
|
|
6
|
+
title: "Select Arrow";
|
|
7
|
+
}, "title" | "color" | "iconName">;
|
|
8
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const SelectWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
export declare const Options: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const Option: import("styled-components").StyledComponent<"li", any, {
|
|
12
|
+
hover: boolean;
|
|
13
|
+
}, never>;
|
|
14
|
+
export declare const SelectList: import("styled-components").StyledComponent<"ul", any, Pick<Required<ISelectProps<unknown>>, "height" | "width">, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Colors } from '../../../types';
|
|
2
|
+
declare type withColor = {
|
|
3
|
+
theme: {
|
|
4
|
+
color: Colors;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const PromoLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const PromoLabel: import("styled-components").StyledComponent<"div", any, withColor, never>;
|
|
10
|
+
export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const OfferTextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const PriceRow: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
export declare const LineThrough: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -4,15 +4,22 @@ import AnnouncementBanner from './AnnouncementBanner';
|
|
|
4
4
|
import Card from './Card';
|
|
5
5
|
import Cards from './Cards';
|
|
6
6
|
import ContactCard from './ContactCard';
|
|
7
|
+
import ContentSummary from './ContentSummary';
|
|
7
8
|
import Editorial from './Editorial';
|
|
8
9
|
import Information from './Information';
|
|
9
|
-
import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream } from './PageHeading';
|
|
10
|
-
import
|
|
10
|
+
import { PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PageHeadingCompact } from './PageHeading';
|
|
11
|
+
import Pagination from './Pagination';
|
|
12
|
+
import { PeopleListing, CreditListing } from './PeopleListing';
|
|
11
13
|
import PromoWithTags from './PromoWithTags';
|
|
12
14
|
import PromoWithTitle from './PromoWithTitle';
|
|
15
|
+
import RadioGroup from './RadioGroup';
|
|
16
|
+
import SearchBar from './SearchBar';
|
|
13
17
|
import SectionTitle from './SectionTitle';
|
|
18
|
+
import Select from './Select';
|
|
14
19
|
import Tabs from './Tabs';
|
|
15
20
|
import TextOnly from './TextOnly';
|
|
21
|
+
import UpsellCard from './UpsellCard';
|
|
16
22
|
import ImageWithCaption from './ImageWithCaption';
|
|
17
23
|
import Quote from './Quote';
|
|
18
|
-
|
|
24
|
+
import MiniCard from './MiniCard';
|
|
25
|
+
export { Accordion, Accordions, AnnouncementBanner, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, Quote, SectionTitle, SearchBar, Select, Tabs, TextOnly, UpsellCard, };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { IAnchorTabsListProps } from '../../../types/navigation';
|
|
2
|
-
export declare const
|
|
1
|
+
import { IAnchorTabArrowsBoxProps, IAnchorTabsListProps, IAnchorTabBarBorderProps } from '../../../types/navigation';
|
|
2
|
+
export declare const LIST_ITEM_GAP = 32;
|
|
3
|
+
export declare const AnchorTabbarWrapper: import("styled-components").StyledComponent<"div", any, IAnchorTabBarBorderProps, never>;
|
|
3
4
|
export declare const TabsGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
5
|
export declare const TabsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
6
|
export declare const TabsList: import("styled-components").StyledComponent<"ul", any, IAnchorTabsListProps, never>;
|
|
6
|
-
export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any,
|
|
7
|
+
export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any, IAnchorTabArrowsBoxProps, never>;
|
|
7
8
|
export declare const ArrowWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -2,8 +2,12 @@ import { INavigationWrapperProps } from '../../../types/navigation';
|
|
|
2
2
|
export declare const NavigationWrapper: import("styled-components").StyledComponent<"div", any, INavigationWrapperProps, never>;
|
|
3
3
|
export declare const FullScreenContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const NavigationGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const SearchBackground: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
-
|
|
5
|
+
export declare const SearchBackground: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
+
visible?: boolean | undefined;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const GridItemSearch: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps & {
|
|
9
|
+
visible?: boolean | undefined;
|
|
10
|
+
}, never>;
|
|
7
11
|
export declare const NavigationGridMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
12
|
export declare const LogoContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
13
|
export declare const MenuContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
+
interface IStickyBarGridProps {
|
|
2
|
+
hideBottomBorder: boolean;
|
|
3
|
+
}
|
|
1
4
|
export declare const StickyBarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any,
|
|
5
|
+
export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any, IStickyBarGridProps, never>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const UpsellBorderBox: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import Navigation from './Navigation';
|
|
2
2
|
import Footer from './Footer';
|
|
3
3
|
import AnchorTabBar from './AnchorTabBar';
|
|
4
|
-
import Carousel from './Carousel';
|
|
5
|
-
import { HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream } from './HighlightsCarousel';
|
|
6
4
|
import TitleWithCTA from './TitleWithCTA';
|
|
5
|
+
import UpsellSection from './UpsellSection';
|
|
7
6
|
import { LiveChat } from './LiveChat';
|
|
8
7
|
import StickyBar from './StickyBar';
|
|
9
|
-
export { AnchorTabBar,
|
|
8
|
+
export { AnchorTabBar, Footer, LiveChat, Navigation, StickyBar, TitleWithCTA, UpsellSection };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards,
|
|
2
|
-
import { devices } from './styles/viewports';
|
|
3
|
-
import
|
|
4
|
-
|
|
1
|
+
import { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, BodyText, Card, Cards, CinemaBadge, ContactCard, ContentSummary, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, LiveChat, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, RadioGroup, RotatorButtons, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, Tab, TabLink, Tabs, TextArea, TextField, TextLink, Tickbox, Timer, TypeTags, UpsellCard, UpsellSection, Quote } from './components';
|
|
2
|
+
import { devices, breakpoints } from './styles/viewports';
|
|
3
|
+
import zIndexes from './styles/zIndexes';
|
|
4
|
+
import { AspectRatio, ButtonType, CarouselType, Colors, IconNameType, IntegratedTimerProps, ITimerProps, TickboxMode, ThemeType } from './types';
|
|
5
|
+
import { MiniCard } from './components/molecules';
|
|
6
|
+
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AspectRatio, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, ITimerProps, IntegratedTimerProps, LiveChat, MiniCard, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, RadioGroup, RotatorButtons, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextLink, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, TickboxMode, Timer, TypeTags, UpsellCard, UpsellSection, Quote, zIndexes, };
|