@gravity-ui/page-constructor 7.12.0 → 7.13.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.
@@ -111,6 +111,12 @@ export interface HeaderBlockBackground extends Partial<HeaderBackgroundProps>, P
111
111
  fullWidthMedia?: boolean;
112
112
  }
113
113
  export type ThemedHeaderBlockBackground = ThemeSupporting<HeaderBlockBackground>;
114
+ export interface HeaderBlockVideoIframe {
115
+ src: string;
116
+ autoplay?: boolean;
117
+ previewImg?: string;
118
+ height?: number;
119
+ }
114
120
  export interface HeaderBlockProps {
115
121
  title: string;
116
122
  overtitle?: string | JSX.Element;
@@ -127,6 +133,7 @@ export interface HeaderBlockProps {
127
133
  offset?: HeaderOffset;
128
134
  image?: ThemedImage;
129
135
  video?: ThemedMediaVideoProps;
136
+ videoIframe?: HeaderBlockVideoIframe;
130
137
  mediaView?: MediaView;
131
138
  centered?: boolean;
132
139
  background?: ThemedHeaderBlockBackground;