@royaloperahouse/harmonic 0.18.8 → 0.19.1
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/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/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/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/Swipe/Swipe.d.ts +1 -0
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +16 -1
- package/dist/harmonic.cjs.development.js +515 -297
- 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 +516 -298
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/impactHeader.d.ts +14 -32
- package/dist/types/types.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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 {
|
package/dist/types/types.d.ts
CHANGED
|
@@ -725,6 +725,12 @@ export interface IVideoControlsProps {
|
|
|
725
725
|
*/
|
|
726
726
|
loop?: boolean;
|
|
727
727
|
}
|
|
728
|
+
export interface IVideoControlsImpactProps {
|
|
729
|
+
/** Video element id */
|
|
730
|
+
videoElementId: string;
|
|
731
|
+
/** Loops */
|
|
732
|
+
loop?: boolean;
|
|
733
|
+
}
|
|
728
734
|
export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
|
|
729
735
|
export interface IVideoWithControlsProps {
|
|
730
736
|
/**
|