@gravity-ui/page-constructor 4.41.1-alpha.0 → 4.42.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.
Files changed (76) hide show
  1. package/build/cjs/blocks/CardLayout/schema.d.ts +24 -0
  2. package/build/cjs/blocks/ContentLayout/schema.d.ts +12 -0
  3. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +12 -0
  4. package/build/cjs/blocks/FilterBlock/schema.d.ts +24 -0
  5. package/build/cjs/blocks/Form/schema.d.ts +12 -0
  6. package/build/cjs/blocks/Header/schema.d.ts +12 -0
  7. package/build/cjs/blocks/HeaderSlider/schema.d.ts +12 -0
  8. package/build/cjs/blocks/Icons/schema.d.ts +24 -0
  9. package/build/cjs/blocks/Map/schema.d.ts +12 -0
  10. package/build/cjs/blocks/Media/schema.d.ts +24 -0
  11. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +12 -0
  12. package/build/cjs/blocks/Questions/schema.d.ts +12 -0
  13. package/build/cjs/blocks/Slider/schema.d.ts +12 -0
  14. package/build/cjs/blocks/Table/schema.d.ts +12 -0
  15. package/build/cjs/blocks/Tabs/schema.d.ts +12 -0
  16. package/build/cjs/components/ContentList/ContentList.css +16 -16
  17. package/build/cjs/components/ContentList/ContentList.js +2 -2
  18. package/build/cjs/constructor-items.d.ts +1 -0
  19. package/build/cjs/constructor-items.js +1 -0
  20. package/build/cjs/editor/components/CodeEditor/CodeEditor.css +2 -5
  21. package/build/cjs/editor/components/CodeEditor/CodeEditor.d.ts +2 -2
  22. package/build/cjs/editor/components/CodeEditor/CodeEditor.js +12 -9
  23. package/build/cjs/editor/containers/Editor/Editor.d.ts +1 -1
  24. package/build/cjs/editor/containers/Editor/Editor.js +19 -8
  25. package/build/cjs/editor/containers/Form/Form.js +3 -1
  26. package/build/cjs/editor/containers/Form/hooks.d.ts +8 -0
  27. package/build/cjs/editor/containers/Form/hooks.js +39 -0
  28. package/build/cjs/editor/context.d.ts +2 -0
  29. package/build/cjs/editor/types/index.d.ts +2 -0
  30. package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +6 -3
  31. package/build/cjs/schema/validators/common.d.ts +13 -1
  32. package/build/cjs/schema/validators/common.js +8 -1
  33. package/build/cjs/sub-blocks/Content/Content.css +6 -0
  34. package/build/cjs/sub-blocks/Content/Content.js +2 -1
  35. package/build/cjs/sub-blocks/Divider/schema.d.ts +1 -1
  36. package/build/cjs/sub-blocks/PriceCard/PriceCard.css +23 -2
  37. package/build/cjs/sub-blocks/PriceCard/PriceCard.js +3 -3
  38. package/build/esm/blocks/CardLayout/schema.d.ts +24 -0
  39. package/build/esm/blocks/ContentLayout/schema.d.ts +12 -0
  40. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +12 -0
  41. package/build/esm/blocks/FilterBlock/schema.d.ts +24 -0
  42. package/build/esm/blocks/Form/schema.d.ts +12 -0
  43. package/build/esm/blocks/Header/schema.d.ts +12 -0
  44. package/build/esm/blocks/HeaderSlider/schema.d.ts +12 -0
  45. package/build/esm/blocks/Icons/schema.d.ts +24 -0
  46. package/build/esm/blocks/Map/schema.d.ts +12 -0
  47. package/build/esm/blocks/Media/schema.d.ts +24 -0
  48. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +12 -0
  49. package/build/esm/blocks/Questions/schema.d.ts +12 -0
  50. package/build/esm/blocks/Slider/schema.d.ts +12 -0
  51. package/build/esm/blocks/Table/schema.d.ts +12 -0
  52. package/build/esm/blocks/Tabs/schema.d.ts +12 -0
  53. package/build/esm/components/ContentList/ContentList.css +16 -16
  54. package/build/esm/components/ContentList/ContentList.js +2 -2
  55. package/build/esm/constructor-items.d.ts +1 -0
  56. package/build/esm/constructor-items.js +2 -1
  57. package/build/esm/editor/components/CodeEditor/CodeEditor.css +2 -5
  58. package/build/esm/editor/components/CodeEditor/CodeEditor.d.ts +2 -2
  59. package/build/esm/editor/components/CodeEditor/CodeEditor.js +13 -10
  60. package/build/esm/editor/containers/Editor/Editor.d.ts +1 -1
  61. package/build/esm/editor/containers/Editor/Editor.js +19 -8
  62. package/build/esm/editor/containers/Form/Form.js +3 -1
  63. package/build/esm/editor/containers/Form/hooks.d.ts +8 -0
  64. package/build/esm/editor/containers/Form/hooks.js +34 -0
  65. package/build/esm/editor/context.d.ts +2 -0
  66. package/build/esm/editor/types/index.d.ts +2 -0
  67. package/build/esm/navigation/components/NavigationItem/NavigationItem.js +7 -4
  68. package/build/esm/schema/validators/common.d.ts +13 -1
  69. package/build/esm/schema/validators/common.js +8 -1
  70. package/build/esm/sub-blocks/Content/Content.css +6 -0
  71. package/build/esm/sub-blocks/Content/Content.js +2 -1
  72. package/build/esm/sub-blocks/Divider/schema.d.ts +1 -1
  73. package/build/esm/sub-blocks/PriceCard/PriceCard.css +23 -2
  74. package/build/esm/sub-blocks/PriceCard/PriceCard.js +3 -3
  75. package/package.json +1 -1
  76. package/widget/index.js +1 -1
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.useCode = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = require("react");
6
+ const js_yaml_1 = tslib_1.__importDefault(require("js-yaml"));
7
+ const usePreviousValue_1 = tslib_1.__importDefault(require("../../hooks/usePreviousValue"));
8
+ const types_1 = require("../../types");
9
+ /**
10
+ * Transorms PageConstructor content in JSON to YAML on code editor mode switching
11
+ *
12
+ * @param {Object} props - props parent from form
13
+ * @returns {string} - updated code
14
+ */
15
+ function useCode({ activeTab, content, codeFullscreeModeOn, }) {
16
+ var _a;
17
+ const [code, setCode] = (0, react_1.useState)('');
18
+ const prevTab = (0, usePreviousValue_1.default)(activeTab);
19
+ const prevContentLength = (0, usePreviousValue_1.default)((_a = content.blocks) === null || _a === void 0 ? void 0 : _a.length);
20
+ const prevCodeFullscreeModeOn = (0, usePreviousValue_1.default)(codeFullscreeModeOn);
21
+ (0, react_1.useEffect)(() => {
22
+ var _a;
23
+ const switchedToCodeEditing = activeTab !== prevTab && activeTab === types_1.FormTab.Code;
24
+ const blocksCountChanged = prevContentLength !== ((_a = content.blocks) === null || _a === void 0 ? void 0 : _a.length);
25
+ const codeModeSwitched = codeFullscreeModeOn !== prevCodeFullscreeModeOn;
26
+ if (blocksCountChanged || switchedToCodeEditing || codeModeSwitched) {
27
+ setCode(js_yaml_1.default.dump(content, { lineWidth: -1 }));
28
+ }
29
+ }, [
30
+ activeTab,
31
+ prevTab,
32
+ content,
33
+ prevContentLength,
34
+ codeFullscreeModeOn,
35
+ prevCodeFullscreeModeOn,
36
+ ]);
37
+ return code;
38
+ }
39
+ exports.useCode = useCode;
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import { PageConstructorProps, PageConstructorProviderProps } from '../containers/PageConstructor';
3
+ import { Theme } from '../models/common';
3
4
  import { EditorProps } from './types';
4
5
  export interface EditorContextType {
5
6
  constructorProps?: PageConstructorProps;
6
7
  providerProps?: PageConstructorProviderProps;
7
8
  deviceEmulationSettings?: EditorProps['deviceEmulationSettings'];
9
+ theme?: Theme;
8
10
  }
9
11
  export declare const EditorContext: React.Context<Partial<EditorContextType>>;
@@ -1,5 +1,6 @@
1
1
  import { PageConstructorProps, PageConstructorProviderProps } from '../../containers/PageConstructor';
2
2
  import { BlockDecorationProps, PageContent } from '../../models';
3
+ import { Theme } from '../../models/common';
3
4
  import { SchemaCustomConfig } from '../../schema';
4
5
  import { EditBlockActions } from '../components/EditBlock/EditBlock';
5
6
  export type EditorBlockId = number | string;
@@ -17,6 +18,7 @@ export interface EditorProps extends Required<Pick<PageConstructorProps, 'conten
17
18
  transformContent?: ContentTransformer;
18
19
  customSchema?: SchemaCustomConfig;
19
20
  deviceEmulationSettings?: DeviceEmulationSettings;
21
+ theme?: Theme;
20
22
  }
21
23
  export interface EditBlockEditorProps {
22
24
  isActive?: boolean;
@@ -9,6 +9,7 @@ const utils_1 = require("../../../utils");
9
9
  const useNavigationItemMap_1 = require("./hooks/useNavigationItemMap");
10
10
  const b = (0, utils_1.block)('navigation-item');
11
11
  const ANALYTICS_ID = 'navigation';
12
+ const nonComplexNavigationItemTypes = models_1.NavigationItemTypes.filter((type) => type !== models_1.NavigationItemType.Dropdown);
12
13
  const NavigationItem = (_a) => {
13
14
  var { data, className, menuLayout } = _a, props = tslib_1.__rest(_a, ["data", "className", "menuLayout"]);
14
15
  const { type = models_1.NavigationItemType.Link } = data;
@@ -16,11 +17,13 @@ const NavigationItem = (_a) => {
16
17
  const Component = navItemMap[type];
17
18
  const componentProps = (0, react_1.useMemo)(() => {
18
19
  const componentProperties = Object.assign(Object.assign({}, data), props);
19
- if (type !== models_1.NavigationItemType.Dropdown) {
20
+ if (nonComplexNavigationItemTypes.includes(type)) {
20
21
  return (0, omit_1.default)(componentProperties, 'hidePopup', 'isActive');
21
22
  }
22
- return componentProperties;
23
- }, [data, props, type]);
23
+ return models_1.NavigationItemTypes.includes(type)
24
+ ? componentProperties
25
+ : Object.assign(Object.assign({}, componentProperties), { menuLayout });
26
+ }, [data, props, type, menuLayout]);
24
27
  return (react_1.default.createElement(blockIdContext_1.BlockIdContext.Provider, { value: ANALYTICS_ID },
25
28
  react_1.default.createElement("li", { className: b({ 'menu-layout': menuLayout }, className) },
26
29
  react_1.default.createElement(Component, Object.assign({}, componentProps, { className: b('content', { type }) })))));
@@ -11,7 +11,7 @@ export declare const playIconThemes: string[];
11
11
  export declare const videoControlsTypes: MediaVideoControlsType[];
12
12
  export declare const fileLinkTypes: string[];
13
13
  export declare const dividerEnum: {
14
- enum: (string | number)[];
14
+ enum: string[];
15
15
  };
16
16
  export declare const sizeNumber: {
17
17
  type: string;
@@ -835,6 +835,18 @@ export declare const BlockBaseProps: {
835
835
  context: {
836
836
  type: string;
837
837
  };
838
+ indent: {
839
+ type: string;
840
+ additionalProperties: boolean;
841
+ properties: {
842
+ top: {
843
+ enum: string[];
844
+ };
845
+ bottom: {
846
+ enum: string[];
847
+ };
848
+ };
849
+ };
838
850
  type: {};
839
851
  when: {
840
852
  type: string;
@@ -16,7 +16,7 @@ exports.playIconTypes = ['default', 'text'];
16
16
  exports.playIconThemes = ['blue', 'grey'];
17
17
  exports.videoControlsTypes = [models_1.MediaVideoControlsType.Default, models_1.MediaVideoControlsType.Custom];
18
18
  exports.fileLinkTypes = ['vertical', 'horizontal'];
19
- exports.dividerEnum = { enum: [0, 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl'] };
19
+ exports.dividerEnum = { enum: ['0', 'xxs', 'xs', 's', 'm', 'l', 'xl', 'xxl', 'xxxl'] };
20
20
  exports.sizeNumber = { type: 'number', maximum: 12, minimum: 1 };
21
21
  exports.contentThemes = ['default', 'dark', 'light'];
22
22
  exports.quoteTypes = Object.values(models_1.QuoteType);
@@ -457,6 +457,13 @@ exports.BlockBaseProps = Object.assign(Object.assign({}, exports.BaseProps), { a
457
457
  type: 'boolean',
458
458
  }, context: {
459
459
  type: 'string',
460
+ }, indent: {
461
+ type: 'object',
462
+ additionalProperties: false,
463
+ properties: {
464
+ top: exports.dividerEnum,
465
+ bottom: exports.dividerEnum,
466
+ },
460
467
  } });
461
468
  exports.TitleProps = {
462
469
  type: 'object',
@@ -73,6 +73,9 @@ unpredictable css rules order in build */
73
73
  .pc-content_size_s .pc-content__button {
74
74
  margin-top: 8px;
75
75
  }
76
+ .pc-content_size_s .pc-content__list {
77
+ margin-top: 16px;
78
+ }
76
79
  .pc-content_size_l .pc-content__text,
77
80
  .pc-content_size_l .pc-content__notice {
78
81
  margin-top: 12px;
@@ -91,6 +94,9 @@ unpredictable css rules order in build */
91
94
  .pc-content_size_l .pc-content__button {
92
95
  margin-top: 12px;
93
96
  }
97
+ .pc-content_size_l .pc-content__list {
98
+ margin-top: 24px;
99
+ }
94
100
  .pc-content_theme_dark {
95
101
  --g-color-line-focus: var(--pc-color-line-focus-dark);
96
102
  }
@@ -48,7 +48,8 @@ const Content = (props) => {
48
48
  title && (react_1.default.createElement(components_1.Title, { className: b('title'), title: titleProps, colSizes: { all: 12 }, id: titleId })),
49
49
  text && (react_1.default.createElement("div", { className: b('text', { ['without-title']: !hasTitle }) },
50
50
  react_1.default.createElement(components_1.YFMWrapper, { content: text, modifiers: { constructor: true, [`constructor-size-${size}`]: true }, id: textId }))),
51
- (list === null || list === void 0 ? void 0 : list.length) ? react_1.default.createElement(components_1.ContentList, { list: list, size: size, qa: qaAttributes.list }) : null,
51
+ (list === null || list === void 0 ? void 0 : list.length) ? (react_1.default.createElement("div", { className: b('list') },
52
+ react_1.default.createElement(components_1.ContentList, { list: list, size: size, qa: qaAttributes.list }))) : null,
52
53
  additionalInfo && (react_1.default.createElement("div", { className: b('notice') },
53
54
  react_1.default.createElement(components_1.YFMWrapper, { content: additionalInfo, modifiers: {
54
55
  constructor: true,
@@ -6,7 +6,7 @@ export declare const Divider: {
6
6
  type: string;
7
7
  };
8
8
  size: {
9
- enum: (string | number)[];
9
+ enum: string[];
10
10
  };
11
11
  type: {};
12
12
  when: {
@@ -3,6 +3,10 @@ unpredictable css rules order in build */
3
3
  .pc-price-card {
4
4
  position: relative;
5
5
  }
6
+ .pc-price-card.pc-price-card {
7
+ min-height: auto;
8
+ }
9
+
6
10
  .pc-price-card__background {
7
11
  position: absolute;
8
12
  top: 0;
@@ -59,7 +63,8 @@ unpredictable css rules order in build */
59
63
  margin-left: 4px;
60
64
  }
61
65
  .pc-price-card__price-details {
62
- margin-bottom: 12px;
66
+ font-size: var(--g-text-body-2-font-size);
67
+ line-height: var(--g-text-body-2-line-height);
63
68
  }
64
69
  .pc-price-card__main {
65
70
  flex: 1;
@@ -69,12 +74,28 @@ unpredictable css rules order in build */
69
74
  position: relative;
70
75
  }
71
76
  .pc-price-card__info {
72
- margin-bottom: 24px;
73
77
  flex: 1;
74
78
  min-height: 0;
75
79
  display: flex;
76
80
  flex-direction: column;
77
81
  }
82
+ .pc-price-card__description:not(:last-child) {
83
+ margin-bottom: 12px;
84
+ }
85
+ .pc-price-card__links, .pc-price-card__buttons {
86
+ margin-top: 24px;
87
+ }
78
88
  .pc-price-card__links > *:not(:last-child), .pc-price-card__buttons > *:not(:last-child) {
79
89
  margin-right: 16px;
90
+ }
91
+ .pc-price-card__link {
92
+ margin-top: 0;
93
+ }
94
+ @media (max-width: 769px) {
95
+ .pc-price-card__title, .pc-price-card__price {
96
+ margin-bottom: 16px;
97
+ }
98
+ .pc-price-card__links, .pc-price-card__buttons {
99
+ margin-top: 16px;
100
+ }
80
101
  }
@@ -21,13 +21,13 @@ const PriceCard = (props) => {
21
21
  "/ ",
22
22
  pricePeriod))),
23
23
  priceDetails && (react_1.default.createElement("div", { className: b('price-details') }, priceDetails))),
24
- react_1.default.createElement("div", null, description),
24
+ description && react_1.default.createElement("div", { className: b('description') }, description),
25
25
  (list === null || list === void 0 ? void 0 : list.length) ? (react_1.default.createElement("div", { className: b('list') },
26
26
  react_1.default.createElement(components_1.ContentList, { list: list.map((item) => ({
27
27
  icon: Check_1.default,
28
28
  text: item,
29
- })), size: "s" }))) : null),
29
+ })), size: "l" }))) : null),
30
30
  buttons && (react_1.default.createElement("div", { className: b('buttons') }, buttons.map((button) => (react_1.default.createElement(components_1.Button, Object.assign({ key: button.url }, button)))))),
31
- links && (react_1.default.createElement("div", { className: b('links') }, links.map((link) => (react_1.default.createElement(components_1.Link, Object.assign({ key: link.url, textSize: "m" }, link))))))))));
31
+ links && (react_1.default.createElement("div", { className: b('links') }, links.map((link) => (react_1.default.createElement(components_1.Link, Object.assign({ className: b('link'), key: link.url, textSize: "m" }, link))))))))));
32
32
  };
33
33
  exports.default = PriceCard;
@@ -78,6 +78,18 @@ export declare const CardLayoutProps: {
78
78
  context: {
79
79
  type: string;
80
80
  };
81
+ indent: {
82
+ type: string;
83
+ additionalProperties: boolean;
84
+ properties: {
85
+ top: {
86
+ enum: string[];
87
+ };
88
+ bottom: {
89
+ enum: string[];
90
+ };
91
+ };
92
+ };
81
93
  type: {};
82
94
  when: {
83
95
  type: string;
@@ -165,6 +177,18 @@ export declare const CardLayoutBlock: {
165
177
  context: {
166
178
  type: string;
167
179
  };
180
+ indent: {
181
+ type: string;
182
+ additionalProperties: boolean;
183
+ properties: {
184
+ top: {
185
+ enum: string[];
186
+ };
187
+ bottom: {
188
+ enum: string[];
189
+ };
190
+ };
191
+ };
168
192
  type: {};
169
193
  when: {
170
194
  type: string;
@@ -242,6 +242,18 @@ export declare const ContentLayoutBlock: {
242
242
  context: {
243
243
  type: string;
244
244
  };
245
+ indent: {
246
+ type: string;
247
+ additionalProperties: boolean;
248
+ properties: {
249
+ top: {
250
+ enum: string[];
251
+ };
252
+ bottom: {
253
+ enum: string[];
254
+ };
255
+ };
256
+ };
245
257
  type: {};
246
258
  when: {
247
259
  type: string;
@@ -243,6 +243,18 @@ export declare const ExtendedFeaturesBlock: {
243
243
  context: {
244
244
  type: string;
245
245
  };
246
+ indent: {
247
+ type: string;
248
+ additionalProperties: boolean;
249
+ properties: {
250
+ top: {
251
+ enum: string[];
252
+ };
253
+ bottom: {
254
+ enum: string[];
255
+ };
256
+ };
257
+ };
246
258
  type: {};
247
259
  when: {
248
260
  type: string;
@@ -134,6 +134,18 @@ export declare const FilterProps: {
134
134
  context: {
135
135
  type: string;
136
136
  };
137
+ indent: {
138
+ type: string;
139
+ additionalProperties: boolean;
140
+ properties: {
141
+ top: {
142
+ enum: string[];
143
+ };
144
+ bottom: {
145
+ enum: string[];
146
+ };
147
+ };
148
+ };
137
149
  type: {};
138
150
  when: {
139
151
  type: string;
@@ -250,6 +262,18 @@ export declare const FilterBlock: {
250
262
  context: {
251
263
  type: string;
252
264
  };
265
+ indent: {
266
+ type: string;
267
+ additionalProperties: boolean;
268
+ properties: {
269
+ top: {
270
+ enum: string[];
271
+ };
272
+ bottom: {
273
+ enum: string[];
274
+ };
275
+ };
276
+ };
253
277
  type: {};
254
278
  when: {
255
279
  type: string;
@@ -193,6 +193,18 @@ export declare const FormBlock: {
193
193
  context: {
194
194
  type: string;
195
195
  };
196
+ indent: {
197
+ type: string;
198
+ additionalProperties: boolean;
199
+ properties: {
200
+ top: {
201
+ enum: string[];
202
+ };
203
+ bottom: {
204
+ enum: string[];
205
+ };
206
+ };
207
+ };
196
208
  type: {};
197
209
  when: {
198
210
  type: string;
@@ -1318,6 +1318,18 @@ export declare const HeaderBlock: {
1318
1318
  context: {
1319
1319
  type: string;
1320
1320
  };
1321
+ indent: {
1322
+ type: string;
1323
+ additionalProperties: boolean;
1324
+ properties: {
1325
+ top: {
1326
+ enum: string[];
1327
+ };
1328
+ bottom: {
1329
+ enum: string[];
1330
+ };
1331
+ };
1332
+ };
1321
1333
  type: {};
1322
1334
  when: {
1323
1335
  type: string;
@@ -587,6 +587,18 @@ export declare const HeaderSliderBlock: {
587
587
  context: {
588
588
  type: string;
589
589
  };
590
+ indent: {
591
+ type: string;
592
+ additionalProperties: boolean;
593
+ properties: {
594
+ top: {
595
+ enum: string[];
596
+ };
597
+ bottom: {
598
+ enum: string[];
599
+ };
600
+ };
601
+ };
590
602
  type: {};
591
603
  when: {
592
604
  type: string;
@@ -142,6 +142,18 @@ export declare const IconsProps: {
142
142
  context: {
143
143
  type: string;
144
144
  };
145
+ indent: {
146
+ type: string;
147
+ additionalProperties: boolean;
148
+ properties: {
149
+ top: {
150
+ enum: string[];
151
+ };
152
+ bottom: {
153
+ enum: string[];
154
+ };
155
+ };
156
+ };
145
157
  type: {};
146
158
  when: {
147
159
  type: string;
@@ -293,6 +305,18 @@ export declare const IconsBlock: {
293
305
  context: {
294
306
  type: string;
295
307
  };
308
+ indent: {
309
+ type: string;
310
+ additionalProperties: boolean;
311
+ properties: {
312
+ top: {
313
+ enum: string[];
314
+ };
315
+ bottom: {
316
+ enum: string[];
317
+ };
318
+ };
319
+ };
296
320
  type: {};
297
321
  when: {
298
322
  type: string;
@@ -473,6 +473,18 @@ export declare const MapBlock: {
473
473
  context: {
474
474
  type: string;
475
475
  };
476
+ indent: {
477
+ type: string;
478
+ additionalProperties: boolean;
479
+ properties: {
480
+ top: {
481
+ enum: string[];
482
+ };
483
+ bottom: {
484
+ enum: string[];
485
+ };
486
+ };
487
+ };
476
488
  type: {};
477
489
  when: {
478
490
  type: string;
@@ -637,6 +637,18 @@ export declare const MediaBlockBaseProps: {
637
637
  context: {
638
638
  type: string;
639
639
  };
640
+ indent: {
641
+ type: string;
642
+ additionalProperties: boolean;
643
+ properties: {
644
+ top: {
645
+ enum: string[];
646
+ };
647
+ bottom: {
648
+ enum: string[];
649
+ };
650
+ };
651
+ };
640
652
  type: {};
641
653
  when: {
642
654
  type: string;
@@ -1295,6 +1307,18 @@ export declare const MediaBlock: {
1295
1307
  context: {
1296
1308
  type: string;
1297
1309
  };
1310
+ indent: {
1311
+ type: string;
1312
+ additionalProperties: boolean;
1313
+ properties: {
1314
+ top: {
1315
+ enum: string[];
1316
+ };
1317
+ bottom: {
1318
+ enum: string[];
1319
+ };
1320
+ };
1321
+ };
1298
1322
  type: {};
1299
1323
  when: {
1300
1324
  type: string;
@@ -374,6 +374,18 @@ export declare const PromoFeaturesBlock: {
374
374
  context: {
375
375
  type: string;
376
376
  };
377
+ indent: {
378
+ type: string;
379
+ additionalProperties: boolean;
380
+ properties: {
381
+ top: {
382
+ enum: string[];
383
+ };
384
+ bottom: {
385
+ enum: string[];
386
+ };
387
+ };
388
+ };
377
389
  type: {};
378
390
  when: {
379
391
  type: string;
@@ -115,6 +115,18 @@ export declare const QuestionsBlock: {
115
115
  context: {
116
116
  type: string;
117
117
  };
118
+ indent: {
119
+ type: string;
120
+ additionalProperties: boolean;
121
+ properties: {
122
+ top: {
123
+ enum: string[];
124
+ };
125
+ bottom: {
126
+ enum: string[];
127
+ };
128
+ };
129
+ };
118
130
  type: {};
119
131
  when: {
120
132
  type: string;
@@ -215,6 +215,18 @@ export declare const SliderBlock: {
215
215
  context: {
216
216
  type: string;
217
217
  };
218
+ indent: {
219
+ type: string;
220
+ additionalProperties: boolean;
221
+ properties: {
222
+ top: {
223
+ enum: string[];
224
+ };
225
+ bottom: {
226
+ enum: string[];
227
+ };
228
+ };
229
+ };
218
230
  type: {};
219
231
  when: {
220
232
  type: string;
@@ -81,6 +81,18 @@ export declare const TableBlock: {
81
81
  context: {
82
82
  type: string;
83
83
  };
84
+ indent: {
85
+ type: string;
86
+ additionalProperties: boolean;
87
+ properties: {
88
+ top: {
89
+ enum: string[];
90
+ };
91
+ bottom: {
92
+ enum: string[];
93
+ };
94
+ };
95
+ };
84
96
  type: {};
85
97
  when: {
86
98
  type: string;
@@ -607,6 +607,18 @@ export declare const TabsBlock: {
607
607
  context: {
608
608
  type: string;
609
609
  };
610
+ indent: {
611
+ type: string;
612
+ additionalProperties: boolean;
613
+ properties: {
614
+ top: {
615
+ enum: string[];
616
+ };
617
+ bottom: {
618
+ enum: string[];
619
+ };
620
+ };
621
+ };
610
622
  type: {};
611
623
  when: {
612
624
  type: string;