@micromag/screen-survey 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
@@ -43,6 +43,8 @@ var propTypes = {
43
43
  transitionStagger: PropTypes.number,
44
44
  resultTransitionDuration: PropTypes.number,
45
45
  type: PropTypes.string,
46
+ enableInteraction: PropTypes.func,
47
+ disableInteraction: PropTypes.func,
46
48
  className: PropTypes.string
47
49
  };
48
50
  var defaultProps = {
@@ -63,6 +65,8 @@ var defaultProps = {
63
65
  transitionStagger: 100,
64
66
  resultTransitionDuration: 500,
65
67
  type: null,
68
+ enableInteraction: null,
69
+ disableInteraction: null,
66
70
  className: null
67
71
  };
68
72
 
@@ -86,6 +90,8 @@ var SurveyScreen = function SurveyScreen(_ref) {
86
90
  transitionStagger = _ref.transitionStagger,
87
91
  resultTransitionDuration = _ref.resultTransitionDuration,
88
92
  type = _ref.type,
93
+ enableInteraction = _ref.enableInteraction,
94
+ disableInteraction = _ref.disableInteraction,
89
95
  className = _ref.className;
90
96
  var screenId = id || 'screen-id';
91
97
  var trackScreenEvent = useTrackScreenEvent(type);
@@ -362,7 +368,9 @@ var SurveyScreen = function SurveyScreen(_ref) {
362
368
  screenSize: {
363
369
  width: width,
364
370
  height: height
365
- }
371
+ },
372
+ enableInteraction: enableInteraction,
373
+ disableInteraction: disableInteraction
366
374
  })));
367
375
  }
368
376
 
package/lib/index.js CHANGED
@@ -64,6 +64,8 @@ var propTypes = {
64
64
  transitionStagger: PropTypes__default["default"].number,
65
65
  resultTransitionDuration: PropTypes__default["default"].number,
66
66
  type: PropTypes__default["default"].string,
67
+ enableInteraction: PropTypes__default["default"].func,
68
+ disableInteraction: PropTypes__default["default"].func,
67
69
  className: PropTypes__default["default"].string
68
70
  };
69
71
  var defaultProps = {
@@ -84,6 +86,8 @@ var defaultProps = {
84
86
  transitionStagger: 100,
85
87
  resultTransitionDuration: 500,
86
88
  type: null,
89
+ enableInteraction: null,
90
+ disableInteraction: null,
87
91
  className: null
88
92
  };
89
93
 
@@ -107,6 +111,8 @@ var SurveyScreen = function SurveyScreen(_ref) {
107
111
  transitionStagger = _ref.transitionStagger,
108
112
  resultTransitionDuration = _ref.resultTransitionDuration,
109
113
  type = _ref.type,
114
+ enableInteraction = _ref.enableInteraction,
115
+ disableInteraction = _ref.disableInteraction,
110
116
  className = _ref.className;
111
117
  var screenId = id || 'screen-id';
112
118
  var trackScreenEvent = hooks.useTrackScreenEvent(type);
@@ -383,7 +389,9 @@ var SurveyScreen = function SurveyScreen(_ref) {
383
389
  screenSize: {
384
390
  width: width,
385
391
  height: height
386
- }
392
+ },
393
+ enableInteraction: enableInteraction,
394
+ disableInteraction: disableInteraction
387
395
  })));
388
396
  }
389
397
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-survey",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -53,7 +53,7 @@
53
53
  "@micromag/data": "^0.3.88",
54
54
  "@micromag/element-background": "^0.3.88",
55
55
  "@micromag/element-button": "^0.3.88",
56
- "@micromag/element-call-to-action": "^0.3.88",
56
+ "@micromag/element-call-to-action": "^0.3.89",
57
57
  "@micromag/element-container": "^0.3.88",
58
58
  "@micromag/element-heading": "^0.3.88",
59
59
  "@micromag/element-layout": "^0.3.88",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "d0fb1f7d4ae6bfa1fd07dc856307c1c4225ab889"
72
+ "gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
73
73
  }