@micromag/screen-audio 0.3.88 → 0.3.94

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
  getMediaRef: PropTypes.func,
35
35
  showWave: PropTypes.bool,
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
  getMediaRef: null,
48
50
  showWave: false,
51
+ enableInteraction: null,
52
+ disableInteraction: null,
49
53
  className: null
50
54
  };
51
55
 
@@ -62,6 +66,8 @@ var AudioScreen = function AudioScreen(_ref) {
62
66
  transitions = _ref.transitions,
63
67
  getMediaRef = _ref.getMediaRef,
64
68
  showWave = _ref.showWave,
69
+ enableInteraction = _ref.enableInteraction,
70
+ disableInteraction = _ref.disableInteraction,
65
71
  className = _ref.className;
66
72
  var trackScreenMedia = useTrackScreenMedia('audio');
67
73
 
@@ -220,7 +226,9 @@ var AudioScreen = function AudioScreen(_ref) {
220
226
  screenSize: {
221
227
  width: width,
222
228
  height: height
223
- }
229
+ },
230
+ enableInteraction: enableInteraction,
231
+ disableInteraction: disableInteraction
224
232
  })) : null;
225
233
  var elements = [/*#__PURE__*/React.createElement(Spacer, {
226
234
  key: "spacer-top"
package/lib/index.js CHANGED
@@ -54,6 +54,8 @@ var propTypes = {
54
54
  transitions: core.PropTypes.transitions,
55
55
  getMediaRef: PropTypes__default["default"].func,
56
56
  showWave: PropTypes__default["default"].bool,
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
  getMediaRef: null,
69
71
  showWave: false,
72
+ enableInteraction: null,
73
+ disableInteraction: null,
70
74
  className: null
71
75
  };
72
76
 
@@ -83,6 +87,8 @@ var AudioScreen = function AudioScreen(_ref) {
83
87
  transitions = _ref.transitions,
84
88
  getMediaRef = _ref.getMediaRef,
85
89
  showWave = _ref.showWave,
90
+ enableInteraction = _ref.enableInteraction,
91
+ disableInteraction = _ref.disableInteraction,
86
92
  className = _ref.className;
87
93
  var trackScreenMedia = hooks.useTrackScreenMedia('audio');
88
94
 
@@ -241,7 +247,9 @@ var AudioScreen = function AudioScreen(_ref) {
241
247
  screenSize: {
242
248
  width: width,
243
249
  height: height
244
- }
250
+ },
251
+ enableInteraction: enableInteraction,
252
+ disableInteraction: disableInteraction
245
253
  })) : null;
246
254
  var elements = [/*#__PURE__*/React__default["default"].createElement(Layout.Spacer, {
247
255
  key: "spacer-top"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-audio",
3
- "version": "0.3.88",
3
+ "version": "0.3.94",
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.88",
53
- "@micromag/element-audio": "^0.3.88",
54
- "@micromag/element-background": "^0.3.88",
55
- "@micromag/element-call-to-action": "^0.3.88",
56
- "@micromag/element-closed-captions": "^0.3.88",
57
- "@micromag/element-container": "^0.3.88",
58
- "@micromag/element-layout": "^0.3.88",
59
- "@micromag/element-media-controls": "^0.3.88",
60
- "@micromag/transforms": "^0.3.88",
52
+ "@micromag/core": "^0.3.91",
53
+ "@micromag/element-audio": "^0.3.91",
54
+ "@micromag/element-background": "^0.3.91",
55
+ "@micromag/element-call-to-action": "^0.3.94",
56
+ "@micromag/element-closed-captions": "^0.3.91",
57
+ "@micromag/element-container": "^0.3.91",
58
+ "@micromag/element-layout": "^0.3.91",
59
+ "@micromag/element-media-controls": "^0.3.91",
60
+ "@micromag/transforms": "^0.3.91",
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": "d0fb1f7d4ae6bfa1fd07dc856307c1c4225ab889"
70
+ "gitHead": "a52ac2b4e1b68403bafc9ed067b10e834b82f825"
71
71
  }