@gravity-ui/page-constructor 5.7.2 → 5.8.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.
@@ -287,6 +287,7 @@ export interface ContentItemProps {
287
287
  export interface ContentListProps {
288
288
  list: ContentItemProps[];
289
289
  size: ContentSize;
290
+ theme?: ContentTheme;
290
291
  }
291
292
  export interface ContentBlockProps {
292
293
  title?: TitleItemBaseProps | string;
@@ -323,10 +324,10 @@ export declare enum FormBlockDirection {
323
324
  Center = "center"
324
325
  }
325
326
  export interface FormBlockYandexData {
326
- yandex: YandexFormProps;
327
+ yandex: ThemeSupporting<YandexFormProps>;
327
328
  }
328
329
  export interface FormBlockHubspotData {
329
- hubspot: HubspotFormProps;
330
+ hubspot: ThemeSupporting<HubspotFormProps>;
330
331
  }
331
332
  export type FormBlockData = FormBlockYandexData | FormBlockHubspotData;
332
333
  export interface FormBlockProps {
@@ -334,7 +335,7 @@ export interface FormBlockProps {
334
335
  title?: string;
335
336
  textContent?: Omit<ContentBlockProps, 'centered' | 'colSizes' | 'size'>;
336
337
  direction?: FormBlockDirection;
337
- background?: BackgroundImageProps;
338
+ background?: ThemeSupporting<BackgroundImageProps>;
338
339
  }
339
340
  export type HeaderBlockModel = {
340
341
  type: BlockType.HeaderBlock;