@micromag/screen-quiz 0.4.52 → 0.4.54

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.
Files changed (2) hide show
  1. package/es/index.js +8 -4
  2. package/package.json +16 -16
package/es/index.js CHANGED
@@ -880,7 +880,8 @@ function QuizScreen(_ref) {
880
880
  onAnswerClick: onAnswerClick,
881
881
  className: styles$2.question,
882
882
  style: !isPlaceholder ? {
883
- padding: spacing,
883
+ paddingLeft: spacing,
884
+ paddingRight: spacing,
884
885
  paddingTop: (!isPreview ? viewerTopHeight : 0) + (headerHeight || spacing),
885
886
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (footerHeight || spacing)
886
887
  } : null
@@ -1509,7 +1510,8 @@ function QuizMultipleScreen(_ref) {
1509
1510
  onAnswerTransitionEnd: hasResult ? null : onNextSlide,
1510
1511
  className: styles$2.question,
1511
1512
  style: !isPlaceholder ? {
1512
- padding: spacing,
1513
+ paddingLeft: spacing,
1514
+ paddingRight: spacing,
1513
1515
  paddingTop: (current && !isPreview ? viewerTopHeight : 0) + (headerHeight || spacing),
1514
1516
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1515
1517
  } : null
@@ -1522,7 +1524,8 @@ function QuizMultipleScreen(_ref) {
1522
1524
  element: /*#__PURE__*/jsx("div", {
1523
1525
  className: styles$2.next,
1524
1526
  style: !isPlaceholder ? {
1525
- padding: spacing,
1527
+ paddingLeft: spacing,
1528
+ paddingRight: spacing,
1526
1529
  paddingTop: (current && !isPreview ? viewerTopHeight : 0) + (headerHeight || spacing),
1527
1530
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1528
1531
  } : null,
@@ -1561,7 +1564,8 @@ function QuizMultipleScreen(_ref) {
1561
1564
  transitionDisabled: transitionDisabled,
1562
1565
  className: styles$2.results,
1563
1566
  style: !isPlaceholder ? {
1564
- padding: spacing,
1567
+ paddingLeft: spacing,
1568
+ paddingRight: spacing,
1565
1569
  paddingTop: (current && !isPreview ? viewerTopHeight : 0) + (headerHeight || spacing),
1566
1570
  paddingBottom: (current && !isPreview ? viewerBottomHeight : 0) + (callToActionHeight || spacing)
1567
1571
  } : null
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-quiz",
3
- "version": "0.4.52",
3
+ "version": "0.4.54",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -64,20 +64,20 @@
64
64
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
65
65
  "@fortawesome/free-solid-svg-icons": "^7.2.0",
66
66
  "@fortawesome/react-fontawesome": "^3.2.0",
67
- "@micromag/core": "^0.4.52",
68
- "@micromag/data": "^0.4.52",
69
- "@micromag/element-background": "^0.4.52",
70
- "@micromag/element-button": "^0.4.52",
71
- "@micromag/element-container": "^0.4.52",
72
- "@micromag/element-footer": "^0.4.52",
73
- "@micromag/element-header": "^0.4.52",
74
- "@micromag/element-heading": "^0.4.52",
75
- "@micromag/element-keypad": "^0.4.52",
76
- "@micromag/element-layout": "^0.4.52",
77
- "@micromag/element-scroll": "^0.4.52",
78
- "@micromag/element-text": "^0.4.52",
79
- "@micromag/element-visual": "^0.4.52",
80
- "@micromag/transforms": "^0.4.52",
67
+ "@micromag/core": "^0.4.54",
68
+ "@micromag/data": "^0.4.54",
69
+ "@micromag/element-background": "^0.4.54",
70
+ "@micromag/element-button": "^0.4.54",
71
+ "@micromag/element-container": "^0.4.54",
72
+ "@micromag/element-footer": "^0.4.54",
73
+ "@micromag/element-header": "^0.4.54",
74
+ "@micromag/element-heading": "^0.4.54",
75
+ "@micromag/element-keypad": "^0.4.54",
76
+ "@micromag/element-layout": "^0.4.54",
77
+ "@micromag/element-scroll": "^0.4.54",
78
+ "@micromag/element-text": "^0.4.54",
79
+ "@micromag/element-visual": "^0.4.54",
80
+ "@micromag/transforms": "^0.4.54",
81
81
  "@react-spring/core": "^10.0.3",
82
82
  "@react-spring/web": "^10.0.3",
83
83
  "classnames": "^2.2.6",
@@ -89,6 +89,6 @@
89
89
  "access": "public",
90
90
  "registry": "https://registry.npmjs.org/"
91
91
  },
92
- "gitHead": "7e9283049e6904a73ed2c8ac47b2e45465823656",
92
+ "gitHead": "b7aacdebb4a5c2179a58d21ab2aaea5bcdc43d69",
93
93
  "types": "es/index.d.ts"
94
94
  }