@micromag/screen-urbania-article 0.3.207 → 0.3.211

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
@@ -348,7 +348,8 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
348
348
  playing: backgroundPlaying,
349
349
  muted: muted,
350
350
  shouldLoad: mediaShouldLoad,
351
- mediaRef: mediaRef
351
+ mediaRef: mediaRef,
352
+ withoutVideo: isPreview
352
353
  }), /*#__PURE__*/React.createElement(Container, {
353
354
  className: styles.inner,
354
355
  width: width,
@@ -394,6 +395,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
394
395
  fit: 'cover'
395
396
  },
396
397
  shouldLoad: mediaShouldLoad,
398
+ withoutVideo: isPreview,
397
399
  playing: backgroundPlaying && playing
398
400
  }) : null, hasImage && isVideo ? /*#__PURE__*/React.createElement(Visual, {
399
401
  className: styles.video,
@@ -407,6 +409,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
407
409
  shouldLoad: mediaShouldLoad,
408
410
  playing: backgroundPlaying && playing,
409
411
  muted: muted,
412
+ withoutVideo: isPreview,
410
413
  mediaRef: mediaRef
411
414
  }) : null), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React.createElement("div", {
412
415
  style: {
package/lib/index.js CHANGED
@@ -369,7 +369,8 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
369
369
  playing: backgroundPlaying,
370
370
  muted: muted,
371
371
  shouldLoad: mediaShouldLoad,
372
- mediaRef: mediaRef
372
+ mediaRef: mediaRef,
373
+ withoutVideo: isPreview
373
374
  }), /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
374
375
  className: styles.inner,
375
376
  width: width,
@@ -415,6 +416,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
415
416
  fit: 'cover'
416
417
  },
417
418
  shouldLoad: mediaShouldLoad,
419
+ withoutVideo: isPreview,
418
420
  playing: backgroundPlaying && playing
419
421
  }) : null, hasImage && isVideo ? /*#__PURE__*/React__default["default"].createElement(Visual__default["default"], {
420
422
  className: styles.video,
@@ -428,6 +430,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
428
430
  shouldLoad: mediaShouldLoad,
429
431
  playing: backgroundPlaying && playing,
430
432
  muted: muted,
433
+ withoutVideo: isPreview,
431
434
  mediaRef: mediaRef
432
435
  }) : null), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
433
436
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-article",
3
- "version": "0.3.207",
3
+ "version": "0.3.211",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -51,19 +51,19 @@
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/fetch": "^0.1.15",
53
53
  "@folklore/size": "^0.1.20",
54
- "@micromag/core": "^0.3.207",
55
- "@micromag/element-background": "^0.3.207",
56
- "@micromag/element-call-to-action": "^0.3.207",
57
- "@micromag/element-closed-captions": "^0.3.207",
58
- "@micromag/element-container": "^0.3.207",
59
- "@micromag/element-heading": "^0.3.207",
60
- "@micromag/element-image": "^0.3.207",
61
- "@micromag/element-media-controls": "^0.3.207",
62
- "@micromag/element-text": "^0.3.207",
63
- "@micromag/element-urbania-author": "^0.3.207",
64
- "@micromag/element-video": "^0.3.207",
65
- "@micromag/element-visual": "^0.3.207",
66
- "@micromag/transforms": "^0.3.207",
54
+ "@micromag/core": "^0.3.211",
55
+ "@micromag/element-background": "^0.3.211",
56
+ "@micromag/element-call-to-action": "^0.3.211",
57
+ "@micromag/element-closed-captions": "^0.3.211",
58
+ "@micromag/element-container": "^0.3.211",
59
+ "@micromag/element-heading": "^0.3.211",
60
+ "@micromag/element-image": "^0.3.211",
61
+ "@micromag/element-media-controls": "^0.3.211",
62
+ "@micromag/element-text": "^0.3.211",
63
+ "@micromag/element-urbania-author": "^0.3.211",
64
+ "@micromag/element-video": "^0.3.211",
65
+ "@micromag/element-visual": "^0.3.211",
66
+ "@micromag/transforms": "^0.3.211",
67
67
  "classnames": "^2.2.6",
68
68
  "lodash": "^4.17.21",
69
69
  "prop-types": "^15.7.2",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "e7e2958bb7e9e222cc8621b44a90f1e974dd93b6"
76
+ "gitHead": "2eebe38f4253de953042e9ccf1afe593c824e8e0"
77
77
  }