@reportportal/ui-kit 0.0.1-alpha.129 → 0.0.1-alpha.130
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/autocompletes.js +1 -1
- package/dist/{datePicker-12bb6fb4.js → datePicker-5b3b45b6.js} +2 -2
- package/dist/datePicker.js +4 -4
- package/dist/{dropdown-a99520ba.js → dropdown-360803d5.js} +199 -192
- package/dist/dropdown.js +2 -2
- package/dist/{fieldText-17fcba4f.js → fieldText-1749da7a.js} +43 -43
- package/dist/fieldText.js +1 -1
- package/dist/index.js +4 -4
- package/dist/modal.js +1 -1
- package/dist/{pagination-e77d76d8.js → pagination-a3dee614.js} +1 -1
- package/dist/pagination.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as r } from "./dropdown-
|
|
2
|
-
import { a as l } from "./dropdown-
|
|
1
|
+
import { D as r } from "./dropdown-360803d5.js";
|
|
2
|
+
import { a as l } from "./dropdown-360803d5.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as n, jsxs as s, Fragment as
|
|
2
|
-
import { forwardRef as W, useRef as X, useId as Y, useState as
|
|
1
|
+
import { jsx as n, jsxs as s, Fragment as E } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as W, useRef as X, useId as Y, useState as b } from "react";
|
|
3
3
|
import { c as Z } from "./bind-06a7ff84.js";
|
|
4
4
|
import { S as q } from "./clear-53660571.js";
|
|
5
5
|
import { a as nn, S as en } from "./openEye-950159cb.js";
|
|
@@ -7,48 +7,48 @@ import { B as tn } from "./baseIconButton-251479f7.js";
|
|
|
7
7
|
import { S as on } from "./spinLoader-c4a53718.js";
|
|
8
8
|
import { M as sn } from "./maxValueDisplay-9be01a75.js";
|
|
9
9
|
import { FieldLabel as an } from "./fieldLabel.js";
|
|
10
|
-
const cn = "
|
|
11
|
-
"icon-container": "_icon-
|
|
12
|
-
"icon-container-additional": "_icon-container-
|
|
13
|
-
"icon-container-end": "_icon-container-
|
|
14
|
-
"icon-container-start": "_icon-container-
|
|
10
|
+
const cn = "_collapsed_18d9y_11", rn = "_field_18d9y_23", ln = "_placeholder_18d9y_48", dn = "_disabled_18d9y_51", _n = "_error_18d9y_54", pn = "_touched_18d9y_54", un = "_input_18d9y_73", mn = "_icon_18d9y_1", fn = "_text_18d9y_171", hn = {
|
|
11
|
+
"icon-container": "_icon-container_18d9y_1",
|
|
12
|
+
"icon-container-additional": "_icon-container-additional_18d9y_1",
|
|
13
|
+
"icon-container-end": "_icon-container-end_18d9y_1",
|
|
14
|
+
"icon-container-start": "_icon-container-start_18d9y_1",
|
|
15
15
|
collapsed: cn,
|
|
16
16
|
field: rn,
|
|
17
|
-
"default-width": "_default-
|
|
17
|
+
"default-width": "_default-width_18d9y_35",
|
|
18
18
|
placeholder: ln,
|
|
19
19
|
disabled: dn,
|
|
20
20
|
error: _n,
|
|
21
21
|
touched: pn,
|
|
22
|
-
"max-length-display": "_max-length-
|
|
23
|
-
"input-container": "_input-
|
|
24
|
-
"type-password": "_type-
|
|
22
|
+
"max-length-display": "_max-length-display_18d9y_61",
|
|
23
|
+
"input-container": "_input-container_18d9y_73",
|
|
24
|
+
"type-password": "_type-password_18d9y_77",
|
|
25
25
|
input: un,
|
|
26
|
-
"eye-icon": "_eye-
|
|
26
|
+
"eye-icon": "_eye-icon_18d9y_81",
|
|
27
27
|
icon: mn,
|
|
28
|
-
"start-icon": "_start-
|
|
29
|
-
"clear-icon": "_clear-
|
|
30
|
-
"additional-content": "_additional-
|
|
28
|
+
"start-icon": "_start-icon_18d9y_127",
|
|
29
|
+
"clear-icon": "_clear-icon_18d9y_128",
|
|
30
|
+
"additional-content": "_additional-content_18d9y_164",
|
|
31
31
|
text: fn,
|
|
32
|
-
"error-text": "_error-
|
|
33
|
-
"help-text": "_help-
|
|
34
|
-
}, e = Z.bind(hn),
|
|
32
|
+
"error-text": "_error-text_18d9y_191",
|
|
33
|
+
"help-text": "_help-text_18d9y_195"
|
|
34
|
+
}, e = Z.bind(hn), Bn = W(
|
|
35
35
|
({
|
|
36
36
|
value: o = "",
|
|
37
|
-
className:
|
|
38
|
-
classNameHelpText:
|
|
37
|
+
className: v,
|
|
38
|
+
classNameHelpText: C,
|
|
39
39
|
error: r,
|
|
40
40
|
placeholder: u,
|
|
41
41
|
disabled: a = !1,
|
|
42
|
-
onChange:
|
|
42
|
+
onChange: T,
|
|
43
43
|
touched: m = !1,
|
|
44
|
-
title:
|
|
44
|
+
title: V,
|
|
45
45
|
label: l,
|
|
46
46
|
helpText: d,
|
|
47
|
-
defaultWidth:
|
|
47
|
+
defaultWidth: k = !0,
|
|
48
48
|
startIcon: f,
|
|
49
49
|
endIcon: h,
|
|
50
50
|
clearable: I = !1,
|
|
51
|
-
onClear:
|
|
51
|
+
onClear: y,
|
|
52
52
|
isRequired: x = !1,
|
|
53
53
|
hasDoubleMessage: L = !1,
|
|
54
54
|
type: c = "text",
|
|
@@ -62,31 +62,31 @@ const cn = "_collapsed_1k31n_13", rn = "_field_1k31n_25", ln = "_placeholder_1k3
|
|
|
62
62
|
},
|
|
63
63
|
...$
|
|
64
64
|
}, z) => {
|
|
65
|
-
const A = X(null), _ = z || A, w = Y(), [N,
|
|
66
|
-
|
|
65
|
+
const A = X(null), _ = z || A, w = Y(), [N, g] = b(!1), [S, F] = b(!1), G = (t) => {
|
|
66
|
+
g(!0), O(t);
|
|
67
67
|
}, J = (t) => {
|
|
68
|
-
|
|
68
|
+
g(!1), U(t);
|
|
69
69
|
}, K = () => {
|
|
70
70
|
var t;
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
t.preventDefault(),
|
|
71
|
+
y && (y(o), (t = _.current) == null || t.focus());
|
|
72
|
+
}, D = P && r && m, M = /* @__PURE__ */ n("span", { className: e("text", "help-text", C), children: d }), Q = () => c !== "password" ? c : S ? "text" : "password", B = (t) => {
|
|
73
|
+
t.preventDefault(), F(!0);
|
|
74
74
|
}, i = (t) => {
|
|
75
|
-
t.preventDefault(),
|
|
75
|
+
t.preventDefault(), F(!1);
|
|
76
76
|
};
|
|
77
|
-
return /* @__PURE__ */ s(
|
|
77
|
+
return /* @__PURE__ */ s(E, { children: [
|
|
78
78
|
l && /* @__PURE__ */ n(an, { isRequired: x, htmlFor: w, children: l }),
|
|
79
79
|
/* @__PURE__ */ s(
|
|
80
80
|
"div",
|
|
81
81
|
{
|
|
82
|
-
className: e("field",
|
|
82
|
+
className: e("field", v, {
|
|
83
83
|
error: r,
|
|
84
84
|
touched: m,
|
|
85
85
|
disabled: a,
|
|
86
|
-
"default-width":
|
|
86
|
+
"default-width": k,
|
|
87
87
|
collapsed: R && !N && !o
|
|
88
88
|
}),
|
|
89
|
-
title:
|
|
89
|
+
title: V,
|
|
90
90
|
children: [
|
|
91
91
|
j ? /* @__PURE__ */ n(on, {}) : f && /* @__PURE__ */ n(
|
|
92
92
|
"span",
|
|
@@ -109,7 +109,7 @@ const cn = "_collapsed_1k31n_13", rn = "_field_1k31n_25", ln = "_placeholder_1k3
|
|
|
109
109
|
value: o,
|
|
110
110
|
disabled: a,
|
|
111
111
|
id: w,
|
|
112
|
-
onChange:
|
|
112
|
+
onChange: T,
|
|
113
113
|
onFocus: G,
|
|
114
114
|
onBlur: J,
|
|
115
115
|
...$
|
|
@@ -119,13 +119,13 @@ const cn = "_collapsed_1k31n_13", rn = "_field_1k31n_25", ln = "_placeholder_1k3
|
|
|
119
119
|
tn,
|
|
120
120
|
{
|
|
121
121
|
className: e("eye-icon"),
|
|
122
|
-
onMouseDown:
|
|
122
|
+
onMouseDown: B,
|
|
123
123
|
onMouseLeave: i,
|
|
124
124
|
onMouseUp: i,
|
|
125
|
-
onTouchStart:
|
|
125
|
+
onTouchStart: B,
|
|
126
126
|
onTouchEnd: i,
|
|
127
127
|
onTouchCancel: i,
|
|
128
|
-
children:
|
|
128
|
+
children: S ? /* @__PURE__ */ n(nn, {}) : /* @__PURE__ */ n(en, {})
|
|
129
129
|
}
|
|
130
130
|
),
|
|
131
131
|
u && !o && /* @__PURE__ */ s("span", { className: e("placeholder"), children: [
|
|
@@ -155,13 +155,13 @@ const cn = "_collapsed_1k31n_13", rn = "_field_1k31n_25", ln = "_placeholder_1k3
|
|
|
155
155
|
]
|
|
156
156
|
}
|
|
157
157
|
),
|
|
158
|
-
(
|
|
158
|
+
(D || d) && /* @__PURE__ */ n("div", { className: e("additional-content", { disabled: a }), children: D ? /* @__PURE__ */ s(E, { children: [
|
|
159
159
|
/* @__PURE__ */ n("span", { className: e("text", "error-text"), children: r }),
|
|
160
|
-
L &&
|
|
161
|
-
] }) : d &&
|
|
160
|
+
L && M
|
|
161
|
+
] }) : d && M })
|
|
162
162
|
] });
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
export {
|
|
166
|
-
|
|
166
|
+
Bn as F
|
|
167
167
|
};
|
package/dist/fieldText.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,18 +4,18 @@ import { B as D } from "./breadcrumbs-8e5ca8d7.js";
|
|
|
4
4
|
import { B } from "./bubblesLoader-f3ffa240.js";
|
|
5
5
|
import { B as b } from "./button-97d9e587.js";
|
|
6
6
|
import { C as A } from "./checkbox-ed6cc375.js";
|
|
7
|
-
import { D as M } from "./datePicker-
|
|
7
|
+
import { D as M } from "./datePicker-5b3b45b6.js";
|
|
8
8
|
import "react-datepicker";
|
|
9
|
-
import { D as k } from "./dropdown-
|
|
9
|
+
import { D as k } from "./dropdown-360803d5.js";
|
|
10
10
|
import { FieldLabel as L } from "./fieldLabel.js";
|
|
11
11
|
import { F as O } from "./fieldNumber-d1b5a7a1.js";
|
|
12
|
-
import { F as H } from "./fieldText-
|
|
12
|
+
import { F as H } from "./fieldText-1749da7a.js";
|
|
13
13
|
import { F as N } from "./fieldTextFlex-2f51c173.js";
|
|
14
14
|
import { FileDropArea as G } from "./fileDropArea.js";
|
|
15
15
|
import { FiltersButton as X } from "./filtersButton.js";
|
|
16
16
|
import { Modal as q } from "./modal.js";
|
|
17
17
|
import { MultipleAutocomplete as Q, SingleAutocomplete as V } from "./autocompletes.js";
|
|
18
|
-
import { P as Z } from "./pagination-
|
|
18
|
+
import { P as Z } from "./pagination-a3dee614.js";
|
|
19
19
|
import { Popover as $ } from "./popover.js";
|
|
20
20
|
import { R as ro } from "./radio-62546efa.js";
|
|
21
21
|
import { S as no } from "./selection-9124d029.js";
|
package/dist/modal.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useRef as C, useEffect as w, useState as y, useMemo as G } from "react"
|
|
|
3
3
|
import { Scrollbars as K } from "rc-scrollbars";
|
|
4
4
|
import { AnimatePresence as U, motion as Y } from "framer-motion";
|
|
5
5
|
import { c as x } from "./bind-06a7ff84.js";
|
|
6
|
-
import { a as X } from "./dropdown-
|
|
6
|
+
import { a as X } from "./dropdown-360803d5.js";
|
|
7
7
|
import { K as J } from "./keyCodes-f63c0e11.js";
|
|
8
8
|
import { B as D } from "./button-97d9e587.js";
|
|
9
9
|
import { Tooltip as Q } from "./tooltip.js";
|
|
@@ -3,7 +3,7 @@ import { c as _ } from "./bind-06a7ff84.js";
|
|
|
3
3
|
import { useState as b } from "react";
|
|
4
4
|
import { Popover as I } from "./popover.js";
|
|
5
5
|
import { B as x } from "./button-97d9e587.js";
|
|
6
|
-
import { F as j } from "./fieldText-
|
|
6
|
+
import { F as j } from "./fieldText-1749da7a.js";
|
|
7
7
|
import { B as h } from "./baseIconButton-251479f7.js";
|
|
8
8
|
import { S as z, a as T } from "./prevPage-87faf576.js";
|
|
9
9
|
import { Tooltip as A } from "./tooltip.js";
|
package/dist/pagination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as t } from "./pagination-
|
|
1
|
+
import { P as t } from "./pagination-a3dee614.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./bind-06a7ff84.js";
|
|
4
4
|
import "react";
|
|
@@ -6,7 +6,7 @@ import "./popover.js";
|
|
|
6
6
|
import "@floating-ui/react";
|
|
7
7
|
import "./floatingUi-41f8c7b5.js";
|
|
8
8
|
import "./button-97d9e587.js";
|
|
9
|
-
import "./fieldText-
|
|
9
|
+
import "./fieldText-1749da7a.js";
|
|
10
10
|
import "./clear-53660571.js";
|
|
11
11
|
import "./openEye-950159cb.js";
|
|
12
12
|
import "./baseIconButton-251479f7.js";
|