@doyourjob/gravity-ui-page-constructor 5.31.151 → 5.31.153
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/BannerMinify/BannerMinify.css +16 -1
- package/build/cjs/blocks/BannerMinify/BannerMinify.js +9 -7
- package/build/cjs/blocks/BannerMinify/schema.d.ts +3 -0
- package/build/cjs/blocks/BannerMinify/schema.js +1 -1
- package/build/cjs/blocks/Benchmark/Benchmark.css +14 -1
- package/build/cjs/blocks/Benchmark/Benchmark.js +11 -10
- package/build/cjs/blocks/Benefits/Benefits.css +17 -2
- package/build/cjs/blocks/Benefits/Benefits.js +21 -20
- package/build/cjs/blocks/Benefits/schema.d.ts +3 -0
- package/build/cjs/blocks/Benefits/schema.js +1 -1
- package/build/cjs/blocks/ContentLayout/ContentLayout.css +25 -12
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +9 -8
- package/build/cjs/blocks/ContentLayout/schema.d.ts +6 -1
- package/build/cjs/blocks/ContentLayout/schema.js +1 -1
- package/build/cjs/blocks/Form/Form.css +3 -0
- package/build/cjs/blocks/Form/Form.js +4 -1
- package/build/cjs/blocks/HighlightTable/HighlightTable.css +13 -0
- package/build/cjs/blocks/HighlightTable/HighlightTable.d.ts +1 -1
- package/build/cjs/blocks/HighlightTable/HighlightTable.js +19 -18
- package/build/cjs/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/cjs/blocks/HighlightTable/schema.js +1 -1
- package/build/cjs/blocks/Icons/Icons.css +17 -4
- package/build/cjs/blocks/Icons/Icons.d.ts +1 -1
- package/build/cjs/blocks/Icons/Icons.js +10 -9
- package/build/cjs/blocks/Info/Info.css +13 -0
- package/build/cjs/blocks/Info/Info.js +3 -2
- package/build/cjs/blocks/Info/schema.d.ts +3 -0
- package/build/cjs/blocks/Info/schema.js +1 -1
- package/build/cjs/blocks/LinkTable/LinkTable.css +13 -0
- package/build/cjs/blocks/LinkTable/LinkTable.d.ts +1 -1
- package/build/cjs/blocks/LinkTable/LinkTable.js +4 -3
- package/build/cjs/blocks/LinkTable/schema.d.ts +3 -0
- package/build/cjs/blocks/LinkTable/schema.js +1 -1
- package/build/cjs/blocks/LogoRotator/LogoRotator.css +2 -2
- package/build/cjs/blocks/LogoRotator/LogoRotator.js +5 -4
- package/build/cjs/blocks/MarqueeLinks/MarqueeLinks.css +13 -0
- package/build/cjs/blocks/MarqueeLinks/MarqueeLinks.d.ts +1 -1
- package/build/cjs/blocks/MarqueeLinks/MarqueeLinks.js +9 -8
- package/build/cjs/blocks/MarqueeLinks/schema.d.ts +3 -0
- package/build/cjs/blocks/MarqueeLinks/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -312
- package/build/cjs/blocks/Questions/Questions.css +13 -0
- package/build/cjs/blocks/Questions/Questions.js +13 -11
- package/build/cjs/blocks/Questions/schema.d.ts +3 -0
- package/build/cjs/blocks/Questions/schema.js +1 -1
- package/build/cjs/blocks/Scroller/Scroller.css +13 -0
- package/build/cjs/blocks/Scroller/Scroller.js +8 -6
- package/build/cjs/blocks/Scroller/schema.d.ts +3 -0
- package/build/cjs/blocks/Scroller/schema.js +1 -1
- package/build/cjs/blocks/Solutions/Solutions.css +14 -1
- package/build/cjs/blocks/Solutions/Solutions.d.ts +2 -1
- package/build/cjs/blocks/Solutions/Solutions.js +10 -9
- package/build/cjs/blocks/Solutions/schema.d.ts +3 -0
- package/build/cjs/blocks/Solutions/schema.js +1 -1
- package/build/cjs/blocks/Table/Table.css +13 -0
- package/build/cjs/blocks/Table/Table.js +14 -13
- package/build/cjs/blocks/Table/schema.d.ts +3 -0
- package/build/cjs/blocks/Table/schema.js +1 -1
- package/build/cjs/components/MediaBase/MediaBase.css +13 -13
- package/build/cjs/components/MediaBase/MediaBase.js +10 -9
- package/build/cjs/constructor-items.d.ts +5 -5
- package/build/cjs/models/constructor-items/blocks.d.ts +14 -12
- package/build/cjs/schema/constants.d.ts +3 -0
- package/build/cjs/sub-blocks/ContentLayoutCard/schema.d.ts +3 -0
- package/build/esm/blocks/BannerMinify/BannerMinify.css +16 -1
- package/build/esm/blocks/BannerMinify/BannerMinify.js +9 -7
- package/build/esm/blocks/BannerMinify/schema.d.ts +3 -0
- package/build/esm/blocks/BannerMinify/schema.js +2 -2
- package/build/esm/blocks/Benchmark/Benchmark.css +14 -1
- package/build/esm/blocks/Benchmark/Benchmark.js +11 -10
- package/build/esm/blocks/Benefits/Benefits.css +17 -2
- package/build/esm/blocks/Benefits/Benefits.js +22 -21
- package/build/esm/blocks/Benefits/schema.d.ts +3 -0
- package/build/esm/blocks/Benefits/schema.js +2 -2
- package/build/esm/blocks/ContentLayout/ContentLayout.css +25 -12
- package/build/esm/blocks/ContentLayout/ContentLayout.js +10 -9
- package/build/esm/blocks/ContentLayout/schema.d.ts +6 -1
- package/build/esm/blocks/ContentLayout/schema.js +2 -2
- package/build/esm/blocks/Form/Form.css +3 -0
- package/build/esm/blocks/Form/Form.js +4 -1
- package/build/esm/blocks/HighlightTable/HighlightTable.css +13 -0
- package/build/esm/blocks/HighlightTable/HighlightTable.d.ts +1 -1
- package/build/esm/blocks/HighlightTable/HighlightTable.js +20 -19
- package/build/esm/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/esm/blocks/HighlightTable/schema.js +2 -2
- package/build/esm/blocks/Icons/Icons.css +17 -4
- package/build/esm/blocks/Icons/Icons.d.ts +1 -1
- package/build/esm/blocks/Icons/Icons.js +11 -10
- package/build/esm/blocks/Info/Info.css +13 -0
- package/build/esm/blocks/Info/Info.js +3 -2
- package/build/esm/blocks/Info/schema.d.ts +3 -0
- package/build/esm/blocks/Info/schema.js +2 -2
- package/build/esm/blocks/LinkTable/LinkTable.css +13 -0
- package/build/esm/blocks/LinkTable/LinkTable.d.ts +1 -1
- package/build/esm/blocks/LinkTable/LinkTable.js +5 -4
- package/build/esm/blocks/LinkTable/schema.d.ts +3 -0
- package/build/esm/blocks/LinkTable/schema.js +2 -2
- package/build/esm/blocks/LogoRotator/LogoRotator.css +2 -2
- package/build/esm/blocks/LogoRotator/LogoRotator.js +5 -4
- package/build/esm/blocks/MarqueeLinks/MarqueeLinks.css +13 -0
- package/build/esm/blocks/MarqueeLinks/MarqueeLinks.d.ts +1 -1
- package/build/esm/blocks/MarqueeLinks/MarqueeLinks.js +10 -9
- package/build/esm/blocks/MarqueeLinks/schema.d.ts +3 -0
- package/build/esm/blocks/MarqueeLinks/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -312
- package/build/esm/blocks/Questions/Questions.css +13 -0
- package/build/esm/blocks/Questions/Questions.js +13 -11
- package/build/esm/blocks/Questions/schema.d.ts +3 -0
- package/build/esm/blocks/Questions/schema.js +2 -2
- package/build/esm/blocks/Scroller/Scroller.css +13 -0
- package/build/esm/blocks/Scroller/Scroller.js +8 -6
- package/build/esm/blocks/Scroller/schema.d.ts +3 -0
- package/build/esm/blocks/Scroller/schema.js +2 -2
- package/build/esm/blocks/Solutions/Solutions.css +14 -1
- package/build/esm/blocks/Solutions/Solutions.d.ts +2 -1
- package/build/esm/blocks/Solutions/Solutions.js +11 -10
- package/build/esm/blocks/Solutions/schema.d.ts +3 -0
- package/build/esm/blocks/Solutions/schema.js +2 -2
- package/build/esm/blocks/Table/Table.css +13 -0
- package/build/esm/blocks/Table/Table.js +15 -14
- package/build/esm/blocks/Table/schema.d.ts +3 -0
- package/build/esm/blocks/Table/schema.js +2 -2
- package/build/esm/components/MediaBase/MediaBase.css +13 -13
- package/build/esm/components/MediaBase/MediaBase.js +10 -9
- package/build/esm/constructor-items.d.ts +5 -5
- package/build/esm/models/constructor-items/blocks.d.ts +14 -12
- package/build/esm/schema/constants.d.ts +3 -0
- package/build/esm/sub-blocks/ContentLayoutCard/schema.d.ts +3 -0
- package/package.json +1 -1
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +14 -12
- package/widget/index.js +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
3
|
.pc-banner-minify-block {
|
|
4
|
-
align-items: end;
|
|
5
4
|
--dc-accent-color: #001a2b;
|
|
6
5
|
--dc-bg-color: #ffffff;
|
|
7
6
|
}
|
|
@@ -9,6 +8,22 @@ unpredictable css rules order in build */
|
|
|
9
8
|
--dc-accent-color: #ffffff;
|
|
10
9
|
--dc-bg-color: #001a2b;
|
|
11
10
|
}
|
|
11
|
+
@media (min-width: 769px) {
|
|
12
|
+
.pc-banner-minify-block.pc-AnimateBlock .pc-banner-minify-block__row, .pc-AnimateBlock .pc-banner-minify-block .pc-banner-minify-block__row {
|
|
13
|
+
position: relative;
|
|
14
|
+
top: 100px;
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
.pc-banner-minify-block.pc-AnimateBlock.animate .pc-banner-minify-block__row, .pc-AnimateBlock .pc-banner-minify-block.animate .pc-banner-minify-block__row {
|
|
18
|
+
top: 0;
|
|
19
|
+
opacity: 1;
|
|
20
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
21
|
+
transition-delay: 0s;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.pc-banner-minify-block__row {
|
|
25
|
+
align-items: end;
|
|
26
|
+
}
|
|
12
27
|
.pc-banner-minify-block__title {
|
|
13
28
|
font-size: 48px;
|
|
14
29
|
line-height: 52px;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BannerMinifyBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const components_1 = require("../../components");
|
|
6
7
|
const grid_1 = require("../../grid");
|
|
7
8
|
const utils_1 = require("../../utils");
|
|
8
9
|
const Button_1 = tslib_1.__importDefault(require("./Button/Button"));
|
|
@@ -10,13 +11,14 @@ const b = (0, utils_1.block)('banner-minify-block');
|
|
|
10
11
|
const leftColSizes = { lg: 5, all: 12 };
|
|
11
12
|
const rightColSizes = { lg: 7, all: 12 };
|
|
12
13
|
const BannerMinifyBlock = (props) => {
|
|
13
|
-
const { title, text, buttons, theme } = props;
|
|
14
|
-
return (react_1.default.createElement(
|
|
15
|
-
react_1.default.createElement(grid_1.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
react_1.default.createElement(
|
|
14
|
+
const { animated, title, text, buttons, theme } = props;
|
|
15
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { animate: animated, className: b({ theme }) },
|
|
16
|
+
react_1.default.createElement(grid_1.Row, { className: b('row') },
|
|
17
|
+
react_1.default.createElement(grid_1.Col, { sizes: leftColSizes },
|
|
18
|
+
title && react_1.default.createElement("div", { className: b('title') }, title),
|
|
19
|
+
text && react_1.default.createElement("div", { className: b('text') }, text)),
|
|
20
|
+
react_1.default.createElement(grid_1.Col, { sizes: rightColSizes },
|
|
21
|
+
react_1.default.createElement("div", { className: b('buttons') }, buttons === null || buttons === void 0 ? void 0 : buttons.map((button, index) => (react_1.default.createElement(Button_1.default, Object.assign({ key: index }, button)))))))));
|
|
20
22
|
};
|
|
21
23
|
exports.BannerMinifyBlock = BannerMinifyBlock;
|
|
22
24
|
exports.default = exports.BannerMinifyBlock;
|
|
@@ -5,7 +5,7 @@ const common_1 = require("../../schema/validators/common");
|
|
|
5
5
|
exports.BannerMinifyBlock = {
|
|
6
6
|
'banner-minify-block': {
|
|
7
7
|
additionalProperties: false,
|
|
8
|
-
properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), { theme: {
|
|
8
|
+
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { theme: {
|
|
9
9
|
type: 'string',
|
|
10
10
|
enum: ['light', 'dark'],
|
|
11
11
|
}, title: {
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
|
|
3
|
+
@media (min-width: 769px) {
|
|
4
|
+
.pc-benchmark-block.pc-AnimateBlock .pc-benchmark-block__root, .pc-AnimateBlock .pc-benchmark-block .pc-benchmark-block__root {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 100px;
|
|
7
|
+
opacity: 0;
|
|
8
|
+
}
|
|
9
|
+
.pc-benchmark-block.pc-AnimateBlock.animate .pc-benchmark-block__root, .pc-AnimateBlock .pc-benchmark-block.animate .pc-benchmark-block__root {
|
|
10
|
+
top: 0;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
13
|
+
transition-delay: 0s;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.pc-benchmark-block__root {
|
|
4
17
|
display: flex;
|
|
5
18
|
flex-direction: column;
|
|
6
19
|
align-items: center;
|
|
@@ -12,15 +12,16 @@ const Benchmark = ({ title, data, duration, animated }) => {
|
|
|
12
12
|
const [playNumbers, setPlayNumbers] = (0, react_1.useState)(false);
|
|
13
13
|
const handleOnAnimateStart = (0, react_1.useCallback)(() => setPlayNumbers(true), []);
|
|
14
14
|
return (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated, onAnimateStart: handleOnAnimateStart },
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
react_1.default.createElement(grid_1.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
react_1.default.createElement(
|
|
23
|
-
|
|
24
|
-
|
|
15
|
+
react_1.default.createElement("div", { className: b('root') },
|
|
16
|
+
title && react_1.default.createElement("div", { className: b('title') }, title),
|
|
17
|
+
react_1.default.createElement(grid_1.Grid, { className: b('content') },
|
|
18
|
+
react_1.default.createElement(grid_1.Row, null, data.map((column, columnIndex) => (react_1.default.createElement(grid_1.Col, { key: columnIndex, sizes: column.sizes || defaultSizes, className: b('wrap') },
|
|
19
|
+
column.title && (react_1.default.createElement(uikit_1.Text, { variant: "header-2", className: b('wrap-title') }, column.title)),
|
|
20
|
+
react_1.default.createElement("div", { className: b('wrap-inner') }, column.items.map((item, index) => (react_1.default.createElement("div", { key: index, className: b('item') },
|
|
21
|
+
item.top && (react_1.default.createElement(uikit_1.Text, { variant: "body-1", className: b('label') }, item.top)),
|
|
22
|
+
react_1.default.createElement("div", { className: b('value') },
|
|
23
|
+
react_1.default.createElement(components_1.Odometer, { value: item.value, initValue: item.init, duration: duration, animated: playNumbers }),
|
|
24
|
+
item.postfix),
|
|
25
|
+
item.bottom && (react_1.default.createElement(uikit_1.Text, { variant: "body-1", className: b('label') }, item.bottom))))))))))))));
|
|
25
26
|
};
|
|
26
27
|
exports.default = Benchmark;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
3
|
.pc-benefits-block {
|
|
4
|
-
position: relative;
|
|
5
|
-
z-index: 0;
|
|
6
4
|
--local-base-color: #001a2b;
|
|
7
5
|
--local-bg-color: #ffffff;
|
|
8
6
|
}
|
|
@@ -10,6 +8,23 @@ unpredictable css rules order in build */
|
|
|
10
8
|
--local-base-color: #ffffff;
|
|
11
9
|
--local-bg-color: #001a2b;
|
|
12
10
|
}
|
|
11
|
+
@media (min-width: 769px) {
|
|
12
|
+
.pc-benefits-block.pc-AnimateBlock .pc-benefits-block__root, .pc-AnimateBlock .pc-benefits-block .pc-benefits-block__root {
|
|
13
|
+
position: relative;
|
|
14
|
+
top: 100px;
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
.pc-benefits-block.pc-AnimateBlock.animate .pc-benefits-block__root, .pc-AnimateBlock .pc-benefits-block.animate .pc-benefits-block__root {
|
|
18
|
+
top: 0;
|
|
19
|
+
opacity: 1;
|
|
20
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
21
|
+
transition-delay: 0s;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.pc-benefits-block__root {
|
|
25
|
+
position: relative;
|
|
26
|
+
z-index: 0;
|
|
27
|
+
}
|
|
13
28
|
.pc-benefits-block__background {
|
|
14
29
|
position: absolute;
|
|
15
30
|
top: 0;
|
|
@@ -9,7 +9,7 @@ const BenefitsCard_1 = tslib_1.__importDefault(require("./BenefitsCard/BenefitsC
|
|
|
9
9
|
const BenefitsLabel_1 = tslib_1.__importDefault(require("./BenefitsLabel/BenefitsLabel"));
|
|
10
10
|
const b = (0, utils_1.block)('benefits-block');
|
|
11
11
|
const BenefitsBlock = (props) => {
|
|
12
|
-
const { titleOne, postTitleOne, textOne, titleTwo, postTitleTwo, textTwo, background, cards, items, theme, accentColor, } = props;
|
|
12
|
+
const { animated, titleOne, postTitleOne, textOne, titleTwo, postTitleTwo, textTwo, background, cards, items, theme, accentColor, } = props;
|
|
13
13
|
const [activeIndex, setActiveIndex] = (0, react_1.useState)(0);
|
|
14
14
|
const data = items === null || items === void 0 ? void 0 : items[activeIndex];
|
|
15
15
|
const handleClick = (0, react_1.useCallback)((index) => setActiveIndex(index), []);
|
|
@@ -18,25 +18,26 @@ const BenefitsBlock = (props) => {
|
|
|
18
18
|
['--local-accent-color']: accentColor,
|
|
19
19
|
}
|
|
20
20
|
: {}, [accentColor]);
|
|
21
|
-
return (react_1.default.createElement(
|
|
22
|
-
react_1.default.createElement("div", { className: b('
|
|
23
|
-
|
|
24
|
-
(titleOne || postTitleOne) && (react_1.default.createElement("div", { className: b('
|
|
25
|
-
titleOne,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
(titleTwo || postTitleTwo) && (react_1.default.createElement("div", { className: b('
|
|
31
|
-
titleTwo,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
21
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { className: b({ theme }), animate: animated },
|
|
22
|
+
react_1.default.createElement("div", { className: b('root'), style: styles },
|
|
23
|
+
react_1.default.createElement("div", { className: b('background'), style: { background } }),
|
|
24
|
+
(titleOne || postTitleOne || textOne) && (react_1.default.createElement("div", { className: b('header') },
|
|
25
|
+
(titleOne || postTitleOne) && (react_1.default.createElement("div", { className: b('title') },
|
|
26
|
+
titleOne,
|
|
27
|
+
react_1.default.createElement("span", null, postTitleOne))),
|
|
28
|
+
textOne && react_1.default.createElement(components_1.HTML, { className: b('text') }, textOne))),
|
|
29
|
+
Boolean(cards === null || cards === void 0 ? void 0 : cards.length) && (react_1.default.createElement("div", { className: b('cards') }, cards === null || cards === void 0 ? void 0 : cards.map((card, index) => (react_1.default.createElement(BenefitsCard_1.default, Object.assign({ key: index }, card)))))),
|
|
30
|
+
(titleTwo || postTitleTwo || textTwo) && (react_1.default.createElement("div", { className: b('header') },
|
|
31
|
+
(titleTwo || postTitleTwo) && (react_1.default.createElement("div", { className: b('title') },
|
|
32
|
+
titleTwo,
|
|
33
|
+
react_1.default.createElement("span", null, postTitleTwo))),
|
|
34
|
+
textTwo && react_1.default.createElement(components_1.HTML, { className: b('text') }, textTwo))),
|
|
35
|
+
Boolean(items === null || items === void 0 ? void 0 : items.length) && (react_1.default.createElement("div", { className: b('labels') }, items === null || items === void 0 ? void 0 : items.map((item, index) => (react_1.default.createElement(BenefitsLabel_1.default, Object.assign({ key: index }, item, { active: index === activeIndex, index: index, onClick: handleClick })))))),
|
|
36
|
+
data && (react_1.default.createElement("div", { className: b('images') }, data.images.map((image, index) => (react_1.default.createElement("div", { key: index, style: {
|
|
37
|
+
gridColumn: `span ${data.columns[index]}`,
|
|
38
|
+
gridRow: `span ${data.rows[index]}`,
|
|
39
|
+
} },
|
|
40
|
+
react_1.default.createElement(components_1.ImageBase, { className: b('image'), src: image })))))))));
|
|
40
41
|
};
|
|
41
42
|
exports.BenefitsBlock = BenefitsBlock;
|
|
42
43
|
exports.default = exports.BenefitsBlock;
|
|
@@ -6,7 +6,7 @@ exports.BenefitsBlock = {
|
|
|
6
6
|
'benefits-block': {
|
|
7
7
|
additionalProperties: false,
|
|
8
8
|
required: false,
|
|
9
|
-
properties: Object.assign(Object.assign({}, common_1.BaseProps), { titleOne: { type: 'string' }, postTitleOne: { type: 'string' }, textOne: { type: 'string' }, titleTwo: { type: 'string' }, postTitleTwo: { type: 'string' }, textTwo: { type: 'string' }, background: { type: 'string' }, cards: {
|
|
9
|
+
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { titleOne: { type: 'string' }, postTitleOne: { type: 'string' }, textOne: { type: 'string' }, titleTwo: { type: 'string' }, postTitleTwo: { type: 'string' }, textTwo: { type: 'string' }, background: { type: 'string' }, cards: {
|
|
10
10
|
type: 'array',
|
|
11
11
|
items: {
|
|
12
12
|
additionalProperties: false,
|
|
@@ -4,9 +4,33 @@
|
|
|
4
4
|
|
|
5
5
|
/* use this for style redefinitions to awoid problems with
|
|
6
6
|
unpredictable css rules order in build */
|
|
7
|
-
.pc-content-layout-
|
|
7
|
+
.pc-content-layout-block_theme_dark {
|
|
8
|
+
--g-color-line-focus: var(--pc-color-line-focus-dark);
|
|
9
|
+
}
|
|
10
|
+
@media (min-width: 769px) {
|
|
11
|
+
.pc-content-layout-block.pc-AnimateBlock .pc-content-layout-block__root, .pc-AnimateBlock .pc-content-layout-block .pc-content-layout-block__root {
|
|
12
|
+
position: relative;
|
|
13
|
+
top: 100px;
|
|
14
|
+
opacity: 0;
|
|
15
|
+
}
|
|
16
|
+
.pc-content-layout-block.pc-AnimateBlock.animate .pc-content-layout-block__root, .pc-AnimateBlock .pc-content-layout-block.animate .pc-content-layout-block__root {
|
|
17
|
+
top: 0;
|
|
18
|
+
opacity: 1;
|
|
19
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
20
|
+
transition-delay: 0s;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.pc-content-layout-block__root {
|
|
8
24
|
position: relative;
|
|
9
25
|
}
|
|
26
|
+
.pc-content-layout-block__root_background {
|
|
27
|
+
padding: 64px;
|
|
28
|
+
}
|
|
29
|
+
@media (max-width: 577px) {
|
|
30
|
+
.pc-content-layout-block__root_background {
|
|
31
|
+
padding: 32px;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
10
34
|
.pc-content-layout-block__content, .pc-content-layout-block__files {
|
|
11
35
|
z-index: 10;
|
|
12
36
|
position: relative;
|
|
@@ -46,15 +70,4 @@ unpredictable css rules order in build */
|
|
|
46
70
|
}
|
|
47
71
|
.pc-content-layout-block__background-item {
|
|
48
72
|
height: 100%;
|
|
49
|
-
}
|
|
50
|
-
.pc-content-layout-block_background {
|
|
51
|
-
padding: 64px;
|
|
52
|
-
}
|
|
53
|
-
.pc-content-layout-block_theme_dark {
|
|
54
|
-
--g-color-line-focus: var(--pc-color-line-focus-dark);
|
|
55
|
-
}
|
|
56
|
-
@media (max-width: 577px) {
|
|
57
|
-
.pc-content-layout-block_background {
|
|
58
|
-
padding: 32px;
|
|
59
|
-
}
|
|
60
73
|
}
|
|
@@ -33,17 +33,18 @@ function getTextWidth(size) {
|
|
|
33
33
|
}
|
|
34
34
|
const ContentLayoutBlock = (props) => {
|
|
35
35
|
const isMobile = (0, react_1.useContext)(mobileContext_1.MobileContext);
|
|
36
|
-
const { textContent, fileContent, size = 'l', background, unicorn, centered, theme = 'default', textWidth = 'm', } = props;
|
|
36
|
+
const { animated, textContent, fileContent, size = 'l', background, unicorn, centered, theme = 'default', textWidth = 'm', } = props;
|
|
37
37
|
const colSizes = (0, react_1.useMemo)(() => getTextWidth(textWidth), [textWidth]);
|
|
38
38
|
const globalTheme = (0, theme_1.useTheme)();
|
|
39
39
|
const themedBackground = (0, utils_1.getThemedValue)(background, globalTheme);
|
|
40
|
-
return (react_1.default.createElement(
|
|
41
|
-
react_1.default.createElement(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
react_1.default.createElement(
|
|
45
|
-
|
|
46
|
-
react_1.default.createElement(
|
|
40
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { className: b({ size, theme }), animate: animated },
|
|
41
|
+
react_1.default.createElement("div", { className: b('root', { background: Boolean(background) || Boolean(unicorn) }) },
|
|
42
|
+
react_1.default.createElement(sub_blocks_1.Content, Object.assign({ className: b('content') }, textContent, { size: size, centered: centered, colSizes: colSizes, theme: theme })),
|
|
43
|
+
fileContent && (react_1.default.createElement(grid_1.Col, { className: b('files', { size, centered }), reset: true, sizes: colSizes }, fileContent.map((file) => (react_1.default.createElement(components_1.FileLink, Object.assign({ className: b('file') }, file, { key: file.href, type: "horizontal", textSize: getFileTextSize(size), theme: theme })))))),
|
|
44
|
+
background && (react_1.default.createElement("div", { className: b('background') },
|
|
45
|
+
react_1.default.createElement(components_1.BackgroundImage, Object.assign({ className: b('background-item') }, themedBackground, { hide: isMobile })))),
|
|
46
|
+
unicorn && (react_1.default.createElement("div", { className: b('background') },
|
|
47
|
+
react_1.default.createElement(unicornstudio_react_1.default, { className: b('background-item'), jsonFilePath: unicorn, width: "100%" }))))));
|
|
47
48
|
};
|
|
48
49
|
exports.ContentLayoutBlock = ContentLayoutBlock;
|
|
49
50
|
exports.default = exports.ContentLayoutBlock;
|
|
@@ -262,7 +262,9 @@ export declare const ContentLayoutBlock: {
|
|
|
262
262
|
};
|
|
263
263
|
text: {
|
|
264
264
|
type: string;
|
|
265
|
-
contentType: string;
|
|
265
|
+
contentType: string; /**
|
|
266
|
+
* @deprecated Use params on top level instead
|
|
267
|
+
*/
|
|
266
268
|
inputType: string;
|
|
267
269
|
};
|
|
268
270
|
additionalInfo: {
|
|
@@ -445,6 +447,9 @@ export declare const ContentLayoutBlock: {
|
|
|
445
447
|
enum: string[];
|
|
446
448
|
};
|
|
447
449
|
};
|
|
450
|
+
animated: {
|
|
451
|
+
type: string;
|
|
452
|
+
};
|
|
448
453
|
anchor: {
|
|
449
454
|
type: string;
|
|
450
455
|
additionalProperties: boolean;
|
|
@@ -29,7 +29,7 @@ const ContentLayoutBlockProperties = {
|
|
|
29
29
|
exports.ContentLayoutBlock = {
|
|
30
30
|
'content-layout-block': {
|
|
31
31
|
additionalProperties: false,
|
|
32
|
-
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), { textContent: schema_2.ContentBlock === null || schema_2.ContentBlock === void 0 ? void 0 : schema_2.ContentBlock.content, fileContent: (0, utils_1.filteredArray)(common_1.FileLinkProps),
|
|
32
|
+
properties: Object.assign(Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), { textContent: schema_2.ContentBlock === null || schema_2.ContentBlock === void 0 ? void 0 : schema_2.ContentBlock.content, fileContent: (0, utils_1.filteredArray)(common_1.FileLinkProps),
|
|
33
33
|
/**
|
|
34
34
|
* @deprecated Use params on top level instead
|
|
35
35
|
*/
|
|
@@ -14,6 +14,9 @@ unpredictable css rules order in build */
|
|
|
14
14
|
.pc-form-block__title_mobile {
|
|
15
15
|
margin-left: 4px;
|
|
16
16
|
}
|
|
17
|
+
.pc-form-block__title_centered {
|
|
18
|
+
text-align: center;
|
|
19
|
+
}
|
|
17
20
|
.pc-form-block__full-form {
|
|
18
21
|
background-color: var(--g-color-base-background);
|
|
19
22
|
padding: 48px 64px 48px calc(64px - 10px);
|
|
@@ -82,7 +82,10 @@ const FormBlock = (props) => {
|
|
|
82
82
|
innerTitle && (react_1.default.createElement(components_1.Title, { title: {
|
|
83
83
|
text: innerTitle,
|
|
84
84
|
textSize: 's',
|
|
85
|
-
}, className: b('title', {
|
|
85
|
+
}, className: b('title', {
|
|
86
|
+
mobile: isMobile,
|
|
87
|
+
centered: direction === models_1.FormBlockDirection.Center,
|
|
88
|
+
}), colSizes: { all: 12 } })),
|
|
86
89
|
react_1.default.createElement(sub_blocks_1.Content, Object.assign({}, textFormContent, { theme: "default", centered: direction === models_1.FormBlockDirection.Center, colSizes: { all: 12 }, className: b('content') })),
|
|
87
90
|
data && (react_1.default.createElement(InnerForm_1.default, { className: b('form'), formData: data, onContentLoad: onContentLoad })))))))));
|
|
88
91
|
};
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
+
@media (min-width: 769px) {
|
|
4
|
+
.pc-highlight-table-block.pc-AnimateBlock .pc-highlight-table-block__root, .pc-AnimateBlock .pc-highlight-table-block .pc-highlight-table-block__root {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 100px;
|
|
7
|
+
opacity: 0;
|
|
8
|
+
}
|
|
9
|
+
.pc-highlight-table-block.pc-AnimateBlock.animate .pc-highlight-table-block__root, .pc-AnimateBlock .pc-highlight-table-block.animate .pc-highlight-table-block__root {
|
|
10
|
+
top: 0;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
13
|
+
transition-delay: 0s;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
3
16
|
.pc-highlight-table-block__title {
|
|
4
17
|
margin-bottom: 24px;
|
|
5
18
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HighlightTableBlockProps } from '../../models';
|
|
2
|
-
export declare const HighlightTableBlock: ({ title, description, table, legend, contentSize, legendPosition, legendAlign, rowHoverColor, rowHoverIncrease, }: HighlightTableBlockProps) => JSX.Element;
|
|
2
|
+
export declare const HighlightTableBlock: ({ animated, title, description, table, legend, contentSize, legendPosition, legendAlign, rowHoverColor, rowHoverIncrease, }: HighlightTableBlockProps) => JSX.Element;
|
|
3
3
|
export default HighlightTableBlock;
|
|
@@ -18,7 +18,7 @@ const getTextStyles = (contentSize) => {
|
|
|
18
18
|
return 'body-1';
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
const HighlightTableBlock = ({ title, description, table, legend = [], contentSize = 's', legendPosition = 'top', legendAlign = 'center', rowHoverColor, rowHoverIncrease, }) => {
|
|
21
|
+
const HighlightTableBlock = ({ animated, title, description, table, legend = [], contentSize = 's', legendPosition = 'top', legendAlign = 'center', rowHoverColor, rowHoverIncrease, }) => {
|
|
22
22
|
const firstRow = table.content[0] || [];
|
|
23
23
|
const otherRows = table.content.slice(1);
|
|
24
24
|
const customColumnWidth = table.customColumnWidth || [];
|
|
@@ -85,23 +85,24 @@ const HighlightTableBlock = ({ title, description, table, legend = [], contentSi
|
|
|
85
85
|
const rootStyle = (0, react_1.useMemo)(() => ({
|
|
86
86
|
['--ps-ht-hover-color']: rowHoverColor,
|
|
87
87
|
}), [rowHoverColor]);
|
|
88
|
-
return (react_1.default.createElement(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
react_1.default.createElement("div", { ref:
|
|
93
|
-
react_1.default.createElement("div", { className: b('
|
|
94
|
-
react_1.default.createElement("div", { className: b('
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
react_1.default.createElement("div", { ref:
|
|
104
|
-
|
|
88
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated },
|
|
89
|
+
react_1.default.createElement("div", { ref: blockRef, className: b('root'), style: rootStyle },
|
|
90
|
+
(title || description) && (react_1.default.createElement(components_1.Title, { className: b('title'), title: title, subtitle: description })),
|
|
91
|
+
legendPosition === 'top' && renderLegend,
|
|
92
|
+
react_1.default.createElement("div", { ref: tableRef, className: `${b('table')} ${textStyles}` },
|
|
93
|
+
react_1.default.createElement("div", { ref: tableContentRef, className: b('content') },
|
|
94
|
+
react_1.default.createElement("div", { className: b('head') },
|
|
95
|
+
react_1.default.createElement("div", { className: b('row') }, firstRow.map((cell, index) => {
|
|
96
|
+
var _a, _b;
|
|
97
|
+
return (react_1.default.createElement(Cell_1.default, { key: index, cell: cell, justify: (_a = table.justify) === null || _a === void 0 ? void 0 : _a[index], columnWidth: (_b = table.customColumnWidth) === null || _b === void 0 ? void 0 : _b[index] }));
|
|
98
|
+
}))),
|
|
99
|
+
react_1.default.createElement("div", { className: b('body') }, otherRows.map((row, index) => {
|
|
100
|
+
var _a;
|
|
101
|
+
return (react_1.default.createElement(Row_1.default, { key: index, row: row, rowHoverIncrease: rowHoverIncrease, color: (_a = table.highlighter) === null || _a === void 0 ? void 0 : _a[index], justify: table.justify, customColumnWidth: table.customColumnWidth }));
|
|
102
|
+
})))),
|
|
103
|
+
react_1.default.createElement("div", { ref: scrollBarRef, className: b('scrollbar') },
|
|
104
|
+
react_1.default.createElement("div", { ref: scrollThumbRef })),
|
|
105
|
+
legendPosition === 'bottom' && renderLegend)));
|
|
105
106
|
};
|
|
106
107
|
exports.HighlightTableBlock = HighlightTableBlock;
|
|
107
108
|
exports.default = exports.HighlightTableBlock;
|
|
@@ -90,6 +90,6 @@ exports.HighlightTableBlock = {
|
|
|
90
90
|
'highlight-table-block': {
|
|
91
91
|
additionalProperties: false,
|
|
92
92
|
required: ['table'],
|
|
93
|
-
properties: Object.assign(Object.assign({}, common_1.BlockBaseProps), exports.HighlightTable),
|
|
93
|
+
properties: Object.assign(Object.assign(Object.assign({}, common_1.BlockBaseProps), common_1.AnimatableProps), exports.HighlightTable),
|
|
94
94
|
},
|
|
95
95
|
};
|
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
|
|
3
|
+
@media (min-width: 769px) {
|
|
4
|
+
.pc-icons-block.pc-AnimateBlock .pc-icons-block__root, .pc-AnimateBlock .pc-icons-block .pc-icons-block__root {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 100px;
|
|
7
|
+
opacity: 0;
|
|
8
|
+
}
|
|
9
|
+
.pc-icons-block.pc-AnimateBlock.animate .pc-icons-block__root, .pc-AnimateBlock .pc-icons-block.animate .pc-icons-block__root {
|
|
10
|
+
top: 0;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
13
|
+
transition-delay: 0s;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.pc-icons-block__root {
|
|
4
17
|
display: flex;
|
|
5
18
|
flex-wrap: wrap;
|
|
6
19
|
justify-content: center;
|
|
7
20
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
8
21
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
9
22
|
}
|
|
10
|
-
.pc-icons-
|
|
23
|
+
.pc-icons-block__root_size_s .pc-icons-block__item {
|
|
11
24
|
width: 96px;
|
|
12
25
|
}
|
|
13
|
-
.pc-icons-
|
|
26
|
+
.pc-icons-block__root_size_m .pc-icons-block__item {
|
|
14
27
|
width: 128px;
|
|
15
28
|
}
|
|
16
|
-
.pc-icons-
|
|
29
|
+
.pc-icons-block__root_size_l .pc-icons-block__item {
|
|
17
30
|
width: 160px;
|
|
18
31
|
}
|
|
19
32
|
.pc-icons-block__header {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconsBlockProps } from '../../models';
|
|
2
|
-
declare const Icons: ({ title, description, size, colSizes, items }: IconsBlockProps) => JSX.Element;
|
|
2
|
+
declare const Icons: ({ animated, title, description, size, colSizes, items, }: IconsBlockProps) => JSX.Element;
|
|
3
3
|
export default Icons;
|
|
@@ -11,20 +11,21 @@ const b = (0, utils_1.block)('icons-block');
|
|
|
11
11
|
const getItemContent = (item) => (react_1.default.createElement(react_1.Fragment, null,
|
|
12
12
|
react_1.default.createElement(components_1.Image, { className: b('image'), src: item.src }),
|
|
13
13
|
react_1.default.createElement("p", { className: b('text') }, item.text)));
|
|
14
|
-
const Icons = ({ title, description, size = 's', colSizes = { all: 12 }, items }) => {
|
|
14
|
+
const Icons = ({ animated, title, description, size = 's', colSizes = { all: 12 }, items, }) => {
|
|
15
15
|
const { hostname } = (0, react_1.useContext)(locationContext_1.LocationContext);
|
|
16
16
|
const handleAnalytics = (0, hooks_1.useAnalytics)();
|
|
17
17
|
const theme = (0, theme_1.useTheme)();
|
|
18
18
|
const onClick = (0, react_1.useCallback)(({ analyticsEvents, url }) => {
|
|
19
19
|
handleAnalytics(analyticsEvents, { url });
|
|
20
20
|
}, [handleAnalytics]);
|
|
21
|
-
return (react_1.default.createElement(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
21
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated },
|
|
22
|
+
react_1.default.createElement("div", { className: b('root', { size }) },
|
|
23
|
+
(title || description) && (react_1.default.createElement(components_1.Title, { className: b('header'), title: title, subtitle: description, colSizes: colSizes })),
|
|
24
|
+
items.map((item) => {
|
|
25
|
+
const themedSrc = (0, utils_1.getThemedValue)(item.src, theme);
|
|
26
|
+
const itemContent = getItemContent(Object.assign(Object.assign({}, item), { src: themedSrc }));
|
|
27
|
+
const { url, text } = item;
|
|
28
|
+
return url ? (react_1.default.createElement("a", Object.assign({ className: b('item'), key: url, href: url, "aria-label": text, title: text }, (0, utils_1.getLinkProps)(url, hostname), { onClick: () => onClick(item) }), itemContent)) : (react_1.default.createElement("div", { className: b('item'), key: text }, itemContent));
|
|
29
|
+
}))));
|
|
29
30
|
};
|
|
30
31
|
exports.default = Icons;
|
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
+
@media (min-width: 769px) {
|
|
4
|
+
.pc-info-block.pc-AnimateBlock .pc-info-block__container, .pc-AnimateBlock .pc-info-block .pc-info-block__container {
|
|
5
|
+
position: relative;
|
|
6
|
+
top: 100px;
|
|
7
|
+
opacity: 0;
|
|
8
|
+
}
|
|
9
|
+
.pc-info-block.pc-AnimateBlock.animate .pc-info-block__container, .pc-AnimateBlock .pc-info-block.animate .pc-info-block__container {
|
|
10
|
+
top: 0;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
transition: top 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
|
13
|
+
transition-delay: 0s;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
3
16
|
.pc-info-block__container {
|
|
4
17
|
background-color: var(--g-color-base-brand);
|
|
5
18
|
padding: 96px 64px;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.InfoBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const components_1 = require("../../components");
|
|
6
7
|
const theme_1 = require("../../context/theme");
|
|
7
8
|
const grid_1 = require("../../grid");
|
|
8
9
|
const Content_1 = tslib_1.__importDefault(require("../../sub-blocks/Content/Content"));
|
|
@@ -10,7 +11,7 @@ const utils_1 = require("../../utils");
|
|
|
10
11
|
const b = (0, utils_1.block)('info-block');
|
|
11
12
|
const sizes = { md: 6, all: 12 };
|
|
12
13
|
const InfoBlock = (props) => {
|
|
13
|
-
const { backgroundColor, theme: blockTheme = 'dark', buttons = [], title, sectionsTitle, links = [], rightContent = {}, leftContent = {}, } = props;
|
|
14
|
+
const { animated, backgroundColor, theme: blockTheme = 'dark', buttons = [], title, sectionsTitle, links = [], rightContent = {}, leftContent = {}, } = props;
|
|
14
15
|
const theme = (0, theme_1.useTheme)();
|
|
15
16
|
const contentTheme = blockTheme === 'dark' ? 'dark' : 'default';
|
|
16
17
|
const rightLinks = [
|
|
@@ -23,7 +24,7 @@ const InfoBlock = (props) => {
|
|
|
23
24
|
className: b('content'),
|
|
24
25
|
theme: contentTheme,
|
|
25
26
|
};
|
|
26
|
-
return (react_1.default.createElement(
|
|
27
|
+
return (react_1.default.createElement(components_1.AnimateBlock, { className: b(), animate: animated },
|
|
27
28
|
react_1.default.createElement("div", { className: b('container'), style: { backgroundColor: (0, utils_1.getThemedValue)(backgroundColor, theme) } },
|
|
28
29
|
react_1.default.createElement(grid_1.Grid, null,
|
|
29
30
|
react_1.default.createElement(grid_1.Row, null,
|