@micromag/screen-timeline 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
|
@@ -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.
|
|
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-heading": "^0.3.88",
|
|
57
57
|
"@micromag/element-layout": "^0.3.88",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
|
|
72
72
|
}
|