@gravity-ui/page-constructor 5.18.1-alpha.2 → 5.18.1-alpha.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/Banner/Banner.js +2 -2
- package/build/cjs/blocks/CardLayout/schema.d.ts +32 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +34 -6
- package/build/cjs/blocks/Header/Header.css +3 -0
- package/build/cjs/blocks/Header/Header.js +2 -1
- package/build/cjs/blocks/Header/schema.d.ts +30 -3
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +11 -1
- package/build/cjs/blocks/Media/schema.d.ts +16 -2
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +8 -1
- package/build/cjs/blocks/Slider/Arrow/Arrow.css +1 -1
- package/build/cjs/blocks/Slider/Slider.css +20 -1
- package/build/cjs/blocks/Slider/Slider.js +83 -29
- package/build/cjs/blocks/Slider/i18n/en.json +3 -1
- package/build/cjs/blocks/Slider/i18n/index.d.ts +1 -1
- package/build/cjs/blocks/Slider/i18n/ru.json +3 -1
- package/build/cjs/blocks/Slider/utils.d.ts +10 -0
- package/build/cjs/blocks/Slider/utils.js +85 -1
- package/build/cjs/blocks/SliderNew/Arrow/Arrow.d.ts +3 -1
- package/build/cjs/blocks/SliderNew/Arrow/Arrow.js +2 -2
- package/build/cjs/blocks/SliderNew/Slider.css +4 -1
- package/build/cjs/blocks/SliderNew/Slider.js +20 -8
- package/build/cjs/blocks/SliderNew/i18n/en.json +3 -1
- package/build/cjs/blocks/SliderNew/i18n/index.d.ts +1 -1
- package/build/cjs/blocks/SliderNew/i18n/ru.json +3 -1
- package/build/cjs/blocks/SliderNew/useSlider.d.ts +8 -6
- package/build/cjs/blocks/SliderNew/useSlider.js +4 -2
- package/build/cjs/blocks/SliderNew/useSliderPagination.d.ts +9 -0
- package/build/cjs/blocks/SliderNew/useSliderPagination.js +36 -0
- package/build/cjs/blocks/SliderNew/utils.d.ts +2 -0
- package/build/cjs/blocks/SliderNew/utils.js +13 -1
- package/build/cjs/blocks/Tabs/schema.d.ts +8 -1
- package/build/cjs/components/ButtonTabs/ButtonTabs.js +3 -2
- package/build/cjs/components/DefaultVideo/DefaultVideo.js +3 -3
- package/build/cjs/components/FullscreenImage/FullscreenImage.css +6 -2
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +14 -11
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +4 -2
- package/build/cjs/components/Image/Image.js +2 -2
- package/build/cjs/components/Image/schema.d.ts +40 -0
- package/build/cjs/components/Image/schema.js +8 -0
- package/build/cjs/components/ImageBase/ImageBase.d.ts +1 -1
- package/build/cjs/components/ImageBase/ImageBase.js +8 -2
- package/build/cjs/components/Media/Media.js +4 -3
- package/build/cjs/components/Media/Video/Video.js +2 -2
- package/build/cjs/components/ReactPlayer/ReactPlayer.css +7 -0
- package/build/cjs/components/ReactPlayer/ReactPlayer.d.ts +1 -0
- package/build/cjs/components/ReactPlayer/ReactPlayer.js +15 -4
- package/build/cjs/components/VideoBlock/VideoBlock.d.ts +1 -0
- package/build/cjs/components/VideoBlock/VideoBlock.js +24 -37
- package/build/cjs/constructor-items.d.ts +4 -4
- package/build/cjs/containers/PageConstructor/PageConstructor.js +3 -1
- package/build/cjs/context/imageContext/imageContext.d.ts +2 -3
- package/build/cjs/context/projectSettingsContext/ProjectSettingsContext.d.ts +1 -0
- package/build/cjs/editor/components/AddBlock/AddBlock.js +23 -6
- package/build/cjs/editor/data/index.d.ts +3 -2
- package/build/cjs/editor/data/index.js +19 -12
- package/build/cjs/models/constructor-items/common.d.ts +9 -4
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +2 -1
- package/build/cjs/models/navigation.d.ts +8 -0
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.css +42 -3
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +1 -1
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.js +7 -2
- package/build/cjs/navigation/components/Logo/Logo.d.ts +1 -1
- package/build/cjs/navigation/components/Logo/Logo.js +3 -1
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -1
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.js +3 -1
- package/build/cjs/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/cjs/navigation/components/Navigation/Navigation.js +5 -24
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +3 -1
- package/build/cjs/navigation/components/NavigationItem/hooks/useNavigationItemMap.d.ts +5 -5
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.js +3 -1
- package/build/cjs/navigation/components/Standalone/index.d.ts +2 -2
- package/build/cjs/navigation/containers/Layout/Layout.js +2 -1
- package/build/cjs/navigation/hooks/index.d.ts +2 -0
- package/build/cjs/navigation/hooks/index.js +10 -0
- package/build/cjs/navigation/hooks/useActiveNavItem.d.ts +26 -0
- package/build/cjs/navigation/hooks/useActiveNavItem.js +15 -0
- package/build/cjs/navigation/hooks/useShowBorder.d.ts +2 -0
- package/build/cjs/navigation/hooks/useShowBorder.js +21 -0
- package/build/cjs/navigation/index.d.ts +14 -0
- package/build/cjs/navigation/index.js +16 -4
- package/build/cjs/navigation/models.d.ts +1 -0
- package/build/cjs/schema/constants.d.ts +16 -1
- package/build/cjs/schema/validators/common.d.ts +14 -1
- package/build/cjs/schema/validators/common.js +8 -1
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +8 -0
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/cjs/sub-blocks/Content/Content.css +4 -4
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +8 -4
- package/build/cjs/sub-blocks/ImageCard/ImageCard.css +34 -1
- package/build/cjs/sub-blocks/ImageCard/ImageCard.js +1 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +8 -1
- package/build/cjs/sub-blocks/LayoutItem/utils.d.ts +1 -1
- package/build/cjs/sub-blocks/LayoutItem/utils.js +1 -1
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +8 -1
- package/build/cjs/text-transform/utils.js +1 -1
- package/build/esm/blocks/Banner/Banner.js +2 -2
- package/build/esm/blocks/CardLayout/schema.d.ts +32 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +34 -6
- package/build/esm/blocks/Header/Header.css +3 -0
- package/build/esm/blocks/Header/Header.js +2 -1
- package/build/esm/blocks/Header/schema.d.ts +30 -3
- package/build/esm/blocks/HeaderSlider/schema.d.ts +11 -1
- package/build/esm/blocks/Media/schema.d.ts +16 -2
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +8 -1
- package/build/esm/blocks/Slider/Arrow/Arrow.css +1 -1
- package/build/esm/blocks/Slider/Slider.css +20 -1
- package/build/esm/blocks/Slider/Slider.js +84 -30
- package/build/esm/blocks/Slider/i18n/en.json +3 -1
- package/build/esm/blocks/Slider/i18n/index.d.ts +1 -1
- package/build/esm/blocks/Slider/i18n/ru.json +3 -1
- package/build/esm/blocks/Slider/utils.d.ts +10 -0
- package/build/esm/blocks/Slider/utils.js +82 -0
- package/build/esm/blocks/SliderNew/Arrow/Arrow.d.ts +3 -1
- package/build/esm/blocks/SliderNew/Arrow/Arrow.js +2 -2
- package/build/esm/blocks/SliderNew/Slider.css +4 -1
- package/build/esm/blocks/SliderNew/Slider.js +20 -8
- package/build/esm/blocks/SliderNew/i18n/en.json +3 -1
- package/build/esm/blocks/SliderNew/i18n/index.d.ts +1 -1
- package/build/esm/blocks/SliderNew/i18n/ru.json +3 -1
- package/build/esm/blocks/SliderNew/useSlider.d.ts +8 -6
- package/build/esm/blocks/SliderNew/useSlider.js +6 -3
- package/build/esm/blocks/SliderNew/useSliderPagination.d.ts +9 -0
- package/build/esm/blocks/SliderNew/useSliderPagination.js +32 -0
- package/build/esm/blocks/SliderNew/utils.d.ts +2 -0
- package/build/esm/blocks/SliderNew/utils.js +10 -0
- package/build/esm/blocks/Tabs/schema.d.ts +8 -1
- package/build/esm/components/ButtonTabs/ButtonTabs.js +3 -2
- package/build/esm/components/DefaultVideo/DefaultVideo.js +3 -3
- package/build/esm/components/FullscreenImage/FullscreenImage.css +6 -2
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +14 -11
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +4 -2
- package/build/esm/components/Image/Image.js +2 -2
- package/build/esm/components/Image/schema.d.ts +40 -0
- package/build/esm/components/Image/schema.js +8 -0
- package/build/esm/components/ImageBase/ImageBase.d.ts +1 -1
- package/build/esm/components/ImageBase/ImageBase.js +9 -2
- package/build/esm/components/Media/Media.js +5 -4
- package/build/esm/components/Media/Video/Video.js +2 -2
- package/build/esm/components/ReactPlayer/ReactPlayer.css +7 -0
- package/build/esm/components/ReactPlayer/ReactPlayer.d.ts +1 -0
- package/build/esm/components/ReactPlayer/ReactPlayer.js +15 -4
- package/build/esm/components/VideoBlock/VideoBlock.d.ts +1 -0
- package/build/esm/components/VideoBlock/VideoBlock.js +25 -38
- package/build/esm/constructor-items.d.ts +4 -4
- package/build/esm/containers/PageConstructor/PageConstructor.js +4 -2
- package/build/esm/context/imageContext/imageContext.d.ts +2 -3
- package/build/esm/context/projectSettingsContext/ProjectSettingsContext.d.ts +1 -0
- package/build/esm/editor/components/AddBlock/AddBlock.js +24 -7
- package/build/esm/editor/data/index.d.ts +3 -2
- package/build/esm/editor/data/index.js +18 -12
- package/build/esm/models/constructor-items/common.d.ts +9 -4
- package/build/esm/models/constructor-items/sub-blocks.d.ts +2 -1
- package/build/esm/models/navigation.d.ts +8 -0
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.css +42 -3
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +1 -1
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.js +4 -1
- package/build/esm/navigation/components/Logo/Logo.d.ts +1 -1
- package/build/esm/navigation/components/Logo/Logo.js +1 -1
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -1
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.js +1 -1
- package/build/esm/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/esm/navigation/components/Navigation/Navigation.js +6 -25
- package/build/esm/navigation/components/NavigationItem/NavigationItem.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +1 -1
- package/build/esm/navigation/components/NavigationItem/hooks/useNavigationItemMap.d.ts +5 -5
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.d.ts +1 -1
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.js +1 -1
- package/build/esm/navigation/components/Standalone/index.d.ts +2 -2
- package/build/esm/navigation/containers/Layout/Layout.js +2 -1
- package/build/esm/navigation/hooks/index.d.ts +2 -0
- package/build/esm/navigation/hooks/index.js +2 -0
- package/build/esm/navigation/hooks/useActiveNavItem.d.ts +26 -0
- package/build/esm/navigation/hooks/useActiveNavItem.js +13 -0
- package/build/esm/navigation/hooks/useShowBorder.d.ts +2 -0
- package/build/esm/navigation/hooks/useShowBorder.js +19 -0
- package/build/esm/navigation/index.d.ts +14 -0
- package/build/esm/navigation/index.js +14 -0
- package/build/esm/navigation/models.d.ts +1 -0
- package/build/esm/schema/constants.d.ts +16 -1
- package/build/esm/schema/validators/common.d.ts +14 -1
- package/build/esm/schema/validators/common.js +8 -1
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +8 -0
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/esm/sub-blocks/Content/Content.css +4 -4
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +8 -4
- package/build/esm/sub-blocks/ImageCard/ImageCard.css +34 -1
- package/build/esm/sub-blocks/ImageCard/ImageCard.js +1 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +8 -1
- package/build/esm/sub-blocks/LayoutItem/utils.d.ts +1 -1
- package/build/esm/sub-blocks/LayoutItem/utils.js +1 -1
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +8 -1
- package/build/esm/text-transform/utils.js +1 -1
- package/package.json +8 -5
- package/server/models/constructor-items/common.d.ts +9 -4
- package/server/models/constructor-items/sub-blocks.d.ts +2 -1
- package/server/models/navigation.d.ts +8 -0
- package/server/text-transform/utils.js +1 -1
- package/styles/variables.scss +1 -0
- package/widget/index.js +1 -1
|
@@ -8,8 +8,8 @@ const sub_blocks_1 = require("../../sub-blocks");
|
|
|
8
8
|
const utils_1 = require("../../utils");
|
|
9
9
|
const b = (0, utils_1.block)('banner-block');
|
|
10
10
|
const BannerBlock = (props) => {
|
|
11
|
-
const { animated } = props, bannerProps = tslib_1.__rest(props, ["animated"]);
|
|
12
|
-
return (react_1.default.createElement(AnimateBlock_1.default, { className: b(), animate: animated },
|
|
11
|
+
const { animated, className } = props, bannerProps = tslib_1.__rest(props, ["animated", "className"]);
|
|
12
|
+
return (react_1.default.createElement(AnimateBlock_1.default, { className: b(null, className), animate: animated },
|
|
13
13
|
react_1.default.createElement(sub_blocks_1.BannerCard, Object.assign({}, bannerProps))));
|
|
14
14
|
};
|
|
15
15
|
exports.BannerBlock = BannerBlock;
|
|
@@ -44,6 +44,14 @@ export declare const CardLayoutProps: {
|
|
|
44
44
|
disableCompress: {
|
|
45
45
|
type: string;
|
|
46
46
|
};
|
|
47
|
+
loading: {
|
|
48
|
+
type: string;
|
|
49
|
+
enum: string[];
|
|
50
|
+
};
|
|
51
|
+
fetchPriority: {
|
|
52
|
+
type: string;
|
|
53
|
+
enum: string[];
|
|
54
|
+
};
|
|
47
55
|
};
|
|
48
56
|
optionName: string;
|
|
49
57
|
type: string;
|
|
@@ -73,6 +81,14 @@ export declare const CardLayoutProps: {
|
|
|
73
81
|
disableCompress: {
|
|
74
82
|
type: string;
|
|
75
83
|
};
|
|
84
|
+
loading: {
|
|
85
|
+
type: string;
|
|
86
|
+
enum: string[];
|
|
87
|
+
};
|
|
88
|
+
fetchPriority: {
|
|
89
|
+
type: string;
|
|
90
|
+
enum: string[];
|
|
91
|
+
};
|
|
76
92
|
};
|
|
77
93
|
optionName: string;
|
|
78
94
|
type: string;
|
|
@@ -216,6 +232,14 @@ export declare const CardLayoutBlock: {
|
|
|
216
232
|
disableCompress: {
|
|
217
233
|
type: string;
|
|
218
234
|
};
|
|
235
|
+
loading: {
|
|
236
|
+
type: string;
|
|
237
|
+
enum: string[];
|
|
238
|
+
};
|
|
239
|
+
fetchPriority: {
|
|
240
|
+
type: string;
|
|
241
|
+
enum: string[];
|
|
242
|
+
};
|
|
219
243
|
};
|
|
220
244
|
optionName: string;
|
|
221
245
|
type: string;
|
|
@@ -245,6 +269,14 @@ export declare const CardLayoutBlock: {
|
|
|
245
269
|
disableCompress: {
|
|
246
270
|
type: string;
|
|
247
271
|
};
|
|
272
|
+
loading: {
|
|
273
|
+
type: string;
|
|
274
|
+
enum: string[];
|
|
275
|
+
};
|
|
276
|
+
fetchPriority: {
|
|
277
|
+
type: string;
|
|
278
|
+
enum: string[];
|
|
279
|
+
};
|
|
248
280
|
};
|
|
249
281
|
optionName: string;
|
|
250
282
|
type: string;
|
|
@@ -42,6 +42,14 @@ export declare const ContentLayoutBlock: {
|
|
|
42
42
|
disableCompress: {
|
|
43
43
|
type: string;
|
|
44
44
|
};
|
|
45
|
+
loading: {
|
|
46
|
+
type: string;
|
|
47
|
+
enum: string[];
|
|
48
|
+
};
|
|
49
|
+
fetchPriority: {
|
|
50
|
+
type: string;
|
|
51
|
+
enum: string[];
|
|
52
|
+
};
|
|
45
53
|
};
|
|
46
54
|
} | {
|
|
47
55
|
optionName: string;
|
|
@@ -56,9 +64,7 @@ export declare const ContentLayoutBlock: {
|
|
|
56
64
|
tablet: {
|
|
57
65
|
type: string;
|
|
58
66
|
pattern: string;
|
|
59
|
-
};
|
|
60
|
-
* @deprecated Use params on top level instead
|
|
61
|
-
*/
|
|
67
|
+
};
|
|
62
68
|
mobile: {
|
|
63
69
|
type: string;
|
|
64
70
|
pattern: string;
|
|
@@ -70,6 +76,14 @@ export declare const ContentLayoutBlock: {
|
|
|
70
76
|
disableCompress: {
|
|
71
77
|
type: string;
|
|
72
78
|
};
|
|
79
|
+
loading: {
|
|
80
|
+
type: string;
|
|
81
|
+
enum: string[];
|
|
82
|
+
};
|
|
83
|
+
fetchPriority: {
|
|
84
|
+
type: string;
|
|
85
|
+
enum: string[];
|
|
86
|
+
};
|
|
73
87
|
};
|
|
74
88
|
})[];
|
|
75
89
|
};
|
|
@@ -234,6 +248,14 @@ export declare const ContentLayoutBlock: {
|
|
|
234
248
|
disableCompress: {
|
|
235
249
|
type: string;
|
|
236
250
|
};
|
|
251
|
+
loading: {
|
|
252
|
+
type: string;
|
|
253
|
+
enum: string[];
|
|
254
|
+
};
|
|
255
|
+
fetchPriority: {
|
|
256
|
+
type: string;
|
|
257
|
+
enum: string[];
|
|
258
|
+
};
|
|
237
259
|
};
|
|
238
260
|
} | {
|
|
239
261
|
optionName: string;
|
|
@@ -248,9 +270,7 @@ export declare const ContentLayoutBlock: {
|
|
|
248
270
|
tablet: {
|
|
249
271
|
type: string;
|
|
250
272
|
pattern: string;
|
|
251
|
-
};
|
|
252
|
-
* @deprecated Use params on top level instead
|
|
253
|
-
*/
|
|
273
|
+
};
|
|
254
274
|
mobile: {
|
|
255
275
|
type: string;
|
|
256
276
|
pattern: string;
|
|
@@ -262,6 +282,14 @@ export declare const ContentLayoutBlock: {
|
|
|
262
282
|
disableCompress: {
|
|
263
283
|
type: string;
|
|
264
284
|
};
|
|
285
|
+
loading: {
|
|
286
|
+
type: string;
|
|
287
|
+
enum: string[];
|
|
288
|
+
};
|
|
289
|
+
fetchPriority: {
|
|
290
|
+
type: string;
|
|
291
|
+
enum: string[];
|
|
292
|
+
};
|
|
265
293
|
};
|
|
266
294
|
})[];
|
|
267
295
|
};
|
|
@@ -27,6 +27,9 @@ unpredictable css rules order in build */
|
|
|
27
27
|
.pc-header-block__content_theme_dark .pc-header-block__overtitle {
|
|
28
28
|
color: var(--g-color-text-light-primary);
|
|
29
29
|
}
|
|
30
|
+
.pc-header-block__content_theme_dark .pc-header-block__description .yfm {
|
|
31
|
+
color: var(--g-color-text-light-primary);
|
|
32
|
+
}
|
|
30
33
|
.pc-header-block__content_vertical-offset {
|
|
31
34
|
margin: 16px 0;
|
|
32
35
|
}
|
|
@@ -41,6 +41,7 @@ const HeaderBlock = (props) => {
|
|
|
41
41
|
['has-media']: hasRightSideImage,
|
|
42
42
|
['full-width']: fullWidth,
|
|
43
43
|
['media-view']: mediaView,
|
|
44
|
+
['controls-view']: textTheme,
|
|
44
45
|
}, className) },
|
|
45
46
|
backgroundThemed && fullWidth && react_1.default.createElement(FullWidthBackground, { background: backgroundThemed }),
|
|
46
47
|
backgroundThemed && react_1.default.createElement(Background, { background: backgroundThemed, isMobile: isMobile }),
|
|
@@ -62,7 +63,7 @@ const HeaderBlock = (props) => {
|
|
|
62
63
|
react_1.default.createElement("h1", { className: b('title'), id: titleId },
|
|
63
64
|
status,
|
|
64
65
|
renderTitle ? renderTitle(title) : react_1.default.createElement(components_1.HTML, null, title)),
|
|
65
|
-
description && (react_1.default.createElement("div", { className: b('description') },
|
|
66
|
+
description && (react_1.default.createElement("div", { className: b('description', { theme: textTheme }) },
|
|
66
67
|
react_1.default.createElement(YFMWrapper_1.default, { content: description, modifiers: {
|
|
67
68
|
constructor: true,
|
|
68
69
|
constructorTheme: textTheme,
|
|
@@ -162,11 +162,17 @@ export declare const HeaderBackgroundProps: {
|
|
|
162
162
|
ariaLabel: {
|
|
163
163
|
type: string;
|
|
164
164
|
};
|
|
165
|
+
contain: {
|
|
166
|
+
type: string;
|
|
167
|
+
};
|
|
165
168
|
};
|
|
166
169
|
};
|
|
167
170
|
youtube: {
|
|
168
171
|
type: string;
|
|
169
172
|
};
|
|
173
|
+
videoIframe: {
|
|
174
|
+
type: string;
|
|
175
|
+
};
|
|
170
176
|
parallax: {
|
|
171
177
|
type: string;
|
|
172
178
|
};
|
|
@@ -278,7 +284,8 @@ export declare const HeaderBackgroundProps: {
|
|
|
278
284
|
})[];
|
|
279
285
|
};
|
|
280
286
|
ratio: {
|
|
281
|
-
type: string;
|
|
287
|
+
type: string[];
|
|
288
|
+
pattern: string;
|
|
282
289
|
};
|
|
283
290
|
iframe: {
|
|
284
291
|
type: string;
|
|
@@ -463,6 +470,9 @@ export declare const HeaderProperties: {
|
|
|
463
470
|
ariaLabel: {
|
|
464
471
|
type: string;
|
|
465
472
|
};
|
|
473
|
+
contain: {
|
|
474
|
+
type: string;
|
|
475
|
+
};
|
|
466
476
|
};
|
|
467
477
|
} & {
|
|
468
478
|
optionName: string;
|
|
@@ -664,11 +674,17 @@ export declare const HeaderProperties: {
|
|
|
664
674
|
ariaLabel: {
|
|
665
675
|
type: string;
|
|
666
676
|
};
|
|
677
|
+
contain: {
|
|
678
|
+
type: string;
|
|
679
|
+
};
|
|
667
680
|
};
|
|
668
681
|
};
|
|
669
682
|
youtube: {
|
|
670
683
|
type: string;
|
|
671
684
|
};
|
|
685
|
+
videoIframe: {
|
|
686
|
+
type: string;
|
|
687
|
+
};
|
|
672
688
|
parallax: {
|
|
673
689
|
type: string;
|
|
674
690
|
};
|
|
@@ -780,7 +796,8 @@ export declare const HeaderProperties: {
|
|
|
780
796
|
})[];
|
|
781
797
|
};
|
|
782
798
|
ratio: {
|
|
783
|
-
type: string;
|
|
799
|
+
type: string[];
|
|
800
|
+
pattern: string;
|
|
784
801
|
};
|
|
785
802
|
iframe: {
|
|
786
803
|
type: string;
|
|
@@ -1014,6 +1031,9 @@ export declare const HeaderBlock: {
|
|
|
1014
1031
|
ariaLabel: {
|
|
1015
1032
|
type: string;
|
|
1016
1033
|
};
|
|
1034
|
+
contain: {
|
|
1035
|
+
type: string;
|
|
1036
|
+
};
|
|
1017
1037
|
};
|
|
1018
1038
|
} & {
|
|
1019
1039
|
optionName: string;
|
|
@@ -1215,11 +1235,17 @@ export declare const HeaderBlock: {
|
|
|
1215
1235
|
ariaLabel: {
|
|
1216
1236
|
type: string;
|
|
1217
1237
|
};
|
|
1238
|
+
contain: {
|
|
1239
|
+
type: string;
|
|
1240
|
+
};
|
|
1218
1241
|
};
|
|
1219
1242
|
};
|
|
1220
1243
|
youtube: {
|
|
1221
1244
|
type: string;
|
|
1222
1245
|
};
|
|
1246
|
+
videoIframe: {
|
|
1247
|
+
type: string;
|
|
1248
|
+
};
|
|
1223
1249
|
parallax: {
|
|
1224
1250
|
type: string;
|
|
1225
1251
|
};
|
|
@@ -1331,7 +1357,8 @@ export declare const HeaderBlock: {
|
|
|
1331
1357
|
})[];
|
|
1332
1358
|
};
|
|
1333
1359
|
ratio: {
|
|
1334
|
-
type: string;
|
|
1360
|
+
type: string[];
|
|
1361
|
+
pattern: string;
|
|
1335
1362
|
};
|
|
1336
1363
|
iframe: {
|
|
1337
1364
|
type: string;
|
|
@@ -165,6 +165,9 @@ export declare const HeaderSliderBlock: {
|
|
|
165
165
|
ariaLabel: {
|
|
166
166
|
type: string;
|
|
167
167
|
};
|
|
168
|
+
contain: {
|
|
169
|
+
type: string;
|
|
170
|
+
};
|
|
168
171
|
};
|
|
169
172
|
} & {
|
|
170
173
|
optionName: string;
|
|
@@ -366,11 +369,17 @@ export declare const HeaderSliderBlock: {
|
|
|
366
369
|
ariaLabel: {
|
|
367
370
|
type: string;
|
|
368
371
|
};
|
|
372
|
+
contain: {
|
|
373
|
+
type: string;
|
|
374
|
+
};
|
|
369
375
|
};
|
|
370
376
|
};
|
|
371
377
|
youtube: {
|
|
372
378
|
type: string;
|
|
373
379
|
};
|
|
380
|
+
videoIframe: {
|
|
381
|
+
type: string;
|
|
382
|
+
};
|
|
374
383
|
parallax: {
|
|
375
384
|
type: string;
|
|
376
385
|
};
|
|
@@ -482,7 +491,8 @@ export declare const HeaderSliderBlock: {
|
|
|
482
491
|
})[];
|
|
483
492
|
};
|
|
484
493
|
ratio: {
|
|
485
|
-
type: string;
|
|
494
|
+
type: string[];
|
|
495
|
+
pattern: string;
|
|
486
496
|
};
|
|
487
497
|
iframe: {
|
|
488
498
|
type: string;
|
|
@@ -156,11 +156,17 @@ export declare const Media: {
|
|
|
156
156
|
ariaLabel: {
|
|
157
157
|
type: string;
|
|
158
158
|
};
|
|
159
|
+
contain: {
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
159
162
|
};
|
|
160
163
|
};
|
|
161
164
|
youtube: {
|
|
162
165
|
type: string;
|
|
163
166
|
};
|
|
167
|
+
videoIframe: {
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
164
170
|
parallax: {
|
|
165
171
|
type: string;
|
|
166
172
|
};
|
|
@@ -272,7 +278,8 @@ export declare const Media: {
|
|
|
272
278
|
})[];
|
|
273
279
|
};
|
|
274
280
|
ratio: {
|
|
275
|
-
type: string;
|
|
281
|
+
type: string[];
|
|
282
|
+
pattern: string;
|
|
276
283
|
};
|
|
277
284
|
iframe: {
|
|
278
285
|
type: string;
|
|
@@ -779,11 +786,17 @@ export declare const MediaBlock: {
|
|
|
779
786
|
ariaLabel: {
|
|
780
787
|
type: string;
|
|
781
788
|
};
|
|
789
|
+
contain: {
|
|
790
|
+
type: string;
|
|
791
|
+
};
|
|
782
792
|
};
|
|
783
793
|
};
|
|
784
794
|
youtube: {
|
|
785
795
|
type: string;
|
|
786
796
|
};
|
|
797
|
+
videoIframe: {
|
|
798
|
+
type: string;
|
|
799
|
+
};
|
|
787
800
|
parallax: {
|
|
788
801
|
type: string;
|
|
789
802
|
};
|
|
@@ -895,7 +908,8 @@ export declare const MediaBlock: {
|
|
|
895
908
|
})[];
|
|
896
909
|
};
|
|
897
910
|
ratio: {
|
|
898
|
-
type: string;
|
|
911
|
+
type: string[];
|
|
912
|
+
pattern: string;
|
|
899
913
|
};
|
|
900
914
|
iframe: {
|
|
901
915
|
type: string;
|
|
@@ -172,11 +172,17 @@ export declare const PromoFeaturesItem: {
|
|
|
172
172
|
ariaLabel: {
|
|
173
173
|
type: string;
|
|
174
174
|
};
|
|
175
|
+
contain: {
|
|
176
|
+
type: string;
|
|
177
|
+
};
|
|
175
178
|
};
|
|
176
179
|
};
|
|
177
180
|
youtube: {
|
|
178
181
|
type: string;
|
|
179
182
|
};
|
|
183
|
+
videoIframe: {
|
|
184
|
+
type: string;
|
|
185
|
+
};
|
|
180
186
|
parallax: {
|
|
181
187
|
type: string;
|
|
182
188
|
};
|
|
@@ -288,7 +294,8 @@ export declare const PromoFeaturesItem: {
|
|
|
288
294
|
})[];
|
|
289
295
|
};
|
|
290
296
|
ratio: {
|
|
291
|
-
type: string;
|
|
297
|
+
type: string[];
|
|
298
|
+
pattern: string;
|
|
292
299
|
};
|
|
293
300
|
iframe: {
|
|
294
301
|
type: string;
|
|
@@ -47,7 +47,7 @@ unpredictable css rules order in build */
|
|
|
47
47
|
border-radius: 100%;
|
|
48
48
|
background-color: var(--g-color-base-background);
|
|
49
49
|
box-shadow: 0 4px 24px var(--pc-color-sfx-shadow), 0 2px 8px var(--pc-color-sfx-shadow);
|
|
50
|
-
transition: box-shadow 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), color
|
|
50
|
+
transition: box-shadow 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), color 1s cubic-bezier(0.22, 0.61, 0.36, 1);
|
|
51
51
|
}
|
|
52
52
|
.pc-slider-block-arrow__button:focus {
|
|
53
53
|
outline: 2px solid var(--g-color-line-focus);
|
|
@@ -105,7 +105,7 @@ unpredictable css rules order in build */
|
|
|
105
105
|
height: auto;
|
|
106
106
|
}
|
|
107
107
|
.pc-SliderBlock .slick-track .slick-slide > div {
|
|
108
|
-
|
|
108
|
+
display: flex;
|
|
109
109
|
}
|
|
110
110
|
.pc-SliderBlock .slick-arrow {
|
|
111
111
|
position: absolute;
|
|
@@ -146,6 +146,7 @@ unpredictable css rules order in build */
|
|
|
146
146
|
border-radius: 100%;
|
|
147
147
|
background-color: var(--g-color-line-generic-accent);
|
|
148
148
|
cursor: pointer;
|
|
149
|
+
transition: background-color 1s;
|
|
149
150
|
}
|
|
150
151
|
.pc-SliderBlock__dot:hover {
|
|
151
152
|
background-color: var(--g-color-line-generic-accent-hover);
|
|
@@ -606,6 +607,24 @@ unpredictable css rules order in build */
|
|
|
606
607
|
.pc-SliderBlock_type_header-card .slick-arrow:hover button {
|
|
607
608
|
box-shadow: none;
|
|
608
609
|
}
|
|
610
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_light) .pc-slider-block-arrow__button {
|
|
611
|
+
color: var(--g-color-text-dark-primary);
|
|
612
|
+
}
|
|
613
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_light) .pc-SliderBlock__dot {
|
|
614
|
+
background-color: var(--g-color-private-black-150);
|
|
615
|
+
}
|
|
616
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_light) .pc-SliderBlock__dot_active {
|
|
617
|
+
background-color: var(--g-color-private-black-300);
|
|
618
|
+
}
|
|
619
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_dark) .pc-slider-block-arrow__button {
|
|
620
|
+
color: var(--g-color-text-light-primary);
|
|
621
|
+
}
|
|
622
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_dark) .pc-SliderBlock__dot {
|
|
623
|
+
background-color: var(--g-color-private-white-150);
|
|
624
|
+
}
|
|
625
|
+
.pc-SliderBlock_type_header-card:has(.slick-active .pc-header-block_controls-view_dark) .pc-SliderBlock__dot_active {
|
|
626
|
+
background-color: var(--g-color-private-white-300);
|
|
627
|
+
}
|
|
609
628
|
.pc-SliderBlock_type_header-card .slick-slide {
|
|
610
629
|
padding: 0;
|
|
611
630
|
}
|