@micromag/screen-gallery-feed 0.3.88 → 0.3.89
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 +9 -1
- package/lib/index.js +9 -1
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -35,6 +35,8 @@ var propTypes = {
|
|
|
35
35
|
transitions: PropTypes$1.transitions,
|
|
36
36
|
transitionStagger: PropTypes.number,
|
|
37
37
|
type: PropTypes.string,
|
|
38
|
+
enableInteraction: PropTypes.func,
|
|
39
|
+
disableInteraction: PropTypes.func,
|
|
38
40
|
className: PropTypes.string
|
|
39
41
|
};
|
|
40
42
|
var defaultProps = {
|
|
@@ -49,6 +51,8 @@ var defaultProps = {
|
|
|
49
51
|
transitions: null,
|
|
50
52
|
transitionStagger: 75,
|
|
51
53
|
type: null,
|
|
54
|
+
enableInteraction: null,
|
|
55
|
+
disableInteraction: null,
|
|
52
56
|
className: null
|
|
53
57
|
};
|
|
54
58
|
|
|
@@ -66,6 +70,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
66
70
|
transitions = _ref.transitions,
|
|
67
71
|
transitionStagger = _ref.transitionStagger,
|
|
68
72
|
type = _ref.type,
|
|
73
|
+
enableInteraction = _ref.enableInteraction,
|
|
74
|
+
disableInteraction = _ref.disableInteraction,
|
|
69
75
|
className = _ref.className;
|
|
70
76
|
var trackScreenEvent = useTrackScreenEvent(type);
|
|
71
77
|
|
|
@@ -276,7 +282,9 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
276
282
|
screenSize: {
|
|
277
283
|
width: width,
|
|
278
284
|
height: height
|
|
279
|
-
}
|
|
285
|
+
},
|
|
286
|
+
enableInteraction: enableInteraction,
|
|
287
|
+
disableInteraction: disableInteraction
|
|
280
288
|
}) : null));
|
|
281
289
|
};
|
|
282
290
|
|
package/lib/index.js
CHANGED
|
@@ -57,6 +57,8 @@ var propTypes = {
|
|
|
57
57
|
transitions: core.PropTypes.transitions,
|
|
58
58
|
transitionStagger: PropTypes__default["default"].number,
|
|
59
59
|
type: PropTypes__default["default"].string,
|
|
60
|
+
enableInteraction: PropTypes__default["default"].func,
|
|
61
|
+
disableInteraction: PropTypes__default["default"].func,
|
|
60
62
|
className: PropTypes__default["default"].string
|
|
61
63
|
};
|
|
62
64
|
var defaultProps = {
|
|
@@ -71,6 +73,8 @@ var defaultProps = {
|
|
|
71
73
|
transitions: null,
|
|
72
74
|
transitionStagger: 75,
|
|
73
75
|
type: null,
|
|
76
|
+
enableInteraction: null,
|
|
77
|
+
disableInteraction: null,
|
|
74
78
|
className: null
|
|
75
79
|
};
|
|
76
80
|
|
|
@@ -88,6 +92,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
88
92
|
transitions = _ref.transitions,
|
|
89
93
|
transitionStagger = _ref.transitionStagger,
|
|
90
94
|
type = _ref.type,
|
|
95
|
+
enableInteraction = _ref.enableInteraction,
|
|
96
|
+
disableInteraction = _ref.disableInteraction,
|
|
91
97
|
className = _ref.className;
|
|
92
98
|
var trackScreenEvent = hooks.useTrackScreenEvent(type);
|
|
93
99
|
|
|
@@ -298,7 +304,9 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
298
304
|
screenSize: {
|
|
299
305
|
width: width,
|
|
300
306
|
height: height
|
|
301
|
-
}
|
|
307
|
+
},
|
|
308
|
+
enableInteraction: enableInteraction,
|
|
309
|
+
disableInteraction: disableInteraction
|
|
302
310
|
}) : null));
|
|
303
311
|
};
|
|
304
312
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery-feed",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.89",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
52
|
"@micromag/core": "^0.3.88",
|
|
53
53
|
"@micromag/element-background": "^0.3.88",
|
|
54
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.89",
|
|
55
55
|
"@micromag/element-container": "^0.3.88",
|
|
56
56
|
"@micromag/element-layout": "^0.3.88",
|
|
57
57
|
"@micromag/element-scroll": "^0.3.88",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
|
|
72
72
|
}
|