@doyourjob/gravity-ui-page-constructor 5.31.142-dev.1 → 5.31.142-dev.3
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/Benefits/Benefits.css +76 -0
- package/build/cjs/blocks/Benefits/Benefits.d.ts +3 -0
- package/build/cjs/blocks/Benefits/Benefits.js +49 -0
- package/build/cjs/blocks/Benefits/BenefitsCard/BenefitsCard.css +31 -0
- package/build/cjs/blocks/Benefits/BenefitsCard/BenefitsCard.d.ts +3 -0
- package/build/cjs/blocks/Benefits/BenefitsCard/BenefitsCard.js +17 -0
- package/build/cjs/blocks/Benefits/BenefitsLabel/BenefitsLabel.css +30 -0
- package/build/cjs/blocks/Benefits/BenefitsLabel/BenefitsLabel.d.ts +6 -0
- package/build/cjs/blocks/Benefits/BenefitsLabel/BenefitsLabel.js +15 -0
- package/build/cjs/blocks/Benefits/schema.d.ts +95 -0
- package/build/cjs/blocks/Benefits/schema.js +51 -0
- package/build/cjs/blocks/Scroller/Scroller.css +40 -0
- package/build/cjs/blocks/Scroller/Scroller.d.ts +4 -0
- package/build/cjs/blocks/Scroller/Scroller.js +34 -0
- package/build/cjs/blocks/Scroller/schema.d.ts +33 -0
- package/build/cjs/blocks/Scroller/schema.js +22 -0
- package/build/cjs/blocks/index.d.ts +2 -0
- package/build/cjs/blocks/index.js +5 -1
- package/build/cjs/blocks/validators.d.ts +2 -0
- package/build/cjs/blocks/validators.js +2 -0
- package/build/cjs/components/CardBase/CardBase.css +2 -2
- package/build/cjs/constructor-items.d.ts +2 -0
- package/build/cjs/constructor-items.js +2 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +44 -1
- package/build/cjs/models/constructor-items/blocks.js +2 -0
- package/build/cjs/schema/constants.d.ts +1 -1
- package/build/cjs/schema/constants.js +3 -1
- package/build/cjs/schema/validators/blocks.d.ts +2 -0
- package/build/cjs/schema/validators/blocks.js +2 -0
- package/build/cjs/sub-blocks/ImageCard/ImageCard.css +2 -2
- package/build/cjs/sub-blocks/Quote/Quote.css +1 -1
- package/build/cjs/text-transform/config.js +4 -0
- package/build/esm/blocks/Benefits/Benefits.css +76 -0
- package/build/esm/blocks/Benefits/Benefits.d.ts +4 -0
- package/build/esm/blocks/Benefits/Benefits.js +45 -0
- package/build/esm/blocks/Benefits/BenefitsCard/BenefitsCard.css +31 -0
- package/build/esm/blocks/Benefits/BenefitsCard/BenefitsCard.d.ts +4 -0
- package/build/esm/blocks/Benefits/BenefitsCard/BenefitsCard.js +13 -0
- package/build/esm/blocks/Benefits/BenefitsLabel/BenefitsLabel.css +30 -0
- package/build/esm/blocks/Benefits/BenefitsLabel/BenefitsLabel.d.ts +7 -0
- package/build/esm/blocks/Benefits/BenefitsLabel/BenefitsLabel.js +11 -0
- package/build/esm/blocks/Benefits/schema.d.ts +95 -0
- package/build/esm/blocks/Benefits/schema.js +48 -0
- package/build/esm/blocks/Scroller/Scroller.css +40 -0
- package/build/esm/blocks/Scroller/Scroller.d.ts +5 -0
- package/build/esm/blocks/Scroller/Scroller.js +30 -0
- package/build/esm/blocks/Scroller/schema.d.ts +33 -0
- package/build/esm/blocks/Scroller/schema.js +19 -0
- package/build/esm/blocks/index.d.ts +2 -0
- package/build/esm/blocks/index.js +2 -0
- package/build/esm/blocks/validators.d.ts +2 -0
- package/build/esm/blocks/validators.js +2 -0
- package/build/esm/components/CardBase/CardBase.css +2 -2
- package/build/esm/constructor-items.d.ts +2 -0
- package/build/esm/constructor-items.js +3 -1
- package/build/esm/models/constructor-items/blocks.d.ts +44 -1
- package/build/esm/models/constructor-items/blocks.js +2 -0
- package/build/esm/schema/constants.d.ts +1 -1
- package/build/esm/schema/constants.js +4 -2
- package/build/esm/schema/validators/blocks.d.ts +2 -0
- package/build/esm/schema/validators/blocks.js +2 -0
- package/build/esm/sub-blocks/ImageCard/ImageCard.css +2 -2
- package/build/esm/sub-blocks/Quote/Quote.css +1 -1
- package/build/esm/text-transform/config.js +4 -0
- package/package.json +1 -1
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +44 -1
- package/server/models/constructor-items/blocks.js +2 -0
- package/server/text-transform/config.js +4 -0
- package/styles/mixins.scss +1 -1
- package/widget/index.js +1 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const ScrollerBlock: {
|
|
2
|
+
'scroller-block': {
|
|
3
|
+
additionalProperties: boolean;
|
|
4
|
+
required: boolean;
|
|
5
|
+
properties: {
|
|
6
|
+
title: {
|
|
7
|
+
type: string;
|
|
8
|
+
};
|
|
9
|
+
text: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
widths: {
|
|
13
|
+
type: string;
|
|
14
|
+
items: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
gapLong: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
children: {
|
|
22
|
+
type: string;
|
|
23
|
+
items: {
|
|
24
|
+
$ref: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type: {};
|
|
28
|
+
when: {
|
|
29
|
+
type: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseProps, ChildrenCardsProps } from '../../schema/validators/common';
|
|
2
|
+
export const ScrollerBlock = {
|
|
3
|
+
'scroller-block': {
|
|
4
|
+
additionalProperties: false,
|
|
5
|
+
required: false,
|
|
6
|
+
properties: Object.assign(Object.assign({}, BaseProps), { title: {
|
|
7
|
+
type: 'string',
|
|
8
|
+
}, text: {
|
|
9
|
+
type: 'string',
|
|
10
|
+
}, widths: {
|
|
11
|
+
type: 'array',
|
|
12
|
+
items: {
|
|
13
|
+
type: 'string',
|
|
14
|
+
},
|
|
15
|
+
}, gapLong: {
|
|
16
|
+
type: 'boolean',
|
|
17
|
+
}, children: ChildrenCardsProps }),
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -9,6 +9,8 @@ export { default as SliderNewBlock } from './SliderNew/Slider';
|
|
|
9
9
|
export { default as ExtendedFeaturesBlock } from './ExtendedFeatures/ExtendedFeatures';
|
|
10
10
|
export { default as PromoFeaturesBlock } from './PromoFeaturesBlock/PromoFeaturesBlock';
|
|
11
11
|
export { default as AdvantagesBlock } from './Advantages/Advantages';
|
|
12
|
+
export { default as BenefitsBlock } from './Benefits/Benefits';
|
|
13
|
+
export { default as ScrollerBlock } from './Scroller/Scroller';
|
|
12
14
|
export { default as QuestionsBlock } from './Questions/Questions';
|
|
13
15
|
export { default as TableBlock } from './Table/Table';
|
|
14
16
|
export { default as TabsBlock } from './Tabs/Tabs';
|
|
@@ -9,6 +9,8 @@ export { default as SliderNewBlock } from './SliderNew/Slider';
|
|
|
9
9
|
export { default as ExtendedFeaturesBlock } from './ExtendedFeatures/ExtendedFeatures';
|
|
10
10
|
export { default as PromoFeaturesBlock } from './PromoFeaturesBlock/PromoFeaturesBlock';
|
|
11
11
|
export { default as AdvantagesBlock } from './Advantages/Advantages';
|
|
12
|
+
export { default as BenefitsBlock } from './Benefits/Benefits';
|
|
13
|
+
export { default as ScrollerBlock } from './Scroller/Scroller';
|
|
12
14
|
export { default as QuestionsBlock } from './Questions/Questions';
|
|
13
15
|
export { default as TableBlock } from './Table/Table';
|
|
14
16
|
export { default as TabsBlock } from './Tabs/Tabs';
|
|
@@ -11,6 +11,8 @@ export * from './Info/schema';
|
|
|
11
11
|
export * from './Media/schema';
|
|
12
12
|
export * from './PromoFeaturesBlock/schema';
|
|
13
13
|
export * from './Advantages/schema';
|
|
14
|
+
export * from './Benefits/schema';
|
|
15
|
+
export * from './Scroller/schema';
|
|
14
16
|
export * from './Questions/schema';
|
|
15
17
|
export * from './Slider/schema';
|
|
16
18
|
export * from './Table/schema';
|
|
@@ -11,6 +11,8 @@ export * from './Info/schema';
|
|
|
11
11
|
export * from './Media/schema';
|
|
12
12
|
export * from './PromoFeaturesBlock/schema';
|
|
13
13
|
export * from './Advantages/schema';
|
|
14
|
+
export * from './Benefits/schema';
|
|
15
|
+
export * from './Scroller/schema';
|
|
14
16
|
export * from './Questions/schema';
|
|
15
17
|
export * from './Slider/schema';
|
|
16
18
|
export * from './Table/schema';
|
|
@@ -11,7 +11,7 @@ unpredictable css rules order in build */
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.pc-card-base-block {
|
|
14
|
-
min-height:
|
|
14
|
+
min-height: 240px;
|
|
15
15
|
height: 100%;
|
|
16
16
|
overflow-x: hidden;
|
|
17
17
|
border-radius: var(--pc-border-radius);
|
|
@@ -62,7 +62,7 @@ unpredictable css rules order in build */
|
|
|
62
62
|
a.pc-card-base-block {
|
|
63
63
|
color: inherit;
|
|
64
64
|
text-decoration: none;
|
|
65
|
-
min-height:
|
|
65
|
+
min-height: 240px;
|
|
66
66
|
height: 100%;
|
|
67
67
|
overflow-x: hidden;
|
|
68
68
|
border-radius: var(--pc-border-radius);
|
|
@@ -3,6 +3,8 @@ export declare const blockMap: {
|
|
|
3
3
|
"extended-features-block": ({ title, description, items, colSizes, animated, }: import("./models").ExtendedFeaturesProps) => JSX.Element;
|
|
4
4
|
"promo-features-block": (props: import("./models").PromoFeaturesProps) => JSX.Element;
|
|
5
5
|
"advantages-block": (props: import("./models").AdvantagesBlockProps) => JSX.Element;
|
|
6
|
+
"benefits-block": (props: import("./models").BenefitsBlockProps) => JSX.Element;
|
|
7
|
+
"scroller-block": (props: import("react").PropsWithChildren<Omit<import("./models").ScrollerBlockProps, "children">>) => JSX.Element;
|
|
6
8
|
"questions-block": (props: import("./models").QuestionsProps) => JSX.Element;
|
|
7
9
|
"banner-block": (props: import("./models").BannerBlockProps) => JSX.Element;
|
|
8
10
|
"logo-rotator-block": (props: import("./models").LogoRotatorBlockProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdvantagesBlock, BannerBlock, BannerMinifyBlock, BenchmarkBlock, BlogFeedBlock, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ServicesBlock, ShareBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './blocks';
|
|
1
|
+
import { AdvantagesBlock, BannerBlock, BannerMinifyBlock, BenchmarkBlock, BenefitsBlock, BlogFeedBlock, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ScrollerBlock, ServicesBlock, ShareBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './blocks';
|
|
2
2
|
import { BlockType, NavigationItemType, SubBlockType } from './models';
|
|
3
3
|
import { GithubButton, NavigationButton, NavigationDropdown, NavigationLink, } from './navigation/components/NavigationItem';
|
|
4
4
|
import SocialIcon from './navigation/components/SocialIcon/SocialIcon';
|
|
@@ -8,6 +8,8 @@ export const blockMap = {
|
|
|
8
8
|
[BlockType.ExtendedFeaturesBlock]: ExtendedFeaturesBlock,
|
|
9
9
|
[BlockType.PromoFeaturesBlock]: PromoFeaturesBlock,
|
|
10
10
|
[BlockType.AdvantagesBlock]: AdvantagesBlock,
|
|
11
|
+
[BlockType.BenefitsBlock]: BenefitsBlock,
|
|
12
|
+
[BlockType.ScrollerBlock]: ScrollerBlock,
|
|
11
13
|
[BlockType.QuestionsBlock]: QuestionsBlock,
|
|
12
14
|
[BlockType.BannerBlock]: BannerBlock,
|
|
13
15
|
[BlockType.LogoRotatorBlock]: LogoRotatorBlock,
|
|
@@ -7,6 +7,8 @@ import { AnchorProps, Animatable, BackgroundImageProps, ButtonProps, CardBorder,
|
|
|
7
7
|
import { BannerCardProps, HubspotFormProps, SubBlock, SubBlockModels } from './sub-blocks';
|
|
8
8
|
export declare enum BlockType {
|
|
9
9
|
AdvantagesBlock = "advantages-block",
|
|
10
|
+
BenefitsBlock = "benefits-block",
|
|
11
|
+
ScrollerBlock = "scroller-block",
|
|
10
12
|
PromoFeaturesBlock = "promo-features-block",
|
|
11
13
|
ExtendedFeaturesBlock = "extended-features-block",
|
|
12
14
|
SliderBlock = "slider-block",
|
|
@@ -290,6 +292,41 @@ export interface AdvantagesBlockProps {
|
|
|
290
292
|
url: string;
|
|
291
293
|
}[];
|
|
292
294
|
}
|
|
295
|
+
export interface BenefitsBlockCard {
|
|
296
|
+
icon?: string;
|
|
297
|
+
title?: string;
|
|
298
|
+
text?: string;
|
|
299
|
+
}
|
|
300
|
+
export interface BenefitsBlockItemLabel {
|
|
301
|
+
title?: string;
|
|
302
|
+
text?: string;
|
|
303
|
+
}
|
|
304
|
+
export interface BenefitsBlockItemData {
|
|
305
|
+
images: string[];
|
|
306
|
+
columns: number[];
|
|
307
|
+
rows: number[];
|
|
308
|
+
}
|
|
309
|
+
export interface BenefitsBlockItem extends BenefitsBlockItemLabel, BenefitsBlockItemData {
|
|
310
|
+
}
|
|
311
|
+
export interface BenefitsBlockProps extends Themable {
|
|
312
|
+
titleOne?: string;
|
|
313
|
+
postTitleOne?: string;
|
|
314
|
+
textOne?: string;
|
|
315
|
+
titleTwo?: string;
|
|
316
|
+
postTitleTwo?: string;
|
|
317
|
+
textTwo?: string;
|
|
318
|
+
background?: string;
|
|
319
|
+
cards?: BenefitsBlockCard[];
|
|
320
|
+
items?: BenefitsBlockItem[];
|
|
321
|
+
accentColor?: string;
|
|
322
|
+
time?: number;
|
|
323
|
+
}
|
|
324
|
+
export interface ScrollerBlockProps extends Childable {
|
|
325
|
+
title?: string;
|
|
326
|
+
text?: string;
|
|
327
|
+
widths?: string[];
|
|
328
|
+
gapLong?: boolean;
|
|
329
|
+
}
|
|
293
330
|
export interface CompaniesBlockProps extends Animatable {
|
|
294
331
|
title: string;
|
|
295
332
|
description?: string;
|
|
@@ -708,6 +745,12 @@ export type LogoRotatorBlockModel = {
|
|
|
708
745
|
export type AdvantagesBlockModel = {
|
|
709
746
|
type: BlockType.AdvantagesBlock;
|
|
710
747
|
} & AdvantagesBlockProps;
|
|
748
|
+
export type BenefitsBlockModel = {
|
|
749
|
+
type: BlockType.BenefitsBlock;
|
|
750
|
+
} & BenefitsBlockProps;
|
|
751
|
+
export type ScrollerBlockModel = {
|
|
752
|
+
type: BlockType.ScrollerBlock;
|
|
753
|
+
} & ScrollerBlockProps;
|
|
711
754
|
export type CompaniesBlockModel = {
|
|
712
755
|
type: BlockType.CompaniesBlock;
|
|
713
756
|
} & CompaniesBlockProps;
|
|
@@ -819,6 +862,6 @@ export type FormWallBlockModel = {
|
|
|
819
862
|
export type SliderNewBlockModel = {
|
|
820
863
|
type: BlockType.SliderNewBlock;
|
|
821
864
|
} & SliderNewProps;
|
|
822
|
-
type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
|
|
865
|
+
type BlockModels = SliderBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | BannerBlockModel | LogoRotatorBlockModel | AdvantagesBlockModel | BenefitsBlockModel | ScrollerBlockModel | CompaniesBlockModel | MediaBlockModel | MapBlockModel | InfoBlockModel | TableBlockModel | HighlightTableBlockModel | MiniCaseBlockModel | TabsBlockModel | TabsHighlightTableBlockModel | TabLinksBlockModel | HeaderBlockModel | HeaderMinifyBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | BannerMinifyBlockModel | ShareBLockModel | FilterBlockModel | FilterCardLayoutBlockModel | FormBlockModel | MarqueeLinksBlockModel | SolutionsBlockModel | ServicesBlockModel | QuotesBlockModel | ReportsBlockModel | ReportsCardsBlockModel | ReportsSectionsBlockModel | LinkTableBlockModel | EventsFeedBlockModel | BenchmarkBlockModel | EventsSectionBlockModel | BlogFeedBlockModel | RelevantPostsBlockModel | RelevantReportsCardsBlockModel | RelevantReportsBlockModel | PressReleasesBlockModel | FormWallBlockModel | SliderNewBlockModel;
|
|
823
866
|
export type Block = BlockModels & BlockBaseProps;
|
|
824
867
|
export {};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export var BlockType;
|
|
2
2
|
(function (BlockType) {
|
|
3
3
|
BlockType["AdvantagesBlock"] = "advantages-block";
|
|
4
|
+
BlockType["BenefitsBlock"] = "benefits-block";
|
|
5
|
+
BlockType["ScrollerBlock"] = "scroller-block";
|
|
4
6
|
BlockType["PromoFeaturesBlock"] = "promo-features-block";
|
|
5
7
|
BlockType["ExtendedFeaturesBlock"] = "extended-features-block";
|
|
6
8
|
BlockType["SliderBlock"] = "slider-block";
|
|
@@ -3721,7 +3721,7 @@ export declare const cardSchemas: {
|
|
|
3721
3721
|
additionalProperties: boolean;
|
|
3722
3722
|
properties: {
|
|
3723
3723
|
type: {
|
|
3724
|
-
type: string;
|
|
3724
|
+
type: string;
|
|
3725
3725
|
enum: import("../models").CustomControlsType[];
|
|
3726
3726
|
};
|
|
3727
3727
|
muteButtonShown: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AdvantagesBlock, BannerBlock, BannerCard, BannerMinifyBlock, BenchmarkBlock, BlogFeedBlock, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ServicesBlock, ShareBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './validators/blocks';
|
|
1
|
+
import { AdvantagesBlock, BannerBlock, BannerCard, BannerMinifyBlock, BenchmarkBlock, BenefitsBlock, BlogFeedBlock, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, EventsFeedBlock, EventsSectionBlock, ExtendedFeaturesBlock, FilterBlock, FilterCardLayoutBlock, FormBlock, FormWallBlock, HeaderBlock, HeaderMinifyBlock, HeaderSliderBlock, HighlightTableBlock, IconsBlock, InfoBlock, LinkTableBlock, LogoRotatorBlock, MapBlock, MarqueeLinksBlock, MediaBlock, MiniCaseBlock, PressReleasesBlock, PromoFeaturesBlock, QuestionsBlock, QuotesBlock, RelevantPostsBlock, RelevantReportsBlock, RelevantReportsCardsBlock, ReportsBlock, ReportsCardsBlock, ReportsSectionsBlock, ScrollerBlock, ServicesBlock, ShareBlock, SliderBlock, SliderNewBlock, SolutionsBlock, TabLinksBlock, TableBlock, TabsBlock, TabsHighlightTableBlock, } from './validators/blocks';
|
|
2
2
|
import { AttachmentCard, BackgroundCard, BasicCard, Card, CaseStudyCard, ContentLayoutCard, Divider, EventPersonCard, FeedCard, ImageCard, MediaCardBlock, PostCard, PriceCardBlock, PriceDetailedBlock, Quote, StoryCard, } from './validators/sub-blocks';
|
|
3
|
-
export const 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(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Divider), ExtendedFeaturesBlock), PromoFeaturesBlock), AdvantagesBlock), SliderBlock), QuestionsBlock), HeaderBlock), HeaderMinifyBlock), BannerBlock), LogoRotatorBlock), CompaniesBlock), MediaBlock), MapBlock), InfoBlock), TableBlock), HighlightTableBlock), MiniCaseBlock), TabsBlock), TabsHighlightTableBlock), TabLinksBlock), HeaderSliderBlock), IconsBlock), CardLayoutBlock), ContentLayoutBlock), BannerMinifyBlock), ShareBlock), FilterBlock), FilterCardLayoutBlock), FormBlock), SliderNewBlock), MarqueeLinksBlock), SolutionsBlock), ServicesBlock), QuotesBlock), ReportsBlock), ReportsCardsBlock), ReportsSectionsBlock), LinkTableBlock), EventsFeedBlock), BenchmarkBlock), EventsSectionBlock), BlogFeedBlock), RelevantPostsBlock), RelevantReportsCardsBlock), RelevantReportsBlock), PressReleasesBlock), FormWallBlock);
|
|
3
|
+
export const 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(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, Divider), ExtendedFeaturesBlock), PromoFeaturesBlock), AdvantagesBlock), BenefitsBlock), ScrollerBlock), SliderBlock), QuestionsBlock), HeaderBlock), HeaderMinifyBlock), BannerBlock), LogoRotatorBlock), CompaniesBlock), MediaBlock), MapBlock), InfoBlock), TableBlock), HighlightTableBlock), MiniCaseBlock), TabsBlock), TabsHighlightTableBlock), TabLinksBlock), HeaderSliderBlock), IconsBlock), CardLayoutBlock), ContentLayoutBlock), BannerMinifyBlock), ShareBlock), FilterBlock), FilterCardLayoutBlock), FormBlock), SliderNewBlock), MarqueeLinksBlock), SolutionsBlock), ServicesBlock), QuotesBlock), ReportsBlock), ReportsCardsBlock), ReportsSectionsBlock), LinkTableBlock), EventsFeedBlock), BenchmarkBlock), EventsSectionBlock), BlogFeedBlock), RelevantPostsBlock), RelevantReportsCardsBlock), RelevantReportsBlock), PressReleasesBlock), FormWallBlock);
|
|
4
4
|
export const 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(Object.assign({}, MediaCardBlock), BannerCard), PriceDetailedBlock), BackgroundCard), Quote), BasicCard), PriceCardBlock), ImageCard), ContentLayoutCard), Card), PostCard), FeedCard), EventPersonCard), AttachmentCard), CaseStudyCard), StoryCard);
|
|
5
5
|
export const constructorBlockSchemaNames = [
|
|
6
6
|
'divider',
|
|
@@ -52,6 +52,8 @@ export const constructorBlockSchemaNames = [
|
|
|
52
52
|
'press-releases-block',
|
|
53
53
|
'mini-case-block',
|
|
54
54
|
'advantages-block',
|
|
55
|
+
'benefits-block',
|
|
56
|
+
'scroller-block',
|
|
55
57
|
'benchmark-block',
|
|
56
58
|
'banner-minify-block',
|
|
57
59
|
];
|
|
@@ -3,6 +3,8 @@ export * from '../../blocks/Companies/schema';
|
|
|
3
3
|
export * from '../../blocks/ExtendedFeatures/schema';
|
|
4
4
|
export * from '../../blocks/PromoFeaturesBlock/schema';
|
|
5
5
|
export * from '../../blocks/Advantages/schema';
|
|
6
|
+
export * from '../../blocks/Benefits/schema';
|
|
7
|
+
export * from '../../blocks/Scroller/schema';
|
|
6
8
|
export * from '../../blocks/Header/schema';
|
|
7
9
|
export * from '../../blocks/Info/schema';
|
|
8
10
|
export * from '../../blocks/Media/schema';
|
|
@@ -3,6 +3,8 @@ export * from '../../blocks/Companies/schema';
|
|
|
3
3
|
export * from '../../blocks/ExtendedFeatures/schema';
|
|
4
4
|
export * from '../../blocks/PromoFeaturesBlock/schema';
|
|
5
5
|
export * from '../../blocks/Advantages/schema';
|
|
6
|
+
export * from '../../blocks/Benefits/schema';
|
|
7
|
+
export * from '../../blocks/Scroller/schema';
|
|
6
8
|
export * from '../../blocks/Header/schema';
|
|
7
9
|
export * from '../../blocks/Info/schema';
|
|
8
10
|
export * from '../../blocks/Media/schema';
|
|
@@ -5,7 +5,7 @@ a.pc-image-card_border_shadow, .pc-image-card_border_shadow {
|
|
|
5
5
|
/* use this for style redefinitions to awoid problems with
|
|
6
6
|
unpredictable css rules order in build */
|
|
7
7
|
.pc-image-card {
|
|
8
|
-
min-height:
|
|
8
|
+
min-height: 240px;
|
|
9
9
|
height: 100%;
|
|
10
10
|
overflow-x: hidden;
|
|
11
11
|
border-radius: var(--pc-border-radius);
|
|
@@ -84,7 +84,7 @@ unpredictable css rules order in build */
|
|
|
84
84
|
a.pc-image-card {
|
|
85
85
|
color: inherit;
|
|
86
86
|
text-decoration: none;
|
|
87
|
-
min-height:
|
|
87
|
+
min-height: 240px;
|
|
88
88
|
height: 100%;
|
|
89
89
|
overflow-x: hidden;
|
|
90
90
|
border-radius: var(--pc-border-radius);
|