@cloudoperators/juno-messages-provider 0.2.16 → 0.2.17

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 (3) hide show
  1. package/README.md +0 -1
  2. package/build/index.js +10 -10
  3. package/package.json +12 -12
package/README.md CHANGED
@@ -167,7 +167,6 @@ export default NewItemForm
167
167
 
168
168
  - **addMessage**: adds a message to the store
169
169
  Accepts an object containing:
170
-
171
170
  - variant (string). Variants are defined below.
172
171
  - text (string or object)
173
172
 
package/build/index.js CHANGED
@@ -95,7 +95,7 @@ var yn = {};
95
95
  */
96
96
  var Yo;
97
97
  function us() {
98
- return Yo || (Yo = 1, process.env.NODE_ENV !== "production" && function() {
98
+ return Yo || (Yo = 1, process.env.NODE_ENV !== "production" && (function() {
99
99
  function t(O) {
100
100
  if (O == null) return null;
101
101
  if (typeof O == "function")
@@ -324,7 +324,7 @@ React keys must be passed directly to JSX without using spread:
324
324
  de ? B(r(O)) : $
325
325
  );
326
326
  };
327
- }()), yn;
327
+ })()), yn;
328
328
  }
329
329
  var Go;
330
330
  function ds() {
@@ -3371,7 +3371,7 @@ var mi = {};
3371
3371
  */
3372
3372
  var hi;
3373
3373
  function pf() {
3374
- return hi || (hi = 1, process.env.NODE_ENV !== "production" && function() {
3374
+ return hi || (hi = 1, process.env.NODE_ENV !== "production" && (function() {
3375
3375
  function t(s, u) {
3376
3376
  return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
3377
3377
  }
@@ -3419,7 +3419,7 @@ function pf() {
3419
3419
  [b]
3420
3420
  ), l(b), b;
3421
3421
  }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
3422
- }()), mi;
3422
+ })()), mi;
3423
3423
  }
3424
3424
  var gi;
3425
3425
  function mf() {
@@ -3607,9 +3607,9 @@ function uo(t, n, e) {
3607
3607
  if (l.defaultPrevented) return;
3608
3608
  let u = s(l);
3609
3609
  if (u === null || !u.getRootNode().contains(u) || !u.isConnected) return;
3610
- let c = function g(h) {
3610
+ let c = (function g(h) {
3611
3611
  return typeof h == "function" ? g(h()) : Array.isArray(h) || h instanceof Set ? h : [h];
3612
- }(n);
3612
+ })(n);
3613
3613
  for (let g of c) if (g !== null && (g.contains(u) || l.composed && l.composedPath().includes(g))) return;
3614
3614
  return !nr(u, tr.Loose) && u.tabIndex !== -1 && l.preventDefault(), r.current(l, u);
3615
3615
  }, [r, n]), i = ie(null);
@@ -8071,9 +8071,9 @@ function rg(t, n) {
8071
8071
  return void e.config.position(e, p);
8072
8072
  if (e.calendarContainer !== void 0) {
8073
8073
  Oe("onPreCalendarPosition");
8074
- var m = p || e._positionElement, w = Array.prototype.reduce.call(e.calendarContainer.children, function(Xl, Ql) {
8074
+ var m = p || e._positionElement, w = Array.prototype.reduce.call(e.calendarContainer.children, (function(Xl, Ql) {
8075
8075
  return Xl + Ql.offsetHeight;
8076
- }, 0), S = e.calendarContainer.offsetWidth, H = e.config.position.split(" "), U = H[0], oe = H.length > 1 ? H[1] : null, te = m.getBoundingClientRect(), ce = window.innerHeight - te.bottom, q = U === "above" || U !== "below" && ce < w && te.top > w, re = window.pageYOffset + te.top + (q ? -w - 2 : m.offsetHeight + 2);
8076
+ }), 0), S = e.calendarContainer.offsetWidth, H = e.config.position.split(" "), U = H[0], oe = H.length > 1 ? H[1] : null, te = m.getBoundingClientRect(), ce = window.innerHeight - te.bottom, q = U === "above" || U !== "below" && ce < w && te.top > w, re = window.pageYOffset + te.top + (q ? -w - 2 : m.offsetHeight + 2);
8077
8077
  if (Le(e.calendarContainer, "arrowTop", !q), Le(e.calendarContainer, "arrowBottom", q), !e.config.inline) {
8078
8078
  var we = window.pageXOffset + te.left, et = !1, Be = !1;
8079
8079
  oe === "center" ? (we -= (S - te.width) / 2, et = !0) : oe === "right" && (we -= S - te.width, Be = !0), Le(e.calendarContainer, "arrowLeft", !et && !Be), Le(e.calendarContainer, "arrowCenter", et), Le(e.calendarContainer, "arrowRight", Be);
@@ -9094,7 +9094,7 @@ function Fg() {
9094
9094
  }
9095
9095
  return (k === "string" ? String : Number)(P);
9096
9096
  }
9097
- var x = V, M = Ng, D = M.createFocusTrap, T = jg, L = T.isFocusable, R = parseInt((n = (e = /^(\d+)\./.exec(x.version)) === null || e === void 0 ? void 0 : e[1]) !== null && n !== void 0 ? n : 0, 10), F = /* @__PURE__ */ function(P) {
9097
+ var x = V, M = Ng, D = M.createFocusTrap, T = jg, L = T.isFocusable, R = parseInt((n = (e = /^(\d+)\./.exec(x.version)) === null || e === void 0 ? void 0 : e[1]) !== null && n !== void 0 ? n : 0, 10), F = /* @__PURE__ */ (function(P) {
9098
9098
  function k(N) {
9099
9099
  var E;
9100
9100
  r(this, k), E = a(this, k, [N]), f(E, "getNodeForOption", function(j) {
@@ -9279,7 +9279,7 @@ function Fg() {
9279
9279
  return null;
9280
9280
  }
9281
9281
  }]);
9282
- }(x.Component);
9282
+ })(x.Component);
9283
9283
  return F.defaultProps = {
9284
9284
  active: !0,
9285
9285
  paused: !1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudoperators/juno-messages-provider",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
4
4
  "description": "Messages provider",
5
5
  "author": "UI-Team",
6
6
  "contributors": [
@@ -19,26 +19,26 @@
19
19
  "pnpm": ">=8.0.0"
20
20
  },
21
21
  "peerDependencies": {
22
- "react": "^19.1.0",
23
- "react-dom": "^19.1.0",
24
- "zustand": "^4.5.7"
22
+ "react": "19.1.0",
23
+ "react-dom": "19.1.0",
24
+ "zustand": "4.5.7"
25
25
  },
26
26
  "devDependencies": {
27
- "@testing-library/jest-dom": "^6.6.3",
28
- "@testing-library/react": "^16.3.0",
27
+ "@testing-library/jest-dom": "6.8.0",
28
+ "@testing-library/react": "16.3.0",
29
29
  "@types/react": "19.1.8",
30
30
  "@types/react-dom": "19.1.6",
31
31
  "react": "19.1.0",
32
32
  "react-dom": "19.1.0",
33
- "typescript": "^5.8.3",
34
- "vite": "^7.0.3",
35
- "vite-plugin-dts": "^4.5.4",
36
- "vitest": "^3.2.4",
37
- "zustand": "^4.5.7",
33
+ "typescript": "5.9.2",
34
+ "vite": "7.1.7",
35
+ "vite-plugin-dts": "4.5.4",
36
+ "vitest": "3.2.4",
37
+ "zustand": "4.5.7",
38
38
  "@cloudoperators/juno-config": "0.0.5"
39
39
  },
40
40
  "dependencies": {
41
- "@cloudoperators/juno-ui-components": "5.5.0"
41
+ "@cloudoperators/juno-ui-components": "5.6.0"
42
42
  },
43
43
  "jest": {
44
44
  "testEnvironment": "jsdom",