@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.
- package/build/cjs/blocks/Form/Form.js +8 -2
- package/build/cjs/blocks/Form/schema.d.ts +54 -34
- package/build/cjs/blocks/Form/schema.js +2 -2
- package/build/cjs/blocks/Info/Info.js +2 -2
- package/build/cjs/blocks/Questions/Questions.js +2 -2
- package/build/cjs/blocks/Tabs/TabsTextContent/TabsTextContent.d.ts +1 -1
- package/build/cjs/blocks/Tabs/TabsTextContent/TabsTextContent.js +6 -9
- package/build/cjs/components/InnerForm/InnerForm.js +6 -2
- package/build/cjs/models/constructor-items/blocks.d.ts +4 -3
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +2 -2
- package/build/esm/blocks/Form/Form.js +9 -3
- package/build/esm/blocks/Form/schema.d.ts +54 -34
- package/build/esm/blocks/Form/schema.js +3 -3
- package/build/esm/blocks/Info/Info.js +2 -2
- package/build/esm/blocks/Questions/Questions.js +2 -2
- package/build/esm/blocks/Tabs/TabsTextContent/TabsTextContent.d.ts +1 -1
- package/build/esm/blocks/Tabs/TabsTextContent/TabsTextContent.js +6 -9
- package/build/esm/components/InnerForm/InnerForm.js +6 -2
- package/build/esm/models/constructor-items/blocks.d.ts +4 -3
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +2 -2
- package/package.json +1 -1
- package/server/models/constructor-items/blocks.d.ts +4 -3
- package/widget/index.js +1 -1
|
@@ -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;
|