@micromag/screen-urbania-recommendation 0.3.95 → 0.3.98
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
|
@@ -34,6 +34,8 @@ var propTypes = {
|
|
|
34
34
|
animateBackground: PropTypes$1.bool,
|
|
35
35
|
transitions: PropTypes.transitions,
|
|
36
36
|
transitionStagger: PropTypes$1.number,
|
|
37
|
+
enableInteraction: PropTypes$1.func,
|
|
38
|
+
disableInteraction: PropTypes$1.func,
|
|
37
39
|
className: PropTypes$1.string
|
|
38
40
|
};
|
|
39
41
|
var defaultProps = {
|
|
@@ -50,6 +52,8 @@ var defaultProps = {
|
|
|
50
52
|
animateBackground: true,
|
|
51
53
|
transitions: null,
|
|
52
54
|
transitionStagger: 100,
|
|
55
|
+
enableInteraction: null,
|
|
56
|
+
disableInteraction: null,
|
|
53
57
|
className: null
|
|
54
58
|
};
|
|
55
59
|
|
|
@@ -69,6 +73,8 @@ var Recommendation = function Recommendation(_ref) {
|
|
|
69
73
|
animateBackground = _ref.animateBackground,
|
|
70
74
|
transitions = _ref.transitions,
|
|
71
75
|
transitionStagger = _ref.transitionStagger,
|
|
76
|
+
enableInteraction = _ref.enableInteraction,
|
|
77
|
+
disableInteraction = _ref.disableInteraction,
|
|
72
78
|
className = _ref.className;
|
|
73
79
|
var trackScreenEvent = useTrackScreenEvent();
|
|
74
80
|
|
|
@@ -236,7 +242,9 @@ var Recommendation = function Recommendation(_ref) {
|
|
|
236
242
|
screenSize: {
|
|
237
243
|
width: width,
|
|
238
244
|
height: height
|
|
239
|
-
}
|
|
245
|
+
},
|
|
246
|
+
enableInteraction: enableInteraction,
|
|
247
|
+
disableInteraction: disableInteraction
|
|
240
248
|
})) : null].filter(function (el) {
|
|
241
249
|
return el !== null;
|
|
242
250
|
});
|
package/lib/index.js
CHANGED
|
@@ -54,6 +54,8 @@ var propTypes = {
|
|
|
54
54
|
animateBackground: PropTypes__default["default"].bool,
|
|
55
55
|
transitions: core.PropTypes.transitions,
|
|
56
56
|
transitionStagger: PropTypes__default["default"].number,
|
|
57
|
+
enableInteraction: PropTypes__default["default"].func,
|
|
58
|
+
disableInteraction: PropTypes__default["default"].func,
|
|
57
59
|
className: PropTypes__default["default"].string
|
|
58
60
|
};
|
|
59
61
|
var defaultProps = {
|
|
@@ -70,6 +72,8 @@ var defaultProps = {
|
|
|
70
72
|
animateBackground: true,
|
|
71
73
|
transitions: null,
|
|
72
74
|
transitionStagger: 100,
|
|
75
|
+
enableInteraction: null,
|
|
76
|
+
disableInteraction: null,
|
|
73
77
|
className: null
|
|
74
78
|
};
|
|
75
79
|
|
|
@@ -89,6 +93,8 @@ var Recommendation = function Recommendation(_ref) {
|
|
|
89
93
|
animateBackground = _ref.animateBackground,
|
|
90
94
|
transitions = _ref.transitions,
|
|
91
95
|
transitionStagger = _ref.transitionStagger,
|
|
96
|
+
enableInteraction = _ref.enableInteraction,
|
|
97
|
+
disableInteraction = _ref.disableInteraction,
|
|
92
98
|
className = _ref.className;
|
|
93
99
|
var trackScreenEvent = hooks.useTrackScreenEvent();
|
|
94
100
|
|
|
@@ -256,7 +262,9 @@ var Recommendation = function Recommendation(_ref) {
|
|
|
256
262
|
screenSize: {
|
|
257
263
|
width: width,
|
|
258
264
|
height: height
|
|
259
|
-
}
|
|
265
|
+
},
|
|
266
|
+
enableInteraction: enableInteraction,
|
|
267
|
+
disableInteraction: disableInteraction
|
|
260
268
|
})) : null].filter(function (el) {
|
|
261
269
|
return el !== null;
|
|
262
270
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-recommendation",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.98",
|
|
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.91",
|
|
53
53
|
"@micromag/element-background": "^0.3.91",
|
|
54
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.98",
|
|
55
55
|
"@micromag/element-container": "^0.3.91",
|
|
56
56
|
"@micromag/element-heading": "^0.3.91",
|
|
57
57
|
"@micromag/element-layout": "^0.3.91",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "240a044625270e640a9df457eaf6c3b1edf3466e"
|
|
71
71
|
}
|