@micromag/screen-timeline 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 +8 -3
- package/lib/index.js +8 -3
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -85,7 +85,8 @@ var Timeline = function Timeline(_ref) {
|
|
|
85
85
|
var _useScreenSize = useScreenSize(),
|
|
86
86
|
width = _useScreenSize.width,
|
|
87
87
|
height = _useScreenSize.height,
|
|
88
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
88
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
89
|
+
resolution = _useScreenSize.resolution;
|
|
89
90
|
|
|
90
91
|
var _useViewer = useViewer(),
|
|
91
92
|
menuSize = _useViewer.menuSize;
|
|
@@ -208,6 +209,7 @@ var Timeline = function Timeline(_ref) {
|
|
|
208
209
|
videoClassName: styles.video,
|
|
209
210
|
media: image,
|
|
210
211
|
width: imageWidth,
|
|
212
|
+
resolution: resolution,
|
|
211
213
|
playing: backgroundPlaying,
|
|
212
214
|
onLoaded: onImageLoaded
|
|
213
215
|
}) : null));
|
|
@@ -294,6 +296,7 @@ var Timeline = function Timeline(_ref) {
|
|
|
294
296
|
background: background,
|
|
295
297
|
width: width,
|
|
296
298
|
height: height,
|
|
299
|
+
resolution: resolution,
|
|
297
300
|
playing: backgroundPlaying,
|
|
298
301
|
shouldLoad: backgroundShouldLoad
|
|
299
302
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -510,8 +513,9 @@ var definition = [{
|
|
|
510
513
|
name: 'callToAction',
|
|
511
514
|
type: 'call-to-action',
|
|
512
515
|
theme: {
|
|
516
|
+
boxStyle: 'cta',
|
|
513
517
|
label: {
|
|
514
|
-
textStyle: '
|
|
518
|
+
textStyle: 'cta'
|
|
515
519
|
}
|
|
516
520
|
}
|
|
517
521
|
}]
|
|
@@ -649,8 +653,9 @@ var definition = [{
|
|
|
649
653
|
name: 'callToAction',
|
|
650
654
|
type: 'call-to-action',
|
|
651
655
|
theme: {
|
|
656
|
+
boxStyle: 'cta',
|
|
652
657
|
label: {
|
|
653
|
-
textStyle: '
|
|
658
|
+
textStyle: 'cta'
|
|
654
659
|
}
|
|
655
660
|
}
|
|
656
661
|
}]
|
package/lib/index.js
CHANGED
|
@@ -108,7 +108,8 @@ var Timeline = function Timeline(_ref) {
|
|
|
108
108
|
var _useScreenSize = contexts.useScreenSize(),
|
|
109
109
|
width = _useScreenSize.width,
|
|
110
110
|
height = _useScreenSize.height,
|
|
111
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
111
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
112
|
+
resolution = _useScreenSize.resolution;
|
|
112
113
|
|
|
113
114
|
var _useViewer = contexts.useViewer(),
|
|
114
115
|
menuSize = _useViewer.menuSize;
|
|
@@ -231,6 +232,7 @@ var Timeline = function Timeline(_ref) {
|
|
|
231
232
|
videoClassName: styles.video,
|
|
232
233
|
media: image,
|
|
233
234
|
width: imageWidth,
|
|
235
|
+
resolution: resolution,
|
|
234
236
|
playing: backgroundPlaying,
|
|
235
237
|
onLoaded: onImageLoaded
|
|
236
238
|
}) : null));
|
|
@@ -317,6 +319,7 @@ var Timeline = function Timeline(_ref) {
|
|
|
317
319
|
background: background,
|
|
318
320
|
width: width,
|
|
319
321
|
height: height,
|
|
322
|
+
resolution: resolution,
|
|
320
323
|
playing: backgroundPlaying,
|
|
321
324
|
shouldLoad: backgroundShouldLoad
|
|
322
325
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -533,8 +536,9 @@ var definition = [{
|
|
|
533
536
|
name: 'callToAction',
|
|
534
537
|
type: 'call-to-action',
|
|
535
538
|
theme: {
|
|
539
|
+
boxStyle: 'cta',
|
|
536
540
|
label: {
|
|
537
|
-
textStyle: '
|
|
541
|
+
textStyle: 'cta'
|
|
538
542
|
}
|
|
539
543
|
}
|
|
540
544
|
}]
|
|
@@ -672,8 +676,9 @@ var definition = [{
|
|
|
672
676
|
name: 'callToAction',
|
|
673
677
|
type: 'call-to-action',
|
|
674
678
|
theme: {
|
|
679
|
+
boxStyle: 'cta',
|
|
675
680
|
label: {
|
|
676
|
-
textStyle: '
|
|
681
|
+
textStyle: 'cta'
|
|
677
682
|
}
|
|
678
683
|
}
|
|
679
684
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-timeline",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,16 +49,16 @@
|
|
|
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-scroll": "^0.3.
|
|
59
|
-
"@micromag/element-text": "^0.3.
|
|
60
|
-
"@micromag/element-visual": "^0.3.
|
|
61
|
-
"@micromag/transforms": "^0.3.
|
|
52
|
+
"@micromag/core": "^0.3.71",
|
|
53
|
+
"@micromag/element-background": "^0.3.71",
|
|
54
|
+
"@micromag/element-call-to-action": "^0.3.71",
|
|
55
|
+
"@micromag/element-container": "^0.3.71",
|
|
56
|
+
"@micromag/element-heading": "^0.3.71",
|
|
57
|
+
"@micromag/element-layout": "^0.3.71",
|
|
58
|
+
"@micromag/element-scroll": "^0.3.71",
|
|
59
|
+
"@micromag/element-text": "^0.3.71",
|
|
60
|
+
"@micromag/element-visual": "^0.3.71",
|
|
61
|
+
"@micromag/transforms": "^0.3.71",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "50093d0adc731dfb58656015179c4ac0b1c6765f"
|
|
72
72
|
}
|