@micromag/screen-ranking 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
@@ -74,7 +74,8 @@ var RankingScreen = function RankingScreen(_ref) {
74
74
  var _useScreenSize = useScreenSize(),
75
75
  width = _useScreenSize.width,
76
76
  height = _useScreenSize.height,
77
- menuOverScreen = _useScreenSize.menuOverScreen;
77
+ menuOverScreen = _useScreenSize.menuOverScreen,
78
+ resolution = _useScreenSize.resolution;
78
79
 
79
80
  var _useViewer = useViewer(),
80
81
  menuSize = _useViewer.menuSize;
@@ -206,6 +207,7 @@ var RankingScreen = function RankingScreen(_ref) {
206
207
  background: background,
207
208
  width: width,
208
209
  height: height,
210
+ resolution: resolution,
209
211
  playing: backgroundPlaying,
210
212
  shouldLoad: backgroundShouldLoad
211
213
  }) : null, /*#__PURE__*/React.createElement(Container, {
@@ -379,8 +381,9 @@ var definition = {
379
381
  name: 'callToAction',
380
382
  type: 'call-to-action',
381
383
  theme: {
384
+ boxStyle: 'cta',
382
385
  label: {
383
- textStyle: 'heading2'
386
+ textStyle: 'cta'
384
387
  }
385
388
  }
386
389
  }]
package/lib/index.js CHANGED
@@ -95,7 +95,8 @@ var RankingScreen = function RankingScreen(_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;
@@ -227,6 +228,7 @@ var RankingScreen = function RankingScreen(_ref) {
227
228
  background: background,
228
229
  width: width,
229
230
  height: height,
231
+ resolution: resolution,
230
232
  playing: backgroundPlaying,
231
233
  shouldLoad: backgroundShouldLoad
232
234
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
@@ -400,8 +402,9 @@ var definition = {
400
402
  name: 'callToAction',
401
403
  type: 'call-to-action',
402
404
  theme: {
405
+ boxStyle: 'cta',
403
406
  label: {
404
- textStyle: 'heading2'
407
+ textStyle: 'cta'
405
408
  }
406
409
  }
407
410
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-ranking",
3
- "version": "0.3.67",
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.67",
53
- "@micromag/data": "^0.3.67",
54
- "@micromag/element-background": "^0.3.67",
55
- "@micromag/element-call-to-action": "^0.3.67",
56
- "@micromag/element-container": "^0.3.67",
57
- "@micromag/element-heading": "^0.3.67",
58
- "@micromag/element-layout": "^0.3.67",
59
- "@micromag/element-scroll": "^0.3.67",
60
- "@micromag/element-text": "^0.3.67",
61
- "@micromag/transforms": "^0.3.67",
52
+ "@micromag/core": "^0.3.71",
53
+ "@micromag/data": "^0.3.71",
54
+ "@micromag/element-background": "^0.3.71",
55
+ "@micromag/element-call-to-action": "^0.3.71",
56
+ "@micromag/element-container": "^0.3.71",
57
+ "@micromag/element-heading": "^0.3.71",
58
+ "@micromag/element-layout": "^0.3.71",
59
+ "@micromag/element-scroll": "^0.3.71",
60
+ "@micromag/element-text": "^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": "f78a94a94a05f1f60f97b48b9cb4477b6ceae14c"
71
+ "gitHead": "50093d0adc731dfb58656015179c4ac0b1c6765f"
72
72
  }