@micromag/element-share-incentive 0.3.311 → 0.3.318

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.
@@ -1 +1 @@
1
- .micromag-element-share-incentive-box{display:inline-block;position:relative}.micromag-element-share-incentive-tip{position:absolute;bottom:100%;left:20px;width:30px;height:auto}
1
+ .micromag-element-share-incentive-box{display:inline-block;position:relative}.micromag-element-share-incentive-tip{bottom:100%;height:auto;left:20px;position:absolute;width:30px}
package/es/index.js CHANGED
@@ -19,16 +19,13 @@ var defaultProps = {
19
19
  label: null,
20
20
  boxStyle: null
21
21
  };
22
-
23
22
  var ShareIncentive = function ShareIncentive(_ref) {
24
23
  var className = _ref.className,
25
- label = _ref.label,
26
- boxStyle = _ref.boxStyle;
27
-
24
+ label = _ref.label,
25
+ boxStyle = _ref.boxStyle;
28
26
  var _ref2 = boxStyle || {},
29
- _ref2$backgroundColor = _ref2.backgroundColor,
30
- backgroundColor = _ref2$backgroundColor === void 0 ? null : _ref2$backgroundColor;
31
-
27
+ _ref2$backgroundColor = _ref2.backgroundColor,
28
+ backgroundColor = _ref2$backgroundColor === void 0 ? null : _ref2$backgroundColor;
32
29
  var bgColor = getColorAsString(backgroundColor);
33
30
  return /*#__PURE__*/React.createElement("div", {
34
31
  className: classNames([styles.container, _defineProperty({}, className, className !== null)])
@@ -46,7 +43,6 @@ var ShareIncentive = function ShareIncentive(_ref) {
46
43
  className: styles.text
47
44
  }, label))));
48
45
  };
49
-
50
46
  ShareIncentive.propTypes = propTypes;
51
47
  ShareIncentive.defaultProps = defaultProps;
52
48
 
package/lib/index.js CHANGED
@@ -30,16 +30,13 @@ var defaultProps = {
30
30
  label: null,
31
31
  boxStyle: null
32
32
  };
33
-
34
33
  var ShareIncentive = function ShareIncentive(_ref) {
35
34
  var className = _ref.className,
36
- label = _ref.label,
37
- boxStyle = _ref.boxStyle;
38
-
35
+ label = _ref.label,
36
+ boxStyle = _ref.boxStyle;
39
37
  var _ref2 = boxStyle || {},
40
- _ref2$backgroundColor = _ref2.backgroundColor,
41
- backgroundColor = _ref2$backgroundColor === void 0 ? null : _ref2$backgroundColor;
42
-
38
+ _ref2$backgroundColor = _ref2.backgroundColor,
39
+ backgroundColor = _ref2$backgroundColor === void 0 ? null : _ref2$backgroundColor;
43
40
  var bgColor = utils.getColorAsString(backgroundColor);
44
41
  return /*#__PURE__*/React__default["default"].createElement("div", {
45
42
  className: classNames__default["default"]([styles.container, _defineProperty__default["default"]({}, className, className !== null)])
@@ -57,7 +54,6 @@ var ShareIncentive = function ShareIncentive(_ref) {
57
54
  className: styles.text
58
55
  }, label))));
59
56
  };
60
-
61
57
  ShareIncentive.propTypes = propTypes;
62
58
  ShareIncentive.defaultProps = defaultProps;
63
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-share-incentive",
3
- "version": "0.3.311",
3
+ "version": "0.3.318",
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.311",
53
- "@micromag/element-text": "^0.3.311",
52
+ "@micromag/core": "^0.3.318",
53
+ "@micromag/element-text": "^0.3.318",
54
54
  "classnames": "^2.2.6",
55
55
  "prop-types": "^15.7.2",
56
56
  "react-intl": "^5.12.1",
57
- "uuid": "^8.3.2"
57
+ "uuid": "^9.0.0"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "fab297a7ad204611597c749b969f14d992d35d47"
62
+ "gitHead": "7d1a296e0c0d410e1225279e1f19e3a7715bfa96"
63
63
  }