@micromag/screen-timeline 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
@@ -40,6 +40,8 @@ var propTypes = {
40
40
  transitions: PropTypes$1.transitions,
41
41
  transitionStagger: PropTypes.number,
42
42
  type: PropTypes.string,
43
+ enableInteraction: PropTypes.func,
44
+ disableInteraction: PropTypes.func,
43
45
  className: PropTypes.string
44
46
  };
45
47
  var defaultProps = {
@@ -58,6 +60,8 @@ var defaultProps = {
58
60
  transitions: null,
59
61
  transitionStagger: 75,
60
62
  type: null,
63
+ enableInteraction: null,
64
+ disableInteraction: null,
61
65
  className: null
62
66
  };
63
67
 
@@ -79,6 +83,8 @@ var Timeline = function Timeline(_ref) {
79
83
  transitions = _ref.transitions,
80
84
  transitionStagger = _ref.transitionStagger,
81
85
  type = _ref.type,
86
+ enableInteraction = _ref.enableInteraction,
87
+ disableInteraction = _ref.disableInteraction,
82
88
  className = _ref.className;
83
89
  var trackScreenEvent = useTrackScreenEvent(type);
84
90
 
@@ -327,7 +333,9 @@ var Timeline = function Timeline(_ref) {
327
333
  screenSize: {
328
334
  width: width,
329
335
  height: height
330
- }
336
+ },
337
+ enableInteraction: enableInteraction,
338
+ disableInteraction: disableInteraction
331
339
  }) : null));
332
340
  };
333
341
 
package/lib/index.js CHANGED
@@ -63,6 +63,8 @@ var propTypes = {
63
63
  transitions: core.PropTypes.transitions,
64
64
  transitionStagger: PropTypes__default["default"].number,
65
65
  type: PropTypes__default["default"].string,
66
+ enableInteraction: PropTypes__default["default"].func,
67
+ disableInteraction: PropTypes__default["default"].func,
66
68
  className: PropTypes__default["default"].string
67
69
  };
68
70
  var defaultProps = {
@@ -81,6 +83,8 @@ var defaultProps = {
81
83
  transitions: null,
82
84
  transitionStagger: 75,
83
85
  type: null,
86
+ enableInteraction: null,
87
+ disableInteraction: null,
84
88
  className: null
85
89
  };
86
90
 
@@ -102,6 +106,8 @@ var Timeline = function Timeline(_ref) {
102
106
  transitions = _ref.transitions,
103
107
  transitionStagger = _ref.transitionStagger,
104
108
  type = _ref.type,
109
+ enableInteraction = _ref.enableInteraction,
110
+ disableInteraction = _ref.disableInteraction,
105
111
  className = _ref.className;
106
112
  var trackScreenEvent = hooks.useTrackScreenEvent(type);
107
113
 
@@ -350,7 +356,9 @@ var Timeline = function Timeline(_ref) {
350
356
  screenSize: {
351
357
  width: width,
352
358
  height: height
353
- }
359
+ },
360
+ enableInteraction: enableInteraction,
361
+ disableInteraction: disableInteraction
354
362
  }) : null));
355
363
  };
356
364
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-timeline",
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-heading": "^0.3.86",
57
- "@micromag/element-layout": "^0.3.86",
58
- "@micromag/element-scroll": "^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-heading": "^0.3.91",
57
+ "@micromag/element-layout": "^0.3.91",
58
+ "@micromag/element-scroll": "^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
  }