@gravity-ui/page-constructor 8.23.1 → 8.23.2

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 (104) hide show
  1. package/build/cjs/blocks/Banner/schema.js +1 -1
  2. package/build/cjs/blocks/Banner/schema.js.map +1 -1
  3. package/build/cjs/blocks/CardLayout/schema.d.ts +8 -2
  4. package/build/cjs/blocks/ContentLayout/schema.d.ts +4 -172
  5. package/build/cjs/blocks/ContentLayout/schema.js +0 -4
  6. package/build/cjs/blocks/ContentLayout/schema.js.map +1 -1
  7. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -1
  8. package/build/cjs/blocks/FilterBlock/schema.d.ts +8 -2
  9. package/build/cjs/blocks/FoldableList/schema.d.ts +4 -1
  10. package/build/cjs/blocks/Form/schema.d.ts +4 -1
  11. package/build/cjs/blocks/Header/schema.d.ts +12 -3
  12. package/build/cjs/blocks/HeaderSlider/schema.d.ts +4 -1
  13. package/build/cjs/blocks/Hero/schema.d.ts +16 -4
  14. package/build/cjs/blocks/Icons/schema.d.ts +92 -92
  15. package/build/cjs/blocks/Icons/schema.js +1 -13
  16. package/build/cjs/blocks/Icons/schema.js.map +1 -1
  17. package/build/cjs/blocks/Info/schema.d.ts +8 -2
  18. package/build/cjs/blocks/Map/schema.d.ts +4 -1
  19. package/build/cjs/blocks/Media/schema.d.ts +16 -4
  20. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -2
  21. package/build/cjs/blocks/Questions/schema.d.ts +4 -1
  22. package/build/cjs/blocks/Slider/schema.d.ts +4 -1
  23. package/build/cjs/blocks/SliderOld/schema.d.ts +4 -1
  24. package/build/cjs/blocks/Tabs/schema.d.ts +12 -3
  25. package/build/cjs/models/constructor-items/blocks.d.ts +4 -1
  26. package/build/cjs/models/constructor-items/blocks.js.map +1 -1
  27. package/build/cjs/schema/constants.d.ts +20 -5
  28. package/build/cjs/schema/validators/common.d.ts +12 -3
  29. package/build/cjs/schema/validators/common.js +4 -25
  30. package/build/cjs/schema/validators/common.js.map +1 -1
  31. package/build/cjs/schema/validators/event.d.ts +81 -0
  32. package/build/cjs/schema/validators/event.js +14 -1
  33. package/build/cjs/schema/validators/event.js.map +1 -1
  34. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +4 -1
  35. package/build/cjs/sub-blocks/BackgroundCard/schema.js +1 -13
  36. package/build/cjs/sub-blocks/BackgroundCard/schema.js.map +1 -1
  37. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -1
  38. package/build/cjs/sub-blocks/BasicCard/schema.js +1 -13
  39. package/build/cjs/sub-blocks/BasicCard/schema.js.map +1 -1
  40. package/build/cjs/sub-blocks/Content/schema.d.ts +8 -2
  41. package/build/cjs/sub-blocks/ImageCard/schema.d.ts +4 -1
  42. package/build/cjs/sub-blocks/ImageCard/schema.js +1 -13
  43. package/build/cjs/sub-blocks/ImageCard/schema.js.map +1 -1
  44. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +16 -4
  45. package/build/cjs/sub-blocks/LayoutItem/schema.js +1 -13
  46. package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
  47. package/build/cjs/sub-blocks/MediaCard/schema.js +1 -13
  48. package/build/cjs/sub-blocks/MediaCard/schema.js.map +1 -1
  49. package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -13
  50. package/build/cjs/sub-blocks/PriceDetailed/schema.js.map +1 -1
  51. package/build/esm/blocks/Banner/schema.js +1 -1
  52. package/build/esm/blocks/Banner/schema.js.map +1 -1
  53. package/build/esm/blocks/CardLayout/schema.d.ts +8 -2
  54. package/build/esm/blocks/ContentLayout/schema.d.ts +4 -172
  55. package/build/esm/blocks/ContentLayout/schema.js +0 -4
  56. package/build/esm/blocks/ContentLayout/schema.js.map +1 -1
  57. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -1
  58. package/build/esm/blocks/FilterBlock/schema.d.ts +8 -2
  59. package/build/esm/blocks/FoldableList/schema.d.ts +4 -1
  60. package/build/esm/blocks/Form/schema.d.ts +4 -1
  61. package/build/esm/blocks/Header/schema.d.ts +12 -3
  62. package/build/esm/blocks/HeaderSlider/schema.d.ts +4 -1
  63. package/build/esm/blocks/Hero/schema.d.ts +16 -4
  64. package/build/esm/blocks/Icons/schema.d.ts +92 -92
  65. package/build/esm/blocks/Icons/schema.js +2 -14
  66. package/build/esm/blocks/Icons/schema.js.map +1 -1
  67. package/build/esm/blocks/Info/schema.d.ts +8 -2
  68. package/build/esm/blocks/Map/schema.d.ts +4 -1
  69. package/build/esm/blocks/Media/schema.d.ts +16 -4
  70. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -2
  71. package/build/esm/blocks/Questions/schema.d.ts +4 -1
  72. package/build/esm/blocks/Slider/schema.d.ts +4 -1
  73. package/build/esm/blocks/SliderOld/schema.d.ts +4 -1
  74. package/build/esm/blocks/Tabs/schema.d.ts +12 -3
  75. package/build/esm/models/constructor-items/blocks.d.ts +4 -1
  76. package/build/esm/models/constructor-items/blocks.js.map +1 -1
  77. package/build/esm/schema/constants.d.ts +20 -5
  78. package/build/esm/schema/validators/common.d.ts +12 -3
  79. package/build/esm/schema/validators/common.js +5 -26
  80. package/build/esm/schema/validators/common.js.map +1 -1
  81. package/build/esm/schema/validators/event.d.ts +81 -0
  82. package/build/esm/schema/validators/event.js +13 -0
  83. package/build/esm/schema/validators/event.js.map +1 -1
  84. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +4 -1
  85. package/build/esm/sub-blocks/BackgroundCard/schema.js +2 -14
  86. package/build/esm/sub-blocks/BackgroundCard/schema.js.map +1 -1
  87. package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -1
  88. package/build/esm/sub-blocks/BasicCard/schema.js +2 -14
  89. package/build/esm/sub-blocks/BasicCard/schema.js.map +1 -1
  90. package/build/esm/sub-blocks/Content/schema.d.ts +8 -2
  91. package/build/esm/sub-blocks/ImageCard/schema.d.ts +4 -1
  92. package/build/esm/sub-blocks/ImageCard/schema.js +2 -14
  93. package/build/esm/sub-blocks/ImageCard/schema.js.map +1 -1
  94. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +16 -4
  95. package/build/esm/sub-blocks/LayoutItem/schema.js +2 -14
  96. package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
  97. package/build/esm/sub-blocks/MediaCard/schema.js +2 -14
  98. package/build/esm/sub-blocks/MediaCard/schema.js.map +1 -1
  99. package/build/esm/sub-blocks/PriceDetailed/schema.js +2 -14
  100. package/build/esm/sub-blocks/PriceDetailed/schema.js.map +1 -1
  101. package/package.json +1 -1
  102. package/schema/index.js +1 -1
  103. package/server/models/constructor-items/blocks.d.ts +4 -1
  104. package/widget/index.js +1 -1
@@ -37,49 +37,9 @@ export declare const IconsProps: {
37
37
  src: {
38
38
  type: string;
39
39
  };
40
- };
41
- analyticsEvents: {
42
- oneOf: ({
43
- optionName: string;
44
- type: string;
45
- additionalProperties: {
46
- type: string;
47
- };
48
- required: string[];
49
- properties: {
50
- name: {
51
- type: string;
52
- };
53
- type: {
54
- type: string;
55
- };
56
- counters: {
57
- type: string;
58
- additionalProperties: boolean;
59
- required: never[];
60
- properties: {
61
- include: {
62
- type: string;
63
- items: {
64
- type: string;
65
- };
66
- };
67
- exclude: {
68
- type: string;
69
- items: {
70
- type: string;
71
- };
72
- };
73
- };
74
- };
75
- context: {
76
- type: string;
77
- };
78
- };
79
- items?: undefined;
80
- } | {
81
- type: string;
82
- items: {
40
+ analyticsEvents: {
41
+ oneOf: ({
42
+ optionName: string;
83
43
  type: string;
84
44
  additionalProperties: {
85
45
  type: string;
@@ -115,9 +75,49 @@ export declare const IconsProps: {
115
75
  type: string;
116
76
  };
117
77
  };
118
- };
119
- optionName: string;
120
- })[];
78
+ items?: undefined;
79
+ } | {
80
+ type: string;
81
+ items: {
82
+ type: string;
83
+ additionalProperties: {
84
+ type: string;
85
+ };
86
+ required: string[];
87
+ properties: {
88
+ name: {
89
+ type: string;
90
+ };
91
+ type: {
92
+ type: string;
93
+ };
94
+ counters: {
95
+ type: string;
96
+ additionalProperties: boolean;
97
+ required: never[];
98
+ properties: {
99
+ include: {
100
+ type: string;
101
+ items: {
102
+ type: string;
103
+ };
104
+ };
105
+ exclude: {
106
+ type: string;
107
+ items: {
108
+ type: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ context: {
114
+ type: string;
115
+ };
116
+ };
117
+ };
118
+ optionName: string;
119
+ })[];
120
+ };
121
121
  };
122
122
  };
123
123
  };
@@ -218,49 +218,9 @@ export declare const IconsBlock: {
218
218
  src: {
219
219
  type: string;
220
220
  };
221
- };
222
- analyticsEvents: {
223
- oneOf: ({
224
- optionName: string;
225
- type: string;
226
- additionalProperties: {
227
- type: string;
228
- };
229
- required: string[];
230
- properties: {
231
- name: {
232
- type: string;
233
- };
234
- type: {
235
- type: string;
236
- };
237
- counters: {
238
- type: string;
239
- additionalProperties: boolean;
240
- required: never[];
241
- properties: {
242
- include: {
243
- type: string;
244
- items: {
245
- type: string;
246
- };
247
- };
248
- exclude: {
249
- type: string;
250
- items: {
251
- type: string;
252
- };
253
- };
254
- };
255
- };
256
- context: {
257
- type: string;
258
- };
259
- };
260
- items?: undefined;
261
- } | {
262
- type: string;
263
- items: {
221
+ analyticsEvents: {
222
+ oneOf: ({
223
+ optionName: string;
264
224
  type: string;
265
225
  additionalProperties: {
266
226
  type: string;
@@ -296,9 +256,49 @@ export declare const IconsBlock: {
296
256
  type: string;
297
257
  };
298
258
  };
299
- };
300
- optionName: string;
301
- })[];
259
+ items?: undefined;
260
+ } | {
261
+ type: string;
262
+ items: {
263
+ type: string;
264
+ additionalProperties: {
265
+ type: string;
266
+ };
267
+ required: string[];
268
+ properties: {
269
+ name: {
270
+ type: string;
271
+ };
272
+ type: {
273
+ type: string;
274
+ };
275
+ counters: {
276
+ type: string;
277
+ additionalProperties: boolean;
278
+ required: never[];
279
+ properties: {
280
+ include: {
281
+ type: string;
282
+ items: {
283
+ type: string;
284
+ };
285
+ };
286
+ exclude: {
287
+ type: string;
288
+ items: {
289
+ type: string;
290
+ };
291
+ };
292
+ };
293
+ };
294
+ context: {
295
+ type: string;
296
+ };
297
+ };
298
+ };
299
+ optionName: string;
300
+ })[];
301
+ };
302
302
  };
303
303
  };
304
304
  };
@@ -40,19 +40,7 @@ exports.IconsProps = {
40
40
  src: {
41
41
  type: 'string',
42
42
  },
43
- },
44
- analyticsEvents: {
45
- oneOf: [
46
- {
47
- ...event_1.AnalyticsEventSchema,
48
- optionName: 'single',
49
- },
50
- {
51
- type: 'array',
52
- items: event_1.AnalyticsEventSchema,
53
- optionName: 'list',
54
- },
55
- ],
43
+ analyticsEvents: event_1.AnalyticsEvents,
56
44
  },
57
45
  },
58
46
  },
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Icons/schema.ts"],"names":[],"mappings":";;;AAAA,8DAIwC;AACxC,4DAAmE;AAEtD,QAAA,UAAU,GAAG;IACtB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE;QACR,GAAG,uBAAc;QACjB,GAAG,wBAAe;QAClB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;YACrB,OAAO,EAAE,GAAG;SACf;QACD,QAAQ,EAAE,6BAAoB;QAC9B,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,KAAK,CAAC;gBACjB,UAAU,EAAE;oBACR,GAAG,EAAE;wBACD,IAAI,EAAE,QAAQ;qBACjB;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,MAAM;qBACtB;oBACD,GAAG,EAAE;wBACD,IAAI,EAAE,QAAQ;qBACjB;iBACJ;gBACD,eAAe,EAAE;oBACb,KAAK,EAAE;wBACH;4BACI,GAAG,4BAAoB;4BACvB,UAAU,EAAE,QAAQ;yBACvB;wBACD;4BACI,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,4BAAoB;4BAC3B,UAAU,EAAE,MAAM;yBACrB;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AAEW,QAAA,UAAU,GAAG;IACtB,aAAa,EAAE,kBAAU;CAC5B,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n containerSizesObject,\n} from '../../schema/validators/common';\nimport {AnalyticsEventSchema} from '../../schema/validators/event';\n\nexport const IconsProps = {\n additionalProperties: false,\n required: ['size', 'items'],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n title: {\n type: 'string',\n contentType: 'text',\n },\n description: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: ['s', 'm', 'l'],\n default: 's',\n },\n colSizes: containerSizesObject,\n items: {\n type: 'array',\n items: {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n url: {\n type: 'string',\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n src: {\n type: 'string',\n },\n },\n analyticsEvents: {\n oneOf: [\n {\n ...AnalyticsEventSchema,\n optionName: 'single',\n },\n {\n type: 'array',\n items: AnalyticsEventSchema,\n optionName: 'list',\n },\n ],\n },\n },\n },\n },\n};\n\nexport const IconsBlock = {\n 'icons-block': IconsProps,\n};\n"]}
1
+ {"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["blocks/Icons/schema.ts"],"names":[],"mappings":";;;AAAA,8DAIwC;AACxC,4DAA8D;AAEjD,QAAA,UAAU,GAAG;IACtB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;IAC3B,UAAU,EAAE;QACR,GAAG,uBAAc;QACjB,GAAG,wBAAe;QAClB,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;YACrB,OAAO,EAAE,GAAG;SACf;QACD,QAAQ,EAAE,6BAAoB;QAC9B,KAAK,EAAE;YACH,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,oBAAoB,EAAE,KAAK;gBAC3B,QAAQ,EAAE,CAAC,KAAK,CAAC;gBACjB,UAAU,EAAE;oBACR,GAAG,EAAE;wBACD,IAAI,EAAE,QAAQ;qBACjB;oBACD,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,MAAM;qBACtB;oBACD,GAAG,EAAE;wBACD,IAAI,EAAE,QAAQ;qBACjB;oBACD,eAAe,EAAE,uBAAe;iBACnC;aACJ;SACJ;KACJ;CACJ,CAAC;AAEW,QAAA,UAAU,GAAG;IACtB,aAAa,EAAE,kBAAU;CAC5B,CAAC","sourcesContent":["import {\n AnimatableProps,\n BlockBaseProps,\n containerSizesObject,\n} from '../../schema/validators/common';\nimport {AnalyticsEvents} from '../../schema/validators/event';\n\nexport const IconsProps = {\n additionalProperties: false,\n required: ['size', 'items'],\n properties: {\n ...BlockBaseProps,\n ...AnimatableProps,\n title: {\n type: 'string',\n contentType: 'text',\n },\n description: {\n type: 'string',\n contentType: 'text',\n },\n size: {\n type: 'string',\n enum: ['s', 'm', 'l'],\n default: 's',\n },\n colSizes: containerSizesObject,\n items: {\n type: 'array',\n items: {\n type: 'object',\n additionalProperties: false,\n required: ['src'],\n properties: {\n url: {\n type: 'string',\n },\n text: {\n type: 'string',\n contentType: 'text',\n },\n src: {\n type: 'string',\n },\n analyticsEvents: AnalyticsEvents,\n },\n },\n },\n },\n};\n\nexport const IconsBlock = {\n 'icons-block': IconsProps,\n};\n"]}
@@ -82,7 +82,8 @@ export declare const InfoBlock: {
82
82
  type: string;
83
83
  };
84
84
  analyticsEvents: {
85
- anyOf: ({
85
+ oneOf: ({
86
+ optionName: string;
86
87
  type: string;
87
88
  additionalProperties: {
88
89
  type: string;
@@ -118,6 +119,7 @@ export declare const InfoBlock: {
118
119
  type: string;
119
120
  };
120
121
  };
122
+ items?: undefined;
121
123
  } | {
122
124
  type: string;
123
125
  items: {
@@ -157,6 +159,7 @@ export declare const InfoBlock: {
157
159
  };
158
160
  };
159
161
  };
162
+ optionName: string;
160
163
  })[];
161
164
  };
162
165
  };
@@ -251,7 +254,8 @@ export declare const InfoBlock: {
251
254
  type: string;
252
255
  };
253
256
  analyticsEvents: {
254
- anyOf: ({
257
+ oneOf: ({
258
+ optionName: string;
255
259
  type: string;
256
260
  additionalProperties: {
257
261
  type: string;
@@ -287,6 +291,7 @@ export declare const InfoBlock: {
287
291
  type: string;
288
292
  };
289
293
  };
294
+ items?: undefined;
290
295
  } | {
291
296
  type: string;
292
297
  items: {
@@ -326,6 +331,7 @@ export declare const InfoBlock: {
326
331
  };
327
332
  };
328
333
  };
334
+ optionName: string;
329
335
  })[];
330
336
  };
331
337
  };
@@ -419,7 +419,8 @@ export declare const MapBlock: {
419
419
  type: string;
420
420
  };
421
421
  analyticsEvents: {
422
- anyOf: ({
422
+ oneOf: ({
423
+ optionName: string;
423
424
  type: string;
424
425
  additionalProperties: {
425
426
  type: string;
@@ -455,6 +456,7 @@ export declare const MapBlock: {
455
456
  type: string;
456
457
  };
457
458
  };
459
+ items?: undefined;
458
460
  } | {
459
461
  type: string;
460
462
  items: {
@@ -494,6 +496,7 @@ export declare const MapBlock: {
494
496
  };
495
497
  };
496
498
  };
499
+ optionName: string;
497
500
  })[];
498
501
  };
499
502
  };
@@ -201,7 +201,8 @@ export declare const Media: {
201
201
  type: string;
202
202
  };
203
203
  analyticsEvents: {
204
- anyOf: ({
204
+ oneOf: ({
205
+ optionName: string;
205
206
  type: string;
206
207
  additionalProperties: {
207
208
  type: string;
@@ -237,6 +238,7 @@ export declare const Media: {
237
238
  type: string;
238
239
  };
239
240
  };
241
+ items?: undefined;
240
242
  } | {
241
243
  type: string;
242
244
  items: {
@@ -276,6 +278,7 @@ export declare const Media: {
276
278
  };
277
279
  };
278
280
  };
281
+ optionName: string;
279
282
  })[];
280
283
  };
281
284
  ratio: {
@@ -529,7 +532,8 @@ export declare const MediaBlockBaseProps: {
529
532
  type: string;
530
533
  };
531
534
  analyticsEvents: {
532
- anyOf: ({
535
+ oneOf: ({
536
+ optionName: string;
533
537
  type: string;
534
538
  additionalProperties: {
535
539
  type: string;
@@ -565,6 +569,7 @@ export declare const MediaBlockBaseProps: {
565
569
  type: string;
566
570
  };
567
571
  };
572
+ items?: undefined;
568
573
  } | {
569
574
  type: string;
570
575
  items: {
@@ -604,6 +609,7 @@ export declare const MediaBlockBaseProps: {
604
609
  };
605
610
  };
606
611
  };
612
+ optionName: string;
607
613
  })[];
608
614
  };
609
615
  };
@@ -919,7 +925,8 @@ export declare const MediaBlock: {
919
925
  type: string;
920
926
  };
921
927
  analyticsEvents: {
922
- anyOf: ({
928
+ oneOf: ({
929
+ optionName: string;
923
930
  type: string;
924
931
  additionalProperties: {
925
932
  type: string;
@@ -955,6 +962,7 @@ export declare const MediaBlock: {
955
962
  type: string;
956
963
  };
957
964
  };
965
+ items?: undefined;
958
966
  } | {
959
967
  type: string;
960
968
  items: {
@@ -994,6 +1002,7 @@ export declare const MediaBlock: {
994
1002
  };
995
1003
  };
996
1004
  };
1005
+ optionName: string;
997
1006
  })[];
998
1007
  };
999
1008
  ratio: {
@@ -1255,7 +1264,8 @@ export declare const MediaBlock: {
1255
1264
  type: string;
1256
1265
  };
1257
1266
  analyticsEvents: {
1258
- anyOf: ({
1267
+ oneOf: ({
1268
+ optionName: string;
1259
1269
  type: string;
1260
1270
  additionalProperties: {
1261
1271
  type: string;
@@ -1291,6 +1301,7 @@ export declare const MediaBlock: {
1291
1301
  type: string;
1292
1302
  };
1293
1303
  };
1304
+ items?: undefined;
1294
1305
  } | {
1295
1306
  type: string;
1296
1307
  items: {
@@ -1330,6 +1341,7 @@ export declare const MediaBlock: {
1330
1341
  };
1331
1342
  };
1332
1343
  };
1344
+ optionName: string;
1333
1345
  })[];
1334
1346
  };
1335
1347
  };
@@ -217,7 +217,8 @@ export declare const PromoFeaturesItem: {
217
217
  type: string;
218
218
  };
219
219
  analyticsEvents: {
220
- anyOf: ({
220
+ oneOf: ({
221
+ optionName: string;
221
222
  type: string;
222
223
  additionalProperties: {
223
224
  type: string;
@@ -253,6 +254,7 @@ export declare const PromoFeaturesItem: {
253
254
  type: string;
254
255
  };
255
256
  };
257
+ items?: undefined;
256
258
  } | {
257
259
  type: string;
258
260
  items: {
@@ -292,6 +294,7 @@ export declare const PromoFeaturesItem: {
292
294
  };
293
295
  };
294
296
  };
297
+ optionName: string;
295
298
  })[];
296
299
  };
297
300
  ratio: {
@@ -374,7 +377,8 @@ export declare const PromoFeaturesBlock: {
374
377
  type: string;
375
378
  };
376
379
  analyticsEvents: {
377
- anyOf: ({
380
+ oneOf: ({
381
+ optionName: string;
378
382
  type: string;
379
383
  additionalProperties: {
380
384
  type: string;
@@ -410,6 +414,7 @@ export declare const PromoFeaturesBlock: {
410
414
  type: string;
411
415
  };
412
416
  };
417
+ items?: undefined;
413
418
  } | {
414
419
  type: string;
415
420
  items: {
@@ -449,6 +454,7 @@ export declare const PromoFeaturesBlock: {
449
454
  };
450
455
  };
451
456
  };
457
+ optionName: string;
452
458
  })[];
453
459
  };
454
460
  };
@@ -43,7 +43,8 @@ export declare const QuestionsBlock: {
43
43
  type: string;
44
44
  };
45
45
  analyticsEvents: {
46
- anyOf: ({
46
+ oneOf: ({
47
+ optionName: string;
47
48
  type: string;
48
49
  additionalProperties: {
49
50
  type: string;
@@ -79,6 +80,7 @@ export declare const QuestionsBlock: {
79
80
  type: string;
80
81
  };
81
82
  };
83
+ items?: undefined;
82
84
  } | {
83
85
  type: string;
84
86
  items: {
@@ -118,6 +120,7 @@ export declare const QuestionsBlock: {
118
120
  };
119
121
  };
120
122
  };
123
+ optionName: string;
121
124
  })[];
122
125
  };
123
126
  };
@@ -123,7 +123,8 @@ export declare const SliderBlock: {
123
123
  type: string;
124
124
  };
125
125
  analyticsEvents: {
126
- anyOf: ({
126
+ oneOf: ({
127
+ optionName: string;
127
128
  type: string;
128
129
  additionalProperties: {
129
130
  type: string;
@@ -159,6 +160,7 @@ export declare const SliderBlock: {
159
160
  type: string;
160
161
  };
161
162
  };
163
+ items?: undefined;
162
164
  } | {
163
165
  type: string;
164
166
  items: {
@@ -198,6 +200,7 @@ export declare const SliderBlock: {
198
200
  };
199
201
  };
200
202
  };
203
+ optionName: string;
201
204
  })[];
202
205
  };
203
206
  };
@@ -115,7 +115,8 @@ export declare const SliderOldBlock: {
115
115
  type: string;
116
116
  };
117
117
  analyticsEvents: {
118
- anyOf: ({
118
+ oneOf: ({
119
+ optionName: string;
119
120
  type: string;
120
121
  additionalProperties: {
121
122
  type: string;
@@ -151,6 +152,7 @@ export declare const SliderOldBlock: {
151
152
  type: string;
152
153
  };
153
154
  };
155
+ items?: undefined;
154
156
  } | {
155
157
  type: string;
156
158
  items: {
@@ -190,6 +192,7 @@ export declare const SliderOldBlock: {
190
192
  };
191
193
  };
192
194
  };
195
+ optionName: string;
193
196
  })[];
194
197
  };
195
198
  };
@@ -212,7 +212,8 @@ export declare const tabsItem: {
212
212
  type: string;
213
213
  };
214
214
  analyticsEvents: {
215
- anyOf: ({
215
+ oneOf: ({
216
+ optionName: string;
216
217
  type: string;
217
218
  additionalProperties: {
218
219
  type: string;
@@ -248,6 +249,7 @@ export declare const tabsItem: {
248
249
  type: string;
249
250
  };
250
251
  };
252
+ items?: undefined;
251
253
  } | {
252
254
  type: string;
253
255
  items: {
@@ -287,6 +289,7 @@ export declare const tabsItem: {
287
289
  };
288
290
  };
289
291
  };
292
+ optionName: string;
290
293
  })[];
291
294
  };
292
295
  ratio: {
@@ -519,7 +522,8 @@ export declare const tabsItem: {
519
522
  type: string;
520
523
  };
521
524
  analyticsEvents: {
522
- anyOf: ({
525
+ oneOf: ({
526
+ optionName: string;
523
527
  type: string;
524
528
  additionalProperties: {
525
529
  type: string;
@@ -555,6 +559,7 @@ export declare const tabsItem: {
555
559
  type: string;
556
560
  };
557
561
  };
562
+ items?: undefined;
558
563
  } | {
559
564
  type: string;
560
565
  items: {
@@ -594,6 +599,7 @@ export declare const tabsItem: {
594
599
  };
595
600
  };
596
601
  };
602
+ optionName: string;
597
603
  })[];
598
604
  };
599
605
  };
@@ -717,7 +723,8 @@ export declare const TabsBlock: {
717
723
  type: string;
718
724
  };
719
725
  analyticsEvents: {
720
- anyOf: ({
726
+ oneOf: ({
727
+ optionName: string;
721
728
  type: string;
722
729
  additionalProperties: {
723
730
  type: string;
@@ -753,6 +760,7 @@ export declare const TabsBlock: {
753
760
  type: string;
754
761
  };
755
762
  };
763
+ items?: undefined;
756
764
  } | {
757
765
  type: string;
758
766
  items: {
@@ -792,6 +800,7 @@ export declare const TabsBlock: {
792
800
  };
793
801
  };
794
802
  };
803
+ optionName: string;
795
804
  })[];
796
805
  };
797
806
  };
@@ -152,7 +152,10 @@ export interface HeroBlockBackground extends Partial<MediaComponentImageProps>,
152
152
  export interface HeroBlockMedia extends Partial<MediaProps> {
153
153
  roundCorners?: boolean;
154
154
  }
155
- export interface HeroBlockProps extends Pick<ContentBlockProps, 'title' | 'text' | 'list' | 'additionalInfo' | 'links' | 'theme'> {
155
+ export interface HeroBlockContent extends Pick<ContentBlockProps, 'text' | 'list' | 'additionalInfo' | 'links' | 'theme'> {
156
+ title: Required<ContentBlockProps>['title'];
157
+ }
158
+ export interface HeroBlockProps extends HeroBlockContent {
156
159
  breadcrumbs?: HeaderBreadCrumbsProps;
157
160
  overtitle?: string | JSX.Element;
158
161
  /** Buttons are always rendered at size `xl` — a per-button `size` has no effect. */