@micromag/screen-image-360 0.3.194 → 0.3.198
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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +11 -11
package/es/index.js
CHANGED
|
@@ -443,7 +443,7 @@ var Image360Screen = function Image360Screen(_ref) {
|
|
|
443
443
|
key: "callToAction",
|
|
444
444
|
className: styles.callToAction,
|
|
445
445
|
style: {
|
|
446
|
-
transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
|
|
446
|
+
transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
|
|
447
447
|
paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
|
|
448
448
|
paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
|
|
449
449
|
paddingBottom: spacing / 2,
|
package/lib/index.js
CHANGED
|
@@ -479,7 +479,7 @@ var Image360Screen = function Image360Screen(_ref) {
|
|
|
479
479
|
key: "callToAction",
|
|
480
480
|
className: styles.callToAction,
|
|
481
481
|
style: {
|
|
482
|
-
transform: !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
|
|
482
|
+
transform: current && !isPreview ? "translate(0, -".concat(viewerBottomHeight, "px)") : null,
|
|
483
483
|
paddingLeft: Math.max(spacing / 2, viewerBottomSidesWidth),
|
|
484
484
|
paddingRight: Math.max(spacing / 2, viewerBottomSidesWidth),
|
|
485
485
|
paddingBottom: spacing / 2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-image-360",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.198",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
52
|
"@folklore/size": "^0.1.20",
|
|
53
|
-
"@micromag/core": "^0.3.
|
|
54
|
-
"@micromag/element-background": "^0.3.
|
|
55
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
56
|
-
"@micromag/element-closed-captions": "^0.3.
|
|
57
|
-
"@micromag/element-container": "^0.3.
|
|
58
|
-
"@micromag/element-image": "^0.3.
|
|
59
|
-
"@micromag/element-media-controls": "^0.3.
|
|
60
|
-
"@micromag/element-video": "^0.3.
|
|
61
|
-
"@micromag/transforms": "^0.3.
|
|
53
|
+
"@micromag/core": "^0.3.196",
|
|
54
|
+
"@micromag/element-background": "^0.3.198",
|
|
55
|
+
"@micromag/element-call-to-action": "^0.3.196",
|
|
56
|
+
"@micromag/element-closed-captions": "^0.3.196",
|
|
57
|
+
"@micromag/element-container": "^0.3.196",
|
|
58
|
+
"@micromag/element-image": "^0.3.196",
|
|
59
|
+
"@micromag/element-media-controls": "^0.3.196",
|
|
60
|
+
"@micromag/element-video": "^0.3.198",
|
|
61
|
+
"@micromag/transforms": "^0.3.196",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"publishConfig": {
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "1aba9d8d7585194940b790d71203dff154831f74"
|
|
74
74
|
}
|