@micromag/screen-quiz 0.3.67 → 0.3.71
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 +10 -4
- package/lib/index.js +10 -4
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -513,7 +513,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
513
513
|
var _useScreenSize = useScreenSize(),
|
|
514
514
|
width = _useScreenSize.width,
|
|
515
515
|
height = _useScreenSize.height,
|
|
516
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
516
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
517
|
+
resolution = _useScreenSize.resolution;
|
|
517
518
|
|
|
518
519
|
var _useViewer = useViewer(),
|
|
519
520
|
menuSize = _useViewer.menuSize;
|
|
@@ -597,6 +598,7 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
597
598
|
background: background,
|
|
598
599
|
width: width,
|
|
599
600
|
height: height,
|
|
601
|
+
resolution: resolution,
|
|
600
602
|
playing: backgroundPlaying,
|
|
601
603
|
shouldLoad: backgroundShouldLoad
|
|
602
604
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -939,7 +941,8 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
|
|
|
939
941
|
var _useScreenSize = useScreenSize(),
|
|
940
942
|
width = _useScreenSize.width,
|
|
941
943
|
height = _useScreenSize.height,
|
|
942
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
944
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
945
|
+
resolution = _useScreenSize.resolution;
|
|
943
946
|
|
|
944
947
|
var _useViewer = useViewer(),
|
|
945
948
|
menuSize = _useViewer.menuSize;
|
|
@@ -1168,6 +1171,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
|
|
|
1168
1171
|
background: finalBackground,
|
|
1169
1172
|
width: width,
|
|
1170
1173
|
height: height,
|
|
1174
|
+
resolution: resolution,
|
|
1171
1175
|
playing: backgroundPlaying,
|
|
1172
1176
|
shouldLoad: backgroundShouldLoad,
|
|
1173
1177
|
className: styles$2.background
|
|
@@ -1383,8 +1387,9 @@ var definition = [{
|
|
|
1383
1387
|
name: 'callToAction',
|
|
1384
1388
|
type: 'call-to-action',
|
|
1385
1389
|
theme: {
|
|
1390
|
+
boxStyle: 'cta',
|
|
1386
1391
|
label: {
|
|
1387
|
-
textStyle: '
|
|
1392
|
+
textStyle: 'cta'
|
|
1388
1393
|
}
|
|
1389
1394
|
}
|
|
1390
1395
|
}]
|
|
@@ -1648,8 +1653,9 @@ var definition = [{
|
|
|
1648
1653
|
name: 'callToAction',
|
|
1649
1654
|
type: 'call-to-action',
|
|
1650
1655
|
theme: {
|
|
1656
|
+
boxStyle: 'cta',
|
|
1651
1657
|
label: {
|
|
1652
|
-
textStyle: '
|
|
1658
|
+
textStyle: 'cta'
|
|
1653
1659
|
}
|
|
1654
1660
|
}
|
|
1655
1661
|
}]
|
package/lib/index.js
CHANGED
|
@@ -534,7 +534,8 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
534
534
|
var _useScreenSize = contexts.useScreenSize(),
|
|
535
535
|
width = _useScreenSize.width,
|
|
536
536
|
height = _useScreenSize.height,
|
|
537
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
537
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
538
|
+
resolution = _useScreenSize.resolution;
|
|
538
539
|
|
|
539
540
|
var _useViewer = contexts.useViewer(),
|
|
540
541
|
menuSize = _useViewer.menuSize;
|
|
@@ -618,6 +619,7 @@ var QuizScreen = function QuizScreen(_ref) {
|
|
|
618
619
|
background: background,
|
|
619
620
|
width: width,
|
|
620
621
|
height: height,
|
|
622
|
+
resolution: resolution,
|
|
621
623
|
playing: backgroundPlaying,
|
|
622
624
|
shouldLoad: backgroundShouldLoad
|
|
623
625
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -960,7 +962,8 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
|
|
|
960
962
|
var _useScreenSize = contexts.useScreenSize(),
|
|
961
963
|
width = _useScreenSize.width,
|
|
962
964
|
height = _useScreenSize.height,
|
|
963
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
965
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
966
|
+
resolution = _useScreenSize.resolution;
|
|
964
967
|
|
|
965
968
|
var _useViewer = contexts.useViewer(),
|
|
966
969
|
menuSize = _useViewer.menuSize;
|
|
@@ -1189,6 +1192,7 @@ var QuizMultipleScreen = function QuizMultipleScreen(_ref) {
|
|
|
1189
1192
|
background: finalBackground,
|
|
1190
1193
|
width: width,
|
|
1191
1194
|
height: height,
|
|
1195
|
+
resolution: resolution,
|
|
1192
1196
|
playing: backgroundPlaying,
|
|
1193
1197
|
shouldLoad: backgroundShouldLoad,
|
|
1194
1198
|
className: styles$2.background
|
|
@@ -1404,8 +1408,9 @@ var definition = [{
|
|
|
1404
1408
|
name: 'callToAction',
|
|
1405
1409
|
type: 'call-to-action',
|
|
1406
1410
|
theme: {
|
|
1411
|
+
boxStyle: 'cta',
|
|
1407
1412
|
label: {
|
|
1408
|
-
textStyle: '
|
|
1413
|
+
textStyle: 'cta'
|
|
1409
1414
|
}
|
|
1410
1415
|
}
|
|
1411
1416
|
}]
|
|
@@ -1669,8 +1674,9 @@ var definition = [{
|
|
|
1669
1674
|
name: 'callToAction',
|
|
1670
1675
|
type: 'call-to-action',
|
|
1671
1676
|
theme: {
|
|
1677
|
+
boxStyle: 'cta',
|
|
1672
1678
|
label: {
|
|
1673
|
-
textStyle: '
|
|
1679
|
+
textStyle: 'cta'
|
|
1674
1680
|
}
|
|
1675
1681
|
}
|
|
1676
1682
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-quiz",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
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.71",
|
|
56
|
+
"@micromag/data": "^0.3.71",
|
|
57
|
+
"@micromag/element-background": "^0.3.71",
|
|
58
|
+
"@micromag/element-button": "^0.3.71",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.71",
|
|
60
|
+
"@micromag/element-container": "^0.3.71",
|
|
61
|
+
"@micromag/element-heading": "^0.3.71",
|
|
62
|
+
"@micromag/element-layout": "^0.3.71",
|
|
63
|
+
"@micromag/element-text": "^0.3.71",
|
|
64
|
+
"@micromag/transforms": "^0.3.71",
|
|
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": "50093d0adc731dfb58656015179c4ac0b1c6765f"
|
|
76
76
|
}
|