intelicoreact 1.4.25 → 1.4.27

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.
@@ -11,6 +11,8 @@ var _react = _interopRequireWildcard(require("react"));
11
11
 
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
 
14
+ var _reactDom = require("react-dom");
15
+
14
16
  var _reactFeather = require("react-feather");
15
17
 
16
18
  var _Spinner = _interopRequireDefault(require("./../../Layout/Spinner/Spinner"));
@@ -54,7 +56,7 @@ const Tag = _ref => {
54
56
  const {
55
57
  scrollY
56
58
  } = window;
57
- const tagPopupStyles = useMemo(() => {
59
+ const tagPopupStyles = (0, _react.useMemo)(() => {
58
60
  var _tagRef$current2;
59
61
 
60
62
  if (!isTagPopupOpened || !(tagRef !== null && tagRef !== void 0 && tagRef.current)) return {};
@@ -123,7 +125,7 @@ const Tag = _ref => {
123
125
  className: "tag__button"
124
126
  }, /*#__PURE__*/_react.default.createElement(_reactFeather.X, {
125
127
  className: "color--text"
126
- })), isTagPopupOpened && createPortal( /*#__PURE__*/_react.default.createElement("div", {
128
+ })), isTagPopupOpened && /*#__PURE__*/(0, _reactDom.createPortal)( /*#__PURE__*/_react.default.createElement("div", {
127
129
  id: "tagPopup".concat(value),
128
130
  className: (0, _classnames.default)("tag__popup", popupClassName),
129
131
  style: tagPopupStyles
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.4.25",
3
+ "version": "1.4.27",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [