@micromag/screen-title 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
@@ -38,6 +38,8 @@ var propTypes$2 = {
38
38
  active: PropTypes.bool,
39
39
  transitions: PropTypes$1.transitions,
40
40
  transitionStagger: PropTypes.number,
41
+ enableInteraction: PropTypes.func,
42
+ disableInteraction: PropTypes.func,
41
43
  className: PropTypes.string
42
44
  };
43
45
  var defaultProps$2 = {
@@ -63,6 +65,8 @@ var defaultProps$2 = {
63
65
  active: true,
64
66
  transitions: null,
65
67
  transitionStagger: 100,
68
+ enableInteraction: null,
69
+ disableInteraction: null,
66
70
  className: null
67
71
  };
68
72
 
@@ -85,6 +89,8 @@ var TitleScreen = function TitleScreen(_ref) {
85
89
  active = _ref.active,
86
90
  transitions = _ref.transitions,
87
91
  transitionStagger = _ref.transitionStagger,
92
+ enableInteraction = _ref.enableInteraction,
93
+ disableInteraction = _ref.disableInteraction,
88
94
  className = _ref.className;
89
95
 
90
96
  var _useScreenSize = useScreenSize(),
@@ -233,7 +239,9 @@ var TitleScreen = function TitleScreen(_ref) {
233
239
  screenSize: {
234
240
  width: width,
235
241
  height: height
236
- }
242
+ },
243
+ enableInteraction: enableInteraction,
244
+ disableInteraction: disableInteraction
237
245
  })) : null)));
238
246
  };
239
247
 
package/lib/index.js CHANGED
@@ -59,6 +59,8 @@ var propTypes$2 = {
59
59
  active: PropTypes__default["default"].bool,
60
60
  transitions: core.PropTypes.transitions,
61
61
  transitionStagger: PropTypes__default["default"].number,
62
+ enableInteraction: PropTypes__default["default"].func,
63
+ disableInteraction: PropTypes__default["default"].func,
62
64
  className: PropTypes__default["default"].string
63
65
  };
64
66
  var defaultProps$2 = {
@@ -84,6 +86,8 @@ var defaultProps$2 = {
84
86
  active: true,
85
87
  transitions: null,
86
88
  transitionStagger: 100,
89
+ enableInteraction: null,
90
+ disableInteraction: null,
87
91
  className: null
88
92
  };
89
93
 
@@ -106,6 +110,8 @@ var TitleScreen = function TitleScreen(_ref) {
106
110
  active = _ref.active,
107
111
  transitions = _ref.transitions,
108
112
  transitionStagger = _ref.transitionStagger,
113
+ enableInteraction = _ref.enableInteraction,
114
+ disableInteraction = _ref.disableInteraction,
109
115
  className = _ref.className;
110
116
 
111
117
  var _useScreenSize = contexts.useScreenSize(),
@@ -254,7 +260,9 @@ var TitleScreen = function TitleScreen(_ref) {
254
260
  screenSize: {
255
261
  width: width,
256
262
  height: height
257
- }
263
+ },
264
+ enableInteraction: enableInteraction,
265
+ disableInteraction: disableInteraction
258
266
  })) : null)));
259
267
  };
260
268
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-title",
3
- "version": "0.3.88",
3
+ "version": "0.3.94",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,14 +49,14 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.88",
53
- "@micromag/element-background": "^0.3.88",
54
- "@micromag/element-call-to-action": "^0.3.88",
55
- "@micromag/element-container": "^0.3.88",
56
- "@micromag/element-heading": "^0.3.88",
57
- "@micromag/element-layout": "^0.3.88",
58
- "@micromag/element-text": "^0.3.88",
59
- "@micromag/transforms": "^0.3.88",
52
+ "@micromag/core": "^0.3.91",
53
+ "@micromag/element-background": "^0.3.91",
54
+ "@micromag/element-call-to-action": "^0.3.94",
55
+ "@micromag/element-container": "^0.3.91",
56
+ "@micromag/element-heading": "^0.3.91",
57
+ "@micromag/element-layout": "^0.3.91",
58
+ "@micromag/element-text": "^0.3.91",
59
+ "@micromag/transforms": "^0.3.91",
60
60
  "classnames": "^2.2.6",
61
61
  "lodash": "^4.17.21",
62
62
  "prop-types": "^15.7.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "d0fb1f7d4ae6bfa1fd07dc856307c1c4225ab889"
69
+ "gitHead": "a52ac2b4e1b68403bafc9ed067b10e834b82f825"
70
70
  }