@micromag/screen-quote 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
|
@@ -30,6 +30,8 @@ var propTypes = {
|
|
|
30
30
|
active: PropTypes.bool,
|
|
31
31
|
transitions: PropTypes$1.transitions,
|
|
32
32
|
transitionStagger: PropTypes.number,
|
|
33
|
+
enableInteraction: PropTypes.func,
|
|
34
|
+
disableInteraction: PropTypes.func,
|
|
33
35
|
className: PropTypes.string
|
|
34
36
|
};
|
|
35
37
|
var defaultProps = {
|
|
@@ -43,6 +45,8 @@ var defaultProps = {
|
|
|
43
45
|
active: true,
|
|
44
46
|
transitions: null,
|
|
45
47
|
transitionStagger: 100,
|
|
48
|
+
enableInteraction: null,
|
|
49
|
+
disableInteraction: null,
|
|
46
50
|
className: null
|
|
47
51
|
};
|
|
48
52
|
|
|
@@ -59,6 +63,8 @@ var QuoteScreen = function QuoteScreen(_ref) {
|
|
|
59
63
|
active = _ref.active,
|
|
60
64
|
transitions = _ref.transitions,
|
|
61
65
|
transitionStagger = _ref.transitionStagger,
|
|
66
|
+
enableInteraction = _ref.enableInteraction,
|
|
67
|
+
disableInteraction = _ref.disableInteraction,
|
|
62
68
|
className = _ref.className;
|
|
63
69
|
|
|
64
70
|
var _useScreenSize = useScreenSize(),
|
|
@@ -137,7 +143,9 @@ var QuoteScreen = function QuoteScreen(_ref) {
|
|
|
137
143
|
screenSize: {
|
|
138
144
|
width: width,
|
|
139
145
|
height: height
|
|
140
|
-
}
|
|
146
|
+
},
|
|
147
|
+
enableInteraction: enableInteraction,
|
|
148
|
+
disableInteraction: disableInteraction
|
|
141
149
|
})) : null].filter(function (el) {
|
|
142
150
|
return el !== null;
|
|
143
151
|
});
|
package/lib/index.js
CHANGED
|
@@ -49,6 +49,8 @@ var propTypes = {
|
|
|
49
49
|
active: PropTypes__default["default"].bool,
|
|
50
50
|
transitions: core.PropTypes.transitions,
|
|
51
51
|
transitionStagger: PropTypes__default["default"].number,
|
|
52
|
+
enableInteraction: PropTypes__default["default"].func,
|
|
53
|
+
disableInteraction: PropTypes__default["default"].func,
|
|
52
54
|
className: PropTypes__default["default"].string
|
|
53
55
|
};
|
|
54
56
|
var defaultProps = {
|
|
@@ -62,6 +64,8 @@ var defaultProps = {
|
|
|
62
64
|
active: true,
|
|
63
65
|
transitions: null,
|
|
64
66
|
transitionStagger: 100,
|
|
67
|
+
enableInteraction: null,
|
|
68
|
+
disableInteraction: null,
|
|
65
69
|
className: null
|
|
66
70
|
};
|
|
67
71
|
|
|
@@ -78,6 +82,8 @@ var QuoteScreen = function QuoteScreen(_ref) {
|
|
|
78
82
|
active = _ref.active,
|
|
79
83
|
transitions = _ref.transitions,
|
|
80
84
|
transitionStagger = _ref.transitionStagger,
|
|
85
|
+
enableInteraction = _ref.enableInteraction,
|
|
86
|
+
disableInteraction = _ref.disableInteraction,
|
|
81
87
|
className = _ref.className;
|
|
82
88
|
|
|
83
89
|
var _useScreenSize = contexts.useScreenSize(),
|
|
@@ -156,7 +162,9 @@ var QuoteScreen = function QuoteScreen(_ref) {
|
|
|
156
162
|
screenSize: {
|
|
157
163
|
width: width,
|
|
158
164
|
height: height
|
|
159
|
-
}
|
|
165
|
+
},
|
|
166
|
+
enableInteraction: enableInteraction,
|
|
167
|
+
disableInteraction: disableInteraction
|
|
160
168
|
})) : null].filter(function (el) {
|
|
161
169
|
return el !== null;
|
|
162
170
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quote",
|
|
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-layout": "^0.3.88",
|
|
57
57
|
"@micromag/element-quote": "^0.3.88",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
|
|
70
70
|
}
|