intelicoreact 0.2.20 → 0.2.21

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.
@@ -51,6 +51,7 @@ var CircleProgressBar = function CircleProgressBar(_ref) {
51
51
  setStrokeDashoffset("calc(".concat(circumference, " - (").concat(circumference, " * ").concat(amountProgress, ") / 100)"));
52
52
  }, [amountProgress]);
53
53
  return /*#__PURE__*/_react.default.createElement("div", {
54
+ "data-testid": 'test-circleProgress',
54
55
  className: (0, _classnames.default)('limit-progress-bar', {
55
56
  'limit-progress-bar--reverse': isReverseType
56
57
  }, className)
@@ -102,6 +103,7 @@ var CircleProgressBar = function CircleProgressBar(_ref) {
102
103
  strokeDashoffset: strokeDashoffset
103
104
  }
104
105
  })), /*#__PURE__*/_react.default.createElement("div", {
106
+ "data-testid": 'test-circleProgress-children',
105
107
  className: "limit-progress-bar__content"
106
108
  }, children));
107
109
  };
@@ -89,7 +89,12 @@ var Hint = function Hint(_ref) {
89
89
  "stroke-width": "1.20265",
90
90
  "stroke-linecap": "round",
91
91
  "stroke-linejoin": "round"
92
- })), label && /*#__PURE__*/_react.default.createElement("span", {
92
+ })), variant === 'warning' && /*#__PURE__*/_react.default.createElement(_reactFeather.AlertTriangle, {
93
+ className: "hint__icon",
94
+ color: '#F06D8D',
95
+ width: 16,
96
+ height: 16
97
+ }), label && /*#__PURE__*/_react.default.createElement("span", {
93
98
  className: (0, _classnames.default)('hint__label', {
94
99
  'color--primary': isOpen
95
100
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [