@micromag/screen-map 0.3.68 → 0.3.69

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 CHANGED
@@ -114,7 +114,8 @@ function MapScreen(_ref) {
114
114
 
115
115
  var _useScreenSize = useScreenSize(),
116
116
  width = _useScreenSize.width,
117
- height = _useScreenSize.height;
117
+ height = _useScreenSize.height,
118
+ resolution = _useScreenSize.resolution;
118
119
 
119
120
  var _ref2 = background || {},
120
121
  backgroundColor = _ref2.color;
@@ -385,6 +386,7 @@ function MapScreen(_ref) {
385
386
  },
386
387
  width: width,
387
388
  height: height,
389
+ resolution: resolution,
388
390
  playing: backgroundPlaying,
389
391
  shouldLoad: backgroundShouldLoad
390
392
  }) : null, /*#__PURE__*/React.createElement(Container, {
@@ -408,6 +410,7 @@ function MapScreen(_ref) {
408
410
  } : null,
409
411
  width: width,
410
412
  height: height,
413
+ resolution: resolution,
411
414
  objectFit: {
412
415
  fit: 'cover'
413
416
  }
@@ -456,7 +459,8 @@ function MapScreen(_ref) {
456
459
  }, hasMarkerImage ? /*#__PURE__*/React.createElement(ImageElement, {
457
460
  className: styles.markerImage,
458
461
  media: markerImage,
459
- width: markerOverContentInnerWidth
462
+ width: markerOverContentInnerWidth,
463
+ resolution: resolution
460
464
  }) : null, hasMarkerTitle ? /*#__PURE__*/React.createElement(Heading, Object.assign({
461
465
  className: styles.markerTitle
462
466
  }, markerTitle)) : null, hasMarkerSubtitle ? /*#__PURE__*/React.createElement(Heading, Object.assign({
package/lib/index.js CHANGED
@@ -136,7 +136,8 @@ function MapScreen(_ref) {
136
136
 
137
137
  var _useScreenSize = contexts.useScreenSize(),
138
138
  width = _useScreenSize.width,
139
- height = _useScreenSize.height;
139
+ height = _useScreenSize.height,
140
+ resolution = _useScreenSize.resolution;
140
141
 
141
142
  var _ref2 = background || {},
142
143
  backgroundColor = _ref2.color;
@@ -407,6 +408,7 @@ function MapScreen(_ref) {
407
408
  },
408
409
  width: width,
409
410
  height: height,
411
+ resolution: resolution,
410
412
  playing: backgroundPlaying,
411
413
  shouldLoad: backgroundShouldLoad
412
414
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
@@ -430,6 +432,7 @@ function MapScreen(_ref) {
430
432
  } : null,
431
433
  width: width,
432
434
  height: height,
435
+ resolution: resolution,
433
436
  objectFit: {
434
437
  fit: 'cover'
435
438
  }
@@ -478,7 +481,8 @@ function MapScreen(_ref) {
478
481
  }, hasMarkerImage ? /*#__PURE__*/React__default["default"].createElement(ImageElement__default["default"], {
479
482
  className: styles.markerImage,
480
483
  media: markerImage,
481
- width: markerOverContentInnerWidth
484
+ width: markerOverContentInnerWidth,
485
+ resolution: resolution
482
486
  }) : null, hasMarkerTitle ? /*#__PURE__*/React__default["default"].createElement(Heading__default["default"], Object.assign({
483
487
  className: styles.markerTitle
484
488
  }, markerTitle)) : null, hasMarkerSubtitle ? /*#__PURE__*/React__default["default"].createElement(Heading__default["default"], Object.assign({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-map",
3
- "version": "0.3.68",
3
+ "version": "0.3.69",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,17 +49,17 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@babel/runtime": "^7.13.10",
52
- "@micromag/core": "^0.3.68",
53
- "@micromag/element-background": "^0.3.68",
54
- "@micromag/element-button": "^0.3.68",
55
- "@micromag/element-call-to-action": "^0.3.68",
56
- "@micromag/element-container": "^0.3.68",
57
- "@micromag/element-heading": "^0.3.68",
58
- "@micromag/element-image": "^0.3.68",
59
- "@micromag/element-map": "^0.3.68",
60
- "@micromag/element-scroll": "^0.3.68",
61
- "@micromag/element-text": "^0.3.68",
62
- "@micromag/transforms": "^0.3.68",
52
+ "@micromag/core": "^0.3.69",
53
+ "@micromag/element-background": "^0.3.69",
54
+ "@micromag/element-button": "^0.3.69",
55
+ "@micromag/element-call-to-action": "^0.3.69",
56
+ "@micromag/element-container": "^0.3.69",
57
+ "@micromag/element-heading": "^0.3.69",
58
+ "@micromag/element-image": "^0.3.69",
59
+ "@micromag/element-map": "^0.3.69",
60
+ "@micromag/element-scroll": "^0.3.69",
61
+ "@micromag/element-text": "^0.3.69",
62
+ "@micromag/transforms": "^0.3.69",
63
63
  "classnames": "^2.2.6",
64
64
  "lodash": "^4.17.21",
65
65
  "prop-types": "^15.7.2",
@@ -69,5 +69,5 @@
69
69
  "publishConfig": {
70
70
  "access": "public"
71
71
  },
72
- "gitHead": "3f6e61d8a3340735f345a20d1f0f86e91c820d9a"
72
+ "gitHead": "c69c85dbe321ddcd2d57f5d972b456ab76b5da3e"
73
73
  }