@gravity-ui/page-constructor 4.47.0-beta.0 → 4.47.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 (123) hide show
  1. package/README.md +2 -2
  2. package/build/cjs/blocks/CardLayout/CardLayout.css +278 -1
  3. package/build/cjs/blocks/CardLayout/CardLayout.js +2 -1
  4. package/build/cjs/blocks/CardLayout/schema.d.ts +134 -62
  5. package/build/cjs/blocks/CardLayout/schema.js +6 -1
  6. package/build/cjs/blocks/ContentLayout/schema.d.ts +123 -65
  7. package/build/cjs/blocks/ContentLayout/schema.js +1 -1
  8. package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.css +270 -0
  9. package/build/cjs/blocks/Form/Form.css +4 -2
  10. package/build/cjs/blocks/Header/schema.d.ts +3 -33
  11. package/build/cjs/blocks/HeaderSlider/schema.d.ts +1 -11
  12. package/build/cjs/blocks/Map/Map.css +14 -0
  13. package/build/cjs/blocks/Map/Map.d.ts +1 -1
  14. package/build/cjs/blocks/Map/Map.js +9 -2
  15. package/build/cjs/blocks/Map/schema.d.ts +4 -0
  16. package/build/cjs/blocks/Media/Media.css +14 -0
  17. package/build/cjs/blocks/Media/Media.js +8 -2
  18. package/build/cjs/blocks/Media/schema.d.ts +16 -22
  19. package/build/cjs/blocks/Media/schema.js +9 -2
  20. package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
  21. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +1 -11
  22. package/build/cjs/blocks/Slider/Slider.css +270 -0
  23. package/build/cjs/blocks/Tabs/schema.d.ts +1 -11
  24. package/build/cjs/components/BalancedMasonry/BalancedMasonry.js +1 -1
  25. package/build/cjs/components/Image/schema.d.ts +102 -1
  26. package/build/cjs/components/Image/schema.js +9 -3
  27. package/build/cjs/components/Map/GoogleMap.js +2 -2
  28. package/build/cjs/components/Map/YMap/YandexMap.js +2 -2
  29. package/build/cjs/components/Media/Iframe/Iframe.css +4 -0
  30. package/build/cjs/components/Media/Iframe/Iframe.js +4 -64
  31. package/build/cjs/components/MediaBase/MediaBase.css +6 -0
  32. package/build/cjs/components/MediaBase/MediaBase.js +2 -2
  33. package/build/cjs/constructor-items.d.ts +1 -1
  34. package/build/cjs/editor/data/templates/banner-block.json +1 -2
  35. package/build/cjs/editor/data/templates/card-layout-block.json +3 -3
  36. package/build/cjs/editor/data/templates/companies-block.json +3 -9
  37. package/build/cjs/editor/data/templates/extended-features-block.json +3 -6
  38. package/build/cjs/editor/data/templates/filter-block.json +3 -3
  39. package/build/cjs/editor/data/templates/form-block.json +1 -1
  40. package/build/cjs/editor/data/templates/header-slider-block.json +2 -12
  41. package/build/cjs/editor/data/templates/icons-block.json +5 -5
  42. package/build/cjs/editor/data/templates/media-block.json +1 -4
  43. package/build/cjs/editor/data/templates/promo-features-block.json +5 -5
  44. package/build/cjs/editor/data/templates/slider-block.json +5 -5
  45. package/build/cjs/editor/data/templates/tabs-block.json +9 -42
  46. package/build/cjs/grid/Col/Col.d.ts +1 -1
  47. package/build/cjs/models/constructor-items/blocks.d.ts +6 -5
  48. package/build/cjs/models/constructor-items/common.d.ts +12 -5
  49. package/build/cjs/schema/constants.d.ts +2 -12
  50. package/build/cjs/schema/validators/common.d.ts +5 -11
  51. package/build/cjs/schema/validators/common.js +7 -10
  52. package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +1 -1
  53. package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +1 -11
  54. package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -11
  55. package/build/cjs/utils/borderSelector.d.ts +7 -0
  56. package/build/cjs/utils/borderSelector.js +18 -0
  57. package/build/esm/blocks/CardLayout/CardLayout.css +278 -1
  58. package/build/esm/blocks/CardLayout/CardLayout.js +3 -1
  59. package/build/esm/blocks/CardLayout/schema.d.ts +134 -62
  60. package/build/esm/blocks/CardLayout/schema.js +8 -3
  61. package/build/esm/blocks/ContentLayout/schema.d.ts +123 -65
  62. package/build/esm/blocks/ContentLayout/schema.js +2 -2
  63. package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.css +270 -0
  64. package/build/esm/blocks/Form/Form.css +4 -2
  65. package/build/esm/blocks/Header/schema.d.ts +3 -33
  66. package/build/esm/blocks/HeaderSlider/schema.d.ts +1 -11
  67. package/build/esm/blocks/Map/Map.css +14 -0
  68. package/build/esm/blocks/Map/Map.d.ts +2 -1
  69. package/build/esm/blocks/Map/Map.js +10 -2
  70. package/build/esm/blocks/Map/schema.d.ts +4 -0
  71. package/build/esm/blocks/Media/Media.css +14 -0
  72. package/build/esm/blocks/Media/Media.d.ts +1 -0
  73. package/build/esm/blocks/Media/Media.js +10 -3
  74. package/build/esm/blocks/Media/schema.d.ts +16 -22
  75. package/build/esm/blocks/Media/schema.js +9 -2
  76. package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
  77. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +1 -11
  78. package/build/esm/blocks/Slider/Slider.css +270 -0
  79. package/build/esm/blocks/Tabs/schema.d.ts +1 -11
  80. package/build/esm/components/BalancedMasonry/BalancedMasonry.js +1 -1
  81. package/build/esm/components/Image/schema.d.ts +102 -1
  82. package/build/esm/components/Image/schema.js +8 -2
  83. package/build/esm/components/Map/GoogleMap.js +2 -2
  84. package/build/esm/components/Map/YMap/YandexMap.js +2 -2
  85. package/build/esm/components/Media/Iframe/Iframe.css +4 -0
  86. package/build/esm/components/Media/Iframe/Iframe.js +4 -64
  87. package/build/esm/components/MediaBase/MediaBase.css +6 -0
  88. package/build/esm/components/MediaBase/MediaBase.js +2 -2
  89. package/build/esm/constructor-items.d.ts +1 -1
  90. package/build/esm/editor/data/templates/banner-block.json +1 -2
  91. package/build/esm/editor/data/templates/card-layout-block.json +3 -3
  92. package/build/esm/editor/data/templates/companies-block.json +3 -9
  93. package/build/esm/editor/data/templates/extended-features-block.json +3 -6
  94. package/build/esm/editor/data/templates/filter-block.json +3 -3
  95. package/build/esm/editor/data/templates/form-block.json +1 -1
  96. package/build/esm/editor/data/templates/header-slider-block.json +2 -12
  97. package/build/esm/editor/data/templates/icons-block.json +5 -5
  98. package/build/esm/editor/data/templates/media-block.json +1 -4
  99. package/build/esm/editor/data/templates/promo-features-block.json +5 -5
  100. package/build/esm/editor/data/templates/slider-block.json +5 -5
  101. package/build/esm/editor/data/templates/tabs-block.json +9 -42
  102. package/build/esm/grid/Col/Col.d.ts +1 -1
  103. package/build/esm/models/constructor-items/blocks.d.ts +6 -5
  104. package/build/esm/models/constructor-items/common.d.ts +12 -5
  105. package/build/esm/schema/constants.d.ts +2 -12
  106. package/build/esm/schema/validators/common.d.ts +5 -11
  107. package/build/esm/schema/validators/common.js +6 -9
  108. package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +1 -1
  109. package/build/esm/sub-blocks/LayoutItem/schema.d.ts +1 -11
  110. package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -11
  111. package/build/esm/utils/borderSelector.d.ts +7 -0
  112. package/build/esm/utils/borderSelector.js +14 -0
  113. package/package.json +2 -4
  114. package/server/models/constructor-items/blocks.d.ts +6 -5
  115. package/server/models/constructor-items/common.d.ts +12 -5
  116. package/styles/mixins.scss +30 -10
  117. package/widget/index.js +1 -1
  118. package/build/cjs/editor/data/templates/preview-block.json +0 -38
  119. package/build/cjs/editor/data/templates/security-block.json +0 -36
  120. package/build/cjs/editor/data/templates/simple-block.json +0 -7
  121. package/build/esm/editor/data/templates/preview-block.json +0 -38
  122. package/build/esm/editor/data/templates/security-block.json +0 -36
  123. package/build/esm/editor/data/templates/simple-block.json +0 -7
@@ -7,41 +7,71 @@ export declare const ContentLayoutBlock: {
7
7
  enum: string[];
8
8
  };
9
9
  background: {
10
- type: string;
11
- additionalProperties: boolean;
12
- required: string[];
13
- properties: {
14
- src: {
15
- type: string;
16
- pattern: string;
17
- };
18
- style: {
19
- type: string;
20
- additionalProperties: boolean;
21
- required: never[];
22
- properties: {
23
- backgroundColor: {
24
- type: string;
25
- };
26
- height: {
27
- type: string[];
28
- };
29
- width: {
30
- type: string[];
31
- };
32
- color: {
33
- type: string;
10
+ anyOf: ({
11
+ optionName: string;
12
+ type: string;
13
+ additionalProperties: boolean;
14
+ properties: {
15
+ src: {
16
+ type: string;
17
+ pattern: string;
18
+ };
19
+ style: {
20
+ type: string;
21
+ additionalProperties: boolean;
22
+ required: never[];
23
+ properties: {
24
+ backgroundColor: {
25
+ type: string;
26
+ };
27
+ height: {
28
+ type: string[];
29
+ };
30
+ width: {
31
+ type: string[];
32
+ };
33
+ color: {
34
+ type: string;
35
+ };
34
36
  };
35
37
  };
38
+ alt: {
39
+ type: string;
40
+ contentType: string;
41
+ };
42
+ disableCompress: {
43
+ type: string;
44
+ };
36
45
  };
37
- alt: {
38
- type: string;
39
- contentType: string;
40
- };
41
- disableCompress: {
42
- type: string;
46
+ } | {
47
+ optionName: string;
48
+ type: string;
49
+ additionalProperties: boolean;
50
+ required: string[];
51
+ properties: {
52
+ desktop: {
53
+ type: string;
54
+ pattern: string;
55
+ };
56
+ tablet: {
57
+ type: string;
58
+ pattern: string;
59
+ }; /**
60
+ * @deprecated Use params on top level instead
61
+ */
62
+ mobile: {
63
+ type: string;
64
+ pattern: string;
65
+ };
66
+ alt: {
67
+ type: string;
68
+ contentType: string;
69
+ };
70
+ disableCompress: {
71
+ type: string;
72
+ };
43
73
  };
44
- };
74
+ })[];
45
75
  };
46
76
  centered: {
47
77
  type: string;
@@ -92,9 +122,7 @@ export declare const ContentLayoutBlock: {
92
122
  };
93
123
  contentType?: undefined;
94
124
  })[];
95
- }; /**
96
- * @deprecated Use params on top level instead
97
- */
125
+ };
98
126
  text: {
99
127
  type: string;
100
128
  contentType: string;
@@ -167,41 +195,71 @@ export declare const ContentLayoutBlock: {
167
195
  enum: string[];
168
196
  };
169
197
  background: {
170
- type: string;
171
- additionalProperties: boolean;
172
- required: string[];
173
- properties: {
174
- src: {
175
- type: string;
176
- pattern: string;
177
- };
178
- style: {
179
- type: string;
180
- additionalProperties: boolean;
181
- required: never[];
182
- properties: {
183
- backgroundColor: {
184
- type: string;
185
- };
186
- height: {
187
- type: string[];
188
- };
189
- width: {
190
- type: string[];
191
- };
192
- color: {
193
- type: string;
198
+ anyOf: ({
199
+ optionName: string;
200
+ type: string;
201
+ additionalProperties: boolean;
202
+ properties: {
203
+ src: {
204
+ type: string;
205
+ pattern: string;
206
+ };
207
+ style: {
208
+ type: string;
209
+ additionalProperties: boolean;
210
+ required: never[];
211
+ properties: {
212
+ backgroundColor: {
213
+ type: string;
214
+ };
215
+ height: {
216
+ type: string[];
217
+ };
218
+ width: {
219
+ type: string[];
220
+ };
221
+ color: {
222
+ type: string;
223
+ };
194
224
  };
195
225
  };
226
+ alt: {
227
+ type: string;
228
+ contentType: string;
229
+ };
230
+ disableCompress: {
231
+ type: string;
232
+ };
196
233
  };
197
- alt: {
198
- type: string;
199
- contentType: string;
200
- };
201
- disableCompress: {
202
- type: string;
234
+ } | {
235
+ optionName: string;
236
+ type: string;
237
+ additionalProperties: boolean;
238
+ required: string[];
239
+ properties: {
240
+ desktop: {
241
+ type: string;
242
+ pattern: string;
243
+ };
244
+ tablet: {
245
+ type: string;
246
+ pattern: string;
247
+ }; /**
248
+ * @deprecated Use params on top level instead
249
+ */
250
+ mobile: {
251
+ type: string;
252
+ pattern: string;
253
+ };
254
+ alt: {
255
+ type: string;
256
+ contentType: string;
257
+ };
258
+ disableCompress: {
259
+ type: string;
260
+ };
203
261
  };
204
- };
262
+ })[];
205
263
  };
206
264
  centered: {
207
265
  type: string;
@@ -10,7 +10,7 @@ const ContentLayoutBlockProperties = {
10
10
  type: 'string',
11
11
  enum: common_1.contentSizes,
12
12
  },
13
- background: schema_1.ImageObjectProps,
13
+ background: schema_1.BackgroundImageProps,
14
14
  centered: {
15
15
  type: 'boolean',
16
16
  },
@@ -127,4 +127,274 @@ unpredictable css rules order in build */
127
127
  .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(9), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(9) {
128
128
  transition-delay: 0.9s;
129
129
  }
130
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(10), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(10) {
131
+ transition-delay: 1s;
132
+ }
133
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(11), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(11) {
134
+ transition-delay: 1.1s;
135
+ }
136
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(12), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(12) {
137
+ transition-delay: 1.2s;
138
+ }
139
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(13), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(13) {
140
+ transition-delay: 1.3s;
141
+ }
142
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(14), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(14) {
143
+ transition-delay: 1.4s;
144
+ }
145
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(15), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(15) {
146
+ transition-delay: 1.5s;
147
+ }
148
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(16), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(16) {
149
+ transition-delay: 1.6s;
150
+ }
151
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(17), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(17) {
152
+ transition-delay: 1.7s;
153
+ }
154
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(18), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(18) {
155
+ transition-delay: 1.8s;
156
+ }
157
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(19), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(19) {
158
+ transition-delay: 1.9s;
159
+ }
160
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(20), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(20) {
161
+ transition-delay: 2s;
162
+ }
163
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(21), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(21) {
164
+ transition-delay: 2.1s;
165
+ }
166
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(22), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(22) {
167
+ transition-delay: 2.2s;
168
+ }
169
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(23), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(23) {
170
+ transition-delay: 2.3s;
171
+ }
172
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(24), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(24) {
173
+ transition-delay: 2.4s;
174
+ }
175
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(25), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(25) {
176
+ transition-delay: 2.5s;
177
+ }
178
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(26), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(26) {
179
+ transition-delay: 2.6s;
180
+ }
181
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(27), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(27) {
182
+ transition-delay: 2.7s;
183
+ }
184
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(28), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(28) {
185
+ transition-delay: 2.8s;
186
+ }
187
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(29), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(29) {
188
+ transition-delay: 2.9s;
189
+ }
190
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(30), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(30) {
191
+ transition-delay: 3s;
192
+ }
193
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(31), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(31) {
194
+ transition-delay: 3.1s;
195
+ }
196
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(32), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(32) {
197
+ transition-delay: 3.2s;
198
+ }
199
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(33), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(33) {
200
+ transition-delay: 3.3s;
201
+ }
202
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(34), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(34) {
203
+ transition-delay: 3.4s;
204
+ }
205
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(35), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(35) {
206
+ transition-delay: 3.5s;
207
+ }
208
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(36), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(36) {
209
+ transition-delay: 3.6s;
210
+ }
211
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(37), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(37) {
212
+ transition-delay: 3.7s;
213
+ }
214
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(38), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(38) {
215
+ transition-delay: 3.8s;
216
+ }
217
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(39), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(39) {
218
+ transition-delay: 3.9s;
219
+ }
220
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(40), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(40) {
221
+ transition-delay: 4s;
222
+ }
223
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(41), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(41) {
224
+ transition-delay: 4.1s;
225
+ }
226
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(42), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(42) {
227
+ transition-delay: 4.2s;
228
+ }
229
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(43), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(43) {
230
+ transition-delay: 4.3s;
231
+ }
232
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(44), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(44) {
233
+ transition-delay: 4.4s;
234
+ }
235
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(45), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(45) {
236
+ transition-delay: 4.5s;
237
+ }
238
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(46), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(46) {
239
+ transition-delay: 4.6s;
240
+ }
241
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(47), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(47) {
242
+ transition-delay: 4.7s;
243
+ }
244
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(48), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(48) {
245
+ transition-delay: 4.8s;
246
+ }
247
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(49), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(49) {
248
+ transition-delay: 4.9s;
249
+ }
250
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(50), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(50) {
251
+ transition-delay: 5s;
252
+ }
253
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(51), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(51) {
254
+ transition-delay: 5.1s;
255
+ }
256
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(52), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(52) {
257
+ transition-delay: 5.2s;
258
+ }
259
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(53), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(53) {
260
+ transition-delay: 5.3s;
261
+ }
262
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(54), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(54) {
263
+ transition-delay: 5.4s;
264
+ }
265
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(55), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(55) {
266
+ transition-delay: 5.5s;
267
+ }
268
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(56), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(56) {
269
+ transition-delay: 5.6s;
270
+ }
271
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(57), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(57) {
272
+ transition-delay: 5.7s;
273
+ }
274
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(58), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(58) {
275
+ transition-delay: 5.8s;
276
+ }
277
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(59), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(59) {
278
+ transition-delay: 5.9s;
279
+ }
280
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(60), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(60) {
281
+ transition-delay: 6s;
282
+ }
283
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(61), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(61) {
284
+ transition-delay: 6.1s;
285
+ }
286
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(62), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(62) {
287
+ transition-delay: 6.2s;
288
+ }
289
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(63), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(63) {
290
+ transition-delay: 6.3s;
291
+ }
292
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(64), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(64) {
293
+ transition-delay: 6.4s;
294
+ }
295
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(65), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(65) {
296
+ transition-delay: 6.5s;
297
+ }
298
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(66), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(66) {
299
+ transition-delay: 6.6s;
300
+ }
301
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(67), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(67) {
302
+ transition-delay: 6.7s;
303
+ }
304
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(68), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(68) {
305
+ transition-delay: 6.8s;
306
+ }
307
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(69), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(69) {
308
+ transition-delay: 6.9s;
309
+ }
310
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(70), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(70) {
311
+ transition-delay: 7s;
312
+ }
313
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(71), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(71) {
314
+ transition-delay: 7.1s;
315
+ }
316
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(72), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(72) {
317
+ transition-delay: 7.2s;
318
+ }
319
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(73), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(73) {
320
+ transition-delay: 7.3s;
321
+ }
322
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(74), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(74) {
323
+ transition-delay: 7.4s;
324
+ }
325
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(75), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(75) {
326
+ transition-delay: 7.5s;
327
+ }
328
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(76), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(76) {
329
+ transition-delay: 7.6s;
330
+ }
331
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(77), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(77) {
332
+ transition-delay: 7.7s;
333
+ }
334
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(78), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(78) {
335
+ transition-delay: 7.8s;
336
+ }
337
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(79), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(79) {
338
+ transition-delay: 7.9s;
339
+ }
340
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(80), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(80) {
341
+ transition-delay: 8s;
342
+ }
343
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(81), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(81) {
344
+ transition-delay: 8.1s;
345
+ }
346
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(82), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(82) {
347
+ transition-delay: 8.2s;
348
+ }
349
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(83), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(83) {
350
+ transition-delay: 8.3s;
351
+ }
352
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(84), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(84) {
353
+ transition-delay: 8.4s;
354
+ }
355
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(85), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(85) {
356
+ transition-delay: 8.5s;
357
+ }
358
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(86), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(86) {
359
+ transition-delay: 8.6s;
360
+ }
361
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(87), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(87) {
362
+ transition-delay: 8.7s;
363
+ }
364
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(88), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(88) {
365
+ transition-delay: 8.8s;
366
+ }
367
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(89), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(89) {
368
+ transition-delay: 8.9s;
369
+ }
370
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(90), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(90) {
371
+ transition-delay: 9s;
372
+ }
373
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(91), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(91) {
374
+ transition-delay: 9.1s;
375
+ }
376
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(92), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(92) {
377
+ transition-delay: 9.2s;
378
+ }
379
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(93), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(93) {
380
+ transition-delay: 9.3s;
381
+ }
382
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(94), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(94) {
383
+ transition-delay: 9.4s;
384
+ }
385
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(95), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(95) {
386
+ transition-delay: 9.5s;
387
+ }
388
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(96), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(96) {
389
+ transition-delay: 9.6s;
390
+ }
391
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(97), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(97) {
392
+ transition-delay: 9.7s;
393
+ }
394
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(98), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(98) {
395
+ transition-delay: 9.8s;
396
+ }
397
+ .pc-ExtendedFeaturesBlock.pc-AnimateBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(99), .pc-AnimateBlock .pc-ExtendedFeaturesBlock.animate .pc-ExtendedFeaturesBlock__item:nth-child(99) {
398
+ transition-delay: 9.9s;
399
+ }
130
400
  }
@@ -33,8 +33,6 @@ unpredictable css rules order in build */
33
33
  flex-direction: row-reverse;
34
34
  }
35
35
  .pc-form-block__row_direction_center {
36
- padding-top: 64px;
37
- padding-bottom: 48px;
38
36
  flex-direction: column;
39
37
  }
40
38
  .pc-form-block__row_direction_center .pc-form-block__content-wrapper {
@@ -58,6 +56,10 @@ unpredictable css rules order in build */
58
56
  .pc-form-block_with-background .pc-form-block__row_direction_form-content .pc-form-block__content-wrapper, .pc-form-block_with-background .pc-form-block__row_direction_content-form .pc-form-block__content-wrapper {
59
57
  padding: 64px;
60
58
  }
59
+ .pc-form-block_with-background .pc-form-block__row_direction_center {
60
+ padding-top: 64px;
61
+ padding-bottom: 48px;
62
+ }
61
63
  @media (min-width: 1081px) {
62
64
  .pc-form-block_form-type_yandex .pc-form-block__row_direction_form-content .pc-form-block__content-col, .pc-form-block_form-type_yandex .pc-form-block__row_direction_content-form .pc-form-block__content-col {
63
65
  flex: 1 0 0;
@@ -266,20 +266,10 @@ export declare const HeaderBackgroundProps: {
266
266
  type: string;
267
267
  };
268
268
  height: {
269
- oneOf: ({
270
- type: string;
271
- enum?: undefined;
272
- } | {
273
- type: string;
274
- enum: string[];
275
- })[];
276
- };
277
- width: {
278
269
  type: string;
279
270
  };
280
- justifyContent: {
271
+ width: {
281
272
  type: string;
282
- enum: string[];
283
273
  };
284
274
  };
285
275
  };
@@ -736,20 +726,10 @@ export declare const HeaderProperties: {
736
726
  type: string;
737
727
  };
738
728
  height: {
739
- oneOf: ({
740
- type: string;
741
- enum?: undefined;
742
- } | {
743
- type: string;
744
- enum: string[];
745
- })[];
746
- };
747
- width: {
748
729
  type: string;
749
730
  };
750
- justifyContent: {
731
+ width: {
751
732
  type: string;
752
- enum: string[];
753
733
  };
754
734
  };
755
735
  };
@@ -1255,20 +1235,10 @@ export declare const HeaderBlock: {
1255
1235
  type: string;
1256
1236
  };
1257
1237
  height: {
1258
- oneOf: ({
1259
- type: string;
1260
- enum?: undefined;
1261
- } | {
1262
- type: string;
1263
- enum: string[];
1264
- })[];
1265
- };
1266
- width: {
1267
1238
  type: string;
1268
1239
  };
1269
- justifyContent: {
1240
+ width: {
1270
1241
  type: string;
1271
- enum: string[];
1272
1242
  };
1273
1243
  };
1274
1244
  };
@@ -457,20 +457,10 @@ export declare const HeaderSliderBlock: {
457
457
  type: string;
458
458
  };
459
459
  height: {
460
- oneOf: ({
461
- type: string;
462
- enum?: undefined;
463
- } | {
464
- type: string;
465
- enum: string[];
466
- })[];
467
- };
468
- width: {
469
460
  type: string;
470
461
  };
471
- justifyContent: {
462
+ width: {
472
463
  type: string;
473
- enum: string[];
474
464
  };
475
465
  };
476
466
  };
@@ -0,0 +1,14 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-map-block_border_shadow {
4
+ box-shadow: 0 2px 8px var(--pc-color-sfx-shadow), 0 4px 24px var(--pc-color-sfx-shadow);
5
+ overflow-x: hidden;
6
+ border-radius: var(--pc-border-radius);
7
+ }
8
+ .pc-map-block_border_line {
9
+ border-radius: var(--pc-border-radius);
10
+ border: 1px solid var(--g-color-line-generic);
11
+ }
12
+ .pc-map-block_border_none {
13
+ border-radius: var(--pc-border-radius);
14
+ }
@@ -1,3 +1,3 @@
1
1
  import { MapBlockProps } from '../../models';
2
- export declare const MapBlock: ({ map, ...props }: MapBlockProps) => JSX.Element;
2
+ export declare const MapBlock: ({ map, border, disableShadow, ...props }: MapBlockProps) => JSX.Element;
3
3
  export default MapBlock;
@@ -5,11 +5,18 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
6
  const Map_1 = tslib_1.__importDefault(require("../../components/Map/Map"));
7
7
  const MediaBase_1 = tslib_1.__importDefault(require("../../components/MediaBase/MediaBase"));
8
+ const utils_1 = require("../../utils");
9
+ const borderSelector_1 = require("../../utils/borderSelector");
10
+ const b = (0, utils_1.block)('map-block');
8
11
  const MapBlock = (_a) => {
9
- var { map } = _a, props = tslib_1.__rest(_a, ["map"]);
12
+ var { map, border, disableShadow } = _a, props = tslib_1.__rest(_a, ["map", "border", "disableShadow"]);
13
+ const borderSelected = (0, borderSelector_1.getMediaBorder)({
14
+ border,
15
+ disableShadow,
16
+ });
10
17
  return (react_1.default.createElement(MediaBase_1.default, Object.assign({}, props),
11
18
  react_1.default.createElement(MediaBase_1.default.Card, null,
12
- react_1.default.createElement(Map_1.default, Object.assign({}, map)))));
19
+ react_1.default.createElement(Map_1.default, Object.assign({}, map, { className: b({ border: borderSelected }) })))));
13
20
  };
14
21
  exports.MapBlock = MapBlock;
15
22
  exports.default = exports.MapBlock;