@micromag/screen-gallery 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 +11 -11
package/es/index.js
CHANGED
|
@@ -210,6 +210,8 @@ var propTypes = {
|
|
|
210
210
|
active: PropTypes.bool,
|
|
211
211
|
transitions: PropTypes$1.transitions,
|
|
212
212
|
transitionStagger: PropTypes.number,
|
|
213
|
+
enableInteraction: PropTypes.func,
|
|
214
|
+
disableInteraction: PropTypes.func,
|
|
213
215
|
className: PropTypes.string
|
|
214
216
|
};
|
|
215
217
|
var defaultProps = {
|
|
@@ -224,6 +226,8 @@ var defaultProps = {
|
|
|
224
226
|
active: true,
|
|
225
227
|
transitions: null,
|
|
226
228
|
transitionStagger: 50,
|
|
229
|
+
enableInteraction: null,
|
|
230
|
+
disableInteraction: null,
|
|
227
231
|
className: null
|
|
228
232
|
};
|
|
229
233
|
|
|
@@ -241,6 +245,8 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
241
245
|
captionMaxLines = _ref.captionMaxLines,
|
|
242
246
|
transitions = _ref.transitions,
|
|
243
247
|
transitionStagger = _ref.transitionStagger,
|
|
248
|
+
enableInteraction = _ref.enableInteraction,
|
|
249
|
+
disableInteraction = _ref.disableInteraction,
|
|
244
250
|
className = _ref.className;
|
|
245
251
|
|
|
246
252
|
var _useScreenSize = useScreenSize(),
|
|
@@ -436,7 +442,9 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
436
442
|
screenSize: {
|
|
437
443
|
width: width,
|
|
438
444
|
height: height
|
|
439
|
-
}
|
|
445
|
+
},
|
|
446
|
+
enableInteraction: enableInteraction,
|
|
447
|
+
disableInteraction: disableInteraction
|
|
440
448
|
})) : null)));
|
|
441
449
|
};
|
|
442
450
|
|
package/lib/index.js
CHANGED
|
@@ -232,6 +232,8 @@ var propTypes = {
|
|
|
232
232
|
active: PropTypes__default["default"].bool,
|
|
233
233
|
transitions: core.PropTypes.transitions,
|
|
234
234
|
transitionStagger: PropTypes__default["default"].number,
|
|
235
|
+
enableInteraction: PropTypes__default["default"].func,
|
|
236
|
+
disableInteraction: PropTypes__default["default"].func,
|
|
235
237
|
className: PropTypes__default["default"].string
|
|
236
238
|
};
|
|
237
239
|
var defaultProps = {
|
|
@@ -246,6 +248,8 @@ var defaultProps = {
|
|
|
246
248
|
active: true,
|
|
247
249
|
transitions: null,
|
|
248
250
|
transitionStagger: 50,
|
|
251
|
+
enableInteraction: null,
|
|
252
|
+
disableInteraction: null,
|
|
249
253
|
className: null
|
|
250
254
|
};
|
|
251
255
|
|
|
@@ -263,6 +267,8 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
263
267
|
captionMaxLines = _ref.captionMaxLines,
|
|
264
268
|
transitions = _ref.transitions,
|
|
265
269
|
transitionStagger = _ref.transitionStagger,
|
|
270
|
+
enableInteraction = _ref.enableInteraction,
|
|
271
|
+
disableInteraction = _ref.disableInteraction,
|
|
266
272
|
className = _ref.className;
|
|
267
273
|
|
|
268
274
|
var _useScreenSize = contexts.useScreenSize(),
|
|
@@ -458,7 +464,9 @@ var GalleryScreen = function GalleryScreen(_ref) {
|
|
|
458
464
|
screenSize: {
|
|
459
465
|
width: width,
|
|
460
466
|
height: height
|
|
461
|
-
}
|
|
467
|
+
},
|
|
468
|
+
enableInteraction: enableInteraction,
|
|
469
|
+
disableInteraction: disableInteraction
|
|
462
470
|
})) : null)));
|
|
463
471
|
};
|
|
464
472
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.89",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
53
|
-
"@micromag/element-background": "^0.3.
|
|
54
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
55
|
-
"@micromag/element-container": "^0.3.
|
|
56
|
-
"@micromag/element-grid": "^0.3.
|
|
57
|
-
"@micromag/element-layout": "^0.3.
|
|
58
|
-
"@micromag/element-text": "^0.3.
|
|
59
|
-
"@micromag/element-visual": "^0.3.
|
|
60
|
-
"@micromag/transforms": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.88",
|
|
53
|
+
"@micromag/element-background": "^0.3.88",
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.89",
|
|
55
|
+
"@micromag/element-container": "^0.3.88",
|
|
56
|
+
"@micromag/element-grid": "^0.3.88",
|
|
57
|
+
"@micromag/element-layout": "^0.3.88",
|
|
58
|
+
"@micromag/element-text": "^0.3.88",
|
|
59
|
+
"@micromag/element-visual": "^0.3.88",
|
|
60
|
+
"@micromag/transforms": "^0.3.88",
|
|
61
61
|
"classnames": "^2.2.6",
|
|
62
62
|
"lodash": "^4.17.21",
|
|
63
63
|
"prop-types": "^15.7.2",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
|
|
71
71
|
}
|