@micromag/screen-text 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
@@ -68,7 +68,8 @@ var TextScreen = function TextScreen(_ref) {
68
68
  var _useScreenSize = useScreenSize(),
69
69
  width = _useScreenSize.width,
70
70
  height = _useScreenSize.height,
71
- menuOverScreen = _useScreenSize.menuOverScreen;
71
+ menuOverScreen = _useScreenSize.menuOverScreen,
72
+ resolution = _useScreenSize.resolution;
72
73
 
73
74
  var _useViewer = useViewer(),
74
75
  menuSize = _useViewer.menuSize;
@@ -152,6 +153,7 @@ var TextScreen = function TextScreen(_ref) {
152
153
  background: background,
153
154
  width: width,
154
155
  height: height,
156
+ resolution: resolution,
155
157
  playing: backgroundPlaying,
156
158
  shouldLoad: backgroundShouldLoad
157
159
  }) : null, /*#__PURE__*/React.createElement(Container, {
@@ -274,8 +276,9 @@ var definition = [{
274
276
  name: 'callToAction',
275
277
  type: 'call-to-action',
276
278
  theme: {
279
+ boxStyle: 'cta',
277
280
  label: {
278
- textStyle: 'heading2'
281
+ textStyle: 'cta'
279
282
  }
280
283
  }
281
284
  }]
@@ -354,8 +357,9 @@ var definition = [{
354
357
  name: 'callToAction',
355
358
  type: 'call-to-action',
356
359
  theme: {
360
+ boxStyle: 'cta',
357
361
  label: {
358
- textStyle: 'heading2'
362
+ textStyle: 'cta'
359
363
  }
360
364
  }
361
365
  }]
package/lib/index.js CHANGED
@@ -88,7 +88,8 @@ var TextScreen = function TextScreen(_ref) {
88
88
  var _useScreenSize = contexts.useScreenSize(),
89
89
  width = _useScreenSize.width,
90
90
  height = _useScreenSize.height,
91
- menuOverScreen = _useScreenSize.menuOverScreen;
91
+ menuOverScreen = _useScreenSize.menuOverScreen,
92
+ resolution = _useScreenSize.resolution;
92
93
 
93
94
  var _useViewer = contexts.useViewer(),
94
95
  menuSize = _useViewer.menuSize;
@@ -172,6 +173,7 @@ var TextScreen = function TextScreen(_ref) {
172
173
  background: background,
173
174
  width: width,
174
175
  height: height,
176
+ resolution: resolution,
175
177
  playing: backgroundPlaying,
176
178
  shouldLoad: backgroundShouldLoad
177
179
  }) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
@@ -294,8 +296,9 @@ var definition = [{
294
296
  name: 'callToAction',
295
297
  type: 'call-to-action',
296
298
  theme: {
299
+ boxStyle: 'cta',
297
300
  label: {
298
- textStyle: 'heading2'
301
+ textStyle: 'cta'
299
302
  }
300
303
  }
301
304
  }]
@@ -374,8 +377,9 @@ var definition = [{
374
377
  name: 'callToAction',
375
378
  type: 'call-to-action',
376
379
  theme: {
380
+ boxStyle: 'cta',
377
381
  label: {
378
- textStyle: 'heading2'
382
+ textStyle: 'cta'
379
383
  }
380
384
  }
381
385
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-text",
3
- "version": "0.3.67",
3
+ "version": "0.3.71",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -49,14 +49,14 @@
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-text": "^0.3.67",
59
- "@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-text": "^0.3.71",
59
+ "@micromag/transforms": "^0.3.71",
60
60
  "classnames": "^2.2.6",
61
61
  "lodash": "^4.17.21",
62
62
  "prop-types": "^15.7.2",
@@ -66,5 +66,5 @@
66
66
  "publishConfig": {
67
67
  "access": "public"
68
68
  },
69
- "gitHead": "f78a94a94a05f1f60f97b48b9cb4477b6ceae14c"
69
+ "gitHead": "50093d0adc731dfb58656015179c4ac0b1c6765f"
70
70
  }