@micromag/screen-quiz 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 CHANGED
@@ -580,7 +580,7 @@ var QuizScreen = function QuizScreen(_ref) {
580
580
  var transitionPlaying = current;
581
581
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
582
582
  var backgroundPlaying = current && (isView || isEdit);
583
- var backgroundShouldLoad = current || active || !isView; // Call to Action
583
+ var mediaShouldLoad = current || active; // Call to Action
584
584
 
585
585
  var hasCallToAction = callToAction !== null && callToAction.active === true;
586
586
 
@@ -650,7 +650,7 @@ var QuizScreen = function QuizScreen(_ref) {
650
650
  height: height,
651
651
  resolution: resolution,
652
652
  playing: backgroundPlaying,
653
- shouldLoad: backgroundShouldLoad
653
+ shouldLoad: mediaShouldLoad
654
654
  }) : null, /*#__PURE__*/React.createElement(Container, {
655
655
  width: width,
656
656
  height: height
@@ -1051,7 +1051,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1051
1051
  var transitionPlaying = current;
1052
1052
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
1053
1053
  var backgroundPlaying = current && (isView || isEdit);
1054
- var backgroundShouldLoad = current || active || !isView; // Call to Action
1054
+ var backgroundShouldLoad = current || active; // Call to Action
1055
1055
 
1056
1056
  var hasCallToAction = callToAction !== null && callToAction.active === true;
1057
1057
 
package/lib/index.js CHANGED
@@ -601,7 +601,7 @@ var QuizScreen = function QuizScreen(_ref) {
601
601
  var transitionPlaying = current;
602
602
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
603
603
  var backgroundPlaying = current && (isView || isEdit);
604
- var backgroundShouldLoad = current || active || !isView; // Call to Action
604
+ var mediaShouldLoad = current || active; // Call to Action
605
605
 
606
606
  var hasCallToAction = callToAction !== null && callToAction.active === true;
607
607
 
@@ -671,7 +671,7 @@ var QuizScreen = function QuizScreen(_ref) {
671
671
  height: height,
672
672
  resolution: resolution,
673
673
  playing: backgroundPlaying,
674
- shouldLoad: backgroundShouldLoad
674
+ shouldLoad: mediaShouldLoad
675
675
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
676
676
  width: width,
677
677
  height: height
@@ -1072,7 +1072,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1072
1072
  var transitionPlaying = current;
1073
1073
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
1074
1074
  var backgroundPlaying = current && (isView || isEdit);
1075
- var backgroundShouldLoad = current || active || !isView; // Call to Action
1075
+ var backgroundShouldLoad = current || active; // Call to Action
1076
1076
 
1077
1077
  var hasCallToAction = callToAction !== null && callToAction.active === true;
1078
1078
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quiz",
3
- "version": "0.3.105",
3
+ "version": "0.3.108",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,16 +52,16 @@
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.105",
56
- "@micromag/data": "^0.3.105",
57
- "@micromag/element-background": "^0.3.105",
58
- "@micromag/element-button": "^0.3.105",
59
- "@micromag/element-call-to-action": "^0.3.105",
60
- "@micromag/element-container": "^0.3.105",
61
- "@micromag/element-heading": "^0.3.105",
62
- "@micromag/element-layout": "^0.3.105",
63
- "@micromag/element-text": "^0.3.105",
64
- "@micromag/transforms": "^0.3.105",
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-layout": "^0.3.108",
63
+ "@micromag/element-text": "^0.3.108",
64
+ "@micromag/transforms": "^0.3.108",
65
65
  "classnames": "^2.2.6",
66
66
  "lodash": "^4.17.21",
67
67
  "prop-types": "^15.7.2",
@@ -72,5 +72,5 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "fb6c28846c08f30c035ebbc162a4135b8b4d42a5"
75
+ "gitHead": "d7681b84be82b08eff5ed444f910ed367f235f4e"
76
76
  }