@micromag/screen-text 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
@@ -32,6 +32,8 @@ var propTypes = {
32
32
  active: PropTypes.bool,
33
33
  transitions: PropTypes$1.transitions,
34
34
  transitionStagger: PropTypes.number,
35
+ enableInteraction: PropTypes.func,
36
+ disableInteraction: PropTypes.func,
35
37
  className: PropTypes.string
36
38
  };
37
39
  var defaultProps = {
@@ -46,6 +48,8 @@ var defaultProps = {
46
48
  active: true,
47
49
  transitions: null,
48
50
  transitionStagger: 100,
51
+ enableInteraction: null,
52
+ disableInteraction: null,
49
53
  className: null
50
54
  };
51
55
 
@@ -63,6 +67,8 @@ var TextScreen = function TextScreen(_ref) {
63
67
  active = _ref.active,
64
68
  transitions = _ref.transitions,
65
69
  transitionStagger = _ref.transitionStagger,
70
+ enableInteraction = _ref.enableInteraction,
71
+ disableInteraction = _ref.disableInteraction,
66
72
  className = _ref.className;
67
73
 
68
74
  var _useScreenSize = useScreenSize(),
@@ -142,7 +148,9 @@ var TextScreen = function TextScreen(_ref) {
142
148
  screenSize: {
143
149
  width: width,
144
150
  height: height
145
- }
151
+ },
152
+ enableInteraction: enableInteraction,
153
+ disableInteraction: disableInteraction
146
154
  })) : null].filter(function (el) {
147
155
  return el !== null;
148
156
  });
package/lib/index.js CHANGED
@@ -52,6 +52,8 @@ var propTypes = {
52
52
  active: PropTypes__default["default"].bool,
53
53
  transitions: core.PropTypes.transitions,
54
54
  transitionStagger: PropTypes__default["default"].number,
55
+ enableInteraction: PropTypes__default["default"].func,
56
+ disableInteraction: PropTypes__default["default"].func,
55
57
  className: PropTypes__default["default"].string
56
58
  };
57
59
  var defaultProps = {
@@ -66,6 +68,8 @@ var defaultProps = {
66
68
  active: true,
67
69
  transitions: null,
68
70
  transitionStagger: 100,
71
+ enableInteraction: null,
72
+ disableInteraction: null,
69
73
  className: null
70
74
  };
71
75
 
@@ -83,6 +87,8 @@ var TextScreen = function TextScreen(_ref) {
83
87
  active = _ref.active,
84
88
  transitions = _ref.transitions,
85
89
  transitionStagger = _ref.transitionStagger,
90
+ enableInteraction = _ref.enableInteraction,
91
+ disableInteraction = _ref.disableInteraction,
86
92
  className = _ref.className;
87
93
 
88
94
  var _useScreenSize = contexts.useScreenSize(),
@@ -162,7 +168,9 @@ var TextScreen = function TextScreen(_ref) {
162
168
  screenSize: {
163
169
  width: width,
164
170
  height: height
165
- }
171
+ },
172
+ enableInteraction: enableInteraction,
173
+ disableInteraction: disableInteraction
166
174
  })) : null].filter(function (el) {
167
175
  return el !== null;
168
176
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-text",
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
  }