@micromag/screen-urbania-recommendation 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 CHANGED
@@ -75,7 +75,8 @@ var Recommendation = function Recommendation(_ref) {
75
75
  var _useScreenSize = useScreenSize(),
76
76
  width = _useScreenSize.width,
77
77
  height = _useScreenSize.height,
78
- menuOverScreen = _useScreenSize.menuOverScreen;
78
+ menuOverScreen = _useScreenSize.menuOverScreen,
79
+ resolution = _useScreenSize.resolution;
79
80
 
80
81
  var _useViewer = useViewer(),
81
82
  menuSize = _useViewer.menuSize;
@@ -244,6 +245,7 @@ var Recommendation = function Recommendation(_ref) {
244
245
  background: finalBackground,
245
246
  width: width,
246
247
  height: height,
248
+ resolution: resolution,
247
249
  playing: backgroundPlaying,
248
250
  shouldLoad: backgroundShouldLoad,
249
251
  backgroundClassName: finalAnimateBackground ? styles.background : null
@@ -375,8 +377,9 @@ var definition = [{
375
377
  type: 'call-to-action',
376
378
  theme: {
377
379
  label: {
378
- textStyle: 'heading2'
379
- }
380
+ textStyle: 'cta'
381
+ },
382
+ boxStyle: 'cta'
380
383
  }
381
384
  }]
382
385
  }];
package/lib/index.js CHANGED
@@ -95,7 +95,8 @@ var Recommendation = function Recommendation(_ref) {
95
95
  var _useScreenSize = contexts.useScreenSize(),
96
96
  width = _useScreenSize.width,
97
97
  height = _useScreenSize.height,
98
- menuOverScreen = _useScreenSize.menuOverScreen;
98
+ menuOverScreen = _useScreenSize.menuOverScreen,
99
+ resolution = _useScreenSize.resolution;
99
100
 
100
101
  var _useViewer = contexts.useViewer(),
101
102
  menuSize = _useViewer.menuSize;
@@ -264,6 +265,7 @@ var Recommendation = function Recommendation(_ref) {
264
265
  background: finalBackground,
265
266
  width: width,
266
267
  height: height,
268
+ resolution: resolution,
267
269
  playing: backgroundPlaying,
268
270
  shouldLoad: backgroundShouldLoad,
269
271
  backgroundClassName: finalAnimateBackground ? styles.background : null
@@ -395,8 +397,9 @@ var definition = [{
395
397
  type: 'call-to-action',
396
398
  theme: {
397
399
  label: {
398
- textStyle: 'heading2'
399
- }
400
+ textStyle: 'cta'
401
+ },
402
+ boxStyle: 'cta'
400
403
  }
401
404
  }]
402
405
  }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-recommendation",
3
- "version": "0.3.67",
3
+ "version": "0.3.71",
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.67",
53
- "@micromag/element-background": "^0.3.67",
54
- "@micromag/element-call-to-action": "^0.3.67",
55
- "@micromag/element-container": "^0.3.67",
56
- "@micromag/element-heading": "^0.3.67",
57
- "@micromag/element-layout": "^0.3.67",
58
- "@micromag/element-scroll": "^0.3.67",
59
- "@micromag/element-text": "^0.3.67",
60
- "@micromag/transforms": "^0.3.67",
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/transforms": "^0.3.71",
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": "f78a94a94a05f1f60f97b48b9cb4477b6ceae14c"
70
+ "gitHead": "50093d0adc731dfb58656015179c4ac0b1c6765f"
71
71
  }