@micromag/screen-quiz 0.3.215 → 0.3.218

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 CHANGED
@@ -696,7 +696,7 @@ var QuizScreen = function QuizScreen(_ref) {
696
696
  className: styles$2.question,
697
697
  style: !isPlaceholder ? {
698
698
  padding: spacing,
699
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
699
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
700
700
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
701
701
  } : null
702
702
  })), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React.createElement("div", {
@@ -1351,7 +1351,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1351
1351
  className: styles$2.intro,
1352
1352
  style: !isPlaceholder ? {
1353
1353
  padding: spacing,
1354
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1354
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1355
1355
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1356
1356
  } : null,
1357
1357
  onClickButton: onClickIntroButton
@@ -1383,7 +1383,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1383
1383
  className: styles$2.question,
1384
1384
  style: !isPlaceholder ? {
1385
1385
  padding: spacing,
1386
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1386
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1387
1387
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1388
1388
  } : null
1389
1389
  })) : null, isResults ? /*#__PURE__*/React.createElement(CSSTransition, {
@@ -1401,7 +1401,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1401
1401
  className: styles$2.results,
1402
1402
  style: !isPlaceholder ? {
1403
1403
  padding: spacing,
1404
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1404
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1405
1405
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1406
1406
  } : null
1407
1407
  }))) : null])), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React.createElement("div", {
package/lib/index.js CHANGED
@@ -718,7 +718,7 @@ var QuizScreen = function QuizScreen(_ref) {
718
718
  className: styles$2.question,
719
719
  style: !isPlaceholder ? {
720
720
  padding: spacing,
721
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
721
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
722
722
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
723
723
  } : null
724
724
  })), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -1373,7 +1373,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1373
1373
  className: styles$2.intro,
1374
1374
  style: !isPlaceholder ? {
1375
1375
  padding: spacing,
1376
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1376
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1377
1377
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1378
1378
  } : null,
1379
1379
  onClickButton: onClickIntroButton
@@ -1405,7 +1405,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1405
1405
  className: styles$2.question,
1406
1406
  style: !isPlaceholder ? {
1407
1407
  padding: spacing,
1408
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1408
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1409
1409
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1410
1410
  } : null
1411
1411
  })) : null, isResults ? /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, {
@@ -1423,7 +1423,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
1423
1423
  className: styles$2.results,
1424
1424
  style: !isPlaceholder ? {
1425
1425
  padding: spacing,
1426
- paddingTop: (current && !isPreview ? viewerTopHeight : 0) + spacing,
1426
+ paddingTop: (!isPreview ? viewerTopHeight : 0) + spacing,
1427
1427
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1428
1428
  } : null
1429
1429
  }))) : null])), !isPlaceholder && hasCallToAction ? /*#__PURE__*/React__default["default"].createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quiz",
3
- "version": "0.3.215",
3
+ "version": "0.3.218",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,17 +52,17 @@
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.213",
56
- "@micromag/data": "^0.3.213",
57
- "@micromag/element-background": "^0.3.215",
58
- "@micromag/element-button": "^0.3.213",
59
- "@micromag/element-call-to-action": "^0.3.213",
60
- "@micromag/element-container": "^0.3.213",
61
- "@micromag/element-heading": "^0.3.213",
62
- "@micromag/element-layout": "^0.3.213",
63
- "@micromag/element-scroll": "^0.3.213",
64
- "@micromag/element-text": "^0.3.213",
65
- "@micromag/transforms": "^0.3.213",
55
+ "@micromag/core": "^0.3.218",
56
+ "@micromag/data": "^0.3.218",
57
+ "@micromag/element-background": "^0.3.218",
58
+ "@micromag/element-button": "^0.3.218",
59
+ "@micromag/element-call-to-action": "^0.3.218",
60
+ "@micromag/element-container": "^0.3.218",
61
+ "@micromag/element-heading": "^0.3.218",
62
+ "@micromag/element-layout": "^0.3.218",
63
+ "@micromag/element-scroll": "^0.3.218",
64
+ "@micromag/element-text": "^0.3.218",
65
+ "@micromag/transforms": "^0.3.218",
66
66
  "classnames": "^2.2.6",
67
67
  "lodash": "^4.17.21",
68
68
  "prop-types": "^15.7.2",
@@ -73,5 +73,5 @@
73
73
  "publishConfig": {
74
74
  "access": "public"
75
75
  },
76
- "gitHead": "2a7a0cb941473db8a20f36ab03dfe8979320df9a"
76
+ "gitHead": "ae1a2d883a94e5d15c2d011bf6e7e23574b6b8a1"
77
77
  }