@micromag/screen-contribution 0.3.68 → 0.3.73
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
|
@@ -92,7 +92,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
92
92
|
var _useScreenSize = useScreenSize(),
|
|
93
93
|
width = _useScreenSize.width,
|
|
94
94
|
height = _useScreenSize.height,
|
|
95
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
95
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
96
|
+
resolution = _useScreenSize.resolution;
|
|
96
97
|
|
|
97
98
|
var _useViewer = useViewer(),
|
|
98
99
|
menuSize = _useViewer.menuSize;
|
|
@@ -416,6 +417,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
416
417
|
background: background,
|
|
417
418
|
width: width,
|
|
418
419
|
height: height,
|
|
420
|
+
resolution: resolution,
|
|
419
421
|
playing: backgroundPlaying,
|
|
420
422
|
shouldLoad: backgroundShouldLoad
|
|
421
423
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -578,8 +580,9 @@ var definition = {
|
|
|
578
580
|
name: 'callToAction',
|
|
579
581
|
type: 'call-to-action',
|
|
580
582
|
theme: {
|
|
583
|
+
boxStyle: 'cta',
|
|
581
584
|
label: {
|
|
582
|
-
textStyle: '
|
|
585
|
+
textStyle: 'cta'
|
|
583
586
|
}
|
|
584
587
|
}
|
|
585
588
|
}]
|
package/lib/index.js
CHANGED
|
@@ -113,7 +113,8 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
113
113
|
var _useScreenSize = contexts.useScreenSize(),
|
|
114
114
|
width = _useScreenSize.width,
|
|
115
115
|
height = _useScreenSize.height,
|
|
116
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
116
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
117
|
+
resolution = _useScreenSize.resolution;
|
|
117
118
|
|
|
118
119
|
var _useViewer = contexts.useViewer(),
|
|
119
120
|
menuSize = _useViewer.menuSize;
|
|
@@ -437,6 +438,7 @@ var ContributionScreen = function ContributionScreen(_ref) {
|
|
|
437
438
|
background: background,
|
|
438
439
|
width: width,
|
|
439
440
|
height: height,
|
|
441
|
+
resolution: resolution,
|
|
440
442
|
playing: backgroundPlaying,
|
|
441
443
|
shouldLoad: backgroundShouldLoad
|
|
442
444
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -599,8 +601,9 @@ var definition = {
|
|
|
599
601
|
name: 'callToAction',
|
|
600
602
|
type: 'call-to-action',
|
|
601
603
|
theme: {
|
|
604
|
+
boxStyle: 'cta',
|
|
602
605
|
label: {
|
|
603
|
-
textStyle: '
|
|
606
|
+
textStyle: 'cta'
|
|
604
607
|
}
|
|
605
608
|
}
|
|
606
609
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-contribution",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.73",
|
|
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.
|
|
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-scroll": "^0.3.
|
|
63
|
-
"@micromag/element-text": "^0.3.
|
|
64
|
-
"@micromag/element-text-input": "^0.3.
|
|
65
|
-
"@micromag/transforms": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.73",
|
|
56
|
+
"@micromag/data": "^0.3.73",
|
|
57
|
+
"@micromag/element-background": "^0.3.73",
|
|
58
|
+
"@micromag/element-button": "^0.3.73",
|
|
59
|
+
"@micromag/element-call-to-action": "^0.3.73",
|
|
60
|
+
"@micromag/element-container": "^0.3.73",
|
|
61
|
+
"@micromag/element-heading": "^0.3.73",
|
|
62
|
+
"@micromag/element-scroll": "^0.3.73",
|
|
63
|
+
"@micromag/element-text": "^0.3.73",
|
|
64
|
+
"@micromag/element-text-input": "^0.3.73",
|
|
65
|
+
"@micromag/transforms": "^0.3.73",
|
|
66
66
|
"classnames": "^2.2.6",
|
|
67
67
|
"lodash": "^4.17.21",
|
|
68
68
|
"prop-types": "^15.7.2",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "88ca59e9f89a4135924ffdca6a3e977047ac03e9"
|
|
76
76
|
}
|