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