@micromag/screen-quiz 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 +9 -1
- package/lib/index.js +9 -1
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -507,6 +507,8 @@ var propTypes$3 = {
|
|
|
507
507
|
transitions: PropTypes.transitions,
|
|
508
508
|
transitionStagger: PropTypes$1.number,
|
|
509
509
|
type: PropTypes$1.string,
|
|
510
|
+
enableInteraction: PropTypes$1.func,
|
|
511
|
+
disableInteraction: PropTypes$1.func,
|
|
510
512
|
className: PropTypes$1.string
|
|
511
513
|
};
|
|
512
514
|
var defaultProps$3 = {
|
|
@@ -528,6 +530,8 @@ var defaultProps$3 = {
|
|
|
528
530
|
transitions: null,
|
|
529
531
|
transitionStagger: 100,
|
|
530
532
|
type: null,
|
|
533
|
+
enableInteraction: null,
|
|
534
|
+
disableInteraction: null,
|
|
531
535
|
className: null
|
|
532
536
|
};
|
|
533
537
|
|
|
@@ -550,6 +554,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
550
554
|
transitions = _ref.transitions,
|
|
551
555
|
transitionStagger = _ref.transitionStagger,
|
|
552
556
|
type = _ref.type,
|
|
557
|
+
enableInteraction = _ref.enableInteraction,
|
|
558
|
+
disableInteraction = _ref.disableInteraction,
|
|
553
559
|
className = _ref.className;
|
|
554
560
|
var screenId = id || 'screen-id';
|
|
555
561
|
var trackScreenEvent = useTrackScreenEvent(type);
|
|
@@ -682,7 +688,9 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
682
688
|
screenSize: {
|
|
683
689
|
width: width,
|
|
684
690
|
height: height
|
|
685
|
-
}
|
|
691
|
+
},
|
|
692
|
+
enableInteraction: enableInteraction,
|
|
693
|
+
disableInteraction: disableInteraction
|
|
686
694
|
}) : null));
|
|
687
695
|
};
|
|
688
696
|
|
package/lib/index.js
CHANGED
|
@@ -528,6 +528,8 @@ var propTypes$3 = {
|
|
|
528
528
|
transitions: core.PropTypes.transitions,
|
|
529
529
|
transitionStagger: PropTypes__default["default"].number,
|
|
530
530
|
type: PropTypes__default["default"].string,
|
|
531
|
+
enableInteraction: PropTypes__default["default"].func,
|
|
532
|
+
disableInteraction: PropTypes__default["default"].func,
|
|
531
533
|
className: PropTypes__default["default"].string
|
|
532
534
|
};
|
|
533
535
|
var defaultProps$3 = {
|
|
@@ -549,6 +551,8 @@ var defaultProps$3 = {
|
|
|
549
551
|
transitions: null,
|
|
550
552
|
transitionStagger: 100,
|
|
551
553
|
type: null,
|
|
554
|
+
enableInteraction: null,
|
|
555
|
+
disableInteraction: null,
|
|
552
556
|
className: null
|
|
553
557
|
};
|
|
554
558
|
|
|
@@ -571,6 +575,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
571
575
|
transitions = _ref.transitions,
|
|
572
576
|
transitionStagger = _ref.transitionStagger,
|
|
573
577
|
type = _ref.type,
|
|
578
|
+
enableInteraction = _ref.enableInteraction,
|
|
579
|
+
disableInteraction = _ref.disableInteraction,
|
|
574
580
|
className = _ref.className;
|
|
575
581
|
var screenId = id || 'screen-id';
|
|
576
582
|
var trackScreenEvent = hooks.useTrackScreenEvent(type);
|
|
@@ -703,7 +709,9 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
703
709
|
screenSize: {
|
|
704
710
|
width: width,
|
|
705
711
|
height: height
|
|
706
|
-
}
|
|
712
|
+
},
|
|
713
|
+
enableInteraction: enableInteraction,
|
|
714
|
+
disableInteraction: disableInteraction
|
|
707
715
|
}) : null));
|
|
708
716
|
};
|
|
709
717
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quiz",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.94",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
53
53
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
54
54
|
"@fortawesome/react-fontawesome": "^0.1.13",
|
|
55
|
-
"@micromag/core": "^0.3.
|
|
56
|
-
"@micromag/data": "^0.3.
|
|
57
|
-
"@micromag/element-background": "^0.3.
|
|
58
|
-
"@micromag/element-button": "^0.3.
|
|
59
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
60
|
-
"@micromag/element-container": "^0.3.
|
|
61
|
-
"@micromag/element-heading": "^0.3.
|
|
62
|
-
"@micromag/element-layout": "^0.3.
|
|
63
|
-
"@micromag/element-text": "^0.3.
|
|
64
|
-
"@micromag/transforms": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.91",
|
|
56
|
+
"@micromag/data": "^0.3.91",
|
|
57
|
+
"@micromag/element-background": "^0.3.91",
|
|
58
|
+
"@micromag/element-button": "^0.3.91",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.94",
|
|
60
|
+
"@micromag/element-container": "^0.3.91",
|
|
61
|
+
"@micromag/element-heading": "^0.3.91",
|
|
62
|
+
"@micromag/element-layout": "^0.3.91",
|
|
63
|
+
"@micromag/element-text": "^0.3.91",
|
|
64
|
+
"@micromag/transforms": "^0.3.91",
|
|
65
65
|
"classnames": "^2.2.6",
|
|
66
66
|
"lodash": "^4.17.21",
|
|
67
67
|
"prop-types": "^15.7.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "a52ac2b4e1b68403bafc9ed067b10e834b82f825"
|
|
76
76
|
}
|