@doyourjob/gravity-ui-page-constructor 5.31.181 → 5.31.183
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/ScienceHeader/ScienceHeader.css +3 -3
- package/build/cjs/components/Map/GoogleMap.js +1 -1
- package/build/cjs/components/VideoBlock/VideoBlock.js +1 -1
- package/build/esm/blocks/ScienceHeader/ScienceHeader.css +3 -3
- package/build/esm/components/Map/GoogleMap.js +1 -1
- package/build/esm/components/VideoBlock/VideoBlock.js +1 -1
- package/package.json +1 -1
- package/widget/index.js +1 -1
|
@@ -111,15 +111,15 @@ unpredictable css rules order in build */
|
|
|
111
111
|
display: flex;
|
|
112
112
|
align-items: center;
|
|
113
113
|
}
|
|
114
|
-
.pc-science-header-block__switcher {
|
|
114
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher {
|
|
115
115
|
font-size: 14px;
|
|
116
116
|
line-height: 120%;
|
|
117
117
|
font-family: var(--g-font-family-science-inter);
|
|
118
118
|
color: var(--g-color-science-tertiary);
|
|
119
119
|
}
|
|
120
|
-
.pc-science-header-block__switcher:hover {
|
|
120
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher:hover {
|
|
121
121
|
color: var(--g-color-science-secondary);
|
|
122
122
|
}
|
|
123
|
-
.pc-science-header-block__switcher > div + div {
|
|
123
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher > div + div {
|
|
124
124
|
padding-inline-start: 5px;
|
|
125
125
|
}
|
|
@@ -39,6 +39,6 @@ const GoogleMap = (props) => {
|
|
|
39
39
|
}
|
|
40
40
|
return (react_1.default.createElement("iframe", { className: b(null, className), ref: ref, style: {
|
|
41
41
|
height,
|
|
42
|
-
}, title: "Google Map", loading: "lazy",
|
|
42
|
+
}, title: "Google Map", loading: "lazy", allow: "fullscreen", referrerPolicy: "no-referrer-when-downgrade", src: src }));
|
|
43
43
|
};
|
|
44
44
|
exports.default = GoogleMap;
|
|
@@ -86,7 +86,7 @@ const VideoBlock = (props) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, [height]);
|
|
88
88
|
const iframeContent = (0, react_1.useMemo)(() => {
|
|
89
|
-
return (react_1.default.createElement("iframe", { id: fullId, src: iframeSrc, width: "100%", height: "100%", title: (0, i18n_1.i18n)('iframe-title'), frameBorder: "0",
|
|
89
|
+
return (react_1.default.createElement("iframe", { id: fullId, src: iframeSrc, width: "100%", height: "100%", title: (0, i18n_1.i18n)('iframe-title'), frameBorder: "0", allow: "autoplay; fullscreen; encrypted-media; accelerometer; gyroscope; picture-in-picture; clipboard-write; web-share; screen-wake-lock", loading: "lazy" }));
|
|
90
90
|
}, [fullId, iframeSrc]);
|
|
91
91
|
(0, react_1.useEffect)(() => {
|
|
92
92
|
setHidePreview(false);
|
|
@@ -111,15 +111,15 @@ unpredictable css rules order in build */
|
|
|
111
111
|
display: flex;
|
|
112
112
|
align-items: center;
|
|
113
113
|
}
|
|
114
|
-
.pc-science-header-block__switcher {
|
|
114
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher {
|
|
115
115
|
font-size: 14px;
|
|
116
116
|
line-height: 120%;
|
|
117
117
|
font-family: var(--g-font-family-science-inter);
|
|
118
118
|
color: var(--g-color-science-tertiary);
|
|
119
119
|
}
|
|
120
|
-
.pc-science-header-block__switcher:hover {
|
|
120
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher:hover {
|
|
121
121
|
color: var(--g-color-science-secondary);
|
|
122
122
|
}
|
|
123
|
-
.pc-science-header-block__switcher > div + div {
|
|
123
|
+
.pc-science-header-block__switcher.pc-science-header-block__switcher > div + div {
|
|
124
124
|
padding-inline-start: 5px;
|
|
125
125
|
}
|
|
@@ -36,6 +36,6 @@ const GoogleMap = (props) => {
|
|
|
36
36
|
}
|
|
37
37
|
return (React.createElement("iframe", { className: b(null, className), ref: ref, style: {
|
|
38
38
|
height,
|
|
39
|
-
}, title: "Google Map", loading: "lazy",
|
|
39
|
+
}, title: "Google Map", loading: "lazy", allow: "fullscreen", referrerPolicy: "no-referrer-when-downgrade", src: src }));
|
|
40
40
|
};
|
|
41
41
|
export default GoogleMap;
|
|
@@ -82,7 +82,7 @@ const VideoBlock = (props) => {
|
|
|
82
82
|
};
|
|
83
83
|
}, [height]);
|
|
84
84
|
const iframeContent = useMemo(() => {
|
|
85
|
-
return (React.createElement("iframe", { id: fullId, src: iframeSrc, width: "100%", height: "100%", title: i18n('iframe-title'), frameBorder: "0",
|
|
85
|
+
return (React.createElement("iframe", { id: fullId, src: iframeSrc, width: "100%", height: "100%", title: i18n('iframe-title'), frameBorder: "0", allow: "autoplay; fullscreen; encrypted-media; accelerometer; gyroscope; picture-in-picture; clipboard-write; web-share; screen-wake-lock", loading: "lazy" }));
|
|
86
86
|
}, [fullId, iframeSrc]);
|
|
87
87
|
useEffect(() => {
|
|
88
88
|
setHidePreview(false);
|