@micromag/screen-video 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 CHANGED
@@ -33,6 +33,8 @@ var propTypes = {
33
33
  transitions: PropTypes$1.transitions,
34
34
  spacing: PropTypes.number,
35
35
  getMediaRef: PropTypes.func,
36
+ enableInteraction: PropTypes.func,
37
+ disableInteraction: PropTypes.func,
36
38
  className: PropTypes.string
37
39
  };
38
40
  var defaultProps = {
@@ -46,6 +48,8 @@ var defaultProps = {
46
48
  transitions: null,
47
49
  spacing: 20,
48
50
  getMediaRef: null,
51
+ enableInteraction: null,
52
+ disableInteraction: null,
49
53
  className: null
50
54
  };
51
55
 
@@ -62,6 +66,8 @@ var VideoScreen = function VideoScreen(_ref) {
62
66
  transitions = _ref.transitions,
63
67
  spacing = _ref.spacing,
64
68
  getMediaRef = _ref.getMediaRef,
69
+ enableInteraction = _ref.enableInteraction,
70
+ disableInteraction = _ref.disableInteraction,
65
71
  className = _ref.className;
66
72
  var trackScreenMedia = useTrackScreenMedia('video');
67
73
 
@@ -391,7 +397,9 @@ var VideoScreen = function VideoScreen(_ref) {
391
397
  screenSize: {
392
398
  width: width,
393
399
  height: height
394
- }
400
+ },
401
+ enableInteraction: enableInteraction,
402
+ disableInteraction: disableInteraction
395
403
  })) : null))) : null];
396
404
  return /*#__PURE__*/React.createElement("div", Object.assign({
397
405
  className: classNames([styles.container, (_ref12 = {}, _defineProperty(_ref12, className, className !== null), _defineProperty(_ref12, styles.fullscreen, fullscreen), _ref12)]),
package/lib/index.js CHANGED
@@ -54,6 +54,8 @@ var propTypes = {
54
54
  transitions: core.PropTypes.transitions,
55
55
  spacing: PropTypes__default["default"].number,
56
56
  getMediaRef: PropTypes__default["default"].func,
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 = {
@@ -67,6 +69,8 @@ var defaultProps = {
67
69
  transitions: null,
68
70
  spacing: 20,
69
71
  getMediaRef: null,
72
+ enableInteraction: null,
73
+ disableInteraction: null,
70
74
  className: null
71
75
  };
72
76
 
@@ -83,6 +87,8 @@ var VideoScreen = function VideoScreen(_ref) {
83
87
  transitions = _ref.transitions,
84
88
  spacing = _ref.spacing,
85
89
  getMediaRef = _ref.getMediaRef,
90
+ enableInteraction = _ref.enableInteraction,
91
+ disableInteraction = _ref.disableInteraction,
86
92
  className = _ref.className;
87
93
  var trackScreenMedia = hooks.useTrackScreenMedia('video');
88
94
 
@@ -412,7 +418,9 @@ var VideoScreen = function VideoScreen(_ref) {
412
418
  screenSize: {
413
419
  width: width,
414
420
  height: height
415
- }
421
+ },
422
+ enableInteraction: enableInteraction,
423
+ disableInteraction: disableInteraction
416
424
  })) : null))) : null];
417
425
  return /*#__PURE__*/React__default["default"].createElement("div", Object.assign({
418
426
  className: classNames__default["default"]([styles.container, (_ref12 = {}, _defineProperty__default["default"](_ref12, className, className !== null), _defineProperty__default["default"](_ref12, styles.fullscreen, fullscreen), _ref12)]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,7 +52,7 @@
52
52
  "@folklore/size": "^0.1.20",
53
53
  "@micromag/core": "^0.3.88",
54
54
  "@micromag/element-background": "^0.3.88",
55
- "@micromag/element-call-to-action": "^0.3.88",
55
+ "@micromag/element-call-to-action": "^0.3.89",
56
56
  "@micromag/element-closed-captions": "^0.3.88",
57
57
  "@micromag/element-container": "^0.3.88",
58
58
  "@micromag/element-image": "^0.3.88",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "d0fb1f7d4ae6bfa1fd07dc856307c1c4225ab889"
71
+ "gitHead": "b79d346163c149050ed713e8162675f11b8baf4b"
72
72
  }