@micromag/screen-gallery-feed 0.2.406 → 0.2.412
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 +2 -1
- package/lib/index.js +2 -1
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -86,6 +86,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
86
86
|
isCapture = _useScreenRenderConte.isCapture;
|
|
87
87
|
|
|
88
88
|
var backgroundPlaying = current && (isView || isEdit);
|
|
89
|
+
var backgroundShouldLoad = current || active || !isView;
|
|
89
90
|
var hasImages = images !== null;
|
|
90
91
|
var imagesCount = hasImages ? images.length : 0;
|
|
91
92
|
|
|
@@ -243,7 +244,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
243
244
|
width: width,
|
|
244
245
|
height: height,
|
|
245
246
|
playing: backgroundPlaying,
|
|
246
|
-
shouldLoad:
|
|
247
|
+
shouldLoad: backgroundShouldLoad
|
|
247
248
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
248
249
|
width: width,
|
|
249
250
|
height: height
|
package/lib/index.js
CHANGED
|
@@ -108,6 +108,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
108
108
|
isCapture = _useScreenRenderConte.isCapture;
|
|
109
109
|
|
|
110
110
|
var backgroundPlaying = current && (isView || isEdit);
|
|
111
|
+
var backgroundShouldLoad = current || active || !isView;
|
|
111
112
|
var hasImages = images !== null;
|
|
112
113
|
var imagesCount = hasImages ? images.length : 0;
|
|
113
114
|
|
|
@@ -265,7 +266,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
265
266
|
width: width,
|
|
266
267
|
height: height,
|
|
267
268
|
playing: backgroundPlaying,
|
|
268
|
-
shouldLoad:
|
|
269
|
+
shouldLoad: backgroundShouldLoad
|
|
269
270
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
270
271
|
width: width,
|
|
271
272
|
height: height
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery-feed",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.412",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.2.
|
|
53
|
-
"@micromag/element-background": "^0.2.
|
|
54
|
-
"@micromag/element-call-to-action": "^0.2.
|
|
55
|
-
"@micromag/element-container": "^0.2.
|
|
56
|
-
"@micromag/element-layout": "^0.2.
|
|
57
|
-
"@micromag/element-scroll": "^0.2.
|
|
58
|
-
"@micromag/element-stack": "^0.2.
|
|
59
|
-
"@micromag/element-text": "^0.2.
|
|
60
|
-
"@micromag/element-visual": "^0.2.
|
|
61
|
-
"@micromag/transforms": "^0.2.
|
|
52
|
+
"@micromag/core": "^0.2.412",
|
|
53
|
+
"@micromag/element-background": "^0.2.412",
|
|
54
|
+
"@micromag/element-call-to-action": "^0.2.412",
|
|
55
|
+
"@micromag/element-container": "^0.2.412",
|
|
56
|
+
"@micromag/element-layout": "^0.2.412",
|
|
57
|
+
"@micromag/element-scroll": "^0.2.412",
|
|
58
|
+
"@micromag/element-stack": "^0.2.412",
|
|
59
|
+
"@micromag/element-text": "^0.2.412",
|
|
60
|
+
"@micromag/element-visual": "^0.2.412",
|
|
61
|
+
"@micromag/transforms": "^0.2.412",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "e16acc4643a563f4b7e98ddc1b778ea8a6c8b320"
|
|
72
72
|
}
|