@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.
- package/README.md +2 -2
- package/build/cjs/blocks/CardLayout/CardLayout.css +278 -1
- package/build/cjs/blocks/CardLayout/CardLayout.js +2 -1
- package/build/cjs/blocks/CardLayout/schema.d.ts +134 -62
- package/build/cjs/blocks/CardLayout/schema.js +6 -1
- package/build/cjs/blocks/ContentLayout/schema.d.ts +123 -65
- package/build/cjs/blocks/ContentLayout/schema.js +1 -1
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.css +270 -0
- package/build/cjs/blocks/Form/Form.css +4 -2
- package/build/cjs/blocks/Header/schema.d.ts +3 -33
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +1 -11
- package/build/cjs/blocks/Map/Map.css +14 -0
- package/build/cjs/blocks/Map/Map.d.ts +1 -1
- package/build/cjs/blocks/Map/Map.js +9 -2
- package/build/cjs/blocks/Map/schema.d.ts +4 -0
- package/build/cjs/blocks/Media/Media.css +14 -0
- package/build/cjs/blocks/Media/Media.js +8 -2
- package/build/cjs/blocks/Media/schema.d.ts +16 -22
- package/build/cjs/blocks/Media/schema.js +9 -2
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +1 -11
- package/build/cjs/blocks/Slider/Slider.css +270 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +1 -11
- package/build/cjs/components/BalancedMasonry/BalancedMasonry.js +1 -1
- package/build/cjs/components/Image/schema.d.ts +102 -1
- package/build/cjs/components/Image/schema.js +9 -3
- package/build/cjs/components/Map/GoogleMap.js +2 -2
- package/build/cjs/components/Map/YMap/YandexMap.js +2 -2
- package/build/cjs/components/Media/Iframe/Iframe.css +4 -0
- package/build/cjs/components/Media/Iframe/Iframe.js +4 -64
- package/build/cjs/components/MediaBase/MediaBase.css +6 -0
- package/build/cjs/components/MediaBase/MediaBase.js +2 -2
- package/build/cjs/constructor-items.d.ts +1 -1
- package/build/cjs/editor/data/templates/banner-block.json +1 -2
- package/build/cjs/editor/data/templates/card-layout-block.json +3 -3
- package/build/cjs/editor/data/templates/companies-block.json +3 -9
- package/build/cjs/editor/data/templates/extended-features-block.json +3 -6
- package/build/cjs/editor/data/templates/filter-block.json +3 -3
- package/build/cjs/editor/data/templates/form-block.json +1 -1
- package/build/cjs/editor/data/templates/header-slider-block.json +2 -12
- package/build/cjs/editor/data/templates/icons-block.json +5 -5
- package/build/cjs/editor/data/templates/media-block.json +1 -4
- package/build/cjs/editor/data/templates/promo-features-block.json +5 -5
- package/build/cjs/editor/data/templates/slider-block.json +5 -5
- package/build/cjs/editor/data/templates/tabs-block.json +9 -42
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +6 -5
- package/build/cjs/models/constructor-items/common.d.ts +12 -5
- package/build/cjs/schema/constants.d.ts +2 -12
- package/build/cjs/schema/validators/common.d.ts +5 -11
- package/build/cjs/schema/validators/common.js +7 -10
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +1 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +1 -11
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +1 -11
- package/build/cjs/utils/borderSelector.d.ts +7 -0
- package/build/cjs/utils/borderSelector.js +18 -0
- package/build/esm/blocks/CardLayout/CardLayout.css +278 -1
- package/build/esm/blocks/CardLayout/CardLayout.js +3 -1
- package/build/esm/blocks/CardLayout/schema.d.ts +134 -62
- package/build/esm/blocks/CardLayout/schema.js +8 -3
- package/build/esm/blocks/ContentLayout/schema.d.ts +123 -65
- package/build/esm/blocks/ContentLayout/schema.js +2 -2
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.css +270 -0
- package/build/esm/blocks/Form/Form.css +4 -2
- package/build/esm/blocks/Header/schema.d.ts +3 -33
- package/build/esm/blocks/HeaderSlider/schema.d.ts +1 -11
- package/build/esm/blocks/Map/Map.css +14 -0
- package/build/esm/blocks/Map/Map.d.ts +2 -1
- package/build/esm/blocks/Map/Map.js +10 -2
- package/build/esm/blocks/Map/schema.d.ts +4 -0
- package/build/esm/blocks/Media/Media.css +14 -0
- package/build/esm/blocks/Media/Media.d.ts +1 -0
- package/build/esm/blocks/Media/Media.js +10 -3
- package/build/esm/blocks/Media/schema.d.ts +16 -22
- package/build/esm/blocks/Media/schema.js +9 -2
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +1 -11
- package/build/esm/blocks/Slider/Slider.css +270 -0
- package/build/esm/blocks/Tabs/schema.d.ts +1 -11
- package/build/esm/components/BalancedMasonry/BalancedMasonry.js +1 -1
- package/build/esm/components/Image/schema.d.ts +102 -1
- package/build/esm/components/Image/schema.js +8 -2
- package/build/esm/components/Map/GoogleMap.js +2 -2
- package/build/esm/components/Map/YMap/YandexMap.js +2 -2
- package/build/esm/components/Media/Iframe/Iframe.css +4 -0
- package/build/esm/components/Media/Iframe/Iframe.js +4 -64
- package/build/esm/components/MediaBase/MediaBase.css +6 -0
- package/build/esm/components/MediaBase/MediaBase.js +2 -2
- package/build/esm/constructor-items.d.ts +1 -1
- package/build/esm/editor/data/templates/banner-block.json +1 -2
- package/build/esm/editor/data/templates/card-layout-block.json +3 -3
- package/build/esm/editor/data/templates/companies-block.json +3 -9
- package/build/esm/editor/data/templates/extended-features-block.json +3 -6
- package/build/esm/editor/data/templates/filter-block.json +3 -3
- package/build/esm/editor/data/templates/form-block.json +1 -1
- package/build/esm/editor/data/templates/header-slider-block.json +2 -12
- package/build/esm/editor/data/templates/icons-block.json +5 -5
- package/build/esm/editor/data/templates/media-block.json +1 -4
- package/build/esm/editor/data/templates/promo-features-block.json +5 -5
- package/build/esm/editor/data/templates/slider-block.json +5 -5
- package/build/esm/editor/data/templates/tabs-block.json +9 -42
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +6 -5
- package/build/esm/models/constructor-items/common.d.ts +12 -5
- package/build/esm/schema/constants.d.ts +2 -12
- package/build/esm/schema/validators/common.d.ts +5 -11
- package/build/esm/schema/validators/common.js +6 -9
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +1 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +1 -11
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +1 -11
- package/build/esm/utils/borderSelector.d.ts +7 -0
- package/build/esm/utils/borderSelector.js +14 -0
- package/package.json +2 -4
- package/server/models/constructor-items/blocks.d.ts +6 -5
- package/server/models/constructor-items/common.d.ts +12 -5
- package/styles/mixins.scss +30 -10
- package/widget/index.js +1 -1
- package/build/cjs/editor/data/templates/preview-block.json +0 -38
- package/build/cjs/editor/data/templates/security-block.json +0 -36
- package/build/cjs/editor/data/templates/simple-block.json +0 -7
- package/build/esm/editor/data/templates/preview-block.json +0 -38
- package/build/esm/editor/data/templates/security-block.json +0 -36
- package/build/esm/editor/data/templates/simple-block.json +0 -7
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,4 @@
|
|
|
1
1
|
import { MapBlockProps } from '../../models';
|
|
2
|
-
|
|
2
|
+
import './Map.css';
|
|
3
|
+
export declare const MapBlock: ({ map, border, disableShadow, ...props }: MapBlockProps) => JSX.Element;
|
|
3
4
|
export default MapBlock;
|
|
@@ -2,10 +2,18 @@ import { __rest } from "tslib";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import Map from '../../components/Map/Map';
|
|
4
4
|
import MediaBase from '../../components/MediaBase/MediaBase';
|
|
5
|
+
import { block } from '../../utils';
|
|
6
|
+
import { getMediaBorder } from '../../utils/borderSelector';
|
|
7
|
+
import './Map.css';
|
|
8
|
+
const b = block('map-block');
|
|
5
9
|
export const MapBlock = (_a) => {
|
|
6
|
-
var { map } = _a, props = __rest(_a, ["map"]);
|
|
10
|
+
var { map, border, disableShadow } = _a, props = __rest(_a, ["map", "border", "disableShadow"]);
|
|
11
|
+
const borderSelected = getMediaBorder({
|
|
12
|
+
border,
|
|
13
|
+
disableShadow,
|
|
14
|
+
});
|
|
7
15
|
return (React.createElement(MediaBase, Object.assign({}, props),
|
|
8
16
|
React.createElement(MediaBase.Card, null,
|
|
9
|
-
React.createElement(Map, Object.assign({}, map)))));
|
|
17
|
+
React.createElement(Map, Object.assign({}, map, { className: b({ border: borderSelected }) })))));
|
|
10
18
|
};
|
|
11
19
|
export default MapBlock;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* use this for style redefinitions to awoid problems with
|
|
2
|
+
unpredictable css rules order in build */
|
|
3
|
+
.pc-media-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-media-block_border_line {
|
|
9
|
+
border-radius: var(--pc-border-radius);
|
|
10
|
+
border: 1px solid var(--g-color-line-generic);
|
|
11
|
+
}
|
|
12
|
+
.pc-media-block_border_none {
|
|
13
|
+
border-radius: var(--pc-border-radius);
|
|
14
|
+
}
|
|
@@ -2,14 +2,21 @@ import React, { useState } from 'react';
|
|
|
2
2
|
import Media from '../../components/Media/Media';
|
|
3
3
|
import MediaBase from '../../components/MediaBase/MediaBase';
|
|
4
4
|
import { useTheme } from '../../context/theme';
|
|
5
|
-
import { getThemedValue } from '../../utils';
|
|
5
|
+
import { block, getThemedValue } from '../../utils';
|
|
6
|
+
import { getMediaBorder } from '../../utils/borderSelector';
|
|
7
|
+
import './Media.css';
|
|
8
|
+
const b = block('media-block');
|
|
6
9
|
export const MediaBlock = (props) => {
|
|
7
|
-
const { media } = props;
|
|
10
|
+
const { media, border, disableShadow } = props;
|
|
11
|
+
const borderSelected = getMediaBorder({
|
|
12
|
+
border,
|
|
13
|
+
disableShadow,
|
|
14
|
+
});
|
|
8
15
|
const [play, setPlay] = useState(false);
|
|
9
16
|
const theme = useTheme();
|
|
10
17
|
const mediaThemed = getThemedValue(media, theme);
|
|
11
18
|
return (React.createElement(MediaBase, Object.assign({}, props, { onScroll: () => setPlay(true) }),
|
|
12
19
|
React.createElement(MediaBase.Card, null,
|
|
13
|
-
React.createElement(Media, Object.assign({}, mediaThemed, { playVideo: play })))));
|
|
20
|
+
React.createElement(Media, Object.assign({}, mediaThemed, { playVideo: play, className: b({ border: borderSelected }) })))));
|
|
14
21
|
};
|
|
15
22
|
export default MediaBlock;
|
|
@@ -260,20 +260,10 @@ export declare const Media: {
|
|
|
260
260
|
type: string;
|
|
261
261
|
};
|
|
262
262
|
height: {
|
|
263
|
-
oneOf: ({
|
|
264
|
-
type: string;
|
|
265
|
-
enum?: undefined;
|
|
266
|
-
} | {
|
|
267
|
-
type: string;
|
|
268
|
-
enum: string[];
|
|
269
|
-
})[];
|
|
270
|
-
};
|
|
271
|
-
width: {
|
|
272
263
|
type: string;
|
|
273
264
|
};
|
|
274
|
-
|
|
265
|
+
width: {
|
|
275
266
|
type: string;
|
|
276
|
-
enum: string[];
|
|
277
267
|
};
|
|
278
268
|
};
|
|
279
269
|
};
|
|
@@ -301,6 +291,9 @@ export declare const MediaBlockBaseProps: {
|
|
|
301
291
|
mediaOnly: {
|
|
302
292
|
type: string;
|
|
303
293
|
};
|
|
294
|
+
/**
|
|
295
|
+
* @deprecated use border='none' or border='line' instead
|
|
296
|
+
*/
|
|
304
297
|
disableShadow: {
|
|
305
298
|
type: string;
|
|
306
299
|
};
|
|
@@ -553,6 +546,10 @@ export declare const MediaBlockBaseProps: {
|
|
|
553
546
|
additionalProperties: boolean;
|
|
554
547
|
properties: {};
|
|
555
548
|
};
|
|
549
|
+
border: {
|
|
550
|
+
type: string;
|
|
551
|
+
enum: string[];
|
|
552
|
+
};
|
|
556
553
|
title: {
|
|
557
554
|
oneOf: ({
|
|
558
555
|
type: string;
|
|
@@ -941,20 +938,10 @@ export declare const MediaBlock: {
|
|
|
941
938
|
type: string;
|
|
942
939
|
};
|
|
943
940
|
height: {
|
|
944
|
-
oneOf: ({
|
|
945
|
-
type: string;
|
|
946
|
-
enum?: undefined;
|
|
947
|
-
} | {
|
|
948
|
-
type: string;
|
|
949
|
-
enum: string[];
|
|
950
|
-
})[];
|
|
951
|
-
};
|
|
952
|
-
width: {
|
|
953
941
|
type: string;
|
|
954
942
|
};
|
|
955
|
-
|
|
943
|
+
width: {
|
|
956
944
|
type: string;
|
|
957
|
-
enum: string[];
|
|
958
945
|
};
|
|
959
946
|
};
|
|
960
947
|
};
|
|
@@ -990,6 +977,9 @@ export declare const MediaBlock: {
|
|
|
990
977
|
mediaOnly: {
|
|
991
978
|
type: string;
|
|
992
979
|
};
|
|
980
|
+
/**
|
|
981
|
+
* @deprecated use border='none' or border='line' instead
|
|
982
|
+
*/
|
|
993
983
|
disableShadow: {
|
|
994
984
|
type: string;
|
|
995
985
|
};
|
|
@@ -1242,6 +1232,10 @@ export declare const MediaBlock: {
|
|
|
1242
1232
|
additionalProperties: boolean;
|
|
1243
1233
|
properties: {};
|
|
1244
1234
|
};
|
|
1235
|
+
border: {
|
|
1236
|
+
type: string;
|
|
1237
|
+
enum: string[];
|
|
1238
|
+
};
|
|
1245
1239
|
title: {
|
|
1246
1240
|
oneOf: ({
|
|
1247
1241
|
type: string;
|
|
@@ -21,9 +21,16 @@ export const MediaBlockBaseProps = Object.assign(Object.assign(Object.assign(Obj
|
|
|
21
21
|
type: 'boolean',
|
|
22
22
|
}, mediaOnly: {
|
|
23
23
|
type: 'boolean',
|
|
24
|
-
},
|
|
24
|
+
},
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated use border='none' or border='line' instead
|
|
27
|
+
*/
|
|
28
|
+
disableShadow: {
|
|
25
29
|
type: 'boolean',
|
|
26
|
-
}, button: ButtonBlock, mediaOnlyColSizes: containerSizesObject
|
|
30
|
+
}, button: ButtonBlock, mediaOnlyColSizes: containerSizesObject, border: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
enum: ['shadow', 'line', 'none'],
|
|
33
|
+
} });
|
|
27
34
|
export const MediaBlock = {
|
|
28
35
|
'media-block': {
|
|
29
36
|
additionalProperties: false,
|