@micromag/screen-contribution 0.3.81 → 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 +13 -13
package/es/index.js
CHANGED
|
@@ -42,6 +42,8 @@ var propTypes = {
|
|
|
42
42
|
transitionStagger: PropTypes.number,
|
|
43
43
|
resizeTransitionDuration: PropTypes.number,
|
|
44
44
|
type: PropTypes.string,
|
|
45
|
+
enableInteraction: PropTypes.func,
|
|
46
|
+
disableInteraction: PropTypes.func,
|
|
45
47
|
className: PropTypes.string
|
|
46
48
|
};
|
|
47
49
|
var defaultProps = {
|
|
@@ -62,6 +64,8 @@ var defaultProps = {
|
|
|
62
64
|
transitionStagger: 100,
|
|
63
65
|
resizeTransitionDuration: 750,
|
|
64
66
|
type: null,
|
|
67
|
+
enableInteraction: null,
|
|
68
|
+
disableInteraction: null,
|
|
65
69
|
className: null
|
|
66
70
|
};
|
|
67
71
|
|
|
@@ -85,6 +89,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
85
89
|
transitionStagger = _ref.transitionStagger,
|
|
86
90
|
resizeTransitionDuration = _ref.resizeTransitionDuration,
|
|
87
91
|
type = _ref.type,
|
|
92
|
+
enableInteraction = _ref.enableInteraction,
|
|
93
|
+
disableInteraction = _ref.disableInteraction,
|
|
88
94
|
className = _ref.className;
|
|
89
95
|
var screenId = id || 'screen-id';
|
|
90
96
|
var trackScreenEvent = useTrackScreenEvent(type);
|
|
@@ -444,7 +450,9 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
444
450
|
screenSize: {
|
|
445
451
|
width: width,
|
|
446
452
|
height: height
|
|
447
|
-
}
|
|
453
|
+
},
|
|
454
|
+
enableInteraction: enableInteraction,
|
|
455
|
+
disableInteraction: disableInteraction
|
|
448
456
|
}) : null)));
|
|
449
457
|
};
|
|
450
458
|
|
package/lib/index.js
CHANGED
|
@@ -63,6 +63,8 @@ var propTypes = {
|
|
|
63
63
|
transitionStagger: PropTypes__default["default"].number,
|
|
64
64
|
resizeTransitionDuration: 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 = {
|
|
@@ -83,6 +85,8 @@ var defaultProps = {
|
|
|
83
85
|
transitionStagger: 100,
|
|
84
86
|
resizeTransitionDuration: 750,
|
|
85
87
|
type: null,
|
|
88
|
+
enableInteraction: null,
|
|
89
|
+
disableInteraction: null,
|
|
86
90
|
className: null
|
|
87
91
|
};
|
|
88
92
|
|
|
@@ -106,6 +110,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
106
110
|
transitionStagger = _ref.transitionStagger,
|
|
107
111
|
resizeTransitionDuration = _ref.resizeTransitionDuration,
|
|
108
112
|
type = _ref.type,
|
|
113
|
+
enableInteraction = _ref.enableInteraction,
|
|
114
|
+
disableInteraction = _ref.disableInteraction,
|
|
109
115
|
className = _ref.className;
|
|
110
116
|
var screenId = id || 'screen-id';
|
|
111
117
|
var trackScreenEvent = hooks.useTrackScreenEvent(type);
|
|
@@ -465,7 +471,9 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
465
471
|
screenSize: {
|
|
466
472
|
width: width,
|
|
467
473
|
height: height
|
|
468
|
-
}
|
|
474
|
+
},
|
|
475
|
+
enableInteraction: enableInteraction,
|
|
476
|
+
disableInteraction: disableInteraction
|
|
469
477
|
}) : null)));
|
|
470
478
|
};
|
|
471
479
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-contribution",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.89",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
54
54
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
55
|
-
"@micromag/core": "^0.3.
|
|
56
|
-
"@micromag/data": "^0.3.
|
|
57
|
-
"@micromag/element-background": "^0.3.
|
|
58
|
-
"@micromag/element-button": "^0.3.
|
|
59
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
60
|
-
"@micromag/element-container": "^0.3.
|
|
61
|
-
"@micromag/element-heading": "^0.3.
|
|
62
|
-
"@micromag/element-scroll": "^0.3.
|
|
63
|
-
"@micromag/element-text": "^0.3.
|
|
64
|
-
"@micromag/element-text-input": "^0.3.
|
|
65
|
-
"@micromag/transforms": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.88",
|
|
56
|
+
"@micromag/data": "^0.3.88",
|
|
57
|
+
"@micromag/element-background": "^0.3.88",
|
|
58
|
+
"@micromag/element-button": "^0.3.88",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.89",
|
|
60
|
+
"@micromag/element-container": "^0.3.88",
|
|
61
|
+
"@micromag/element-heading": "^0.3.88",
|
|
62
|
+
"@micromag/element-scroll": "^0.3.88",
|
|
63
|
+
"@micromag/element-text": "^0.3.88",
|
|
64
|
+
"@micromag/element-text-input": "^0.3.88",
|
|
65
|
+
"@micromag/transforms": "^0.3.88",
|
|
66
66
|
"classnames": "^2.2.6",
|
|
67
67
|
"lodash": "^4.17.21",
|
|
68
68
|
"prop-types": "^15.7.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
|
|
76
76
|
}
|