@micromag/screen-gallery-feed 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
|
@@ -72,7 +72,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
72
72
|
var _useScreenSize = useScreenSize(),
|
|
73
73
|
width = _useScreenSize.width,
|
|
74
74
|
height = _useScreenSize.height,
|
|
75
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
75
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
76
|
+
resolution = _useScreenSize.resolution;
|
|
76
77
|
|
|
77
78
|
var _useViewer = useViewer(),
|
|
78
79
|
menuSize = _useViewer.menuSize;
|
|
@@ -142,6 +143,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
142
143
|
ref: index === 0 ? firstImageRef : null
|
|
143
144
|
}, /*#__PURE__*/React.createElement(Visual, Object.assign({}, finalImage, {
|
|
144
145
|
width: firstImageRefWidth,
|
|
146
|
+
resolution: resolution,
|
|
145
147
|
onLoaded: onImageLoaded,
|
|
146
148
|
playing: backgroundPlaying
|
|
147
149
|
}))));
|
|
@@ -243,6 +245,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
243
245
|
background: background,
|
|
244
246
|
width: width,
|
|
245
247
|
height: height,
|
|
248
|
+
resolution: resolution,
|
|
246
249
|
playing: backgroundPlaying,
|
|
247
250
|
shouldLoad: backgroundShouldLoad
|
|
248
251
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
@@ -361,8 +364,9 @@ var definition = [{
|
|
|
361
364
|
name: 'callToAction',
|
|
362
365
|
type: 'call-to-action',
|
|
363
366
|
theme: {
|
|
367
|
+
boxStyle: 'cta',
|
|
364
368
|
label: {
|
|
365
|
-
textStyle: '
|
|
369
|
+
textStyle: 'cta'
|
|
366
370
|
}
|
|
367
371
|
}
|
|
368
372
|
}]
|
|
@@ -429,8 +433,9 @@ var definition = [{
|
|
|
429
433
|
name: 'callToAction',
|
|
430
434
|
type: 'call-to-action',
|
|
431
435
|
theme: {
|
|
436
|
+
boxStyle: 'cta',
|
|
432
437
|
label: {
|
|
433
|
-
textStyle: '
|
|
438
|
+
textStyle: 'cta'
|
|
434
439
|
}
|
|
435
440
|
}
|
|
436
441
|
}]
|
package/lib/index.js
CHANGED
|
@@ -94,7 +94,8 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
94
94
|
var _useScreenSize = contexts.useScreenSize(),
|
|
95
95
|
width = _useScreenSize.width,
|
|
96
96
|
height = _useScreenSize.height,
|
|
97
|
-
menuOverScreen = _useScreenSize.menuOverScreen
|
|
97
|
+
menuOverScreen = _useScreenSize.menuOverScreen,
|
|
98
|
+
resolution = _useScreenSize.resolution;
|
|
98
99
|
|
|
99
100
|
var _useViewer = contexts.useViewer(),
|
|
100
101
|
menuSize = _useViewer.menuSize;
|
|
@@ -164,6 +165,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
164
165
|
ref: index === 0 ? firstImageRef : null
|
|
165
166
|
}, /*#__PURE__*/React__default["default"].createElement(Visual__default["default"], Object.assign({}, finalImage, {
|
|
166
167
|
width: firstImageRefWidth,
|
|
168
|
+
resolution: resolution,
|
|
167
169
|
onLoaded: onImageLoaded,
|
|
168
170
|
playing: backgroundPlaying
|
|
169
171
|
}))));
|
|
@@ -265,6 +267,7 @@ var GalleryFeedScreen = function GalleryFeedScreen(_ref) {
|
|
|
265
267
|
background: background,
|
|
266
268
|
width: width,
|
|
267
269
|
height: height,
|
|
270
|
+
resolution: resolution,
|
|
268
271
|
playing: backgroundPlaying,
|
|
269
272
|
shouldLoad: backgroundShouldLoad
|
|
270
273
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -383,8 +386,9 @@ var definition = [{
|
|
|
383
386
|
name: 'callToAction',
|
|
384
387
|
type: 'call-to-action',
|
|
385
388
|
theme: {
|
|
389
|
+
boxStyle: 'cta',
|
|
386
390
|
label: {
|
|
387
|
-
textStyle: '
|
|
391
|
+
textStyle: 'cta'
|
|
388
392
|
}
|
|
389
393
|
}
|
|
390
394
|
}]
|
|
@@ -451,8 +455,9 @@ var definition = [{
|
|
|
451
455
|
name: 'callToAction',
|
|
452
456
|
type: 'call-to-action',
|
|
453
457
|
theme: {
|
|
458
|
+
boxStyle: 'cta',
|
|
454
459
|
label: {
|
|
455
|
-
textStyle: '
|
|
460
|
+
textStyle: 'cta'
|
|
456
461
|
}
|
|
457
462
|
}
|
|
458
463
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-gallery-feed",
|
|
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-layout": "^0.3.
|
|
57
|
-
"@micromag/element-scroll": "^0.3.
|
|
58
|
-
"@micromag/element-stack": "^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-layout": "^0.3.71",
|
|
57
|
+
"@micromag/element-scroll": "^0.3.71",
|
|
58
|
+
"@micromag/element-stack": "^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
|
}
|