@micromag/screen-quiz 0.2.313 → 0.2.325
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 +3 -1
- package/lib/index.js +3 -1
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -334,6 +334,7 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
334
334
|
return onAnswerClick(answerI);
|
|
335
335
|
},
|
|
336
336
|
disabled: isPreview,
|
|
337
|
+
focusable: current && isView,
|
|
337
338
|
buttonStyle: userAnswer || !answered ? {
|
|
338
339
|
borderWidth: 2,
|
|
339
340
|
borderStyle: 'solid',
|
|
@@ -402,7 +403,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
402
403
|
className: styles.callToAction,
|
|
403
404
|
callToAction: callToAction,
|
|
404
405
|
disabled: !answerTransitionComplete,
|
|
405
|
-
animationDisabled: isPreview
|
|
406
|
+
animationDisabled: isPreview,
|
|
407
|
+
focusable: current && isView
|
|
406
408
|
}) : null));
|
|
407
409
|
};
|
|
408
410
|
|
package/lib/index.js
CHANGED
|
@@ -354,6 +354,7 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
354
354
|
return onAnswerClick(answerI);
|
|
355
355
|
},
|
|
356
356
|
disabled: isPreview,
|
|
357
|
+
focusable: current && isView,
|
|
357
358
|
buttonStyle: userAnswer || !answered ? {
|
|
358
359
|
borderWidth: 2,
|
|
359
360
|
borderStyle: 'solid',
|
|
@@ -422,7 +423,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
422
423
|
className: styles.callToAction,
|
|
423
424
|
callToAction: callToAction,
|
|
424
425
|
disabled: !answerTransitionComplete,
|
|
425
|
-
animationDisabled: isPreview
|
|
426
|
+
animationDisabled: isPreview,
|
|
427
|
+
focusable: current && isView
|
|
426
428
|
}) : null));
|
|
427
429
|
};
|
|
428
430
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quiz",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.325",
|
|
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.2.
|
|
56
|
-
"@micromag/data": "^0.2.
|
|
57
|
-
"@micromag/element-background": "^0.2.
|
|
58
|
-
"@micromag/element-button": "^0.2.
|
|
59
|
-
"@micromag/element-call-to-action": "^0.2.
|
|
60
|
-
"@micromag/element-container": "^0.2.
|
|
61
|
-
"@micromag/element-heading": "^0.2.
|
|
62
|
-
"@micromag/element-layout": "^0.2.
|
|
63
|
-
"@micromag/element-text": "^0.2.
|
|
64
|
-
"@micromag/transforms": "^0.2.
|
|
55
|
+
"@micromag/core": "^0.2.325",
|
|
56
|
+
"@micromag/data": "^0.2.325",
|
|
57
|
+
"@micromag/element-background": "^0.2.325",
|
|
58
|
+
"@micromag/element-button": "^0.2.325",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.2.325",
|
|
60
|
+
"@micromag/element-container": "^0.2.325",
|
|
61
|
+
"@micromag/element-heading": "^0.2.325",
|
|
62
|
+
"@micromag/element-layout": "^0.2.325",
|
|
63
|
+
"@micromag/element-text": "^0.2.325",
|
|
64
|
+
"@micromag/transforms": "^0.2.325",
|
|
65
65
|
"classnames": "^2.2.6",
|
|
66
66
|
"lodash": "^4.17.20",
|
|
67
67
|
"prop-types": "^15.7.2",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "dda62fbb8260a3e66d223afd17e89172d3002cd7"
|
|
75
75
|
}
|