@doyourjob/gravity-ui-page-constructor 5.31.78 → 5.31.80

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 (37) hide show
  1. package/build/cjs/blocks/TabLinks/TabLinks.css +33 -0
  2. package/build/cjs/blocks/TabLinks/TabLinks.d.ts +3 -0
  3. package/build/cjs/blocks/TabLinks/TabLinks.js +13 -0
  4. package/build/cjs/blocks/TabLinks/schema.d.ts +307 -0
  5. package/build/cjs/blocks/TabLinks/schema.js +27 -0
  6. package/build/cjs/blocks/index.d.ts +1 -0
  7. package/build/cjs/blocks/index.js +3 -1
  8. package/build/cjs/constructor-items.d.ts +1 -0
  9. package/build/cjs/constructor-items.js +1 -0
  10. package/build/cjs/models/constructor-items/blocks.d.ts +12 -1
  11. package/build/cjs/models/constructor-items/blocks.js +1 -0
  12. package/build/cjs/schema/constants.d.ts +1 -1
  13. package/build/cjs/schema/constants.js +2 -1
  14. package/build/cjs/schema/validators/blocks.d.ts +1 -0
  15. package/build/cjs/schema/validators/blocks.js +1 -0
  16. package/build/cjs/sub-blocks/CaseStudyCard/CaseStudyCard.css +4 -1
  17. package/build/esm/blocks/TabLinks/TabLinks.css +33 -0
  18. package/build/esm/blocks/TabLinks/TabLinks.d.ts +4 -0
  19. package/build/esm/blocks/TabLinks/TabLinks.js +9 -0
  20. package/build/esm/blocks/TabLinks/schema.d.ts +307 -0
  21. package/build/esm/blocks/TabLinks/schema.js +24 -0
  22. package/build/esm/blocks/index.d.ts +1 -0
  23. package/build/esm/blocks/index.js +1 -0
  24. package/build/esm/constructor-items.d.ts +1 -0
  25. package/build/esm/constructor-items.js +2 -1
  26. package/build/esm/models/constructor-items/blocks.d.ts +12 -1
  27. package/build/esm/models/constructor-items/blocks.js +1 -0
  28. package/build/esm/schema/constants.d.ts +1 -1
  29. package/build/esm/schema/constants.js +3 -2
  30. package/build/esm/schema/validators/blocks.d.ts +1 -0
  31. package/build/esm/schema/validators/blocks.js +1 -0
  32. package/build/esm/sub-blocks/CaseStudyCard/CaseStudyCard.css +4 -1
  33. package/package.json +1 -1
  34. package/schema/index.js +1 -1
  35. package/server/models/constructor-items/blocks.d.ts +12 -1
  36. package/server/models/constructor-items/blocks.js +1 -0
  37. package/widget/index.js +1 -1
@@ -0,0 +1,33 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-tab-links-block {
4
+ display: flex;
5
+ border-bottom: 1px solid var(--g-color-private-cool-grey-400);
6
+ gap: 32px;
7
+ }
8
+ .pc-tab-links-block__item {
9
+ font-size: var(--g-text-body-3-font-size, var(--pc-text-body-3-font-size));
10
+ line-height: var(--g-text-body-3-line-height, var(--pc-text-body-3-line-height));
11
+ position: relative;
12
+ font-weight: 700;
13
+ padding-bottom: 8px;
14
+ }
15
+ .pc-tab-links-block__item > a {
16
+ color: inherit;
17
+ }
18
+ .pc-tab-links-block__item::after {
19
+ content: "";
20
+ left: 0;
21
+ bottom: 0;
22
+ height: 0;
23
+ width: 100%;
24
+ background-color: var(--g-color-text-primary);
25
+ position: absolute;
26
+ transition: height 0.3s ease;
27
+ }
28
+ .pc-tab-links-block__item_active > a, .pc-tab-links-block__item:hover > a {
29
+ color: inherit;
30
+ }
31
+ .pc-tab-links-block__item_active::after, .pc-tab-links-block__item:hover::after {
32
+ height: 3px;
33
+ }
@@ -0,0 +1,3 @@
1
+ import { TabLinksBlockProps } from '../../models';
2
+ export declare const TabLinksBlock: ({ items }: TabLinksBlockProps) => JSX.Element;
3
+ export default TabLinksBlock;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabLinksBlock = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const react_1 = tslib_1.__importDefault(require("react"));
6
+ const components_1 = require("../../components");
7
+ const utils_1 = require("../../utils");
8
+ const b = (0, utils_1.block)('tab-links-block');
9
+ const TabLinksBlock = ({ items }) => {
10
+ return (react_1.default.createElement("div", { className: b() }, items.map((item, index) => (react_1.default.createElement(components_1.Link, { key: index, url: item.url, text: item.text, className: b('item', { active: item.active }), theme: "normal" })))));
11
+ };
12
+ exports.TabLinksBlock = TabLinksBlock;
13
+ exports.default = exports.TabLinksBlock;
@@ -0,0 +1,307 @@
1
+ export declare const linkItem: {
2
+ additionalProperties: boolean;
3
+ required: string[];
4
+ properties: {
5
+ active: {
6
+ type: string;
7
+ };
8
+ text: {
9
+ type: string;
10
+ };
11
+ url: {
12
+ type: string;
13
+ };
14
+ };
15
+ };
16
+ export declare const TabLinksBlock: {
17
+ 'tab-links-block': {
18
+ additionalProperties: boolean;
19
+ required: string[];
20
+ properties: {
21
+ items: {
22
+ type: string;
23
+ items: {
24
+ type: string;
25
+ properties: {
26
+ when: {
27
+ type: string;
28
+ };
29
+ };
30
+ };
31
+ };
32
+ title: {
33
+ oneOf: ({
34
+ type: string;
35
+ optionName: string;
36
+ } | {
37
+ optionName: string;
38
+ type: string;
39
+ additionalProperties: boolean;
40
+ required: string[];
41
+ properties: {
42
+ text: {
43
+ type: string;
44
+ contentType: string;
45
+ };
46
+ link: {
47
+ type: string;
48
+ additionalProperties: boolean;
49
+ required: string[];
50
+ properties: {
51
+ text: {
52
+ type: string;
53
+ contentType: string;
54
+ };
55
+ url: {
56
+ type: string;
57
+ };
58
+ urlTitle: {
59
+ type: string;
60
+ };
61
+ arrow: {
62
+ type: string;
63
+ };
64
+ theme: {
65
+ type: string;
66
+ enum: string[];
67
+ };
68
+ textSize: {
69
+ type: string;
70
+ enum: string[];
71
+ };
72
+ target: {
73
+ type: string;
74
+ enum: string[];
75
+ };
76
+ analyticsEvents: {
77
+ oneOf: ({
78
+ optionName: string;
79
+ type: string;
80
+ additionalProperties: {
81
+ type: string;
82
+ };
83
+ required: string[];
84
+ properties: {
85
+ name: {
86
+ type: string;
87
+ };
88
+ type: {
89
+ type: string;
90
+ };
91
+ counters: {
92
+ type: string;
93
+ additionalProperties: boolean;
94
+ required: never[];
95
+ properties: {
96
+ include: {
97
+ type: string;
98
+ items: {
99
+ type: string;
100
+ };
101
+ };
102
+ exclude: {
103
+ type: string;
104
+ items: {
105
+ type: string;
106
+ };
107
+ };
108
+ };
109
+ };
110
+ context: {
111
+ type: string;
112
+ };
113
+ };
114
+ items?: undefined;
115
+ } | {
116
+ type: string;
117
+ items: {
118
+ type: string;
119
+ additionalProperties: {
120
+ type: string;
121
+ };
122
+ required: string[];
123
+ properties: {
124
+ name: {
125
+ type: string;
126
+ };
127
+ type: {
128
+ type: string;
129
+ };
130
+ counters: {
131
+ type: string;
132
+ additionalProperties: boolean;
133
+ required: never[];
134
+ properties: {
135
+ include: {
136
+ type: string;
137
+ items: {
138
+ type: string;
139
+ };
140
+ };
141
+ exclude: {
142
+ type: string;
143
+ items: {
144
+ type: string;
145
+ };
146
+ };
147
+ };
148
+ };
149
+ context: {
150
+ type: string;
151
+ };
152
+ };
153
+ };
154
+ optionName: string;
155
+ })[];
156
+ };
157
+ type: {};
158
+ when: {
159
+ type: string;
160
+ };
161
+ };
162
+ };
163
+ textSize: {
164
+ type: string;
165
+ enum: string[];
166
+ };
167
+ url: {
168
+ type: string;
169
+ };
170
+ urlTitle: {
171
+ type: string;
172
+ };
173
+ resetMargin: {
174
+ type: string;
175
+ };
176
+ };
177
+ })[];
178
+ };
179
+ description: {
180
+ type: string;
181
+ contentType: string;
182
+ inputType: string;
183
+ };
184
+ anchor: {
185
+ type: string;
186
+ additionalProperties: boolean;
187
+ required: string[];
188
+ properties: {
189
+ text: {
190
+ type: string;
191
+ contentType: string;
192
+ };
193
+ url: {
194
+ type: string;
195
+ };
196
+ urlTitle: {
197
+ type: string;
198
+ };
199
+ };
200
+ };
201
+ visibility: {
202
+ oneOf: ({
203
+ type: string;
204
+ enum: string[];
205
+ additionalProperties?: undefined;
206
+ properties?: undefined;
207
+ } | {
208
+ type: string;
209
+ additionalProperties: boolean;
210
+ properties: {
211
+ xs: {
212
+ type: string;
213
+ };
214
+ sm: {
215
+ type: string;
216
+ };
217
+ md: {
218
+ type: string;
219
+ };
220
+ lg: {
221
+ type: string;
222
+ };
223
+ xl: {
224
+ type: string;
225
+ };
226
+ xxl: {
227
+ type: string;
228
+ };
229
+ };
230
+ enum?: undefined;
231
+ })[];
232
+ };
233
+ visible: {
234
+ type: string;
235
+ enum: string[];
236
+ };
237
+ hidden: {
238
+ type: string;
239
+ enum: string[];
240
+ };
241
+ resetPaddings: {
242
+ type: string;
243
+ };
244
+ context: {
245
+ type: string;
246
+ };
247
+ indent: {
248
+ type: string;
249
+ additionalProperties: boolean;
250
+ properties: {
251
+ top: {
252
+ enum: string[];
253
+ };
254
+ bottom: {
255
+ enum: string[];
256
+ };
257
+ };
258
+ };
259
+ backgroundFull: {
260
+ type: string;
261
+ };
262
+ blockBackground: {
263
+ oneOf: ({
264
+ type: string;
265
+ additionalProperties?: undefined;
266
+ properties?: undefined;
267
+ } | {
268
+ type: string;
269
+ additionalProperties: boolean;
270
+ properties: {
271
+ color: {
272
+ type: string;
273
+ };
274
+ image: {
275
+ type: string;
276
+ };
277
+ size: {
278
+ type: string;
279
+ };
280
+ repeat: {
281
+ type: string;
282
+ };
283
+ position: {
284
+ type: string;
285
+ };
286
+ attachment: {
287
+ type: string;
288
+ };
289
+ clip: {
290
+ type: string;
291
+ };
292
+ origin: {
293
+ type: string;
294
+ };
295
+ blendMode: {
296
+ type: string;
297
+ };
298
+ };
299
+ })[];
300
+ };
301
+ type: {};
302
+ when: {
303
+ type: string;
304
+ };
305
+ };
306
+ };
307
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TabLinksBlock = exports.linkItem = void 0;
4
+ const common_1 = require("../../schema/validators/common");
5
+ const utils_1 = require("../../schema/validators/utils");
6
+ exports.linkItem = {
7
+ additionalProperties: false,
8
+ required: ['text', 'url'],
9
+ properties: {
10
+ active: {
11
+ type: 'boolean',
12
+ },
13
+ text: {
14
+ type: 'string',
15
+ },
16
+ url: {
17
+ type: 'string',
18
+ },
19
+ },
20
+ };
21
+ exports.TabLinksBlock = {
22
+ 'tab-links-block': {
23
+ additionalProperties: false,
24
+ required: ['items'],
25
+ properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.BlockHeaderProps), { items: (0, utils_1.filteredArray)(exports.linkItem) }),
26
+ },
27
+ };
@@ -9,6 +9,7 @@ export { default as PromoFeaturesBlock } from './PromoFeaturesBlock/PromoFeature
9
9
  export { default as QuestionsBlock } from './Questions/Questions';
10
10
  export { default as TableBlock } from './Table/Table';
11
11
  export { default as TabsBlock } from './Tabs/Tabs';
12
+ export { default as TabLinksBlock } from './TabLinks/TabLinks';
12
13
  export { default as HeaderBlock } from './Header/Header';
13
14
  export { default as IconsBlock } from './Icons/Icons';
14
15
  export { default as HeaderSliderBlock } from './HeaderSlider/HeaderSlider';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.IrEventsFeedRecentBlock = exports.IrEventsFeedUpcomingBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterBlock = exports.ShareBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.BannerBlock = void 0;
6
+ exports.HighlightTableBlock = exports.PressReleasesBlock = exports.RelevantReportsBlock = exports.RelevantReportsCardsBlock = exports.RelevantPostsBlock = exports.BlogFeedBlock = exports.IrEventsFeedRecentBlock = exports.IrEventsFeedUpcomingBlock = exports.EventsFeedBlock = exports.LinkTableBlock = exports.FormWallBlock = exports.ReportsSectionsBlock = exports.ReportsCardsBlock = exports.ReportsBlock = exports.QuotesBlock = exports.ServicesBlock = exports.SolutionsBlock = exports.MarqueeLinksBlock = exports.FormBlock = exports.FilterBlock = exports.ShareBlock = exports.ContentLayoutBlock = exports.CardLayoutBlock = exports.HeaderSliderBlock = exports.IconsBlock = exports.HeaderBlock = exports.TabLinksBlock = exports.TabsBlock = exports.TableBlock = exports.QuestionsBlock = exports.PromoFeaturesBlock = exports.ExtendedFeaturesBlock = exports.SliderBlock = exports.MapBlock = exports.MediaBlock = exports.InfoBlock = exports.CompaniesBlock = exports.BannerBlock = void 0;
7
7
  var Banner_1 = require("./Banner/Banner");
8
8
  Object.defineProperty(exports, "BannerBlock", { enumerable: true, get: function () { return __importDefault(Banner_1).default; } });
9
9
  var Companies_1 = require("./Companies/Companies");
@@ -26,6 +26,8 @@ var Table_1 = require("./Table/Table");
26
26
  Object.defineProperty(exports, "TableBlock", { enumerable: true, get: function () { return __importDefault(Table_1).default; } });
27
27
  var Tabs_1 = require("./Tabs/Tabs");
28
28
  Object.defineProperty(exports, "TabsBlock", { enumerable: true, get: function () { return __importDefault(Tabs_1).default; } });
29
+ var TabLinks_1 = require("./TabLinks/TabLinks");
30
+ Object.defineProperty(exports, "TabLinksBlock", { enumerable: true, get: function () { return __importDefault(TabLinks_1).default; } });
29
31
  var Header_1 = require("./Header/Header");
30
32
  Object.defineProperty(exports, "HeaderBlock", { enumerable: true, get: function () { return __importDefault(Header_1).default; } });
31
33
  var Icons_1 = require("./Icons/Icons");
@@ -9,6 +9,7 @@ export declare const blockMap: {
9
9
  "info-block": (props: import("./models").InfoBlockProps) => JSX.Element;
10
10
  "table-block": (props: import("./models").TableBlockProps) => JSX.Element;
11
11
  "tabs-block": ({ items, title, description, animated, tabsColSizes, centered, direction, contentSize, }: import("./models").TabsBlockProps) => JSX.Element;
12
+ "tab-links-block": ({ items }: import("./models").TabLinksBlockProps) => JSX.Element;
12
13
  "header-block": (props: import("react").PropsWithChildren<import("./models").HeaderBlockProps & import("./models").ClassNameProps>) => JSX.Element;
13
14
  "icons-block": ({ title, description, size, colSizes, items }: import("./models").IconsBlockProps) => JSX.Element;
14
15
  "header-slider-block": ({ items, arrows, ...props }: import("./models").HeaderSliderBlockProps) => JSX.Element;
@@ -19,6 +19,7 @@ exports.blockMap = {
19
19
  [models_1.BlockType.InfoBlock]: blocks_1.InfoBlock,
20
20
  [models_1.BlockType.TableBlock]: blocks_1.TableBlock,
21
21
  [models_1.BlockType.TabsBlock]: blocks_1.TabsBlock,
22
+ [models_1.BlockType.TabLinksBlock]: blocks_1.TabLinksBlock,
22
23
  [models_1.BlockType.HeaderBlock]: blocks_1.HeaderBlock,
23
24
  [models_1.BlockType.IconsBlock]: blocks_1.IconsBlock,
24
25
  [models_1.BlockType.HeaderSliderBlock]: blocks_1.HeaderSliderBlock,
@@ -16,6 +16,7 @@ export declare enum BlockType {
16
16
  InfoBlock = "info-block",
17
17
  TableBlock = "table-block",
18
18
  TabsBlock = "tabs-block",
19
+ TabLinksBlock = "tab-links-block",
19
20
  HeaderSliderBlock = "header-slider-block",
20
21
  HeaderBlock = "header-block",
21
22
  IconsBlock = "icons-block",
@@ -343,6 +344,13 @@ export interface TabsBlockProps extends Animatable {
343
344
  items: TabsBlockItem[];
344
345
  contentSize?: ContentSize;
345
346
  }
347
+ export interface TabLinksBlockProps {
348
+ items: {
349
+ active?: boolean;
350
+ text: string;
351
+ url: string;
352
+ }[];
353
+ }
346
354
  export interface ServicesBlockProps {
347
355
  title?: string;
348
356
  serviceLinkType?: 'doc' | 'price';
@@ -607,6 +615,9 @@ export type HighlightTableBlockModel = {
607
615
  export type TabsBlockModel = {
608
616
  type: BlockType.TabsBlock;
609
617
  } & TabsBlockProps;
618
+ export type TabLinksBlockModel = {
619
+ type: BlockType.TabLinksBlock;
620
+ } & TabLinksBlockProps;
610
621
  export type CardLayoutBlockModel = {
611
622
  type: BlockType.CardLayoutBlock;
612
623
  } & CardLayoutBlockProps;
@@ -682,7 +693,7 @@ export type FormWallBlockModel = {
682
693
  export type SliderNewBlockModel = {
683
694
  type: BlockType.SliderNewBlock;
684
695
  } & SliderNewProps;
685
- type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | TabsBlockModel | HeaderBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel | FilterBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | IrEventsFeedUpcomingBlockModel | IrEventsFeedRecentBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel;
696
+ type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | TabsBlockModel | TabLinksBlockModel | HeaderBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel | FilterBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | IrEventsFeedUpcomingBlockModel | IrEventsFeedRecentBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel;
686
697
  type UnstableBlockModels = SliderNewBlockModel;
687
698
  export type Block = (BlockModels | UnstableBlockModels) & BlockBaseProps;
688
699
  export {};
@@ -13,6 +13,7 @@ var BlockType;
13
13
  BlockType["InfoBlock"] = "info-block";
14
14
  BlockType["TableBlock"] = "table-block";
15
15
  BlockType["TabsBlock"] = "tabs-block";
16
+ BlockType["TabLinksBlock"] = "tab-links-block";
16
17
  BlockType["HeaderSliderBlock"] = "header-slider-block";
17
18
  BlockType["HeaderBlock"] = "header-block";
18
19
  BlockType["IconsBlock"] = "icons-block";
@@ -3148,7 +3148,7 @@ export declare const cardSchemas: {
3148
3148
  type: string;
3149
3149
  };
3150
3150
  video: {
3151
- type: string;
3151
+ type: string; /** @deprecated */
3152
3152
  additionalProperties: boolean;
3153
3153
  required: string[];
3154
3154
  properties: {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.constructorCardSchemaNames = exports.constructorBlockSchemaNames = exports.cardSchemas = exports.blockSchemas = void 0;
4
4
  const blocks_1 = require("./validators/blocks");
5
5
  const sub_blocks_1 = require("./validators/sub-blocks");
6
- exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.BannerBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.TabsBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.IrEventsFeedUpcomingBlock), blocks_1.IrEventsFeedRecentBlock), blocks_1.BlogFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock);
6
+ exports.blockSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.Divider), blocks_1.ExtendedFeaturesBlock), blocks_1.PromoFeaturesBlock), blocks_1.SliderBlock), blocks_1.QuestionsBlock), blocks_1.HeaderBlock), blocks_1.BannerBlock), blocks_1.CompaniesBlock), blocks_1.MediaBlock), blocks_1.MapBlock), blocks_1.InfoBlock), blocks_1.TableBlock), blocks_1.HighlightTableBlock), blocks_1.TabsBlock), blocks_1.TabLinksBlock), blocks_1.HeaderSliderBlock), blocks_1.IconsBlock), blocks_1.CardLayoutBlock), blocks_1.ContentLayoutBlock), blocks_1.ShareBlock), blocks_1.FilterBlock), blocks_1.FormBlock), blocks_1.SliderNewBlock), blocks_1.MarqueeLinksBlock), blocks_1.SolutionsBlock), blocks_1.ServicesBlock), blocks_1.QuotesBlock), blocks_1.ReportsBlock), blocks_1.ReportsCardsBlock), blocks_1.ReportsSectionsBlock), blocks_1.LinkTableBlock), blocks_1.EventsFeedBlock), blocks_1.IrEventsFeedUpcomingBlock), blocks_1.IrEventsFeedRecentBlock), blocks_1.BlogFeedBlock), blocks_1.RelevantPostsBlock), blocks_1.RelevantReportsCardsBlock), blocks_1.RelevantReportsBlock), blocks_1.PressReleasesBlock), blocks_1.FormWallBlock);
7
7
  exports.cardSchemas = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, sub_blocks_1.MediaCardBlock), blocks_1.BannerCard), sub_blocks_1.PriceDetailedBlock), sub_blocks_1.BackgroundCard), sub_blocks_1.Quote), sub_blocks_1.BasicCard), sub_blocks_1.PriceCardBlock), sub_blocks_1.ImageCard), sub_blocks_1.ContentLayoutCard), sub_blocks_1.Card), sub_blocks_1.PostCard), sub_blocks_1.FeedCard), sub_blocks_1.EventPersonCard), sub_blocks_1.AttachmentCard), sub_blocks_1.CaseStudyCard);
8
8
  exports.constructorBlockSchemaNames = [
9
9
  'divider',
@@ -23,6 +23,7 @@ exports.constructorBlockSchemaNames = [
23
23
  'form-wall-block',
24
24
  'table-block',
25
25
  'tabs-block',
26
+ 'tab-links-block',
26
27
  'marquee-links-block',
27
28
  /** @deprecated */
28
29
  'price-detailed',
@@ -10,6 +10,7 @@ export * from '../../blocks/Questions/schema';
10
10
  export * from '../../blocks/Slider/schema';
11
11
  export * from '../../blocks/Table/schema';
12
12
  export * from '../../blocks/Tabs/schema';
13
+ export * from '../../blocks/TabLinks/schema';
13
14
  export * from '../../blocks/HeaderSlider/schema';
14
15
  export * from '../../blocks/Icons/schema';
15
16
  export * from '../../blocks/CardLayout/schema';
@@ -13,6 +13,7 @@ tslib_1.__exportStar(require("../../blocks/Questions/schema"), exports);
13
13
  tslib_1.__exportStar(require("../../blocks/Slider/schema"), exports);
14
14
  tslib_1.__exportStar(require("../../blocks/Table/schema"), exports);
15
15
  tslib_1.__exportStar(require("../../blocks/Tabs/schema"), exports);
16
+ tslib_1.__exportStar(require("../../blocks/TabLinks/schema"), exports);
16
17
  tslib_1.__exportStar(require("../../blocks/HeaderSlider/schema"), exports);
17
18
  tslib_1.__exportStar(require("../../blocks/Icons/schema"), exports);
18
19
  tslib_1.__exportStar(require("../../blocks/CardLayout/schema"), exports);
@@ -44,7 +44,7 @@ unpredictable css rules order in build */
44
44
  display: flex;
45
45
  flex-flow: column-reverse wrap;
46
46
  justify-content: space-between;
47
- gap: 16px;
47
+ gap: 32px;
48
48
  flex: 1;
49
49
  margin-top: 16px;
50
50
  }
@@ -53,6 +53,9 @@ unpredictable css rules order in build */
53
53
  flex-direction: column;
54
54
  }
55
55
  }
56
+ .pc-case-study-card__content p {
57
+ margin: 16px 0;
58
+ }
56
59
  .pc-case-study-card__tags {
57
60
  margin: 0;
58
61
  padding: 0;
@@ -0,0 +1,33 @@
1
+ /* use this for style redefinitions to awoid problems with
2
+ unpredictable css rules order in build */
3
+ .pc-tab-links-block {
4
+ display: flex;
5
+ border-bottom: 1px solid var(--g-color-private-cool-grey-400);
6
+ gap: 32px;
7
+ }
8
+ .pc-tab-links-block__item {
9
+ font-size: var(--g-text-body-3-font-size, var(--pc-text-body-3-font-size));
10
+ line-height: var(--g-text-body-3-line-height, var(--pc-text-body-3-line-height));
11
+ position: relative;
12
+ font-weight: 700;
13
+ padding-bottom: 8px;
14
+ }
15
+ .pc-tab-links-block__item > a {
16
+ color: inherit;
17
+ }
18
+ .pc-tab-links-block__item::after {
19
+ content: "";
20
+ left: 0;
21
+ bottom: 0;
22
+ height: 0;
23
+ width: 100%;
24
+ background-color: var(--g-color-text-primary);
25
+ position: absolute;
26
+ transition: height 0.3s ease;
27
+ }
28
+ .pc-tab-links-block__item_active > a, .pc-tab-links-block__item:hover > a {
29
+ color: inherit;
30
+ }
31
+ .pc-tab-links-block__item_active::after, .pc-tab-links-block__item:hover::after {
32
+ height: 3px;
33
+ }
@@ -0,0 +1,4 @@
1
+ import { TabLinksBlockProps } from '../../models';
2
+ import './TabLinks.css';
3
+ export declare const TabLinksBlock: ({ items }: TabLinksBlockProps) => JSX.Element;
4
+ export default TabLinksBlock;
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { Link } from '../../components';
3
+ import { block } from '../../utils';
4
+ import './TabLinks.css';
5
+ const b = block('tab-links-block');
6
+ export const TabLinksBlock = ({ items }) => {
7
+ return (React.createElement("div", { className: b() }, items.map((item, index) => (React.createElement(Link, { key: index, url: item.url, text: item.text, className: b('item', { active: item.active }), theme: "normal" })))));
8
+ };
9
+ export default TabLinksBlock;