@reportportal/ui-kit 0.0.1-alpha.54 → 0.0.1-alpha.55
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.
- package/dist/components/tooltip/tooltip.d.ts +2 -0
- package/dist/index.js +82 -81
- package/dist/pagination.js +1 -0
- package/dist/tooltip.js +80 -77
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { B as
|
|
2
|
-
import { B as
|
|
3
|
-
import { C as
|
|
4
|
-
import { S as
|
|
5
|
-
import { F as
|
|
6
|
-
import { T as
|
|
7
|
-
import { Modal as
|
|
8
|
-
import { D as
|
|
9
|
-
import { T as
|
|
10
|
-
import { F as
|
|
11
|
-
import { B as
|
|
12
|
-
import { S as
|
|
13
|
-
import { F as
|
|
14
|
-
import { R as
|
|
15
|
-
import { Tooltip as
|
|
16
|
-
import { Popover as
|
|
17
|
-
import { P as
|
|
18
|
-
import { T as
|
|
19
|
-
import { D as
|
|
1
|
+
import { B as S } from "./button-33c88abf.js";
|
|
2
|
+
import { B as C } from "./baseIconButton-251479f7.js";
|
|
3
|
+
import { C as b } from "./checkbox-9a6c7ce1.js";
|
|
4
|
+
import { S as B } from "./systemMessage-1ced6079.js";
|
|
5
|
+
import { F as P } from "./fieldText-78c1be1a.js";
|
|
6
|
+
import { T as g } from "./themeProvider-46c2be7b.js";
|
|
7
|
+
import { Modal as v } from "./modal.js";
|
|
8
|
+
import { D as M } from "./dropdown-6edea86c.js";
|
|
9
|
+
import { T as A } from "./toggle-1a3aacb5.js";
|
|
10
|
+
import { F as L } from "./fieldNumber-d81e551e.js";
|
|
11
|
+
import { B as O } from "./bubblesLoader-a7e709d4.js";
|
|
12
|
+
import { S as H } from "./spinLoader-c4a53718.js";
|
|
13
|
+
import { F as U } from "./fieldTextFlex-314741ad.js";
|
|
14
|
+
import { R as q } from "./radio-bccc84f2.js";
|
|
15
|
+
import { Tooltip as J } from "./tooltip.js";
|
|
16
|
+
import { Popover as Q } from "./popover.js";
|
|
17
|
+
import { P as W } from "./pagination-066b1b2b.js";
|
|
18
|
+
import { T as Y } from "./table-32fc8c70.js";
|
|
19
|
+
import { D as _ } from "./datePicker-a333d78b.js";
|
|
20
20
|
import "react-datepicker";
|
|
21
|
-
import { SystemAlert as
|
|
22
|
-
import { S as
|
|
23
|
-
import { BreadcrumbsTreeIcon as
|
|
24
|
-
import { a as
|
|
25
|
-
import { S as
|
|
26
|
-
import { S as
|
|
27
|
-
import { S as
|
|
28
|
-
import { S as
|
|
29
|
-
import { S as
|
|
30
|
-
import { S as
|
|
21
|
+
import { SystemAlert as oo } from "./systemAlert.js";
|
|
22
|
+
import { S as eo, a as to } from "./arrowUp-4a5caee7.js";
|
|
23
|
+
import { BreadcrumbsTreeIcon as no, ChevronDownDropdownIcon as po, ChevronRightBreadcrumbsIcon as mo, CopyIcon as so, DeleteIcon as co, EditIcon as xo, ExportIcon as io, ExternalLinkIcon as Io, FilterFilledIcon as fo, FilterOutlineIcon as lo, FlagIcon as So, HideIcon as uo, MaximizeIcon as Co, MeatballMenuIcon as Fo, SearchIcon as bo, SortIcon as To } from "./icons.js";
|
|
24
|
+
import { a as Do, S as Po } from "./calendarArrow-3e1339ea.js";
|
|
25
|
+
import { S as go, a as ho, b as vo } from "./openEye-7b9cf080.js";
|
|
26
|
+
import { S as Mo } from "./close-4b33d7c1.js";
|
|
27
|
+
import { S as Ao } from "./dropdown-0260bb66.js";
|
|
28
|
+
import { S as Lo, a as Ro, b as Oo } from "./success-dc1914aa.js";
|
|
29
|
+
import { S as Ho, a as No } from "./plus-0929dda4.js";
|
|
30
|
+
import { S as jo, a as qo } from "./prevPage-87faf576.js";
|
|
31
31
|
import "react/jsx-runtime";
|
|
32
32
|
import "react";
|
|
33
33
|
import "./bind-06a7ff84.js";
|
|
@@ -38,59 +38,60 @@ import "framer-motion";
|
|
|
38
38
|
import "./useOnClickOutside-c332f7d3.js";
|
|
39
39
|
import "@floating-ui/react-dom";
|
|
40
40
|
import "downshift";
|
|
41
|
+
import "react-dom";
|
|
41
42
|
import "@floating-ui/react";
|
|
42
43
|
import "react-datepicker/dist/es/index.js";
|
|
43
44
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
45
|
+
eo as ArrowDownIcon,
|
|
46
|
+
to as ArrowUpIcon,
|
|
47
|
+
C as BaseIconButton,
|
|
48
|
+
no as BreadcrumbsTreeIcon,
|
|
49
|
+
O as BubblesLoader,
|
|
50
|
+
S as Button,
|
|
51
|
+
Do as CalendarArrowIcon,
|
|
52
|
+
Po as CalendarIcon,
|
|
53
|
+
b as Checkbox,
|
|
54
|
+
po as ChevronDownDropdownIcon,
|
|
55
|
+
mo as ChevronRightBreadcrumbsIcon,
|
|
56
|
+
go as ClearIcon,
|
|
57
|
+
ho as CloseEyeIcon,
|
|
58
|
+
Mo as CloseIcon,
|
|
59
|
+
so as CopyIcon,
|
|
60
|
+
_ as DatePicker,
|
|
61
|
+
co as DeleteIcon,
|
|
62
|
+
M as Dropdown,
|
|
63
|
+
Ao as DropdownIcon,
|
|
64
|
+
xo as EditIcon,
|
|
65
|
+
Lo as ErrorIcon,
|
|
66
|
+
io as ExportIcon,
|
|
67
|
+
Io as ExternalLinkIcon,
|
|
68
|
+
L as FieldNumber,
|
|
69
|
+
P as FieldText,
|
|
70
|
+
U as FieldTextFlex,
|
|
71
|
+
fo as FilterFilledIcon,
|
|
72
|
+
lo as FilterOutlineIcon,
|
|
73
|
+
So as FlagIcon,
|
|
74
|
+
uo as HideIcon,
|
|
75
|
+
Ro as InfoIcon,
|
|
76
|
+
Co as MaximizeIcon,
|
|
77
|
+
Fo as MeatballMenuIcon,
|
|
78
|
+
Ho as MinusIcon,
|
|
79
|
+
v as Modal,
|
|
80
|
+
vo as OpenEyeIcon,
|
|
81
|
+
W as Pagination,
|
|
82
|
+
No as PlusIcon,
|
|
83
|
+
Q as Popover,
|
|
84
|
+
jo as PrevChapterIcon,
|
|
85
|
+
qo as PrevPageIcon,
|
|
86
|
+
q as Radio,
|
|
87
|
+
bo as SearchIcon,
|
|
88
|
+
To as SortIcon,
|
|
89
|
+
H as SpinLoader,
|
|
90
|
+
Oo as SuccessIcon,
|
|
91
|
+
oo as SystemAlert,
|
|
92
|
+
B as SystemMessage,
|
|
93
|
+
Y as Table,
|
|
94
|
+
g as ThemeProvider,
|
|
95
|
+
A as Toggle,
|
|
96
|
+
J as Tooltip
|
|
96
97
|
};
|
package/dist/pagination.js
CHANGED
package/dist/tooltip.js
CHANGED
|
@@ -1,96 +1,99 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { jsxs as p, Fragment as v, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { useState as D, useRef as m } from "react";
|
|
3
|
+
import { createPortal as H } from "react-dom";
|
|
4
|
+
import { c as R } from "./bind-06a7ff84.js";
|
|
5
|
+
import { useFloating as G, offset as P, flip as j, arrow as k, autoUpdate as z, FloatingArrow as $ } from "@floating-ui/react";
|
|
6
|
+
const C = {
|
|
6
7
|
"tooltip-wrapper": "_tooltip-wrapper_18ppz_16",
|
|
7
8
|
"tooltip-content": "_tooltip-content_18ppz_23"
|
|
8
|
-
},
|
|
9
|
-
content:
|
|
10
|
-
wrapperClassName:
|
|
11
|
-
contentClassName:
|
|
12
|
-
dynamicWidth:
|
|
13
|
-
width:
|
|
14
|
-
minWidth:
|
|
15
|
-
safeZone:
|
|
16
|
-
zIndex:
|
|
17
|
-
placement:
|
|
18
|
-
arrowColor:
|
|
19
|
-
dataAutomationId:
|
|
20
|
-
mainAxis:
|
|
21
|
-
children:
|
|
9
|
+
}, d = R.bind(C), U = 300, Y = 100, Z = 16, f = 8, q = ["top", "right", "bottom", "left"], X = ({
|
|
10
|
+
content: u,
|
|
11
|
+
wrapperClassName: h,
|
|
12
|
+
contentClassName: w,
|
|
13
|
+
dynamicWidth: x,
|
|
14
|
+
width: T,
|
|
15
|
+
minWidth: _ = 120,
|
|
16
|
+
safeZone: g = 4,
|
|
17
|
+
zIndex: E = 9,
|
|
18
|
+
placement: A = "bottom",
|
|
19
|
+
arrowColor: b = "rgba(34, 34, 34, 0.91)",
|
|
20
|
+
dataAutomationId: I,
|
|
21
|
+
mainAxis: N = !0,
|
|
22
|
+
children: S,
|
|
23
|
+
portalRoot: n,
|
|
24
|
+
isFloating: W = !0
|
|
22
25
|
}) => {
|
|
23
|
-
const [
|
|
24
|
-
open:
|
|
25
|
-
placement:
|
|
26
|
+
const [s, i] = D(!1), r = m(null), t = m(), { refs: l, floatingStyles: y, context: F } = G({
|
|
27
|
+
open: s,
|
|
28
|
+
placement: A,
|
|
26
29
|
middleware: [
|
|
27
|
-
|
|
28
|
-
mainAxis:
|
|
30
|
+
P({
|
|
31
|
+
mainAxis: g + f
|
|
29
32
|
}),
|
|
30
|
-
|
|
31
|
-
mainAxis:
|
|
33
|
+
W && j({
|
|
34
|
+
mainAxis: N,
|
|
32
35
|
fallbackAxisSideDirection: "start",
|
|
33
|
-
fallbackPlacements:
|
|
36
|
+
fallbackPlacements: q
|
|
34
37
|
}),
|
|
35
|
-
|
|
36
|
-
element:
|
|
38
|
+
k({
|
|
39
|
+
element: r
|
|
37
40
|
})
|
|
38
41
|
],
|
|
39
|
-
whileElementsMounted:
|
|
40
|
-
}), e =
|
|
41
|
-
t.current && clearTimeout(t.current),
|
|
42
|
-
},
|
|
43
|
-
t.current = setTimeout(() =>
|
|
44
|
-
}
|
|
45
|
-
|
|
42
|
+
whileElementsMounted: z
|
|
43
|
+
}), e = x ? null : { width: `${T}px` }, L = document.documentElement.clientWidth, M = e || L - Y, c = () => {
|
|
44
|
+
t.current && clearTimeout(t.current), i(!1);
|
|
45
|
+
}, O = () => {
|
|
46
|
+
t.current = setTimeout(() => i(!0), U);
|
|
47
|
+
}, a = () => /* @__PURE__ */ p(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
ref: l.setFloating,
|
|
51
|
+
style: {
|
|
52
|
+
...y,
|
|
53
|
+
...e,
|
|
54
|
+
minWidth: _,
|
|
55
|
+
zIndex: E
|
|
56
|
+
},
|
|
57
|
+
"data-automation-id": I,
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ o(
|
|
60
|
+
$,
|
|
61
|
+
{
|
|
62
|
+
ref: r,
|
|
63
|
+
context: F,
|
|
64
|
+
width: Z,
|
|
65
|
+
height: f,
|
|
66
|
+
fill: b
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ o(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
className: d("tooltip-content", w),
|
|
73
|
+
style: {
|
|
74
|
+
maxWidth: `${M}px`
|
|
75
|
+
},
|
|
76
|
+
children: u
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
return /* @__PURE__ */ p(v, { children: [
|
|
46
83
|
/* @__PURE__ */ o(
|
|
47
84
|
"div",
|
|
48
85
|
{
|
|
49
86
|
ref: l.setReference,
|
|
50
|
-
className:
|
|
51
|
-
onMouseDown:
|
|
52
|
-
onMouseEnter:
|
|
53
|
-
onMouseLeave:
|
|
54
|
-
children:
|
|
87
|
+
className: d("tooltip-wrapper", h),
|
|
88
|
+
onMouseDown: c,
|
|
89
|
+
onMouseEnter: O,
|
|
90
|
+
onMouseLeave: c,
|
|
91
|
+
children: S
|
|
55
92
|
}
|
|
56
93
|
),
|
|
57
|
-
|
|
58
|
-
"div",
|
|
59
|
-
{
|
|
60
|
-
ref: l.setFloating,
|
|
61
|
-
style: {
|
|
62
|
-
...N,
|
|
63
|
-
...e,
|
|
64
|
-
minWidth: x,
|
|
65
|
-
zIndex: _
|
|
66
|
-
},
|
|
67
|
-
"data-automation-id": A,
|
|
68
|
-
children: [
|
|
69
|
-
/* @__PURE__ */ o(
|
|
70
|
-
j,
|
|
71
|
-
{
|
|
72
|
-
ref: i,
|
|
73
|
-
context: S,
|
|
74
|
-
width: $,
|
|
75
|
-
height: d,
|
|
76
|
-
fill: g
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
/* @__PURE__ */ o(
|
|
80
|
-
"div",
|
|
81
|
-
{
|
|
82
|
-
className: p("tooltip-content", u),
|
|
83
|
-
style: {
|
|
84
|
-
maxWidth: `${y}px`
|
|
85
|
-
},
|
|
86
|
-
children: m
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
)
|
|
94
|
+
s && (n ? H(a(), n) : a())
|
|
92
95
|
] });
|
|
93
96
|
};
|
|
94
97
|
export {
|
|
95
|
-
|
|
98
|
+
X as Tooltip
|
|
96
99
|
};
|