@doyourjob/gravity-ui-page-constructor 5.31.182 → 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.
@@ -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", allowFullScreen: true, referrerPolicy: "no-referrer-when-downgrade", src: src }));
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", allowFullScreen: true, allow: "autoplay; fullscreen; encrypted-media; accelerometer; gyroscope; picture-in-picture; clipboard-write; web-share; screen-wake-lock", loading: "lazy" }));
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);
@@ -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", allowFullScreen: true, referrerPolicy: "no-referrer-when-downgrade", src: src }));
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", allowFullScreen: true, allow: "autoplay; fullscreen; encrypted-media; accelerometer; gyroscope; picture-in-picture; clipboard-write; web-share; screen-wake-lock", loading: "lazy" }));
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doyourjob/gravity-ui-page-constructor",
3
- "version": "5.31.182",
3
+ "version": "5.31.183",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {