@micromag/screen-video-360 0.3.45 → 0.3.48
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/es/index.js +5 -1
- package/lib/index.js +5 -1
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -552,7 +552,11 @@ var Video360Screen = function Video360Screen(_ref) {
|
|
|
552
552
|
}, /*#__PURE__*/React.createElement(CallToAction, {
|
|
553
553
|
callToAction: callToAction,
|
|
554
554
|
animationDisabled: isPreview,
|
|
555
|
-
focusable: current && isView
|
|
555
|
+
focusable: current && isView,
|
|
556
|
+
screenSize: {
|
|
557
|
+
width: width,
|
|
558
|
+
height: height
|
|
559
|
+
}
|
|
556
560
|
})) : null)) : null];
|
|
557
561
|
return /*#__PURE__*/React.createElement("div", {
|
|
558
562
|
className: classNames([styles.container, (_ref12 = {}, _defineProperty(_ref12, className, className !== null), _defineProperty(_ref12, styles.showVideo, isPreview || isStatic || isCapture), _ref12)]),
|
package/lib/index.js
CHANGED
|
@@ -591,7 +591,11 @@ var Video360Screen = function Video360Screen(_ref) {
|
|
|
591
591
|
}, /*#__PURE__*/React__default["default"].createElement(CallToAction__default["default"], {
|
|
592
592
|
callToAction: callToAction,
|
|
593
593
|
animationDisabled: isPreview,
|
|
594
|
-
focusable: current && isView
|
|
594
|
+
focusable: current && isView,
|
|
595
|
+
screenSize: {
|
|
596
|
+
width: width,
|
|
597
|
+
height: height
|
|
598
|
+
}
|
|
595
599
|
})) : null)) : null];
|
|
596
600
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
597
601
|
className: classNames__default["default"]([styles.container, (_ref12 = {}, _defineProperty__default["default"](_ref12, className, className !== null), _defineProperty__default["default"](_ref12, styles.showVideo, isPreview || isStatic || isCapture), _ref12)]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-video-360",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.48",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@folklore/size": "^0.1.15",
|
|
53
53
|
"@micromag/core": "^0.3.42",
|
|
54
54
|
"@micromag/element-background": "^0.3.42",
|
|
55
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
55
|
+
"@micromag/element-call-to-action": "^0.3.48",
|
|
56
56
|
"@micromag/element-closed-captions": "^0.3.42",
|
|
57
57
|
"@micromag/element-container": "^0.3.42",
|
|
58
58
|
"@micromag/element-image": "^0.3.42",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "3d64ece9adf95e8d124800f5313307c594c834d9"
|
|
74
74
|
}
|