@micromag/screen-quote 0.3.105 → 0.3.106

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
@@ -94,7 +94,7 @@ var QuoteScreen = function QuoteScreen(_ref) {
94
94
  var transitionPlaying = current;
95
95
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
96
96
  var backgroundPlaying = current && (isView || isEdit);
97
- var backgroundShouldLoad = current || active || !isView;
97
+ var mediaShouldLoad = current || active;
98
98
  var hasCallToAction = callToAction !== null && callToAction.active === true;
99
99
  var items = [!isPlaceholder && hasCallToAction && isMiddleLayout ? /*#__PURE__*/React.createElement(Spacer, {
100
100
  key: "spacer-cta-top"
@@ -158,7 +158,7 @@ var QuoteScreen = function QuoteScreen(_ref) {
158
158
  height: height,
159
159
  resolution: resolution,
160
160
  playing: backgroundPlaying,
161
- shouldLoad: backgroundShouldLoad
161
+ shouldLoad: mediaShouldLoad
162
162
  }) : null, /*#__PURE__*/React.createElement(Container, {
163
163
  width: width,
164
164
  height: height
package/lib/index.js CHANGED
@@ -113,7 +113,7 @@ var QuoteScreen = function QuoteScreen(_ref) {
113
113
  var transitionPlaying = current;
114
114
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
115
115
  var backgroundPlaying = current && (isView || isEdit);
116
- var backgroundShouldLoad = current || active || !isView;
116
+ var mediaShouldLoad = current || active;
117
117
  var hasCallToAction = callToAction !== null && callToAction.active === true;
118
118
  var items = [!isPlaceholder && hasCallToAction && isMiddleLayout ? /*#__PURE__*/React__default["default"].createElement(Layout.Spacer, {
119
119
  key: "spacer-cta-top"
@@ -177,7 +177,7 @@ var QuoteScreen = function QuoteScreen(_ref) {
177
177
  height: height,
178
178
  resolution: resolution,
179
179
  playing: backgroundPlaying,
180
- shouldLoad: backgroundShouldLoad
180
+ shouldLoad: mediaShouldLoad
181
181
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
182
182
  width: width,
183
183
  height: height
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quote",
3
- "version": "0.3.105",
3
+ "version": "0.3.106",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,14 +49,14 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.105",
53
- "@micromag/element-background": "^0.3.105",
54
- "@micromag/element-call-to-action": "^0.3.105",
55
- "@micromag/element-container": "^0.3.105",
56
- "@micromag/element-layout": "^0.3.105",
57
- "@micromag/element-quote": "^0.3.105",
58
- "@micromag/element-text": "^0.3.105",
59
- "@micromag/transforms": "^0.3.105",
52
+ "@micromag/core": "^0.3.106",
53
+ "@micromag/element-background": "^0.3.106",
54
+ "@micromag/element-call-to-action": "^0.3.106",
55
+ "@micromag/element-container": "^0.3.106",
56
+ "@micromag/element-layout": "^0.3.106",
57
+ "@micromag/element-quote": "^0.3.106",
58
+ "@micromag/element-text": "^0.3.106",
59
+ "@micromag/transforms": "^0.3.106",
60
60
  "classnames": "^2.2.6",
61
61
  "lodash": "^4.17.21",
62
62
  "prop-types": "^15.7.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "fb6c28846c08f30c035ebbc162a4135b8b4d42a5"
69
+ "gitHead": "865842ef7fbdc41f89dd0891857989ded63d44c4"
70
70
  }