@micromag/screen-ranking 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 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 = {
@@ -50,6 +52,8 @@ var defaultProps = {
50
52
  transitions: null,
51
53
  transitionStagger: 75,
52
54
  type: null,
55
+ enableInteraction: null,
56
+ disableInteraction: null,
53
57
  className: null
54
58
  };
55
59
 
@@ -68,6 +72,8 @@ var RankingScreen = function RankingScreen(_ref) {
68
72
  transitions = _ref.transitions,
69
73
  transitionStagger = _ref.transitionStagger,
70
74
  type = _ref.type,
75
+ enableInteraction = _ref.enableInteraction,
76
+ disableInteraction = _ref.disableInteraction,
71
77
  className = _ref.className;
72
78
  var trackScreenEvent = useTrackScreenEvent(type);
73
79
 
@@ -235,7 +241,9 @@ var RankingScreen = function RankingScreen(_ref) {
235
241
  screenSize: {
236
242
  width: width,
237
243
  height: height
238
- }
244
+ },
245
+ enableInteraction: enableInteraction,
246
+ disableInteraction: disableInteraction
239
247
  }) : null));
240
248
  };
241
249
 
package/lib/index.js CHANGED
@@ -56,6 +56,8 @@ var propTypes = {
56
56
  transitions: core.PropTypes.transitions,
57
57
  transitionStagger: PropTypes__default["default"].number,
58
58
  type: PropTypes__default["default"].string,
59
+ enableInteraction: PropTypes__default["default"].func,
60
+ disableInteraction: PropTypes__default["default"].func,
59
61
  className: PropTypes__default["default"].string
60
62
  };
61
63
  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
 
@@ -89,6 +93,8 @@ var RankingScreen = function RankingScreen(_ref) {
89
93
  transitions = _ref.transitions,
90
94
  transitionStagger = _ref.transitionStagger,
91
95
  type = _ref.type,
96
+ enableInteraction = _ref.enableInteraction,
97
+ disableInteraction = _ref.disableInteraction,
92
98
  className = _ref.className;
93
99
  var trackScreenEvent = hooks.useTrackScreenEvent(type);
94
100
 
@@ -256,7 +262,9 @@ var RankingScreen = function RankingScreen(_ref) {
256
262
  screenSize: {
257
263
  width: width,
258
264
  height: height
259
- }
265
+ },
266
+ enableInteraction: enableInteraction,
267
+ disableInteraction: disableInteraction
260
268
  }) : null));
261
269
  };
262
270
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-ranking",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,7 +52,7 @@
52
52
  "@micromag/core": "^0.3.88",
53
53
  "@micromag/data": "^0.3.88",
54
54
  "@micromag/element-background": "^0.3.88",
55
- "@micromag/element-call-to-action": "^0.3.88",
55
+ "@micromag/element-call-to-action": "^0.3.89",
56
56
  "@micromag/element-container": "^0.3.88",
57
57
  "@micromag/element-heading": "^0.3.88",
58
58
  "@micromag/element-layout": "^0.3.88",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "d0fb1f7d4ae6bfa1fd07dc856307c1c4225ab889"
71
+ "gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
72
72
  }