@reportportal/ui-kit 0.0.1-alpha.206 → 0.0.1-alpha.207

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.
@@ -6,7 +6,7 @@ import "./baseIconButton-251479f7.js";
6
6
  import "./bind-06a7ff84.js";
7
7
  import "./popover.js";
8
8
  import "@floating-ui/react";
9
- import "./floatingUi-41f8c7b5.js";
9
+ import "./floatingUi-46f5b896.js";
10
10
  /*!
11
11
  * Copyright 2026 EPAM Systems
12
12
  *
@@ -5,7 +5,7 @@ import "es-toolkit";
5
5
  import "react";
6
6
  import "./popover.js";
7
7
  import "@floating-ui/react";
8
- import "./floatingUi-41f8c7b5.js";
8
+ import "./floatingUi-46f5b896.js";
9
9
  import "./tree-c3dd3d45.js";
10
10
  import "./isEmpty-ccacb5ff.js";
11
11
  export {
package/dist/bulkPanel.js CHANGED
@@ -15,7 +15,7 @@ import { S as ie } from "./chevronDownDropdown-0260bb66.js";
15
15
  import { S as se } from "./warning-537ead32.js";
16
16
  import "./close-4d480ef7.js";
17
17
  import "@floating-ui/react";
18
- import "./floatingUi-41f8c7b5.js";
18
+ import "./floatingUi-46f5b896.js";
19
19
  const ae = "_expanded_ue1t9_6", oe = "_header_ue1t9_32", ce = "_tabs_ue1t9_119", re = "_tab_ue1t9_119", de = "_active_ue1t9_146", me = "_item_ue1t9_99", pe = {
20
20
  "bulk-panel": "_bulk-panel_ue1t9_1",
21
21
  expanded: ae,
@@ -15,6 +15,7 @@ export interface PopoverProps {
15
15
  isOpened?: boolean;
16
16
  isCentered?: boolean;
17
17
  strategy?: Strategy;
18
+ shouldUsePortal?: boolean;
18
19
  setIsOpened?: (isOpened: boolean) => void;
19
20
  }
20
21
  export declare const Popover: FC<PopoverProps>;
@@ -9,7 +9,7 @@ import "./details-dbb1530b.js";
9
9
  import "./baseIconButton-251479f7.js";
10
10
  import "./popover.js";
11
11
  import "@floating-ui/react";
12
- import "./floatingUi-41f8c7b5.js";
12
+ import "./floatingUi-46f5b896.js";
13
13
  const T = "_disabled_b9lbt_29", F = "_selected_b9lbt_32", W = {
14
14
  "filter-item": "_filter-item_b9lbt_16",
15
15
  disabled: T,
@@ -22,8 +22,8 @@ const o = 16, a = 8, l = 16, i = ["top", "right", "bottom", "left"], r = [
22
22
  export {
23
23
  l as A,
24
24
  a as T,
25
- o as a,
26
- c as b,
25
+ c as a,
26
+ o as b,
27
27
  g,
28
28
  i as m
29
29
  };
package/dist/index.js CHANGED
@@ -74,7 +74,7 @@ import "react-dropzone";
74
74
  import "framer-motion";
75
75
  import "./useWindowResize-a7e1ac92.js";
76
76
  import "@floating-ui/react";
77
- import "./floatingUi-41f8c7b5.js";
77
+ import "./floatingUi-46f5b896.js";
78
78
  import "./useTreeSortable-bc631689.js";
79
79
  import "./common.js";
80
80
  import "react-resizable";
package/dist/issueList.js CHANGED
@@ -7,7 +7,7 @@ import { i as J } from "./isEmpty-ccacb5ff.js";
7
7
  import "./close-4d480ef7.js";
8
8
  import "react-dom";
9
9
  import "@floating-ui/react";
10
- import "./floatingUi-41f8c7b5.js";
10
+ import "./floatingUi-46f5b896.js";
11
11
  const K = 100, R = 8, Q = 32, X = 60, Z = 360, $ = "_expanded_ypfdt_25", C = "_issue_ypfdt_16", tt = "_counter_ypfdt_36", et = "_hidden_ypfdt_55", nt = "_ellipsis_ypfdt_61", rt = {
12
12
  "issue-list": "_issue-list_ypfdt_16",
13
13
  expanded: $,
package/dist/modal.js CHANGED
@@ -24,7 +24,7 @@ import "./isEmpty-ccacb5ff.js";
24
24
  import "./useEllipsisTitle-462fa254.js";
25
25
  import "./checkbox-76aa8f97.js";
26
26
  import "@floating-ui/react";
27
- import "./floatingUi-41f8c7b5.js";
27
+ import "./floatingUi-46f5b896.js";
28
28
  const oe = {
29
29
  "modal-content": "_modal-content_ppzcb_1"
30
30
  }, ne = b.bind(oe), D = ({ children: o }) => /* @__PURE__ */ e("div", { className: ne("modal-content"), children: o }), ae = {
@@ -4,7 +4,7 @@ import "./bind-06a7ff84.js";
4
4
  import "react";
5
5
  import "./popover.js";
6
6
  import "@floating-ui/react";
7
- import "./floatingUi-41f8c7b5.js";
7
+ import "./floatingUi-46f5b896.js";
8
8
  import "./button-7ab874f3.js";
9
9
  import "./fieldText-1749da7a.js";
10
10
  import "./clear-53660571.js";
package/dist/popover.js CHANGED
@@ -1,82 +1,86 @@
1
- import { jsxs as f, Fragment as H, jsx as s } from "react/jsx-runtime";
2
- import { useRef as O, useState as j, useCallback as C } from "react";
3
- import { useFloating as L, offset as M, flip as W, arrow as U, autoUpdate as q, useClick as z, useDismiss as B, useRole as J, useInteractions as K, FloatingFocusManager as Q, FloatingArrow as V } from "@floating-ui/react";
4
- import { c as X } from "./bind-06a7ff84.js";
5
- import { g as Y, T as u, a as Z, m as $, b as ee, A as te } from "./floatingUi-41f8c7b5.js";
6
- const se = "_popover_n3nff_1", oe = "_title_n3nff_28", ne = {
1
+ import { jsxs as f, Fragment as j, jsx as s } from "react/jsx-runtime";
2
+ import { useRef as C, useState as L, useCallback as M } from "react";
3
+ import { useFloating as W, offset as U, flip as q, arrow as z, autoUpdate as B, useClick as J, useDismiss as K, useRole as Q, useInteractions as V, FloatingFocusManager as X, FloatingArrow as Y, FloatingPortal as Z } from "@floating-ui/react";
4
+ import { c as $ } from "./bind-06a7ff84.js";
5
+ import { g as ee, T as g, a as te, A as se, b as ne, m as oe } from "./floatingUi-46f5b896.js";
6
+ const le = "_popover_n3nff_1", ae = "_title_n3nff_28", re = {
7
7
  "popover-wrapper": "_popover-wrapper_n3nff_1",
8
- popover: se,
9
- title: oe
10
- }, l = X.bind(ne), pe = ({
11
- content: g,
8
+ popover: le,
9
+ title: ae
10
+ }, a = $.bind(re), ge = ({
11
+ content: u,
12
12
  children: d,
13
13
  className: _,
14
- placement: v = "bottom",
15
- fallbackPlacements: A = ee,
16
- title: i,
17
- arrowOffset: o = te,
18
- safeZone: h = 4,
19
- arrowColor: x = "white",
20
- dataAutomationId: F,
14
+ placement: h = "bottom",
15
+ fallbackPlacements: v = te,
16
+ title: r,
17
+ arrowOffset: n = se,
18
+ safeZone: A = 4,
19
+ arrowColor: F = "white",
20
+ dataAutomationId: x,
21
21
  isOpened: R,
22
- isCentered: r = !0,
22
+ isCentered: i = !0,
23
23
  strategy: w = "absolute",
24
- setIsOpened: n
24
+ shouldUsePortal: E = !1,
25
+ setIsOpened: o
25
26
  }) => {
26
- const c = O(null), [b, N] = j(!1), p = n ? R : b, T = (e) => {
27
- n ? n(e) : N(e);
28
- }, E = C(
29
- (e, a) => Y(e, a, o, r),
30
- [o, r]
31
- ), { placement: P, refs: m, floatingStyles: k, context: t } = L({
32
- open: p,
33
- onOpenChange: T,
34
- placement: v,
27
+ const c = C(null), [b, N] = L(!1), m = o ? R : b, P = (e) => {
28
+ o ? o(e) : N(e);
29
+ }, T = M(
30
+ (e, l) => ee(e, l, n, i),
31
+ [n, i]
32
+ ), { placement: y, refs: p, floatingStyles: k, context: t } = W({
33
+ open: m,
34
+ onOpenChange: P,
35
+ placement: h,
35
36
  strategy: w,
36
37
  middleware: [
37
- M(({ rects: e, placement: a }) => ({
38
- mainAxis: h + u,
39
- alignmentAxis: E(e, a)
38
+ U(({ rects: e, placement: l }) => ({
39
+ mainAxis: A + g,
40
+ alignmentAxis: T(e, l)
40
41
  })),
41
- W({
42
+ q({
42
43
  fallbackAxisSideDirection: "start",
43
- fallbackPlacements: A
44
+ fallbackPlacements: v
44
45
  }),
45
- U({
46
+ z({
46
47
  element: c
47
48
  })
48
49
  ],
49
- whileElementsMounted: q
50
- }), I = z(t), S = B(t), y = J(t), { getReferenceProps: D, getFloatingProps: G } = K([I, S, y]);
51
- return /* @__PURE__ */ f(H, { children: [
52
- /* @__PURE__ */ s("div", { ref: m.setReference, ...D(), className: l("popover-wrapper"), children: d }),
53
- p && /* @__PURE__ */ s(Q, { context: t, modal: !1, children: /* @__PURE__ */ f(
50
+ whileElementsMounted: B
51
+ }), I = J(t), S = K(t), D = Q(t), { getReferenceProps: G, getFloatingProps: H } = V([I, S, D]), O = () => {
52
+ const e = /* @__PURE__ */ s(X, { context: t, modal: !1, children: /* @__PURE__ */ f(
54
53
  "div",
55
54
  {
56
- className: l("popover", _),
57
- "data-automation-id": F,
58
- ref: m.setFloating,
55
+ className: a("popover", _),
56
+ "data-automation-id": x,
57
+ ref: p.setFloating,
59
58
  style: k,
60
- ...G,
59
+ ...H(),
61
60
  children: [
62
61
  /* @__PURE__ */ s(
63
- V,
62
+ Y,
64
63
  {
65
64
  ref: c,
66
65
  context: t,
67
- width: Z,
68
- height: u,
69
- fill: x,
70
- staticOffset: $.includes(P) ? null : o
66
+ width: ne,
67
+ height: g,
68
+ fill: F,
69
+ staticOffset: oe.includes(y) ? null : n
71
70
  }
72
71
  ),
73
- i && /* @__PURE__ */ s("div", { className: l("title"), children: i }),
74
- g
72
+ r && /* @__PURE__ */ s("div", { className: a("title"), children: r }),
73
+ u
75
74
  ]
76
75
  }
77
- ) })
76
+ ) });
77
+ return E ? /* @__PURE__ */ s(Z, { children: e }) : e;
78
+ };
79
+ return /* @__PURE__ */ f(j, { children: [
80
+ /* @__PURE__ */ s("div", { ref: p.setReference, ...G(), className: a("popover-wrapper"), children: d }),
81
+ m && O()
78
82
  ] });
79
83
  };
80
84
  export {
81
- pe as Popover
85
+ ge as Popover
82
86
  };
package/dist/table.js CHANGED
@@ -10,7 +10,7 @@ import "./keyCodes-f63c0e11.js";
10
10
  import "./tooltip.js";
11
11
  import "react-dom";
12
12
  import "@floating-ui/react";
13
- import "./floatingUi-41f8c7b5.js";
13
+ import "./floatingUi-46f5b896.js";
14
14
  import "react-dnd";
15
15
  import "react-dnd-html5-backend";
16
16
  import "./useEllipsisTitle-462fa254.js";
package/dist/tooltip.js CHANGED
@@ -3,7 +3,7 @@ import { useState as R, useRef as f } from "react";
3
3
  import { createPortal as G } from "react-dom";
4
4
  import { c as j } from "./bind-06a7ff84.js";
5
5
  import { useFloating as k, offset as $, flip as B, arrow as C, autoUpdate as U, FloatingArrow as Y } from "@floating-ui/react";
6
- import { T as h, g as Z, b as q, a as z } from "./floatingUi-41f8c7b5.js";
6
+ import { T as h, g as Z, a as q, b as z } from "./floatingUi-46f5b896.js";
7
7
  const J = {
8
8
  "tooltip-wrapper": "_tooltip-wrapper_1n6ya_16",
9
9
  "tooltip-content": "_tooltip-content_1n6ya_26"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reportportal/ui-kit",
3
- "version": "0.0.1-alpha.206",
3
+ "version": "0.0.1-alpha.207",
4
4
  "description": "The UI-kit library for ReportPortal Design System.",
5
5
  "type": "module",
6
6
  "scripts": {