@gravity-ui/page-constructor 4.46.0 → 4.46.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/build/cjs/blocks/CardLayout/CardLayout.css +277 -0
- 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/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
- package/build/cjs/blocks/Slider/Slider.css +270 -0
- 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/models/constructor-items/blocks.d.ts +4 -2
- package/build/cjs/schema/constants.d.ts +1 -1
- package/build/cjs/schema/validators/common.d.ts +4 -0
- package/build/cjs/schema/validators/common.js +6 -5
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +1 -1
- package/build/esm/blocks/CardLayout/CardLayout.css +277 -0
- 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/PromoFeaturesBlock/PromoFeaturesBlock.css +270 -0
- package/build/esm/blocks/Slider/Slider.css +270 -0
- 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/models/constructor-items/blocks.d.ts +4 -2
- package/build/esm/schema/constants.d.ts +1 -1
- package/build/esm/schema/validators/common.d.ts +4 -0
- package/build/esm/schema/validators/common.js +5 -4
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +1 -1
- package/package.json +1 -1
- package/server/models/constructor-items/blocks.d.ts +4 -2
- package/styles/mixins.scss +13 -10
- package/widget/index.js +1 -1
|
@@ -238,6 +238,276 @@ unpredictable css rules order in build */
|
|
|
238
238
|
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(9), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(9) {
|
|
239
239
|
transition-delay: 0.9s;
|
|
240
240
|
}
|
|
241
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(10), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(10) {
|
|
242
|
+
transition-delay: 1s;
|
|
243
|
+
}
|
|
244
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(11), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(11) {
|
|
245
|
+
transition-delay: 1.1s;
|
|
246
|
+
}
|
|
247
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(12), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(12) {
|
|
248
|
+
transition-delay: 1.2s;
|
|
249
|
+
}
|
|
250
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(13), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(13) {
|
|
251
|
+
transition-delay: 1.3s;
|
|
252
|
+
}
|
|
253
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(14), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(14) {
|
|
254
|
+
transition-delay: 1.4s;
|
|
255
|
+
}
|
|
256
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(15), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(15) {
|
|
257
|
+
transition-delay: 1.5s;
|
|
258
|
+
}
|
|
259
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(16), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(16) {
|
|
260
|
+
transition-delay: 1.6s;
|
|
261
|
+
}
|
|
262
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(17), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(17) {
|
|
263
|
+
transition-delay: 1.7s;
|
|
264
|
+
}
|
|
265
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(18), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(18) {
|
|
266
|
+
transition-delay: 1.8s;
|
|
267
|
+
}
|
|
268
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(19), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(19) {
|
|
269
|
+
transition-delay: 1.9s;
|
|
270
|
+
}
|
|
271
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(20), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(20) {
|
|
272
|
+
transition-delay: 2s;
|
|
273
|
+
}
|
|
274
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(21), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(21) {
|
|
275
|
+
transition-delay: 2.1s;
|
|
276
|
+
}
|
|
277
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(22), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(22) {
|
|
278
|
+
transition-delay: 2.2s;
|
|
279
|
+
}
|
|
280
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(23), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(23) {
|
|
281
|
+
transition-delay: 2.3s;
|
|
282
|
+
}
|
|
283
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(24), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(24) {
|
|
284
|
+
transition-delay: 2.4s;
|
|
285
|
+
}
|
|
286
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(25), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(25) {
|
|
287
|
+
transition-delay: 2.5s;
|
|
288
|
+
}
|
|
289
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(26), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(26) {
|
|
290
|
+
transition-delay: 2.6s;
|
|
291
|
+
}
|
|
292
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(27), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(27) {
|
|
293
|
+
transition-delay: 2.7s;
|
|
294
|
+
}
|
|
295
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(28), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(28) {
|
|
296
|
+
transition-delay: 2.8s;
|
|
297
|
+
}
|
|
298
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(29), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(29) {
|
|
299
|
+
transition-delay: 2.9s;
|
|
300
|
+
}
|
|
301
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(30), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(30) {
|
|
302
|
+
transition-delay: 3s;
|
|
303
|
+
}
|
|
304
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(31), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(31) {
|
|
305
|
+
transition-delay: 3.1s;
|
|
306
|
+
}
|
|
307
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(32), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(32) {
|
|
308
|
+
transition-delay: 3.2s;
|
|
309
|
+
}
|
|
310
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(33), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(33) {
|
|
311
|
+
transition-delay: 3.3s;
|
|
312
|
+
}
|
|
313
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(34), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(34) {
|
|
314
|
+
transition-delay: 3.4s;
|
|
315
|
+
}
|
|
316
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(35), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(35) {
|
|
317
|
+
transition-delay: 3.5s;
|
|
318
|
+
}
|
|
319
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(36), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(36) {
|
|
320
|
+
transition-delay: 3.6s;
|
|
321
|
+
}
|
|
322
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(37), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(37) {
|
|
323
|
+
transition-delay: 3.7s;
|
|
324
|
+
}
|
|
325
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(38), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(38) {
|
|
326
|
+
transition-delay: 3.8s;
|
|
327
|
+
}
|
|
328
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(39), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(39) {
|
|
329
|
+
transition-delay: 3.9s;
|
|
330
|
+
}
|
|
331
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(40), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(40) {
|
|
332
|
+
transition-delay: 4s;
|
|
333
|
+
}
|
|
334
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(41), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(41) {
|
|
335
|
+
transition-delay: 4.1s;
|
|
336
|
+
}
|
|
337
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(42), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(42) {
|
|
338
|
+
transition-delay: 4.2s;
|
|
339
|
+
}
|
|
340
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(43), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(43) {
|
|
341
|
+
transition-delay: 4.3s;
|
|
342
|
+
}
|
|
343
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(44), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(44) {
|
|
344
|
+
transition-delay: 4.4s;
|
|
345
|
+
}
|
|
346
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(45), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(45) {
|
|
347
|
+
transition-delay: 4.5s;
|
|
348
|
+
}
|
|
349
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(46), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(46) {
|
|
350
|
+
transition-delay: 4.6s;
|
|
351
|
+
}
|
|
352
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(47), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(47) {
|
|
353
|
+
transition-delay: 4.7s;
|
|
354
|
+
}
|
|
355
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(48), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(48) {
|
|
356
|
+
transition-delay: 4.8s;
|
|
357
|
+
}
|
|
358
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(49), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(49) {
|
|
359
|
+
transition-delay: 4.9s;
|
|
360
|
+
}
|
|
361
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(50), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(50) {
|
|
362
|
+
transition-delay: 5s;
|
|
363
|
+
}
|
|
364
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(51), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(51) {
|
|
365
|
+
transition-delay: 5.1s;
|
|
366
|
+
}
|
|
367
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(52), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(52) {
|
|
368
|
+
transition-delay: 5.2s;
|
|
369
|
+
}
|
|
370
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(53), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(53) {
|
|
371
|
+
transition-delay: 5.3s;
|
|
372
|
+
}
|
|
373
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(54), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(54) {
|
|
374
|
+
transition-delay: 5.4s;
|
|
375
|
+
}
|
|
376
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(55), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(55) {
|
|
377
|
+
transition-delay: 5.5s;
|
|
378
|
+
}
|
|
379
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(56), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(56) {
|
|
380
|
+
transition-delay: 5.6s;
|
|
381
|
+
}
|
|
382
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(57), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(57) {
|
|
383
|
+
transition-delay: 5.7s;
|
|
384
|
+
}
|
|
385
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(58), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(58) {
|
|
386
|
+
transition-delay: 5.8s;
|
|
387
|
+
}
|
|
388
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(59), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(59) {
|
|
389
|
+
transition-delay: 5.9s;
|
|
390
|
+
}
|
|
391
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(60), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(60) {
|
|
392
|
+
transition-delay: 6s;
|
|
393
|
+
}
|
|
394
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(61), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(61) {
|
|
395
|
+
transition-delay: 6.1s;
|
|
396
|
+
}
|
|
397
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(62), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(62) {
|
|
398
|
+
transition-delay: 6.2s;
|
|
399
|
+
}
|
|
400
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(63), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(63) {
|
|
401
|
+
transition-delay: 6.3s;
|
|
402
|
+
}
|
|
403
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(64), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(64) {
|
|
404
|
+
transition-delay: 6.4s;
|
|
405
|
+
}
|
|
406
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(65), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(65) {
|
|
407
|
+
transition-delay: 6.5s;
|
|
408
|
+
}
|
|
409
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(66), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(66) {
|
|
410
|
+
transition-delay: 6.6s;
|
|
411
|
+
}
|
|
412
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(67), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(67) {
|
|
413
|
+
transition-delay: 6.7s;
|
|
414
|
+
}
|
|
415
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(68), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(68) {
|
|
416
|
+
transition-delay: 6.8s;
|
|
417
|
+
}
|
|
418
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(69), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(69) {
|
|
419
|
+
transition-delay: 6.9s;
|
|
420
|
+
}
|
|
421
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(70), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(70) {
|
|
422
|
+
transition-delay: 7s;
|
|
423
|
+
}
|
|
424
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(71), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(71) {
|
|
425
|
+
transition-delay: 7.1s;
|
|
426
|
+
}
|
|
427
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(72), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(72) {
|
|
428
|
+
transition-delay: 7.2s;
|
|
429
|
+
}
|
|
430
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(73), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(73) {
|
|
431
|
+
transition-delay: 7.3s;
|
|
432
|
+
}
|
|
433
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(74), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(74) {
|
|
434
|
+
transition-delay: 7.4s;
|
|
435
|
+
}
|
|
436
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(75), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(75) {
|
|
437
|
+
transition-delay: 7.5s;
|
|
438
|
+
}
|
|
439
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(76), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(76) {
|
|
440
|
+
transition-delay: 7.6s;
|
|
441
|
+
}
|
|
442
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(77), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(77) {
|
|
443
|
+
transition-delay: 7.7s;
|
|
444
|
+
}
|
|
445
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(78), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(78) {
|
|
446
|
+
transition-delay: 7.8s;
|
|
447
|
+
}
|
|
448
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(79), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(79) {
|
|
449
|
+
transition-delay: 7.9s;
|
|
450
|
+
}
|
|
451
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(80), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(80) {
|
|
452
|
+
transition-delay: 8s;
|
|
453
|
+
}
|
|
454
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(81), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(81) {
|
|
455
|
+
transition-delay: 8.1s;
|
|
456
|
+
}
|
|
457
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(82), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(82) {
|
|
458
|
+
transition-delay: 8.2s;
|
|
459
|
+
}
|
|
460
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(83), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(83) {
|
|
461
|
+
transition-delay: 8.3s;
|
|
462
|
+
}
|
|
463
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(84), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(84) {
|
|
464
|
+
transition-delay: 8.4s;
|
|
465
|
+
}
|
|
466
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(85), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(85) {
|
|
467
|
+
transition-delay: 8.5s;
|
|
468
|
+
}
|
|
469
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(86), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(86) {
|
|
470
|
+
transition-delay: 8.6s;
|
|
471
|
+
}
|
|
472
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(87), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(87) {
|
|
473
|
+
transition-delay: 8.7s;
|
|
474
|
+
}
|
|
475
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(88), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(88) {
|
|
476
|
+
transition-delay: 8.8s;
|
|
477
|
+
}
|
|
478
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(89), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(89) {
|
|
479
|
+
transition-delay: 8.9s;
|
|
480
|
+
}
|
|
481
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(90), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(90) {
|
|
482
|
+
transition-delay: 9s;
|
|
483
|
+
}
|
|
484
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(91), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(91) {
|
|
485
|
+
transition-delay: 9.1s;
|
|
486
|
+
}
|
|
487
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(92), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(92) {
|
|
488
|
+
transition-delay: 9.2s;
|
|
489
|
+
}
|
|
490
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(93), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(93) {
|
|
491
|
+
transition-delay: 9.3s;
|
|
492
|
+
}
|
|
493
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(94), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(94) {
|
|
494
|
+
transition-delay: 9.4s;
|
|
495
|
+
}
|
|
496
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(95), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(95) {
|
|
497
|
+
transition-delay: 9.5s;
|
|
498
|
+
}
|
|
499
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(96), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(96) {
|
|
500
|
+
transition-delay: 9.6s;
|
|
501
|
+
}
|
|
502
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(97), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(97) {
|
|
503
|
+
transition-delay: 9.7s;
|
|
504
|
+
}
|
|
505
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(98), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(98) {
|
|
506
|
+
transition-delay: 9.8s;
|
|
507
|
+
}
|
|
508
|
+
.pc-SliderBlock__animate-slides.pc-AnimateBlock.animate .slick-slide:nth-child(99), .pc-AnimateBlock .pc-SliderBlock__animate-slides.animate .slick-slide:nth-child(99) {
|
|
509
|
+
transition-delay: 9.9s;
|
|
510
|
+
}
|
|
241
511
|
}
|
|
242
512
|
.pc-SliderBlock_type_media-card {
|
|
243
513
|
padding: 0;
|
|
@@ -21,7 +21,7 @@ const BalancedMasonry = (props) => {
|
|
|
21
21
|
}
|
|
22
22
|
for (const [rawWidth, columnCount] of breakpoints) {
|
|
23
23
|
const width = Number(rawWidth);
|
|
24
|
-
if (document.body.clientWidth <= width) {
|
|
24
|
+
if ((document === null || document === void 0 ? void 0 : document.body.clientWidth) <= width) {
|
|
25
25
|
result = columnCount;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -25,10 +25,46 @@ export declare const ImageDeviceProps: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export declare const
|
|
28
|
+
export declare const ImageBaseObjectProps: {
|
|
29
29
|
type: string;
|
|
30
30
|
additionalProperties: boolean;
|
|
31
|
+
properties: {
|
|
32
|
+
src: {
|
|
33
|
+
type: string;
|
|
34
|
+
pattern: string;
|
|
35
|
+
};
|
|
36
|
+
style: {
|
|
37
|
+
type: string;
|
|
38
|
+
additionalProperties: boolean;
|
|
39
|
+
required: never[];
|
|
40
|
+
properties: {
|
|
41
|
+
backgroundColor: {
|
|
42
|
+
type: string;
|
|
43
|
+
};
|
|
44
|
+
height: {
|
|
45
|
+
type: string[];
|
|
46
|
+
};
|
|
47
|
+
width: {
|
|
48
|
+
type: string[];
|
|
49
|
+
};
|
|
50
|
+
color: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
alt: {
|
|
56
|
+
type: string;
|
|
57
|
+
contentType: string;
|
|
58
|
+
};
|
|
59
|
+
disableCompress: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export declare const ImageObjectProps: {
|
|
31
65
|
required: string[];
|
|
66
|
+
type: string;
|
|
67
|
+
additionalProperties: boolean;
|
|
32
68
|
properties: {
|
|
33
69
|
src: {
|
|
34
70
|
type: string;
|
|
@@ -76,3 +112,68 @@ export declare const ImageProps: {
|
|
|
76
112
|
optionName: string;
|
|
77
113
|
})[];
|
|
78
114
|
};
|
|
115
|
+
export declare const BackgroundImageProps: {
|
|
116
|
+
anyOf: ({
|
|
117
|
+
optionName: string;
|
|
118
|
+
type: string;
|
|
119
|
+
additionalProperties: boolean;
|
|
120
|
+
properties: {
|
|
121
|
+
src: {
|
|
122
|
+
type: string;
|
|
123
|
+
pattern: string;
|
|
124
|
+
};
|
|
125
|
+
style: {
|
|
126
|
+
type: string;
|
|
127
|
+
additionalProperties: boolean;
|
|
128
|
+
required: never[];
|
|
129
|
+
properties: {
|
|
130
|
+
backgroundColor: {
|
|
131
|
+
type: string;
|
|
132
|
+
};
|
|
133
|
+
height: {
|
|
134
|
+
type: string[];
|
|
135
|
+
};
|
|
136
|
+
width: {
|
|
137
|
+
type: string[];
|
|
138
|
+
};
|
|
139
|
+
color: {
|
|
140
|
+
type: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
alt: {
|
|
145
|
+
type: string;
|
|
146
|
+
contentType: string;
|
|
147
|
+
};
|
|
148
|
+
disableCompress: {
|
|
149
|
+
type: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
} | {
|
|
153
|
+
optionName: string;
|
|
154
|
+
type: string;
|
|
155
|
+
additionalProperties: boolean;
|
|
156
|
+
required: string[];
|
|
157
|
+
properties: {
|
|
158
|
+
desktop: {
|
|
159
|
+
type: string;
|
|
160
|
+
pattern: string;
|
|
161
|
+
};
|
|
162
|
+
tablet: {
|
|
163
|
+
type: string;
|
|
164
|
+
pattern: string;
|
|
165
|
+
};
|
|
166
|
+
mobile: {
|
|
167
|
+
type: string;
|
|
168
|
+
pattern: string;
|
|
169
|
+
};
|
|
170
|
+
alt: {
|
|
171
|
+
type: string;
|
|
172
|
+
contentType: string;
|
|
173
|
+
};
|
|
174
|
+
disableCompress: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
})[];
|
|
179
|
+
};
|
|
@@ -32,15 +32,15 @@ export const ImageDeviceProps = {
|
|
|
32
32
|
pattern: imageUrlPattern,
|
|
33
33
|
} }),
|
|
34
34
|
};
|
|
35
|
-
export const
|
|
35
|
+
export const ImageBaseObjectProps = {
|
|
36
36
|
type: 'object',
|
|
37
37
|
additionalProperties: false,
|
|
38
|
-
required: ['src'],
|
|
39
38
|
properties: Object.assign(Object.assign({}, ImageBase), { src: {
|
|
40
39
|
type: 'string',
|
|
41
40
|
pattern: imageUrlPattern,
|
|
42
41
|
}, style: StyleBase }),
|
|
43
42
|
};
|
|
43
|
+
export const ImageObjectProps = Object.assign(Object.assign({}, ImageBaseObjectProps), { required: ['src'] });
|
|
44
44
|
export const ImageProps = {
|
|
45
45
|
oneOf: [
|
|
46
46
|
{
|
|
@@ -52,3 +52,9 @@ export const ImageProps = {
|
|
|
52
52
|
filteredItem(Object.assign(Object.assign({}, ImageDeviceProps), { optionName: 'device options' })),
|
|
53
53
|
],
|
|
54
54
|
};
|
|
55
|
+
export const BackgroundImageProps = {
|
|
56
|
+
anyOf: [
|
|
57
|
+
Object.assign(Object.assign({}, ImageBaseObjectProps), { optionName: 'options' }),
|
|
58
|
+
Object.assign(Object.assign({}, ImageDeviceProps), { optionName: 'device options' }),
|
|
59
|
+
],
|
|
60
|
+
};
|
|
@@ -3,7 +3,7 @@ import { ButtonSize } from '@gravity-ui/uikit';
|
|
|
3
3
|
import { GridColumnSize, GridColumnSizesType, IndentValue } from '../../grid/types';
|
|
4
4
|
import { ThemeSupporting } from '../../utils';
|
|
5
5
|
import { AnalyticsEventsBase } from '../common';
|
|
6
|
-
import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, TextSize, TextTheme, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, YandexFormProps } from './common';
|
|
6
|
+
import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, TextSize, TextTheme, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, YandexFormProps } from './common';
|
|
7
7
|
import { BannerCardProps, HubspotFormProps, SubBlock, SubBlockModels } from './sub-blocks';
|
|
8
8
|
export declare enum BlockType {
|
|
9
9
|
PromoFeaturesBlock = "promo-features-block",
|
|
@@ -234,7 +234,9 @@ export interface CardLayoutBlockProps extends Childable, Animatable, LoadableChi
|
|
|
234
234
|
titleClassName?: string;
|
|
235
235
|
description?: string;
|
|
236
236
|
colSizes?: GridColumnSizesType;
|
|
237
|
-
background?: BackgroundImageProps
|
|
237
|
+
background?: BackgroundImageProps & {
|
|
238
|
+
border?: CardBorder;
|
|
239
|
+
};
|
|
238
240
|
}
|
|
239
241
|
export type FilterTag = {
|
|
240
242
|
id: string;
|
|
@@ -615,11 +615,12 @@ export const MapProps = {
|
|
|
615
615
|
items: YMapMarker,
|
|
616
616
|
},
|
|
617
617
|
};
|
|
618
|
+
export const BorderProps = {
|
|
619
|
+
type: 'string',
|
|
620
|
+
enum: ['line', 'shadow', 'none'],
|
|
621
|
+
};
|
|
618
622
|
export const CardBase = {
|
|
619
|
-
border:
|
|
620
|
-
type: 'string',
|
|
621
|
-
enum: ['line', 'shadow', 'none'],
|
|
622
|
-
},
|
|
623
|
+
border: BorderProps,
|
|
623
624
|
};
|
|
624
625
|
export const BlockHeaderProps = {
|
|
625
626
|
title: {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { ButtonSize } from '@gravity-ui/uikit';
|
|
|
3
3
|
import { GridColumnSize, GridColumnSizesType, IndentValue } from '../../grid/types';
|
|
4
4
|
import { ThemeSupporting } from '../../utils';
|
|
5
5
|
import { AnalyticsEventsBase } from '../common';
|
|
6
|
-
import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, TextSize, TextTheme, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, YandexFormProps } from './common';
|
|
6
|
+
import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder, ContentSize, ContentTextSize, ContentTheme, FileLinkProps, HeaderBreadCrumbsProps, HeaderImageSize, HeaderOffset, HeaderWidth, ImageDeviceProps, ImageProps, Justify, LegendTableMarkerType, LinkProps, MapProps, MediaDirection, MediaProps, TextSize, TextTheme, ThemedImage, ThemedMediaProps, ThemedMediaVideoProps, TitleItemBaseProps, TitleItemProps, YandexFormProps } from './common';
|
|
7
7
|
import { BannerCardProps, HubspotFormProps, SubBlock, SubBlockModels } from './sub-blocks';
|
|
8
8
|
export declare enum BlockType {
|
|
9
9
|
PromoFeaturesBlock = "promo-features-block",
|
|
@@ -234,7 +234,9 @@ export interface CardLayoutBlockProps extends Childable, Animatable, LoadableChi
|
|
|
234
234
|
titleClassName?: string;
|
|
235
235
|
description?: string;
|
|
236
236
|
colSizes?: GridColumnSizesType;
|
|
237
|
-
background?: BackgroundImageProps
|
|
237
|
+
background?: BackgroundImageProps & {
|
|
238
|
+
border?: CardBorder;
|
|
239
|
+
};
|
|
238
240
|
}
|
|
239
241
|
export type FilterTag = {
|
|
240
242
|
id: string;
|
package/styles/mixins.scss
CHANGED
|
@@ -252,15 +252,7 @@
|
|
|
252
252
|
border-radius: $borderRadius;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
|
-
@mixin card($hover: false) {
|
|
256
|
-
min-height: 248px;
|
|
257
|
-
height: 100%;
|
|
258
|
-
overflow-x: hidden;
|
|
259
|
-
border-radius: $borderRadius;
|
|
260
|
-
background-color: var(--g-color-base-float);
|
|
261
|
-
|
|
262
|
-
transition: box-shadow 0.3s $ease-out-cubic;
|
|
263
|
-
|
|
255
|
+
@mixin card-border($hover: false) {
|
|
264
256
|
&_border_line {
|
|
265
257
|
border: 1px solid var(--g-color-line-generic);
|
|
266
258
|
}
|
|
@@ -283,6 +275,17 @@
|
|
|
283
275
|
}
|
|
284
276
|
}
|
|
285
277
|
|
|
278
|
+
@mixin card($hover: false) {
|
|
279
|
+
min-height: 248px;
|
|
280
|
+
height: 100%;
|
|
281
|
+
overflow-x: hidden;
|
|
282
|
+
border-radius: $borderRadius;
|
|
283
|
+
background-color: var(--g-color-base-float);
|
|
284
|
+
|
|
285
|
+
transition: box-shadow 0.3s $ease-out-cubic;
|
|
286
|
+
@include card-border($hover);
|
|
287
|
+
}
|
|
288
|
+
|
|
286
289
|
@mixin card-image {
|
|
287
290
|
margin: $imagePadding;
|
|
288
291
|
border-radius: calc(#{$borderRadius} - #{$imagePadding});
|
|
@@ -351,7 +354,7 @@
|
|
|
351
354
|
transition: top $transition, opacity $transition;
|
|
352
355
|
}
|
|
353
356
|
|
|
354
|
-
@for $i from 0 through
|
|
357
|
+
@for $i from 0 through 99 {
|
|
355
358
|
#{$item-class}:nth-child(#{$i}) {
|
|
356
359
|
transition-delay: $i * 0.1s + $delay;
|
|
357
360
|
}
|