@micromag/screen-urbania-horoscope 0.3.587 → 0.3.589

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 +4 -4
  2. package/package.json +15 -15
package/es/index.js CHANGED
@@ -495,7 +495,7 @@ var propTypes = {
495
495
  background: PropTypes$1.backgroundElement,
496
496
  popupBackground: PropTypes$1.backgroundElement,
497
497
  current: PropTypes.bool,
498
- active: PropTypes.bool,
498
+ preload: PropTypes.bool,
499
499
  type: PropTypes.string,
500
500
  className: PropTypes.string
501
501
  };
@@ -511,7 +511,7 @@ var defaultProps = {
511
511
  background: null,
512
512
  popupBackground: null,
513
513
  current: true,
514
- active: true,
514
+ preload: true,
515
515
  type: 'horoscope',
516
516
  className: null
517
517
  };
@@ -527,7 +527,7 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
527
527
  background = _ref.background,
528
528
  popupBackground = _ref.popupBackground,
529
529
  current = _ref.current,
530
- active = _ref.active,
530
+ preload = _ref.preload,
531
531
  type = _ref.type,
532
532
  className = _ref.className;
533
533
  var intl = useIntl();
@@ -563,7 +563,7 @@ var UrbaniaHoroscope = function UrbaniaHoroscope(_ref) {
563
563
  var hasDescription = isTextFilled(description);
564
564
  var hasButton = isTextFilled(button);
565
565
  var backgroundPlaying = current && (isView || isEdit);
566
- var mediaShouldLoad = !isPlaceholder && (current || active);
566
+ var mediaShouldLoad = !isPlaceholder && (current || preload);
567
567
  var _useState = useState(false),
568
568
  _useState2 = _slicedToArray(_useState, 2),
569
569
  showSignsGrid = _useState2[0],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-urbania-horoscope",
3
- "version": "0.3.587",
3
+ "version": "0.3.589",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [
@@ -62,19 +62,19 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@babel/runtime": "^7.13.10",
65
- "@micromag/core": "^0.3.585",
66
- "@micromag/element-background": "^0.3.587",
67
- "@micromag/element-button": "^0.3.585",
68
- "@micromag/element-call-to-action": "^0.3.585",
69
- "@micromag/element-container": "^0.3.585",
70
- "@micromag/element-grid": "^0.3.585",
71
- "@micromag/element-heading": "^0.3.585",
72
- "@micromag/element-keypad": "^0.3.585",
73
- "@micromag/element-layout": "^0.3.585",
74
- "@micromag/element-scroll": "^0.3.585",
75
- "@micromag/element-text": "^0.3.585",
76
- "@micromag/element-urbania-author": "^0.3.585",
77
- "@micromag/transforms": "^0.3.585",
65
+ "@micromag/core": "^0.3.589",
66
+ "@micromag/element-background": "^0.3.589",
67
+ "@micromag/element-button": "^0.3.589",
68
+ "@micromag/element-call-to-action": "^0.3.589",
69
+ "@micromag/element-container": "^0.3.589",
70
+ "@micromag/element-grid": "^0.3.589",
71
+ "@micromag/element-heading": "^0.3.589",
72
+ "@micromag/element-keypad": "^0.3.589",
73
+ "@micromag/element-layout": "^0.3.589",
74
+ "@micromag/element-scroll": "^0.3.589",
75
+ "@micromag/element-text": "^0.3.589",
76
+ "@micromag/element-urbania-author": "^0.3.589",
77
+ "@micromag/transforms": "^0.3.589",
78
78
  "@react-spring/core": "^9.6.1",
79
79
  "@react-spring/web": "^9.6.1",
80
80
  "@use-gesture/react": "^10.3.0",
@@ -90,5 +90,5 @@
90
90
  "access": "public",
91
91
  "registry": "https://registry.npmjs.org/"
92
92
  },
93
- "gitHead": "40d2d37e166b6677fc19aaf4aefaadb768b0fd4f"
93
+ "gitHead": "534ea16483848cd334d4e2bd02f48beba4439a95"
94
94
  }