@micromag/screen-quiz 0.3.109 → 0.3.112
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 -1
- package/lib/index.js +4 -3
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -18,7 +18,8 @@ import Heading from '@micromag/element-heading';
|
|
|
18
18
|
import Layout, { Spacer } from '@micromag/element-layout';
|
|
19
19
|
import Text from '@micromag/element-text';
|
|
20
20
|
import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
21
|
-
import { faCheck
|
|
21
|
+
import { faCheck } from '@fortawesome/free-solid-svg-icons/faCheck';
|
|
22
|
+
import { faTimes } from '@fortawesome/free-solid-svg-icons/faTimes';
|
|
22
23
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
23
24
|
import Button from '@micromag/element-button';
|
|
24
25
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
package/lib/index.js
CHANGED
|
@@ -22,7 +22,8 @@ var Heading = require('@micromag/element-heading');
|
|
|
22
22
|
var Layout = require('@micromag/element-layout');
|
|
23
23
|
var Text = require('@micromag/element-text');
|
|
24
24
|
var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
25
|
-
var
|
|
25
|
+
var faCheck = require('@fortawesome/free-solid-svg-icons/faCheck');
|
|
26
|
+
var faTimes = require('@fortawesome/free-solid-svg-icons/faTimes');
|
|
26
27
|
var reactFontawesome = require('@fortawesome/react-fontawesome');
|
|
27
28
|
var Button = require('@micromag/element-button');
|
|
28
29
|
var reactTransitionGroup = require('react-transition-group');
|
|
@@ -271,13 +272,13 @@ var Answers = function Answers(_ref) {
|
|
|
271
272
|
style: utils.getStyleFromColor(goodAnswerColor, 'backgroundColor')
|
|
272
273
|
}, /*#__PURE__*/React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, {
|
|
273
274
|
className: styles$4.faIcon,
|
|
274
|
-
icon:
|
|
275
|
+
icon: faCheck.faCheck
|
|
275
276
|
})) : null, !withoutGoodAnswer && !withoutIcon && answered && !hasAnsweredRight && userAnswer ? /*#__PURE__*/React__default["default"].createElement("span", {
|
|
276
277
|
className: styles$4.resultIcon,
|
|
277
278
|
style: utils.getStyleFromColor(badAnswerColor, 'backgroundColor')
|
|
278
279
|
}, /*#__PURE__*/React__default["default"].createElement(reactFontawesome.FontAwesomeIcon, {
|
|
279
280
|
className: styles$4.faIcon,
|
|
280
|
-
icon:
|
|
281
|
+
icon: faTimes.faTimes
|
|
281
282
|
})) : null, /*#__PURE__*/React__default["default"].createElement(Text__default["default"], Object.assign({}, label, {
|
|
282
283
|
className: styles$4.optionLabel,
|
|
283
284
|
textStyle: _objectSpread__default["default"](_objectSpread__default["default"]({}, buttonsTextStyle), textStyle)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quiz",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.112",
|
|
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.112",
|
|
56
|
+
"@micromag/data": "^0.3.112",
|
|
57
|
+
"@micromag/element-background": "^0.3.112",
|
|
58
|
+
"@micromag/element-button": "^0.3.112",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.112",
|
|
60
|
+
"@micromag/element-container": "^0.3.112",
|
|
61
|
+
"@micromag/element-heading": "^0.3.112",
|
|
62
|
+
"@micromag/element-layout": "^0.3.112",
|
|
63
|
+
"@micromag/element-text": "^0.3.112",
|
|
64
|
+
"@micromag/transforms": "^0.3.112",
|
|
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": "f85362071b76115397f9a77537ac6e66b91f59f3"
|
|
76
76
|
}
|