@doyourjob/gravity-ui-page-constructor 5.31.210 → 5.31.213

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 (110) hide show
  1. package/build/cjs/blocks/Audio/schema.d.ts +4 -0
  2. package/build/cjs/blocks/BannerMinify/schema.d.ts +4 -0
  3. package/build/cjs/blocks/Benchmark/schema.d.ts +4 -0
  4. package/build/cjs/blocks/CardLayout/schema.d.ts +8 -0
  5. package/build/cjs/blocks/Cat/schema.d.ts +4 -0
  6. package/build/cjs/blocks/ContentLayout/schema.d.ts +4 -0
  7. package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +4 -0
  8. package/build/cjs/blocks/FilterBlock/schema.d.ts +8 -0
  9. package/build/cjs/blocks/FilterCardLayout/schema.d.ts +4 -0
  10. package/build/cjs/blocks/Form/schema.d.ts +4 -0
  11. package/build/cjs/blocks/Header/schema.d.ts +4 -0
  12. package/build/cjs/blocks/HeaderMinify/schema.d.ts +4 -0
  13. package/build/cjs/blocks/HeaderSlider/schema.d.ts +4 -0
  14. package/build/cjs/blocks/HighlightTable/schema.d.ts +4 -0
  15. package/build/cjs/blocks/Icons/schema.d.ts +8 -0
  16. package/build/cjs/blocks/Layout/Layout.css +22 -0
  17. package/build/cjs/blocks/Layout/Layout.d.ts +4 -0
  18. package/build/cjs/blocks/Layout/Layout.js +66 -0
  19. package/build/cjs/blocks/Layout/schema.d.ts +161 -0
  20. package/build/cjs/blocks/Layout/schema.js +17 -0
  21. package/build/cjs/blocks/Map/schema.d.ts +4 -0
  22. package/build/cjs/blocks/Media/schema.d.ts +8 -0
  23. package/build/cjs/blocks/OnetrustCookieList/schema.d.ts +4 -0
  24. package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +4 -0
  25. package/build/cjs/blocks/Questions/schema.d.ts +4 -0
  26. package/build/cjs/blocks/SidebarWidget/schema.d.ts +4 -0
  27. package/build/cjs/blocks/Slider/schema.d.ts +4 -0
  28. package/build/cjs/blocks/SliderNew/schema.d.ts +4 -0
  29. package/build/cjs/blocks/TabLinks/schema.d.ts +4 -0
  30. package/build/cjs/blocks/Table/schema.d.ts +4 -0
  31. package/build/cjs/blocks/Tabs/schema.d.ts +4 -0
  32. package/build/cjs/blocks/TabsHighlightTable/schema.d.ts +4 -0
  33. package/build/cjs/blocks/YFM/YFM.css +22 -0
  34. package/build/cjs/blocks/YFM/YFM.d.ts +3 -0
  35. package/build/cjs/blocks/YFM/YFM.js +18 -0
  36. package/build/cjs/blocks/YFM/schema.d.ts +156 -0
  37. package/build/cjs/blocks/YFM/schema.js +18 -0
  38. package/build/cjs/blocks/index.d.ts +2 -0
  39. package/build/cjs/blocks/index.js +6 -2
  40. package/build/cjs/constructor-items.d.ts +2 -0
  41. package/build/cjs/constructor-items.js +2 -0
  42. package/build/cjs/models/constructor-items/blocks.d.ts +20 -2
  43. package/build/cjs/models/constructor-items/blocks.js +2 -0
  44. package/build/cjs/schema/constants.d.ts +9 -1
  45. package/build/cjs/schema/constants.js +2 -1
  46. package/build/cjs/schema/validators/blocks.d.ts +2 -0
  47. package/build/cjs/schema/validators/blocks.js +2 -0
  48. package/build/cjs/schema/validators/common.d.ts +4 -0
  49. package/build/cjs/schema/validators/common.js +3 -0
  50. package/build/cjs/sub-blocks/ContentLayoutCard/schema.d.ts +4 -0
  51. package/build/cjs/sub-blocks/StoryCard/schema.d.ts +4 -0
  52. package/build/cjs/text-transform/config.js +6 -0
  53. package/build/esm/blocks/Audio/schema.d.ts +4 -0
  54. package/build/esm/blocks/BannerMinify/schema.d.ts +4 -0
  55. package/build/esm/blocks/Benchmark/schema.d.ts +4 -0
  56. package/build/esm/blocks/CardLayout/schema.d.ts +8 -0
  57. package/build/esm/blocks/Cat/schema.d.ts +4 -0
  58. package/build/esm/blocks/ContentLayout/schema.d.ts +4 -0
  59. package/build/esm/blocks/ExtendedFeatures/schema.d.ts +4 -0
  60. package/build/esm/blocks/FilterBlock/schema.d.ts +8 -0
  61. package/build/esm/blocks/FilterCardLayout/schema.d.ts +4 -0
  62. package/build/esm/blocks/Form/schema.d.ts +4 -0
  63. package/build/esm/blocks/Header/schema.d.ts +4 -0
  64. package/build/esm/blocks/HeaderMinify/schema.d.ts +4 -0
  65. package/build/esm/blocks/HeaderSlider/schema.d.ts +4 -0
  66. package/build/esm/blocks/HighlightTable/schema.d.ts +4 -0
  67. package/build/esm/blocks/Icons/schema.d.ts +8 -0
  68. package/build/esm/blocks/Layout/Layout.css +22 -0
  69. package/build/esm/blocks/Layout/Layout.d.ts +5 -0
  70. package/build/esm/blocks/Layout/Layout.js +62 -0
  71. package/build/esm/blocks/Layout/schema.d.ts +161 -0
  72. package/build/esm/blocks/Layout/schema.js +14 -0
  73. package/build/esm/blocks/Map/schema.d.ts +4 -0
  74. package/build/esm/blocks/Media/schema.d.ts +8 -0
  75. package/build/esm/blocks/OnetrustCookieList/schema.d.ts +4 -0
  76. package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +4 -0
  77. package/build/esm/blocks/Questions/schema.d.ts +4 -0
  78. package/build/esm/blocks/SidebarWidget/schema.d.ts +4 -0
  79. package/build/esm/blocks/Slider/schema.d.ts +4 -0
  80. package/build/esm/blocks/SliderNew/schema.d.ts +4 -0
  81. package/build/esm/blocks/TabLinks/schema.d.ts +4 -0
  82. package/build/esm/blocks/Table/schema.d.ts +4 -0
  83. package/build/esm/blocks/Tabs/schema.d.ts +4 -0
  84. package/build/esm/blocks/TabsHighlightTable/schema.d.ts +4 -0
  85. package/build/esm/blocks/YFM/YFM.css +22 -0
  86. package/build/esm/blocks/YFM/YFM.d.ts +4 -0
  87. package/build/esm/blocks/YFM/YFM.js +14 -0
  88. package/build/esm/blocks/YFM/schema.d.ts +156 -0
  89. package/build/esm/blocks/YFM/schema.js +15 -0
  90. package/build/esm/blocks/index.d.ts +2 -0
  91. package/build/esm/blocks/index.js +2 -0
  92. package/build/esm/constructor-items.d.ts +2 -0
  93. package/build/esm/constructor-items.js +3 -1
  94. package/build/esm/models/constructor-items/blocks.d.ts +20 -2
  95. package/build/esm/models/constructor-items/blocks.js +2 -0
  96. package/build/esm/schema/constants.d.ts +9 -1
  97. package/build/esm/schema/constants.js +3 -2
  98. package/build/esm/schema/validators/blocks.d.ts +2 -0
  99. package/build/esm/schema/validators/blocks.js +2 -0
  100. package/build/esm/schema/validators/common.d.ts +4 -0
  101. package/build/esm/schema/validators/common.js +3 -0
  102. package/build/esm/sub-blocks/ContentLayoutCard/schema.d.ts +4 -0
  103. package/build/esm/sub-blocks/StoryCard/schema.d.ts +4 -0
  104. package/build/esm/text-transform/config.js +6 -0
  105. package/package.json +1 -1
  106. package/schema/index.js +1 -1
  107. package/server/models/constructor-items/blocks.d.ts +20 -2
  108. package/server/models/constructor-items/blocks.js +2 -0
  109. package/server/text-transform/config.js +6 -0
  110. package/widget/index.js +1 -1
@@ -138,6 +138,10 @@ export declare const AudioBlock: {
138
138
  };
139
139
  })[];
140
140
  };
141
+ column: {
142
+ type: string;
143
+ enum: string[];
144
+ };
141
145
  type: {};
142
146
  when: {
143
147
  type: string;
@@ -166,6 +166,10 @@ export declare const BannerMinifyBlock: {
166
166
  };
167
167
  })[];
168
168
  };
169
+ column: {
170
+ type: string;
171
+ enum: string[];
172
+ };
169
173
  type: {};
170
174
  when: {
171
175
  type: string;
@@ -189,6 +189,10 @@ export declare const BenchmarkBlock: {
189
189
  };
190
190
  })[];
191
191
  };
192
+ column: {
193
+ type: string;
194
+ enum: string[];
195
+ };
192
196
  type: {};
193
197
  when: {
194
198
  type: string;
@@ -410,6 +410,10 @@ export declare const CardLayoutProps: {
410
410
  };
411
411
  })[];
412
412
  };
413
+ column: {
414
+ type: string;
415
+ enum: string[];
416
+ };
413
417
  type: {};
414
418
  when: {
415
419
  type: string;
@@ -829,6 +833,10 @@ export declare const CardLayoutBlock: {
829
833
  };
830
834
  })[];
831
835
  };
836
+ column: {
837
+ type: string;
838
+ enum: string[];
839
+ };
832
840
  type: {};
833
841
  when: {
834
842
  type: string;
@@ -144,6 +144,10 @@ export declare const CatBlock: {
144
144
  };
145
145
  })[];
146
146
  };
147
+ column: {
148
+ type: string;
149
+ enum: string[];
150
+ };
147
151
  type: {};
148
152
  when: {
149
153
  type: string;
@@ -598,6 +598,10 @@ export declare const ContentLayoutBlock: {
598
598
  };
599
599
  })[];
600
600
  };
601
+ column: {
602
+ type: string;
603
+ enum: string[];
604
+ };
601
605
  type: {};
602
606
  when: {
603
607
  type: string;
@@ -503,6 +503,10 @@ export declare const ExtendedFeaturesBlock: {
503
503
  };
504
504
  })[];
505
505
  };
506
+ column: {
507
+ type: string;
508
+ enum: string[];
509
+ };
506
510
  type: {};
507
511
  when: {
508
512
  type: string;
@@ -362,6 +362,10 @@ export declare const FilterProps: {
362
362
  };
363
363
  })[];
364
364
  };
365
+ column: {
366
+ type: string;
367
+ enum: string[];
368
+ };
365
369
  type: {};
366
370
  when: {
367
371
  type: string;
@@ -706,6 +710,10 @@ export declare const FilterBlock: {
706
710
  };
707
711
  })[];
708
712
  };
713
+ column: {
714
+ type: string;
715
+ enum: string[];
716
+ };
709
717
  type: {};
710
718
  when: {
711
719
  type: string;
@@ -331,6 +331,10 @@ export declare const FilterCardLayoutBlock: {
331
331
  };
332
332
  })[];
333
333
  };
334
+ column: {
335
+ type: string;
336
+ enum: string[];
337
+ };
334
338
  type: {};
335
339
  when: {
336
340
  type: string;
@@ -805,6 +805,10 @@ export declare const FormBlock: {
805
805
  };
806
806
  })[];
807
807
  };
808
+ column: {
809
+ type: string;
810
+ enum: string[];
811
+ };
808
812
  type: {};
809
813
  when: {
810
814
  type: string;
@@ -1859,6 +1859,10 @@ export declare const HeaderBlock: {
1859
1859
  };
1860
1860
  })[];
1861
1861
  };
1862
+ column: {
1863
+ type: string;
1864
+ enum: string[];
1865
+ };
1862
1866
  type: {};
1863
1867
  when: {
1864
1868
  type: string;
@@ -212,6 +212,10 @@ export declare const HeaderMinifyBlock: {
212
212
  };
213
213
  })[];
214
214
  };
215
+ column: {
216
+ type: string;
217
+ enum: string[];
218
+ };
215
219
  type: {};
216
220
  when: {
217
221
  type: string;
@@ -894,6 +894,10 @@ export declare const HeaderSliderBlock: {
894
894
  };
895
895
  })[];
896
896
  };
897
+ column: {
898
+ type: string;
899
+ enum: string[];
900
+ };
897
901
  type: {};
898
902
  when: {
899
903
  type: string;
@@ -325,6 +325,10 @@ export declare const HighlightTableBlock: {
325
325
  };
326
326
  })[];
327
327
  };
328
+ column: {
329
+ type: string;
330
+ enum: string[];
331
+ };
328
332
  type: {};
329
333
  when: {
330
334
  type: string;
@@ -407,6 +407,10 @@ export declare const IconsProps: {
407
407
  };
408
408
  })[];
409
409
  };
410
+ column: {
411
+ type: string;
412
+ enum: string[];
413
+ };
410
414
  type: {};
411
415
  when: {
412
416
  type: string;
@@ -823,6 +827,10 @@ export declare const IconsBlock: {
823
827
  };
824
828
  })[];
825
829
  };
830
+ column: {
831
+ type: string;
832
+ enum: string[];
833
+ };
826
834
  type: {};
827
835
  when: {
828
836
  type: string;
@@ -0,0 +1,22 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-layout-block {
4
+ margin: 0;
5
+ padding: 0;
6
+ }
7
+ .pc-layout-block__left-col.pc-layout-block__left-col {
8
+ padding: 0;
9
+ }
10
+
11
+ .pc-layout-block__right-col.pc-layout-block__right-col {
12
+ padding: 0;
13
+ }
14
+
15
+ .pc-layout-block__row {
16
+ padding: 0;
17
+ margin: 0;
18
+ }
19
+ .pc-layout-block__item {
20
+ margin: 0;
21
+ padding: 0 8px;
22
+ }
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { LayoutBlockProps } from '../../models';
3
+ export declare const LayoutBlock: ({ fullWidth, mobileOrder, revertMode, children, }: PropsWithChildren<LayoutBlockProps>) => JSX.Element;
4
+ export default LayoutBlock;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LayoutBlock = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importStar(require("react"));
6
+ const grid_1 = require("../../grid");
7
+ const cn_1 = require("../../utils/cn");
8
+ const b = (0, cn_1.block)('layout-block');
9
+ const LayoutBlock = ({ fullWidth, mobileOrder, revertMode, children, }) => {
10
+ const layout = (0, react_1.useMemo)(() => {
11
+ const layoutConfig = revertMode
12
+ ? {
13
+ leftCol: {
14
+ sizes: { all: 12, lg: 4 },
15
+ orders: { all: 1, lg: 1 },
16
+ },
17
+ rightCol: {
18
+ sizes: { all: 12, lg: 6 },
19
+ offsets: {
20
+ all: 0,
21
+ lg: 1,
22
+ },
23
+ orders: { all: 2, lg: 2 },
24
+ },
25
+ }
26
+ : {
27
+ leftCol: {
28
+ sizes: { all: 12, lg: 8 },
29
+ orders: { all: 1, lg: 1 },
30
+ },
31
+ rightCol: {
32
+ sizes: { all: 12, lg: 3 },
33
+ offsets: {
34
+ all: 0,
35
+ lg: 1,
36
+ },
37
+ orders: { all: 2, lg: 2 },
38
+ },
39
+ };
40
+ if (fullWidth) {
41
+ layoutConfig.leftCol.sizes = { all: 12 };
42
+ layoutConfig.rightCol.sizes = { all: 12 };
43
+ layoutConfig.rightCol.offsets = { all: 0 };
44
+ }
45
+ if (mobileOrder === 'reverse') {
46
+ layoutConfig.leftCol.orders = { all: 3, lg: 1 };
47
+ }
48
+ return layoutConfig;
49
+ }, [fullWidth, mobileOrder, revertMode]);
50
+ const renderChildren = (blockChildren) => react_1.default.Children.map(blockChildren, (child, i) => (react_1.default.createElement("div", { key: i, className: b('item') }, child)));
51
+ const { left, right } = (0, react_1.useMemo)(() => children === null || children === void 0 ? void 0 : children.reduce((sortedChildren, child) => {
52
+ var _a, _b;
53
+ if (((_b = (_a = child === null || child === void 0 ? void 0 : child.props) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.column) === 'left') {
54
+ sortedChildren.left.push(child);
55
+ }
56
+ else {
57
+ sortedChildren.right.push(child);
58
+ }
59
+ return sortedChildren;
60
+ }, { left: [], right: [] }), [children]);
61
+ return (react_1.default.createElement(grid_1.Row, { className: b('row'), noGutter: true },
62
+ react_1.default.createElement(grid_1.Col, Object.assign({ className: b('left-col') }, layout.leftCol), left && renderChildren(left)),
63
+ react_1.default.createElement(grid_1.Col, Object.assign({ className: b('right-col') }, layout.rightCol), right && renderChildren(right))));
64
+ };
65
+ exports.LayoutBlock = LayoutBlock;
66
+ exports.default = exports.LayoutBlock;
@@ -0,0 +1,161 @@
1
+ export declare const LayoutBlock: {
2
+ "layout-block": {
3
+ type: string;
4
+ additionalProperties: boolean;
5
+ required: string[];
6
+ properties: {
7
+ children: {
8
+ type: string;
9
+ items: {
10
+ $ref: string;
11
+ };
12
+ };
13
+ mobileOrder: {
14
+ type: string;
15
+ enum: string[];
16
+ };
17
+ revertMode: {
18
+ type: string;
19
+ };
20
+ anchor: {
21
+ type: string;
22
+ additionalProperties: boolean;
23
+ required: string[];
24
+ properties: {
25
+ text: {
26
+ type: string;
27
+ contentType: string;
28
+ };
29
+ url: {
30
+ type: string;
31
+ };
32
+ urlTitle: {
33
+ type: string;
34
+ };
35
+ };
36
+ };
37
+ visibility: {
38
+ oneOf: ({
39
+ type: string;
40
+ enum: string[];
41
+ additionalProperties?: undefined;
42
+ properties?: undefined;
43
+ } | {
44
+ type: string;
45
+ additionalProperties: boolean;
46
+ properties: {
47
+ xs: {
48
+ type: string;
49
+ };
50
+ sm: {
51
+ type: string;
52
+ };
53
+ md: {
54
+ type: string;
55
+ };
56
+ lg: {
57
+ type: string;
58
+ };
59
+ xl: {
60
+ type: string;
61
+ };
62
+ xxl: {
63
+ type: string;
64
+ };
65
+ };
66
+ enum?: undefined;
67
+ })[];
68
+ };
69
+ visible: {
70
+ type: string;
71
+ enum: string[];
72
+ };
73
+ hidden: {
74
+ type: string;
75
+ enum: string[];
76
+ };
77
+ resetPaddings: {
78
+ type: string;
79
+ };
80
+ context: {
81
+ type: string;
82
+ };
83
+ indent: {
84
+ type: string;
85
+ additionalProperties: boolean;
86
+ properties: {
87
+ top: {
88
+ enum: string[];
89
+ };
90
+ bottom: {
91
+ enum: string[];
92
+ };
93
+ };
94
+ };
95
+ backgroundFull: {
96
+ type: string;
97
+ };
98
+ visibilityFilter: {
99
+ oneOf: ({
100
+ type: string;
101
+ items?: undefined;
102
+ } | {
103
+ type: string;
104
+ items: {
105
+ type: string;
106
+ };
107
+ })[];
108
+ };
109
+ blockUnicorn: {
110
+ type: string;
111
+ };
112
+ blockBackground: {
113
+ oneOf: ({
114
+ type: string;
115
+ additionalProperties?: undefined;
116
+ properties?: undefined;
117
+ } | {
118
+ type: string;
119
+ additionalProperties: boolean;
120
+ properties: {
121
+ color: {
122
+ type: string;
123
+ };
124
+ image: {
125
+ type: string;
126
+ };
127
+ size: {
128
+ type: string;
129
+ };
130
+ repeat: {
131
+ type: string;
132
+ };
133
+ position: {
134
+ type: string;
135
+ };
136
+ attachment: {
137
+ type: string;
138
+ };
139
+ clip: {
140
+ type: string;
141
+ };
142
+ origin: {
143
+ type: string;
144
+ };
145
+ blendMode: {
146
+ type: string;
147
+ };
148
+ };
149
+ })[];
150
+ };
151
+ column: {
152
+ type: string;
153
+ enum: string[];
154
+ };
155
+ type: {};
156
+ when: {
157
+ type: string;
158
+ };
159
+ };
160
+ };
161
+ };
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LayoutBlock = void 0;
4
+ const common_1 = require("../../schema/validators/common");
5
+ exports.LayoutBlock = {
6
+ ['layout-block']: {
7
+ type: 'object',
8
+ additionalProperties: false,
9
+ required: ['children'],
10
+ properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { children: common_1.ChildrenProps, mobileOrder: {
11
+ type: 'string',
12
+ enum: ['reverse', 'straight'],
13
+ }, revertMode: {
14
+ type: 'boolean',
15
+ } }),
16
+ },
17
+ };
@@ -650,6 +650,10 @@ export declare const MapBlock: {
650
650
  };
651
651
  })[];
652
652
  };
653
+ column: {
654
+ type: string;
655
+ enum: string[];
656
+ };
653
657
  type: {};
654
658
  when: {
655
659
  type: string;
@@ -853,6 +853,10 @@ export declare const MediaBlockBaseProps: {
853
853
  };
854
854
  })[];
855
855
  };
856
+ column: {
857
+ type: string;
858
+ enum: string[];
859
+ };
856
860
  type: {};
857
861
  when: {
858
862
  type: string;
@@ -1727,6 +1731,10 @@ export declare const MediaBlock: {
1727
1731
  };
1728
1732
  })[];
1729
1733
  };
1734
+ column: {
1735
+ type: string;
1736
+ enum: string[];
1737
+ };
1730
1738
  type: {};
1731
1739
  when: {
1732
1740
  type: string;
@@ -134,6 +134,10 @@ export declare const OnetrustCookieListBlock: {
134
134
  };
135
135
  })[];
136
136
  };
137
+ column: {
138
+ type: string;
139
+ enum: string[];
140
+ };
137
141
  type: {};
138
142
  when: {
139
143
  type: string;
@@ -638,6 +638,10 @@ export declare const PromoFeaturesBlock: {
638
638
  };
639
639
  })[];
640
640
  };
641
+ column: {
642
+ type: string;
643
+ enum: string[];
644
+ };
641
645
  type: {};
642
646
  when: {
643
647
  type: string;
@@ -367,6 +367,10 @@ export declare const QuestionsBlock: {
367
367
  };
368
368
  })[];
369
369
  };
370
+ column: {
371
+ type: string;
372
+ enum: string[];
373
+ };
370
374
  type: {};
371
375
  when: {
372
376
  type: string;
@@ -149,6 +149,10 @@ export declare const SidebarWidgetBlock: {
149
149
  };
150
150
  })[];
151
151
  };
152
+ column: {
153
+ type: string;
154
+ enum: string[];
155
+ };
152
156
  type: {};
153
157
  when: {
154
158
  type: string;
@@ -449,6 +449,10 @@ export declare const SliderBlock: {
449
449
  };
450
450
  })[];
451
451
  };
452
+ column: {
453
+ type: string;
454
+ enum: string[];
455
+ };
452
456
  type: {};
453
457
  when: {
454
458
  type: string;
@@ -485,6 +485,10 @@ export declare const SliderNewBlock: {
485
485
  };
486
486
  })[];
487
487
  };
488
+ column: {
489
+ type: string;
490
+ enum: string[];
491
+ };
488
492
  when: {
489
493
  type: string;
490
494
  };
@@ -319,6 +319,10 @@ export declare const TabLinksBlock: {
319
319
  };
320
320
  })[];
321
321
  };
322
+ column: {
323
+ type: string;
324
+ enum: string[];
325
+ };
322
326
  type: {};
323
327
  when: {
324
328
  type: string;
@@ -217,6 +217,10 @@ export declare const TableBlock: {
217
217
  };
218
218
  })[];
219
219
  };
220
+ column: {
221
+ type: string;
222
+ enum: string[];
223
+ };
220
224
  type: {};
221
225
  when: {
222
226
  type: string;
@@ -1033,6 +1033,10 @@ export declare const TabsBlock: {
1033
1033
  };
1034
1034
  })[];
1035
1035
  };
1036
+ column: {
1037
+ type: string;
1038
+ enum: string[];
1039
+ };
1036
1040
  type: {};
1037
1041
  when: {
1038
1042
  type: string;
@@ -308,6 +308,10 @@ export declare const TabsHighlightTableBlock: {
308
308
  };
309
309
  })[];
310
310
  };
311
+ column: {
312
+ type: string;
313
+ enum: string[];
314
+ };
311
315
  type: {};
312
316
  when: {
313
317
  type: string;
@@ -0,0 +1,22 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-yfm-block_size_xs {
4
+ font-size: var(--g-text-body-1-font-size, var(--pc-text-body-1-font-size));
5
+ line-height: var(--g-text-body-1-line-height, var(--pc-text-body-1-line-height));
6
+ }
7
+ .pc-yfm-block_size_s {
8
+ font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
9
+ line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
10
+ }
11
+ .pc-yfm-block_size_m {
12
+ font-size: var(--g-text-body-3-font-size, var(--pc-text-body-3-font-size));
13
+ line-height: var(--g-text-body-3-line-height, var(--pc-text-body-3-line-height));
14
+ }
15
+ .pc-yfm-block_size_l {
16
+ font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
17
+ line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
18
+ }
19
+ .pc-yfm-block_size_xl {
20
+ font-size: var(--g-text-header-2-font-size, var(--pc-text-header-2-font-size));
21
+ line-height: var(--g-text-header-2-line-height, var(--pc-text-header-2-line-height));
22
+ }
@@ -0,0 +1,3 @@
1
+ import { YFMBlockProps } from '../../models';
2
+ export declare const YFMBlock: (props: YFMBlockProps) => JSX.Element;
3
+ export default YFMBlock;