@micromag/screen-image 0.3.122 → 0.3.126

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 CHANGED
@@ -111,8 +111,7 @@ var ImageScreen = function ImageScreen(_ref) {
111
111
  isStatic = _useScreenRenderConte.isStatic,
112
112
  isCapture = _useScreenRenderConte.isCapture;
113
113
 
114
- var backgroundPlaying = current && (isView || isEdit); // const mediaShouldLoad = current || active;
115
-
114
+ var backgroundPlaying = current && (isView || isEdit);
116
115
  var mediaShouldLoad = current || active;
117
116
  var hasImage = image !== null;
118
117
  var hasTitle = isTextFilled(title);
@@ -181,6 +180,7 @@ var ImageScreen = function ImageScreen(_ref) {
181
180
  height: imageHeight,
182
181
  resolution: resolution,
183
182
  playing: backgroundPlaying,
183
+ active: active,
184
184
  shouldLoad: mediaShouldLoad,
185
185
  onLoaded: onImageLoaded
186
186
  })) : null)), withTitle && /*#__PURE__*/React.createElement(ScreenElement, {
package/lib/index.js CHANGED
@@ -133,8 +133,7 @@ var ImageScreen = function ImageScreen(_ref) {
133
133
  isStatic = _useScreenRenderConte.isStatic,
134
134
  isCapture = _useScreenRenderConte.isCapture;
135
135
 
136
- var backgroundPlaying = current && (isView || isEdit); // const mediaShouldLoad = current || active;
137
-
136
+ var backgroundPlaying = current && (isView || isEdit);
138
137
  var mediaShouldLoad = current || active;
139
138
  var hasImage = image !== null;
140
139
  var hasTitle = utils.isTextFilled(title);
@@ -203,6 +202,7 @@ var ImageScreen = function ImageScreen(_ref) {
203
202
  height: imageHeight,
204
203
  resolution: resolution,
205
204
  playing: backgroundPlaying,
205
+ active: active,
206
206
  shouldLoad: mediaShouldLoad,
207
207
  onLoaded: onImageLoaded
208
208
  })) : null)), withTitle && /*#__PURE__*/React__default["default"].createElement(components.ScreenElement, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-image",
3
- "version": "0.3.122",
3
+ "version": "0.3.126",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,15 +49,15 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.122",
53
- "@micromag/element-background": "^0.3.122",
54
- "@micromag/element-call-to-action": "^0.3.122",
55
- "@micromag/element-container": "^0.3.122",
56
- "@micromag/element-heading": "^0.3.122",
57
- "@micromag/element-layout": "^0.3.122",
58
- "@micromag/element-text": "^0.3.122",
59
- "@micromag/element-visual": "^0.3.122",
60
- "@micromag/transforms": "^0.3.122",
52
+ "@micromag/core": "^0.3.126",
53
+ "@micromag/element-background": "^0.3.126",
54
+ "@micromag/element-call-to-action": "^0.3.126",
55
+ "@micromag/element-container": "^0.3.126",
56
+ "@micromag/element-heading": "^0.3.126",
57
+ "@micromag/element-layout": "^0.3.126",
58
+ "@micromag/element-text": "^0.3.126",
59
+ "@micromag/element-visual": "^0.3.126",
60
+ "@micromag/transforms": "^0.3.126",
61
61
  "classnames": "^2.2.6",
62
62
  "lodash": "^4.17.21",
63
63
  "prop-types": "^15.7.2",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "4fbee9b4305d9a4ae0e4532a1d8e143155499878"
70
+ "gitHead": "079203c5850c4aa771bc4fa1c567d2db1bc3ee3d"
71
71
  }