@micromag/screen-slideshow 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.
Files changed (3) hide show
  1. package/es/index.js +10 -3
  2. package/lib/index.js +10 -3
  3. package/package.json +10 -10
package/es/index.js CHANGED
@@ -29,6 +29,8 @@ var propTypes = {
29
29
  active: PropTypes.bool,
30
30
  transitions: PropTypes$1.transitions,
31
31
  // transitionStagger: PropTypes.number,
32
+ enableInteraction: PropTypes.func,
33
+ disableInteraction: PropTypes.func,
32
34
  className: PropTypes.string
33
35
  };
34
36
  var defaultProps = {
@@ -43,14 +45,15 @@ var defaultProps = {
43
45
  active: true,
44
46
  transitions: null,
45
47
  // transitionStagger: 50,
48
+ enableInteraction: null,
49
+ disableInteraction: null,
46
50
  className: null
47
51
  };
48
52
 
49
53
  var SlideshowScreen = function SlideshowScreen(_ref) {
50
54
  var _ref4;
51
55
 
52
- _ref.layout;
53
- var slides = _ref.slides,
56
+ var slides = _ref.slides,
54
57
  withCaptions = _ref.withCaptions,
55
58
  background = _ref.background,
56
59
  callToAction = _ref.callToAction,
@@ -59,6 +62,8 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
59
62
  spacing = _ref.spacing,
60
63
  captionMaxLines = _ref.captionMaxLines,
61
64
  transitions = _ref.transitions,
65
+ enableInteraction = _ref.enableInteraction,
66
+ disableInteraction = _ref.disableInteraction,
62
67
  className = _ref.className;
63
68
 
64
69
  var _useScreenSize = useScreenSize(),
@@ -213,7 +218,9 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
213
218
  screenSize: {
214
219
  width: width,
215
220
  height: height
216
- }
221
+ },
222
+ enableInteraction: enableInteraction,
223
+ disableInteraction: disableInteraction
217
224
  })) : null)));
218
225
  };
219
226
 
package/lib/index.js CHANGED
@@ -46,6 +46,8 @@ var propTypes = {
46
46
  active: PropTypes__default["default"].bool,
47
47
  transitions: core.PropTypes.transitions,
48
48
  // transitionStagger: PropTypes.number,
49
+ enableInteraction: PropTypes__default["default"].func,
50
+ disableInteraction: PropTypes__default["default"].func,
49
51
  className: PropTypes__default["default"].string
50
52
  };
51
53
  var defaultProps = {
@@ -60,14 +62,15 @@ var defaultProps = {
60
62
  active: true,
61
63
  transitions: null,
62
64
  // transitionStagger: 50,
65
+ enableInteraction: null,
66
+ disableInteraction: null,
63
67
  className: null
64
68
  };
65
69
 
66
70
  var SlideshowScreen = function SlideshowScreen(_ref) {
67
71
  var _ref4;
68
72
 
69
- _ref.layout;
70
- var slides = _ref.slides,
73
+ var slides = _ref.slides,
71
74
  withCaptions = _ref.withCaptions,
72
75
  background = _ref.background,
73
76
  callToAction = _ref.callToAction,
@@ -76,6 +79,8 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
76
79
  spacing = _ref.spacing,
77
80
  captionMaxLines = _ref.captionMaxLines,
78
81
  transitions = _ref.transitions,
82
+ enableInteraction = _ref.enableInteraction,
83
+ disableInteraction = _ref.disableInteraction,
79
84
  className = _ref.className;
80
85
 
81
86
  var _useScreenSize = contexts.useScreenSize(),
@@ -230,7 +235,9 @@ var SlideshowScreen = function SlideshowScreen(_ref) {
230
235
  screenSize: {
231
236
  width: width,
232
237
  height: height
233
- }
238
+ },
239
+ enableInteraction: enableInteraction,
240
+ disableInteraction: disableInteraction
234
241
  })) : null)));
235
242
  };
236
243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-slideshow",
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-layout": "^0.3.88",
57
- "@micromag/element-text": "^0.3.88",
58
- "@micromag/element-visual": "^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-layout": "^0.3.91",
57
+ "@micromag/element-text": "^0.3.91",
58
+ "@micromag/element-visual": "^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
  }