@micromag/screen-urbania-article 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 -1
- package/lib/index.js +5 -1
- package/package.json +14 -14
package/es/index.js
CHANGED
|
@@ -159,7 +159,8 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
159
159
|
|
|
160
160
|
var _useScreenSize = useScreenSize(),
|
|
161
161
|
width = _useScreenSize.width,
|
|
162
|
-
height = _useScreenSize.height
|
|
162
|
+
height = _useScreenSize.height,
|
|
163
|
+
resolution = _useScreenSize.resolution;
|
|
163
164
|
|
|
164
165
|
var _useResizeObserver = useResizeObserver(),
|
|
165
166
|
contentRef = _useResizeObserver.ref,
|
|
@@ -308,6 +309,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
308
309
|
background: background,
|
|
309
310
|
width: width,
|
|
310
311
|
height: height,
|
|
312
|
+
resolution: resolution,
|
|
311
313
|
playing: backgroundPlaying,
|
|
312
314
|
shouldLoad: backgroundShouldLoad
|
|
313
315
|
}), /*#__PURE__*/React.createElement(Container, {
|
|
@@ -349,6 +351,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
349
351
|
media: image,
|
|
350
352
|
width: width,
|
|
351
353
|
height: imageHeight,
|
|
354
|
+
resolution: resolution,
|
|
352
355
|
objectFit: {
|
|
353
356
|
fit: 'cover'
|
|
354
357
|
}
|
|
@@ -357,6 +360,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
357
360
|
media: image,
|
|
358
361
|
width: width,
|
|
359
362
|
height: height,
|
|
363
|
+
resolution: resolution,
|
|
360
364
|
objectFit: {
|
|
361
365
|
fit: 'cover'
|
|
362
366
|
}
|
package/lib/index.js
CHANGED
|
@@ -179,7 +179,8 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
179
179
|
|
|
180
180
|
var _useScreenSize = contexts.useScreenSize(),
|
|
181
181
|
width = _useScreenSize.width,
|
|
182
|
-
height = _useScreenSize.height
|
|
182
|
+
height = _useScreenSize.height,
|
|
183
|
+
resolution = _useScreenSize.resolution;
|
|
183
184
|
|
|
184
185
|
var _useResizeObserver = hooks.useResizeObserver(),
|
|
185
186
|
contentRef = _useResizeObserver.ref,
|
|
@@ -328,6 +329,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
328
329
|
background: background,
|
|
329
330
|
width: width,
|
|
330
331
|
height: height,
|
|
332
|
+
resolution: resolution,
|
|
331
333
|
playing: backgroundPlaying,
|
|
332
334
|
shouldLoad: backgroundShouldLoad
|
|
333
335
|
}), /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
@@ -369,6 +371,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
369
371
|
media: image,
|
|
370
372
|
width: width,
|
|
371
373
|
height: imageHeight,
|
|
374
|
+
resolution: resolution,
|
|
372
375
|
objectFit: {
|
|
373
376
|
fit: 'cover'
|
|
374
377
|
}
|
|
@@ -377,6 +380,7 @@ var UrbaniaArticle = function UrbaniaArticle(_ref) {
|
|
|
377
380
|
media: image,
|
|
378
381
|
width: width,
|
|
379
382
|
height: height,
|
|
383
|
+
resolution: resolution,
|
|
380
384
|
objectFit: {
|
|
381
385
|
fit: 'cover'
|
|
382
386
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-urbania-article",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
52
|
"@folklore/fetch": "^0.1.15",
|
|
53
53
|
"@folklore/size": "^0.1.20",
|
|
54
|
-
"@micromag/core": "^0.3.
|
|
55
|
-
"@micromag/element-background": "^0.3.
|
|
56
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
57
|
-
"@micromag/element-closed-captions": "^0.3.
|
|
58
|
-
"@micromag/element-container": "^0.3.
|
|
59
|
-
"@micromag/element-heading": "^0.3.
|
|
60
|
-
"@micromag/element-image": "^0.3.
|
|
61
|
-
"@micromag/element-media-controls": "^0.3.
|
|
62
|
-
"@micromag/element-urbania-author": "^0.3.
|
|
63
|
-
"@micromag/element-video": "^0.3.
|
|
64
|
-
"@micromag/element-visual": "^0.3.
|
|
65
|
-
"@micromag/transforms": "^0.3.
|
|
54
|
+
"@micromag/core": "^0.3.71",
|
|
55
|
+
"@micromag/element-background": "^0.3.71",
|
|
56
|
+
"@micromag/element-call-to-action": "^0.3.71",
|
|
57
|
+
"@micromag/element-closed-captions": "^0.3.71",
|
|
58
|
+
"@micromag/element-container": "^0.3.71",
|
|
59
|
+
"@micromag/element-heading": "^0.3.71",
|
|
60
|
+
"@micromag/element-image": "^0.3.71",
|
|
61
|
+
"@micromag/element-media-controls": "^0.3.71",
|
|
62
|
+
"@micromag/element-urbania-author": "^0.3.71",
|
|
63
|
+
"@micromag/element-video": "^0.3.71",
|
|
64
|
+
"@micromag/element-visual": "^0.3.71",
|
|
65
|
+
"@micromag/transforms": "^0.3.71",
|
|
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": "50093d0adc731dfb58656015179c4ac0b1c6765f"
|
|
76
76
|
}
|