@micromag/screen-gallery 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 CHANGED
@@ -246,7 +246,8 @@ var GalleryScreen = function GalleryScreen(_ref) {
246
246
  var _useScreenSize = useScreenSize(),
247
247
  width = _useScreenSize.width,
248
248
  height = _useScreenSize.height,
249
- menuOverScreen = _useScreenSize.menuOverScreen;
249
+ menuOverScreen = _useScreenSize.menuOverScreen,
250
+ resolution = _useScreenSize.resolution;
250
251
 
251
252
  var _useViewer = useViewer(),
252
253
  menuSize = _useViewer.menuSize;
@@ -368,6 +369,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
368
369
  }, /*#__PURE__*/React.createElement(Visual, Object.assign({
369
370
  className: styles.image
370
371
  }, finalImage, imageSize, {
372
+ resolution: resolution,
371
373
  objectFit: {
372
374
  fit: 'cover'
373
375
  },
@@ -404,6 +406,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
404
406
  background: background,
405
407
  width: width,
406
408
  height: height,
409
+ resolution: resolution,
407
410
  playing: backgroundPlaying,
408
411
  shouldLoad: backgroundShouldLoad
409
412
  }) : null, /*#__PURE__*/React.createElement(Container, {
@@ -537,8 +540,9 @@ var definition = [{
537
540
  name: 'callToAction',
538
541
  type: 'call-to-action',
539
542
  theme: {
543
+ boxStyle: 'cta',
540
544
  label: {
541
- textStyle: 'heading2'
545
+ textStyle: 'cta'
542
546
  }
543
547
  }
544
548
  }]
@@ -610,8 +614,9 @@ var definition = [{
610
614
  name: 'callToAction',
611
615
  type: 'call-to-action',
612
616
  theme: {
617
+ boxStyle: 'cta',
613
618
  label: {
614
- textStyle: 'heading2'
619
+ textStyle: 'cta'
615
620
  }
616
621
  }
617
622
  }]
package/lib/index.js CHANGED
@@ -268,7 +268,8 @@ var GalleryScreen = function GalleryScreen(_ref) {
268
268
  var _useScreenSize = contexts.useScreenSize(),
269
269
  width = _useScreenSize.width,
270
270
  height = _useScreenSize.height,
271
- menuOverScreen = _useScreenSize.menuOverScreen;
271
+ menuOverScreen = _useScreenSize.menuOverScreen,
272
+ resolution = _useScreenSize.resolution;
272
273
 
273
274
  var _useViewer = contexts.useViewer(),
274
275
  menuSize = _useViewer.menuSize;
@@ -390,6 +391,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
390
391
  }, /*#__PURE__*/React__default["default"].createElement(Visual__default["default"], Object.assign({
391
392
  className: styles.image
392
393
  }, finalImage, imageSize, {
394
+ resolution: resolution,
393
395
  objectFit: {
394
396
  fit: 'cover'
395
397
  },
@@ -426,6 +428,7 @@ var GalleryScreen = function GalleryScreen(_ref) {
426
428
  background: background,
427
429
  width: width,
428
430
  height: height,
431
+ resolution: resolution,
429
432
  playing: backgroundPlaying,
430
433
  shouldLoad: backgroundShouldLoad
431
434
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
@@ -559,8 +562,9 @@ var definition = [{
559
562
  name: 'callToAction',
560
563
  type: 'call-to-action',
561
564
  theme: {
565
+ boxStyle: 'cta',
562
566
  label: {
563
- textStyle: 'heading2'
567
+ textStyle: 'cta'
564
568
  }
565
569
  }
566
570
  }]
@@ -632,8 +636,9 @@ var definition = [{
632
636
  name: 'callToAction',
633
637
  type: 'call-to-action',
634
638
  theme: {
639
+ boxStyle: 'cta',
635
640
  label: {
636
- textStyle: 'heading2'
641
+ textStyle: 'cta'
637
642
  }
638
643
  }
639
644
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-gallery",
3
- "version": "0.3.68",
3
+ "version": "0.3.73",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,15 +49,15 @@
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-call-to-action": "^0.3.68",
55
- "@micromag/element-container": "^0.3.68",
56
- "@micromag/element-grid": "^0.3.68",
57
- "@micromag/element-layout": "^0.3.68",
58
- "@micromag/element-text": "^0.3.68",
59
- "@micromag/element-visual": "^0.3.68",
60
- "@micromag/transforms": "^0.3.68",
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-grid": "^0.3.73",
57
+ "@micromag/element-layout": "^0.3.73",
58
+ "@micromag/element-text": "^0.3.73",
59
+ "@micromag/element-visual": "^0.3.73",
60
+ "@micromag/transforms": "^0.3.73",
61
61
  "classnames": "^2.2.6",
62
62
  "lodash": "^4.17.21",
63
63
  "prop-types": "^15.7.2",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "3f6e61d8a3340735f345a20d1f0f86e91c820d9a"
70
+ "gitHead": "88ca59e9f89a4135924ffdca6a3e977047ac03e9"
71
71
  }