@doyourjob/gravity-ui-page-constructor 5.31.225 → 5.31.226
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/Audio/schema.d.ts +3 -0
- package/build/cjs/blocks/BannerMinify/schema.d.ts +3 -0
- package/build/cjs/blocks/Benchmark/schema.d.ts +3 -0
- package/build/cjs/blocks/CardLayout/schema.d.ts +6 -0
- package/build/cjs/blocks/Cat/schema.d.ts +3 -0
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +2 -3
- package/build/cjs/blocks/ContentLayout/schema.d.ts +12 -1
- package/build/cjs/blocks/ContentLayout/schema.js +3 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +3 -0
- package/build/cjs/blocks/FilterBlock/schema.d.ts +6 -0
- package/build/cjs/blocks/FilterCardLayout/schema.d.ts +3 -0
- package/build/cjs/blocks/Form/schema.d.ts +3 -0
- package/build/cjs/blocks/Header/schema.d.ts +3 -0
- package/build/cjs/blocks/HeaderMinify/schema.d.ts +3 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/cjs/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/cjs/blocks/Icons/schema.d.ts +6 -0
- package/build/cjs/blocks/Layout/schema.d.ts +3 -0
- package/build/cjs/blocks/Map/schema.d.ts +3 -0
- package/build/cjs/blocks/Media/schema.d.ts +6 -0
- package/build/cjs/blocks/OnetrustCookieList/schema.d.ts +3 -0
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/cjs/blocks/Questions/schema.d.ts +3 -0
- package/build/cjs/blocks/SidebarWidget/schema.d.ts +3 -0
- package/build/cjs/blocks/Slider/schema.d.ts +3 -0
- package/build/cjs/blocks/SliderNew/schema.d.ts +3 -0
- package/build/cjs/blocks/TabLinks/schema.d.ts +3 -0
- package/build/cjs/blocks/Table/schema.d.ts +3 -0
- package/build/cjs/blocks/Tabs/schema.d.ts +3 -0
- package/build/cjs/blocks/TabsHighlightTable/schema.d.ts +3 -0
- package/build/cjs/blocks/UnicornCards/Item/Item.d.ts +1 -1
- package/build/cjs/blocks/UnicornCards/Item/Item.js +3 -3
- package/build/cjs/blocks/UnicornCards/UnicornCards.js +2 -2
- package/build/cjs/blocks/UnicornCards/schema.d.ts +6 -0
- package/build/cjs/blocks/UnicornCards/schema.js +2 -1
- package/build/cjs/blocks/WhatsNew/schema.d.ts +3 -0
- package/build/cjs/blocks/YFM/schema.d.ts +3 -0
- package/build/cjs/components/BackgroundUnicorn/BackgroundUnicorn.js +4 -3
- package/build/cjs/components/UnicornScene/UnicornScene.d.ts +5 -0
- package/build/cjs/components/UnicornScene/UnicornScene.js +12 -0
- package/build/cjs/components/index.d.ts +2 -0
- package/build/cjs/components/index.js +3 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +4 -0
- package/build/cjs/schema/constants.d.ts +12 -0
- package/build/cjs/schema/validators/common.d.ts +3 -0
- package/build/cjs/schema/validators/common.js +2 -0
- package/build/cjs/sub-blocks/ContentLayoutCard/schema.d.ts +9 -0
- package/build/cjs/sub-blocks/StoryCard/schema.d.ts +3 -0
- package/build/esm/blocks/Audio/schema.d.ts +3 -0
- package/build/esm/blocks/BannerMinify/schema.d.ts +3 -0
- package/build/esm/blocks/Benchmark/schema.d.ts +3 -0
- package/build/esm/blocks/CardLayout/schema.d.ts +6 -0
- package/build/esm/blocks/Cat/schema.d.ts +3 -0
- package/build/esm/blocks/ContentLayout/ContentLayout.js +3 -4
- package/build/esm/blocks/ContentLayout/schema.d.ts +12 -1
- package/build/esm/blocks/ContentLayout/schema.js +3 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +3 -0
- package/build/esm/blocks/FilterBlock/schema.d.ts +6 -0
- package/build/esm/blocks/FilterCardLayout/schema.d.ts +3 -0
- package/build/esm/blocks/Form/schema.d.ts +3 -0
- package/build/esm/blocks/Header/schema.d.ts +3 -0
- package/build/esm/blocks/HeaderMinify/schema.d.ts +3 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +3 -0
- package/build/esm/blocks/HighlightTable/schema.d.ts +3 -0
- package/build/esm/blocks/Icons/schema.d.ts +6 -0
- package/build/esm/blocks/Layout/schema.d.ts +3 -0
- package/build/esm/blocks/Map/schema.d.ts +3 -0
- package/build/esm/blocks/Media/schema.d.ts +6 -0
- package/build/esm/blocks/OnetrustCookieList/schema.d.ts +3 -0
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +3 -0
- package/build/esm/blocks/Questions/schema.d.ts +3 -0
- package/build/esm/blocks/SidebarWidget/schema.d.ts +3 -0
- package/build/esm/blocks/Slider/schema.d.ts +3 -0
- package/build/esm/blocks/SliderNew/schema.d.ts +3 -0
- package/build/esm/blocks/TabLinks/schema.d.ts +3 -0
- package/build/esm/blocks/Table/schema.d.ts +3 -0
- package/build/esm/blocks/Tabs/schema.d.ts +3 -0
- package/build/esm/blocks/TabsHighlightTable/schema.d.ts +3 -0
- package/build/esm/blocks/UnicornCards/Item/Item.d.ts +1 -1
- package/build/esm/blocks/UnicornCards/Item/Item.js +3 -3
- package/build/esm/blocks/UnicornCards/UnicornCards.js +2 -2
- package/build/esm/blocks/UnicornCards/schema.d.ts +6 -0
- package/build/esm/blocks/UnicornCards/schema.js +2 -1
- package/build/esm/blocks/WhatsNew/schema.d.ts +3 -0
- package/build/esm/blocks/YFM/schema.d.ts +3 -0
- package/build/esm/components/BackgroundUnicorn/BackgroundUnicorn.js +4 -3
- package/build/esm/components/UnicornScene/UnicornScene.d.ts +5 -0
- package/build/esm/components/UnicornScene/UnicornScene.js +9 -0
- package/build/esm/components/index.d.ts +2 -0
- package/build/esm/components/index.js +1 -0
- package/build/esm/models/constructor-items/blocks.d.ts +4 -0
- package/build/esm/schema/constants.d.ts +12 -0
- package/build/esm/schema/validators/common.d.ts +3 -0
- package/build/esm/schema/validators/common.js +2 -0
- package/build/esm/sub-blocks/ContentLayoutCard/schema.d.ts +9 -0
- package/build/esm/sub-blocks/StoryCard/schema.d.ts +3 -0
- package/package.json +2 -2
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +4 -0
- package/widget/index.js +1 -1
|
@@ -371,6 +371,9 @@ export declare const CardLayoutProps: {
|
|
|
371
371
|
blockUnicorn: {
|
|
372
372
|
type: string;
|
|
373
373
|
};
|
|
374
|
+
blockUnicornSdkUrl: {
|
|
375
|
+
type: string;
|
|
376
|
+
};
|
|
374
377
|
blockBackground: {
|
|
375
378
|
oneOf: ({
|
|
376
379
|
type: string;
|
|
@@ -794,6 +797,9 @@ export declare const CardLayoutBlock: {
|
|
|
794
797
|
blockUnicorn: {
|
|
795
798
|
type: string;
|
|
796
799
|
};
|
|
800
|
+
blockUnicornSdkUrl: {
|
|
801
|
+
type: string;
|
|
802
|
+
};
|
|
797
803
|
blockBackground: {
|
|
798
804
|
oneOf: ({
|
|
799
805
|
type: string;
|
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ContentLayoutBlock = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importStar(require("react"));
|
|
6
|
-
const unicornstudio_react_1 = tslib_1.__importDefault(require("unicornstudio-react"));
|
|
7
6
|
const components_1 = require("../../components");
|
|
8
7
|
const mobileContext_1 = require("../../context/mobileContext");
|
|
9
8
|
const theme_1 = require("../../context/theme");
|
|
@@ -33,7 +32,7 @@ function getTextWidth(size) {
|
|
|
33
32
|
}
|
|
34
33
|
const ContentLayoutBlock = (props) => {
|
|
35
34
|
const isMobile = (0, react_1.useContext)(mobileContext_1.MobileContext);
|
|
36
|
-
const { animated, textContent, fileContent, tags, size = 'l', background, unicorn, centered, theme = 'default', textWidth = 'm', } = props;
|
|
35
|
+
const { animated, textContent, fileContent, tags, size = 'l', background, unicorn, unicornSdkUrl, centered, theme = 'default', textWidth = 'm', } = props;
|
|
37
36
|
const colSizes = (0, react_1.useMemo)(() => getTextWidth(textWidth), [textWidth]);
|
|
38
37
|
const globalTheme = (0, theme_1.useTheme)();
|
|
39
38
|
const themedBackground = (0, utils_1.getThemedValue)(background, globalTheme);
|
|
@@ -45,7 +44,7 @@ const ContentLayoutBlock = (props) => {
|
|
|
45
44
|
background && (react_1.default.createElement("div", { className: b('background') },
|
|
46
45
|
react_1.default.createElement(components_1.BackgroundImage, Object.assign({ className: b('background-item') }, themedBackground, { hide: isMobile })))),
|
|
47
46
|
unicorn && (react_1.default.createElement("div", { className: b('background') },
|
|
48
|
-
react_1.default.createElement(
|
|
47
|
+
react_1.default.createElement(components_1.UnicornScene, { className: b('background-item'), jsonFilePath: unicorn, sdkUrl: unicornSdkUrl, width: "100%" }))))));
|
|
49
48
|
};
|
|
50
49
|
exports.ContentLayoutBlock = ContentLayoutBlock;
|
|
51
50
|
exports.default = exports.ContentLayoutBlock;
|
|
@@ -90,6 +90,9 @@ export declare const ContentLayoutBlock: {
|
|
|
90
90
|
unicorn: {
|
|
91
91
|
type: string;
|
|
92
92
|
};
|
|
93
|
+
unicornSdkUrl: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
93
96
|
centered: {
|
|
94
97
|
type: string;
|
|
95
98
|
};
|
|
@@ -283,7 +286,9 @@ export declare const ContentLayoutBlock: {
|
|
|
283
286
|
contentType: string;
|
|
284
287
|
};
|
|
285
288
|
size: {
|
|
286
|
-
type: string;
|
|
289
|
+
type: string; /**
|
|
290
|
+
* @deprecated Use params on top level instead
|
|
291
|
+
*/
|
|
287
292
|
enum: string[];
|
|
288
293
|
};
|
|
289
294
|
links: {
|
|
@@ -446,6 +451,9 @@ export declare const ContentLayoutBlock: {
|
|
|
446
451
|
unicorn: {
|
|
447
452
|
type: string;
|
|
448
453
|
};
|
|
454
|
+
unicornSdkUrl: {
|
|
455
|
+
type: string;
|
|
456
|
+
};
|
|
449
457
|
centered: {
|
|
450
458
|
type: string;
|
|
451
459
|
};
|
|
@@ -559,6 +567,9 @@ export declare const ContentLayoutBlock: {
|
|
|
559
567
|
blockUnicorn: {
|
|
560
568
|
type: string;
|
|
561
569
|
};
|
|
570
|
+
blockUnicornSdkUrl: {
|
|
571
|
+
type: string;
|
|
572
|
+
};
|
|
562
573
|
blockBackground: {
|
|
563
574
|
oneOf: ({
|
|
564
575
|
type: string;
|
|
@@ -323,6 +323,9 @@ export declare const FilterProps: {
|
|
|
323
323
|
blockUnicorn: {
|
|
324
324
|
type: string;
|
|
325
325
|
};
|
|
326
|
+
blockUnicornSdkUrl: {
|
|
327
|
+
type: string;
|
|
328
|
+
};
|
|
326
329
|
blockBackground: {
|
|
327
330
|
oneOf: ({
|
|
328
331
|
type: string;
|
|
@@ -671,6 +674,9 @@ export declare const FilterBlock: {
|
|
|
671
674
|
blockUnicorn: {
|
|
672
675
|
type: string;
|
|
673
676
|
};
|
|
677
|
+
blockUnicornSdkUrl: {
|
|
678
|
+
type: string;
|
|
679
|
+
};
|
|
674
680
|
blockBackground: {
|
|
675
681
|
oneOf: ({
|
|
676
682
|
type: string;
|
|
@@ -368,6 +368,9 @@ export declare const IconsProps: {
|
|
|
368
368
|
blockUnicorn: {
|
|
369
369
|
type: string;
|
|
370
370
|
};
|
|
371
|
+
blockUnicornSdkUrl: {
|
|
372
|
+
type: string;
|
|
373
|
+
};
|
|
371
374
|
blockBackground: {
|
|
372
375
|
oneOf: ({
|
|
373
376
|
type: string;
|
|
@@ -788,6 +791,9 @@ export declare const IconsBlock: {
|
|
|
788
791
|
blockUnicorn: {
|
|
789
792
|
type: string;
|
|
790
793
|
};
|
|
794
|
+
blockUnicornSdkUrl: {
|
|
795
|
+
type: string;
|
|
796
|
+
};
|
|
791
797
|
blockBackground: {
|
|
792
798
|
oneOf: ({
|
|
793
799
|
type: string;
|
|
@@ -814,6 +814,9 @@ export declare const MediaBlockBaseProps: {
|
|
|
814
814
|
blockUnicorn: {
|
|
815
815
|
type: string;
|
|
816
816
|
};
|
|
817
|
+
blockUnicornSdkUrl: {
|
|
818
|
+
type: string;
|
|
819
|
+
};
|
|
817
820
|
blockBackground: {
|
|
818
821
|
oneOf: ({
|
|
819
822
|
type: string;
|
|
@@ -1692,6 +1695,9 @@ export declare const MediaBlock: {
|
|
|
1692
1695
|
blockUnicorn: {
|
|
1693
1696
|
type: string;
|
|
1694
1697
|
};
|
|
1698
|
+
blockUnicornSdkUrl: {
|
|
1699
|
+
type: string;
|
|
1700
|
+
};
|
|
1695
1701
|
blockBackground: {
|
|
1696
1702
|
oneOf: ({
|
|
1697
1703
|
type: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { UnicornCardsItemProps } from '../../../models';
|
|
2
|
-
export declare const Item: ({ title, text, unicorn }: UnicornCardsItemProps) => JSX.Element;
|
|
2
|
+
export declare const Item: ({ title, text, unicorn, unicornSdkUrl }: UnicornCardsItemProps) => JSX.Element;
|
|
3
3
|
export default Item;
|
|
@@ -3,15 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Item = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
-
const
|
|
6
|
+
const components_1 = require("../../../components");
|
|
7
7
|
const utils_1 = require("../../../utils");
|
|
8
8
|
const b = (0, utils_1.block)('unicorn-cards-item');
|
|
9
|
-
const Item = ({ title, text, unicorn }) => {
|
|
9
|
+
const Item = ({ title, text, unicorn, unicornSdkUrl }) => {
|
|
10
10
|
return (react_1.default.createElement("div", { className: b() },
|
|
11
11
|
title && react_1.default.createElement("div", { className: b('title') }, title),
|
|
12
12
|
text && react_1.default.createElement("div", { className: b('text') }, text),
|
|
13
13
|
unicorn && (react_1.default.createElement("div", { className: b('background') },
|
|
14
|
-
react_1.default.createElement(
|
|
14
|
+
react_1.default.createElement(components_1.UnicornScene, { className: b('background-item'), jsonFilePath: unicorn, sdkUrl: unicornSdkUrl, width: "100%" })))));
|
|
15
15
|
};
|
|
16
16
|
exports.Item = Item;
|
|
17
17
|
exports.default = exports.Item;
|
|
@@ -11,7 +11,7 @@ const Item_1 = tslib_1.__importDefault(require("./Item/Item"));
|
|
|
11
11
|
const b = (0, utils_1.block)('unicorn-cards-block');
|
|
12
12
|
const colSizes = { all: 12, xl: 3, lg: 4, md: 6 };
|
|
13
13
|
const UnicornCardsBlock = (props) => {
|
|
14
|
-
const { animated, title, items } = props;
|
|
14
|
+
const { animated, title, items, unicornSdkUrl } = props;
|
|
15
15
|
const titleProps = !title || typeof title === 'string'
|
|
16
16
|
? { text: title, textSize: 'l' }
|
|
17
17
|
: title;
|
|
@@ -21,7 +21,7 @@ const UnicornCardsBlock = (props) => {
|
|
|
21
21
|
hasTitle && (react_1.default.createElement(components_1.Title, { title: titleProps, className: b('title'), colSizes: { all: 12 } })),
|
|
22
22
|
react_1.default.createElement(grid_1.Grid, null,
|
|
23
23
|
react_1.default.createElement(grid_1.Row, { className: b('items') }, items === null || items === void 0 ? void 0 : items.map((item, index) => (react_1.default.createElement(grid_1.Col, { key: index, sizes: colSizes },
|
|
24
|
-
react_1.default.createElement(Item_1.default, Object.assign({}, item))))))))));
|
|
24
|
+
react_1.default.createElement(Item_1.default, Object.assign({ unicornSdkUrl: unicornSdkUrl }, item))))))))));
|
|
25
25
|
};
|
|
26
26
|
exports.UnicornCardsBlock = UnicornCardsBlock;
|
|
27
27
|
exports.default = exports.UnicornCardsBlock;
|
|
@@ -159,6 +159,9 @@ export declare const UnicornCardsBlock: {
|
|
|
159
159
|
contentType?: undefined;
|
|
160
160
|
})[];
|
|
161
161
|
};
|
|
162
|
+
unicornSdkUrl: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
162
165
|
items: {
|
|
163
166
|
type: string;
|
|
164
167
|
items: {
|
|
@@ -175,6 +178,9 @@ export declare const UnicornCardsBlock: {
|
|
|
175
178
|
unicorn: {
|
|
176
179
|
type: string;
|
|
177
180
|
};
|
|
181
|
+
unicornSdkUrl: {
|
|
182
|
+
type: string;
|
|
183
|
+
};
|
|
178
184
|
};
|
|
179
185
|
};
|
|
180
186
|
};
|
|
@@ -15,7 +15,7 @@ exports.UnicornCardsBlock = {
|
|
|
15
15
|
},
|
|
16
16
|
Object.assign(Object.assign({}, common_1.TitleProps), { optionName: 'options' }),
|
|
17
17
|
],
|
|
18
|
-
}, items: {
|
|
18
|
+
}, unicornSdkUrl: { type: 'string' }, items: {
|
|
19
19
|
type: 'array',
|
|
20
20
|
items: {
|
|
21
21
|
type: 'object',
|
|
@@ -25,6 +25,7 @@ exports.UnicornCardsBlock = {
|
|
|
25
25
|
title: { type: 'string' },
|
|
26
26
|
text: { type: 'string' },
|
|
27
27
|
unicorn: { type: 'string' },
|
|
28
|
+
unicornSdkUrl: { type: 'string' },
|
|
28
29
|
},
|
|
29
30
|
},
|
|
30
31
|
} }),
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
5
|
-
const
|
|
5
|
+
const __1 = require("..");
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const b = (0, utils_1.block)('background-unicorn');
|
|
8
8
|
const BackgroundUnicorn = (props) => {
|
|
9
|
-
|
|
9
|
+
const { blockUnicorn, blockUnicornSdkUrl } = props;
|
|
10
|
+
if (!blockUnicorn || typeof blockUnicorn !== 'string') {
|
|
10
11
|
return null;
|
|
11
12
|
}
|
|
12
13
|
return (react_1.default.createElement("div", { className: b() },
|
|
13
|
-
react_1.default.createElement(
|
|
14
|
+
react_1.default.createElement(__1.UnicornScene, { className: b('item'), jsonFilePath: blockUnicorn, sdkUrl: blockUnicornSdkUrl, width: "100%" })));
|
|
14
15
|
};
|
|
15
16
|
exports.default = BackgroundUnicorn;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UnicornSceneProps } from 'unicornstudio-react';
|
|
2
|
+
export declare const UNICORN_STUDIO_SDK_URL = "https://cdn.jsdelivr.net/gh/hiunicornstudio/unicornstudio.js@v2.2.0/dist/unicornStudio.umd.js";
|
|
3
|
+
declare const UnicornScene: (props: UnicornSceneProps) => JSX.Element;
|
|
4
|
+
export type { UnicornSceneProps };
|
|
5
|
+
export default UnicornScene;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UNICORN_STUDIO_SDK_URL = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
|
+
const unicornstudio_react_1 = tslib_1.__importDefault(require("unicornstudio-react"));
|
|
7
|
+
exports.UNICORN_STUDIO_SDK_URL = 'https://cdn.jsdelivr.net/gh/hiunicornstudio/unicornstudio.js@v2.2.0/dist/unicornStudio.umd.js';
|
|
8
|
+
const UnicornScene = (props) => {
|
|
9
|
+
const { sdkUrl = exports.UNICORN_STUDIO_SDK_URL } = props, rest = tslib_1.__rest(props, ["sdkUrl"]);
|
|
10
|
+
return react_1.default.createElement(unicornstudio_react_1.default, Object.assign({ sdkUrl: sdkUrl }, rest));
|
|
11
|
+
};
|
|
12
|
+
exports.default = UnicornScene;
|
|
@@ -49,5 +49,7 @@ export { default as ReportItem } from './ReportItem/ReportItem';
|
|
|
49
49
|
export { default as Odometer } from './Odometer/Odometer';
|
|
50
50
|
export { default as BackgroundEffect } from './BackgroundEffect/BackgroundEffect';
|
|
51
51
|
export { default as BackgroundUnicorn } from './BackgroundUnicorn/BackgroundUnicorn';
|
|
52
|
+
export { default as UnicornScene } from './UnicornScene/UnicornScene';
|
|
52
53
|
export type { RouterLinkProps } from './RouterLink/RouterLink';
|
|
53
54
|
export type { ImageBaseProps } from './ImageBase/ImageBase';
|
|
55
|
+
export type { UnicornSceneProps } from './UnicornScene/UnicornScene';
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.BackgroundEffect = exports.Odometer = exports.ReportItem = exports.ReportSection = exports.EmptyPlug = exports.Paginator = exports.ReportFile = exports.Tag = exports.InfiniteScroll = exports.YandexForm = exports.YFMWrapper = exports.VideoBlock = exports.UnpublishedLabel = exports.ToggleArrow = exports.Title = exports.Table = exports.RouterLink = exports.ReactPlayer = exports.OverflowScroller = exports.OutsideClick = exports.MetaInfo = exports.Media = exports.Links = exports.Link = exports.InnerForm = exports.ImageBase = exports.Image = exports.IconWrapper = exports.HTML = exports.HeaderBreadcrumbs = exports.FullWidthBackground = exports.FullscreenMedia = exports.FullscreenImage = exports.Foldable = exports.FileLink = exports.ErrorWrapper = exports.Control = exports.ContentList = exports.CardBase = exports.BrandFooter = exports.Buttons = exports.Button = exports.BlockBase = exports.BalancedMasonry = exports.BackLink = exports.BackgroundMedia = exports.BackgroundImage = exports.Author = exports.AnimateBlock = exports.Anchor = void 0;
|
|
7
|
-
exports.BackgroundUnicorn = void 0;
|
|
7
|
+
exports.UnicornScene = exports.BackgroundUnicorn = void 0;
|
|
8
8
|
var Anchor_1 = require("./Anchor/Anchor");
|
|
9
9
|
Object.defineProperty(exports, "Anchor", { enumerable: true, get: function () { return __importDefault(Anchor_1).default; } });
|
|
10
10
|
var AnimateBlock_1 = require("./AnimateBlock/AnimateBlock");
|
|
@@ -107,3 +107,5 @@ var BackgroundEffect_1 = require("./BackgroundEffect/BackgroundEffect");
|
|
|
107
107
|
Object.defineProperty(exports, "BackgroundEffect", { enumerable: true, get: function () { return __importDefault(BackgroundEffect_1).default; } });
|
|
108
108
|
var BackgroundUnicorn_1 = require("./BackgroundUnicorn/BackgroundUnicorn");
|
|
109
109
|
Object.defineProperty(exports, "BackgroundUnicorn", { enumerable: true, get: function () { return __importDefault(BackgroundUnicorn_1).default; } });
|
|
110
|
+
var UnicornScene_1 = require("./UnicornScene/UnicornScene");
|
|
111
|
+
Object.defineProperty(exports, "UnicornScene", { enumerable: true, get: function () { return __importDefault(UnicornScene_1).default; } });
|
|
@@ -98,6 +98,7 @@ export interface BlockBaseProps {
|
|
|
98
98
|
selectionColor?: string;
|
|
99
99
|
blockBackground?: BlockBackgroundType;
|
|
100
100
|
blockUnicorn?: string;
|
|
101
|
+
blockUnicornSdkUrl?: string;
|
|
101
102
|
className?: string;
|
|
102
103
|
qa?: string;
|
|
103
104
|
visibilityFilter?: string | string[];
|
|
@@ -310,10 +311,12 @@ export type UnicornCardsItemProps = {
|
|
|
310
311
|
title: string;
|
|
311
312
|
text: string;
|
|
312
313
|
unicorn?: string;
|
|
314
|
+
unicornSdkUrl?: string;
|
|
313
315
|
};
|
|
314
316
|
export interface UnicornCardsBlockProps extends Animatable {
|
|
315
317
|
title?: TitleItemBaseProps | string;
|
|
316
318
|
items?: UnicornCardsItemProps[];
|
|
319
|
+
unicornSdkUrl?: string;
|
|
317
320
|
}
|
|
318
321
|
export interface AdvantagesBlockProps {
|
|
319
322
|
title?: string;
|
|
@@ -697,6 +700,7 @@ interface ContentLayoutBlockParams {
|
|
|
697
700
|
size?: ContentSize;
|
|
698
701
|
background?: ThemeSupporting<BackgroundImageProps>;
|
|
699
702
|
unicorn?: string;
|
|
703
|
+
unicornSdkUrl?: string;
|
|
700
704
|
centered?: boolean;
|
|
701
705
|
theme?: ContentTheme;
|
|
702
706
|
textWidth?: ContentTextSize;
|