@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.
@@ -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
- * Logo to be placed in page heading component
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
- * Internal anchor ref
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 {
@@ -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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.18.8",
3
+ "version": "0.19.1",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",