@micromag/screen-gallery-feed 0.3.86 → 0.3.91

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
@@ -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.86",
3
+ "version": "0.3.91",
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.3.86",
53
- "@micromag/element-background": "^0.3.86",
54
- "@micromag/element-call-to-action": "^0.3.86",
55
- "@micromag/element-container": "^0.3.86",
56
- "@micromag/element-layout": "^0.3.86",
57
- "@micromag/element-scroll": "^0.3.86",
58
- "@micromag/element-stack": "^0.3.86",
59
- "@micromag/element-text": "^0.3.86",
60
- "@micromag/element-visual": "^0.3.86",
61
- "@micromag/transforms": "^0.3.86",
52
+ "@micromag/core": "^0.3.91",
53
+ "@micromag/element-background": "^0.3.91",
54
+ "@micromag/element-call-to-action": "^0.3.91",
55
+ "@micromag/element-container": "^0.3.91",
56
+ "@micromag/element-layout": "^0.3.91",
57
+ "@micromag/element-scroll": "^0.3.91",
58
+ "@micromag/element-stack": "^0.3.91",
59
+ "@micromag/element-text": "^0.3.91",
60
+ "@micromag/element-visual": "^0.3.91",
61
+ "@micromag/transforms": "^0.3.91",
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": "063af274982885b7696d265e6567ab8d44c8b9ad"
71
+ "gitHead": "bce204f3045898193845386933a98a5e3666bcf3"
72
72
  }