@micromag/screen-survey 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 +5 -2
- package/lib/index.js +5 -2
- package/package.json +13 -13
package/es/index.js
CHANGED
|
@@ -93,7 +93,8 @@ var SurveyScreen = function SurveyScreen(_ref) {
|
|
|
93
93
|
var _useScreenSize = useScreenSize(),
|
|
94
94
|
width = _useScreenSize.width,
|
|
95
95
|
height = _useScreenSize.height,
|
|
96
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
96
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
97
|
+
resolution = _useScreenSize.resolution;
|
|
97
98
|
|
|
98
99
|
var _useViewer = useViewer(),
|
|
99
100
|
menuSize = _useViewer.menuSize;
|
|
@@ -413,6 +414,7 @@ var SurveyScreen = function SurveyScreen(_ref) {
|
|
|
413
414
|
background: background,
|
|
414
415
|
width: width,
|
|
415
416
|
height: height,
|
|
417
|
+
resolution: resolution,
|
|
416
418
|
playing: backgroundPlaying,
|
|
417
419
|
shouldLoad: backgroundShouldLoad
|
|
418
420
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -559,8 +561,9 @@ var definition = {
|
|
|
559
561
|
name: 'callToAction',
|
|
560
562
|
type: 'call-to-action',
|
|
561
563
|
theme: {
|
|
564
|
+
boxStyle: 'cta',
|
|
562
565
|
label: {
|
|
563
|
-
textStyle: '
|
|
566
|
+
textStyle: 'cta'
|
|
564
567
|
}
|
|
565
568
|
}
|
|
566
569
|
}]
|
package/lib/index.js
CHANGED
|
@@ -114,7 +114,8 @@ var SurveyScreen = function SurveyScreen(_ref) {
|
|
|
114
114
|
var _useScreenSize = contexts.useScreenSize(),
|
|
115
115
|
width = _useScreenSize.width,
|
|
116
116
|
height = _useScreenSize.height,
|
|
117
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
117
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
118
|
+
resolution = _useScreenSize.resolution;
|
|
118
119
|
|
|
119
120
|
var _useViewer = contexts.useViewer(),
|
|
120
121
|
menuSize = _useViewer.menuSize;
|
|
@@ -434,6 +435,7 @@ var SurveyScreen = function SurveyScreen(_ref) {
|
|
|
434
435
|
background: background,
|
|
435
436
|
width: width,
|
|
436
437
|
height: height,
|
|
438
|
+
resolution: resolution,
|
|
437
439
|
playing: backgroundPlaying,
|
|
438
440
|
shouldLoad: backgroundShouldLoad
|
|
439
441
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -580,8 +582,9 @@ var definition = {
|
|
|
580
582
|
name: 'callToAction',
|
|
581
583
|
type: 'call-to-action',
|
|
582
584
|
theme: {
|
|
585
|
+
boxStyle: 'cta',
|
|
583
586
|
label: {
|
|
584
|
-
textStyle: '
|
|
587
|
+
textStyle: 'cta'
|
|
585
588
|
}
|
|
586
589
|
}
|
|
587
590
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-survey",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
53
|
-
"@micromag/data": "^0.3.
|
|
54
|
-
"@micromag/element-background": "^0.3.
|
|
55
|
-
"@micromag/element-button": "^0.3.
|
|
56
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
57
|
-
"@micromag/element-container": "^0.3.
|
|
58
|
-
"@micromag/element-heading": "^0.3.
|
|
59
|
-
"@micromag/element-layout": "^0.3.
|
|
60
|
-
"@micromag/element-scroll": "^0.3.
|
|
61
|
-
"@micromag/element-text": "^0.3.
|
|
62
|
-
"@micromag/transforms": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.71",
|
|
53
|
+
"@micromag/data": "^0.3.71",
|
|
54
|
+
"@micromag/element-background": "^0.3.71",
|
|
55
|
+
"@micromag/element-button": "^0.3.71",
|
|
56
|
+
"@micromag/element-call-to-action": "^0.3.71",
|
|
57
|
+
"@micromag/element-container": "^0.3.71",
|
|
58
|
+
"@micromag/element-heading": "^0.3.71",
|
|
59
|
+
"@micromag/element-layout": "^0.3.71",
|
|
60
|
+
"@micromag/element-scroll": "^0.3.71",
|
|
61
|
+
"@micromag/element-text": "^0.3.71",
|
|
62
|
+
"@micromag/transforms": "^0.3.71",
|
|
63
63
|
"classnames": "^2.2.6",
|
|
64
64
|
"lodash": "^4.17.21",
|
|
65
65
|
"prop-types": "^15.7.2",
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"publishConfig": {
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "50093d0adc731dfb58656015179c4ac0b1c6765f"
|
|
73
73
|
}
|