@micromag/screen-urbania-trivia 0.3.769 → 0.3.779

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.
Files changed (2) hide show
  1. package/es/index.js +15 -16
  2. package/package.json +11 -11
package/es/index.js CHANGED
@@ -289,7 +289,20 @@ var UrbaniaTrivia = function UrbaniaTrivia(_ref) {
289
289
  var onVideoReady = useCallback(function () {
290
290
  setReady(true);
291
291
  }, [setReady]);
292
- var items = [/*#__PURE__*/React.createElement(Container, {
292
+ return /*#__PURE__*/React.createElement("div", {
293
+ className: classNames([styles.container, _defineProperty(_defineProperty({}, className, className !== null), styles.fullscreen, fullscreen)]),
294
+ "data-screen-ready": isStatic || isCapture || ready
295
+ }, /*#__PURE__*/React.createElement(Container, {
296
+ width: width,
297
+ height: height,
298
+ className: styles.content
299
+ }, /*#__PURE__*/React.createElement("div", {
300
+ className: styles.inner,
301
+ style: verticalVideo ? {
302
+ justifyContent: 'flex-start',
303
+ marginTop: spacing * 2
304
+ } : null
305
+ }, /*#__PURE__*/React.createElement(Container, {
293
306
  className: styles.itemsContainer,
294
307
  style: {
295
308
  marginTop: -spacing / 2
@@ -384,21 +397,7 @@ var UrbaniaTrivia = function UrbaniaTrivia(_ref) {
384
397
  className: styles.closedCaptions,
385
398
  media: closedCaptions,
386
399
  currentTime: currentTime
387
- }) : null) : null) : null))];
388
- return /*#__PURE__*/React.createElement("div", {
389
- className: classNames([styles.container, _defineProperty(_defineProperty({}, className, className !== null), styles.fullscreen, fullscreen)]),
390
- "data-screen-ready": isStatic || isCapture || ready
391
- }, /*#__PURE__*/React.createElement(Container, {
392
- width: width,
393
- height: height,
394
- className: styles.content
395
- }, /*#__PURE__*/React.createElement("div", {
396
- className: styles.inner,
397
- style: verticalVideo ? {
398
- justifyContent: 'flex-start',
399
- marginTop: spacing * 2
400
- } : null
401
- }, items)), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
400
+ }) : null) : null) : null)))), !isPlaceholder ? /*#__PURE__*/React.createElement(Background, {
402
401
  background: finalBackground,
403
402
  className: classNames([styles.background, _defineProperty(_defineProperty(_defineProperty({}, className, className !== null), styles.isCustomBackground, isCustomBackground), styles.isAnimated, isAnimatedBackground)]),
404
403
  width: width,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-trivia",
3
- "version": "0.3.769",
3
+ "version": "0.3.779",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -62,15 +62,15 @@
62
62
  "dependencies": {
63
63
  "@babel/runtime": "^7.13.10",
64
64
  "@folklore/size": "^0.1.20",
65
- "@micromag/core": "^0.3.769",
66
- "@micromag/element-background": "^0.3.769",
67
- "@micromag/element-call-to-action": "^0.3.769",
68
- "@micromag/element-closed-captions": "^0.3.769",
69
- "@micromag/element-container": "^0.3.769",
70
- "@micromag/element-heading": "^0.3.769",
71
- "@micromag/element-image": "^0.3.769",
72
- "@micromag/element-video": "^0.3.769",
73
- "@micromag/transforms": "^0.3.769",
65
+ "@micromag/core": "^0.3.779",
66
+ "@micromag/element-background": "^0.3.779",
67
+ "@micromag/element-call-to-action": "^0.3.779",
68
+ "@micromag/element-closed-captions": "^0.3.779",
69
+ "@micromag/element-container": "^0.3.779",
70
+ "@micromag/element-heading": "^0.3.779",
71
+ "@micromag/element-image": "^0.3.779",
72
+ "@micromag/element-video": "^0.3.779",
73
+ "@micromag/transforms": "^0.3.779",
74
74
  "classnames": "^2.2.6",
75
75
  "lodash": "^4.17.21",
76
76
  "prop-types": "^15.7.2",
@@ -81,5 +81,5 @@
81
81
  "access": "public",
82
82
  "registry": "https://registry.npmjs.org/"
83
83
  },
84
- "gitHead": "a009106ec28c6e34288f0b3292f1bc6826812dd0"
84
+ "gitHead": "5cc7b8fc6d58ba77100060a9d9a4a3f87f835559"
85
85
  }