@micromag/screen-title 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 +11 -5
- package/lib/index.js +11 -5
- package/package.json +10 -10
package/es/index.js
CHANGED
|
@@ -90,7 +90,8 @@ var TitleScreen = function TitleScreen(_ref) {
|
|
|
90
90
|
var _useScreenSize = useScreenSize(),
|
|
91
91
|
width = _useScreenSize.width,
|
|
92
92
|
height = _useScreenSize.height,
|
|
93
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
93
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
94
|
+
resolution = _useScreenSize.resolution;
|
|
94
95
|
|
|
95
96
|
var _useViewer = useViewer(),
|
|
96
97
|
menuSize = _useViewer.menuSize;
|
|
@@ -166,6 +167,7 @@ var TitleScreen = function TitleScreen(_ref) {
|
|
|
166
167
|
background: background,
|
|
167
168
|
width: width,
|
|
168
169
|
height: height,
|
|
170
|
+
resolution: resolution,
|
|
169
171
|
playing: backgroundPlaying,
|
|
170
172
|
shouldLoad: backgroundShouldLoad
|
|
171
173
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -385,8 +387,9 @@ var definition = [{
|
|
|
385
387
|
name: 'callToAction',
|
|
386
388
|
type: 'call-to-action',
|
|
387
389
|
theme: {
|
|
390
|
+
boxStyle: 'cta',
|
|
388
391
|
label: {
|
|
389
|
-
textStyle: '
|
|
392
|
+
textStyle: 'cta'
|
|
390
393
|
}
|
|
391
394
|
}
|
|
392
395
|
}]
|
|
@@ -464,8 +467,9 @@ var definition = [{
|
|
|
464
467
|
name: 'callToAction',
|
|
465
468
|
type: 'call-to-action',
|
|
466
469
|
theme: {
|
|
470
|
+
boxStyle: 'cta',
|
|
467
471
|
label: {
|
|
468
|
-
textStyle: '
|
|
472
|
+
textStyle: 'cta'
|
|
469
473
|
}
|
|
470
474
|
}
|
|
471
475
|
}]
|
|
@@ -556,8 +560,9 @@ var definition = [{
|
|
|
556
560
|
name: 'callToAction',
|
|
557
561
|
type: 'call-to-action',
|
|
558
562
|
theme: {
|
|
563
|
+
boxStyle: 'cta',
|
|
559
564
|
label: {
|
|
560
|
-
textStyle: '
|
|
565
|
+
textStyle: 'cta'
|
|
561
566
|
}
|
|
562
567
|
}
|
|
563
568
|
}]
|
|
@@ -669,8 +674,9 @@ var definition = [{
|
|
|
669
674
|
name: 'callToAction',
|
|
670
675
|
type: 'call-to-action',
|
|
671
676
|
theme: {
|
|
677
|
+
boxStyle: 'cta',
|
|
672
678
|
label: {
|
|
673
|
-
textStyle: '
|
|
679
|
+
textStyle: 'cta'
|
|
674
680
|
}
|
|
675
681
|
}
|
|
676
682
|
}]
|
package/lib/index.js
CHANGED
|
@@ -111,7 +111,8 @@ var TitleScreen = function TitleScreen(_ref) {
|
|
|
111
111
|
var _useScreenSize = contexts.useScreenSize(),
|
|
112
112
|
width = _useScreenSize.width,
|
|
113
113
|
height = _useScreenSize.height,
|
|
114
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
114
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
115
|
+
resolution = _useScreenSize.resolution;
|
|
115
116
|
|
|
116
117
|
var _useViewer = contexts.useViewer(),
|
|
117
118
|
menuSize = _useViewer.menuSize;
|
|
@@ -187,6 +188,7 @@ var TitleScreen = function TitleScreen(_ref) {
|
|
|
187
188
|
background: background,
|
|
188
189
|
width: width,
|
|
189
190
|
height: height,
|
|
191
|
+
resolution: resolution,
|
|
190
192
|
playing: backgroundPlaying,
|
|
191
193
|
shouldLoad: backgroundShouldLoad
|
|
192
194
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -406,8 +408,9 @@ var definition = [{
|
|
|
406
408
|
name: 'callToAction',
|
|
407
409
|
type: 'call-to-action',
|
|
408
410
|
theme: {
|
|
411
|
+
boxStyle: 'cta',
|
|
409
412
|
label: {
|
|
410
|
-
textStyle: '
|
|
413
|
+
textStyle: 'cta'
|
|
411
414
|
}
|
|
412
415
|
}
|
|
413
416
|
}]
|
|
@@ -485,8 +488,9 @@ var definition = [{
|
|
|
485
488
|
name: 'callToAction',
|
|
486
489
|
type: 'call-to-action',
|
|
487
490
|
theme: {
|
|
491
|
+
boxStyle: 'cta',
|
|
488
492
|
label: {
|
|
489
|
-
textStyle: '
|
|
493
|
+
textStyle: 'cta'
|
|
490
494
|
}
|
|
491
495
|
}
|
|
492
496
|
}]
|
|
@@ -577,8 +581,9 @@ var definition = [{
|
|
|
577
581
|
name: 'callToAction',
|
|
578
582
|
type: 'call-to-action',
|
|
579
583
|
theme: {
|
|
584
|
+
boxStyle: 'cta',
|
|
580
585
|
label: {
|
|
581
|
-
textStyle: '
|
|
586
|
+
textStyle: 'cta'
|
|
582
587
|
}
|
|
583
588
|
}
|
|
584
589
|
}]
|
|
@@ -690,8 +695,9 @@ var definition = [{
|
|
|
690
695
|
name: 'callToAction',
|
|
691
696
|
type: 'call-to-action',
|
|
692
697
|
theme: {
|
|
698
|
+
boxStyle: 'cta',
|
|
693
699
|
label: {
|
|
694
|
-
textStyle: '
|
|
700
|
+
textStyle: 'cta'
|
|
695
701
|
}
|
|
696
702
|
}
|
|
697
703
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-title",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.73",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,14 +49,14 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.3.
|
|
53
|
-
"@micromag/element-background": "^0.3.
|
|
54
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
55
|
-
"@micromag/element-container": "^0.3.
|
|
56
|
-
"@micromag/element-heading": "^0.3.
|
|
57
|
-
"@micromag/element-layout": "^0.3.
|
|
58
|
-
"@micromag/element-text": "^0.3.
|
|
59
|
-
"@micromag/transforms": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.73",
|
|
53
|
+
"@micromag/element-background": "^0.3.73",
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.73",
|
|
55
|
+
"@micromag/element-container": "^0.3.73",
|
|
56
|
+
"@micromag/element-heading": "^0.3.73",
|
|
57
|
+
"@micromag/element-layout": "^0.3.73",
|
|
58
|
+
"@micromag/element-text": "^0.3.73",
|
|
59
|
+
"@micromag/transforms": "^0.3.73",
|
|
60
60
|
"classnames": "^2.2.6",
|
|
61
61
|
"lodash": "^4.17.21",
|
|
62
62
|
"prop-types": "^15.7.2",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "88ca59e9f89a4135924ffdca6a3e977047ac03e9"
|
|
70
70
|
}
|