@micromag/screen-urbania-recommendation 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
@@ -103,7 +103,7 @@ var Recommendation = function Recommendation(_ref) {
103
103
  var onlyCategory = hasCategory && !hasDate && !hasTitle && !hasSponsor && !hasDescription;
104
104
  var hasTextCard = hasCategory || hasDate || hasTitle || hasSponsor || hasDescription;
105
105
  var backgroundPlaying = current && (isView || isEdit);
106
- var backgroundShouldLoad = current || active || !isView;
106
+ var backgroundShouldLoad = current || active;
107
107
  var finalAnimateBackground = current && animateBackground && !isPlaceholder && !isStatic && !isPreview && !isEdit;
108
108
  var transitionPlaying = current;
109
109
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
package/lib/index.js CHANGED
@@ -123,7 +123,7 @@ var Recommendation = function Recommendation(_ref) {
123
123
  var onlyCategory = hasCategory && !hasDate && !hasTitle && !hasSponsor && !hasDescription;
124
124
  var hasTextCard = hasCategory || hasDate || hasTitle || hasSponsor || hasDescription;
125
125
  var backgroundPlaying = current && (isView || isEdit);
126
- var backgroundShouldLoad = current || active || !isView;
126
+ var backgroundShouldLoad = current || active;
127
127
  var finalAnimateBackground = current && animateBackground && !isPlaceholder && !isStatic && !isPreview && !isEdit;
128
128
  var transitionPlaying = current;
129
129
  var transitionDisabled = isStatic || isCapture || isPlaceholder || isPreview || isEdit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-recommendation",
3
- "version": "0.3.105",
3
+ "version": "0.3.106",
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.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-heading": "^0.3.105",
57
- "@micromag/element-layout": "^0.3.105",
58
- "@micromag/element-scroll": "^0.3.105",
59
- "@micromag/element-text": "^0.3.105",
60
- "@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-heading": "^0.3.106",
57
+ "@micromag/element-layout": "^0.3.106",
58
+ "@micromag/element-scroll": "^0.3.106",
59
+ "@micromag/element-text": "^0.3.106",
60
+ "@micromag/transforms": "^0.3.106",
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": "fb6c28846c08f30c035ebbc162a4135b8b4d42a5"
70
+ "gitHead": "865842ef7fbdc41f89dd0891857989ded63d44c4"
71
71
  }