@micromag/screen-quiz 0.3.827 → 0.3.829
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 +2 -2
- package/package.json +4 -4
package/es/index.js
CHANGED
|
@@ -353,13 +353,13 @@ var Answers = function Answers(_ref) {
|
|
|
353
353
|
var finalButtonStyle = _objectSpread(_objectSpread(_objectSpread({}, buttonsStyle), inactiveButtonStyle), answerButtonStyle);
|
|
354
354
|
var finalTextStyle = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, Object.keys(buttonsTextStyle || {}).reduce(function (acc, key) {
|
|
355
355
|
var value = buttonsTextStyle[key];
|
|
356
|
-
if (value !== null) {
|
|
356
|
+
if (value !== null && value !== '') {
|
|
357
357
|
acc[key] = value;
|
|
358
358
|
}
|
|
359
359
|
return acc;
|
|
360
360
|
}, {})), Object.keys(textStyle || {}).reduce(function (acc, key) {
|
|
361
361
|
var value = textStyle[key];
|
|
362
|
-
if (value !== null) {
|
|
362
|
+
if (value !== null && value !== '') {
|
|
363
363
|
acc[key] = value;
|
|
364
364
|
}
|
|
365
365
|
return acc;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quiz",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.829",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"@micromag/core": "^0.3.824",
|
|
67
67
|
"@micromag/data": "^0.3.824",
|
|
68
68
|
"@micromag/element-background": "^0.3.824",
|
|
69
|
-
"@micromag/element-button": "^0.3.
|
|
69
|
+
"@micromag/element-button": "^0.3.829",
|
|
70
70
|
"@micromag/element-container": "^0.3.824",
|
|
71
|
-
"@micromag/element-footer": "^0.3.
|
|
71
|
+
"@micromag/element-footer": "^0.3.829",
|
|
72
72
|
"@micromag/element-header": "^0.3.824",
|
|
73
73
|
"@micromag/element-heading": "^0.3.824",
|
|
74
74
|
"@micromag/element-keypad": "^0.3.824",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"access": "public",
|
|
91
91
|
"registry": "https://registry.npmjs.org/"
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "35fb9241ce6f9580397150bd05115f9a6f4048c8"
|
|
94
94
|
}
|