@micromag/screen-image 0.3.209 → 0.3.213

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
@@ -182,6 +182,7 @@ var ImageScreen = function ImageScreen(_ref) {
182
182
  muted: muted,
183
183
  active: active,
184
184
  shouldLoad: mediaShouldLoad,
185
+ withoutVideo: isPreview,
185
186
  onLoaded: onImageLoaded
186
187
  })) : null)), withTitle && /*#__PURE__*/React.createElement(ScreenElement, {
187
188
  key: "title",
@@ -302,7 +303,8 @@ var ImageScreen = function ImageScreen(_ref) {
302
303
  playing: backgroundPlaying,
303
304
  muted: muted,
304
305
  shouldLoad: mediaShouldLoad,
305
- mediaRef: mediaRef
306
+ mediaRef: mediaRef,
307
+ withoutVideo: isPreview
306
308
  }) : null, /*#__PURE__*/React.createElement(Container, {
307
309
  width: width,
308
310
  height: height
package/lib/index.js CHANGED
@@ -204,6 +204,7 @@ var ImageScreen = function ImageScreen(_ref) {
204
204
  muted: muted,
205
205
  active: active,
206
206
  shouldLoad: mediaShouldLoad,
207
+ withoutVideo: isPreview,
207
208
  onLoaded: onImageLoaded
208
209
  })) : null)), withTitle && /*#__PURE__*/React__default["default"].createElement(components.ScreenElement, {
209
210
  key: "title",
@@ -324,7 +325,8 @@ var ImageScreen = function ImageScreen(_ref) {
324
325
  playing: backgroundPlaying,
325
326
  muted: muted,
326
327
  shouldLoad: mediaShouldLoad,
327
- mediaRef: mediaRef
328
+ mediaRef: mediaRef,
329
+ withoutVideo: isPreview
328
330
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
329
331
  width: width,
330
332
  height: height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-image",
3
- "version": "0.3.209",
3
+ "version": "0.3.213",
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.209",
53
- "@micromag/element-background": "^0.3.209",
54
- "@micromag/element-call-to-action": "^0.3.209",
55
- "@micromag/element-container": "^0.3.209",
56
- "@micromag/element-heading": "^0.3.209",
57
- "@micromag/element-layout": "^0.3.209",
58
- "@micromag/element-text": "^0.3.209",
59
- "@micromag/element-visual": "^0.3.209",
60
- "@micromag/transforms": "^0.3.209",
52
+ "@micromag/core": "^0.3.213",
53
+ "@micromag/element-background": "^0.3.213",
54
+ "@micromag/element-call-to-action": "^0.3.213",
55
+ "@micromag/element-container": "^0.3.213",
56
+ "@micromag/element-heading": "^0.3.213",
57
+ "@micromag/element-layout": "^0.3.213",
58
+ "@micromag/element-text": "^0.3.213",
59
+ "@micromag/element-visual": "^0.3.213",
60
+ "@micromag/transforms": "^0.3.213",
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": "909d9ff44ec6bf543db9c75186cd223391a5f0cd"
70
+ "gitHead": "e7dcbfd9c59763758e35c37bacf6749e95c1cbac"
71
71
  }