@gravity-ui/page-constructor 4.40.0 → 4.40.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/Header/schema.d.ts +57 -42
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +19 -14
- package/build/cjs/blocks/Media/schema.d.ts +38 -28
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +19 -14
- package/build/cjs/blocks/Tabs/schema.d.ts +19 -14
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +12 -12
- package/build/cjs/schema/constants.d.ts +19 -14
- package/build/cjs/schema/validators/common.d.ts +19 -14
- package/build/cjs/schema/validators/common.js +20 -15
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +19 -14
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +19 -14
- package/build/cjs/sub-blocks/PriceCard/schema.d.ts +19 -14
- package/build/esm/blocks/Header/schema.d.ts +57 -42
- package/build/esm/blocks/HeaderSlider/schema.d.ts +19 -14
- package/build/esm/blocks/Media/schema.d.ts +38 -28
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +19 -14
- package/build/esm/blocks/Tabs/schema.d.ts +19 -14
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +12 -12
- package/build/esm/schema/constants.d.ts +19 -14
- package/build/esm/schema/validators/common.d.ts +19 -14
- package/build/esm/schema/validators/common.js +20 -15
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +19 -14
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +19 -14
- package/build/esm/sub-blocks/PriceCard/schema.d.ts +19 -14
- package/package.json +1 -1
- package/styles/mixins.scss +39 -37
- package/widget/index.js +1 -1
package/styles/mixins.scss
CHANGED
|
@@ -561,55 +561,57 @@ unpredictable css rules order in build */
|
|
|
561
561
|
// indent system for blocks
|
|
562
562
|
@mixin indents($class) {
|
|
563
563
|
@include add-specificity($class) {
|
|
564
|
-
&
|
|
565
|
-
&
|
|
566
|
-
|
|
567
|
-
|
|
564
|
+
@include add-specificity(&) {
|
|
565
|
+
&_indentTop {
|
|
566
|
+
&_0 {
|
|
567
|
+
margin-top: 0;
|
|
568
|
+
}
|
|
568
569
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
570
|
+
&_xs {
|
|
571
|
+
margin-top: $indentXS;
|
|
572
|
+
}
|
|
572
573
|
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
574
|
+
&_s {
|
|
575
|
+
margin-top: $indentSM;
|
|
576
|
+
}
|
|
576
577
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
578
|
+
&_m {
|
|
579
|
+
margin-top: $indentM;
|
|
580
|
+
}
|
|
580
581
|
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
582
|
+
&_l {
|
|
583
|
+
margin-top: $indentL;
|
|
584
|
+
}
|
|
584
585
|
|
|
585
|
-
|
|
586
|
-
|
|
586
|
+
&_xl {
|
|
587
|
+
margin-top: $indentXL;
|
|
588
|
+
}
|
|
587
589
|
}
|
|
588
|
-
}
|
|
589
590
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
591
|
+
&_indentBottom {
|
|
592
|
+
&_0 {
|
|
593
|
+
padding-bottom: 0;
|
|
594
|
+
}
|
|
594
595
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
596
|
+
&_xs {
|
|
597
|
+
padding-bottom: $indentXS;
|
|
598
|
+
}
|
|
598
599
|
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
600
|
+
&_s {
|
|
601
|
+
padding-bottom: $indentSM;
|
|
602
|
+
}
|
|
602
603
|
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
604
|
+
&_m {
|
|
605
|
+
padding-bottom: $indentM;
|
|
606
|
+
}
|
|
606
607
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
608
|
+
&_l {
|
|
609
|
+
padding-bottom: $indentL;
|
|
610
|
+
}
|
|
610
611
|
|
|
611
|
-
|
|
612
|
-
|
|
612
|
+
&_xl {
|
|
613
|
+
padding-bottom: $indentXL;
|
|
614
|
+
}
|
|
613
615
|
}
|
|
614
616
|
}
|
|
615
617
|
}
|