@gravity-ui/page-constructor 1.11.1 → 1.12.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 (127) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/build/cjs/blocks/Banner/schema.d.ts +12 -0
  3. package/build/cjs/blocks/Banner/schema.js +2 -0
  4. package/build/cjs/blocks/CardLayout/schema.d.ts +28 -22
  5. package/build/cjs/blocks/CardLayout/schema.js +1 -5
  6. package/build/cjs/blocks/Companies/schema.d.ts +2 -0
  7. package/build/cjs/blocks/Companies/schema.js +2 -0
  8. package/build/cjs/blocks/ContentLayout/schema.d.ts +6 -0
  9. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +22 -16
  10. package/build/cjs/blocks/ExtendedFeatures/schema.js +3 -5
  11. package/build/cjs/blocks/Header/schema.d.ts +16 -0
  12. package/build/cjs/blocks/Header/schema.js +5 -0
  13. package/build/cjs/blocks/HeaderSlider/schema.d.ts +9 -23
  14. package/build/cjs/blocks/Icons/schema.d.ts +6 -0
  15. package/build/cjs/blocks/Icons/schema.js +2 -0
  16. package/build/cjs/blocks/Info/schema.d.ts +10 -0
  17. package/build/cjs/blocks/Info/schema.js +2 -0
  18. package/build/cjs/blocks/LinkTable/schema.d.ts +30 -20
  19. package/build/cjs/blocks/LinkTable/schema.js +1 -1
  20. package/build/cjs/blocks/Media/schema.d.ts +62 -53
  21. package/build/cjs/blocks/Media/schema.js +6 -10
  22. package/build/cjs/blocks/Preview/schema.d.ts +2 -0
  23. package/build/cjs/blocks/Preview/schema.js +4 -0
  24. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +20 -14
  25. package/build/cjs/blocks/PromoFeaturesBlock/schema.js +3 -5
  26. package/build/cjs/blocks/Questions/schema.d.ts +5 -0
  27. package/build/cjs/blocks/Questions/schema.js +2 -0
  28. package/build/cjs/blocks/Security/schema.d.ts +2 -0
  29. package/build/cjs/blocks/Security/schema.js +2 -0
  30. package/build/cjs/blocks/Simple/schema.d.ts +3 -0
  31. package/build/cjs/blocks/Simple/schema.js +1 -0
  32. package/build/cjs/blocks/Slider/schema.d.ts +31 -45
  33. package/build/cjs/blocks/Slider/schema.js +2 -5
  34. package/build/cjs/blocks/Table/schema.d.ts +4 -0
  35. package/build/cjs/blocks/Table/schema.js +3 -0
  36. package/build/cjs/blocks/Tabs/schema.d.ts +37 -23
  37. package/build/cjs/blocks/Tabs/schema.js +2 -3
  38. package/build/cjs/components/Author/schema.d.ts +3 -0
  39. package/build/cjs/components/BlockHeader/BlockHeader.css +8 -19
  40. package/build/cjs/components/BlockHeader/BlockHeader.js +4 -3
  41. package/build/cjs/components/Image/schema.d.ts +2 -0
  42. package/build/cjs/components/Image/schema.js +14 -23
  43. package/build/cjs/schema/index.d.ts +2 -0
  44. package/build/cjs/schema/validators/common.d.ts +48 -0
  45. package/build/cjs/schema/validators/common.js +21 -1
  46. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  47. package/build/cjs/sub-blocks/BasicCard/schema.d.ts +4 -0
  48. package/build/cjs/sub-blocks/CardWithImage/schema.d.ts +54 -46
  49. package/build/cjs/sub-blocks/CardWithImage/schema.js +7 -6
  50. package/build/cjs/sub-blocks/Content/schema.d.ts +8 -0
  51. package/build/cjs/sub-blocks/Content/schema.js +3 -1
  52. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -0
  53. package/build/cjs/sub-blocks/NewsCard/schema.d.ts +1 -0
  54. package/build/cjs/sub-blocks/NewsCard/schema.js +1 -0
  55. package/build/cjs/sub-blocks/Partner/schema.d.ts +1 -0
  56. package/build/cjs/sub-blocks/Partner/schema.js +1 -0
  57. package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  58. package/build/cjs/sub-blocks/PriceDetailed/schema.js +8 -0
  59. package/build/cjs/sub-blocks/Quote/schema.d.ts +4 -0
  60. package/build/cjs/sub-blocks/Quote/schema.js +1 -0
  61. package/build/cjs/sub-blocks/TutorialCard/schema.d.ts +2 -0
  62. package/build/cjs/sub-blocks/TutorialCard/schema.js +2 -0
  63. package/build/cjs/text-transform/blocks.js +49 -32
  64. package/build/esm/blocks/Banner/schema.d.ts +12 -0
  65. package/build/esm/blocks/Banner/schema.js +2 -0
  66. package/build/esm/blocks/CardLayout/schema.d.ts +28 -22
  67. package/build/esm/blocks/CardLayout/schema.js +2 -6
  68. package/build/esm/blocks/Companies/schema.d.ts +2 -0
  69. package/build/esm/blocks/Companies/schema.js +2 -0
  70. package/build/esm/blocks/ContentLayout/schema.d.ts +6 -0
  71. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +22 -16
  72. package/build/esm/blocks/ExtendedFeatures/schema.js +4 -6
  73. package/build/esm/blocks/Header/schema.d.ts +16 -0
  74. package/build/esm/blocks/Header/schema.js +5 -0
  75. package/build/esm/blocks/HeaderSlider/schema.d.ts +9 -23
  76. package/build/esm/blocks/Icons/schema.d.ts +6 -0
  77. package/build/esm/blocks/Icons/schema.js +2 -0
  78. package/build/esm/blocks/Info/schema.d.ts +10 -0
  79. package/build/esm/blocks/Info/schema.js +2 -0
  80. package/build/esm/blocks/LinkTable/schema.d.ts +30 -20
  81. package/build/esm/blocks/LinkTable/schema.js +2 -2
  82. package/build/esm/blocks/Media/schema.d.ts +62 -53
  83. package/build/esm/blocks/Media/schema.js +7 -11
  84. package/build/esm/blocks/Preview/schema.d.ts +2 -0
  85. package/build/esm/blocks/Preview/schema.js +4 -0
  86. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +20 -14
  87. package/build/esm/blocks/PromoFeaturesBlock/schema.js +4 -6
  88. package/build/esm/blocks/Questions/schema.d.ts +5 -0
  89. package/build/esm/blocks/Questions/schema.js +2 -0
  90. package/build/esm/blocks/Security/schema.d.ts +2 -0
  91. package/build/esm/blocks/Security/schema.js +2 -0
  92. package/build/esm/blocks/Simple/schema.d.ts +3 -0
  93. package/build/esm/blocks/Simple/schema.js +1 -0
  94. package/build/esm/blocks/Slider/schema.d.ts +31 -45
  95. package/build/esm/blocks/Slider/schema.js +3 -6
  96. package/build/esm/blocks/Table/schema.d.ts +4 -0
  97. package/build/esm/blocks/Table/schema.js +3 -0
  98. package/build/esm/blocks/Tabs/schema.d.ts +37 -23
  99. package/build/esm/blocks/Tabs/schema.js +3 -4
  100. package/build/esm/components/Author/schema.d.ts +3 -0
  101. package/build/esm/components/BlockHeader/BlockHeader.css +8 -19
  102. package/build/esm/components/BlockHeader/BlockHeader.js +5 -4
  103. package/build/esm/components/Image/schema.d.ts +2 -0
  104. package/build/esm/components/Image/schema.js +14 -23
  105. package/build/esm/schema/index.d.ts +2 -0
  106. package/build/esm/schema/validators/common.d.ts +48 -0
  107. package/build/esm/schema/validators/common.js +20 -0
  108. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +5 -0
  109. package/build/esm/sub-blocks/BasicCard/schema.d.ts +4 -0
  110. package/build/esm/sub-blocks/CardWithImage/schema.d.ts +54 -46
  111. package/build/esm/sub-blocks/CardWithImage/schema.js +8 -7
  112. package/build/esm/sub-blocks/Content/schema.d.ts +8 -0
  113. package/build/esm/sub-blocks/Content/schema.js +3 -1
  114. package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -0
  115. package/build/esm/sub-blocks/NewsCard/schema.d.ts +1 -0
  116. package/build/esm/sub-blocks/NewsCard/schema.js +1 -0
  117. package/build/esm/sub-blocks/Partner/schema.d.ts +1 -0
  118. package/build/esm/sub-blocks/Partner/schema.js +1 -0
  119. package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
  120. package/build/esm/sub-blocks/PriceDetailed/schema.js +8 -0
  121. package/build/esm/sub-blocks/Quote/schema.d.ts +4 -0
  122. package/build/esm/sub-blocks/Quote/schema.js +1 -0
  123. package/build/esm/sub-blocks/TutorialCard/schema.d.ts +2 -0
  124. package/build/esm/sub-blocks/TutorialCard/schema.js +2 -0
  125. package/build/esm/text-transform/blocks.js +49 -32
  126. package/package.json +1 -4
  127. package/server/text-transform/blocks.js +49 -32
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.12.1](https://github.com/gravity-ui/page-constructor/compare/v1.12.0...v1.12.1) (2023-01-11)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **BlockHeader:** add yfm to description, change styles ([#105](https://github.com/gravity-ui/page-constructor/issues/105)) ([f77fc5e](https://github.com/gravity-ui/page-constructor/commit/f77fc5e82f7aaf33dda8f56a9f17a87d61cc5cdd))
9
+ * contentBase import ([#109](https://github.com/gravity-ui/page-constructor/issues/109)) ([2136f7b](https://github.com/gravity-ui/page-constructor/commit/2136f7bbe340c6035c655ff5139ae69ee1b50d3e))
10
+
11
+ ## [1.12.0](https://github.com/gravity-ui/page-constructor/compare/v1.11.1...v1.12.0) (2023-01-10)
12
+
13
+
14
+ ### Features
15
+
16
+ * **schemas:** add content field to blocks' schemas ([#60](https://github.com/gravity-ui/page-constructor/issues/60)) ([f3952b3](https://github.com/gravity-ui/page-constructor/commit/f3952b367b8c5d53b33fb57cf063f713938a077d))
17
+
3
18
  ## [1.11.1](https://github.com/gravity-ui/page-constructor/compare/v1.11.0...v1.11.1) (2023-01-10)
4
19
 
5
20
 
@@ -4,9 +4,11 @@ export declare const BannerCardProps: {
4
4
  properties: {
5
5
  title: {
6
6
  type: string;
7
+ contentType: string;
7
8
  };
8
9
  subtitle: {
9
10
  type: string;
11
+ contentType: string;
10
12
  };
11
13
  image: {
12
14
  oneOf: ({
@@ -45,6 +47,7 @@ export declare const BannerCardProps: {
45
47
  properties: {
46
48
  text: {
47
49
  type: string;
50
+ contentType: string;
48
51
  };
49
52
  url: {
50
53
  type: string;
@@ -80,6 +83,7 @@ export declare const BannerCardProps: {
80
83
  };
81
84
  alt: {
82
85
  type: string;
86
+ contentType: string;
83
87
  };
84
88
  };
85
89
  })[];
@@ -202,9 +206,11 @@ export declare const BannerBlock: {
202
206
  properties: {
203
207
  title: {
204
208
  type: string;
209
+ contentType: string;
205
210
  };
206
211
  subtitle: {
207
212
  type: string;
213
+ contentType: string;
208
214
  };
209
215
  image: {
210
216
  oneOf: ({
@@ -243,6 +249,7 @@ export declare const BannerBlock: {
243
249
  properties: {
244
250
  text: {
245
251
  type: string;
252
+ contentType: string;
246
253
  };
247
254
  url: {
248
255
  type: string;
@@ -278,6 +285,7 @@ export declare const BannerBlock: {
278
285
  };
279
286
  alt: {
280
287
  type: string;
288
+ contentType: string;
281
289
  };
282
290
  };
283
291
  })[];
@@ -401,9 +409,11 @@ export declare const BannerCard: {
401
409
  properties: {
402
410
  title: {
403
411
  type: string;
412
+ contentType: string;
404
413
  };
405
414
  subtitle: {
406
415
  type: string;
416
+ contentType: string;
407
417
  };
408
418
  image: {
409
419
  oneOf: ({
@@ -442,6 +452,7 @@ export declare const BannerCard: {
442
452
  properties: {
443
453
  text: {
444
454
  type: string;
455
+ contentType: string;
445
456
  };
446
457
  url: {
447
458
  type: string;
@@ -477,6 +488,7 @@ export declare const BannerCard: {
477
488
  };
478
489
  alt: {
479
490
  type: string;
491
+ contentType: string;
480
492
  };
481
493
  };
482
494
  })[];
@@ -7,8 +7,10 @@ exports.BannerCardProps = {
7
7
  required: ['title', 'button'],
8
8
  properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: {
9
9
  type: 'string',
10
+ contentType: 'text',
10
11
  }, subtitle: {
11
12
  type: 'string',
13
+ contentType: 'yfm',
12
14
  }, image: (0, common_1.withTheme)({
13
15
  type: 'string',
14
16
  }), disableCompress: {
@@ -2,6 +2,17 @@ export declare const CardLayoutProps: {
2
2
  additionalProperties: boolean;
3
3
  required: string[];
4
4
  properties: {
5
+ colSizes: {
6
+ type: string;
7
+ additionalProperties: boolean;
8
+ properties: {};
9
+ };
10
+ children: {
11
+ type: string;
12
+ items: {
13
+ $ref: string;
14
+ };
15
+ };
5
16
  title: {
6
17
  oneOf: ({
7
18
  type: string;
@@ -10,6 +21,7 @@ export declare const CardLayoutProps: {
10
21
  properties: {
11
22
  text: {
12
23
  type: string;
24
+ contentType: string;
13
25
  };
14
26
  textSize: {
15
27
  type: string;
@@ -28,17 +40,7 @@ export declare const CardLayoutProps: {
28
40
  };
29
41
  description: {
30
42
  type: string;
31
- };
32
- colSizes: {
33
- type: string;
34
- additionalProperties: boolean;
35
- properties: {};
36
- };
37
- children: {
38
- type: string;
39
- items: {
40
- $ref: string;
41
- };
43
+ contentType: string;
42
44
  };
43
45
  animated: {
44
46
  type: string;
@@ -50,6 +52,7 @@ export declare const CardLayoutProps: {
50
52
  properties: {
51
53
  text: {
52
54
  type: string;
55
+ contentType: string;
53
56
  };
54
57
  url: {
55
58
  type: string;
@@ -72,6 +75,17 @@ export declare const CardLayoutBlock: {
72
75
  additionalProperties: boolean;
73
76
  required: string[];
74
77
  properties: {
78
+ colSizes: {
79
+ type: string;
80
+ additionalProperties: boolean;
81
+ properties: {};
82
+ };
83
+ children: {
84
+ type: string;
85
+ items: {
86
+ $ref: string;
87
+ };
88
+ };
75
89
  title: {
76
90
  oneOf: ({
77
91
  type: string;
@@ -80,6 +94,7 @@ export declare const CardLayoutBlock: {
80
94
  properties: {
81
95
  text: {
82
96
  type: string;
97
+ contentType: string;
83
98
  };
84
99
  textSize: {
85
100
  type: string;
@@ -98,17 +113,7 @@ export declare const CardLayoutBlock: {
98
113
  };
99
114
  description: {
100
115
  type: string;
101
- };
102
- colSizes: {
103
- type: string;
104
- additionalProperties: boolean;
105
- properties: {};
106
- };
107
- children: {
108
- type: string;
109
- items: {
110
- $ref: string;
111
- };
116
+ contentType: string;
112
117
  };
113
118
  animated: {
114
119
  type: string;
@@ -120,6 +125,7 @@ export declare const CardLayoutBlock: {
120
125
  properties: {
121
126
  text: {
122
127
  type: string;
128
+ contentType: string;
123
129
  };
124
130
  url: {
125
131
  type: string;
@@ -5,11 +5,7 @@ const common_1 = require("../../schema/validators/common");
5
5
  exports.CardLayoutProps = {
6
6
  additionalProperties: false,
7
7
  required: ['title'],
8
- properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
9
- oneOf: [{ type: 'string' }, common_1.TitleProps],
10
- }, description: {
11
- type: 'string',
12
- }, colSizes: common_1.containerSizesObject, children: common_1.ChildrenCardsProps }),
8
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), common_1.BlockHeaderProps), { colSizes: common_1.containerSizesObject, children: common_1.ChildrenCardsProps }),
13
9
  };
14
10
  exports.CardLayoutBlock = {
15
11
  'card-layout-block': exports.CardLayoutProps,
@@ -5,6 +5,7 @@ export declare const CompaniesBlock: {
5
5
  properties: {
6
6
  title: {
7
7
  type: string;
8
+ contentType: string;
8
9
  };
9
10
  images: {
10
11
  oneOf: ({
@@ -22,6 +23,7 @@ export declare const CompaniesBlock: {
22
23
  };
23
24
  alt: {
24
25
  type: string;
26
+ contentType: string;
25
27
  };
26
28
  };
27
29
  } | {
@@ -8,6 +8,7 @@ exports.CompaniesBlock = {
8
8
  required: ['title', 'images'],
9
9
  properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { title: {
10
10
  type: 'string',
11
+ contentType: 'text',
11
12
  }, images: (0, common_1.withTheme)({
12
13
  type: 'object',
13
14
  required: ['desktop', 'tablet', 'mobile'],
@@ -23,6 +24,7 @@ exports.CompaniesBlock = {
23
24
  },
24
25
  alt: {
25
26
  type: 'string',
27
+ contentType: 'text',
26
28
  },
27
29
  },
28
30
  }) }),
@@ -18,6 +18,7 @@ export declare const ContentLayoutBlock: {
18
18
  properties: {
19
19
  text: {
20
20
  type: string;
21
+ contentType: string;
21
22
  };
22
23
  textSize: {
23
24
  type: string;
@@ -32,13 +33,16 @@ export declare const ContentLayoutBlock: {
32
33
  };
33
34
  } | {
34
35
  type: string;
36
+ contentType: string;
35
37
  })[];
36
38
  };
37
39
  text: {
38
40
  type: string;
41
+ contentType: string;
39
42
  };
40
43
  additionalInfo: {
41
44
  type: string;
45
+ contentType: string;
42
46
  };
43
47
  size: {
44
48
  type: string;
@@ -100,6 +104,7 @@ export declare const ContentLayoutBlock: {
100
104
  };
101
105
  alt: {
102
106
  type: string;
107
+ contentType: string;
103
108
  };
104
109
  disableCompress: {
105
110
  type: string;
@@ -125,6 +130,7 @@ export declare const ContentLayoutBlock: {
125
130
  properties: {
126
131
  text: {
127
132
  type: string;
133
+ contentType: string;
128
134
  };
129
135
  url: {
130
136
  type: string;
@@ -4,9 +4,11 @@ export declare const ExtendedFeaturesItem: {
4
4
  properties: {
5
5
  title: {
6
6
  type: string;
7
+ contentType: string;
7
8
  };
8
9
  text: {
9
10
  type: string;
11
+ contentType: string;
10
12
  };
11
13
  label: {
12
14
  type: string;
@@ -19,6 +21,7 @@ export declare const ExtendedFeaturesItem: {
19
21
  properties: {
20
22
  text: {
21
23
  type: string;
24
+ contentType: string;
22
25
  };
23
26
  url: {
24
27
  type: string;
@@ -52,6 +55,22 @@ export declare const ExtendedFeaturesBlock: {
52
55
  additionalProperties: boolean;
53
56
  required: never[];
54
57
  properties: {
58
+ items: {
59
+ type: string;
60
+ items: {
61
+ type: string;
62
+ properties: {
63
+ when: {
64
+ type: string;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ colSizes: {
70
+ type: string;
71
+ additionalProperties: boolean;
72
+ properties: {};
73
+ };
55
74
  title: {
56
75
  oneOf: ({
57
76
  type: string;
@@ -60,6 +79,7 @@ export declare const ExtendedFeaturesBlock: {
60
79
  properties: {
61
80
  text: {
62
81
  type: string;
82
+ contentType: string;
63
83
  };
64
84
  textSize: {
65
85
  type: string;
@@ -78,22 +98,7 @@ export declare const ExtendedFeaturesBlock: {
78
98
  };
79
99
  description: {
80
100
  type: string;
81
- };
82
- items: {
83
- type: string;
84
- items: {
85
- type: string;
86
- properties: {
87
- when: {
88
- type: string;
89
- };
90
- };
91
- };
92
- };
93
- colSizes: {
94
- type: string;
95
- additionalProperties: boolean;
96
- properties: {};
101
+ contentType: string;
97
102
  };
98
103
  animated: {
99
104
  type: string;
@@ -105,6 +110,7 @@ export declare const ExtendedFeaturesBlock: {
105
110
  properties: {
106
111
  text: {
107
112
  type: string;
113
+ contentType: string;
108
114
  };
109
115
  url: {
110
116
  type: string;
@@ -9,9 +9,11 @@ exports.ExtendedFeaturesItem = {
9
9
  properties: {
10
10
  title: {
11
11
  type: 'string',
12
+ contentType: 'text',
12
13
  },
13
14
  text: {
14
15
  type: 'string',
16
+ contentType: 'yfm',
15
17
  },
16
18
  label: {
17
19
  type: 'string',
@@ -27,10 +29,6 @@ exports.ExtendedFeaturesBlock = {
27
29
  'extended-features-block': {
28
30
  additionalProperties: false,
29
31
  required: [],
30
- properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { title: {
31
- oneOf: [{ type: 'string' }, common_1.TitleProps],
32
- }, description: {
33
- type: 'string',
34
- }, items: (0, utils_1.filteredArray)(exports.ExtendedFeaturesItem), colSizes: common_1.containerSizesObject }),
32
+ properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), common_1.BlockHeaderProps), { items: (0, utils_1.filteredArray)(exports.ExtendedFeaturesItem), colSizes: common_1.containerSizesObject }),
35
33
  },
36
34
  };
@@ -97,6 +97,7 @@ export declare const HeaderBackgroundProps: {
97
97
  };
98
98
  text: {
99
99
  type: string;
100
+ contentType: string;
100
101
  };
101
102
  };
102
103
  };
@@ -141,12 +142,15 @@ export declare const HeaderBackgroundProps: {
141
142
  export declare const HeaderProperties: {
142
143
  title: {
143
144
  type: string;
145
+ contentType: string;
144
146
  };
145
147
  overtitle: {
146
148
  type: string;
149
+ contentType: string;
147
150
  };
148
151
  description: {
149
152
  type: string;
153
+ contentType: string;
150
154
  };
151
155
  width: {
152
156
  type: string;
@@ -243,6 +247,7 @@ export declare const HeaderProperties: {
243
247
  };
244
248
  text: {
245
249
  type: string;
250
+ contentType: string;
246
251
  };
247
252
  };
248
253
  };
@@ -267,6 +272,7 @@ export declare const HeaderProperties: {
267
272
  };
268
273
  title: {
269
274
  type: string;
275
+ contentType: string;
270
276
  };
271
277
  };
272
278
  };
@@ -378,6 +384,7 @@ export declare const HeaderProperties: {
378
384
  };
379
385
  text: {
380
386
  type: string;
387
+ contentType: string;
381
388
  };
382
389
  };
383
390
  };
@@ -446,6 +453,7 @@ export declare const HeaderProperties: {
446
453
  };
447
454
  text: {
448
455
  type: string;
456
+ contentType: string;
449
457
  };
450
458
  };
451
459
  };
@@ -467,12 +475,15 @@ export declare const HeaderBlock: {
467
475
  properties: {
468
476
  title: {
469
477
  type: string;
478
+ contentType: string;
470
479
  };
471
480
  overtitle: {
472
481
  type: string;
482
+ contentType: string;
473
483
  };
474
484
  description: {
475
485
  type: string;
486
+ contentType: string;
476
487
  };
477
488
  width: {
478
489
  type: string;
@@ -569,6 +580,7 @@ export declare const HeaderBlock: {
569
580
  };
570
581
  text: {
571
582
  type: string;
583
+ contentType: string;
572
584
  };
573
585
  };
574
586
  };
@@ -593,6 +605,7 @@ export declare const HeaderBlock: {
593
605
  };
594
606
  title: {
595
607
  type: string;
608
+ contentType: string;
596
609
  };
597
610
  };
598
611
  };
@@ -704,6 +717,7 @@ export declare const HeaderBlock: {
704
717
  };
705
718
  text: {
706
719
  type: string;
720
+ contentType: string;
707
721
  };
708
722
  };
709
723
  };
@@ -772,6 +786,7 @@ export declare const HeaderBlock: {
772
786
  };
773
787
  text: {
774
788
  type: string;
789
+ contentType: string;
775
790
  };
776
791
  };
777
792
  };
@@ -792,6 +807,7 @@ export declare const HeaderBlock: {
792
807
  properties: {
793
808
  text: {
794
809
  type: string;
810
+ contentType: string;
795
811
  };
796
812
  url: {
797
813
  type: string;
@@ -13,12 +13,15 @@ exports.HeaderBackgroundProps = {
13
13
  exports.HeaderProperties = {
14
14
  title: {
15
15
  type: 'string',
16
+ contentType: 'text',
16
17
  },
17
18
  overtitle: {
18
19
  type: 'string',
20
+ contentType: 'text',
19
21
  },
20
22
  description: {
21
23
  type: 'string',
24
+ contentType: 'yfm',
22
25
  },
23
26
  width: {
24
27
  type: 'string',
@@ -40,6 +43,7 @@ exports.HeaderProperties = {
40
43
  },
41
44
  title: {
42
45
  type: 'string',
46
+ contentType: 'text',
43
47
  },
44
48
  },
45
49
  },
@@ -73,6 +77,7 @@ exports.HeaderProperties = {
73
77
  },
74
78
  text: {
75
79
  type: 'string',
80
+ contentType: 'text',
76
81
  },
77
82
  },
78
83
  },
@@ -12,12 +12,15 @@ export declare const HeaderSliderBlock: {
12
12
  properties: {
13
13
  title: {
14
14
  type: string;
15
+ contentType: string;
15
16
  };
16
17
  overtitle: {
17
18
  type: string;
19
+ contentType: string;
18
20
  };
19
21
  description: {
20
22
  type: string;
23
+ contentType: string;
21
24
  };
22
25
  width: {
23
26
  type: string;
@@ -114,6 +117,7 @@ export declare const HeaderSliderBlock: {
114
117
  };
115
118
  text: {
116
119
  type: string;
120
+ contentType: string;
117
121
  };
118
122
  };
119
123
  };
@@ -138,6 +142,7 @@ export declare const HeaderSliderBlock: {
138
142
  };
139
143
  title: {
140
144
  type: string;
145
+ contentType: string;
141
146
  };
142
147
  };
143
148
  };
@@ -249,6 +254,7 @@ export declare const HeaderSliderBlock: {
249
254
  };
250
255
  text: {
251
256
  type: string;
257
+ contentType: string;
252
258
  };
253
259
  };
254
260
  };
@@ -317,6 +323,7 @@ export declare const HeaderSliderBlock: {
317
323
  };
318
324
  text: {
319
325
  type: string;
326
+ contentType: string;
320
327
  };
321
328
  };
322
329
  };
@@ -339,29 +346,6 @@ export declare const HeaderSliderBlock: {
339
346
  arrows: {
340
347
  type: string;
341
348
  };
342
- description: {
343
- type: string;
344
- };
345
- title: {
346
- type: string;
347
- additionalProperties: boolean;
348
- required: string[];
349
- properties: {
350
- text: {
351
- type: string;
352
- };
353
- textSize: {
354
- type: string;
355
- enum: string[];
356
- };
357
- url: {
358
- type: string;
359
- };
360
- resetMargin: {
361
- type: string;
362
- };
363
- };
364
- };
365
349
  randomOrder: {
366
350
  type: string;
367
351
  };
@@ -390,6 +374,7 @@ export declare const HeaderSliderBlock: {
390
374
  properties: {
391
375
  text: {
392
376
  type: string;
377
+ contentType: string;
393
378
  };
394
379
  size: {
395
380
  type: string;
@@ -434,6 +419,7 @@ export declare const HeaderSliderBlock: {
434
419
  properties: {
435
420
  text: {
436
421
  type: string;
422
+ contentType: string;
437
423
  };
438
424
  url: {
439
425
  type: string;
@@ -4,6 +4,7 @@ export declare const IconsProps: {
4
4
  properties: {
5
5
  title: {
6
6
  type: string;
7
+ contentType: string;
7
8
  };
8
9
  size: {
9
10
  type: string;
@@ -21,6 +22,7 @@ export declare const IconsProps: {
21
22
  };
22
23
  text: {
23
24
  type: string;
25
+ contentType: string;
24
26
  };
25
27
  src: {
26
28
  type: string;
@@ -38,6 +40,7 @@ export declare const IconsProps: {
38
40
  properties: {
39
41
  text: {
40
42
  type: string;
43
+ contentType: string;
41
44
  };
42
45
  url: {
43
46
  type: string;
@@ -62,6 +65,7 @@ export declare const IconsBlock: {
62
65
  properties: {
63
66
  title: {
64
67
  type: string;
68
+ contentType: string;
65
69
  };
66
70
  size: {
67
71
  type: string;
@@ -79,6 +83,7 @@ export declare const IconsBlock: {
79
83
  };
80
84
  text: {
81
85
  type: string;
86
+ contentType: string;
82
87
  };
83
88
  src: {
84
89
  type: string;
@@ -96,6 +101,7 @@ export declare const IconsBlock: {
96
101
  properties: {
97
102
  text: {
98
103
  type: string;
104
+ contentType: string;
99
105
  };
100
106
  url: {
101
107
  type: string;