@micromag/screen-contribution 0.3.105 → 0.3.108
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 +2 -2
- package/lib/index.js +2 -2
- package/package.json +13 -13
package/es/index.js
CHANGED
|
@@ -113,7 +113,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
113
113
|
isCapture = _useScreenRenderConte.isCapture;
|
|
114
114
|
|
|
115
115
|
var backgroundPlaying = current && (isView || isEdit);
|
|
116
|
-
var
|
|
116
|
+
var mediaShouldLoad = current || active;
|
|
117
117
|
var transitionPlaying = current;
|
|
118
118
|
var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
|
|
119
119
|
var scrollingDisabled = !isEdit && transitionDisabled || !current;
|
|
@@ -425,7 +425,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
425
425
|
height: height,
|
|
426
426
|
resolution: resolution,
|
|
427
427
|
playing: backgroundPlaying,
|
|
428
|
-
shouldLoad:
|
|
428
|
+
shouldLoad: mediaShouldLoad
|
|
429
429
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
430
430
|
width: width,
|
|
431
431
|
height: height
|
package/lib/index.js
CHANGED
|
@@ -134,7 +134,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
134
134
|
isCapture = _useScreenRenderConte.isCapture;
|
|
135
135
|
|
|
136
136
|
var backgroundPlaying = current && (isView || isEdit);
|
|
137
|
-
var
|
|
137
|
+
var mediaShouldLoad = current || active;
|
|
138
138
|
var transitionPlaying = current;
|
|
139
139
|
var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
|
|
140
140
|
var scrollingDisabled = !isEdit && transitionDisabled || !current;
|
|
@@ -446,7 +446,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
446
446
|
height: height,
|
|
447
447
|
resolution: resolution,
|
|
448
448
|
playing: backgroundPlaying,
|
|
449
|
-
shouldLoad:
|
|
449
|
+
shouldLoad: mediaShouldLoad
|
|
450
450
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
451
451
|
width: width,
|
|
452
452
|
height: height
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-contribution",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.108",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
54
54
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
55
|
-
"@micromag/core": "^0.3.
|
|
56
|
-
"@micromag/data": "^0.3.
|
|
57
|
-
"@micromag/element-background": "^0.3.
|
|
58
|
-
"@micromag/element-button": "^0.3.
|
|
59
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
60
|
-
"@micromag/element-container": "^0.3.
|
|
61
|
-
"@micromag/element-heading": "^0.3.
|
|
62
|
-
"@micromag/element-scroll": "^0.3.
|
|
63
|
-
"@micromag/element-text": "^0.3.
|
|
64
|
-
"@micromag/element-text-input": "^0.3.
|
|
65
|
-
"@micromag/transforms": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.108",
|
|
56
|
+
"@micromag/data": "^0.3.108",
|
|
57
|
+
"@micromag/element-background": "^0.3.108",
|
|
58
|
+
"@micromag/element-button": "^0.3.108",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.108",
|
|
60
|
+
"@micromag/element-container": "^0.3.108",
|
|
61
|
+
"@micromag/element-heading": "^0.3.108",
|
|
62
|
+
"@micromag/element-scroll": "^0.3.108",
|
|
63
|
+
"@micromag/element-text": "^0.3.108",
|
|
64
|
+
"@micromag/element-text-input": "^0.3.108",
|
|
65
|
+
"@micromag/transforms": "^0.3.108",
|
|
66
66
|
"classnames": "^2.2.6",
|
|
67
67
|
"lodash": "^4.17.21",
|
|
68
68
|
"prop-types": "^15.7.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "d7681b84be82b08eff5ed444f910ed367f235f4e"
|
|
76
76
|
}
|