@reportportal/ui-kit 0.0.1-alpha.244 → 0.0.1-alpha.245
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-438e42b8.js → datePicker-3e22291f.js} +1 -1
- package/dist/datePicker.js +3 -3
- package/dist/{fieldText-4223a711.js → fieldText-0a70163b.js} +48 -40
- package/dist/fieldText.js +1 -1
- package/dist/index.js +3 -3
- package/dist/{pagination-b3b3e067.js → pagination-ca97395e.js} +1 -1
- package/dist/pagination.js +2 -2
- package/package.json +1 -1
package/dist/autocompletes.js
CHANGED
|
@@ -9,7 +9,7 @@ import { i as Me } from "./isEmpty-ccacb5ff.js";
|
|
|
9
9
|
import { createPortal as Je } from "react-dom";
|
|
10
10
|
import _e from "downshift";
|
|
11
11
|
import { useFloating as Be, autoUpdate as Oe, flip as Qe, size as Ze } from "@floating-ui/react";
|
|
12
|
-
import { F as qe } from "./fieldText-
|
|
12
|
+
import { F as qe } from "./fieldText-0a70163b.js";
|
|
13
13
|
import { S as Te } from "./dropdown-0260bb66.js";
|
|
14
14
|
import { E as $e, A as Ue, T as Ve } from "./constants-85822a6b.js";
|
|
15
15
|
import { S as et } from "./close-4d480ef7.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as x, Fragment as z, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo as v, forwardRef as J, useRef as K } from "react";
|
|
3
3
|
import I from "react-datepicker/dist/es/index.js";
|
|
4
4
|
import { c as Y } from "./bind-06a7ff84.js";
|
|
5
|
-
import { F as Q } from "./fieldText-
|
|
5
|
+
import { F as Q } from "./fieldText-0a70163b.js";
|
|
6
6
|
import { D as L } from "./dropdown-d2a05471.js";
|
|
7
7
|
import { S as B } from "./calendarArrow-44c7e60e.js";
|
|
8
8
|
import { registerLocale as X } from "react-datepicker";
|
package/dist/datePicker.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { D as t } from "./datePicker-
|
|
2
|
-
import { r as I } from "./datePicker-
|
|
1
|
+
import { D as t } from "./datePicker-3e22291f.js";
|
|
2
|
+
import { r as I } from "./datePicker-3e22291f.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "react-datepicker/dist/es/index.js";
|
|
6
6
|
import "./bind-06a7ff84.js";
|
|
7
|
-
import "./fieldText-
|
|
7
|
+
import "./fieldText-0a70163b.js";
|
|
8
8
|
import "./clear-53660571.js";
|
|
9
9
|
import "./capslockIcon-b100b9d6.js";
|
|
10
10
|
import "./baseIconButton-251479f7.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as s, Fragment as F } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Y, useRef as Z, useId as q, useState as b } from "react";
|
|
3
3
|
import { c as tt } from "./bind-06a7ff84.js";
|
|
4
4
|
import { S as nt } from "./clear-53660571.js";
|
|
@@ -39,88 +39,88 @@ const _t = "_collapsed_1vr19_11", dt = "_field_1vr19_23", mt = "_placeholder_1vr
|
|
|
39
39
|
text: xt,
|
|
40
40
|
"error-text": "_error-text_1vr19_227",
|
|
41
41
|
"help-text": "_help-text_1vr19_231"
|
|
42
|
-
}, n = tt.bind(Nt),
|
|
42
|
+
}, n = tt.bind(Nt), Pt = Y(
|
|
43
43
|
({
|
|
44
44
|
value: e = "",
|
|
45
45
|
className: B,
|
|
46
|
-
classNameHelpText:
|
|
47
|
-
error:
|
|
46
|
+
classNameHelpText: D,
|
|
47
|
+
error: r,
|
|
48
48
|
placeholder: d,
|
|
49
49
|
disabled: c = !1,
|
|
50
|
-
onChange:
|
|
50
|
+
onChange: V,
|
|
51
51
|
touched: m = !1,
|
|
52
52
|
title: E,
|
|
53
|
-
label:
|
|
54
|
-
helpText:
|
|
53
|
+
label: i,
|
|
54
|
+
helpText: l,
|
|
55
55
|
defaultWidth: I = !0,
|
|
56
56
|
startIcon: u,
|
|
57
57
|
endIcon: f,
|
|
58
58
|
clearable: L = !1,
|
|
59
59
|
onClear: h,
|
|
60
60
|
isRequired: v = !1,
|
|
61
|
-
hasDoubleMessage:
|
|
62
|
-
type:
|
|
63
|
-
displayError:
|
|
64
|
-
collapsible:
|
|
65
|
-
loading:
|
|
66
|
-
maxLengthDisplay:
|
|
61
|
+
hasDoubleMessage: P = !1,
|
|
62
|
+
type: a = "text",
|
|
63
|
+
displayError: R = !0,
|
|
64
|
+
collapsible: j = !1,
|
|
65
|
+
loading: H = !1,
|
|
66
|
+
maxLengthDisplay: M,
|
|
67
67
|
capsLockMessage: w,
|
|
68
|
-
onFocus:
|
|
68
|
+
onFocus: O = () => {
|
|
69
69
|
},
|
|
70
70
|
onBlur: T = () => {
|
|
71
71
|
},
|
|
72
72
|
...$
|
|
73
73
|
}, z) => {
|
|
74
|
-
const A = Z(null),
|
|
75
|
-
k(!0),
|
|
74
|
+
const A = Z(null), p = z || A, x = q(), [N, k] = b(!1), [y, G] = b(!1), { capsLockOn: J } = lt(), g = !!w && J && e.length >= 1 && !c, K = (o) => {
|
|
75
|
+
k(!0), O(o);
|
|
76
76
|
}, Q = (o) => {
|
|
77
77
|
k(!1), T(o);
|
|
78
78
|
}, U = () => {
|
|
79
79
|
var o;
|
|
80
|
-
h && (h(e), (o =
|
|
81
|
-
}, C =
|
|
82
|
-
|
|
80
|
+
h && (h(e), (o = p.current) == null || o.focus());
|
|
81
|
+
}, C = R && r && m, S = /* @__PURE__ */ t("span", { className: n("text", "help-text", D), children: l }), W = () => a !== "password" ? a : y ? "text" : "password", X = () => {
|
|
82
|
+
G((o) => !o);
|
|
83
83
|
};
|
|
84
|
-
return /* @__PURE__ */
|
|
85
|
-
|
|
86
|
-
/* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ s(F, { children: [
|
|
85
|
+
i && /* @__PURE__ */ t(it, { isRequired: v, htmlFor: x, children: i }),
|
|
86
|
+
/* @__PURE__ */ s(
|
|
87
87
|
"div",
|
|
88
88
|
{
|
|
89
89
|
className: n("field", B, {
|
|
90
|
-
error:
|
|
90
|
+
error: r,
|
|
91
91
|
touched: m,
|
|
92
92
|
disabled: c,
|
|
93
93
|
"default-width": I,
|
|
94
|
-
collapsed:
|
|
94
|
+
collapsed: j && !N && !e
|
|
95
95
|
}),
|
|
96
96
|
title: E,
|
|
97
97
|
children: [
|
|
98
|
-
|
|
98
|
+
H ? /* @__PURE__ */ t(at, {}) : u && /* @__PURE__ */ t(
|
|
99
99
|
"span",
|
|
100
100
|
{
|
|
101
101
|
className: n("icon-container-start"),
|
|
102
102
|
onClick: () => {
|
|
103
|
-
var
|
|
104
|
-
(
|
|
103
|
+
var _;
|
|
104
|
+
(_ = p.current) == null || _.focus();
|
|
105
105
|
},
|
|
106
106
|
children: /* @__PURE__ */ t("span", { className: n("icon", { "start-icon": !N }), children: u })
|
|
107
107
|
}
|
|
108
108
|
),
|
|
109
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ s(
|
|
110
110
|
"span",
|
|
111
111
|
{
|
|
112
|
-
className: n("input-container", `type-${
|
|
112
|
+
className: n("input-container", `type-${a}`, { "with-caps-lock": g }),
|
|
113
113
|
children: [
|
|
114
114
|
/* @__PURE__ */ t(
|
|
115
115
|
"input",
|
|
116
116
|
{
|
|
117
|
-
ref:
|
|
117
|
+
ref: p,
|
|
118
118
|
type: W(),
|
|
119
119
|
className: n("input"),
|
|
120
120
|
value: e,
|
|
121
121
|
disabled: c,
|
|
122
122
|
id: x,
|
|
123
|
-
onChange:
|
|
123
|
+
onChange: V,
|
|
124
124
|
onFocus: K,
|
|
125
125
|
onBlur: Q,
|
|
126
126
|
...$
|
|
@@ -135,10 +135,18 @@ const _t = "_collapsed_1vr19_11", dt = "_field_1vr19_23", mt = "_placeholder_1vr
|
|
|
135
135
|
children: /* @__PURE__ */ t("span", { className: n("caps-lock-icon"), children: /* @__PURE__ */ t(ot, {}) })
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
a === "password" && e && /* @__PURE__ */ t(
|
|
139
|
+
st,
|
|
140
|
+
{
|
|
141
|
+
className: n("eye-icon"),
|
|
142
|
+
onClick: X,
|
|
143
|
+
onPointerDown: (o) => o.preventDefault(),
|
|
144
|
+
children: y ? /* @__PURE__ */ t(et, {}) : /* @__PURE__ */ t(ct, {})
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
d && !e && /* @__PURE__ */ s("span", { className: n("placeholder"), children: [
|
|
140
148
|
d,
|
|
141
|
-
v && !
|
|
149
|
+
v && !i && /* @__PURE__ */ t("span", { className: n("asterisk") })
|
|
142
150
|
] })
|
|
143
151
|
]
|
|
144
152
|
}
|
|
@@ -148,7 +156,7 @@ const _t = "_collapsed_1vr19_11", dt = "_field_1vr19_23", mt = "_placeholder_1vr
|
|
|
148
156
|
{
|
|
149
157
|
className: n("max-length-display"),
|
|
150
158
|
value: e.length,
|
|
151
|
-
maxValue:
|
|
159
|
+
maxValue: M
|
|
152
160
|
}
|
|
153
161
|
),
|
|
154
162
|
L && e.length > 0 && /* @__PURE__ */ t("span", { className: n("icon-container-end"), children: /* @__PURE__ */ t(
|
|
@@ -165,13 +173,13 @@ const _t = "_collapsed_1vr19_11", dt = "_field_1vr19_23", mt = "_placeholder_1vr
|
|
|
165
173
|
]
|
|
166
174
|
}
|
|
167
175
|
),
|
|
168
|
-
(C ||
|
|
169
|
-
/* @__PURE__ */ t("span", { className: n("text", "error-text"), children:
|
|
170
|
-
|
|
171
|
-
] }) :
|
|
176
|
+
(C || l) && /* @__PURE__ */ t("div", { className: n("additional-content", { disabled: c }), children: C ? /* @__PURE__ */ s(F, { children: [
|
|
177
|
+
/* @__PURE__ */ t("span", { className: n("text", "error-text"), children: r }),
|
|
178
|
+
P && S
|
|
179
|
+
] }) : l && S })
|
|
172
180
|
] });
|
|
173
181
|
}
|
|
174
182
|
);
|
|
175
183
|
export {
|
|
176
|
-
|
|
184
|
+
Pt as F
|
|
177
185
|
};
|
package/dist/fieldText.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -9,12 +9,12 @@ import { BulkPanel as V } from "./bulkPanel.js";
|
|
|
9
9
|
import { B as W } from "./button-7ab874f3.js";
|
|
10
10
|
import { C as j } from "./checkbox-76aa8f97.js";
|
|
11
11
|
import { Chip as K } from "./chip.js";
|
|
12
|
-
import { D as Y } from "./datePicker-
|
|
12
|
+
import { D as Y } from "./datePicker-3e22291f.js";
|
|
13
13
|
import "react-datepicker";
|
|
14
14
|
import { D as $ } from "./dropdown-d2a05471.js";
|
|
15
15
|
import { FieldLabel as ro } from "./fieldLabel.js";
|
|
16
16
|
import { F as to } from "./fieldNumber-b4aa4d7e.js";
|
|
17
|
-
import { F as ao } from "./fieldText-
|
|
17
|
+
import { F as ao } from "./fieldText-0a70163b.js";
|
|
18
18
|
import { F as po } from "./fieldTextFlex-2f51c173.js";
|
|
19
19
|
import { FileDropArea as mo } from "./fileDropArea.js";
|
|
20
20
|
import { FiltersButton as Io } from "./filtersButton.js";
|
|
@@ -22,7 +22,7 @@ import { FilterItem as xo } from "./filterItem.js";
|
|
|
22
22
|
import { IssueList as uo } from "./issueList.js";
|
|
23
23
|
import { Modal as Co } from "./modal.js";
|
|
24
24
|
import { MultipleAutocomplete as Po, SingleAutocomplete as go } from "./autocompletes.js";
|
|
25
|
-
import { P as Fo } from "./pagination-
|
|
25
|
+
import { P as Fo } from "./pagination-ca97395e.js";
|
|
26
26
|
import { Popover as bo } from "./popover.js";
|
|
27
27
|
import { R as ho, a as Bo } from "./radioGroup-0c132c2e.js";
|
|
28
28
|
import { SegmentedControl as vo } from "./segmentedControl.js";
|
|
@@ -4,7 +4,7 @@ import { Tooltip as j } from "./tooltip.js";
|
|
|
4
4
|
import { useState as f } from "react";
|
|
5
5
|
import { Popover as A } from "./popover.js";
|
|
6
6
|
import { B as w } from "./button-7ab874f3.js";
|
|
7
|
-
import { F as B } from "./fieldText-
|
|
7
|
+
import { F as B } from "./fieldText-0a70163b.js";
|
|
8
8
|
import { B as y } from "./baseIconButton-251479f7.js";
|
|
9
9
|
import { S as z, a as S } from "./prevPage-87faf576.js";
|
|
10
10
|
const W = {
|
package/dist/pagination.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as t } from "./pagination-
|
|
1
|
+
import { P as t } from "./pagination-ca97395e.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "./bind-06a7ff84.js";
|
|
4
4
|
import "./tooltip.js";
|
|
@@ -8,7 +8,7 @@ import "@floating-ui/react";
|
|
|
8
8
|
import "./floatingUi-46f5b896.js";
|
|
9
9
|
import "./popover.js";
|
|
10
10
|
import "./button-7ab874f3.js";
|
|
11
|
-
import "./fieldText-
|
|
11
|
+
import "./fieldText-0a70163b.js";
|
|
12
12
|
import "./clear-53660571.js";
|
|
13
13
|
import "./capslockIcon-b100b9d6.js";
|
|
14
14
|
import "./baseIconButton-251479f7.js";
|