@royaloperahouse/harmonic 0.18.5 → 0.18.6-b
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 +7 -0
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Buttons/Button.d.ts +10 -3
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +17 -3
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.d.ts +4 -0
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.style.d.ts +5 -0
- package/dist/components/atoms/VideoControlsImpact/index.d.ts +2 -0
- package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +1 -0
- package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +16 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +16 -1
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +302 -9
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +2 -0
- package/dist/components/organisms/Carousels/Carousel/Carousel.d.ts +3 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +3 -1
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +16 -1
- package/dist/harmonic.cjs.development.css +319 -0
- package/dist/harmonic.cjs.development.js +547 -336
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +559 -345
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +1 -0
- package/dist/types/impactHeader.d.ts +14 -32
- package/dist/types/signUpForm.d.ts +1 -0
- package/dist/types/types.d.ts +19 -1
- package/dist/types/upsell.d.ts +2 -0
- package/package.json +3 -4
|
@@ -20,46 +20,28 @@ export interface CustomSponsorImageData {
|
|
|
20
20
|
title: string;
|
|
21
21
|
}
|
|
22
22
|
export interface IPageHeadingImpactProps {
|
|
23
|
-
/**
|
|
24
|
-
* Text placed in the impact component
|
|
25
|
-
*/
|
|
23
|
+
/** Text placed in the impact component */
|
|
26
24
|
text?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Link placed in the impact component
|
|
29
|
-
*/
|
|
25
|
+
/** Link placed in the impact component */
|
|
30
26
|
link?: EditorialLink;
|
|
31
|
-
/**
|
|
32
|
-
* Boolean to show/hide sponsorship logo (default true)
|
|
33
|
-
*/
|
|
27
|
+
/** Boolean to show/hide sponsorship logo (default true) */
|
|
34
28
|
sponsor?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Data for custom sponsor
|
|
37
|
-
*/
|
|
29
|
+
/** Data for custom sponsor */
|
|
38
30
|
customSponsorImage?: CustomSponsorImageData;
|
|
39
|
-
/**
|
|
40
|
-
* Background url for desktops
|
|
41
|
-
*/
|
|
31
|
+
/** Background url for desktops */
|
|
42
32
|
bgUrlDesktop: string;
|
|
43
|
-
/**
|
|
44
|
-
* Background url for devices
|
|
45
|
-
*/
|
|
33
|
+
/** Background url for devices */
|
|
46
34
|
bgUrlDevice?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Alt text for the main image
|
|
49
|
-
*/
|
|
35
|
+
/** Alt text for the main image */
|
|
50
36
|
bgImageAltText?: string;
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
/** Desktop video url */
|
|
38
|
+
videoUrlDesktop?: string;
|
|
39
|
+
/** Mobile video url */
|
|
40
|
+
videoUrlMobile?: string;
|
|
41
|
+
/** Logo to be placed in page heading component */
|
|
54
42
|
children?: ReactNode;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
*/
|
|
58
|
-
scrollHref?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Semantic level of the header
|
|
61
|
-
*/
|
|
62
|
-
semanticLevel?: TypographyLevel;
|
|
43
|
+
/** Custom CSS classes */
|
|
44
|
+
className?: string;
|
|
63
45
|
}
|
|
64
46
|
export declare type BrandingStyle = 'BlockText' | 'BodyText' | 'StreamLogo' | 'CinemaLogo' | 'TextLink';
|
|
65
47
|
export interface IPageHeadingCompactProps {
|
|
@@ -68,6 +68,7 @@ export interface ISignUpFormProps {
|
|
|
68
68
|
export declare type SignUpFormComponentTitleProps = {
|
|
69
69
|
title: string;
|
|
70
70
|
isMobile?: boolean;
|
|
71
|
+
titleFontFamily?: 'Grey' | 'Victor' | undefined;
|
|
71
72
|
};
|
|
72
73
|
export declare type SignUpFormComponentMessageProps = {
|
|
73
74
|
message: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -147,6 +147,10 @@ export interface ITabProps {
|
|
|
147
147
|
* Additional CSS class names to apply to the navigation component.
|
|
148
148
|
*/
|
|
149
149
|
className?: string;
|
|
150
|
+
/**
|
|
151
|
+
* The unique ID to assign to the link element.
|
|
152
|
+
*/
|
|
153
|
+
tabLinkId?: string;
|
|
150
154
|
/**
|
|
151
155
|
* Defines the ARIA role of the element for accessibility purposes.
|
|
152
156
|
*/
|
|
@@ -222,7 +226,11 @@ export interface IDropdownProps {
|
|
|
222
226
|
*/
|
|
223
227
|
ariaLabel?: string;
|
|
224
228
|
/**
|
|
225
|
-
*
|
|
229
|
+
* The unique ID to assign to the link element inside the tab.
|
|
230
|
+
*/
|
|
231
|
+
tabLinkId?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
226
234
|
*/
|
|
227
235
|
trimTabText?: boolean;
|
|
228
236
|
}
|
|
@@ -489,6 +497,10 @@ export declare type ICastFiltersProps = {
|
|
|
489
497
|
* Handle clicking the text link.
|
|
490
498
|
*/
|
|
491
499
|
onClear?: () => void;
|
|
500
|
+
/**
|
|
501
|
+
* Render person images in greyscale
|
|
502
|
+
*/
|
|
503
|
+
greyscale?: boolean;
|
|
492
504
|
};
|
|
493
505
|
export interface ISponsorshipProps {
|
|
494
506
|
/**
|
|
@@ -721,6 +733,12 @@ export interface IVideoControlsProps {
|
|
|
721
733
|
*/
|
|
722
734
|
loop?: boolean;
|
|
723
735
|
}
|
|
736
|
+
export interface IVideoControlsImpactProps {
|
|
737
|
+
/** Video element id */
|
|
738
|
+
videoElementId: string;
|
|
739
|
+
/** Loops */
|
|
740
|
+
loop?: boolean;
|
|
741
|
+
}
|
|
724
742
|
export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
|
|
725
743
|
export interface IVideoWithControlsProps {
|
|
726
744
|
/**
|
package/dist/types/upsell.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royaloperahouse/harmonic",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6-b",
|
|
4
4
|
"author": "Royal Opera House",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"typescript": "^4.4.4"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"
|
|
132
|
+
"date-fns": "^4.1.0",
|
|
133
133
|
"react-modal": "^3.16.1",
|
|
134
134
|
"react-scrolllock": "^5.0.1",
|
|
135
135
|
"react-select": "^5.8.0"
|
|
@@ -143,6 +143,5 @@
|
|
|
143
143
|
"npx eslint src --fix ",
|
|
144
144
|
"npx prettier src --write --uncommitted"
|
|
145
145
|
]
|
|
146
|
-
}
|
|
147
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
146
|
+
}
|
|
148
147
|
}
|