@semcore/notice-bubble 16.1.10-prerelease.5 → 16.1.10

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.
@@ -75,7 +75,7 @@ var Notices = function Notices2(props) {
75
75
  }))));
76
76
  });
77
77
  };
78
- var NoticeBubbleContainerRoot = /* @__PURE__ */ function(_Component) {
78
+ var NoticeBubbleContainerRoot = /* @__PURE__ */ (function(_Component) {
79
79
  function NoticeBubbleContainerRoot2() {
80
80
  var _this;
81
81
  _classCallCheck(this, NoticeBubbleContainerRoot2);
@@ -146,7 +146,7 @@ var NoticeBubbleContainerRoot = /* @__PURE__ */ function(_Component) {
146
146
  }))))));
147
147
  }
148
148
  }]);
149
- }(Component);
149
+ })(Component);
150
150
  _defineProperty(NoticeBubbleContainerRoot, "displayName", "NoticeBubbleContainer");
151
151
  _defineProperty(NoticeBubbleContainerRoot, "style", style);
152
152
  _defineProperty(NoticeBubbleContainerRoot, "enhance", [i18nEnhance(localizedMessages), contextThemeEnhance(), zIndexStackingEnhance("z-index-notice-bubble")]);
@@ -164,7 +164,7 @@ var FocusLock = /* @__PURE__ */ React.forwardRef(function(props, outerRef) {
164
164
  ref
165
165
  }, other));
166
166
  });
167
- var ViewInfo = /* @__PURE__ */ function(_Component2) {
167
+ var ViewInfo = /* @__PURE__ */ (function(_Component2) {
168
168
  function ViewInfo2() {
169
169
  var _this2;
170
170
  _classCallCheck(this, ViewInfo2);
@@ -273,20 +273,20 @@ var ViewInfo = /* @__PURE__ */ function(_Component2) {
273
273
  })), isNode(icon) ? /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SIcon, _ref4.cn("SIcon", {}), icon), /* @__PURE__ */ React.createElement(SContent, _ref4.cn("SContent", {}), /* @__PURE__ */ React.createElement(SMessage, _ref4.cn("SMessage", {}), children), isNode(actionNode) ? /* @__PURE__ */ React.createElement(SAction, _ref4.cn("SAction", {}), actionNode) : null)) : /* @__PURE__ */ React.createElement(SContent, _ref4.cn("SContent", {}), /* @__PURE__ */ React.createElement(SMessage, _ref4.cn("SMessage", {}), children), isNode(actionNode) ? /* @__PURE__ */ React.createElement(SAction, _ref4.cn("SAction", {}), actionNode) : null));
274
274
  }
275
275
  }]);
276
- }(Component);
277
- var ViewWarning = /* @__PURE__ */ function(_ViewInfo2) {
276
+ })(Component);
277
+ var ViewWarning = /* @__PURE__ */ (function(_ViewInfo2) {
278
278
  function ViewWarning2() {
279
279
  _classCallCheck(this, ViewWarning2);
280
280
  return _callSuper(this, ViewWarning2, arguments);
281
281
  }
282
282
  _inherits(ViewWarning2, _ViewInfo2);
283
283
  return _createClass(ViewWarning2);
284
- }(ViewInfo);
284
+ })(ViewInfo);
285
285
  _defineProperty(ViewWarning, "defaultProps", {
286
286
  type: "warning",
287
287
  duration: 0
288
288
  });
289
- var NoticeBubbleView = /* @__PURE__ */ function(_Component3) {
289
+ var NoticeBubbleView = /* @__PURE__ */ (function(_Component3) {
290
290
  function NoticeBubbleView2() {
291
291
  var _this4;
292
292
  _classCallCheck(this, NoticeBubbleView2);
@@ -323,20 +323,20 @@ var NoticeBubbleView = /* @__PURE__ */ function(_Component3) {
323
323
  return null;
324
324
  }
325
325
  }]);
326
- }(Component);
326
+ })(Component);
327
327
  _defineProperty(NoticeBubbleView, "defaultProps", {
328
328
  duration: 5e3,
329
329
  type: "info",
330
330
  manager: noticeBubbleDefaultManager
331
331
  });
332
- var NoticeBubbleWarningView = /* @__PURE__ */ function(_NoticeBubbleView2) {
332
+ var NoticeBubbleWarningView = /* @__PURE__ */ (function(_NoticeBubbleView2) {
333
333
  function NoticeBubbleWarningView2() {
334
334
  _classCallCheck(this, NoticeBubbleWarningView2);
335
335
  return _callSuper(this, NoticeBubbleWarningView2, arguments);
336
336
  }
337
337
  _inherits(NoticeBubbleWarningView2, _NoticeBubbleView2);
338
338
  return _createClass(NoticeBubbleWarningView2);
339
- }(NoticeBubbleView);
339
+ })(NoticeBubbleView);
340
340
  _defineProperty(NoticeBubbleWarningView, "defaultProps", {
341
341
  duration: 5e3,
342
342
  type: "warning",
@@ -7,7 +7,7 @@ import EventEmitter from "@semcore/core/lib/utils/eventEmitter";
7
7
  import { setFocus } from "@semcore/core/lib/utils/use/useFocusLock";
8
8
  import React from "react";
9
9
  var EVENT_NAME = "CHANGE";
10
- var NoticeBubbleManager = /* @__PURE__ */ function() {
10
+ var NoticeBubbleManager = /* @__PURE__ */ (function() {
11
11
  function NoticeBubbleManager2() {
12
12
  _classCallCheck(this, NoticeBubbleManager2);
13
13
  _defineProperty(this, "items", []);
@@ -113,7 +113,7 @@ var NoticeBubbleManager = /* @__PURE__ */ function() {
113
113
  return false;
114
114
  }
115
115
  }]);
116
- }();
116
+ })();
117
117
  var noticeBubbleDefaultManager = new NoticeBubbleManager();
118
118
  export {
119
119
  NoticeBubbleManager,
package/lib/esm/utils.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/esm/createClass";
3
- var Timer = /* @__PURE__ */ function() {
3
+ var Timer = /* @__PURE__ */ (function() {
4
4
  function Timer2(callback, delay) {
5
5
  _classCallCheck(this, Timer2);
6
6
  this.callback = callback;
@@ -36,7 +36,7 @@ var Timer = /* @__PURE__ */ function() {
36
36
  clearTimeout(this.timerId);
37
37
  }
38
38
  }]);
39
- }();
39
+ })();
40
40
  export {
41
41
  Timer
42
42
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@semcore/notice-bubble",
3
3
  "description": "Semrush NoticeBubble Component",
4
- "version": "16.1.10-prerelease.5",
4
+ "version": "16.1.10",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es6/index.js",
7
7
  "typings": "lib/types/index.d.ts",
@@ -14,14 +14,14 @@
14
14
  "types": "./lib/types/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@semcore/icon": "16.5.1-prerelease.5",
18
- "@semcore/portal": "16.0.10-prerelease.5",
19
- "@semcore/flex-box": "16.0.10-prerelease.5",
20
- "@semcore/animation": "16.0.6-prerelease.5",
21
- "@semcore/button": "16.0.10-prerelease.5"
17
+ "@semcore/icon": "16.5.1",
18
+ "@semcore/portal": "16.0.10",
19
+ "@semcore/flex-box": "16.0.10",
20
+ "@semcore/animation": "16.0.6",
21
+ "@semcore/button": "16.0.10"
22
22
  },
23
23
  "peerDependencies": {
24
- "@semcore/base-components": "^16.4.0-prerelease.5"
24
+ "@semcore/base-components": "^16.0.0"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
@@ -29,7 +29,7 @@
29
29
  "directory": "semcore/notice-bubble"
30
30
  },
31
31
  "devDependencies": {
32
- "@semcore/core": "16.5.0-prerelease.5",
32
+ "@semcore/core": "16.5.0",
33
33
  "@semcore/testing-utils": "1.0.0"
34
34
  },
35
35
  "scripts": {